Restore procfs.c compilation
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
99066782
WS
12021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
2
3 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
4 names for uniqueness.
5 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
6 uniqueness.
7
b1f3973b
AB
82021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
11 member.
12 (make_container): Initialise is_array_p.
13 * gdb.python/py-prettyprint.exp: Add new tests.
14 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
15 Check is_array_p and possibly return 'array'.
16
3c2dcf90
AB
172021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
20 * gdb.cp/casts.exp: Give tests unique names.
21 * gdb.cp/filename.exp: Likewise.
22 * gdb.cp/gdb2495.exp: Likewise.
23 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
24 * gdb.cp/misc.exp: Rename test to make it unique.
25 * gdb.cp/nsnested.exp: Give tests unique names.
26 * gdb.cp/ovldbreak.exp: Likewise.
27 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
28 being tested. This also removes the duplicate test name.
29 * gdb.cp/ref-types.exp: Likewise.
30 * gdb.cp/temargs.exp: Likewise.
31
6b78370d
AB
322021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
35 square brackets in test.
36
baecbb3d
AB
372021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
38
39 * gdb.cp/maint.exp (test_first_component): Run more tests with a
40 variable number of spaces, this removes the duplicate testing of
41 'operator ->' which existed before.
42
6e892297
AB
432021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
44
45 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
46 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
47 duplicates, and also to avoid having a string inside parentheses
48 at the end of test names.
49
ac45a6ca
AB
502021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
51
52 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
53 Avoid repeated uses of 'runto', and instread just progress once
54 through the test stopping at different breakpoints. Give comments
55 a capital letter and full stop. Give duplicate tests unique names.
56
323fd5b9
PA
572021-03-25 Pedro Alves <pedro@palves.net>
58
59 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
60 "target_non_stop" parameter and use it.
61 (top level): Add "maint set target-non-stop on/off" testing axis.
62
ba3c61fc
AB
632021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
64
65 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
66 gdb_test_multiple.
67
bf0aecce
LM
682021-03-24 Luis Machado <luis.machado@linaro.org>
69
70 * gdb.arch/aarch64-mte.c: New file.
71 * gdb.arch/aarch64-mte.exp: New test.
72 * gdb.base/memtag.c: New file.
73 * gdb.base/memtag.exp: New test.
74 * lib/gdb.exp (supports_memtag): New function.
75
bef382e6
LM
762021-03-24 Luis Machado <luis.machado@linaro.org>
77
78 * gdb.base/options.exp: Adjust for new print options.
79 * gdb.base/with.exp: Likewise.
80
702cf3f5
AB
812021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
82
83 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
84 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
85
1e7fcccb
AB
862021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.dwarf2/dw2-using-debug-str.c: New file.
89 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
90 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
91 not .debug_string.
92
4829711b
TT
932021-03-20 Tom Tromey <tom@tromey.com>
94
95 * gdb.base/maint.exp: Update "maint print statistics" output.
96
e0d6d274
KB
972021-03-19 Kevin Buettner <kevinb@redhat.com>
98
99 * lib/gdbserver-support.exp (gdbserver_exit): Use the
100 "-nowait" flag when waiting for gdbserver to exit.
101
a088215a
SST
1022021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
103
104 * gdb.base/info-macros.exp: Append -fdebug-macro to
105 additional_flags for clang.
106 * gdb.base/macscp.exp: Likewise.
107 * gdb.base/style.exp: Likewise.
108 * gdb.linespec/macro-relative.exp: Likewise.
109
d0c99a23
SM
1102021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
111 Pedro Alves <pedro@palves.net>
112
113 * gdb.base/run-attach-while-running.exp: New.
114 * gdb.base/run-attach-while-running.c: New.
115
7807d76a
AB
1162021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * gdb.python/py-framefilter-addr.c: New file.
119 * gdb.python/py-framefilter-addr.exp: New file.
120 * gdb.python/py-framefilter-addr.py: New file.
121
f302f9e2
AB
1222021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
123
124 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
125 Make use of $gdb_test_name instead of creating a separate $test
126 variable.
127 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
128 adding a '($name)' at the end of each test. This also catches the
129 one place where '($name)' was missing, and so caused a duplicate
130 test name.
131 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
132 duplicate test names based on the command being tested.
133 * gdb.threads/signal-command-multiple-signals-pending.exp:
134 Likewise.
135 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
136 avoid duplicate testnames when a test script uses this proc and
137 also gdb_compile_pthreads.
138 * lib/prelink-support.exp (build_executable_own_libs): Use
139 with_test_prefix to avoid duplicate test names when we call
140 build_executable twice.
141
6813ceb0
TT
1422021-03-15 Tom Tromey <tromey@adacore.com>
143
144 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
145
3b5c4de0
TT
1462021-03-15 Tom Tromey <tromey@adacore.com>
147
148 * gdb.ada/varsize_limit.exp: Add new test.
149 * gdb.ada/varsize_limit/vsizelim.adb: Update.
150
c04da66c
TT
1512021-03-15 Tom Tromey <tromey@adacore.com>
152
153 * gdb.ada/operator_call/twovecs.ads: New file.
154 * gdb.ada/operator_call/twovecs.adb: New file.
155 * gdb.ada/operator_call/opcall.adb: New file.
156 * gdb.ada/operator_call.exp: New file.
157
1ac74522
TT
1582021-03-15 Tom Tromey <tromey@adacore.com>
159
160 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
161 * gdb.ada/enums_overload/enums_overload.ads: New file.
162 * gdb.ada/enums_overload/enums_overload.adb: New file.
163 * gdb.ada/enums_overload.exp: New file.
164
207582c0
TT
1652021-03-15 Tom Tromey <tromey@adacore.com>
166
167 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
168 Declare.
169 * gdb.ada/assign_arr/target_wrapper.adb: New file.
170 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
171 Call Put.
172 * gdb.ada/assign_arr.exp: Update.
173
ba6a0ef3
AB
1742021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * gdb.python/py-auto-load-chaining-f1.c: New file.
177 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
178 * gdb.python/py-auto-load-chaining-f2.c: New file.
179 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
180 * gdb.python/py-auto-load-chaining.c: New file.
181 * gdb.python/py-auto-load-chaining.exp: New file.
182
7f99d636
AB
1832021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
184
185 * gdb.python/py-bad-printers.exp: Extend test names to make them
186 unique.
187 * gdb.python/py-events.exp: Likewise.
188 * gdb.python/py-finish-breakpoint2.exp: Likewise.
189 * gdb.python/py-frame-inline.exp: Likewise.
190 * gdb.python/py-frame.exp: Likewise.
191 * gdb.python/py-infthread.exp: Likewise.
192
323b848c
AB
1932021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * gdb.python/py-value-cc.exp: Remove a duplicate test.
196
8a4efb36
AB
1972021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.python/lib-types.exp: Update the test to check the correct
200 python variable.
201
66bb1dd9
AB
2022021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * gdb.python/py-explore-cc.exp: Extend test names to make them
205 unique.
206
0125fabc
AB
2072021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * gdb.python/py-lookup-type.exp: Remove duplicate test.
210
79d04157
AB
2112021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * gdb.python/py-symtab.exp: Extend test names to make them
214 unique.
215
e3e48d8f
AB
2162021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
219 names unique.
220
2cb60e74
AB
2212021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * gdb.python/py-block.exp: Give tests unique names.
224
8b12ded4
AB
2252021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * gdb.python/py-pp-maint.exp: Extend test names to make them
228 unique.
229
93598ea4
AB
2302021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.python/py-explore.exp: Add with_test_prefix to make test
233 names unique.
234
f35d6971
AB
2352021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
238
22d3e7f6
AB
2392021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
240
241 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
242 names unique.
243
5fc5a1b8
AB
2442021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
247 test names unique.
248
e3141a4d
AB
2492021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
250
251 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
252 unique.
253
ccdc02ed
TT
2542021-03-09 Tom Tromey <tromey@adacore.com>
255
256 * gdb.base/cast-call.exp: New file.
257 * gdb.base/cast-call.c: New file.
258
fbb1aace
AB
2592021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.gdb/python-helper.exp: New file.
262
611aa09d
FW
2632020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
264
265 * gdb.fortran/intrinsics.exp: Add LOC tests.
266
eef32f59
AB
2672021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.fortran/shape.exp: New file.
270 * gdb.fortran/shape.f90: New file.
271
7ba155b3
AB
2722021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.fortran/size.exp: New file.
275 * gdb.fortran/size.f90: New file.
276
e14816a8
AB
2772021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.fortran/rank.exp: New file.
280 * gdb.fortran/rank.f90: New file.
281
d308ba78
TT
2822021-03-08 Tom Tromey <tom@tromey.com>
283
284 * gdb.fortran/debug-expr.exp: Update tests.
285
d182f279
TT
2862021-03-08 Tom Tromey <tom@tromey.com>
287
288 * gdb.base/debug-expr.exp: Update expected dump output.
289
a7308ce0
TT
2902021-03-06 Tom Tromey <tom@tromey.com>
291
292 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
293 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
294 * gdb.dwarf2/dwznolink.exp: New file.
295
b0a8c2ff
MW
2962021-03-05 Mark Wielaard <mark@klomp.org>
297
298 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
299
844be3f2
WP
3002021-03-06 Weimin Pan <weimin.pan@oracle.com>
301
302 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
303
82333781
MM
3042021-03-03 Markus Metzger <markus.t.metzger@intel.com>
305
306 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
307
32c52999
MM
3082021-03-03 Markus Metzger <markus.t.metzger@intel.com>
309
310 * gdb.btrace/non-stop.exp: Adjust expected source lines.
311
26ed1478
MM
3122021-03-03 Markus Metzger <markus.t.metzger@intel.com>
313
314 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
315
d2c5f24e
MM
3162021-03-03 Markus Metzger <markus.t.metzger@intel.com>
317
318 * gdb.btrace/exception.cc (main): Update test source.
319 * gdb.btrace/exception.exp: Update patterns.
320 * gdb.btrace/function_call_history.exp: Likewise.
321
c7c7253a
MM
3222021-03-03 Markus Metzger <markus.t.metzger@intel.com>
323
324 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
325
f0778fc1
MM
3262021-03-03 Markus Metzger <markus.t.metzger@intel.com>
327
328 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
329 reverse-continue to breakpoint.
330
e71dbd03
MM
3312021-03-03 Markus Metzger <markus.t.metzger@intel.com>
332
333 * gdb.btrace/delta.exp: Remove instruction-history and
334 function-call-history checks.
335
b93a3ed0
MM
3362021-03-03 Markus Metzger <markus.t.metzger@intel.com>
337
338 * README (Note): Add nopie_ldflag.
339 * lib/gdb.exp (gdb_compile): Extend nopie handling.
340
bbcdf9ab
TT
3412021-03-02 Tom Tromey <tromey@adacore.com>
342
343 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
344 encodings.
345
bb3a4efe
LS
3462021-02-27 Lancelot Six <lsix@lancelotix.com>
347
348 PR gdb/27393
349 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
350
351
573dc0cc
TT
3522021-02-26 Tom Tromey <tom@tromey.com>
353
354 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
355
f8218786
JV
3562021-02-26 Jan Vrany <jan.vrany@labware.com>
357
358 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
359 Remove trailing \n from expected output.
360
cb51b708
MM
3612021-02-26 Markus Metzger <markus.t.metzger@intel.com>
362
363 * lib/gdb.exp (use_gdb_stub): Extend comment.
364
64d38fdd
JM
3652021-02-25 Jan Matyas <jmatyas@codasip.com>
366
367 PR gdb/26819
368 * gdb.server/stop-reply-no-thread.exp: Add two test
369 scenarios that cover remote targets which do not have
370 the concept of threads.
371
d4ff3cbf
AB
3722021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
375
68337b8b
AB
3762021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
377
378 PR fortran/26155
379 * gdb.fortran/call-no-debug-func.f90: New file.
380 * gdb.fortran/call-no-debug-prog.f90: New file.
381 * gdb.fortran/call-no-debug.exp: New file.
382
faeb9f13
AB
3832021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.fortran/associated.exp: New file.
386 * gdb.fortran/associated.f90: New file.
387
170f4b23
AB
3882021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
391
dd80d750
AB
3922021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
393
394 * gdb.base/sect-cmd.exp: Update expected results.
395
b91919ac
AB
3962021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
399 techniques. Enable the test for all targets.
400
02a79309
AB
4012021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * gdb.base/maint-info-sections.exp: Add new tests.
404 (check_maint_info_target_sections_output): New proc.
405
895b7b4e
AB
4062021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
407
408 * gdb.arch/riscv-default-tdesc.exp: New file.
409
bc3c0632
AB
4102021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
413
acde2092
AB
4142021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * gdb.arch/i386-biarch-core.exp: Add target check.
417
7d2e5095
AKS
4182021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
419
420 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
421
96df3e28
AB
4222021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * gdb.fortran/allocated.exp: New file.
425 * gdb.fortran/allocated.f90: New file.
426
a1670b72
AB
4272021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.fortran/lbound-ubound.exp: Remove old comment.
430
bf3386f0
AB
4312021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.base/maint-info-sections.exp: Update expected output, and
434 add additional tests. Again.
435
4790db14
AB
4362021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.base/maint-info-sections.exp: Update expected output, and
439 add additional tests.
440
f4be6772
AB
4412021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
442
443 * gdb.base/maint-info-sections.exp: New file, content is moved
444 from gdb.base/maint.exp and cleaned up to use latest testsuite
445 techniques.
446 * gdb.base/maint.exp: Tests moved out to
447 gdb.base/maint-info-sections.exp.
448
25ad1e83
SM
4492021-02-10 Simon Marchi <simon.marchi@efficios.com>
450
451 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
452 GDBFLAGS.
453
e92c8eb8
AB
4542021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
455
456 * gdb.fortran/lbound-ubound.F90: New file.
457 * gdb.fortran/lbound-ubound.exp: New file.
458
ee4c3d88
TV
4592021-02-10 Tom de Vries <tdevries@suse.de>
460
461 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
462 "Restore saved setting of complaints".
463
cf2b2075
TV
4642021-02-09 Tom de Vries <tdevries@suse.de>
465
466 PR symtab/27341
467 * lib/gdb.exp (with_complaints): New proc, factored out of ...
468 (gdb_load_no_complaints): ... here.
469 * gdb.fortran/function-calls.exp: Add test-case.
470
b61f7811
HAQ
4712021-02-09 Abid Qadeer <abidh@codesourcery.com>
472
473 * gdb.threads/signal-command-handle-nopass.exp: Call
474 'standard_testfile' before using 'testfile'.
475 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
476 * gdb.threads/signal-delivered-right-thread.exp: Likewise
477 * gdb.threads/signal-sigtrap.exp: Likewise
478
3d4aae48
LM
4792021-02-08 Luis Machado <luis.machado@linaro.org>
480
481 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
482
4001d90d
TV
4832021-02-08 Tom de Vries <tdevries@suse.de>
484
485 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
486
29db1eb3
AB
4872021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
488
489 * gdb.python/tui-window-disabled.c: New file.
490 * gdb.python/tui-window-disabled.exp: New file.
491 * gdb.python/tui-window-disabled.py: New file.
492
e0c23e11
AB
4932021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
494
495 * gdb.python/tui-window.exp: Add new tests.
496 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
497 TestWindow object into global the_window.
498 <remote_title>: New method.
499 (delete_window_title): New function.
500
1cf23996
AB
5012021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
502
503 * gdb.tui/winheight.exp: Add more tests.
504
2708dbbd
AB
5052021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
506
507 * gdb.python/py-framefilter.exp: Update expected results.
508 * gdb.python/python.exp: Update expected results.
509
cd074e04
AB
5102021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
511
512 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
513 about bug in GDB, update expected results, and add more tests.
514
5fb97639
AB
5152021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
516
517 * gdb.tui/scroll.exp: New file.
518 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
519 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
520 remaining lines up.
521 (Term::check_region_contents): New proc.
522 (Term::check_box_contents): Use check_region_contents.
523
c0e56745
TV
5242021-02-06 Tom de Vries <tdevries@suse.de>
525
526 PR testsuite/26922
527 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
528 scrolling.
529
0e857c82
TV
5302021-02-05 Tom de Vries <tdevries@suse.de>
531
532 PR breakpoints/27313
533 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
534 rejected.
535
a22ec6e8
TV
5362021-02-05 Tom de Vries <tdevries@suse.de>
537
538 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
539 * gdb.fortran/mixed-lang-stack.exp: Same.
540
ae710496
TV
5412021-02-05 Tom de Vries <tdevries@suse.de>
542
543 PR exp/27265
544 * gdb.base/complex-parts.exp: Add tests.
545
d3b54e63
TV
5462021-02-05 Tom de Vries <tdevries@suse.de>
547
548 PR symtab/27307
549 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
550
3eccb1c8
SV
5512021-02-04 Shahab Vahedi <shahab@synopsys.com>
552
553 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
554
a71501e2
PA
5552021-02-03 Pedro Alves <pedro@palves.net>
556
557 * gdb.threads/detach-step-over.c: New file.
558 * gdb.threads/detach-step-over.exp: New file.
559
92234eb1
PA
5602021-02-03 Pedro Alves <pedro@palves.net>
561
562 * gdb.threads/attach-non-stop.c: New file.
563 * gdb.threads/attach-non-stop.exp: New file.
564
2e3773ff
LS
5652021-02-02 Lancelot SIX <lsix@lancelotsix.com>
566
567 * gdb.base/inferior-noarg.c: New test.
568 * gdb.base/inferior-noarg.exp: New test.
569
e0bd9202
SM
5702021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
571
572 * gdb.base/scope.exp: Use proc_with_prefix.
573
9307efbe
SM
5742021-02-02 Simon Marchi <simon.marchi@efficios.com>
575
576 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
577 table proc.
578 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
579 .debug_rnglists table without offset array.
580 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
581 .debug_loclists table without offset array.
582
2b0c7f41
SM
5832021-02-02 Simon Marchi <simon.marchi@efficios.com>
584
585 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
586 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
587 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
588 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
589 attribute
590
ecfda20d
SM
5912021-02-02 Simon Marchi <simon.marchi@efficios.com>
592
593 PR gdb/26813
594 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
595 (loclists): New proc.
596 * gdb.dwarf2/loclists-multiple-cus.c: New.
597 * gdb.dwarf2/loclists-multiple-cus.exp: New.
598 * gdb.dwarf2/loclists-sec-offset.c: New.
599 * gdb.dwarf2/loclists-sec-offset.exp: New.
600
6b0933da
SM
6012021-02-02 Simon Marchi <simon.marchi@efficios.com>
602
603 * lib/dwarf.exp (_location): Add parameters.
604 (_handle_DW_FORM): Adjust.
605
962effa7
SM
6062021-02-02 Simon Marchi <simon.marchi@efficios.com>
607
608 PR gdb/26813
609 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
610 (cu): Generate header for DWARF 5.
611 (rnglists): New proc.
612 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
613 * gdb.dwarf2/rnglists-sec-offset.exp: New.
614
2bd3e4b8
TV
6152021-02-02 Tom de Vries <tdevries@suse.de>
616
617 PR symtab/24620
618 * gdb.dwarf2/fission-reread.exp: Add test-case.
619
c39c8637
TV
6202021-02-01 Tom de Vries <tdevries@suse.de>
621
622 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
623 * gdb.dwarf2/fission-loclists-pie.S: Same.
624 * gdb.dwarf2/fission-loclists.S: Same.
625 * gdb.dwarf2/fission-multi-cu.S: Same.
626 * gdb.dwarf2/fission-reread.S: Same.
627 * gdb.dwarf2/fission-base.exp: Use DWO.
628 * gdb.dwarf2/fission-loclists-pie.exp: Same.
629 * gdb.dwarf2/fission-loclists.exp: Same.
630 * gdb.dwarf2/fission-multi-cu.exp: Same.
631 * gdb.dwarf2/fission-reread.exp: Same.
632
ebde6f2d
TV
6332021-01-29 Tom de Vries <tdevries@suse.de>
634
635 PR breakpoints/26063
636 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
637 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
638
620ec3ca
TV
6392021-01-29 Tom de Vries <tdevries@suse.de>
640
641 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
642
cdeba395
TV
6432021-01-28 Tom de Vries <tdevries@suse.de>
644
645 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
646 in the backtrace, and use that in the rest of the test instead of
647 hardcoded constant 3. Use "frame" instead of "up" for robustness.
648
c47b145e
TV
6492021-01-28 Tom de Vries <tdevries@suse.de>
650
651 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
652 * gdb.arch/i386-sse-stack-align.c: Same.
653 * gdb.arch/i386-sse-stack-align.exp: Same.
654
47918cca
AB
6552021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
658
2f985dd1
TV
6592021-01-28 Tom de Vries <tdevries@suse.de>
660
661 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
662
22efa3d3
TV
6632021-01-28 Tom de Vries <tdevries@suse.de>
664
665 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
666 "maint info line-table". Make PASS pattern more specific. Make
667 FAIL pattern work for -m32.
668
59b59f08
LS
6692021-01-27 Lancelot SIX <lsix@lancelotsix.com>
670
671 PR gdb/27133
672 * gdb.base/ui-redirect.exp: Add test case that ensures that
673 redirecting both logging and debug does not cause gdb to crash.
674
675
807f647c
MM
6762021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
677
678 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
679
4ca40594
TV
6802021-01-26 Tom de Vries <tdevries@suse.de>
681
682 * gdb.threads/killed-outside.exp: Allow regular output.
683
d0021af3
TV
6842021-01-26 Tom de Vries <tdevries@suse.de>
685
686 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
687
9f6c202e
TV
6882021-01-25 Tom de Vries <tdevries@suse.de>
689
690 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
691 * lib/gdb.exp: Use gdb_load_no_complaints.
692
a625a8c9
TT
6932021-01-25 Tom Tromey <tromey@adacore.com>
694
695 * gdb.ada/fixed_points.exp: Add regression test.
696 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
697 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
698
19184910
TT
6992021-01-25 Tom Tromey <tromey@adacore.com>
700
701 * gdb.ada/local-enum.exp: Add enumerator resolution test.
702
acd6125f
TT
7032021-01-25 Tom Tromey <tromey@adacore.com>
704
705 * gdb.ada/local-enum.exp: New file.
706 * gdb.ada/local-enum/local.adb: New file.
707
1af4c9c4
TT
7082021-01-23 Tom Tromey <tom@tromey.com>
709
710 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
711
705646c0
BE
7122021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
713
714 * gdb.base/line65535.exp: Fix test expectation.
715
0ac85db5
SM
7162021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
717
718 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
719 suppression.
720 (default_gdb_exit): Likewise.
721 (default_gdb_spawn): Likewise.
722 (send_gdb): Likewise.
723 (gdb_expect): Likewise.
724 (gdb_expect_list): Likewise.
725 (default_gdb_init): Likewise.
726 (gdb_suppress_entire_file): Remove.
727 (gdb_suppress_tests): Remove.
728 (gdb_stop_suppressing_tests): Remove.
729 (gdb_clear_suppressed): Remove.
730 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
731 related to test suppression.
732 (default_mi_gdb_start): Likewise.
733 (mi_gdb_reinitialize_dir): Likewise.
734 (mi_gdb_test): Likewise.
735 (mi_run_cmd_full): Likewise.
736 (mi_runto_helper): Likewise.
737 (mi_execute_to): Likewise.
738 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
739 * gdb.base/bitfields.exp: Likewise.
740 * gdb.base/bitfields2.exp: Likewise.
741 * gdb.base/break.exp: Likewise.
742 * gdb.base/call-sc.exp: Likewise.
743 * gdb.base/callfuncs.exp: Likewise.
744 * gdb.base/dfp-test.exp: Likewise.
745 * gdb.base/endian.exp: Likewise.
746 * gdb.base/exprs.exp: Likewise.
747 * gdb.base/funcargs.exp: Likewise.
748 * gdb.base/hbreak2.exp: Likewise.
749 * gdb.base/recurse.exp: Likewise.
750 * gdb.base/scope.exp: Likewise.
751 * gdb.base/sepdebug.exp: Likewise.
752 * gdb.base/structs.exp: Likewise.
753 * gdb.base/until.exp: Likewise.
754 * gdb.cp/misc.exp: Likewise.
755
9d2d8a16
AB
7562021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
757
758 PR cli/25956
759 * gdb.base/style.exp (run_style_tests): Add version string test.
760 (test_startup_version_string): Use version style name.
761 * lib/gdb-utils.exp (style): Handle version style name.
762
e7b43072
AB
7632021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * gdb.base/style.exp (limited_style): New proc.
766 (clean_restart_and_disable): New proc.
767 (run_style_tests): New proc. Most of the old tests from this file
768 are now in this proc.
769 (test_startup_version_string): New proc. Reamining test from the
770 old file is in this proc.
771
2189c312
SM
7722021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
773
774 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
775 Adjust to "set debug remote" changes.
776
cd211c75
LM
7772021-01-21 Luis Machado <luis.machado@linaro.org>
778
779 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
780 message.
781
730af663
SM
7822021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
783
784 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
785
325d39e4
HD
7862021-01-21 Hannes Domani <ssbssa@yahoo.de>
787
788 PR python/19151
789 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
790
c3e96aa7
SM
7912021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
792
793 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
794
6571ffc6
SM
7952021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
796
797 * lib/tuiterm.exp: Add links in comments.
798
7c794afd
TV
7992021-01-20 Tom de Vries <tdevries@suse.de>
800
801 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
802 offset.
803
1402665c
TV
8042021-01-20 Tom de Vries <tdevries@suse.de>
805
806 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
807
6f52fdf4
SDJ
8082021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
809
810 * gdb.arch/amd64-stap-expressions.S: New file.
811 * gdb.arch/amd64-stap-expressions.exp: New file.
812
14852123
TV
8132021-01-19 Tom de Vries <tdevries@suse.de>
814
815 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
816 sequence.
817
0c4e2c6c
TV
8182021-01-19 Tom de Vries <tdevries@suse.de>
819
820 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
821
02baa133
AB
8222021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
823
824 * gdb.fortran/array-slices.exp (run_test): Avoid including
825 addresses in test names.
826
10f92414
TV
8272021-01-15 Tom de Vries <tdevries@suse.de>
828
829 PR testsuite/26997
830 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
831 when adding sizeof.
832
116d0cf1
TV
8332021-01-14 Tom de Vries <tdevries@suse.de>
834
835 PR testsuite/24590
836 * gdb.base/style.exp: Handle shorter argv in frame command output.
837
8f66807b
AB
8382021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
839
840 PR gdb/26819
841 * gdb.server/stop-reply-no-thread-multi.c: New file.
842 * gdb.server/stop-reply-no-thread-multi.exp: New file.
843
3f94e588
TV
8442021-01-12 Tom de Vries <tdevries@suse.de>
845
846 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
847 (main): Remove call to have_mpx.
848 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
849 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
850 (main): Remote call to have_mpx.
851 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
852 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
853 (main): Remove call to have_mpx.
854 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
855 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
856 (main): Remove call to have_mpx.
857 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
858 * gdb.arch/i386-mpx.c (have_mpx): Remove.
859 (main): Remote call to have_mpx.
860 * gdb.arch/i386-mpx.exp: Use have_mpx.
861 * lib/gdb.exp (have_mpx): New proc.
862
5291fe3c
SP
8632021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
864
865 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
866
18bfb505
TV
8672021-01-12 Tom de Vries <tdevries@suse.de>
868
869 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
870
ce38f5ed
AB
8712021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
872
873 * gdb.fortran/debug-expr.exp: Add new tests.
874
7c654b71
AB
8752021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
876
877 * gdb.fortran/dot-ops.exp: Add new tests.
878
10dadadc
TV
8792021-01-11 Tom de Vries <tdevries@suse.de>
880
881 PR testsuite/26968
882 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
883 Move insn setting $eax to before probe point.
884
66beed02
TT
8852021-01-09 Tom Tromey <tom@tromey.com>
886
887 * gdb.trace/ax.exp: Do not require an "ext".
888
8fc48b79
TT
8892021-01-08 Tom Tromey <tromey@adacore.com>
890
891 * gdb.ada/voidctx/pck.adb: New file.
892 * gdb.ada/voidctx/pck.ads: New file.
893 * gdb.ada/voidctx/voidctx.adb: New file.
894 * gdb.ada/voidctx.exp: New file.
895
6abd4cf2
SM
8962021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
897
898 PR gdb/27157
899 * gdb.base/empty-host-env-vars.exp: New test.
900
d00f0868
AB
9012021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
902
903 * gdb.base/completion.exp: Add a new test.
904
3c8c6de2
AB
9052021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
906
907 * gdb.fortran/intvar-dynamic-types.exp: New file.
908 * gdb.fortran/intvar-dynamic-types.f90: New file.
909
e3436813
AB
9102021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
911
912 * gdb.fortran/intvar-array.exp: New file.
913 * gdb.fortran/intvar-array.f90: New file.
914
d4813f10
TT
9152021-01-07 Tom Tromey <tromey@adacore.com>
916
917 * gdb.ada/assign_arr.exp: Add 'others' test.
918
b49180ac
TT
9192021-01-06 Tom Tromey <tromey@adacore.com>
920
921 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
922 (FP4_Type): New type.
923 (FP4_Var): New variable.
924 * gdb.ada/fixed_points/fixed_points.adb: Update.
925 * gdb.ada/fixed_points.exp: Add tests for binary operators.
926
3c55062c
SM
9272021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
928
929 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
930 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
931 Pass prompt containing debug print to gdb_test_sequence.
932
e4ad960a
TV
9332021-01-04 Tom de Vries <tdevries@suse.de>
934
935 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
936
3ec3145c
SM
9372021-01-04 Simon Marchi <simon.marchi@efficios.com>
938
939
940
8dc558a0
SM
9412021-01-04 Simon Marchi <simon.marchi@efficios.com>
942
943 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
944 * gdb.server/connect-without-multi-process.exp: Likewise.
945 * gdb.server/exit-multiple-threads.exp: Likewise.
946 * gdb.server/ext-attach.exp: Likewise.
947 * gdb.server/ext-restart.exp: Likewise.
948 * gdb.server/ext-run.exp: Likewise.
949 * gdb.server/ext-wrapper.exp: Likewise.
950 * gdb.server/multi-ui-errors.exp: Likewise.
951 * gdb.server/no-thread-db.exp: Likewise.
952 * gdb.server/reconnect-ctrl-c.exp: Likewise.
953 * gdb.server/run-without-local-binary.exp: Likewise.
954 * gdb.server/server-kill.exp: Likewise.
955 * gdb.server/server-run.exp: Likewise.
956 * gdb.server/solib-list.exp: Likewise.
957 * gdb.server/stop-reply-no-thread.exp: Likewise.
958 * gdb.server/wrapper.exp: Likewise.
959 * gdb.server/sysroot.exp: Increase timeout when testing the
960 target: sysroot.
961
d8387cc8
SM
9622021-01-04 Simon Marchi <simon.marchi@efficios.com>
963
964 * gdb.server/server-run.exp: Use clean_restart.
965
5169ae34
SM
9662021-01-04 Simon Marchi <simon.marchi@efficios.com>
967
968 * gdb.server/ext-run.exp: Use clean_restart.
969
7b0ff8a2
SM
9702021-01-04 Simon Marchi <simon.marchi@efficios.com>
971
972 * gdb.server/stop-reply-no-thread.exp: Use build_executable
973 instead of prepare_for_testing.
974
a754fbdf
SM
9752021-01-04 Simon Marchi <simon.marchi@efficios.com>
976
977 * gdb.server/solib-list.exp: Use clean_restart.
978
c5e71b33
TV
9792021-01-04 Tom de Vries <tdevries@suse.de>
980
981 * gdb.base/morestack.c: Remove printf.
982 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
983
9b243007
TT
9842020-12-31 Tom Tromey <tom@tromey.com>
985
986 * gdb.rust/simple.exp: Update output for Rust 1.49.
987
4ff509e7
BE
9882020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
989
990 * gdb.cp/step-and-next-inline.exp: Fix test case.
991
391750c3
SM
9922020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
993
994 * gdb.python/py-frame-args.exp: De-duplicate test names.
995
b7874836
AB
9962020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
997
998 PR gdb/27059
999 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1000 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1001
e1ff6226
PW
10022020-12-21 Peter Waller <p@pwaller.net>
1003
1004 * gdb.base/style-interp-exec-mi.exp: New.
1005 * gdb.base/style-interp-exec-mi.c: New.
1006
ca01f1bf
SM
10072020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1008
1009 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1010 gdb_test. Use proc_with_prefix.
1011
0fe69a94
MM
10122020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1013
1014 * gdb.btrace/exception.exp: Build with nopie.
1015 * gdb.btrace/function_call_history.exp: Likewise.
1016 * gdb.btrace/unknown_functions.exp: Likewise.
1017
806e7575
MM
10182020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1019
1020 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1021
493d2172
MM
10222020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1023
1024 * gdb.python/py-record-btrace.exp: Make test names unique.
1025 * gdb.python/py-record-full.exp: Likewise.
1026
1a1c0afc
MM
10272020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1028
1029 * gdb.btrace/data.exp: Make test names unique.
1030 * gdb.btrace/delta.exp: Likewise.
1031 * gdb.btrace/enable.exp: Likewise.
1032 * gdb.btrace/function_call_history.exp: Likewise.
1033 * gdb.btrace/nohist.exp: Likewise.
1034 * gdb.btrace/non-stop.exp: Likewise.
1035 * gdb.btrace/rn-dl-bind.exp: Likewise.
1036 * gdb.btrace/step.exp: Likewise.
1037 * gdb.btrace/stepi.exp: Likewise.
1038 * gdb.btrace/tailcall.exp: Likewise.
1039
98d837f0
MM
10402020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1041
1042 * gdb.btrace/enable.exp: Update error message.
1043 * gdb.btrace/multi-inferior.exp: Likewise.
1044 * gdb.btrace/reconnect.exp: Likewise.
1045 * gdb.python/py-record-btrace.exp: Likewise.
1046 * gdb.python/py-record-full.exp: Likewise.
1047
c541fa7c
TV
10482020-12-20 Tom de Vries <tdevries@suse.de>
1049
1050 * lib/gdb.exp (save_target_board_info): New proc.
1051 (gdb_compile_shlib): Use save_target_board_info.
1052
60108e47
TV
10532020-12-19 Tom de Vries <tdevries@suse.de>
1054
1055 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1056 (supports_gnuc): New proc.
1057 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1058 test_compiler_info calls. Add unsupported message.
1059 * gdb.base/endianity.c: Use TEST_SSO.
1060
fa639f55
HD
10612020-12-19 Hannes Domani <ssbssa@yahoo.de>
1062
1063 PR exp/27070
1064 * gdb.python/compare-enum-type-a.c: New test.
1065 * gdb.python/compare-enum-type-b.c: New test.
1066 * gdb.python/compare-enum-type.exp: New file.
1067 * gdb.python/compare-enum-type.h: New test.
1068
4aea001f
HD
10692020-12-18 Hannes Domani <ssbssa@yahoo.de>
1070
1071 * gdb.python/py-format-string.exp: Add tests for address keyword.
1072
b3f9469b
HD
10732020-12-18 Hannes Domani <ssbssa@yahoo.de>
1074
1075 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1076
86ef42bd
TT
10772020-12-18 Tom Tromey <tromey@adacore.com>
1078
1079 * gdb.ada/fixed_points.exp: Also run with
1080 -fgnat-encodings=minimal. Update expected output.
1081
93df4a1d
SM
10822020-12-16 Simon Marchi <simon.marchi@efficios.com>
1083
1084 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1085 * gdb.base/continue-all-already-running.exp: Likewise.
1086 * gdb.base/moribund-step.exp: Likewise.
1087 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1088
592995fa
TV
10892020-12-16 Tom de Vries <tdevries@suse.de>
1090
1091 * gdb.base/batch-preserve-term-settings.exp:
1092
1e61189d
TV
10932020-12-16 Tom de Vries <tdevries@suse.de>
1094
1095 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1096 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1097
19007d95
LM
10982020-12-16 Luis Machado <luis.machado@linaro.org>
1099
1100 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1101 pointer-based memory accesses.
1102 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1103 hw watchpoint cases.
1104
a33fc9ae
RK
11052020-12-15 Rae Kim <rae.kim@gmail.com>
1106
1107 * gdb.base/document.exp: New test.
1108
0e5ad442
TT
11092020-12-15 Tom Tromey <tromey@adacore.com>
1110
1111 * gdb.base/style.exp: Add deprecation tests.
1112
60598dbd
SM
11132020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1114
1115 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1116
8cd6d968
MW
11172020-12-14 Mark Wielaard <mark@klomp.org>
1118
1119 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1120 specially, set attr_form_comment to the actual FORM string used.
1121
eab9267c
MW
11222020-12-14 Mark Wielaard <mark@klomp.org>
1123
1124 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1125 _constants(SPECIAL_expr) here, but set it...
1126 (Dwarf::cu): ...here based on _cu_version.
1127
2f413264
TV
11282020-12-14 Tom de Vries <tdevries@suse.de>
1129
1130 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1131 pass -fPIC.
1132 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1133 * gdb.base/break-probes.exp: Same.
1134 * gdb.base/ctxobj.exp: Same.
1135 * gdb.base/dso2dso.exp: Same.
1136 * gdb.base/global-var-nested-by-dso.exp: Same.
1137 * gdb.base/info-shared.exp: Same.
1138 * gdb.base/jit-reader-simple.exp: Same.
1139 * gdb.base/print-file-var.exp: Same.
1140 * gdb.base/skip-solib.exp: Same.
1141 * gdb.btrace/dlopen.exp: Same.
1142
18f1cb1f
TV
11432020-12-14 Tom de Vries <tdevries@suse.de>
1144
1145 PR testsuite/26963
1146 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1147
519155c9
TV
11482020-12-14 Tom de Vries <tdevries@suse.de>
1149
1150 PR testsuite/26962
1151 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1152 cast it to its declared type".
1153
153f6e6c
TV
11542020-12-14 Tom de Vries <tdevries@suse.de>
1155
1156 PR testsuite/26951
1157 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1158 shell prompt.
1159
86b44259
TT
11602020-12-14 Tom Tromey <tromey@adacore.com>
1161
1162 * gdb.ada/nested.exp: Add new tests.
1163 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1164
e26624c6
TT
11652020-12-14 Tom Tromey <tromey@adacore.com>
1166
1167 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1168
a3bdae4e
TT
11692020-12-14 Tom Tromey <tromey@adacore.com>
1170
1171 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1172
862fcbd8
TV
11732020-12-13 Tom de Vries <tdevries@suse.de>
1174
1175 PR testsuite/26953
1176 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1177 attribute support if compiler doesn't support it.
1178
a406a98e
TV
11792020-12-13 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1182 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1183 source to shared lib. Add ada to options.
1184
5d7e6ed0
TV
11852020-12-13 Tom de Vries <tdevries@suse.de>
1186
1187 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1188 calling gnatbind and gnatlink.
1189
ee9812a0
AB
11902020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1191
1192 * gdb.base/dcache-flush.c: New file.
1193 * gdb.base/dcache-flush.exp: New file.
1194
50a5f187
AB
11952020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1198 commands.
1199 * gdb.base/killed-outside.exp: Likewise.
1200 * gdb.opt/inline-bt.exp: Likewise.
1201 * gdb.perf/gmonster-null-lookup.py: Likewise.
1202 * gdb.perf/gmonster-print-cerr.py: Likewise.
1203 * gdb.perf/gmonster-ptype-string.py: Likewise.
1204 * gdb.python/py-unwind.exp: Likewise.
1205
19c659f1
AB
12062020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1207
1208 * gdb.base/commands.exp: Update expected results.
1209
9ef6d4a1
AB
12102020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1211
1212 PR cli/15104
1213 * gdb.base/commands.exp: Add additional tests.
1214 * gdb.base/completion.exp: Add additional tests.
1215
1536146f
AB
12162020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1217
1218 * gdb.base/completion.exp: Add additional tests.
1219
346e7e19
TV
12202020-12-11 Tom de Vries <tdevries@suse.de>
1221
1222 PR testsuite/26991
1223 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1224 violations by setting bounds registers if the bounds are passed in the
1225 Bounds Table.
1226
9cd7a95a
TV
12272020-12-11 Tom de Vries <tdevries@suse.de>
1228
1229 PR testsuite/26954
1230 * gdb.base/float128.exp: Detect and handle no mpfr support.
1231
4483a8e7
SM
12322020-12-10 Simon Marchi <simon.marchi@efficios.com>
1233
1234 PR gdb/24694
1235 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1236 calls.
1237
10067028
TV
12382020-12-10 Tom de Vries <tdevries@suse.de>
1239
1240 PR testsuite/26947
1241 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1242 braces for tcl 8.5 and earlier.
1243
5b56203a
SM
12442020-12-09 Simon Marchi <simon.marchi@efficios.com>
1245
1246 PR 26875, PR 26901
1247 * gdb.base/flexible-array-member.c: New test.
1248 * gdb.base/flexible-array-member.exp: New test.
1249
b46551b2
TV
12502020-12-08 Tom de Vries <tdevries@suse.de>
1251
1252 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1253 using is_amd64_regs_target.
1254
8439f446
TV
12552020-12-08 Tom de Vries <tdevries@suse.de>
1256
1257 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1258 self_id.
1259
bc545da7
PA
12602020-12-07 Pedro Alves <pedro@palves.net>
1261
1262 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1263 'additional_flags' variable.
1264
1f58f6c2
TBA
12652020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1266
1267 * gdb.linespec/explicit.exp: Extend with a test to check completing
1268 '-' after seemingly complete options.
1269
5759831a
TBA
12702020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1271
1272 * gdb.linespec/keywords.exp: Add tests to check positional
1273 flexibility of "-force-condition".
1274
21e051b3
TBA
12752020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1276
1277 * gdb.base/bp-cmds-run-with-ex.c: New file.
1278 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1279 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1280 * gdb.gdb/python-interrupts.exp: Update the call to
1281 'catch_command_errors' with the new argument.
1282 * gdb.gdb/python-selftest.exp: Ditto.
1283
187b041e
SM
12842020-12-04 Simon Marchi <simon.marchi@efficios.com>
1285
1286 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1287 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1288 * gdb.threads/non-stop-fair-events.exp: Likewise.
1289
3b7a962d
SM
12902020-12-04 Simon Marchi <simon.marchi@efficios.com>
1291
1292 * gdb.threads/step-over-exec.exp: New.
1293 * gdb.threads/step-over-exec.c: New.
1294 * gdb.threads/step-over-exec-execd.c: New.
1295 * lib/my-syscalls.S: New.
1296 * lib/my-syscalls.h: New.
1297
e633b117
SM
12982020-12-04 Simon Marchi <simon.marchi@efficios.com>
1299
1300 * lib/dwarf.exp (declare_labels): Use name as text if text is
1301 not provided.
1302
67748e0f
TV
13032020-12-04 Tom de Vries <tdevries@suse.de>
1304
1305 PR testsuite/26990
1306 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1307 are unsupported.
1308
a8d13675
TV
13092020-12-04 Tom de Vries <tdevries@suse.de>
1310
1311 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1312 clause.
1313
f17727b3
TV
13142020-12-04 Tom de Vries <tdevries@suse.de>
1315
1316 * gdb.reverse/insn-reverse.exp: Fix count handling.
1317
a1499830
TV
13182020-12-04 Tom de Vries <tdevries@suse.de>
1319
1320 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1321 __x86_64__.
1322
9c027c2f
TV
13232020-12-04 Tom de Vries <tdevries@suse.de>
1324
1325 * gdb.reverse/insn-reverse.c (test_nr): New var.
1326 (usage, parse_args): New function.
1327 (main): Call parse_args. Only run test for test_nr.
1328 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1329 and bail out. Run subtests individually, using an inferior arg
1330 specifying the subtest.
1331
533b2ae0
AB
13322020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1333
1334 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1335
e4502042
AB
13362020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1337
1338 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1339 update test to use this.
1340
f55a9a37
SM
13412020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1342
1343 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1344
0a6155a0
SM
13452020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1346
1347 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1348 (do_test): Don't use with_test_prefix.
1349 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1350 (do_test): Don't use with_test_prefix.
1351 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1352 (do_test): Don't use with_test_prefix.
1353 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1354 (do_test): Don't use with_test_prefix.
1355
4d56d64a
SM
13562020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1357
1358 * gdb.threads/non-ldr-exit.exp: Fix comment.
1359
54e75f29
AB
13602020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 * gdb.xml/maint-xml-dump-03.xml: New file.
1363
7ce05d21
TV
13642020-11-30 Tom de Vries <tdevries@suse.de>
1365
1366 PR symtab/26905
1367 * gdb.dwarf2/count.exp: Remove kfails.
1368
50757f95
TBA
13692020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1370
1371 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1372 indices.
1373
4afa9fd9
JB
13742020-11-24 Joel Brobecker <brobecker@adacore.com>
1375
1376 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1377 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1378 languages. Remove the associated setup_xfail.
1379
15a491af
SM
13802020-11-23 Simon Marchi <simon.marchi@efficios.com>
1381
1382 * lib/gdb.exp (gdb_assert): Show error message on error.
1383
891615f0
TV
13842020-11-23 Tom de Vries <tdevries@suse.de>
1385
1386 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1387 * gdb.ada/mod_from_name.exp: Same.
1388 * gdb.ada/pckd_arr_ren.exp: Same.
1389
19922582
SM
13902020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1391
1392 * gdb.base/template.exp: New.
1393 * gdb.base/template.c: New.
1394
117c628d
GB
13952020-11-22 Gary Benson <gbenson@redhat.com>
1396
1397 PR gdb/26905
1398 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1399 is defined using a DW_AT_count which references another DIE.
1400
da39d3ba
TV
14012020-11-21 Tom de Vries <tdevries@suse.de>
1402
1403 * gdb.base/vla-ptr.exp: Add XFAIL.
1404
a5c641b5
AB
14052020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.fortran/array-slices-bad.exp: New file.
1408 * gdb.fortran/array-slices-bad.f90: New file.
1409 * gdb.fortran/array-slices-sub-slices.exp: New file.
1410 * gdb.fortran/array-slices-sub-slices.f90: New file.
1411 * gdb.fortran/array-slices.exp: Rewrite tests.
1412 * gdb.fortran/array-slices.f90: Rewrite tests.
1413 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1414
a15a5258
AB
14152020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1416
1417 * gdb.base/completion.exp: Add new completion tests.
1418
7cb2893d
SM
14192020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1420
1421 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1422 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1423 * gdb.mi/mi-nsintrall.exp: Likewise.
1424 * gdb.mi/mi-nsmoribund.exp: Likewise.
1425 * gdb.mi/mi-nsthrexec.exp: Likewise.
1426 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1427
cf144ec8
SM
14282020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1429
1430 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1431 of perror.
1432
6b6a3e05
JM
14332020-11-18 Joseph Myers <joseph@codesourcery.com>
1434
1435 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1436 $arg.exe exists but $arg does not.
1437
811bdca0
GB
14382020-11-17 Gary Benson <gbenson@redhat.com>
1439
1440 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1441 __attribute__ ((used)).
1442
c72e3136
AB
14432020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1444
1445 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1446
037d7135
AB
14472020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.base/completion.exp: Add new tests.
1450
119e99bb
TT
14512020-11-16 Tom Tromey <tromey@adacore.com>
1452
1453 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1454 tests.
1455
b74dbc20
JB
14562020-11-15 Joel Brobecker <brobecker@adacore.com>
1457
1458 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1459 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1460 (main): Add reference to pck__fp1_var2.
1461 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1462
0a12719e
JB
14632020-11-15 Joel Brobecker <brobecker@adacore.com>
1464
1465 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1466
0c9150e4
JB
14672020-11-15 Joel Brobecker <brobecker@adacore.com>
1468
1469 * gdb.ada/fixed_points.exp: Add ptype tests.
1470 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1471
b26daff9
JB
14722020-11-15 Joel Brobecker <brobecker@adacore.com>
1473
1474 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1475
09584414
JB
14762020-11-15 Joel Brobecker <brobecker@adacore.com>
1477
1478 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1479 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1480 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1481 New files.
1482 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1483
1484 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1485 New files.
1486
9dd02fc0
AB
14872020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1488
1489 PR cli/26879
1490 * gdb.fortran/completion.exp: New file.
1491 * gdb.fortran/completion.f90: New file.
1492
5643c500
JM
14932020-11-12 Joseph Myers <joseph@codesourcery.com>
1494
1495 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1496 but $arg does not.
1497
7bea47f0
AB
14982020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1499
1500 * gdb.fortran/types.exp: Add more tests.
1501
1f2624a3
TT
15022020-11-12 Tom Tromey <tom@tromey.com>
1503
1504 PR rust/26799:
1505 * gdb.rust/traits.exp: Remove kfails.
1506
9e74f0ae
GB
15072020-11-12 Gary Benson <gbenson@redhat.com>
1508
1509 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1510 statement.
1511
acb994fa
SM
15122020-11-11 Simon Marchi <simon.marchi@efficios.com>
1513
1514 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1515 always-inserted" axis.
1516 (do_test): Add breakpoint_always_inserted parameter.
1517
95016fd2
TT
15182020-11-10 Tom Tromey <tromey@adacore.com>
1519
1520 * gdb.ada/bias.exp: Update.
1521 * gdb.ada/bias/bias.adb (X): Change value.
1522
83100a74
GB
15232020-11-10 Gary Benson <gbenson@redhat.com>
1524
1525 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1526 regexp fragment in parentheses to prevent false matching.
1527
6ff174a7
GB
15282020-11-10 Gary Benson <gbenson@redhat.com>
1529
1530 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1531
eb24648c
GB
15322020-11-10 Gary Benson <gbenson@redhat.com>
1533
1534 * gdb.cp/step-and-next-inline.exp: Only require
1535 -gstatement-frontiers when building with GCC.
1536 Only setup KFAIL's for GCC issues when using
1537 a GCC-built executable.
1538
86775fab
AB
15392020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * gdb.base/debug-expr.c: Add extra function to allow for an
1542 additional test.
1543 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1544 to this proc with gdb_test_debug_expr. Add an extra test.
1545 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1546 to this proc with gdb_test_debug_expr, give the tests names
1547 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1548 calls to this proc with gdb_test_debug_expr, give the tests names
1549 * gdb.fortran/debug-expr.exp: New file.
1550 * gdb.fortran/debug-expr.f90: New file.
1551 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1552
a1945bd4
SM
15532020-11-06 Simon Marchi <simon.marchi@efficios.com>
1554
1555 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1556 proceduresu.
1557 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1558 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1559 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1560 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1561 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1562 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1563 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1564 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1565
9c91c725
TT
15662020-11-04 Tom Tromey <tromey@adacore.com>
1567
1568 * gdb.ada/funcall_ref.exp: Update.
1569 * gdb.ada/var_rec_arr.exp: Update.
1570
8d9fd3a1
TT
15712020-11-04 Tom Tromey <tromey@adacore.com>
1572
1573 * gdb.ada/rec_ptype.exp: New file.
1574 * gdb.ada/rec_ptype/main.adb: New file.
1575 * gdb.ada/rec_ptype/p.ads: New file.
1576
d8f62e84
TT
15772020-11-04 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1580 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1581 (PT_Full): New variable.
1582 * gdb.ada/tick_length_array_enum_idx/pck.adb
1583 (Full_PT): New type.
1584
7ff5b937
TT
15852020-11-04 Tom Tromey <tromey@adacore.com>
1586
1587 * gdb.ada/array_of_variant.exp: New file.
1588 * gdb.ada/array_of_variant/p.adb: New file.
1589 * gdb.ada/array_of_variant/pck.ads: New file.
1590 * gdb.ada/array_of_variant/pck.adb: New file.
1591
10f6a3ad
TT
15922020-11-04 Tom Tromey <tromey@adacore.com>
1593
1594 * gdb.ada/enum_idx_packed.exp: Add test.
1595 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1596 New variable.
1597 * gdb.ada/enum_idx_packed/pck.ads (Short)
1598 (Multi_Dimension, Multi_Dimension_Access): New types.
1599
b72795a8
TT
16002020-11-04 Tom Tromey <tromey@adacore.com>
1601
1602 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1603
24aa1b02
TT
16042020-11-04 Tom Tromey <tromey@adacore.com>
1605
1606 * gdb.ada/set_pckd_arr_elt.exp: Also test
1607 -fgnat-encodings=minimal. Add tests.
1608 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1609 Call Update_Small a second time.
1610 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1611 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1612 (Variant_Access): New types.
1613 (New_Variant): Declare.
1614
c9a28cbe
TT
16152020-11-04 Tom Tromey <tromey@adacore.com>
1616
1617 * gdb.ada/mod_from_name.exp: Test printing slice.
1618
57567375
TT
16192020-11-04 Tom Tromey <tromey@adacore.com>
1620
1621 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1622 values.
1623 * gdb.ada/access_to_unbounded_array.exp: Test different
1624 -fgnat-encodings values.
1625 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1626 values.
1627 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1628 values.
1629 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1630 values.
1631 * gdb.ada/array_of_variable_length.exp: Test different
1632 -fgnat-encodings values.
1633 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1634 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1635 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1636 change.
1637 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1638 values.
1639 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1640 * gdb.ada/out_of_line_in_inlined.exp: Test different
1641 -fgnat-encodings values.
1642 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1643 values.
1644 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1645 values.
1646 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1647 -fgnat-encodings values.
1648 * gdb.ada/variant_record_packed_array.exp: Test different
1649 -fgnat-encodings values.
1650
a7400e44
TT
16512020-11-04 Tom Tromey <tromey@adacore.com>
1652
1653 * gdb.ada/enum_idx_packed.exp: Add tests.
1654 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1655 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1656 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1657 declarations.
1658
c40907bf
TV
16592020-11-03 Tom de Vries <tdevries@suse.de>
1660
1661 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1662 terminator comments.
1663 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1664 terminator.
1665
f468977a
SM
16662020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1667
1668 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1669 integer format test with regexp.
1670
1c2bec19
GB
16712020-11-02 Gary Benson <gbenson@redhat.com>
1672
1673 * gdb.base/print-file-var.exp (test): Separate compiler and
1674 linker options, and build using build_executable_from_specs
1675 to accommodate this.
1676
6539a36d
GB
16772020-11-02 Gary Benson <gbenson@redhat.com>
1678
1679 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1680 for .c files compiled as C++ with Clang if any shared
1681 libraries are specified.
1682
7ea44a51
GB
16832020-11-02 Gary Benson <gbenson@redhat.com>
1684
1685 * lib/attributes.h: New header.
1686 * gdb.base/backtrace.c: Include the above. Replace
1687 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1688 * gdb.base/infcall-nested-structs.c: Likewise.
1689 * gdb.base/vla-optimized-out.c: Likewise.
1690
ab8f783d
TV
16912020-11-02 Tom de Vries <tdevries@suse.de>
1692
1693 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1694
d77c9224
JB
16952020-11-01 Joel Brobecker <brobecker@adacore.com>
1696
1697 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1698 System.Min_Int and System.Max_Int with smaller hardcoded
1699 constants.
1700
0e5b0dd0
SM
17012020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1702
1703 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1704 * configure: Re-generate.
1705
136821d9
SM
17062020-10-30 Simon Marchi <simon.marchi@efficios.com>
1707
1708 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1709 expected output.
1710
b78b3a29
TBA
17112020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1712
1713 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1714 behavior.
1715 * gdb.base/paginate-bg-execution.exp: Ditto.
1716 * gdb.base/paginate-inferior-exit.exp: Ditto.
1717 * gdb.base/double-prompt-target-event-error.c: Remove.
1718 * gdb.base/double-prompt-target-event-error.exp: Remove.
1719
cfaa8f76
TBA
17202020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1721
1722 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1723 inferiors' and 'detach inferiors' do not change the current
1724 inferior.
1725
0ad0e70c
TV
17262020-10-29 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.threads/tls.exp: Fix DUPLICATEs.
1729
99cc6b2a
TV
17302020-10-28 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1733
efe9b873
TV
17342020-10-28 Tom de Vries <tdevries@suse.de>
1735
1736 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1737 * gdb.base/reread.exp: Same.
1738
6b68fd45
TV
17392020-10-28 Tom de Vries <tdevries@suse.de>
1740
1741 * lib/gdb.exp (readnow): Handle arg.
1742 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1743
32a5f98a
TV
17442020-10-28 Tom de Vries <tdevries@suse.de>
1745
1746 * gdb.base/relocate.exp: Update regexp for -readnow.
1747
f93b8760
TV
17482020-10-28 Tom de Vries <tdevries@suse.de>
1749
1750 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1751 -readnow.
1752
1b00ef06
TV
17532020-10-28 Tom de Vries <tdevries@suse.de>
1754
1755 PR symtab/26772
1756 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1757 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1758
364bb903
TV
17592020-10-28 Tom de Vries <tdevries@suse.de>
1760
1761 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1762 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1763 complaint during file command for -readnow.
1764
445a033f
TV
17652020-10-28 Tom de Vries <tdevries@suse.de>
1766
1767 * gdb.cp/nsalias.exp: Fix typo in test name.
1768
fdd67a42
TV
17692020-10-28 Tom de Vries <tdevries@suse.de>
1770
1771 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1772
706baf4c
TV
17732020-10-28 Tom de Vries <tdevries@suse.de>
1774
1775 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1776 -readnow.
1777
b448cca5
TV
17782020-10-27 Tom de Vries <tdevries@suse.de>
1779
1780 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1781
5868da03
TV
17822020-10-27 Tom de Vries <tdevries@suse.de>
1783
1784 * gdb.base/maint.exp: Update for -readnow.
1785
06db6ec3
TV
17862020-10-27 Tom de Vries <tdevries@suse.de>
1787
1788 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1789 -readnow.
1790
934a1764
GB
17912020-10-14 Gary Benson <gbenson@redhat.com>
1792
1793 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1794 "_vptr$Base" as correct, in addition to "_vptr.Base".
1795 (test_mixed): Likewise.
1796
0bf21fbd
GB
17972020-10-27 Gary Benson <gbenson@redhat.com>
1798
1799 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1800 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1801
b1d4d8d1
TBA
18022020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1803
1804 * gdb.base/condbreak.exp: Update the completion tests to
1805 consider the '-force' flag.
1806
bd24c5d6
TV
18072020-10-27 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.base/list-ambiguous-readnow.exp: New file.
1810
733d554a
TBA
18112020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1812
1813 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1814 the condition.
1815 * gdb.linespec/cpcompletion.exp: Update to consider the
1816 '-force-condition' keyword.
1817 * gdb.linespec/explicit.exp: Ditto.
1818 * lib/completion-support.exp: Ditto.
1819
b5fa468f
TBA
18202020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1821
1822 * gdb.base/condbreak-multi-context.cc: New file.
1823 * gdb.base/condbreak-multi-context.exp: New file.
1824
b3247276
TT
18252020-10-26 Tom Tromey <tom@tromey.com>
1826
1827 * lib/mi-support.exp (default_mi_gdb_start): Call
1828 gdb_stdin_log_init.
1829 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1830 subtract one from gdb_instances.
1831 (gdb_stdin_log_write): Flush in_file.
1832
1c47ec3e
TV
18332020-10-26 Tom de Vries <tdevries@suse.de>
1834
1835 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1836
6390859c
TT
18372020-10-26 Tom Tromey <tromey@adacore.com>
1838
1839 * gdb.ada/unsigned_range/foo.adb: New file.
1840 * gdb.ada/unsigned_range/pack.adb: New file.
1841 * gdb.ada/unsigned_range/pack.ads: New file.
1842 * gdb.ada/unsigned_range.exp: New file.
1843
55c3ad88
TV
18442020-10-26 Tom de Vries <tdevries@suse.de>
1845
1846 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1847
1612c4bb
TV
18482020-10-26 Tom de Vries <tdevries@suse.de>
1849
1850 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1851 for CU.
1852 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1853
7d72802b
TV
18542020-10-23 Tom de Vries <tdevries@suse.de>
1855
1856 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1857 DW_FORM_string.
1858 (Dwarf::_default_form): New proc.
1859 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1860 guessed.
1861
9476b583
TV
18622020-10-23 Tom de Vries <tdevries@suse.de>
1863
1864 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1865 * gdb.dwarf2/atomic-type.exp: Same.
1866 * gdb.dwarf2/bad-regnum.exp: Same.
1867 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1868 * gdb.dwarf2/dw2-align.exp: Same.
1869 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1870 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1871 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1872 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1873 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1874 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1875 * gdb.dwarf2/enum-type.exp: Same.
1876 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1877 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1878 * gdb.dwarf2/main-subprogram.exp: Same.
1879 * gdb.dwarf2/missing-type-name.exp: Same.
1880 * gdb.dwarf2/nonvar-access.exp: Same.
1881 * gdb.dwarf2/typedef-void-finish.exp: Same.
1882 * gdb.dwarf2/var-access.exp: Same.
1883 * gdb.dwarf2/void-type.exp: Same.
1884
4a636814
SM
18852020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1886
1887 PR gdb/26693
1888 * gdb.dwarf2/template-specification-full-name.exp: New test.
1889
557fc257
LM
18902020-10-22 Luis Machado <luis.machado@linaro.org>
1891
1892 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1893 expected an offset from the function.
1894 * gdb.base/msym-bp.exp (test): Likewise.
1895
6b4c676c
AB
18962020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1897
1898 * gdb.fortran/array-slices.exp: Add a new test.
1899
98cec4f6
GB
19002020-10-21 Gary Benson <gbenson@redhat.com>
1901
1902 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1903 fullname test with Clang. Also expand comments generally.
1904
ae86f581
TV
19052020-10-20 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1908
8c161360
TV
19092020-10-20 Tom de Vries <tdevries@suse.de>
1910
1911 * gdb.dwarf2/arr-stride.c: Remove.
1912 * gdb.dwarf2/arr-stride.exp: Use main.c.
1913 * gdb.dwarf2/arr-subrange.c: Remove.
1914 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1915 * gdb.dwarf2/bad-regnum.c: Remove.
1916 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1917 * gdb.dwarf2/corrupt.c: Remove.
1918 * gdb.dwarf2/corrupt.exp: Use main.c.
1919 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1920 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1921 * gdb.dwarf2/dw2-icycle.c: Remove.
1922 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1923 * gdb.dwarf2/formdata16.c: Remove.
1924 * gdb.dwarf2/formdata16.exp: Use main.c.
1925 * gdb.dwarf2/implptrconst.c: Remove.
1926 * gdb.dwarf2/implptrconst.exp: Use main.c.
1927 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1928 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1929 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1930 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1931
9c2412ec
TV
19322020-10-20 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1935 file.
1936 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1937
0cd2ad78
TV
19382020-10-20 Tom de Vries <tdevries@suse.de>
1939
1940 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1941 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1942 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1943 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1944 * gdb.dwarf2/dw2-ranges.exp: Same.
1945 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1946 * gdb.dwarf2/var-access.exp: Same.
1947
22cc388e
TT
19482020-10-19 Tom Tromey <tromey@adacore.com>
1949
1950 PR tui/26719
1951 * gdb.tui/list.exp: Check source window contents after focus
1952 change.
1953
520596f2
TV
19542020-10-17 Tom de Vries <tdevries@suse.de>
1955
1956 PR symtab/26317
1957 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1958
d1c8a76d
TV
19592020-10-17 Tom de Vries <tdevries@suse.de>
1960
1961 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1962 as suffix.
1963 * gdb.dwarf2/atomic.c: Rename to ...
1964 * gdb.dwarf2/atomic-type.c: ... this.
1965 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1966 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1967 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1968 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1969 * gdb.dwarf2/fission-mix2.c: Rename to ...
1970 * gdb.dwarf2/fission-mix-2.c: ... this.
1971 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1972 standard_testfile.
1973 * gdb.dwarf2/ada-valprint-error.exp: Same.
1974 * gdb.dwarf2/arr-stride.exp: Same.
1975 * gdb.dwarf2/arr-subrange.exp: Same.
1976 * gdb.dwarf2/atomic-type.exp: Same.
1977 * gdb.dwarf2/bad-regnum.exp: Same.
1978 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1979 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1980 * gdb.dwarf2/clang-debug-names.exp: Same.
1981 * gdb.dwarf2/comp-unit-lang.exp: Same.
1982 * gdb.dwarf2/corrupt.exp: Same.
1983 * gdb.dwarf2/count.exp: Same.
1984 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1985 * gdb.dwarf2/data-loc.exp: Same.
1986 * gdb.dwarf2/dw2-align.exp: Same.
1987 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1988 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1989 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1990 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1991 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1992 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1993 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1994 * gdb.dwarf2/dw2-inline-param.exp: Same.
1995 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1996 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1997 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1998 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1999 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2000 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2001 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2002 * gdb.dwarf2/dw2-param-error.exp: Same.
2003 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2004 * gdb.dwarf2/dw2-ranges.exp: Same.
2005 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2006 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2007 * gdb.dwarf2/dw4-sig-types.exp: Same.
2008 * gdb.dwarf2/dynarr-ptr.exp: Same.
2009 * gdb.dwarf2/enum-type.exp: Same.
2010 * gdb.dwarf2/fission-mix.exp: Same.
2011 * gdb.dwarf2/formdata16.exp: Same.
2012 * gdb.dwarf2/implptrconst.exp: Same.
2013 * gdb.dwarf2/implptrpiece.exp: Same.
2014 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2015 * gdb.dwarf2/main-subprogram.exp: Same.
2016 * gdb.dwarf2/method-ptr.exp: Same.
2017 * gdb.dwarf2/missing-sig-type.exp: Same.
2018 * gdb.dwarf2/nonvar-access.exp: Same.
2019 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2020 * gdb.dwarf2/shortpiece.exp: Same.
2021 * gdb.dwarf2/staticvirtual.exp: Same.
2022 * gdb.dwarf2/subrange.exp: Same.
2023 * gdb.dwarf2/symtab-producer.exp: Same.
2024 * gdb.dwarf2/typedef-void-finish.exp: Same.
2025 * gdb.dwarf2/var-access.exp: Same.
2026 * gdb.dwarf2/variant.exp: Same.
2027 * gdb.dwarf2/void-type.exp: Same.
2028 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2029 dw2-ranges-main.c.
2030 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2031
472d09c1
TV
20322020-10-16 Tom de Vries <tdevries@suse.de>
2033
2034 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2035
afe75f6d
TV
20362020-10-16 Tom de Vries <tdevries@suse.de>
2037
2038 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2039
8c8bd0ba
TV
20402020-10-14 Tom de Vries <tdevries@suse.de>
2041
2042 PR testsuite/26732
2043 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2044 scenario 2.
2045 * gdb.ada/mi_catch_ex_hand.exp: Same.
2046
b75d55d4
PA
20472020-10-13 Pedro Alves <pedro@palves.net>
2048
2049 * lib/mi-support.exp (mi_clean_restart): New.
2050 (mi_run_to_main): Delete.
2051 All callers adjust to use mi_clean_restart / mi_runto_main.
2052
e777225b
PA
20532020-10-13 Pedro Alves <pedro@palves.net>
2054
2055 * config/monitor.exp: Use "list -q".
2056 * gdb.arch/gdb1558.exp: Use "break -q".
2057 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2058 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2059 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2060 * gdb.base/commands.exp: Use "break -q".
2061 * gdb.base/condbreak.exp: Use "break -q".
2062 * gdb.base/ctf-ptype.exp: Use "list -q".
2063 * gdb.base/define.exp: Use "break -q".
2064 * gdb.base/del.exp: Use "break -q".
2065 * gdb.base/fullname.exp: Use "break -q".
2066 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2067 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2068 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2069 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2070 "hbreak -q".
2071 * gdb.base/included.exp: Use "list -q".
2072 * gdb.base/label.exp: Use "break -q".
2073 * gdb.base/lineinc.exp: Use "break -q".
2074 * gdb.base/list.exp: Use "list -q".
2075 * gdb.base/macscp.exp: Use "list -q".
2076 * gdb.base/pending.exp: Use "break -q".
2077 * gdb.base/prologue-include.exp: Use "break -q".
2078 * gdb.base/ptype.exp: Use "list -q".
2079 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2080 * gdb.base/server-del-break.exp: Use "break -q".
2081 * gdb.base/style.exp: Use "break -q".
2082 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2083 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2084 * gdb.cp/exception.exp: Use "tbreak -q".
2085 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2086 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2087 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2088 * gdb.dwarf2/pr13961.exp: Use "break -q".
2089 * gdb.linespec/explicit.exp: Use "list -q".
2090 * gdb.linespec/linespec.exp: Use "break -q".
2091 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2092 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2093 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2094 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2095 * gdb.trace/change-loc.exp: Use "break -q".
2096 * gdb.trace/pending.exp: Use "break -q".
2097 * gdb.tui/basic.exp: Use "list -q".
2098 * gdb.tui/list-before.exp: Use "list -q".
2099 * gdb.tui/list.exp: Use "list -q".
2100 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2101
8abd8ee8
PA
21022020-10-13 Pedro Alves <pedro@palves.net>
2103
2104 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2105 saved breakpoints file.
2106 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2107 inspecting breakpoint list.
2108 * lib/gdb.exp (runto_main): Add "qualified" to options.
2109 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2110 and handle it.
2111 (mi_runto_main): Pass 1 as qualified argument.
2112
f71e6719
PA
21132020-10-13 Pedro Alves <pedro@palves.net>
2114
2115 * lib/mi-support.exp (mi_runto_main): New proc.
2116 (mi_run_to_main): Use it.
2117 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2118 * gdb.mi/mi-var-cmd.exp: Likewise.
2119 * gdb.mi/mi-var-invalidate.exp: Likewise.
2120 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2121 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2122 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2123 * gdb.mi/user-selected-context-sync.exp: Likewise.
2124 * gdb.opt/inline-cmds.exp: Likewise.
2125 * gdb.python/py-framefilter-mi.exp: Likewise.
2126 * gdb.python/py-mi.exp: Likewise.
2127
50441f0f
PA
21282020-10-13 Pedro Alves <pedro@palves.net>
2129
2130 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2131 "runto main".
2132 * gdb.ada/small_reg_param.exp: Likewise.
2133 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2134 * gdb.base/annota1.exp: Likewise.
2135 * gdb.base/anon.exp: Likewise.
2136 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2137 * gdb.base/dprintf-non-stop.exp: Likewise.
2138 * gdb.base/dprintf.exp: Likewise.
2139 * gdb.base/gdb11530.exp: Likewise.
2140 * gdb.base/gdb11531.exp: Likewise.
2141 * gdb.base/gnu_vector.exp: Likewise.
2142 * gdb.base/interrupt-noterm.exp: Likewise.
2143 * gdb.base/memattr.exp: Likewise.
2144 * gdb.base/step-over-syscall.exp: Likewise.
2145 * gdb.base/watch-cond-infcall.exp: Likewise.
2146 * gdb.base/watch-read.exp: Likewise.
2147 * gdb.base/watch-vfork.exp: Likewise.
2148 * gdb.base/watch_thread_num.exp: Likewise.
2149 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2150 * gdb.guile/scm-frame-inline.exp: Likewise.
2151 * gdb.linespec/explicit.exp: Likewise.
2152 * gdb.opt/inline-break.exp: Likewise.
2153 * gdb.python/py-frame-inline.exp: Likewise.
2154 * gdb.reverse/break-precsave.exp: Likewise.
2155 * gdb.reverse/break-reverse.exp: Likewise.
2156 * gdb.reverse/consecutive-precsave.exp: Likewise.
2157 * gdb.reverse/consecutive-reverse.exp: Likewise.
2158 * gdb.reverse/finish-precsave.exp: Likewise.
2159 * gdb.reverse/finish-reverse.exp: Likewise.
2160 * gdb.reverse/fstatat-reverse.exp: Likewise.
2161 * gdb.reverse/getresuid-reverse.exp: Likewise.
2162 * gdb.reverse/i386-precsave.exp: Likewise.
2163 * gdb.reverse/i386-reverse.exp: Likewise.
2164 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2165 * gdb.reverse/i387-env-reverse.exp: Likewise.
2166 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2167 * gdb.reverse/insn-reverse.exp: Likewise.
2168 * gdb.reverse/machinestate-precsave.exp: Likewise.
2169 * gdb.reverse/machinestate.exp: Likewise.
2170 * gdb.reverse/pipe-reverse.exp: Likewise.
2171 * gdb.reverse/readv-reverse.exp: Likewise.
2172 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2173 * gdb.reverse/rerun-prec.exp: Likewise.
2174 * gdb.reverse/s390-mvcle.exp: Likewise.
2175 * gdb.reverse/solib-precsave.exp: Likewise.
2176 * gdb.reverse/solib-reverse.exp: Likewise.
2177 * gdb.reverse/step-precsave.exp: Likewise.
2178 * gdb.reverse/step-reverse.exp: Likewise.
2179 * gdb.reverse/time-reverse.exp: Likewise.
2180 * gdb.reverse/until-precsave.exp: Likewise.
2181 * gdb.reverse/until-reverse.exp: Likewise.
2182 * gdb.reverse/waitpid-reverse.exp: Likewise.
2183 * gdb.reverse/watch-precsave.exp: Likewise.
2184 * gdb.reverse/watch-reverse.exp: Likewise.
2185 * gdb.threads/kill.exp: Likewise.
2186 * gdb.threads/tid-reuse.exp: Likewise.
2187
d3a07122
SM
21882020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2189
2190 PR gdb/26642
2191 * gdb.base/maint-target-async-off.c: New test.
2192 * gdb.base/maint-target-async-off.exp: New test.
2193
c65c6c42
AM
21942020-10-13 Alan Modra <amodra@gmail.com>
2195
2196 * gdb.arch/powerpc-altivec.s,
2197 * gdb.arch/powerpc-power7.s,
2198 * gdb.arch/powerpc-power8.s,
2199 * gdb.arch/powerpc-power9.s,
2200 * gdb.arch/powerpc-vsx.s,
2201 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2202 * gdb.arch/powerpc-altivec.exp,
2203 * gdb.arch/powerpc-power7.exp,
2204 * gdb.arch/powerpc-power8.exp,
2205 * gdb.arch/powerpc-power9.exp,
2206 * gdb.arch/powerpc-vsx.exp,
2207 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2208 disassembly of mfvsrd/mtvsrd.
2209
f4a0f710
AM
22102020-10-13 Alan Modra <amodra@gmail.com>
2211
2212 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2213 "target architecture" output.
2214 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2215 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2216 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2217 * gdb.arch/s390-disassembler-options.exp: Likewise.
2218
87a37e5e
PA
22192020-10-12 Pedro Alves <pedro@palves.net>
2220
2221 PR exp/26602
2222 PR c++/26550
2223 * gdb.cp/ambiguous.cc (marker1): Delete.
2224 (main): Initialize all the fields of the locals. Replace marker1
2225 call with a "set breakpoint here" marker.
2226 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2227 instead of running to marker1. Add tests printing all the
2228 variables and all the fields of the variables.
2229 (test_ambiguous): New proc, expecting the new GDB output when a
2230 field access is ambiguous. Change all "warning: X ambiguous"
2231 tests to use it.
2232
71e1b6b0
GB
22332020-10-12 Gary Benson <gbenson@redhat.com>
2234
2235 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2236 * gdb.base/msym-bp-2.c (foo): Likewise.
2237 * gdb.base/msym-lang.c (foo): Likewise.
2238 * gdb.base/msym-lang-main.c (foo): Likewise.
2239 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2240 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2241 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2242 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2243 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2244 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2245 * gdb.python/py-objfile.c (static_var): Likewise.
2246 * gdb.python/py-symbol.c (rr): Likewise.
2247 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2248 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2249
9370fd51
AB
22502020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2253 output of backtrace.
2254
7c184d33
TT
22552020-10-09 Tom Tromey <tromey@adacore.com>
2256
2257 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2258 (Rec): Add field. Fix range.
2259 * gdb.ada/scalar_storage.exp: Update.
2260
3d87245c
HD
22612020-10-09 Hannes Domani <ssbssa@yahoo.de>
2262
2263 PR exp/26714
2264 * gdb.base/printcmds.exp: Add tests for void results.
2265
f5c4b229
JV
22662020-10-09 Jan Vrany <jan.vrany@labware.com>
2267
2268 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2269 is emmited for both 'set directories' and 'directory' commands.
2270
b2701685
TT
22712020-10-08 Tom Tromey <tom@tromey.com>
2272
2273 * gdb.base/style.exp: Check that "main"'s name is styled.
2274
e86efb33
TT
22752020-10-07 Tom Tromey <tromey@adacore.com>
2276
2277 * gdb.base/find.exp: Rename some tests.
2278
30897591
GB
22792020-10-06 Gary Benson <gbenson@redhat.com>
2280
2281 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2282 * gdb.base/list1.c (unused): Likewise.
2283
ced4a4c1
GB
22842020-10-06 Gary Benson <gbenson@redhat.com>
2285
2286 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2287 __attribute__ ((used)).
2288 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2289
ed3bdac4
AB
22902020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2291
2292 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2293 make use of regions throughout.
2294 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2295 not {...}.
2296 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2297
cd096ec8
HD
22982020-10-05 Hannes Domani <ssbssa@yahoo.de>
2299
2300 * gdb.base/call-sc.c: Fix return struct on stack test case.
2301 * gdb.base/call-sc.exp: Likewise.
2302
3ee6f75d
GB
23032020-10-02 Gary Benson <gbenson@redhat.com>
2304
2305 * README: Fix "paralell".
2306
f65825ec
GB
23072020-09-30 Gary Benson <gbenson@redhat.com>
2308
2309 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2310 Convert directive to lowercase.
2311 (.Labbrev1_begin): Add missing label.
2312 (abbrev code 0x1): Remove DW_AT_stmt_list.
2313 (.Ldie_b): Likewise.
2314
5f278258
TT
23152020-09-27 Tom Tromey <tom@tromey.com>
2316
2317 * gdb.tui/new-layout.exp: Use with_test_prefix.
2318
8f9929bb
GR
23192020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2320
2321 PR python/26586
2322 * gdb.python/python.exp: add test cases for the from_tty
2323 argument to gdb.execute.
2324
c20c017b
GB
23252020-09-25 Gary Benson <gbenson@redhat.com>
2326
2327 * gdb.base/infcall-nested-structs.exp.tcl: Add
2328 additional_flags=-Wno-tautological-compare for C++
2329 tests when compiling using Clang.
2330
68d654af
GB
23312020-09-25 Gary Benson <gbenson@redhat.com>
2332
2333 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2334 for .c files.
2335
b551a89f
TT
23362020-09-24 Tom Tromey <tromey@adacore.com>
2337
2338 PR tui/26638:
2339 * gdb.tui/list.exp: Check output of "focus next".
2340
20a5fcbd
TT
23412020-09-23 Tom Tromey <tom@tromey.com>
2342
2343 * gdb.dwarf2/intbits.exp: New file.
2344 * gdb.dwarf2/intbits.c: New file.
2345
b167e53f
PA
23462020-09-20 Pedro Alves <pedro@palves.net>
2347
2348 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2349 spawn_id before calling remote_close. Close secondary MI channel.
2350
dbc49e9f
PA
23512020-09-20 Pedro Alves <pedro@palves.net>
2352
2353 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2354 fails.
2355
c8d5abea
AB
23562020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.fortran/array-slices.exp: Update expected results.
2359 * gdb.fortran/class-allocatable-array.exp: Likewise.
2360 * gdb.fortran/multi-dim.exp: Likewise.
2361 * gdb.fortran/vla-type.exp: Likewise.
2362 * gdb.mi/mi-vla-fortran.exp: Likewise.
2363
14f9473c
VC
23642020-09-18 Victor Collod <vcollod@nvidia.com>
2365
2366 PR gdb/26635
2367 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2368 compatible with i386, and move it to...
2369 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2370 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2371 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2372
e8ef12b9
PA
23732020-09-18 Pedro Alves <pedro@palves.net>
2374
2375 PR gdb/26631
2376 * gdb.multi/multi-target-thread-find.exp: New file.
2377
e11daf7a
PA
23782020-09-18 Pedro Alves <pedro@palves.net>
2379
2380 * gdb.multi/multi-target-continue.exp: New file, factored out from
2381 multi-target.exp.
2382 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2383 multi-target.exp.
2384 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2385 multi-target.exp.
2386 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2387 multi-target.exp.
2388 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2389 multi-target.exp.
2390 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2391 multi-target.exp.
2392 * gdb.multi/multi-target.exp: Delete.
2393
d0edc2b8
AB
23942020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2395
2396 * gdb.fortran/array-slices.exp: Add missing message data.
2397
7474326c
PA
23982020-09-17 Pedro Alves <pedro@palves.net>
2399
2400 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2401
dd23068d
PA
24022020-09-17 Pedro Alves <pedro@palves.net>
2403
2404 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2405 full prototype.
2406
0640a543
PA
24072020-09-17 Pedro Alves <pedro@palves.net>
2408
2409 * gdb.python/py-as-string.c: Add cast.
2410
ef0cdbc1
PA
24112020-09-17 Pedro Alves <pedro@palves.net>
2412
2413 * gdb.base/sizeof.c (fill): Add cast.
2414
3a5eeb8b
PA
24152020-09-17 Pedro Alves <pedro@palves.net>
2416
2417 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2418
a8129512
PA
24192020-09-17 Pedro Alves <pedro@palves.net>
2420
2421 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2422 linkage name.
2423 * gdb.base/prologue.exp: Use print /d.
2424 * gdb.base/symbol-alias.exp: Handle C++ output.
2425 * gdb.base/symbol-alias2.c: Handle C++ output.
2426 [__cplusplus] (func): Explicitly specify linkage name.
2427
a83cdcb6
PA
24282020-09-17 Pedro Alves <pedro@palves.net>
2429
2430 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2431 (struct my_key_t): ... this. Adjust all references.
2432 (struct value_t): Rename to ...
2433 (struct my_value_t): ... this. Adjust all references.
2434 (create_map, add_map_element, create_map_map)
2435 (add_map_map_element): Add casts.
2436
d4bcee5c
PA
24372020-09-17 Pedro Alves <pedro@palves.net>
2438
2439 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2440 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2441
81f90489
PA
24422020-09-17 Pedro Alves <pedro@palves.net>
2443
2444 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2445
0a229804
PA
24462020-09-17 Pedro Alves <pedro@palves.net>
2447
2448 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2449 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2450 (charfoo, intfoo): Define full prototype.
2451 * gdb.base/ptype1.c (charfoo): Define full prototype.
2452 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2453 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2454
c3e5138d
PA
24552020-09-17 Pedro Alves <pedro@palves.net>
2456
2457 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2458 Don't define.
2459 (utf_32_string): Compile for both C and C++.
2460 * gdb.base/charset.exp: Use "print /d".
2461
151fdbad
PA
24622020-09-17 Pedro Alves <pedro@palves.net>
2463
2464 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2465 (nullptr): Rename to ...
2466 (null_ptr): ... this.
2467 * gdb.base/watchpoint.exp: Adjust to rename.
2468
18a25b64
PA
24692020-09-17 Pedro Alves <pedro@palves.net>
2470
2471 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2472 (three_not_flag): Add casts.
2473
11fac337
PA
24742020-09-17 Pedro Alves <pedro@palves.net>
2475
2476 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2477 char array.
2478 (main): Add references to Barrier, TestStrings, TestStringsH and
2479 TestStringsW.
2480 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2481 and expect a full prototype in C++.
2482
52626c58
PA
24832020-09-17 Pedro Alves <pedro@palves.net>
2484
2485 * gdb.base/nested-addr.c (main): Add cast.
2486 * gdb.base/nested-addr.exp: Use "print /d".
2487
52bb0902
PA
24882020-09-17 Pedro Alves <pedro@palves.net>
2489
2490 * gdb.base/break.exp (func): New. Use it throughout when
2491 expecting a function name.
2492
73e18ac9
PA
24932020-09-17 Pedro Alves <pedro@palves.net>
2494
2495 * gdb.base/display.exp: Issue "set print asm-demangle on".
2496
c8b18808
PA
24972020-09-17 Pedro Alves <pedro@palves.net>
2498
2499 * gdb.base/find.c: Include <string.h>.
2500 (init_bufs): Add cast.
2501 * gdb.base/find.exp: Issue "set print asm-demangle on".
2502
fe830662
TT
25032020-09-16 Tom Tromey <tromey@adacore.com>
2504
2505 PR gdb/26598:
2506 * gdb.base/skipcxx.exp: New file.
2507 * gdb.base/skipcxx.cc: New file.
2508
945ff6e2
TV
25092020-09-16 Tom de Vries <tdevries@suse.de>
2510
2511 PR testsuite/26617
2512 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2513 WITH_DEBUG_SECTIONS is defined.
2514 (xstr, str): New macro.
2515 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2516 to get start and size of _Dmain.
2517 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2518 using additional_flags.
2519
da1df1db
TBA
25202020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2521
2522 * gdb.base/bp-cmds-sourced-script.c: New file.
2523 * gdb.base/bp-cmds-sourced-script.exp: New test.
2524 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2525
337882d4
TV
25262020-09-16 Tom de Vries <tdevries@suse.de>
2527
2528 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2529 get the gdb prompt after issuing "monitor exit".
2530
7361f908
TV
25312020-09-16 Tom de Vries <tdevries@suse.de>
2532
2533 PR testsuite/26624
2534 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2535
4d91ddd3
TV
25362020-09-16 Tom de Vries <tdevries@suse.de>
2537
2538 PR testsuite/26618
2539 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2540
08cc37dd
TT
25412020-09-15 Tom Tromey <tromey@adacore.com>
2542
2543 PR rust/26197:
2544 * lib/rust-support.exp (rust_llvm_version): New proc.
2545 * gdb.rust/simple.exp: Check rust_llvm_version.
2546
ee6372f2
TV
25472020-09-14 Tom de Vries <tdevries@suse.de>
2548
2549 * gdb.rust/traits.exp: Fix PATH warning.
2550
dc3a371e
PA
25512020-09-13 Pedro Alves <pedro@palves.net>
2552
2553 * gdb.base/catch-follow-exec.c (main): Add explicit return
2554 statement.
2555 * gdb.base/catch-signal.c (main): Likewise.
2556 * gdb.base/condbreak-call-false.c (main): Likewise.
2557 * gdb.base/consecutive.c (main): Add explicit return
2558 statement and return type.
2559 * gdb.base/cursal.c (main): Add explicit return statement.
2560 * gdb.base/cvexpr.c (main): Likewise.
2561 * gdb.base/display.c (main): Add explicit return statement and
2562 return type.
2563 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2564 * gdb.base/endianity.c (main): Likewise.
2565 * gdb.base/execd-prog.c (main): Likewise.
2566 * gdb.base/gdb1090.c (main): Likewise.
2567 * gdb.base/info_qt.c (main): Likewise.
2568 * gdb.base/lineinc.c (main): Likewise.
2569 * gdb.base/load-command.c (main): Likewise.
2570 * gdb.base/macscp1.c (main): Likewise.
2571 * gdb.base/pr10179-a.c (main): Likewise.
2572 * gdb.base/quit-live.c (main): Likewise.
2573 * gdb.base/scope0.c (main): Likewise.
2574 * gdb.base/settings.c (main): Likewise.
2575 * gdb.base/stack-checking.c (main): Return int.
2576 * gdb.base/varargs.c (main): Add explicit return statement.
2577 * gdb.cp/ambiguous.cc (main): Likewise.
2578 * gdb.cp/anon-struct.cc (main): Likewise.
2579 * gdb.cp/anon-union.cc (main): Likewise.
2580 * gdb.cp/bool.cc (main): Likewise.
2581 * gdb.cp/bs15503.cc (main): Likewise.
2582 * gdb.cp/cplusfuncs.cc (main): Likewise.
2583 * gdb.cp/cttiadd.cc (main): Likewise.
2584 * gdb.cp/extern-c.cc (main): Likewise.
2585 * gdb.cp/filename.cc (main): Likewise.
2586 * gdb.cp/formatted-ref.cc (main): Likewise.
2587 * gdb.cp/mb-ctor.cc (main): Likewise.
2588 * gdb.cp/member-ptr.cc (main): Likewise.
2589 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2590 * gdb.cp/overload-const.cc (main): Likewise.
2591 * gdb.cp/paren-type.cc (main): Likewise.
2592 * gdb.cp/parse-lang.cc (main): Likewise.
2593 * gdb.cp/pr-1023.cc (main): Likewise.
2594 * gdb.cp/psmang1.cc (main): Likewise.
2595 * gdb.cp/readnow-language.cc (main): Likewise.
2596 * gdb.cp/ref-params.cc (main): Likewise.
2597 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2598 * gdb.cp/virtbase2.cc (main): Likewise.
2599 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2600 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2601 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2602 * gdb.mi/mi-console.c (main): Likewise.
2603 * gdb.mi/mi-read-memory.c (main): Likewise.
2604 * gdb.modula2/multidim.c (main): Likewise.
2605 * gdb.opt/inline-small-func.c (main): Likewise.
2606 * gdb.python/py-rbreak.c (main): Likewise.
2607 * gdb.stabs/exclfwd1.c (main): Likewise.
2608 * gdb.trace/qtro.c (main): Likewise.
2609
af26601c
PA
26102020-09-13 Pedro Alves <pedro@palves.net>
2611
2612 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2613 instead of getenv.
2614
2f4b83cd
PA
26152020-09-13 Pedro Alves <pedro@palves.net>
2616
2617 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2618 instead of spawning GDB with remote_spawn.
2619 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2620 gdb_spawn instead of spawning GDB with remote_spawn.
2621
c49da0e4
PA
26222020-09-13 Pedro Alves <pedro@palves.net>
2623
2624 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2625 file and add calls to first and second.
2626 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2627 add call to f.
2628
6791b117
PA
26292020-09-13 Pedro Alves <pedro@palves.net>
2630
2631 * gdb.mi/mi-break-qualified.cc: New file.
2632 * gdb.mi/mi-break-qualified.exp: New file.
2633 * lib/mi-support.exp (mi_create_breakpoint_multi)
2634 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2635 procedures.
2636 (mi_create_breakpoint_1): New, factored out from
2637 mi_create_breakpoint.
2638
3b8d4c5c
PA
26392020-09-13 Pedro Alves <pedro@palves.net>
2640
2641 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2642 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2643 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2644 (register_class): Delete.
2645 (main): Don't call register_class.
2646
d5f96005
PA
26472020-09-13 Pedro Alves <pedro@palves.net>
2648
2649 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2650 (do_tests): Remove "calling method for small class" test.
2651 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2652 (register_class): Delete.
2653 (main): Don't call register_class.
2654 * gdb.cp/call-method-register.exp: New file, based on bits removed
2655 from classes.exp.
2656 * gdb.cp/call-method-register.cc: New file, based on bits removed
2657 from classes.cc.
2658
77f2120b
PA
26592020-09-13 Pedro Alves <pedro@palves.net>
2660
2661 * gdb.base/msym-bp-2.c: New.
2662 * gdb.base/msym-bp-shl-lib.c: New file.
2663 * gdb.base/msym-bp-shl-main-2.c: New file.
2664 * gdb.base/msym-bp-shl-main.c: New file.
2665 * gdb.base/msym-bp-shl.exp: New file.
2666 * gdb.base/msym-bp.c: New file.
2667 * gdb.base/msym-bp.exp: New file.
2668
32aea73e
JB
26692020-09-13 Joel Brobecker <brobecker@adacore.com>
2670
2671 * gdb.base/default.exp: Change $_gdb_major to 11.
2672
2a67f09d
FW
26732020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2674 Felix Willgerodt <Felix.Willgerodt@intel.com>
2675
2676 * x86-avx512bf16.c: New file.
2677 * x86-avx512bf16.exp: Likewise.
2678 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2679
ad570dd7
TV
26802020-09-11 Tom de Vries <tdevries@suse.de>
2681
2682 PR exp/26602
2683 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2684
a56f7391
TBA
26852020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2686
2687 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2688
918619e5
AM
26892020-09-10 Alan Modra <amodra@gmail.com>
2690
2691 PR 26597
2692 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2693
cac1e71d
TV
26942020-09-08 Tom de Vries <tdevries@suse.de>
2695
2696 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2697 after gdb_starti_cmd.
2698
c5cd900e
AKS
26992020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2700
2701 * lib/fortran.exp (fortran_complex8): New proc.
2702 (fortran_complex16): New proc.
2703 * gdb.fortran/complex.exp: Use routines from fortran.exp
2704 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2705 * gdb.fortran/vla-ptr-info.exp: Likewise.
2706
8f5c6526
TV
27072020-09-03 Tom de Vries <tdevries@suse.de>
2708
2709 PR breakpoint/26546
2710 * gdb.base/label-without-address.exp: Runto main first.
2711
02c6f3f1
TT
27122020-09-02 Tom Tromey <tromey@adacore.com>
2713
2714 * gdb.ada/mi_var_access.exp: Test children of access variable.
2715 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2716 * gdb.ada/mi_var_array.exp: Update.
2717
efe24f05
KB
27182020-08-31 Kevin Buettner <kevinb@redhat.com>
2719
2720 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2721 on docker w/ AUFS storage driver.
2722
973695d6
KB
27232020-08-31 Kevin Buettner <kevinb@redhat.com>
2724
2725 * gdb.base/corefile2.exp (renamed binfile): New tests.
2726
f3bd50f1
SM
27272020-08-31 Simon Marchi <simon.marchi@efficios.com>
2728
2729 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2730
22b9b4b0
SL
27312020-08-31 Simon Marchi <simon.marchi@efficios.com>
2732
2733 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2734 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2735
8efaf6b3
SM
27362020-08-31 Simon Marchi <simon.marchi@efficios.com>
2737
2738 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2739 output, printing a "not saved" value from history and printing a
2740 convenience variable created from a "not saved" value.
2741
e840f2e3
TV
27422020-08-31 Tom de Vries <tdevries@suse.de>
2743
2744 * gdb.base/eh_return.exp: Use nopie.
2745
8f57f343
PA
27462020-08-28 Pedro Alves <pedro@palves.net>
2747
2748 * gdb.base/advance-until-multiple-locations.exp
2749 (advance_overload, until_overload): Adjust to match the
2750 frame/function header instead of the source line text.
2751
626d2320
TV
27522020-08-28 Tom de Vries <tdevries@suse.de>
2753
2754 * gdb.base/label-without-address.c: New test.
2755 * gdb.base/label-without-address.exp: New file.
2756
df631783
PA
27572020-08-27 Pedro Alves <pedro@palves.net>
2758
2759 PR gdb/26523
2760 PR gdb/26524
2761 * gdb.base/advance-until-multiple-locations.cc: New.
2762 * gdb.base/advance-until-multiple-locations.exp: New.
2763
48b076bb
SM
27642020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2765
2766 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2767
c2015ce4
AB
27682020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.arch/amd64-byte.exp: Make test names unique, use
2771 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2772 * gdb.arch/amd64-dword.exp: Likewise.
2773 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2774 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2775 unique.
2776 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2777 * gdb.arch/amd64-word.exp: Make test names unique, use
2778 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2779 * gdb.arch/i386-byte.exp: Make test names unique, use
2780 gdb_breakpoint.
2781 * gdb.arch/i386-word.exp: Likewise.
2782
995d3a19
SV
27832020-08-25 Shahab Vahedi <shahab@synopsys.com>
2784
2785 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2786
8cac2b31
SM
27872020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2788
2789 PR gdb/26532
2790 * gdb.threads/stepi-random-signal.exp: Update pattern.
2791
2bc19622
SM
27922020-08-25 Simon Marchi <simon.marchi@efficios.com>
2793
2794 PR gdb/26532
2795 * gdb.base/ui-redirect.exp: Update pattern.
2796
b04aa1fc
GB
27972020-08-25 Gary Benson <gbenson@redhat.com>
2798
2799 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2800 when compiling with clang.
8571e9c8 2801 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2802
9f68b453
GB
28032020-08-25 Gary Benson <gbenson@redhat.com>
2804
2805 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2806 Add additional_flags=-Wno-inaccessible-base when compiling
2807 with GCC >= 10.1 or clang. Add additional_flags=-w when
2808 compiling with GCC < 10.
2809
3945d2d7
GM
28102020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2811
2812 PR m2/26372
fc5d6901
SM
2813 * gdb.modula2/multidim.c: New file.
2814 * gdb.modula2/multidim.exp: New file.
3945d2d7 2815
60122dbe
SM
28162020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2817
2818 * lib/gdb.exp (runto): Always emit fail on internal error.
2819
1eb8556f
SM
28202020-08-24 Simon Marchi <simon.marchi@efficios.com>
2821
2822 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2823 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2824 Likewise.
2825 * gdb.threads/stepi-random-signal.exp: Likewise.
2826
33bf4c5c
TBA
28272020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2828
2829 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2830 * gdb.trace/strace.exp: Ditto.
2831
c2fd7fae
AKS
28322020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2833
2834 * gdb.fortran/vla-type.exp: Skip commands not required for
2835 the Flang compiled binaries after prologue fix.
2836
326afb72
TT
28372020-08-17 Tom de Vries <tdevries@suse.de>
2838 Tom Tromey <tromey@adacore.com>
2839
2840 PR rust/26197:
2841 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2842
3ae7ab99
TT
28432020-08-17 Tom Tromey <tromey@adacore.com>
2844
2845 * gdb.ada/mi_var_access.exp: New file.
2846 * gdb.ada/mi_var_access/mi_access.adb: New file.
2847 * gdb.ada/mi_var_access/pck.adb: New file.
2848 * gdb.ada/mi_var_access/pck.ads: New file.
2849
f569c1c5
TV
28502020-08-16 Tom de Vries <tdevries@suse.de>
2851
2852 PR gdb/25350
2853 * gdb.base/eh_return.c: New test.
2854 * gdb.base/eh_return.exp: New file.
2855
3d11c30a
TV
28562020-08-15 Tom de Vries <tdevries@suse.de>
2857
2858 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2859 (mixed_func_1d_): Use fortran_charlen_t in decl.
2860
547ce8f0
TV
28612020-08-15 Tom de Vries <tdevries@suse.de>
2862
2863 PR backtrace/26390
2864 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2865 Update expected pattern.
2866
a54a7f13
PA
28672020-08-13 Pedro Alves <pedro@palves.net>
2868
2869 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2870 * gdb.fortran/library-module.exp: Likewise.
2871 * gdb.fortran/logical.exp: Likewise.
2872 * gdb.fortran/module.exp: Likewise.
2873 * gdb.fortran/print_type.exp: Likewise.
2874 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2875 * gdb.fortran/vla-datatypes.exp: Likewise.
2876 * gdb.fortran/vla-history.exp: Likewise.
2877 * gdb.fortran/vla-ptr-info.exp: Likewise.
2878 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2879 * gdb.fortran/vla-ptype.exp: Likewise.
2880 * gdb.fortran/vla-sizeof.exp: Likewise.
2881 * gdb.fortran/vla-type.exp: Likewise.
2882 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2883 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2884 * gdb.fortran/vla-value-sub.exp: Likewise.
2885 * gdb.fortran/vla-value.exp: Likewise.
2886
7a82e903
PA
28872020-08-13 Pedro Alves <pedro@palves.net>
2888
2889 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2890 * gdb.ada/access_to_packed_array.exp: Likewise.
2891 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2892 * gdb.ada/addr_arith.exp: Likewise.
2893 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2894 * gdb.ada/arr_arr.exp: Likewise.
2895 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2896 * gdb.ada/array_bounds.exp: Likewise.
2897 * gdb.ada/array_of_variable_length.exp: Likewise.
2898 * gdb.ada/array_ptr_renaming.exp: Likewise.
2899 * gdb.ada/array_subscript_addr.exp: Likewise.
2900 * gdb.ada/arraydim.exp: Likewise.
2901 * gdb.ada/arrayparam.exp: Likewise.
2902 * gdb.ada/arrayptr.exp: Likewise.
2903 * gdb.ada/assign_1.exp: Likewise.
2904 * gdb.ada/assign_arr.exp: Likewise.
2905 * gdb.ada/atomic_enum.exp: Likewise.
2906 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2907 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2908 * gdb.ada/bias.exp: Likewise.
2909 * gdb.ada/boolean_expr.exp: Likewise.
2910 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2911 * gdb.ada/bp_enum_homonym.exp: Likewise.
2912 * gdb.ada/bp_inlined_func.exp: Likewise.
2913 * gdb.ada/bp_on_var.exp: Likewise.
2914 * gdb.ada/bp_range_type.exp: Likewise.
2915 * gdb.ada/bp_reset.exp: Likewise.
2916 * gdb.ada/call_pn.exp: Likewise.
2917 * gdb.ada/catch_assert_if.exp: Likewise.
2918 * gdb.ada/catch_ex.exp: Likewise.
2919 * gdb.ada/catch_ex_std.exp: Likewise.
2920 * gdb.ada/char_enum.exp: Likewise.
2921 * gdb.ada/char_param.exp: Likewise.
2922 * gdb.ada/complete.exp: Likewise.
2923 * gdb.ada/cond_lang.exp: Likewise.
2924 * gdb.ada/convvar_comp.exp: Likewise.
2925 * gdb.ada/dgopt.exp: Likewise.
2926 * gdb.ada/disc_arr_bound.exp: Likewise.
2927 * gdb.ada/display_nested.exp: Likewise.
2928 * gdb.ada/dot_all.exp: Likewise.
2929 * gdb.ada/dyn_loc.exp: Likewise.
2930 * gdb.ada/dyn_stride.exp: Likewise.
2931 * gdb.ada/excep_handle.exp: Likewise.
2932 * gdb.ada/expr_delims.exp: Likewise.
2933 * gdb.ada/expr_with_funcall.exp: Likewise.
2934 * gdb.ada/exprs.exp: Likewise.
2935 * gdb.ada/fin_fun_out.exp: Likewise.
2936 * gdb.ada/fixed_cmp.exp: Likewise.
2937 * gdb.ada/formatted_ref.exp: Likewise.
2938 * gdb.ada/frame_arg_lang.exp: Likewise.
2939 * gdb.ada/frame_args.exp: Likewise.
2940 * gdb.ada/fullname_bp.exp: Likewise.
2941 * gdb.ada/fun_addr.exp: Likewise.
2942 * gdb.ada/fun_in_declare.exp: Likewise.
2943 * gdb.ada/fun_overload_menu.exp: Likewise.
2944 * gdb.ada/fun_renaming.exp: Likewise.
2945 * gdb.ada/funcall_char.exp: Likewise.
2946 * gdb.ada/funcall_param.exp: Likewise.
2947 * gdb.ada/funcall_ptr.exp: Likewise.
2948 * gdb.ada/funcall_ref.exp: Likewise.
2949 * gdb.ada/homonym.exp: Likewise.
2950 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2951 * gdb.ada/info_auto_lang.exp: Likewise.
2952 * gdb.ada/info_exc.exp: Likewise.
2953 * gdb.ada/info_types.exp: Likewise.
2954 * gdb.ada/int_deref.exp: Likewise.
2955 * gdb.ada/interface.exp: Likewise.
2956 * gdb.ada/iwide.exp: Likewise.
2957 * gdb.ada/lang_switch.exp: Likewise.
2958 * gdb.ada/length_cond.exp: Likewise.
2959 * gdb.ada/maint_with_ada.exp: Likewise.
2960 * gdb.ada/mi_catch_assert.exp: Likewise.
2961 * gdb.ada/mi_catch_ex.exp: Likewise.
2962 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2963 * gdb.ada/mi_dyn_arr.exp: Likewise.
2964 * gdb.ada/mi_ex_cond.exp: Likewise.
2965 * gdb.ada/mi_exc_info.exp: Likewise.
2966 * gdb.ada/mi_interface.exp: Likewise.
2967 * gdb.ada/mi_prot.exp: Likewise.
2968 * gdb.ada/mi_ref_changeable.exp: Likewise.
2969 * gdb.ada/mi_string_access.exp: Likewise.
2970 * gdb.ada/mi_task_arg.exp: Likewise.
2971 * gdb.ada/mi_task_info.exp: Likewise.
2972 * gdb.ada/mi_var_array.exp: Likewise.
2973 * gdb.ada/mi_var_union.exp: Likewise.
2974 * gdb.ada/mi_variant.exp: Likewise.
2975 * gdb.ada/minsyms.exp: Likewise.
2976 * gdb.ada/mod_from_name.exp: Likewise.
2977 * gdb.ada/nested.exp: Likewise.
2978 * gdb.ada/null_array.exp: Likewise.
2979 * gdb.ada/optim_drec.exp: Likewise.
2980 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2981 * gdb.ada/packed_array_assign.exp: Likewise.
2982 * gdb.ada/packed_tagged.exp: Likewise.
2983 * gdb.ada/pp-rec-component.exp: Likewise.
2984 * gdb.ada/print_chars.exp: Likewise.
2985 * gdb.ada/print_pc.exp: Likewise.
2986 * gdb.ada/ptr_typedef.exp: Likewise.
2987 * gdb.ada/ptype_arith_binop.exp: Likewise.
2988 * gdb.ada/ptype_array.exp: Likewise.
2989 * gdb.ada/ptype_field.exp: Likewise.
2990 * gdb.ada/ptype_tagged_param.exp: Likewise.
2991 * gdb.ada/ptype_union.exp: Likewise.
2992 * gdb.ada/py_range.exp: Likewise.
2993 * gdb.ada/py_taft.exp: Likewise.
2994 * gdb.ada/rdv_wait.exp: Likewise.
2995 * gdb.ada/rec_comp.exp: Likewise.
2996 * gdb.ada/rec_return.exp: Likewise.
2997 * gdb.ada/ref_param.exp: Likewise.
2998 * gdb.ada/ref_tick_size.exp: Likewise.
2999 * gdb.ada/rename_subscript_param.exp: Likewise.
3000 * gdb.ada/repeat_dyn.exp: Likewise.
3001 * gdb.ada/same_component_name.exp: Likewise.
3002 * gdb.ada/same_enum.exp: Likewise.
3003 * gdb.ada/scalar_storage.exp: Likewise.
3004 * gdb.ada/set_wstr.exp: Likewise.
3005 * gdb.ada/small_reg_param.exp: Likewise.
3006 * gdb.ada/str_binop_equal.exp: Likewise.
3007 * gdb.ada/str_ref_cmp.exp: Likewise.
3008 * gdb.ada/str_uninit.exp: Likewise.
3009 * gdb.ada/sub_variant.exp: Likewise.
3010 * gdb.ada/sym_print_name.exp: Likewise.
3011 * gdb.ada/taft_type.exp: Likewise.
3012 * gdb.ada/tagged.exp: Likewise.
3013 * gdb.ada/tagged_access.exp: Likewise.
3014 * gdb.ada/task_bp.exp: Likewise.
3015 * gdb.ada/task_switch_in_core.exp: Likewise.
3016 * gdb.ada/tasks.exp: Likewise.
3017 * gdb.ada/tick_last_segv.exp: Likewise.
3018 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3019 * gdb.ada/type_coercion.exp: Likewise.
3020 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3021 * gdb.ada/unchecked_union.exp: Likewise.
3022 * gdb.ada/uninitialized_vars.exp: Likewise.
3023 * gdb.ada/var_arr_attrs.exp: Likewise.
3024 * gdb.ada/var_arr_typedef.exp: Likewise.
3025 * gdb.ada/var_rec_arr.exp: Likewise.
3026 * gdb.ada/variant-record.exp: Likewise.
3027 * gdb.ada/variant.exp: Likewise.
3028 * gdb.ada/variant_record_packed_array.exp: Likewise.
3029 * gdb.ada/varsize_limit.exp: Likewise.
3030 * gdb.ada/whatis_array_val.exp: Likewise.
3031 * gdb.ada/widewide.exp: Likewise.
3032 * gdb.ada/win_fu_syms.exp: Likewise.
3033
30342020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3035
3036 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3037
10c381b5
AB
30382020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3039
3040 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3041 unset the array variable.
3042
8f34b746
TV
30432020-08-03 Tom de Vries <tdevries@suse.de>
3044
3045 PR symtab/26333
3046 * lib/dwarf.exp (DW_LNE_user): New proc.
3047 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3048 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3049
0245e136
KB
30502020-07-31 Kevin Buettner <kevinb@redhat.com>
3051
3052 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3053 to 'uintptr_t'
3054 (inttypes.h): Include.
3055
9ef1ec5d
KB
30562020-07-31 Kevin Buettner <kevinb@redhat.com>
3057
3058 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3059 (C5_24k): Delete.
3060 (C5_8k, C5_64k, C5_256k): New macros.
3061 (buf_ro): Allocate 256 KiB of initialized data.
3062
4c55e970
TBA
30632020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3064
3065 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3066 that attempt to overwrite an existing condition with a condition
3067 that fails parsing and also with a condition that parses fine
3068 but contains junk at the end.
3069
1e620590
TBA
30702020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3071
3072 * gdb.base/condbreak-bad.c: New test.
3073 * gdb.base/condbreak-bad.exp: New file.
3074
e12dcc50
TV
30752020-07-30 Tom de Vries <tdevries@suse.de>
3076
3077 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3078 out of ...
3079 (GDBInfoModuleSymbols::check_entry): ... here.
3080 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3081 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3082 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3083
6cc64caa
TV
30842020-07-30 Tom de Vries <tdevries@suse.de>
3085
3086 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3087 "__class_some_module_Number_t" optional.
3088
90fd07fc
TV
30892020-07-29 Tom de Vries <tdevries@suse.de>
3090
3091 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3092 multiple locations.
3093
f5c79e97
TV
30942020-07-29 Tom de Vries <tdevries@suse.de>
3095
3096 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3097 rather than function name.
3098
f75a0693
AB
30992020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3100
3101 PR symtab/26270:
3102 * gdb.cp/disasm-func-name.cc: New file.
3103 * gdb.cp/disasm-func-name.exp: New file.
3104
4888741a
TT
31052020-07-28 Tom Tromey <tromey@adacore.com>
3106
3107 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3108 'varval' location.
3109
43d5901d
AB
31102020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3111
3112 * gdb.python/py-unwind.py: Update to make use of a register
3113 descriptor.
3114
14fa8fb3
AB
31152020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3118
e79eb02f
AB
31192020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3120
3121 PR fortran/23051
3122 PR fortran/26139
3123 * gdb.fortran/class-allocatable-array.exp: New file.
3124 * gdb.fortran/class-allocatable-array.f90: New file.
3125 * gdb.fortran/pointer-to-pointer.exp: New file.
3126 * gdb.fortran/pointer-to-pointer.f90: New file.
3127
876518dd
TV
31282020-07-25 Tom de Vries <tdevries@suse.de>
3129
3130 PR symtab/26243
3131 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3132 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3133
6dcfb80a
TV
31342020-07-24 Tom de Vries <tdevries@suse.de>
3135
3136 PR testsuite/26293
3137 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3138
e7bc9db8
PA
31392020-07-23 Pedro Alves <pedro@palves.net>
3140
3141 * gdb.server/server-kill.exp (prepare): New, factored out from the
3142 top level.
3143 (kill_server): New.
3144 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3145 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3146
78344df7
AB
31472020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3148
3149 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3150
25dfed24
SL
31512020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3152
3153 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3154 Initialize to empty string at top level.
3155 (gdb_wrapper_init): Revert check for file existence on build.
3156 Build the wrapper in its default place, not a build-specific
3157 location. When host == build, make the pathname absolute.
3158 (gdb_compile): Delete leftover declaration of
3159 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3160 string instead of uninitialized.
3161
7da515fd
KB
31622020-07-22 Kevin Buettner <kevinb@redhat.com>
3163
3164 * gdb.base/corefile2.exp: New file.
3165 * gdb.base/coremaker2.exp: New file.
3166
9c5ec5c2
KB
31672020-07-22 Kevin Buettner <kevinb@redhat.com>
3168
3169 * gdb.base/coredump-filter.exp: Add second
3170 non-Private-Shared-Anon-File test.
3171 (test_disasm): Rename binfile for test which is expected
3172 to fail.
3173
f9e233c9
KB
31742020-07-22 Kevin Buettner <kevinb@redhat.com>
3175
3176 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3177 data in core file".
3178 * gdb.base/coremaker.c (buf2ro): New global.
3179 (mmapdata): Add a read-only mmap mapping.
3180
94c265d7
KB
31812020-07-22 Kevin Buettner <kevinb@redhat.com>
3182
3183 PR corefiles/25631
3184 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3185 New test.
3186 * gdb.base/coremaker.c (buf3): New global.
3187 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3188 flags.
3189
31902020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3191
3192 * gdb.base/coremaker.c (filler_ro): New global constant.
3193
32fa152e
TT
31942020-07-22 Tom Tromey <tromey@adacore.com>
3195
3196 * gdb.ada/mi_prot.exp: New file.
3197 * gdb.ada/mi_prot/pkg.adb: New file.
3198 * gdb.ada/mi_prot/pkg.ads: New file.
3199 * gdb.ada/mi_prot/prot.adb: New file.
3200
c8474dc3
TBA
32012020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3202
3203 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3204 loads two JITers.
3205
baf8791e
AB
32062020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3209
f7306dac
AB
32102020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3211
3212 * gdb.python/py-arch-reg-names.exp: Additional tests.
3213
6d3d6e4b
TV
32142020-07-21 Tom de Vries <tdevries@suse.de>
3215
3216 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3217 breakpoint locations".
3218 * gdb.reverse/solib-reverse.exp: Same.
3219
803d0592
TV
32202020-07-21 Tom de Vries <tdevries@suse.de>
3221
3222 * gdb.reverse/step-reverse.c (callee): Merge statements.
3223
e9bdc510
TV
32242020-07-21 Tom de Vries <tdevries@suse.de>
3225
3226 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3227 line numbers for some variables.
3228
f0f9e75a
TV
32292020-07-21 Tom de Vries <tdevries@suse.de>
3230
3231 * gdb.opt/inline-locals.c (init_array): New func.
3232 (func1): Use init_array.
3233 * gdb.opt/inline-locals.exp: Update pattern.
3234
bd460ecb
TV
32352020-07-21 Tom de Vries <tdevries@suse.de>
3236
3237 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3238 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3239
ae5369e7
LC
32402020-07-20 Ludovic Courtès <ludo@gnu.org>
3241
3242 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3243 * gdb.guile/types-module.exp: Remove "ERROR:" from
3244 regexps since Guile 3.0 no longer prints that.
3245
68cf161c
LC
32462020-07-20 Ludovic Courtès <ludo@gnu.org>
3247
3248 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3249 error regexp to match on Guile 2.2.
3250
c14b4913
GB
32512020-07-20 Gary Benson <gbenson@redhat.com>
3252
3253 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3254 with clang.
3255
b243ba58
TV
32562020-07-20 Tom de Vries <tdevries@suse.de>
3257
3258 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3259 (omp_set_lock_in_order): New function.
3260 (single_scope, multi_scope, nested_func, nested_parallel): Use
3261 omp_set_lock_in_order and omp_unset_lock.
3262 (main): Init and destroy lock and lock2.
3263
c06ad8b5
TV
32642020-07-20 Tom de Vries <tdevries@suse.de>
3265
3266 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3267
6e22f117
TV
32682020-07-20 Tom de Vries <tdevries@suse.de>
3269
3270 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3271
33176ea7
TV
32722020-07-17 Tom de Vries <tdevries@suse.de>
3273
3274 * gdb.base/valgrind-infcall-2.c: New test.
3275 * gdb.base/valgrind-infcall-2.exp: New file.
3276 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3277
90c3ec2d
TV
32782020-07-17 Tom de Vries <tdevries@suse.de>
3279
3280 * gdb.dlang/circular.c (found): Use found_label as label name.
3281 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3282 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3283 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3284 * gdb.dwarf2/ada-linkage-name.exp: Same.
3285 * gdb.dwarf2/arr-subrange.exp: Same.
3286 * gdb.dwarf2/atomic-type.exp: Same.
3287 * gdb.dwarf2/comp-unit-lang.exp: Same.
3288 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3289 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3290 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3291 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3292 * gdb.dwarf2/implptr-64bit.exp: Same.
3293 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3294 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3295 * gdb.dwarf2/imported-unit.exp: Same.
3296 * gdb.dwarf2/main-subprogram.exp: Same.
3297 * gdb.dwarf2/missing-type-name.exp: Same.
3298 * gdb.dwarf2/nonvar-access.exp: Same.
3299 * gdb.dwarf2/struct-with-sig.exp: Same.
3300 * gdb.dwarf2/typedef-void-finish.exp: Same.
3301 * gdb.dwarf2/void-type.exp: Same.
3302
10da644d
TV
33032020-07-17 Tom de Vries <tdevries@suse.de>
3304
3305 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3306 src parameter.
3307 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3308 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3309 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3310 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3311 * gdb.dwarf2/dwz.exp: Same.
3312 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3313 * gdb.dwarf2/implref-array.exp: Same.
3314 * gdb.dwarf2/implref-const.exp: Same.
3315 * gdb.dwarf2/implref-global.exp: Same.
3316 * gdb.dwarf2/implref-struct.exp: Same.
3317 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3318 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3319 * gdb.dwarf2/var-access.exp: Same.
3320 * gdb.dwarf2/varval.exp: Same.
3321 * gdb.trace/entry-values.exp: Same.
3322
315e6afc
TV
33232020-07-17 Tom de Vries <tdevries@suse.de>
3324
3325 * lib/dwarf.exp (Dwarf::extern): Remove.
3326 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3327 * gdb.dlang/circular.exp: Same.
3328 * gdb.dwarf2/comp-unit-lang.exp: Same.
3329 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3330 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3331 * gdb.dwarf2/dwz.exp: Same.
3332 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3333 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3334 * gdb.dwarf2/imported-unit.exp: Same.
3335 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3336
5597c940
SL
33372020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3338
3339 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3340 Use double quotes instead of single quotes.
3341
d0ce17d8
CT
33422020-07-16 Caroline Tice <cmtice@google.com>
3343
3344 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3345 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3346
853772cc
TV
33472020-07-16 Tom de Vries <tdevries@suse.de>
3348
3349 * lib/dwarf.exp (program): Initialize _line.
3350 (DW_LNE_end_sequence): Reinitialize _line.
3351 (DW_LNS_advance_line): Update _line.
3352 (line): New proc.
3353 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3354 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3355 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3356 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3357 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3358 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3359
fe07b572
AB
33602020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3361
3362 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3363 generic.
3364
52781cce
TV
33652020-07-15 Tom de Vries <tdevries@suse.de>
3366
3367 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3368 is_amd64_regs_target.
3369
3dcc261c
AB
33702020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3373 * gdb.fortran/ptype-on-functions.f90: Likewise.
3374
054a0959
SM
33752020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3376
3377 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3378 values in documentation for addr_size to 4 and 8.
3379
ccb9eba6
AB
33802020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3381
3382 * gdb.arch/amd64-osabi.exp: Update.
3383 * gdb.arch/arm-disassembler-options.exp: Update.
3384 * gdb.arch/powerpc-disassembler-options.exp: Update.
3385 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3386 * gdb.arch/s390-disassembler-options.exp: Update.
3387 * gdb.base/all-architectures.exp.tcl: Update.
3388 * gdb.base/attach-pie-noexec.exp: Update.
3389 * gdb.base/catch-syscall.exp: Update.
3390 * gdb.xml/tdesc-arch.exp: Update.
3391
025a39a7
TV
33922020-07-14 Tom de Vries <tdevries@suse.de>
3393
3394 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3395 (local_gettid): ... this.
3396 (fn): Update.
3397
74e4b667
SL
33982020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3399
3400 * gdb.base/info_sources.exp: Skip directory match tests on
3401 remote hosts.
3402
f413dd74
GB
34032020-07-13 Gary Benson <gbenson@redhat.com>
3404
3405 * gdb.base/savedregs.exp (caller): Use parentheses to
3406 make expected expression evaluation ordering explicit.
3407
915771bb
GB
34082020-07-13 Gary Benson <gbenson@redhat.com>
3409
3410 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3411
2a122642
GB
34122020-07-13 Gary Benson <gbenson@redhat.com>
3413
3414 * gdb.base/bigcore.c (main): Use a volatile pointer when
3415 attempting to trigger a SIGSEGV.
3416 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3417 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3418 * gdb.base/savedregs.c (thrower): Likewise.
3419 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3420
3f00c730
GB
34212020-07-13 Gary Benson <gbenson@redhat.com>
3422
3423 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3424 defining and using VLA structure fields into...
3425 * gdb.base/vla-struct-fields.c: New file.
3426 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3427 tests into...
3428 * gdb.base/vla-struct-fields.exp: New file.
3429
963eeee4
TV
34302020-07-13 Tom de Vries <tdevries@suse.de>
3431
3432 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3433 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3434 * gdb.base/gold-gdb-index.exp: Same.
3435 * gdb.base/morestack.exp: Same.
3436
0ed35c9a
DX
34372020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3438
3439 PR rust/26121
3440 * gdb.rust/modules.rs: Prevent linker from discarding test
3441 symbol.
3442
4fdba23d
PA
34432020-07-10 Pedro Alves <pedro@palves.net>
3444
3445 PR gdb/26199
3446 * gdb.multi/multi-target.c (exit_thread): New.
3447 (thread_start): Break loop if EXIT_THREAD.
3448 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3449 (top level) Call test_no_resumed.
3450
15f3b077
TT
34512020-07-08 Tom Tromey <tromey@adacore.com>
3452
3453 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3454 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3455
9fc501fd
AB
34562020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3457
3458 PR python/22748
3459 * gdb.opt/inline-frame-tailcall.c: New file.
3460 * gdb.opt/inline-frame-tailcall.exp: New file.
3461 * gdb.python/py-unwind-inline.c: New file.
3462 * gdb.python/py-unwind-inline.exp: New file.
3463 * gdb.python/py-unwind-inline.py: New file.
3464
64cb3757
AB
34652020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3466
3467 * gdb.python/py-arch-reg-groups.exp: New file.
3468
0f767f94
AB
34692020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3470
3471 * gdb.python/py-arch-reg-names.exp: New file.
3472
87dbc774
AB
34732020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3476 gdb.PendingFrame.architecture method.
3477
d8cc8af6
TV
34782020-07-06 Tom de Vries <tdevries@suse.de>
3479
3480 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3481
3c8ea5be
PA
34822020-07-03 Pedro Alves <palves@redhat.com>
3483
3484 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3485 explicitly write negative numbers.
3486 * gdb.base/structs2.exp: Adjust expected output.
3487
bf90c83a
PA
34882020-07-03 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.base/charset.c (init_string): Change all char parameters to
3491 unsigned char parameters.
3492
2eb82157
PA
34932020-07-03 Pedro Alves <palves@redhat.com>
3494
3495 * gdb.base/call-sc.exp (start_scalars_test): Use
3496 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3497 * gdb.base/overlays.c: Remove references to PARAMS.
3498 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3499 * gdb.base/reread.exp: Don't set 'prototypes' global.
3500 * gdb.base/structs.exp (start_structs_test): Use
3501 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3502 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3503 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3504 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3505 call.
3506 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3507
9adda7af
PA
35082020-07-03 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.base/m32rovly.c: Delete.
3511 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3512
2a17c803
PW
35132020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3514
3515 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3516 of gdb_py_test_multiple.
3517 * gdb.python/py-cmd.exp: Likewise.
3518 * gdb.python/py-events.exp: Likewise.
3519 * gdb.python/py-function.exp: Likewise.
3520 * gdb.python/py-inferior.exp: Likewise.
3521 * gdb.python/py-infthread.exp: Likewise.
3522 * gdb.python/py-linetable.exp: Likewise.
3523 * gdb.python/py-parameter.exp: Likewise.
3524 * gdb.python/py-value.exp: Likewise.
3525
b011fe1a
TV
35262020-06-30 Tom de Vries <tdevries@suse.de>
3527
3528 PR testsuite/26175
3529 * lib/future.exp (gdb_default_target_compile): Detect and handle
3530 early_flags.
3531
df5b8876
SM
35322020-06-29 Simon Marchi <simon.marchi@efficios.com>
3533
3534 * boards/simavr.exp (gdb_load): Catch errors when closing
3535 previous connection. Close connection, wait for process and
3536 unset simavr_spawn_id on failure.
3537
a3ca48cd
TV
35382020-06-29 Tom de Vries <tdevries@suse.de>
3539
3540 * lib/gdb.exp (unknown): Make test-case unresolved.
3541
b0237c0e
TV
35422020-06-29 Tom de Vries <tdevries@suse.de>
3543
3544 PR gdb/25475
3545 * gdb.server/solib-list.exp: Verify that the symbol reload
3546 confirmation question is asked.
3547
c0b3b3bd
PW
35482020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3549
3550 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3551 have a input seq nr in each pass message.
fe4c3d43 3552 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3553 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3554 * gdb.python/python.exp: Make test names unique,
3555 use gdb_test_multiline instead of gdb_py_test_multiple,
3556 use $gdb_test_name.
3557 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3558
1776e3e5
NA
35592020-06-26 Nick Alcock <nick.alcock@oracle.com>
3560
3561 * configure.ac: Add --enable-libctf.
3562 * aclocal.m4: sinclude ../config/enable.m4.
3563 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3564 * lib/gdb.exp (skip_ctf_tests): Use it.
3565 * gdb.base/ctf-constvars.exp: Error message tweak.
3566 * gdb.base/ctf-ptype.exp: Likewise.
3567 * configure: Regenerate.
3568
f53b3eeb
GB
35692020-06-26 Gary Benson <gbenson@redhat.com>
3570
3571 * gdb.cp/try_catch.cc: Include string.h.
3572 (main): Replace comparison against string literal with
3573 strcmp, avoiding build failure with -Wstring-compare.
3574 Add "marker test-complete".
3575 * gdb.cp/try_catch.exp: Run the test to the above marker,
3576 then verify that the value of "test" is still true.
3577
6d74da72
AB
35782020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3579
3580 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3581
2e52d038
AB
35822020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3583
3584 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3585
3b9fce96
AB
35862020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3587
3588 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3589 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3590 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3591 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3592 * gdb.arch/riscv-tdesc-loading.exp: New file.
3593
ed69cbc8
AB
35942020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3595
3596 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3597
767a879e
AB
35982020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3599
3600 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3601 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3602 * gdb.arch/riscv-tdesc-regs.c: New file.
3603 * gdb.arch/riscv-tdesc-regs.exp: New file.
3604
221db974
PA
36052020-06-24 Pedro Alves <palves@redhat.com>
3606
3607 * gdb.arch/amd64-entry-value-paramref.exp: Use
3608 prepare_for_testing_full and don't pass "c++" for the .S file
3609 build spec.
3610 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3611 $options, since it's an assembly file. Remove -Wno-deprecated.
3612 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3613 compiling C++ programs.
3614
331733cd
PA
36152020-06-24 Pedro Alves <palves@redhat.com>
3616
3617 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3618 Clang, add "-Wno-unknown-warning-option" to the options.
3619
caa7fd04
AB
36202020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3621
3622 * gdb.xml/tdesc-reload.c: New file.
3623 * gdb.xml/tdesc-reload.exp: New file.
3624 * gdb.xml/maint-xml-dump-01.xml: New file.
3625 * gdb.xml/maint-xml-dump-02.xml: New file.
3626 * gdb.xml/maint-xml-dump.exp: New file.
3627
bb8d1260
SL
36282020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3629
3630 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3631 Adjust for omitted commands when TUI is disabled.
3632
7e4b9c4c
GB
36332020-06-23 Gary Benson <gbenson@redhat.com>
3634 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3637 * gdb.cp/nsimport.cc: Likewise.
3638 * gdb.cp/nsnested.cc: Likewise.
3639 * gdb.cp/nsnoimports.cc: Likewise.
3640 * gdb.cp/nsusing.cc: Likewise.
3641 * gdb.cp/smartp.cc: Likewise.
3642 * gdb.python/py-pp-integral.c: Likewise.
3643 * gdb.python/py-pp-re-notag.c: Likewise.
3644
2e573c0a
GB
36452020-06-23 Gary Benson <gbenson@redhat.com>
3646
3647 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3648 * gdb.cp/nsimport.cc: Likewise.
3649 * gdb.cp/nsnested.cc: Likewise.
3650 * gdb.cp/nsnoimports.cc: Likewise.
3651 * gdb.cp/nsusing.cc: Likewise.
3652 * gdb.cp/smartp.cc: Likewise.
3653 * gdb.python/py-pp-integral.c: Likewise.
3654 * gdb.python/py-pp-re-notag.c: Likewise.
3655
746ebfe8
PW
36562020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3657
3658 * gdb.base/default-args.exp: New test.
3659 * gdb.base/default-args.c: New file.
3660 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3661 * gdb.base/default.exp: Update to new help text.
3662 * gdb.base/help.exp: Likewise.
3663 * gdb.base/page.exp: Likewise.
3664 * gdb.base/style.exp: Likewise.
3665 * gdb.guile/guile.exp: Likewise.
3666 * gdb.python/python.exp: Likewise.
3667
e822f2cd
SL
36682020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3669
3670 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3671 remote host. Fix search path syntax on Windows host.
3672
48e9cc84
PW
36732020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3674
3675 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3676 over 'exec-file-mismatch'.
3677 * gdb.base/attach.c: Mark should_exit volatile.
3678 * gdb.base/attach2.c: Likewise. Add a comment explaining
3679 why the sleep cannot be big.
3680 * gdb.base/attach3.c: New file.
3681
160f8a8f
SL
36822020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3683
3684 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3685 prefix optional.
3686
4d91c2a4
SL
36872020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3688
3689 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3690 for remote host.
3691
87f83f20
SL
36922020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3693 Hafiz Abid Qadeer <abidh@codesourcery.com>
3694
3695 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3696 file sent to remote host.
3697 (top level): Allow int32_t as type of 32-bit register.
3698
37ab8655
TV
36992020-06-19 Tom de Vries <tdevries@suse.de>
3700
3701 * lib/gdb.exp (gdb_note): New proc.
3702 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3703 (gdb_default_target_compile): ... here. Only call
3704 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3705 (use_gdb_compile): Change to array.
3706 (toplevel): Update sets of use_gdb_compile to specify language.
3707 Warn about default_target_compile override. Store dejagnu's version
3708 of default_target_compile in dejagnu_default_target_compile.
3709
a8a56685
TV
37102020-06-18 Tom de Vries <tdevries@suse.de>
3711
3712 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3713 (default_gdb_init): ... here.
3714
581bea2c
SL
37152020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3716
3717 Fix TUI support checks in gdb.tui tests.
3718
3719 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3720 just say UNSUPPORTED.
3721 * gdb.tui/corefile-run.exp: Likewise.
3722 * gdb.tui/empty.exp: Likewise.
3723 * gdb.tui/list-before.exp: Likewise.
3724 * gdb.tui/list.exp: Likewise.
3725 * gdb.tui/main.exp: Likewise.
3726 * gdb.tui/regs.exp: Likewise.
3727 * gdb.tui/resize.exp: Likewise.
3728 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3729 * gdb.tui/tui-layout-asm.exp: Likewise.
3730 * gdb.tui/tui-missing-src.exp: Likewise.
3731 * gdb.tui/winheight.exp: Likewise.
3732 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3733
05e682e3
SL
37342020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3735
3736 Fix TCL error in gdb.python/py-format-string.exp.
3737
3738 * gdb.python/py-format-string.exp: Move test for python support
3739 earlier, out of function body.
3740
efb763a5
SM
37412020-06-15 Simon Marchi <simon.marchi@efficios.com>
3742
3743 * gdb.base/index-cache-load-twice.c: New.
3744 * gdb.base/index-cache-load-twice.exp: New.
3745
43327b20
KS
37462020-06-17 Keith Seitz <keiths@redhat.com>
3747
99cf27cf 3748 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3749 when executing "gdb --configuration".
3750
081e778c
TV
37512020-06-17 Tom de Vries <tdevries@suse.de>
3752
3753 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3754 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3755 conditional on presence of gdb_tcl_unknown.
3756 (gdb_finish): Make override undo conditional on presence of
3757 gdb_tcl_unknown.
3758
d2d1ea20
TT
37592020-06-16 Tom Tromey <tom@tromey.com>
3760
3761 * gdb.python/tui-window.py (failwin): New function. Register it
3762 as a TUI window type.
3763 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3764
c802e8a7
GB
37652020-06-16 Gary Benson <gbenson@redhat.com>
3766
3767 * gdb.python/py-nested-maps.c (create_map): Add missing return
3768 value.
3769 (create_map_map): Likewise.
3770
ff08abb8
TBA
37712020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3772
3773 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3774 variable.
3775 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3776 and use the already-defined 'options' variable.
3777
a29d5112
AB
37782020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3779 Tom de Vries <tdevries@suse.de>
3780
3781 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3782 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3783 (gdb_setup_known_globals): New proc.
3784 (gdb_cleanup_globals): New proc.
3785 * lib/gdb.exp (load_lib): New override proc.
3786 (gdb_stdin_log_init): Set var in_file as persistent global.
3787 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3788 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3789 fpc_compiler as persistent global.
3790
8c74a764
TV
37912020-06-12 Tom de Vries <tdevries@suse.de>
3792
3793 * lib/tuiterm.exp (spawn): Rename to ...
3794 (tui_spawn): ... this.
3795 (toplevel): Move rename of spawn ...
3796 (gdb_init_tuiterm): ... here. New proc.
3797 (gdb_finish_tuiterm): New proc.
3798 * lib/gdb.exp (gdb_finish_hooks): New global var.
3799 (gdb_finish): Handle gdb_finish_hooks.
3800 (tuiterm_env): New proc.
3801 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3802 tuiterm_env.
3803 * gdb.tui/basic.exp: Same.
3804 * gdb.tui/corefile-run.exp: Same.
3805 * gdb.tui/empty.exp: Same.
3806 * gdb.tui/list-before.exp: Same.
3807 * gdb.tui/list.exp: Same.
3808 * gdb.tui/main.exp: Same.
3809 * gdb.tui/new-layout.exp: Same.
3810 * gdb.tui/regs.exp: Same.
3811 * gdb.tui/resize.exp: Same.
3812 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3813 * gdb.tui/tui-layout-asm.exp: Same.
3814 * gdb.tui/tui-missing-src.exp: Same.
3815 * gdb.tui/winheight.exp: Same.
3816
26783bce
TV
38172020-06-12 Tom de Vries <tdevries@suse.de>
3818
3819 PR testsuite/26110
3820 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3821 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3822
2b4e6a3f
TT
38232020-06-11 Tom Tromey <tom@tromey.com>
3824
3825 PR gdb/18318:
3826 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3827 floating point tests.
3828
2f33032a
KS
38292020-06-11 Keith Seitz <keiths@redhat.com>
3830
3831 PR gdb/21356
3832 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3833 vla_struct.
3834 Add new struct vla_typedef and union vla_typedef_union and
3835 corresponding instantiation objects.
3836 Initialize new objects.
3837 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3838 and vla_typedef_union_object.
3839 Fixup type for vla_struct_object.
3840
a8baf0a3
TV
38412020-06-11 Tom de Vries <tdevries@suse.de>
3842
3843 * lib/gdb.exp (with_override): New proc, factored out of ...
3844 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3845
7ab96794
TV
38462020-06-10 Tom de Vries <tdevries@suse.de>
3847
3848 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3849
cab5c3b7
SM
38502020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3851
3852 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3853 parameter, update callers.
3854
f8c41851
SM
38552020-06-04 Simon Marchi <simon.marchi@efficios.com>
3856
3857 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3858 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3859 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3860
1c07a73f
TV
38612020-06-04 Tom de Vries <tdevries@suse.de>
3862
3863 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3864
95146b5d
TV
38652020-06-04 Tom de Vries <tdevries@suse.de>
3866
3867 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3868 exp_continue.
3869
0cfcd4f0
TV
38702020-06-04 Tom de Vries <tdevries@suse.de>
3871
3872 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3873
f9b5d5ea
TV
38742020-06-03 Tom de Vries <tdevries@suse.de>
3875
3876 PR symtab/26046
3877 * gdb.cp/breakpoint-locs-2.cc: New test.
3878 * gdb.cp/breakpoint-locs.cc: New test.
3879 * gdb.cp/breakpoint-locs.exp: New file.
3880 * gdb.cp/breakpoint-locs.h: New test.
3881
5144dfba
TV
38822020-06-03 Tom de Vries <tdevries@suse.de>
3883
3884 PR testsuite/25609
3885 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3886 value of global verbose.
3887 * gdb.base/jit-elf.exp: Same.
3888 * gdb.base/jit-reader.exp: Same.
3889
621eacdf
TV
38902020-06-02 Tom de Vries <tdevries@suse.de>
3891
3892 * gdb.dwarf2/multidictionary.exp: Don't use
3893 gdb_spawn_with_cmdline_opts.
3894
1313c56e
AB
38952020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3896
3897 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3898 use_header case.
3899 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3900 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3901 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3902 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3903 * gdb.dwarf2/dw2-inline-header.c: New file.
3904 * gdb.dwarf2/dw2-inline-header.h: New file.
3905
f68f85b5
PA
39062020-05-30 Pedro Alves <palves@redhat.com>
3907
3908 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3909 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3910
678048e8
GB
39112020-05-29 Gary Benson <gbenson@redhat.com>
3912
3913 * gdb.compile/compile-cplus.exp (additional_flags): Also
3914 set when building with clang.
3915 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3916 when building with clang.
3917
9fcafd23
GB
39182020-05-29 Gary Benson <gbenson@redhat.com>
3919
3920 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3921 building with clang.
3922 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3923
735d5a07
GB
39242020-05-29 Gary Benson <gbenson@redhat.com>
3925
3926 * gdb.cp/koenig.exp (prepare_for_testing): Add
3927 additional_flags=-Wno-unused-comparison.
3928 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3929
4ad2c6a0
GB
39302020-05-28 Gary Benson <gbenson@redhat.com>
3931
3932 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3933 statement.
3934
09fe663e
GB
39352020-05-28 Gary Benson <gbenson@redhat.com>
3936
3937 * gdb.cp/classes.exp (prepare_for_testing): Add
3938 additional_flags=-Wno-deprecated-register.
3939 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3940 * gdb.cp/misc.exp: Likewise.
3941
cee00f17
GB
39422020-05-28 Gary Benson <gbenson@redhat.com>
3943
3944 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3945 (test_op_new::operator new): Add return statement.
3946 (test_op_new_array::operator new[]): Likewise.
3947
636edd00
PA
39482020-05-27 Pedro Alves <palves@redhat.com>
3949
3950 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3951 check. Use test_gdb_complete_unique instead of
3952 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3953 test_gdb_complete_multiple instead of
3954 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3955
c2b75043
LM
39562020-05-27 Luis Machado <luis.machado@linaro.org>
3957
3958 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3959 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3960 * gdb.arch/arm-disassembler-options.exp: Likewise.
3961 * gdb.arch/arm-disp-step.exp: Likewise.
3962 * gdb.arch/thumb-prologue.exp: Likewise.
3963 * gdb.base/async.exp: Likewise.
3964 * gdb.base/auxv.exp: Likewise.
3965 * gdb.base/complex-parts.exp: Likewise.
3966 * gdb.base/ena-dis-br.exp: Likewise.
3967 * gdb.base/foll-exec.exp: Likewise.
3968 * gdb.base/permissions.exp: Likewise.
3969 * gdb.base/relocate.exp: Likewise.
3970 * gdb.base/return2.exp: Likewise.
3971 * gdb.base/sigbpt.exp: Likewise.
3972 * gdb.base/siginfo-obj.exp: Likewise.
3973 * gdb.cp/converts.exp: Likewise.
3974 * gdb.cp/exceptprint.exp: Likewise.
3975 * gdb.cp/inherit.exp: Likewise.
3976 * gdb.cp/nsnoimports.exp: Likewise.
3977 * gdb.cp/virtbase2.exp: Likewise.
3978 * gdb.mi/mi-var-cmd.exp: Likewise.
3979 * gdb.mi/var-cmd.c: Likewise.
3980
53a47a3e
TT
39812020-05-26 Tom Tromey <tromey@adacore.com>
3982
3983 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3984
0bc2354b
TT
39852020-05-26 Tom Tromey <tromey@adacore.com>
3986
3987 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3988 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3989 type.
3990 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3991 variable.
3992
0db49895
CBG
39932020-05-26 Christian Biesinger <cbiesinger@google.com>
3994
3995 * Makefile.in: Use = instead of == for the test command
3996 for portability.
3997
40d22035
TV
39982020-05-26 Tom de Vries <tdevries@suse.de>
3999
4000 * gdb.base/gold-gdb-index-2.c: New test.
4001 * gdb.base/gold-gdb-index.c: New test.
4002 * gdb.base/gold-gdb-index.exp: New file.
4003 * gdb.base/gold-gdb-index.h: New test.
4004
043e2e02
TV
40052020-05-25 Tom de Vries <tdevries@suse.de>
4006
4007 * boards/gold-gdb-index.exp: New file.
4008
462f72c5
SM
40092020-05-25 Simon Marchi <simon.marchi@efficios.com>
4010
4011 * boards/simavr.exp: New file.
4012
6cf66e76
SM
40132020-05-25 Simon Marchi <simon.marchi@efficios.com>
4014
4015 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4016 * gdb.base/inferior-args.exp: New file.
4017 * gdb.base/inferior-args.c: New file.
4018
75d04512
SM
40192020-05-25 Simon Marchi <simon.marchi@efficios.com>
4020
4021 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4022 inferior_args. Pass it to gdb_reload.
4023 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4024 inferior_args.
4025 (gdb_reload): Add inferior_args argument.
4026 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4027 pass it to gdbserver_run.
4028 * boards/native-gdbserver.exp: Do not set noargs.
4029 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4030 inferior_args argument.
4031 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4032 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4033 * gdb.base/args.exp: Likewise.
4034
42cf1844
TV
40352020-05-25 Tom de Vries <tdevries@suse.de>
4036
4037 * lib/gdb.exp (exec_is_pie): Add comment.
4038
8f7d38ef
TV
40392020-05-25 Tom de Vries <tdevries@suse.de>
4040
4041 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4042 instead of $binfile in the untested message.
4043
465e1b0f
TV
40442020-05-25 Tom de Vries <tdevries@suse.de>
4045
4046 PR testsuite/26031
4047 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4048
3c5a0e02
TV
40492020-05-25 Tom de Vries <tdevries@suse.de>
4050
4051 * boards/gold.exp: New file.
4052
0a4f5f8c
TT
40532020-05-23 Tom Tromey <tom@tromey.com>
4054
4055 * gdb.base/style.exp: Remove completion styling test.
4056 * lib/gdb-utils.exp (style): Remove completion styles.
4057
eca1f90c
TT
40582020-05-23 Tom Tromey <tom@tromey.com>
4059
4060 * gdb.base/style.exp: Add completion styling test.
4061 * lib/gdb-utils.exp (style): Add completion styles.
4062
7c13f4e8
AB
40632020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4064
4065 * gdb.base/annota1.exp: Update expected results.
4066 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4067 test name.
4068 * gdb.cp/annota3.exp: Update expected results.
4069
41977d16
SM
40702020-05-20 Simon Marchi <simon.marchi@efficios.com>
4071
4072 PR gdb/26016
4073 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4074 against MAP_FAILED.
4075 * gdb.base/coremaker.c (mmapdata): Likewise.
4076 * gdb.base/jit-reader-host.c (main): Likewise.
4077 * gdb.base/sym-file-loader.c (load): Likewise.
4078 (load_shlib): Likewise.
4079
b4757f2e
TT
40802020-05-20 Tom Tromey <tromey@adacore.com>
4081
4082 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4083
9a0bacfb
TV
40842020-05-20 Tom de Vries <tdevries@suse.de>
4085
4086 PR symtab/25833
4087 * gdb.base/with-mf-inc.c: New test.
4088 * gdb.base/with-mf-main.c: New test.
4089 * gdb.base/with-mf.exp: New file.
4090
76571211
TT
40912020-05-19 Tom Tromey <tromey@adacore.com>
4092
4093 * gdb.rust/simple.exp: Restore missing test result.
4094
4cd9f3d5
TV
40952020-05-19 Tom de Vries <tdevries@suse.de>
4096
4097 * gdb.base/gdb-caching-proc.exp: Fix typo.
4098
7d874253
TT
40992020-05-19 Tom Tromey <tromey@adacore.com>
4100
4101 * gdb.rust/simple.exp: Add some test descriptions.
4102 (test_one_slice): Use with_test_prefix.
4103
1d727695
TV
41042020-05-18 Tom de Vries <tdevries@suse.de>
4105
4106 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4107
7f32a4d5
PA
41082020-05-17 Pedro Alves <palves@redhat.com>
4109
4110 PR gdb/25741
4111 * gdb.base/hw-sw-break-same-address.exp: New file.
4112
7cfd74cf
PA
41132020-05-16 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4116 LAST_LOADED_FILE accordingly.
4117
57b4f16e
PW
41182020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4119
4120 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4121
7c05caf7
PW
41222020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4123
4124 * gdb.base/help.exp: Test apropos and help for commands
4125 having aliases. Fixed comments not starting with an
4126 upper-case letter or not finishing with a dot.
4127
7aa1b46f
PW
41282020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4129
3b3aaacb
PW
4130 * gdb.base/alias.exp: Update help output check.
4131
57b4f16e 41322020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4133
7aa1b46f
PW
4134 * gdb.base/default.exp: Update output following fixes.
4135
0605465f
PW
41362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4137
4138 * gdb.base/alias.exp: Test aliases starting with a prefix of
4139 another alias.
4140
86e4e63d
GB
41412020-05-15 Gary Benson <gbenson@redhat.com>
4142
4143 * gdb.base/info-os.c (main): Add return statement.
4144 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4145 * gdb.base/large-frame-2.c (func): Likewise.
4146 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4147 * gdb.base/pr10179-b.c (foo2): Likewise.
4148 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4149 * gdb.base/watch-cond.c (func): Likewise.
4150 * gdb.multi/goodbye.c (verylongfun): Likewise.
4151 * gdb.multi/hello.c (commonfun): Likewise.
4152 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4153 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4154 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4155 Likewise.
4156 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4157 * gdb.threads/interrupt-while-step-over.c (child_function):
4158 Likewise.
4159 * gdb.trace/actions-changed.c (end): Likewise.
4160
163df4df
GB
41612020-05-15 Gary Benson <gbenson@redhat.com>
4162
4163 * gdb.opencl/callfuncs.exp: Report when test skipped.
4164 * gdb.opencl/convs_casts.exp: Likewise.
4165 * gdb.opencl/datatypes.exp: Likewise.
4166 * gdb.opencl/operators.exp: Likewise.
4167 * gdb.opencl/vec_comps.exp: Likewise.
4168
6dbc505a
TV
41692020-05-15 Tom de Vries <tdevries@suse.de>
4170
4171 * gdb.base/align.exp.in: Rename to ...
4172 * gdb.base/align.exp.tcl: ... this.
4173 * gdb.base/align-c++.exp: Update.
4174 * gdb.base/align-c.exp: Update.
4175 * gdb.base/all-architectures.exp.in: Rename to ...
4176 * gdb.base/all-architectures.exp: ... this.
4177 * gdb.base/all-architectures-0.exp: Update.
4178 * gdb.base/all-architectures-1.exp: Update.
4179 * gdb.base/all-architectures-2.exp: Update.
4180 * gdb.base/all-architectures-3.exp: Update.
4181 * gdb.base/all-architectures-4.exp: Update.
4182 * gdb.base/all-architectures-5.exp: Update.
4183 * gdb.base/all-architectures-6.exp: Update.
4184 * gdb.base/all-architectures-7.exp: Update.
4185 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4186 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4187 * gdb.base/infcall-nested-structs-c++.exp: Update.
4188 * gdb.base/infcall-nested-structs-c.exp: Update.
4189 * gdb.base/info-types.exp.in: Rename to ...
4190 * gdb.base/info-types.exp.tcl: ... this.
4191 * gdb.base/info-types-c++.exp: Update.
4192 * gdb.base/info-types-c.exp: Update.
4193 * gdb.base/max-depth.exp.in: Rename to ...
4194 * gdb.base/max-depth.exp.tcl: ... this.
4195 * gdb.base/max-depth-c++.exp: Update.
4196 * gdb.base/max-depth-c.exp: Update.
4197 * gdb.cp/cpexprs.exp.in: Rename to ...
4198 * gdb.cp/cpexprs.exp.tcl: ... this.
4199 * gdb.cp/cpexprs-debug-types.exp: Update.
4200 * gdb.cp/cpexprs.exp: Update.
4201 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4202 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4203 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4204 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4205 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4206 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4207 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4208 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4209 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4210 * gdb.dwarf2/clang-debug-names.exp: Update.
4211
d1034d78
AB
42122020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4213
4214 * lib/check-test-names.exp: Remove code that prevents this file
4215 loading when tests are run in parallel.
4216
3c5c3649
PA
42172020-05-15 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.multi/multi-kill.exp (start_inferior): Remove
4220 'testpid' parameter. Refer to namespace variable directly.
4221 (testpid): Declare as namespace variable.
4222
272c36b8
PA
42232020-05-15 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.multi/multi-kill.exp: Wrap in namespace.
4226 (start_inferior): Add TESTPID parameter. Use it instead of the
4227 testpid global.
4228 (top level): Define empty TESTPID array, and pass it down to
4229 start_inferior.
4230
02eba61a
TV
42312020-05-14 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4234 output.
4235
971a3747
TV
42362020-05-14 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.base/align.exp: Split into ...
4239 * gdb.base/align.exp.in: ...
4240 * gdb.base/align-c++.exp: ...
4241 * gdb.base/align-c.exp: ... these.
4242 * gdb.base/infcall-nested-structs.exp: Split into ...
4243 * gdb.base/infcall-nested-structs.exp.in: ...
4244 * gdb.base/infcall-nested-structs-c++.exp: ...
4245 * gdb.base/infcall-nested-structs-c.exp: ... these.
4246 * gdb.base/info-types.exp: Split into ...
4247 * gdb.base/info-types.exp.in: ...
4248 * gdb.base/info-types-c++.exp: ...
4249 * gdb.base/info-types-c.exp: ... these.
4250 * gdb.base/max-depth.exp: Split into ...
4251 * gdb.base/max-depth.exp.in: ...
4252 * gdb.base/max-depth-c++.exp: ...
4253 * gdb.base/max-depth-c.exp: ... these.
4254 * gdb.cp/infcall-nodebug.exp: Split into ...
4255 * gdb.cp/infcall-nodebug.exp.in: ...
4256 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4257 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4258 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4259 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4260
a05575d3
TBA
42612020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4262 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.multi/multi-exit.c: New file.
4265 * gdb.multi/multi-exit.exp: New file.
4266 * gdb.multi/multi-kill.c: New file.
4267 * gdb.multi/multi-kill.exp: New file.
4268
6ad82919
TBA
42692020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4270
4271 * gdb.base/annota1.exp: Update the expected output.
4272 * gdb.cp/annota2.exp: Ditto.
4273
843f4d93
AB
42742020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4275
4276 * lib/check-test-names.exp: Disable when testing is being run in
4277 parallel.
4278
c7c66341
TV
42792020-05-12 Tom de Vries <tdevries@suse.de>
4280
4281 * gdb.base/jit-elf.exp: Fix string concat.
4282
1b59ca1c
TV
42832020-05-12 Tom de Vries <tdevries@suse.de>
4284
4285 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4286 messages.
4287
b4991d29
TV
42882020-05-12 Tom de Vries <tdevries@suse.de>
4289
4290 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4291
dbb0ab10
TV
42922020-05-12 Tom de Vries <tdevries@suse.de>
4293
4294 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4295 * gdb.ada/mi_catch_ex.exp: Same.
4296 * gdb.ada/mi_catch_ex_hand.exp: Same.
4297
7549fed8
TV
42982020-05-12 Tom de Vries <tdevries@suse.de>
4299
4300 * gdb.fortran/complex.exp: Use with_test_prefix.
4301
af2d5cd8
TV
43022020-05-12 Tom de Vries <tdevries@suse.de>
4303
4304 * gdb.trace/passcount.exp: Fix test-names.
4305
7c121311
TV
43062020-05-12 Tom de Vries <tdevries@suse.de>
4307
4308 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4309
c9f3b40e
TV
43102020-05-12 Tom de Vries <tdevries@suse.de>
4311
4312 * gdb.gdb/complaints.exp: Use with_test_prefix.
4313 * gdb.xml/tdesc-regs.exp: Same.
4314 * gdb.opt/inline-locals.exp: Fix test name.
4315
111b33f0
TV
43162020-05-12 Tom de Vries <tdevries@suse.de>
4317
4318 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4319 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4320 * gdb.dwarf2/implref-struct.exp: Same.
4321 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4322 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4323
ebf47080
SM
43242020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4325
4326 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4327
d30dcd12
AB
43282020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4329
4330 * lib/check-test-names.exp (all_test_names): New module variable.
4331 (counts): Add 'duplicates' field.
4332 (_check_duplicates): New procedure.
4333 (check): Also check for duplicates.
4334 (do_log_summary): Print duplicates count.
4335 (do_reset_vars): Reset counter for duplicate test names, and
4336 discard all know test names.
4337
34584c09
AB
43382020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4339
4340 * lib/gdb.exp: Include check-test-names.exp library.
4341 * lib/check-test-names.exp: New file.
4342
e0002117
TV
43432020-05-11 Tom de Vries <tdevries@suse.de>
4344
4345 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4346
53f539a3
KS
43472020-05-11 Keith Seitz <keiths@redhat.com>
4348
4349 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4350
113ee09a
TV
43512020-05-11 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4354 * gdb.cp/cpexprs.exp.in: .. here.
4355 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4356 cpexprs.exp.
4357
ba3e70b0
KS
43582020-05-11 Keith Seitz <keiths@redhat.com>
4359
4360 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4361 test names.
4362 * gdb.ada/arrayptr.exp: Likewise.
4363 * gdb.ada/assign_arr.exp: Likewise.
4364 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4365 * gdb.ada/bp_on_var.exp: Likewise.
4366 * gdb.ada/call_pn.exp: Likewise.
4367 * gdb.ada/complete.exp: Likewise.
4368 * gdb.ada/fun_overload_menu.exp: Likewise.
4369 * gdb.ada/funcall_param.exp: Likewise.
4370 * gdb.ada/funcall_ref.exp: Likewise.
4371 * gdb.ada/packed_array_assign.exp: Likewise.
4372 * gdb.ada/same_component_name.exp: Likewise.
4373 * gdb.ada/type_coercion.exp: Likewise.
4374 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4375 * gdb.ada/variant_record_packed_array.exp: Likewise.
4376
3ee6bb11
TV
43772020-05-11 Tom de Vries <tdevries@suse.de>
4378
4379 PR symtab/25941
4380 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4381 out of ...
4382 * gdb.dwarf2/clang-debug-names.exp: ... here.
4383 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4384 clang-debug-names.exp.in.
4385 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4386 * gdb.dwarf2/clang-debug-names-2.c: New test.
4387
86cd6bc8
AKS
43882020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4389
4390 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4391 (fortran_runto_main): New Proc, fortran version of runto_main.
4392 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4393 * gdb.fortran/array-bounds.exp: Likewise.
4394 * gdb.fortran/array-slices.exp: Likewise.
4395 * gdb.fortran/block-data.exp: Likewise.
4396 * gdb.fortran/charset.exp: Likewise.
4397 * gdb.fortran/common-block.exp: Likewise.
4398 * gdb.fortran/complex.exp: Likewise.
4399 * gdb.fortran/derived-type-function.exp: Likewise.
4400 * gdb.fortran/derived-type.exp: Likewise.
4401 * gdb.fortran/info-modules.exp: Likewise.
4402 * gdb.fortran/info-types.exp: Likewise.
4403 * gdb.fortran/intrinsics.exp: Likewise.
4404 * gdb.fortran/library-module.exp: Likewise.
4405 * gdb.fortran/logical.exp: Likewise.
4406 * gdb.fortran/max-depth.exp: Likewise.
4407 * gdb.fortran/module.exp: Likewise.
4408 * gdb.fortran/multi-dim.exp: Likewise.
4409 * gdb.fortran/nested-funcs.exp: Likewise.
4410 * gdb.fortran/print-formatted.exp: Likewise.
4411 * gdb.fortran/print_type.exp: Likewise.
4412 * gdb.fortran/printing-types.exp: Likewise.
4413 * gdb.fortran/ptr-indentation.exp: Likewise.
4414 * gdb.fortran/ptype-on-functions.exp: Likewise.
4415 * gdb.fortran/subarray.exp: Likewise.
4416 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4417 * gdb.fortran/vla-datatypes.exp: Likewise.
4418 * gdb.fortran/vla-history.exp: Likewise.
4419 * gdb.fortran/vla-ptr-info.exp: Likewise.
4420 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4421 * gdb.fortran/vla-ptype.exp: Likewise.
4422 * gdb.fortran/vla-sizeof.exp: Likewise.
4423 * gdb.fortran/vla-type.exp: Likewise.
4424 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4425 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4426 * gdb.fortran/vla-value-sub.exp: Likewise.
4427 * gdb.fortran/vla-value.exp: Likewise.
4428 * gdb.fortran/whatis_type.exp: Likewise.
4429 * gdb.mi/mi-var-child-f.exp: Likewise.
4430
6dc55ce9 44312020-05-09 Tom de Vries <tdevries@suse.de>
4432
4433 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4434
283cb58c
TV
44352020-05-08 Tom de Vries <tdevries@suse.de>
4436
4437 * gdb.dwarf2/clang-debug-names.c: New test.
4438 * gdb.dwarf2/clang-debug-names.exp: New file.
4439
ac4a4f1c
SM
44402020-05-06 Simon Marchi <simon.marchi@efficios.com>
4441
4442 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4443 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4444
24fe640b
TV
44452020-05-06 Tom de Vries <tdevries@suse.de>
4446
4447 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4448 breakpoint is at a "recommended breakpoint location".
4449 * gdb.reverse/consecutive-reverse.exp: Same.
4450
0d8683a3
TV
44512020-05-06 Tom de Vries <tdevries@suse.de>
4452
4453 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4454 address.
4455
b8983c46
TV
44562020-05-06 Tom de Vries <tdevries@suse.de>
4457
4458 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4459
abf6d805
TV
44602020-05-06 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4463 info for r.
4464
0fc2a808
TV
44652020-05-06 Tom de Vries <tdevries@suse.de>
4466
4467 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4468 necessary.
4469
873dd427
TV
44702020-05-06 Tom de Vries <tdevries@suse.de>
4471
4472 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4473 void.
4474
7c99e7e2
TV
44752020-05-06 Tom de Vries <tdevries@suse.de>
4476
4477 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4478 of ...
4479 * gdb.base/async.exp: ... here.
4480 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4481 "recommended breakpoint location".
4482
6173d6a6
TV
44832020-05-06 Tom de Vries <tdevries@suse.de>
4484
4485 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4486
6015a067
TV
44872020-05-04 Tom de Vries <tdevries@suse.de>
4488
4489 * gdb.base/async.exp: Check whether instruction addresses are a
4490 "recommended breakpoint location".
4491
3b6acaee
TT
44922020-05-03 Tom Tromey <tom@tromey.com>
4493
4494 * gdb.base/sepdebug.exp: Remove "catch" test.
4495 * gdb.base/break.exp: Remove "catch" test.
4496 * gdb.base/default.exp: Update expected output.
4497
5beb4d17
TV
44982020-05-02 Tom de Vries <tdevries@suse.de>
4499
4500 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4501 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4502 * gdb.arch/i386-mpx-map.exp: Same.
4503 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4504 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4505 * gdb.arch/i386-mpx.exp: Same.
4506
8caf140d
TV
45072020-05-02 Tom de Vries <tdevries@suse.de>
4508
4509 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4510
693196cb
TV
45112020-05-01 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.ada/operator_bp.exp: Allow more than required amount of
4514 breakpoint.
4515
53ae0aa9
TV
45162020-05-01 Tom de Vries <tdevries@suse.de>
4517
4518 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4519
ee9d1e5f
HD
45202020-04-30 Hannes Domani <ssbssa@yahoo.de>
4521
4522 PR gdb/18706
4523 * gdb.cp/stub-array-size.cc: New test.
4524 * gdb.cp/stub-array-size.exp: New file.
4525 * gdb.cp/stub-array-size.h: New test.
4526 * gdb.cp/stub-array-size2.cc: New test.
4527
d5cf82c0
HD
45282020-04-30 Hannes Domani <ssbssa@yahoo.de>
4529
4530 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4531 output to the new format.
4532
42e165c3
SM
45332020-04-29 Simon Marchi <simon.marchi@efficios.com>
4534
4535 * gdb.base/break.exp: Use with_test_prefix.
4536
6e4e3fe1
TV
45372020-04-29 Tom de Vries <tdevries@suse.de>
4538
4539 * lib/gdb.exp (debug_types): New proc.
4540 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4541 * gdb.python/py-symtab.exp: Same.
4542
d642b692
HD
45432020-04-29 Hannes Domani <ssbssa@yahoo.de>
4544
4545 PR gdb/17320
4546 * gdb.base/pretty-array.c: New test.
4547 * gdb.base/pretty-array.exp: New file.
4548
ea90f227
TV
45492020-04-29 Tom de Vries <tdevries@suse.de>
4550
4551 PR symtab/25889
4552 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4553 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4554 and include cpexprs.exp.
4555
a65189c9
TV
45562020-04-28 Mark Williams <mark@myosotissp.com>
4557
4558 PR gdb/24480
4559 * dw4-toplevel-types.exp: Test for top level types.
4560 * dw4-toplevel-types.cc: Test for top level types.
4561
32d1f47a
TBA
45622020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4563
4564 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4565 (theads -> threads).
4566
56a4f5a1
TV
45672020-04-28 Tom de Vries <tdevries@suse.de>
4568
4569 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4570
0b2f8a3b
TV
45712020-04-28 Tom de Vries <tdevries@suse.de>
4572
4573 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4574
5390c717
TV
45752020-04-28 Tom de Vries <tdevries@suse.de>
4576
4577 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4578
15cd93d0
TV
45792020-04-28 Tom de Vries <tdevries@suse.de>
4580
4581 * gdb.dwarf2/main-foo.c: New test.
4582 * gdb.dwarf2/struct-with-sig.exp: New file.
4583
d472f0fb
TV
45842020-04-25 Tom de Vries <tdevries@suse.de>
4585
4586 * boards/debug-types.exp: New file.
4587
8d840e05
AB
45882020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4589
4590 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4591
bcfe6157
TT
45922020-04-24 Tom Tromey <tom@tromey.com>
4593
4594 PR symtab/12707:
4595 * gdb.python/py-symbol.exp: Update expected results for
4596 linkage_name test.
4597 * gdb.cp/print-demangle.exp: New file.
4598 * gdb.base/c-linkage-name.exp: Fix test.
4599 * gdb.guile/scm-symbol.exp: Update expected results for
4600 linkage_name test.
4601
f049a313
TT
46022020-04-24 Tom Tromey <tom@tromey.com>
4603
4604 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4605 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4606 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4607 assembler.
4608
7cf28874
TV
46092020-04-24 Tom de Vries <tdevries@suse.de>
4610
4611 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4612 C++.
4613
dac2fef7
TT
46142020-04-24 Tom Tromey <tromey@adacore.com>
4615
4616 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4617 values.
4618 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4619 values. Update test for minimal encodings.
4620 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4621 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4622 values. Update test for minimal encodings.
4623
1acda803
TT
46242020-04-24 Tom Tromey <tromey@adacore.com>
4625
4626 PR python/23662:
4627 * gdb.ada/variant.exp: Add Python checks.
4628 * gdb.rust/simple.exp: Add dynamic type checks.
4629
adfb9815
TT
46302020-04-24 Tom Tromey <tromey@adacore.com>
4631
4632 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4633 Make array type matching more lax.
4634 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4635 * gdb.ada/mi_variant.exp: New file.
4636 * gdb.ada/mi_variant/pck.ads: New file.
4637 * gdb.ada/mi_variant/pkg.adb: New file.
4638 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4639 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4640
7d79de9a
TT
46412020-04-24 Tom Tromey <tromey@adacore.com>
4642
4643 * gdb.ada/variant.exp: Add dynamic field offset tests.
4644 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4645 * gdb.ada/variant/pkg.adb: Add new variables.
4646
f8e89861
TT
46472020-04-24 Tom Tromey <tromey@adacore.com>
4648
4649 * gdb.ada/variant.exp: New file
4650 * gdb.ada/variant/pkg.adb: New file
4651 * gdb.ada/variant/pck.adb: New file
4652
86e887ae
TV
46532020-04-24 Tom de Vries <tdevries@suse.de>
4654
4655 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4656
88428775
TV
46572020-04-24 Tom de Vries <tdevries@suse.de>
4658
4659 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4660 flags.
4661
4e86f6e7
TV
46622020-04-24 Tom de Vries <tdevries@suse.de>
4663
4664 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4665
2016d3e6
TV
46662020-04-24 Tom de Vries <tdevries@suse.de>
4667
4668 * lib/gdb.exp (default_gdb_start): Handle eof.
4669 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4670 failure.
4671 * gdb.base/readnever.exp: Handle clean_restart failure.
4672
70bc38f5
TV
46732020-04-23 Tom de Vries <tdevries@suse.de>
4674
4675 * gdb.base/decl-before-def.exp: Run to main and print a again.
4676
de82891c
TV
46772020-04-23 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.base/decl-before-def-decl.c: New test.
4680 * gdb.base/decl-before-def-def.c: New test.
4681 * gdb.base/decl-before-def.exp: New file.
4682
96038148
TV
46832020-04-23 Tom de Vries <tdevries@suse.de>
4684
4685 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4686
54ac3df1
TV
46872020-04-22 Tom de Vries <tdevries@suse.de>
4688
4689 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4690 debug_info_offset.
4691 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4692 before $objsfile in the line line.
4693
714534e1
TV
46942020-04-22 Tom de Vries <tdevries@suse.de>
4695
4696 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4697
16a7dbf4
MS
46982020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4699
4700 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4701 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4702 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4703 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4704 * gdb.base/jit-protocol.h: Update definitions to match all usage
4705 contexts.
4706
47072020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4708
4709 * gdb.base: Rename all jit related test and source files.
4710
47112020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4712
4713 * gdb.base/jit-reader.exp: Relax register output check.
4714
317d2668
TV
47152020-04-22 Tom de Vries <tdevries@suse.de>
4716
4717 PR symtab/25764
4718 * gdb.base/psym-external-decl-2.c: New test.
4719 * gdb.base/psym-external-decl.c: New test.
4720 * gdb.base/psym-external-decl.exp: New file.
4721 * gdb.threads/tls.exp: Add PR25807 kfail.
4722
eea9e357
TV
47232020-04-22 Tom de Vries <tdevries@suse.de>
4724
4725 PR symtab/25801
4726 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4727 in "info source" output.
4728
3d5afab3
TV
47292020-04-22 Tom de Vries <tdevries@suse.de>
4730
4731 PR symtab/25700
4732 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4733 symtab for imported_unit.c.
4734
b32102f6
GB
47352020-04-21 Gary Benson <gbenson@redhat.com>
4736
4737 * gdb.base/advance.c (func): New argument, to match call site.
4738 (func2, func3): Add return statements.
4739
d43b7a2d
TBA
47402020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4741
4742 * gdb.multi/run-only-second-inf.c: New file.
4743 * gdb.multi/run-only-second-inf.exp: New file.
4744
d89edf9b
MM
47452020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4746
4747 * gdb.btrace/multi-inferior.c: New test.
4748 * gdb.btrace/multi-inferior.exp: New file.
4749
1a476b6d
MM
47502020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4751
4752 * gdb.btrace/enable-new-thread.c: New test.
4753 * gdb.btrace/enable-new-thread.exp: New file.
4754
4778a5f8
TV
47552020-04-21 Tom de Vries <tdevries@suse.de>
4756
4757 PR gdb/25471
4758 * gdb.threads/killed-outside.c: New test.
4759 * gdb.threads/killed-outside.exp: New file.
4760
9b2c992c
GB
47612020-04-20 Gary Benson <gbenson@redhat.com>
4762
4763 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4764 * gdb.base/nested-subp2.exp: Likewise.
4765 * gdb.base/nested-subp3.exp: Likewise.
4766
b5d1d6f7
GB
47672020-04-20 Gary Benson <gbenson@redhat.com>
4768
4769 * gdb.base/nested-subp1.exp: Disable test when using clang.
4770 * gdb.base/nested-subp2.exp: Likewise.
4771 * gdb.base/nested-subp3.exp: Likewise.
4772
25230285
GB
47732020-04-20 Gary Benson <gbenson@redhat.com>
4774
4775 * gdb.cp/exception.cc: Fix compilation error with clang.
4776
fa93cc8f
GB
47772020-04-20 Gary Benson <gbenson@redhat.com>
4778
809730f3 4779 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4780
e0c45f30
GB
47812020-04-20 Gary Benson <gbenson@redhat.com>
4782
4783 * gdb.base/jit-main.c: Fix compilation error with clang.
4784
4ddfec93
KR
47852020-04-17 Kamil Rytarowski <n54@gmx.com>
4786
4787 * gdb.base/attach-twice.c: Include "sys/types.h".
4788 (PTRACE_ATTACH): Add fallback definition.
4789 (main): Pass `0' to the 4th argument of `ptrace'.
4790
2bed205e
KR
47912020-04-17 Kamil Rytarowski <n54@gmx.com>
4792
4793 * gdb.base/fork-running-state.c: Include "signal.h".
4794
0743fc83
TT
47952020-04-17 Tom Tromey <tromey@adacore.com>
4796
4797 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4798 Update tests.
4799 * gdb.btrace/cpu.exp: Update tests.
4800 * gdb.base/maint.exp: Update tests.
4801 * gdb.base/default.exp: Update tests.
4802 * gdb.base/completion.exp: Update tests.
4803
efba5c23
TV
48042020-04-16 Tom de Vries <tdevries@suse.de>
4805
4806 PR symtab/25791
4807 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4808 (ensure_gdb_index): and factor out and move ...
4809 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4810 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4811
d191d716
TV
48122020-04-16 Tom de Vries <tdevries@suse.de>
4813
4814 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4815 loading exec.
4816
99f1bc6a
AB
48172020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4818
4819 * gdb.base/many-completions.exp: New file.
4820
194d088f
TV
48212020-04-14 Tom de Vries <tdevries@suse.de>
4822
4823 PR symtab/25718
4824 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4825
c1a66c06
TV
48262020-04-14 Tom de Vries <tdevries@suse.de>
4827
4828 PR symtab/25720
4829 * gdb.base/maint-expand-symbols-header-file.c: New test.
4830 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4831 * gdb.base/maint-expand-symbols-header-file.h: New test.
4832
21b0982c
AB
48332020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4834
4835 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4836 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4837 get_func_info.
4838 (get_func_info): Delete.
4839 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4840 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4841 * lib/dwarf.exp (get_func_info): New function.
4842
dd1cab06
TV
48432020-04-13 Tom de Vries <tdevries@suse.de>
4844
4845 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4846 to what find_gnatmake does.
4847
71ea2b6b
TV
48482020-04-10 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4851 -readnow.
4852
bdfc1e8a
TV
48532020-04-10 Tom de Vries <tdevries@suse.de>
4854
4855 PR cli/25808
4856 * gdb.base/style.c: Add leading newlines.
4857 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4858 Check listing of main's one-line body.
4859
14ca8ecf
TV
48602020-04-08 Tom de Vries <tdevries@suse.de>
4861
4862 * lib/gdb.exp (psymtabs_p): New proc.
4863 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4864 importing unit" unsupported if there are no partial symbols.
4865
e21d048f
TV
48662020-04-08 Tom de Vries <tdevries@suse.de>
4867
4868 PR testsuite/25760
4869 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4870
25c11aca
TV
48712020-04-07 Tom de Vries <tdevries@suse.de>
4872
4873 PR symtab/25796
4874 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4875
5707e24b
TV
48762020-04-07 Tom de Vries <tdevries@suse.de>
4877
4878 * gdb.base/check-psymtab.c: New test.
4879 * gdb.base/check-psymtab.exp: New file.
4880
6ee448cc
TT
48812020-04-06 Tom Tromey <tromey@adacore.com>
4882
4883 * gdb.ada/variant-record/proc.adb: New file.
4884 * gdb.ada/variant-record/value.adb: New file.
4885 * gdb.ada/variant-record/value.s: New file.
4886 * gdb.ada/variant-record.exp: New file.
4887
9e7c9a03
HD
48882020-04-03 Hannes Domani <ssbssa@yahoo.de>
4889
4890 PR gdb/25325
4891 * gdb.cp/typed-enum.cc: New test.
4892 * gdb.cp/typed-enum.exp: New file.
4893
c90d28ac
AB
48942020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4895
4896 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4897 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4898 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4899 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4900 * gdb.opt/inline-small-func.c: New file.
4901 * gdb.opt/inline-small-func.exp: New file.
4902 * gdb.opt/inline-small-func.h: New file.
4903
34e9a9fa
AB
49042020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4905
4906 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4907 function.
4908
6a354911
AB
49092020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4910
4911 * lib/dwarf.exp (function_range): Allow compiler options to be
4912 specified.
4913
880d9777
TV
49142020-04-02 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4917 __attribute__((always_inline)).
4918 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4919
f32682ea
TV
49202020-04-02 Tom de Vries <tdevries@suse.de>
4921
4922 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4923 (gdbserver_gdb_exit): ... here. Add timeout warning.
4924 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4925 (connect_target_extended_remote): Append new server_spawn_id to
4926 server_spawn_ids.
4927 (cleanup): New proc.
4928 (setup, <toplevel>): Call cleanup.
4929
d3214198
TV
49302020-04-02 Tom de Vries <tdevries@suse.de>
4931
4932 * gdb.base/main-psymtab.exp: New file.
4933
cc77ed24
TV
49342020-04-02 Tom de Vries <tdevries@suse.de>
4935
4936 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4937
3638a098
TT
49382020-04-01 Tom Tromey <tom@tromey.com>
4939
4940 * gdb.base/complex-parts.exp: Add type tests.
4941
c34e8714
TT
49422020-04-01 Tom Tromey <tom@tromey.com>
4943
4944 * gdb.base/complex-parts.exp: Add arithmetic tests.
4945
981c08ce
TT
49462020-04-01 Tom Tromey <tom@tromey.com>
4947
4948 * gdb.compile/compile.exp: Update.
4949 * gdb.compile/compile-cplus.exp: Update.
4950 * gdb.base/varargs.exp: Update.
4951 * gdb.base/floatn.exp: Update.
4952 * gdb.base/endianity.exp: Update.
4953 * gdb.base/callfuncs.exp (do_function_calls): Update.
4954 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4955 (complex_float_integral_args): Update.
4956 * gdb.base/complex.exp: Update.
4957 * gdb.base/complex-parts.exp: Update.
4958
3d1cfd43
TT
49592020-04-01 Tom Tromey <tromey@adacore.com>
4960
4961 * gdb.rust/union.rs: New file.
4962 * gdb.rust/union.exp: New file.
4963 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4964 (main): Update.
4965 * gdb.rust/simple.exp: Move union tests to union.exp.
4966
e033dfa9
TT
49672020-04-01 Tom Tromey <tromey@adacore.com>
4968
4969 * gdb.rust/simple.rs (main): Remove "y0".
4970
53cccef1
TBA
49712020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4972
4973 * gdb.multi/stop-all-on-exit.c: New test.
4974 * gdb.multi/stop-all-on-exit.exp: New file.
4975
60e22c1e
HD
49762020-04-01 Hannes Domani <ssbssa@yahoo.de>
4977
4978 PR gdb/24789
4979 * gdb.cp/misc.cc: Add integer reference variable.
4980 * gdb.cp/misc.exp: Add test.
4981
e139a727
TBA
49822020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4983
4984 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4985 scenario to cover execution until the end and also the case
4986
16b0db75
TV
49872020-03-31 Tom de Vries <tdevries@suse.de>
4988
4989 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4990 c. Use "maint info symtabs" to check symtab expansion.
4991
c0502da6
TV
49922020-03-30 Tom de Vries <tdevries@suse.de>
4993
4994 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4995 unsupported.
4996 (verify_psymtab_expanded): Move ...
4997 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4998 test.
4999 (readnow): New proc.
5000
5935fd15
AB
50012020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5002
5003 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5004 with $hex.
5005
1773be9e
TT
50062020-03-20 Tom Tromey <tromey@adacore.com>
5007
5008 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5009
70304be9
TT
50102020-03-20 Tom Tromey <tromey@adacore.com>
5011
5012 * gdb.ada/sub_variant/subv.adb: New file.
5013 * gdb.ada/sub_variant.exp: New file.
5014
0dd7b8f7
TV
50152020-03-20 Tom de Vries <tdevries@suse.de>
5016
5017 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5018 first break fails.
5019 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5020
cada5fc9
AB
50212020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5022
5023 * gdb.server/exit-multiple-threads.c: New file.
5024 * gdb.server/exit-multiple-threads.exp: New file.
5025
6b8c53f2
AB
50262020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5027
5028 * gdb.fortran/mixed-lang-stack.c: New file.
5029 * gdb.fortran/mixed-lang-stack.cpp: New file.
5030 * gdb.fortran/mixed-lang-stack.exp: New file.
5031 * gdb.fortran/mixed-lang-stack.f90: New file.
5032
19a2740f
AB
50332020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5034
5035 * gdb.linespec/cp-completion-aliases.cc: New file.
5036 * gdb.linespec/cp-completion-aliases.exp: New file.
5037
d8c8b848
TV
50382020-03-19 Tom de Vries <tdevries@suse.de>
5039
5040 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5041 more precise.
5042
a9933ccf
TV
50432020-03-18 Tom de Vries <tdevries@suse.de>
5044
5045 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5046 * gdb.dwarf2/break-inline-psymtab.c: New test.
5047 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5048
2f89101f
TV
50492020-03-16 Tom de Vries <tdevries@suse.de>
5050
5051 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5052 cache_verify and cache_verify_proc.
5053
6b9374f1
TV
50542020-03-15 Tom de Vries <tdevries@suse.de>
5055
5056 * gdb.server/solib-list.exp: Handle
5057 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5058
eaeaf44c
TV
50592020-03-15 Tom de Vries <tdevries@suse.de>
5060
5061 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5062 objfiles".
5063
3293bbaf
TT
50642020-03-14 Tom Tromey <tom@tromey.com>
5065
5066 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5067
ab44624c
TV
50682020-03-14 Tom de Vries <tdevries@suse.de>
5069
5070 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5071
54c43825
TV
50722020-03-14 Tom de Vries <tdevries@suse.de>
5073
5074 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5075 result in line-by-line fashion.
5076
2ac70237
TV
50772020-03-14 Tom de Vries <tdevries@suse.de>
5078
5079 * lib/gdb.exp (supports_statement_frontiers): New proc.
5080 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5081
09546b56
TV
50822020-03-14 Tom de Vries <tdevries@suse.de>
5083
5084 * gdb.base/printcmds.exp: Add missing quoting for "print
5085 teststring2".
5086
a1f6a07c
TT
50872020-03-13 Tom Tromey <tom@tromey.com>
5088
5089 * gdb.base/printcmds.exp (test_print_strings): Add regression
5090 test.
5091 * gdb.base/printcmds.c (charptr): New typedef.
5092 (teststring2): New global.
5093
1b83d09c
AB
50942020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5095
5096 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5097 full path in the test name.
5098 (test_ld): Add some with_test_prefix blocks to make test names
5099 unique.
5100
2d61316c
TV
51012020-03-13 Tom de Vries <tdevries@suse.de>
5102
5103 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5104
2e9145ac
TV
51052020-03-13 Tom de Vries <tdevries@suse.de>
5106
5107 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5108
96c7f873
TV
51092020-03-13 Tom de Vries <tdevries@suse.de>
5110
5111 PR symtab/25646
5112 * gdb.dwarf2/imported-unit.exp: Add test.
5113
49ba92c0
TV
51142020-03-13 Tom de Vries <tdevries@suse.de>
5115
5116 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5117 (var1, var2): New variable.
5118 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5119 matching symbols.
5120
301b21e0
TV
51212020-03-13 Tom de Vries <tdevries@suse.de>
5122
5123 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5124 (Term::command): Use prompt prefix.
5125 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5126 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5127 command_no_prompt_prefix instead of prefix.
5128 * gdb.tui/tui-layout-asm.exp: Same.
5129
3f512721
SM
51302020-03-12 Simon Marchi <simon.marchi@efficios.com>
5131
5132 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5133
40310f30
SM
51342020-03-12 Simon Marchi <simon.marchi@efficios.com>
5135
5136 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5137 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5138 on" while stepping over the test instruction, match printed
5139 message.
5140
09252140
TV
51412020-03-12 Tom de Vries <tdevries@suse.de>
5142
5143 * gdb.base/info-types.exp: Use exp_continue during matching of output
5144 of "info types".
5145
14e9c72c
TV
51462020-03-12 Tom de Vries <tdevries@suse.de>
5147
5148 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5149
e515d67e
TV
51502020-03-12 Tom de Vries <tdevries@suse.de>
5151
5152 * gdb.fortran/module.exp: Use exp_continue during matching of output
5153 of "info variable -n".
5154
307eafd8
TV
51552020-03-12 Tom de Vries <tdevries@suse.de>
5156
5157 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5158 gdb.dwarf2/dw2-ranges-base.c.
5159
9a2de3fc
TV
51602020-03-12 Tom de Vries <tdevries@suse.de>
5161
5162 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5163 in presence of GLIBC debuginfo.
5164
3217502e
TV
51652020-03-12 Tom de Vries <tdevries@suse.de>
5166
5167 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5168 $core.
5169
1281424c
TV
51702020-03-12 Tom de Vries <tdevries@suse.de>
5171
5172 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5173 more precise.
5174
038b97fc
SM
51752020-03-11 Simon Marchi <simon.marchi@efficios.com>
5176
5177 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5178 from Unix to Windows path.
5179
5308d1e7
TV
51802020-03-11 Tom de Vries <tdevries@suse.de>
5181
5182 * gdb.ada/minsyms.exp: Set language to ada.
5183
f870f78f
TV
51842020-03-11 Tom de Vries <tdevries@suse.de>
5185
5186 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5187
5a13315d
TV
51882020-03-11 Tom de Vries <tdevries@suse.de>
5189
5190 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5191
976862ed
TT
51922020-03-11 Tom Tromey <tromey@adacore.com>
5193
5194 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5195
7462c383
TV
51962020-03-11 Tom de Vries <tdevries@suse.de>
5197
5198 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5199
1c6c46a0
TV
52002020-03-11 Tom de Vries <tdevries@suse.de>
5201
5202 * gdb.base/break-interp.exp: Limit verbose scope.
5203
44f41bb7
TV
52042020-03-11 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.fortran/logical.f90: Define variable with character type.
5207 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5208
b76f3a42
TV
52092020-03-11 Tom de Vries <tdevries@suse.de>
5210
5211 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5212
1c33af77
TV
52132020-03-11 Tom de Vries <tdevries@suse.de>
5214
5215 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5216 symtabs.
5217
8c95582d
AB
52182020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5219 Bernd Edlinger <bernd.edlinger@hotmail.de>
5220
5221 * gdb.cp/step-and-next-inline.cc: New file.
5222 * gdb.cp/step-and-next-inline.exp: New file.
5223 * gdb.cp/step-and-next-inline.h: New file.
5224 * gdb.dwarf2/dw2-is-stmt.c: New file.
5225 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5226 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5227 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5228 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5229
cecf8547
AB
52302020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5231
5232 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5233 is-stmt flag in the line table.
5234
0ba678c9
TV
52352020-03-09 Tom de Vries <tdevries@suse.de>
5236
5237 * lib/gdb.exp (cached_file): Create cache dir.
5238
72fbdf83
TV
52392020-03-07 Tom de Vries <tdevries@suse.de>
5240
5241 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5242 * gdb.cp/rvalue-ref-params.exp: Same.
5243
436b5e99
TV
52442020-03-06 Tom de Vries <tdevries@suse.de>
5245
5246 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5247 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5248
09f2921c
TV
52492020-03-06 Tom de Vries <tdevries@suse.de>
5250
5251 * README: Fix "the the".
5252 * gdb.base/dprintf.exp: Same.
5253
50a3cc5d
TV
52542020-03-05 Tom de Vries <tdevries@suse.de>
5255
5256 * gdb.base/maint.exp: Update "main print statistics" expected output.
5257
0a709cba
AKS
52582020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5259
5260 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5261 (fortran_int8): Likewise.
5262 (fortran_real4): Likewise.
5263 (fortran_real8): Likewise.
5264 (fortran_complex4): Likewise.
5265 (fortran_logical4): Likewise.
5266 (fortran_character1): Likewise.
5267
5e5d66b6
AB
52682020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5269
5270 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5271 printed as true.
5272
7b973adc
SDJ
52732020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5274
5275 * gdb.base/printcmds.exp: Add test to verify printf of a
5276 variable holding an address.
5277
478e490a
TV
52782020-03-03 Tom de Vries <tdevries@suse.de>
5279
5280 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5281
1ef44e86
TV
52822020-03-03 Tom de Vries <tdevries@suse.de>
5283
5284 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5285 gdb_test_multiple call.
5286
b98cc2cf
TV
52872020-03-03 Tom de Vries <tdevries@suse.de>
5288
5289 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5290 gdb_test_multiple calls.
5291
63e163f2
AB
52922020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5293
5294 * gdb.base/default.exp: Remove test of 'set history filename'.
5295 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5296 filename to the empty string.
5297 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5298 and GDBHISTSIZE.
5299
24ed6739
AB
53002020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5301
5302 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5303 disabled.
5304
590003dc 53052020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5306 Tom de Vries <tdevries@suse.de>
590003dc
TV
5307
5308 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5309 -prompt prefix, before user_code argument. Add -lbl option likewise.
5310 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5311 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5312 argument.
5313 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5314 have "\r\n" at start-of-line, instead of at end-of-line.
5315
f5e46084
SM
53162020-02-28 Simon Marchi <simon.marchi@efficios.com>
5317
5318 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5319 libinproctrace.so.
5320
f7a7000d
LM
53212020-02-28 Luis Machado <luis.machado@linaro.org>
5322
5323 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5324 to "p/x".
5325
718e0816
LM
53262020-02-28 Luis Machado <luis.machado@linaro.org>
5327
5328 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5329 asm/ptrace.h and error.h.
5330
13c3a74a
TV
53312020-02-28 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5334 (struct wrapper, do_something, mundane/symada__cS): Move ...
5335 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5336 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5337 Update "print symada__cS before partial symtab expansion" regexp.
5338 Update breakpoint location. Flush symbol cache after expansion.
5339
85d2d5bb
LM
53402020-02-28 Luis Machado <luis.machado@linaro.org>
5341
5342 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5343
3608f86c
TV
53442020-02-27 Tom de Vries <tdevries@suse.de>
5345
5346 * config/sid.exp: Remove unused globals.
5347 * gdb.base/attach.exp: Same.
5348 * gdb.base/catch-load.exp: Same.
5349 * gdb.base/dbx.exp: Same.
5350 * lib/gdb.exp: Same.
5351 * lib/mi-support.exp: Same.
5352 * lib/prompt.exp: Same.
5353
c8d4f6df
TV
53542020-02-27 Tom de Vries <tdevries@suse.de>
5355
5356 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5357 not set.
5358
0d79cdc4
AM
53592020-02-26 Aaron Merey <amerey@redhat.com>
5360
5361 * gdb.debuginfod: New directory for debuginfod tests.
5362 * gdb.debuginfod/main.c: New test file.
5363 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5364
0dce4280
TV
53652020-02-26 Tom de Vries <tdevries@suse.de>
5366
5367 PR gdb/25603
5368 * gdb.base/persistent-lang.cc: New test.
5369 * gdb.base/persistent-lang.exp: New file.
5370
9e80cfa1
AB
53712020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5372
5373 * gdb.fortran/derived-type-striding.exp: Add a new test.
5374 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5375 new test.
5376
2078dbb2
AB
53772020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5378
5379 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5380 names.
5381
70d49700
TV
53822020-02-25 Tom de Vries <tdevries@suse.de>
5383
5384 PR go/18926
5385 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5386
a88ef40d
TV
53872020-02-24 Tom de Vries <tdevries@suse.de>
5388
5389 PR gdb/25592
5390 * gdb.base/info-locals-unused-static-var.c: New test.
5391 * gdb.base/info-locals-unused-static-var.exp: New file.
5392
01b1af32
TT
53932020-02-22 Tom Tromey <tom@tromey.com>
5394
5395 * gdb.python/tui-window.exp: New file.
5396 * gdb.python/tui-window.py: New file.
5397
7c043ba6
TT
53982020-02-22 Tom Tromey <tom@tromey.com>
5399
5400 PR tui/17850:
5401 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5402 tests.
5403
c22fef7e
TT
54042020-02-22 Tom Tromey <tom@tromey.com>
5405
5406 * gdb.tui/new-layout.exp: Add sub-layout tests.
5407
ee325b61
TT
54082020-02-22 Tom Tromey <tom@tromey.com>
5409
5410 * gdb.tui/new-layout.exp: New file.
5411
3f0cbb04
TT
54122020-02-22 Tom Tromey <tom@tromey.com>
5413
5414 * gdb.rust/rust-style.rs: New file.
5415 * gdb.rust/rust-style.exp: New file.
5416 * gdb.base/style.exp: Test structure printing.
5417 * gdb.base/style.c (struct some_struct): New type.
5418 (enum etype): New type.
5419 (struct_value): New global.
5420
75525152
TV
54212020-02-21 Tom de Vries <tdevries@suse.de>
5422
5423 PR go/18926
5424 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5425 Remove blanket xfails. Use message argument for gdb_breakpoint.
5426 Make continuing to breakpoint test conditional on setting breakpoint.
5427 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5428 DW_AT_name attribute. Add xfail for GCC PR93866.
5429
bd360d30
AB
54302020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5431
5432 * gdb.dwarf2/cpp-linkage-name.c: New file.
5433 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5434
c7adb09f 54352020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5436
5437 * lib/gdb.exp (gdb_wrapper_init): Reset
5438 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5439 not exist.
5440
a9c79803
TV
54412020-02-20 Tom de Vries <tdevries@suse.de>
5442
5443 PR go/17018
5444 * gdb.go/hello.exp: Copy ...
5445 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5446 print of st to print value of global definition. Add xfail for GCC
5447 PR93844.
5448 * gdb.go/hello.exp: Remove printing of st before definition.
5449 * gdb.go/hello.go: Copy ...
5450 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5451 to st.
5452 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5453
d7445728
TV
54542020-02-20 Tom de Vries <tdevries@suse.de>
5455
5456 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5457 (gdb_simple_compile): Handle compile_flags go by using .go extension
5458 for source file.
5459 * gdb.go/chan.exp: Use support_go_compile.
5460 * gdb.go/handcall.exp: Same.
5461 * gdb.go/hello.exp: Same.
5462 * gdb.go/integers.exp: Same.
5463 * gdb.go/max-depth.exp: Same.
5464 * gdb.go/methods.exp: Same.
5465 * gdb.go/package.exp: Same.
5466 * gdb.go/strings.exp: Same.
5467 * gdb.go/types.exp: Same.
5468 * gdb.go/unsafe.exp: Same.
5469
c9c41e6d
TV
54702020-02-19 Tom de Vries <tdevries@suse.de>
5471
5472 * gdb.python/lib-types.exp: Make xfail more strict.
5473
f20ff837
TV
54742020-02-19 Tom de Vries <tdevries@suse.de>
5475
5476 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5477
08410482
DE
54782020-02-19 Doug Evans <dje@google.com>
5479
5480 PR rust/25535
5481 * gdb.rust/simple.exp: Add test.
5482 * gdb.rust/simple.rs: Add test.
5483
623563f7
TV
54842020-02-19 Tom de Vries <tdevries@suse.de>
5485
5486 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5487 output line-by-line.
5488
d3308cfd
TV
54892020-02-19 Tom de Vries <tdevries@suse.de>
5490
5491 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5492
86cbc5dc
TV
54932020-02-19 Tom de Vries <tdevries@suse.de>
5494
5495 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5496 prelink.
5497
9db2b96b
TV
54982020-02-19 Tom de Vries <tdevries@suse.de>
5499
5500 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5501 (gdb_do_cache): Use gdb_do_cache_wrap.
5502 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5503
89e2fdc5
TV
55042020-02-19 Tom de Vries <tdevries@suse.de>
5505
5506 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5507 gdb_compile option.
5508
373d7ac0
SM
55092020-02-18 Simon Marchi <simon.marchi@efficios.com>
5510
5511 * gdb.base/printcmds.exp (test_print_enums): Update expected
5512 output.
5513
b29a2df0
SM
55142020-02-18 Simon Marchi <simon.marchi@efficios.com>
5515
5516 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5517 for "unknown".
5518
6740f0cc
SM
55192020-02-18 Simon Marchi <simon.marchi@efficios.com>
5520
5521 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5522 enumerator.
5523
edd45eb0
SM
55242020-02-18 Simon Marchi <simon.marchi@efficios.com>
5525
5526 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5527 FE_, add FE_NONE.
5528 (three): Update.
5529 (enum flag_enum_without_zero): New enum.
5530 (flag_enum_without_zero): New variable.
5531 (enum not_flag_enum): New enum.
5532 (three_not_flag): New variable.
5533 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5534 (test_print_enums): Add more tests for printing flag enums.
5535
d4295de4
TV
55362020-02-18 Tom de Vries <tdevries@suse.de>
5537
5538 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5539 (gdb_compile_ada): ... here.
5540 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5541 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5542
f251f505
TT
55432020-02-14 Tom Tromey <tom@tromey.com>
5544
5545 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5546 build directory.
5547 * boards/gdbserver-base.exp: Update path to gdbserver.
5548
8f432634
TV
55492020-02-13 Tom de Vries <tdevries@suse.de>
5550
5551 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5552
92b6eaf7
TV
55532020-02-13 Tom de Vries <tdevries@suse.de>
5554
5555 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5556 are missing.
5557
f3b0f7fe
TV
55582020-02-13 Tom de Vries <tdevries@suse.de>
5559
5560 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5561 call.
5562
f6be8713
SDJ
55632020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5564
5565 PR tui/25126
5566 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5567 * gdb.base/cached-source-file.c: New file.
5568 * gdb.base/cached-source-file.exp: New file.
5569
b2770d5e
TV
55702020-02-11 Tom de Vries <tdevries@suse.de>
5571
5572 PR testsuite/25488
5573 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5574
44f6938e
TV
55752020-02-10 Tom de Vries <tdevries@suse.de>
5576
5577 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5578
5f0e2eb7
MR
55792020-02-10 Maciej W. Rozycki <macro@wdc.com>
5580
5581 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5582 and $after_addr are both integers before making a comparison.
5583
46ce2b6f
TV
55842020-02-09 Tom de Vries <tdevries@suse.de>
5585
5586 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5587 command output and paste it into gdb.log. If any, paste catch message
5588 to gdb.log.
5589
5abbbe1d
TT
55902020-02-07 Tom Tromey <tromey@adacore.com>
5591
5592 PR breakpoints/24915:
5593 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5594
1d5d29e7
SV
55952020-02-06 Shahab Vahedi <shahab@synopsys.com>
5596
5597 * gdb.tui/tui-missing-src.exp: Add the "missing source
5598 file" test for the TUI.
5599
b0999b9b
AB
56002020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5601
5602 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5603 including a port number in the output.
5604
c3b149eb
AKS
56052020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5606
5607 * lib/fortran.exp (fortran_int4): Handle clang.
5608 (fortran_int8): Likewise.
5609 (fortran_real4): Likewise.
5610 (fortran_real8): Likewise.
5611 (fortran_complex4): Likewise.
5612 (fortran_logical4): Likewise.
5613 (fortran_character1): Likewise.
5614
f8dcc90b
TV
56152020-02-04 Tom de Vries <tdevries@suse.de>
5616
5617 * README (Race detection): Add note.
5618
f90ac7c2
TV
56192020-02-04 Tom de Vries <tdevries@suse.de>
5620
5621 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5622
780636ae
TV
56232020-02-04 Tom de Vries <tdevries@suse.de>
5624
5625 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5626
5d2e1193
RA
56272020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5628
5629 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5630 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5631 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5632 blttar, bnetarl.
5633 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5634 binary for blttar, bnetarl.
5635 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5636 wait instruction. Delete ldmx test.
5637 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5638
e409c542
AKS
56392020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5640
5641 * gdb.fortran/array-bounds-high.exp: New file.
5642 * gdb.fortran/array-bounds-high.f90: New file.
5643
b0029748
LD
56442020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5645
5646 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5647 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5648
195a8287
TV
56492020-02-01 Tom de Vries <tdevries@suse.de>
5650
5651 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5652
42330a68
AB
56532020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5654
5655 PR tui/9765
5656 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5657 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5658
b62a8028
LM
56592020-01-29 Luis Machado <luis.machado@linaro.org>
5660
5661 * gdb.arch/aarch64-brk-patterns.c: New source file.
5662 * gdb.arch/aarch64-brk-patterns.exp: New test.
5663
5f440116
TBA
56642020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5665
5666 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5667 GCC/Clang version.
5668 * gdb.cp/pass-by-ref.exp: Ditto.
5669
ee2a6fc6
TV
56702020-01-29 Tom de Vries <tdevries@suse.de>
5671
5672 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5673 * gdb.threads/watchpoint-fork-mt.c: Same.
5674 * gdb.threads/watchpoint-fork-parent.c: Same.
5675 * gdb.threads/watchpoint-fork-st.c: Same.
5676 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5677
16b10d6e
LM
56782020-01-27 Luis Machado <luis.machado@linaro.org>
5679
5680 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5681 sitting at a syscall instruction when we hit the syscall function's
5682 breakpoint.
5683 Check PC against one obtained with the x command.
5684 Validate syscall number.
5685 (step_over_syscall): Don't continue to the syscall instruction if
5686 we're already there.
5687
b1468492
PW
56882020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5689
5690 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5691
7ffa82e1
AB
56922020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5693
5694 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5695 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5696
3d92a3e3
AB
56972020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5698
5699 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5700 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5701
94a72be7
AB
57022020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5703
5704 * gdb.base/maint.exp: Update line table parsing test.
5705 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5706
53af73bf
PA
57072020-01-24 Pedro Alves <palves@redhat.com>
5708
5709 PR gdb/25410
5710 * gdb.multi/multi-re-run-1.c: New.
5711 * gdb.multi/multi-re-run-2.c: New.
5712 * gdb.multi/multi-re-run.exp: New.
5713
1ba1ac88
AB
57142020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5715
5716 PR gdb/23718
5717 * gdb.server/server-kill-python.exp: New file.
5718
f3364a6d
AB
57192020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5720
5721 * gdb.server/multi-ui-errors.c: New file.
5722 * gdb.server/multi-ui-errors.exp: New file.
5723
733d0a67
AB
57242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5725
5726 PR tui/9765
5727 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5728
4f13c1c0
TT
57292020-01-19 Tom Tromey <tom@tromey.com>
5730
5731 * gdb.tui/main.exp: Add check for plain "file".
5732
40c94099
CB
57332020-01-16 Christian Biesinger <cbiesinger@google.com>
5734
5735 * lib/gdb.exp: Fix spelling error (seperatelly).
5736
ff47f4f0
TT
57372020-01-14 Tom Tromey <tom@tromey.com>
5738
5739 PR symtab/12535:
5740 * gdb.python/python.exp: Test decode_line with empty string
5741 argument.
5742
717c684d
BE
57432020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5744
5745 * gdb.base/skip-inline.exp: Extend test.
5746
44e4c775
AB
57472020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5748
5749 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5750 * gdb.dwarf2/dw2-bad-elf.c: New file.
5751 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5752
d93c6db7
AB
57532020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5754
5755 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5756 _line_saw_file.
5757
9a6d629c
AB
57582020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5759
5760 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5761 border.
5762
d9ebdab7
TBA
57632020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5764
5765 * gdb.multi/multi-target.exp (setup): Factor out "info
5766 connections" and "info inferiors" tests to ...
5767 (test_info_inferiors): ... this new procedure.
5768 (top level): Run new "info-inferiors" tests.
5769
f3c469b9
PA
57702020-01-10 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.server/bkpt-other-inferior.exp: New file.
5773
121b3efd
PA
57742020-01-10 Pedro Alves <palves@redhat.com>
5775
5776 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5777 of "add-inferior".
5778 * gdb.base/quit-live.exp: Likewise.
5779 * gdb.base/remote-exec-file.exp: Likewise.
5780 * gdb.guile/scm-progspace.exp: Likewise.
5781 * gdb.linespec/linespec.exp: Likewise.
5782 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5783 * gdb.mi/user-selected-context-sync.exp: Likewise.
5784 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5785 "info inferiors" tests.
5786 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5787 "add-inferior".
5788 * gdb.multi/watchpoint-multi.exp: Likewise.
5789 * gdb.python/py-inferior.exp: Likewise.
5790 * gdb.server/extended-remote-restart.exp: Likewise.
5791 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5792 "info inferiors".
5793 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5794 * gdb.trace/report.exp: Likewise.
5795
1dadb1dd
PA
57962020-01-10 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.multi/multi-target.c: New file.
5799 * gdb.multi/multi-target.exp: New file.
5800 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5801 mode requested, but remote does not support non-stop".
5802
78f2c40a
PA
58032020-01-10 Pedro Alves <palves@redhat.com>
5804
5805 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5806 disconnect before reconnecting.
5807
e7af6c70
TBA
58082020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5809 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.server/connect-without-multi-process.exp: Also test
5812 continuing to end.
5813
acdf84a6
PA
58142020-01-10 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/remote-exec-file.exp: New file.
5817
873657b9
PA
58182020-01-10 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5821 output.
5822 * gdb.threads/async.c: New.
5823 * gdb.threads/async.exp: New.
5824 * gdb.multi/tids-gid-reset.c: New.
5825 * gdb.multi/tids-gid-reset.exp: New.
5826
7f0ae84c
GB
58272020-01-10 George Barrett <bob@bob131.so>
5828
5829 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5830 to help in finding the image relocation offset.
5831 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5832 options in arguments.
5833 (stap_test_no_debuginfo): Likewise.
5834 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5835 test variants.
5836 (stap_test): Add null semaphore relocation test.
5837
47e9d49d
GB
58382020-01-10 George Barrett <bob@bob131.so>
5839
5840 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5841 * gdb.base/stap-probe.exp: Likewise.
5842 (stap_test): Pass argument as an additional flag.
5843 (stap_test_no_debuginfo): Likewise.
5844 (stap_test): Check `info probes stap' output for semaphore
5845 addresses if the test binary is supposed to have them.
5846
f5a7c406
AB
58472020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5848
5849 * gdb.tui/basic.exp: Add more scrolling tests.
5850
9ae6bf64
TT
58512020-01-09 Tom Tromey <tom@tromey.com>
5852
5853 PR tui/18932:
5854 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5855 meangingful value.
5856 (Term::command, Term::resize): Update.
5857 * gdb.tui/basic.exp: Add scrolling test.
5858
b2efe70c
AB
58592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5860
5861 * gdb.tui/tui-layout-asm.exp: New file.
5862
3804da7e
AB
58632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5864
5865 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5866
b40aa28f
AB
58672020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5868
5869 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5870 (Term::enter_tui): Use Term::prepare_for_tui.
5871
63ffd7c9
AB
58722020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5873
5874 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5875 called.
5876
3be966f6
AB
58772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5878
5879 * gdb.base/skip.exp: Fix race condition in test.
5880
153d79c4
AB
58812020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5882
5883 * gdb.base/backtrace.c: New file.
5884 * gdb.base/backtrace.exp: New file.
5885
f2302a34
AB
58862020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5887
5888 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5889
6ec1d75e
PW
58902020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5891
5892 * gdb.base/style.exp: Test that warnings are styled.
5893
c296cbe6
BE
58942019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5895
5896 * gdb.base/line65535.exp: New file.
5897 * gdb.base/line65535.c: New file.
5898
b28a729d
SM
58992019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5900
5901 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5902 * lib/gnat_debug_info_test.adb: New file.
5903 * gdb.ada/ptype_tagged_param.exp: Use
5904 gnat_runtime_has_debug_info, expect a different output if
5905 runtime does not have debug info.
5906
7f2d7a0d
SM
59072019-12-20 Simon Marchi <simon.marchi@efficios.com>
5908
5909 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5910 (another) quote in test name.
5911
f3bce483
SM
59122019-12-20 Simon Marchi <simon.marchi@efficios.com>
5913
5914 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5915 Add quote in test name.
5916
c855a912
TBA
59172019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5918
5919 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5920 directory instead.
5921 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5922 * gdb.cp/pass-by-ref-2.cc: New file.
5923 * gdb.cp/pass-by-ref-2.exp: New file.
5924
fc9d2d72
TT
59252019-12-20 Tom Tromey <tom@tromey.com>
5926
5927 * gdb.tui/list-before.exp: New file.
5928
77b97e00
TT
59292019-12-20 Tom Tromey <tom@tromey.com>
5930
5931 * gdb.tui/list.exp: Check for source on initial listing.
5932
f69656d0
TT
59332019-12-11 Tom Tromey <tromey@adacore.com>
5934
5935 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5936 Add crlf test.
5937
99a55965
SM
59382019-12-18 Simon Marchi <simon.marchi@efficios.com>
5939
5940 * gdb.base/default.exp: Update value of $_gdb_major.
5941
5024637f
BE
59422019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5943
5944 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5945
b63634be
BE
59462019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5947
5948 * gdb.base/skip.exp: Whitespace fix.
5949
45d73523
BE
59502019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5951
5952 * gdb.base/skip-inline.c: New file.
5953 * gdb.base/skip-inline.exp: New file.
5954
d043f8c8
SM
59552019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5956
5957 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5958 jit_function_00 to jit_function_stack_mangle.
5959 * gdb.base/jithost.c (jit_function_t): Rename to...
5960 (jit_function_stack_mangle_t): ... this.
5961 (jit_function_add_t): New typedef.
5962 (jit_function_00_code): Rename to...
5963 (jit_function_stack_mangle_code): ... this, make static.
5964 (jit_function_add_code): New.
5965 (main): Generate "add" function and call it. Adjust to changes
5966 in jithost_abi.
5967 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5968 (struct jithost_abi) <begin, end>: Remove fields.
5969 <object, function_stack_mangle, function_add>: New fields.
5970 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5971 code_end>: Remove fields.
5972 <func_stack_mangle>: New field.
5973 (read_debug_info): Adjust to renaming, create block for "add"
5974 function.
5975 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5976
873de05c
TT
59772019-12-11 Tom Tromey <tom@tromey.com>
5978
5979 * gdb.tui/resize.exp: Fix regexp.
5980 * gdb.tui/regs.exp: Fix regexps.
5981 * gdb.tui/main.exp: Fix regexp.
5982
3d979945
TT
59832019-12-11 Tom Tromey <tom@tromey.com>
5984
5985 * gdb.tui/resize.exp: Update.
5986 * gdb.tui/empty.exp (layouts): Update.
5987
2192a9d3
TT
59882019-12-11 Tom Tromey <tom@tromey.com>
5989
5990 * gdb.tui/regs.exp: Update.
5991 * gdb.tui/empty.exp (layouts): Update.
5992 * gdb.tui/basic.exp: Update.
5993 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5994
d8edc8b7
PW
59952019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5996
5997 * gdb.base/options.exp: Add -raw-values in the print completion list.
5998 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5999
4c12d936
KB
60002019-12-10 Kevin Buettner <kevinb@redhat.com>
6001
6002 * gdb.threads/omp-par-scope.c: New file.
6003 * gdb/threads/omp-par-scope.exp: New file.
6004
26b911fb
KB
60052019-12-10 Kevin Buettner <kevinb@redhat.com>
6006
bb47f919
KB
6007 * lib/gdb.exp (support_nested_function_tests): New proc.
6008
60092019-12-10 Kevin Buettner <kevinb@redhat.com>
6010
6011 * lib/gdb.exp (gdb_compile_openmp): New proc.
6012 (build_executable_from_specs): Add an "openmp" option.
6013 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6014
6c71eb7d
TT
60152019-12-10 Tom Tromey <tromey@adacore.com>
6016
6017 * gdb.ada/unchecked_union.exp: New file.
6018 * gdb.ada/unchecked_union/pck.adb: New file.
6019 * gdb.ada/unchecked_union/pck.ads: New file.
6020 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6021 * gdb-utils.exp (string_to_regexp): Also quote "?".
6022
bac7c5cf
GB
60232019-12-10 George Barrett <bob@bob131.so>
6024
6025 Test scripted probe breakpoints.
6026 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6027 * gdb.python/py-breakpoint.c (main): Likewise.
6028 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6029 specifier test.
6030 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6031
330f1d38
TBA
60322019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6033
6034 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6035 an rvalue parameter.
6036 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6037 parameter.
6038
b43315e2
AB
60392019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6040
6041 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6042 modules.
6043
54f73dad
AB
60442019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6045
6046 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6047 broken version of GCC.
6048
d57cbee9
AB
60492019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6050
6051 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6052 sym-info-cmds library.
6053 * gdb.fortran/info-types.exp: Likewise.
6054 * lib/sym-info-cmds.exp: New file.
6055
c14aab8c
TV
60562019-12-08 Tom de Vries <tdevries@suse.de>
6057
6058 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6059
aa2d5a42
KS
60602019-12-07 Keith Seitz <keiths@redhat.com>
6061
6062 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6063 * gdb.base/corefile-buildid-shlib.c: New file.
6064 * gdb.base/corefile-buildid.c: New file.
6065 * gdb.base/corefile-buildid.exp: New file.
6066
93e55f0a
TV
60672019-12-06 Tom de Vries <tdevries@suse.de>
6068
6069 * gdb.dwarf2/varval.exp: Add decl before def test.
6070
c7d12402
TBA
60712019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6072
6073 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6074
06acc08f
TBA
60752019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6076
6077 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6078 CV and reference conversion for overload resolution.
6079 * gdb.cp/rvalue-ref-overload.exp: Test it.
6080
e0fad1ea
PW
60812019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6082
6083 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6084 * gdb.base/frameapply.exp: Test faas without command.
6085
8d70a9f0
AB
60862019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6087
6088 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6089 Fortran tests.
6090 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6091 order.
6092
36c8fb93
AB
60932019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6094
6095 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6096 casting to type with no kind specified.
6097 (test_basic_parsing_of_type_kinds): Additional tests for types
6098 with no kind specified, and add tests for single/double
6099 precision/complex types.
6100
4139ff00
TT
61012019-12-04 Tom Tromey <tromey@adacore.com>
6102
6103 * gdb.base/endianity.c (struct other) <x>: New field.
6104 (main): Initialize it.
6105 * gdb.base/endianity.exp: Update.
6106
a05cf17a
TT
61072019-12-04 Tom Tromey <tromey@adacore.com>
6108
6109 * gdb.ada/scalar_storage/storage.adb: New file.
6110 * gdb.ada/scalar_storage/pck.adb: New file.
6111 * gdb.ada/scalar_storage/pck.ads: New file.
6112 * gdb.ada/scalar_storage.exp: New file.
6113
103a685e
TT
61142019-12-04 Tom Tromey <tromey@adacore.com>
6115
6116 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6117 (main): Initialize it.
6118 * gdb.base/endianity.exp: Update.
6119
c2512106
AB
61202019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6121
6122 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6123
293b38d6
AB
61242019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6125
6126 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6127 -symbol-info-module-functions and -symbol-info-module-variables.
6128
216a7e6b
AB
61292019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6130
6131 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6132
5bbd8269
AB
61332019-12-01 Richard Bunt <richard.bunt@arm.com>
6134 Andrew Burgess <andrew.burgess@embecosm.com>
6135
6136 * gdb.fortran/derived-type-striding.exp: New file.
6137 * gdb.fortran/derived-type-striding.f90: New file.
6138 * gdb.fortran/array-slices.exp: New file.
6139 * gdb.fortran/array-slices.f90: New file.
6140
be09caf1
PW
61412019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6142
6143 * gdb.base/define.exp: Test . in command names.
6144 * gdb.base/setshow.exp: Update test, as . is now part of
6145 command name.
6146
643c0cbe
PW
61472019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6148
6149 * gdb.base/define-prefix.exp: New file.
6150
dcdec678
AB
61512019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6152
6153 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6154 compile.
6155 (skip_btrace_pt_tests): Likewise.
6156
640ab947
AB
61572019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6158
6159 * gdb.fortran/info-modules.exp: Compile source files in correct
6160 order.
6161
d22670f0
KB
61622019-11-27 Kevin Buettner <kevinb@redhat.com>
6163
6164 * gdb.dwarf2/imported-unit.exp: New file.
6165 * gdb.dwarf2/imported-unit.c: New file.
6166
db5960b4
AB
61672019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6168
6169 * gdb.mi/mi-fortran-modules-2.f90: New file.
6170 * gdb.mi/mi-fortran-modules.exp: New file.
6171 * gdb.mi/mi-fortran-modules.f90: New file.
6172
7dc42066
AB
61732019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6174
6175 * gdb.mi/mi-sym-info-1.c: New file.
6176 * gdb.mi/mi-sym-info-2.c: New file.
6177 * gdb.mi/mi-sym-info.exp: New file.
6178
0dfeecca
TT
61792019-11-22 Tom Tromey <tromey@adacore.com>
6180
6181 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6182 * gdb.ada/tasks/foo.adb: Add another stopping location.
6183
34877895
PJ
61842019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6185
6186 * gdb.base/endianity.c: New test.
6187 * gdb.base/endianity.exp: New file.
6188
2e84f897
LD
61892019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6190
6191 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6192
65d1cd5f
TV
61932019-11-21 Tom de Vries <tdevries@suse.de>
6194
6195 PR gdb/24956
6196 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6197
4f22c3f4
SDJ
61982019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6199
6200 * gdb.python/py-progspace.exp: Add missing parentheses on some
6201 'print' commands.
6202
9f6ad286
TT
62032019-11-19 Tom Tromey <tom@tromey.com>
6204
6205 * gdb.tui/winheight.exp: New file.
6206
0b8dbf3f
AB
62072019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6208
6209 * gdb.base/ctf-whatis.c: Delete.
6210 * gdb.base/ctf-whatis.exp: Delete.
6211 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6212
f833b7a7
AB
62132019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6214
6215 * gdb.base/ctf-cvexpr.exp: Delete.
6216 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6217
30d0a636
AB
62182019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6219
6220 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6221 the compiler. Clean up header comment a little.
6222 * gdb.base/ctf-ptype.exp: Likewise.
6223 * gdb.base/ctf-whatis.exp: Likewise.
6224 * lib/gdb.exp (skip_ctf_tests): New proc.
6225
494409bb
SDJ
62262019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6227
6228 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6229 * gdb.tui/corefile-run.exp: New file.
6230
55708e99
TT
62312019-11-14 Tom Tromey <tromey@adacore.com>
6232
6233 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6234 regression tests.
6235
45e42163
TT
62362019-11-12 Tom Tromey <tom@tromey.com>
6237
6238 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6239 after any command. Expect prompt after WAIT_FOR is seen.
6240 (enter_tui): Enable resize messages.
6241 (command): Expect command in output.
6242 (get_line): Avoid error when cursor appears to be off-screen.
6243 (dump_screen): Include screen size in title.
6244 (_do_resize): New proc, from "resize".
6245 (resize): Rewrite. Do resize in two steps.
6246 * gdb.tui/empty.exp (layouts): Fix entries.
6247 (check_boxes): Remove xfail.
6248 (check_text): Dump screen on failure.
6249
086baaf1
AB
62502019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6251
6252 * gdb.python/py-symbol.exp: Add test for
6253 gdb.lookup_static_symbols.
6254
09ff83af
AB
62552019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6256
6257 * gdb.python/py-symbol.c: Declare and call function from new
6258 py-symbol-2.c file.
6259 * gdb.python/py-symbol.exp: Compile both source files, and add new
6260 tests for gdb.lookup_static_symbol.
6261 * gdb.python/py-symbol-2.c: New file.
6262
11af934b
TV
62632019-11-02 Tom de Vries <tdevries@suse.de>
6264
6265 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6266 * gdb.base/anon.exp: Same.
6267 * gdb.base/auto-connect-native-target.exp: Same.
6268 * gdb.base/call-ar-st.exp: Same.
6269 * gdb.base/catch-syscall.exp: Same.
6270 * gdb.base/commands.exp: Same.
6271 * gdb.base/default.exp: Same.
6272 * gdb.base/display.exp: Same.
6273 * gdb.base/float.exp: Same.
6274 * gdb.base/foll-fork.exp: Same.
6275 * gdb.base/help.exp: Same.
6276 * gdb.base/info-macros.exp: Same.
6277 * gdb.base/info-proc.exp: Same.
6278 * gdb.base/info-target.exp: Same.
6279 * gdb.base/long_long.exp: Same.
6280 * gdb.base/macscp.exp: Same.
6281 * gdb.base/memattr.exp: Same.
6282 * gdb.base/nofield.exp: Same.
6283 * gdb.base/pointers.exp: Same.
6284 * gdb.base/printcmds.exp: Same.
6285 * gdb.base/ptype.exp: Same.
6286 * gdb.base/restore.exp: Same.
6287 * gdb.base/return.exp: Same.
6288 * gdb.base/scope.exp: Same.
6289 * gdb.base/set-noassign.exp: Same.
6290 * gdb.base/setshow.exp: Same.
6291 * gdb.base/shlib-call.exp: Same.
6292 * gdb.base/signals.exp: Same.
6293 * gdb.base/sigstep.exp: Same.
6294 * gdb.base/skip.exp: Same.
6295 * gdb.base/solib-symbol.exp: Same.
6296 * gdb.base/stap-probe.exp: Same.
6297 * gdb.base/step-line.exp: Same.
6298 * gdb.base/step-test.exp: Same.
6299 * gdb.base/style.exp: Same.
6300 * gdb.base/varargs.exp: Same.
6301 * gdb.base/vla-datatypes.exp: Same.
6302 * gdb.base/vla-ptr.exp: Same.
6303 * gdb.base/vla-sideeffect.exp: Same.
6304 * gdb.base/volatile.exp: Same.
6305 * gdb.base/watch-cond-infcall.exp: Same.
6306 * gdb.base/watchpoint.exp: Same.
6307
e96ec2ba
TV
63082019-11-02 Tom de Vries <tdevries@suse.de>
6309
6310 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6311 * gdb.cp/cpexprs.exp: Same.
6312 * gdb.cp/except-multi-location.exp: Same.
6313 * gdb.cp/exceptprint.exp: Same.
6314 * gdb.cp/gdb2384.exp: Same.
6315 * gdb.cp/inherit.exp: Same.
6316 * gdb.cp/m-static.exp: Same.
6317 * gdb.cp/meth-typedefs.exp: Same.
6318 * gdb.cp/misc.exp: Same.
6319 * gdb.cp/namespace.exp: Same.
6320 * gdb.cp/non-trivial-retval.exp: Same.
6321 * gdb.cp/overload.exp: Same.
6322 * gdb.cp/pr17132.exp: Same.
6323 * gdb.cp/re-set-overloaded.exp: Same.
6324 * gdb.cp/rvalue-ref-types.exp: Same.
6325 * gdb.cp/templates.exp: Same.
6326
bd5766ec
LM
63272019-11-01 Luis Machado <luis.machado@linaro.org>
6328
6329 PR gdb/25124
6330
6331 * gdb.arch/pr25124.S: New file.
6332 * gdb.arch/pr25124.exp: New file.
6333
165f8965
AB
63342019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6335
6336 * gdb.fortran/info-modules.exp: Update expected results, and add
6337 additional tests for 'info module functinos', and 'info module
6338 variables'.
6339 * gdb.fortran/info-types.exp: Update expected results.
6340 * gdb.fortran/info-types.f90: Extend testcase with additional
6341 module variables and functions.
6342
59c35742
AB
63432019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6344
6345 * gdb.fortran/info-modules.exp: New file.
6346 * gdb.fortran/info-types.exp: Build with new file.
6347 * gdb.fortran/info-types.f90: Include and use new module.
6348 * gdb.fortran/info-types-2.f90: New file.
6349
f3fb2519
PW
63502019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6351
6352 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6353 * gdb.base/settings.exp: Test all settings types using
6354 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6355 that now verifies that the value of "maint show" is the same as
6356 returned by the settings functions. Test the type of the
6357 maintenance settings.
6358 * gdb.base/default.exp: Update show_conv_list.
6359
d1e36019
TV
63602019-10-31 Tom de Vries <tdevries@suse.de>
6361
6362 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6363 gdb_test.
6364 * gdb.arch/amd64-disp-step.exp: Same.
6365 * gdb.asm/asm-source.exp: Same.
6366 * gdb.btrace/buffer-size.exp: Same.
6367 * gdb.btrace/cpu.exp: Same.
6368 * gdb.btrace/enable.exp: Same.
6369 * gdb.dwarf2/count.exp: Same.
6370 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6371 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6372 * gdb.fortran/vla-datatypes.exp: Same.
6373 * gdb.fortran/vla-history.exp: Same.
6374 * gdb.fortran/vla-ptype.exp: Same.
6375 * gdb.fortran/vla-value.exp: Same.
6376 * gdb.fortran/whatis_type.exp: Same.
6377 * gdb.guile/guile.exp: Same.
6378 * gdb.multi/tids.exp: Same.
6379 * gdb.python/py-finish-breakpoint.exp: Same.
6380 * gdb.python/py-framefilter.exp: Same.
6381 * gdb.python/py-pp-registration.exp: Same.
6382 * gdb.python/py-xmethods.exp: Same.
6383 * gdb.python/python.exp: Same.
6384 * gdb.server/connect-with-no-symbol-file.exp: Same.
6385 * gdb.server/no-thread-db.exp: Same.
6386 * gdb.server/run-without-local-binary.exp: Same.
6387 * gdb.stabs/weird.exp: Same.
6388 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6389 * gdb.threads/thread-find.exp: Same.
6390 * gdb.threads/tls-shared.exp: Same.
6391 * gdb.threads/tls.exp: Same.
6392 * gdb.threads/wp-replication.exp: Same.
6393 * gdb.trace/ax.exp: Same.
6394 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6395
3d11e68e
TV
63962019-10-31 Tom de Vries <tdevries@suse.de>
6397
6398 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6399 * gdb.ada/array_subscript_addr.exp: Same.
6400 * gdb.ada/arrayidx.exp: Same.
6401 * gdb.ada/arrayparam.exp: Same.
6402 * gdb.ada/arrayptr.exp: Same.
6403 * gdb.ada/boolean_expr.exp: Same.
6404 * gdb.ada/call_pn.exp: Same.
6405 * gdb.ada/complete.exp: Same.
6406 * gdb.ada/fixed_cmp.exp: Same.
6407 * gdb.ada/fun_addr.exp: Same.
6408 * gdb.ada/funcall_param.exp: Same.
6409 * gdb.ada/interface.exp: Same.
6410 * gdb.ada/mod_from_name.exp: Same.
6411 * gdb.ada/null_array.exp: Same.
6412 * gdb.ada/packed_array.exp: Same.
6413 * gdb.ada/packed_tagged.exp: Same.
6414 * gdb.ada/print_chars.exp: Same.
6415 * gdb.ada/print_pc.exp: Same.
6416 * gdb.ada/ptype_arith_binop.exp: Same.
6417 * gdb.ada/ptype_field.exp: Same.
6418 * gdb.ada/ptype_tagged_param.exp: Same.
6419 * gdb.ada/rec_return.exp: Same.
6420 * gdb.ada/ref_tick_size.exp: Same.
6421 * gdb.ada/str_ref_cmp.exp: Same.
6422 * gdb.ada/taft_type.exp: Same.
6423 * gdb.ada/tagged.exp: Same.
6424 * gdb.ada/type_coercion.exp: Same.
6425 * gdb.ada/uninitialized_vars.exp: Same.
6426
60b6ede8
TV
64272019-10-30 Tom de Vries <tdevries@suse.de>
6428
6429 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6430
30baf67b
TV
64312019-10-26 Tom de Vries <tdevries@suse.de>
6432
6433 * gdb.base/bigcore.c: Fix typos in comments.
6434 * gdb.base/ctf-ptype.c: Same.
6435 * gdb.base/long_long.c: Same.
6436 * gdb.dwarf2/dw2-op-out-param.S: Same.
6437 * gdb.python/py-evthreads.c: Same.
6438 * gdb.reverse/i387-stack-reverse.c: Same.
6439 * gdb.trace/tfile.c: Same.
6440 * lib/compiler.c: Same.
6441 * lib/compiler.cc: Same.
6442
158da0d1
TV
64432019-10-25 Tom de Vries <tdevries@suse.de>
6444
6445 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6446 gdb_test_multiple calls.
6447 * gdb.reverse/sigall-reverse.exp: Same.
6448 * gdb.reverse/solib-precsave.exp: Same.
6449 * gdb.reverse/solib-reverse.exp: Same.
6450 * gdb.reverse/until-precsave.exp: Same.
6451 * gdb.reverse/until-reverse.exp: Same.
6452
4ccdfbec
TV
64532019-10-24 Tom de Vries <tdevries@suse.de>
6454
6455 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6456 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6457 kfail using -wrap pattern flag and convenience variable
6458 gdb_test_name.
6459
33d569b7
AB
64602019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6461
6462 * gdb.python/py-progspace.exp: Add tests for the
6463 Progspace.block_for_pc method.
6464
4d0b984b
TT
64652019-10-23 Tom Tromey <tom@tromey.com>
6466
6467 * configure: Rebuild.
6468 * aclocal.m4: Use m4_include, not sinclude.
6469
94cb3754
TV
64702019-10-21 Tom de Vries <tdevries@suse.de>
6471
6472 * gdb.base/infcall-nested-structs.c: Add
6473 __attribute__((noinline,noclone)) to all functions.
6474 (call_all): Add missing variable initialization. Simplify return value.
6475 (breakpt): Increment volatile variable, to prevent call from being
6476 optimized out.
6477 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6478
062f1fc1
TV
64792019-10-17 Tom de Vries <tdevries@suse.de>
6480
6481 * gdb.fortran/module.exp: Allow info variables to print info for files
6482 other than module.f90.
6483
0b54364d
AB
64842019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6485
6486 * gdb.fortran/module.exp: Extend with 'info variables' test.
6487
7ff5fae7
AB
64882019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6489
6490 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6491 F77_FOR_TARGET.
6492
d10eccaa
TV
64932019-10-16 Tom de Vries <tdevries@suse.de>
6494
6495 PR tdep/25096
6496 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6497
745ff14e
TV
64982019-10-16 Tom de Vries <tdevries@suse.de>
6499
6500 PR tdep/24104
6501 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6502 Add KFAIL for PR tdep/25096.
6503
03e1ab94
TV
65042019-10-16 Tom de Vries <tdevries@suse.de>
6505
6506 PR testsuite/25059
6507 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6508
b17fcc10
TV
65092019-10-16 Tom de Vries <tdevries@suse.de>
6510
6511 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6512 as signed.
6513
9223170f
SM
65142019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6515
6516 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6517 one instead of increasing timeout.
6518
d6e76313
TV
65192019-10-13 Tom de Vries <tdevries@suse.de>
6520
6521 PR record/25038
6522 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6523 * gdb.reverse/sigall-reverse.exp: Same.
6524 * gdb.reverse/solib-precsave.exp: Same.
6525 * gdb.reverse/solib-reverse.exp: Same.
6526 * gdb.reverse/step-precsave.exp: Same.
6527 * gdb.reverse/until-precsave.exp: Same.
6528 * gdb.reverse/until-reverse.exp: Same.
6529 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6530
6dfc0041
AA
65312019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6532
6533 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6534 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6535 (cmp_struct_05_01, cmp_struct_static_02_01)
6536 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6537 comparisons.
6538
abcf2cc8
TV
65392019-10-10 Tom de Vries <tdevries@suse.de>
6540
6541 PR testsuite/24888
6542 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6543 gnatlink.
6544
a50faaf6
TV
65452019-10-09 Tom de Vries <tdevries@suse.de>
6546
6547 PR testsuite/25048
6548 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6549
60ff3cd7
AB
65502019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6551
6552 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6553 exceptions due to missing debug information.
6554
dfee8566
TV
65552019-10-07 Tom de Vries <tdevries@suse.de>
6556
6557 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6558
3d63690a
AB
65592019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6560
6561 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6562 * gdb.base/annota1.exp: Update to use gdb_test_name.
6563
30d1f018
WP
65642019-10-07 Weimin Pan <weimin.pan@oracle.com>
6565
6566 * gdb.base/ctf-whatis.exp: New file.
6567 * gdb.base/ctf-whatis.c: New file.
6568 * gdb.base/ctf-ptype.exp: New file.
6569 * gdb.base/ctf-ptype.c: New file.
6570 * gdb.base/ctf-constvars.exp: New file.
6571 * gdb.base/ctf-constvars.c: New file.
6572 * gdb.base/ctf-cvexpr.exp: New file.
6573
4dbbb47c
TV
65742019-10-04 Tom de Vries <tdevries@suse.de>
6575
6576 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6577 for loop.
6578
77c2dba3
TT
65792019-10-03 Tom Tromey <tom@tromey.com>
6580
6581 PR rust/24976:
6582 * gdb.rust/simple.rs (Union2): New type.
6583 (main): Use Union2.
6584 * gdb.rust/simple.exp: Add test.
6585
179aed7f
AB
65862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6587
6588 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6589 nested function prefix.
6590
0a4b0913
AB
65912019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6592 Richard Bunt <richard.bunt@arm.com>
6593 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6596 nested functions.
6597 * gdb.fortran/nested-funcs.f90: Update expected results.
6598 * gdb.fortran/nested-funcs-2.exp: New file.
6599 * gdb.fortran/nested-funcs-2.f90: New file.
6600
082cce05
AB
66012019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6602
6603 * gdb.python/py-parameter.exp: Make test names unique.
6604 * gdb.python/py-template.exp: Likewise.
6605 * gdb.python/py-value.exp: Likewise.
6606
2b74ba5a
AB
66072019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6608
6609 * gdb.base/break-interp.exp: Reduce test name duplication.
6610 * gdb.base/call-sc.exp: Likewise.
6611 * gdb.base/callfuncs.exp: Likewise.
6612 * gdb.base/charset.exp: Likewise.
6613 * gdb.base/dump.exp: Likewise.
6614 * gdb.base/ena-dis-br.exp: Likewise.
6615 * gdb.base/relational.exp: Likewise.
6616 * gdb.base/step-over-syscall.exp: Likewise.
6617 * gdb.base/structs.exp: Likewise.
6618
58eb20d5
AB
66192019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6620
6621 * gdb.linespec/explicit.exp: Make test names unique.
6622 * gdb.linespec/ls-errs.exp: Likewise.
6623
4d421147
AB
66242019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6625
6626 * gdb.reverse/break-precsave.exp: Make test names unique.
6627 * gdb.reverse/break-reverse.exp: Likewise.
6628 * gdb.reverse/finish-precsave.exp: Likewise.
6629 * gdb.reverse/finish-reverse.exp: Likewise.
6630 * gdb.reverse/machinestate-precsave.exp: Likewise.
6631 * gdb.reverse/machinestate.exp: Likewise.
6632 * gdb.reverse/readv-reverse.exp: Likewise.
6633 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6634 * gdb.reverse/sigall-precsave.exp: Likewise.
6635 * gdb.reverse/sigall-reverse.exp: Likewise.
6636 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6637 * gdb.reverse/watch-precsave.exp: Likewise.
6638 * gdb.reverse/watch-reverse.exp: Likewise.
6639
d8c06f22
AB
66402019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6641
6642 * gdb.threads/stop-with-handle.c: New file.
6643 * gdb.threads/stop-with-handle.exp: New file.
6644
3a56ed86
TV
66452019-10-03 Tom de Vries <tdevries@suse.de>
6646
6647 PR testsuite/25059
6648 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6649 directory" line to be missing.
6650
42275044
TV
66512019-10-03 Tom de Vries <tdevries@suse.de>
6652
6653 PR testsuite/25059
6654 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6655 type optional.
6656
9ef62df0
AA
66572019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6658
6659 * gdb.python/py-format-string.c (string.h): New include.
6660 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6661 the same value, for endianness-independence.
6662 * gdb.python/py-format-string.exp (default_regexp_dict)
6663 (test_pretty_structs, test_format): Adjust expected output to the
6664 changed initialization.
6665
37f6a7f4
TT
66662019-10-02 Tom Tromey <tromey@adacore.com>
6667
6668 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6669
1d58d6a2
PA
66702019-10-02 Pedro Alves <palves@redhat.com>
6671 Andrew Burgess <andrew.burgess@embecosm.com>
6672
6673 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6674 "print-file-var.h".
6675 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6676 (get_version_1): Print this_version_id and its address.
6677 Add extern "C" wrappers around interface functions.
6678 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6679 "print-file-var.h".
6680 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6681 (get_version_2): Print this_version_id and its address.
6682 Add extern "C" wrappers around interface functions.
6683 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6684 <stddef.h> and "print-file-var.h".
6685 Add extern "C" wrappers around interface functions.
6686 [VERSION_ID_MAIN] (this_version_id): Define.
6687 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6688 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6689 up extern "C" blocks.
6690 * gdb.base/print-file-var.exp (test): New, factored out from top
6691 level.
6692 (top level): Test all combinations of attribute hidden or not,
6693 dlopen or not, and this_version_id symbol in main file or not.
6694 Compile tests as both C++ and C, make test names unique.
6695
d770d56f
TT
66962019-10-01 Tom Tromey <tom@tromey.com>
6697
6698 * gdb.base/style.exp: Test "show logging filename".
6699
7f6aba03
TT
67002019-10-01 Tom Tromey <tom@tromey.com>
6701
6702 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6703 * gdb.base/style.exp: Add metadata style test.
6704
14309bb6
TT
67052019-10-01 Tom Tromey <tom@tromey.com>
6706
6707 * gdb.base/style.exp: Test "pwd".
6708
2a3c1174
PA
67092019-10-01 Tom Tromey <tom@tromey.com>
6710
6711 * gdb.base/style.exp: Update tests.
6712
53d666ec
AA
67132019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6714
6715 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6716 'six' to unsigned.
6717 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6718 'five'. Use an all-ones bit pattern for each.
6719 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6720 to its changed values.
6721
4a56a520
TT
67222019-09-30 Tom Tromey <tromey@adacore.com>
6723
6724 * gdb.rust/traits.rs: Disable all warnings.
6725
0df0352a
TV
67262019-09-29 Tom de Vries <tdevries@suse.de>
6727
aac66a4c 6728 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6729
73d9a918
TV
67302019-09-29 Tom de Vries <tdevries@suse.de>
6731
6732 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6733
060b3ab4
TV
67342019-09-27 Tom de Vries <tdevries@suse.de>
6735
6736 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6737
68f7d34d
TV
67382019-09-27 Tom de Vries <tdevries@suse.de>
6739
6740 PR record/23188
6741 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6742
5d63b30a
TT
67432019-09-26 Tom Tromey <tromey@adacore.com>
6744
6745 * gdb.ada/py_taft.exp: New file.
6746 * gdb.ada/py_taft/main.adb: New file.
6747 * gdb.ada/py_taft/pkg.adb: New file.
6748 * gdb.ada/py_taft/pkg.ads: New file.
6749
3d435220
TV
67502019-09-24 Tom de Vries <tdevries@suse.de>
6751
6752 PR gdb/24598
6753 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6754
77d03678
TV
67552019-09-22 Tom de Vries <tdevries@suse.de>
6756
6757 * gdb.base/restore.exp: Allow register variables to be optimized out at
6758 -O0.
6759
abf516c6
UW
67602019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6761
6762 * gdb.arch/spu-info.exp: Remove file.
6763 * gdb.arch/spu-info.c: Remove file.
6764 * gdb.arch/spu-ls.exp: Remove file.
6765 * gdb.arch/spu-ls.c: Remove file.
6766
6767 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6768 * gdb.asm/spu.inc: Remove file.
6769
6770 * gdb.base/dump.exp: Remove support for spu*-*-*.
6771 * gdb.base/stack-checking.exp: Likewise.
6772 * gdb.base/overlays.exp: Likewise.
6773 * gdb.base/ovlymgr.c: Likewise.
6774 * gdb.base/spu.ld: Remove file.
6775
6776 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6777 * gdb.cp/cpexprs.exp: Likewise.
6778 * gdb.cp/exception.exp: Likewise.
6779 * gdb.cp/gdb2495.exp: Likewise.
6780 * gdb.cp/mb-templates.exp: Likewise.
6781 * gdb.cp/pr9167.exp: Likewise.
6782 * gdb.cp/userdef.exp: Likewise.
6783
6784 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6785
6786 * gdb.cell: Remove directory.
6787 * lib/cell.exp: Remove file.
6788
e452e88f
TV
67892019-09-19 Tom de Vries <tdevries@suse.de>
6790
6791 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6792
8a625130
TV
67932019-09-19 Tom de Vries <tdevries@suse.de>
6794
6795 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6796
81dc3ab5
TV
67972019-09-19 Tom de Vries <tdevries@suse.de>
6798
6799 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6800 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6801 (gdb_target_cmd): ... here.
6802 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6803 value 2.
6804
b078f3ac
AB
68052019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6806
6807 * gdb.base/source-dir.exp: Avoid having directory names in test
6808 names.
6809
f1b620e9
MG
68102019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6811
6812 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6813 directory.
6814
67f3ed6a
AB
68152019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6816
6817 * gdb.base/list-missing-source.exp: New file.
6818
d1b70248
TV
68192019-09-14 Tom de Vries <tdevries@suse.de>
6820
6821 PR teststuite/24599
6822 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6823 * lib/ada.exp (gnatmake_version_at_least): New proc.
6824
5fabdcd6
AB
68252019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6826
6827 * gdb.base/maint.exp: Use exec_has_index_section.
6828
aa17805f
AB
68292019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6830
6831 * gdb.base/maint.exp: Add test for 'maint info sections'.
6832
25e5c209
TV
68332019-09-12 Tom de Vries <tdevries@suse.de>
6834
6835 * gdb.base/store.exp: Allow register variables to be optimized out at
6836 -O0.
6837
4993045d
PW
68382019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6839
6840 * gdb.ada/rdv_wait.exp: Update to new task names.
6841 * gdb.base/task_switch_in_core.exp: Likewise.
6842 * gdb.base/info_sources_base.c: Likewise.
6843
8a516164
TT
68442019-09-10 Tom Tromey <tromey@adacore.com>
6845
6846 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6847
aa391654
TT
68482019-09-10 Tom Tromey <tromey@adacore.com>
6849
6850 * gdb.ada/dgopt.exp: New file.
6851 * gdb.ada/dgopt/x.adb: New file.
6852
8634b462
TT
68532019-09-08 Tom Tromey <tom@tromey.com>
6854
6855 * gdb.tui/resize.exp: Remove setup_xfail.
6856 * gdb.tui/regs.exp: Remove setup_xfail.
6857 * gdb.tui/basic.exp: Remove setup_xfail.
6858
736b0f76
DB
68592019-09-06 David Blaikie <dblaikie@gmail.com>
6860
6861 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6862 * gdb.cp/cplabel.exp: Ditto.
6863 * gdb.linespec/ls-errs.exp: Ditto.
6864
30331a6c
TV
68652019-09-05 Tom de Vries <tdevries@suse.de>
6866
6867 * lib/gdb.exp (cmp_file_string): New proc.
6868 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6869 runto_main. Verify save breakpoints output.
6870
98b0ebab
PW
68712019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6872
6873 * gdb.base/info-var.exp: Test info variables without running
6874 to main, to avoid expect's buffer overflow.
6875
4e962e74
TT
68762019-09-03 Tom Tromey <tromey@adacore.com>
6877
6878 * gdb.ada/bias.exp: New file.
6879 * gdb.ada/bias/bias.adb: New file.
6880 * gdb.ada/print_chars.exp: Add regression test.
6881 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6882 (MC): New variable.
6883
2ea1a07a
SL
68842019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6885
6886 * gdb.base/argv0-symlink.exp: Run only on native target
6887 and local host.
6888
8077c50d
TV
68892019-08-29 Tom de Vries <tdevries@suse.de>
6890
6891 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6892 diverse debug info.
6893 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6894
48352473
TV
68952019-08-28 Tom de Vries <tdevries@suse.de>
6896
6897 * gdb.base/info-var.exp: Allow info variables to print info for files
6898 other than info-var-f1.c and info-var-f2.c.
6899
d8f27c60
AB
69002019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6901
6902 * gdb.fortran/info-types.exp: Add module.
6903 * gdb.fortran/info-types.f90: Update expected results.
6904
1f20c35e
AB
69052019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6906
6907 * gdb.fortran/info-types.exp: New file.
6908 * gdb.fortran/info-types.f90: New file.
6909 * lib/fortran.exp (fortran_character1): New proc.
6910
4acfdd20
AB
69112019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6912
6913 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6914 functions'. Reindent as needed.
6915 * gdb.base/info-var-f1.c: New file.
6916 * gdb.base/info-var-f2.c: New file.
6917 * gdb.base/info-var.exp: New file.
6918 * gdb.base/info-var.h: New file.
6919
5c31b358
TV
69202019-08-26 Tom de Vries <tdevries@suse.de>
6921
6922 PR c++/24852
6923 * gdb.cp/no-libstdcxx-probe.exp: New test.
6924
b694989f
TV
69252019-08-26 Tom de Vries <tdevries@suse.de>
6926
6927 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6928 * tests need to be skipped.
6929 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6930 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6931 mi_skip_libstdcxx_probe_tests.
6932
d9c4ba53
SDJ
69332019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6934
6935 * gdb.python/py-xmethods.exp: Use raw strings when passing
6936 arguments to SimpleXMethodMatcher.
6937
395fad09
TV
69382019-08-22 Tom de Vries <tdevries@suse.de>
6939
6940 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6941 more informative.
6942
26c957f1
PA
69432019-08-21 Pedro Alves <palves@redhat.com>
6944
6945 * gdb.base/with.exp: Test "with" with no arguments.
6946
61f80d5d
TV
69472019-08-21 Tom de Vries <tdevries@suse.de>
6948
6949 * gdb.base/gdb-caching-proc.exp: Sort files.
6950
d7a11d13
TV
69512019-08-20 Tom de Vries <tdevries@suse.de>
6952
6953 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6954 compilation.
6955
34dafe9f
TV
69562019-08-16 Tom de Vries <tdevries@suse.de>
6957
6958 * gdb.base/compare-sections.exp ("after run to main"): Allow
6959 mismatched read-only sections for PIE executables.
6960
398fdd60
TT
69612019-08-16 Tom Tromey <tom@tromey.com>
6962
6963 * lib/tuiterm.exp (_csi_Z): New proc.
6964 * gdb.tui/basic.exp: Update window positions.
6965 * gdb.tui/empty.exp: Update window positions.
6966
d8f9e51c
SL
69672019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6968
6969 * gdb.base/examine-backward.exp: Correct regexp for
6970 "examine 3 bytes backward from ${address_zero}".
6971
3df505f6
TT
69722019-08-15 Tom Tromey <tom@tromey.com>
6973
6974 * gdb.tui/empty.exp: Enable resizing tests.
6975
272560b5
TT
69762019-08-15 Tom Tromey <tromey@adacore.com>
6977
6978 * gdb.ada/char_enum.exp: Add regression tests.
6979 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6980 and '0'.
6981 (Char, Gchar): Update.
6982 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6983
08235187
CB
69842019-08-15 Christian Biesinger <cbiesinger@google.com>
6985
6986 * gdb.python/python.exp: Expect a leading underscore on
6987 GdbOutput{,Error}File.
6988
22a2ab04
SL
69892019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6990
6991 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6992 Windows host.
6993
835b995b
SL
69942019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6995
6996 * gdb.base/batch-preserve-term-settings.exp
6997 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6998
97dd8e07
CB
69992019-08-15 Christian Biesinger <cbiesinger@google.com>
7000
7001 * lib/gdb.exp: When running on a mingw target, replace
7002 /x/ with x:/.
7003
75faf5c4
AH
70042019-08-14 Alan Hayward <alan.hayward@arm.com>
7005
7006 * gdb.arch/aarch64-prologue.c: New test.
7007 * gdb.arch/aarch64-prologue.exp: New file.
7008
abc6c00f
TV
70092019-08-13 Tom de Vries <tdevries@suse.de>
7010
7011 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7012 Thread.
7013
74c2c1f4
SL
70142019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7015
7016 * gdb.python/py-completion.exp: Download the .py file to the host
7017 and use its host pathname. Conditionalize tests that use
7018 tab completion and manipulate files on the build machine.
7019 * gdb.python/py-events.exp: Download the .py file to the host
7020 and use its host pathname.
7021 * gdb.python/py-evsignal.exp: Likewise.
7022 * gdb.python/py-evthreads.exp: Likewise.
7023 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7024 pathname syntax.
7025 * gdb.python/py-framefilter.exp: Download the .py file to the right
7026 place on the host. Match Windows pathname syntax.
7027 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7028 .py file to the host and use its host pathname.
7029 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7030 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7031 build pathname. Skip symlink test on Windows host. Add missing
7032 newline at end of file.
7033 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7034 and use its host pathname.
7035 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7036 * gdb.python/py-section-script.exp: Use host location of binfile
7037 on safe-path. Use correct path separator on Windows host.
7038 Reorder alternatives in gdb_test_multiple to prevent matching
7039 the wrong alternative on success.
7040 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7041
ca2589f3
PP
70422019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7043
7044 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7045 expect the GDB inferior to no longer immediately stop after
7046 being resumed with "signal SIGINT".
7047
020a839d
SL
70482019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7049
7050 * gdb.linespec/break-ask.exp: Generalize regexps to match
7051 Windows pathnames too.
7052
128d6509
TV
70532019-08-08 Tom de Vries <tdevries@suse.de>
7054
7055 PR testsuite/24862
7056 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7057
590042fc
PW
70582019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7059
7060 * gdb.base/style.exp: Update tests for help doc new invariants.
7061 * gdb.base/help.exp: Likewise.
7062
046bebe1
TT
70632019-08-06 Tom Tromey <tom@tromey.com>
7064
7065 * gdb.base/style.exp: Add disassemble test.
7066 * gdb.base/style.c (some_called_function): New function.
7067 (main): Use it.
7068
0b27c27d
CB
70692019-08-05 Christian Biesinger <cbiesinger@google.com>
7070
7071 * gdb.python/py-block.exp: Test dictionary access on blocks.
7072
580f1034
SM
70732019-08-05 Simon Marchi <simon.marchi@efficios.com>
7074
7075 PR gdb/24863
7076 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7077 -list-thread-groups --available test when running under
7078 check-read1.
7079
d86bd7cb
TV
70802019-08-05 Tom de Vries <tdevries@suse.de>
7081
7082 PR testsuite/24863
7083 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7084 * gdb.base/help.exp: Use with_read1_timeout_factor.
7085 * gdb.base/info-macros.exp: Same.
7086 * gdb.cp/nested-types.exp: Same.
7087
a80cf5d8
TV
70882019-08-05 Tom de Vries <tdevries@suse.de>
7089
7090 * lib/gdb.exp (version_at_least): Factor out of ...
7091 (tcl_version_at_least): ... here.
7092 (gdb_compile): Fail if pie results in non-PIE executable.
7093 (readelf_version, readelf_prints_pie): New proc.
7094 (exec_is_pie): Return -1 if unknown.
7095
d0962838
TV
70962019-08-05 Tom de Vries <tdevries@suse.de>
7097
7098 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7099
2252ff3d
SL
71002019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7101
7102 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7103
26655f53
SL
71042019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7105
7106 * lib/completion-support.exp (test_gdb_complete_none): Skip
7107 tab completion tests if no readline support.
7108 (test_gdb_complete_unique_re): Likewise.
7109 (test_gdb_complete_multiple): Likewise.
7110
db4dc13e
PW
71112019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7112
7113 * gdb.base/info_sources.exp: New file.
7114 * gdb.base/info_sources.c: New file.
7115 * gdb.base/info_sources_base.c: New file.
7116
0eba165a
PFC
71172019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7118
7119 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7120 prefix argument.
7121 (test_exit_status): Add prefix argument.
7122
59bd512b
TV
71232019-08-01 Tom de Vries <tdevries@suse.de>
7124
7125 PR testsuite/24863
7126 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7127 calling exp_continue for new thread and thread exited messages.
7128
2a3ad588
TV
71292019-08-01 Tom de Vries <tdevries@suse.de>
7130
7131 PR testsuite/24863
7132 * gdb.base/structs.exp: Fix check-read1 timeout using
7133 gdb_test_sequence.
7134 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7135
117eb594
TV
71362019-08-01 Tom de Vries <tdevries@suse.de>
7137
7138 PR testsuite/24863
7139 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7140 line.
7141
ed591340
TV
71422019-08-01 Tom de Vries <tdevries@suse.de>
7143
7144 PR testsuite/24863
7145 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7146
aa3b6533
TT
71472019-07-30 Tom Tromey <tromey@adacore.com>
7148
7149 * gdb.ada/display_nested.exp: New file.
7150 * gdb.ada/display_nested/foo.adb: New file.
7151 * gdb.ada/display_nested/pack.adb: New file.
7152 * gdb.ada/display_nested/pack.ads: New file.
7153
2906593f
CB
71542019-07-30 Christian Biesinger <cbiesinger@google.com>
7155
7156 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7157 namespace.
7158 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7159
0f575925
TV
71602019-07-30 Tom de Vries <tdevries@suse.de>
7161
7162 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7163 instead.
7164
b13057d9
TV
71652019-07-30 Tom de Vries <tdevries@suse.de>
7166
7167 PR testsuite/24834
7168 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7169 (exec_is_pie): New proc.
7170
5c4dde85
CB
71712019-07-29 Christian Biesinger <cbiesinger@google.com>
7172
7173 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7174
c620ed88
CB
71752019-07-29 Christian Biesinger <cbiesinger@google.com>
7176
7177 * gdb.python/py-objfile.c: Add global and static vars.
7178 * gdb.python/py-objfile.exp: Test new functions Objfile.
7179 lookup_global_symbol and lookup_static_symbol.
7180
3d235706
TT
71812019-07-29 Tom Tromey <tom@tromey.com>
7182
7183 * lib/tuiterm.exp (Term::_csi_@): New proc.
7184 (Term::_csi_X): Don't move cursor.
7185
c7e4c0a6
PW
71862019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7187
7188 * gdb.base/options.exp: Update backtrace - completion to
7189 new option -frame-info.
7190 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7191 Test new 'set print frame-info'. Test backtrace -frame-info
7192 overriding 'set print frame-info'.
7193 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7194 Test new 'set print frame-info'.
7195 Verify consistency of backtrace with and without filters, with and
7196 without -no-filters.
7197 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7198 default.
7199
de28a3b7
TV
72002019-07-29 Tom de Vries <tdevries@suse.de>
7201
7202 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7203 no arguments".
7204
507dd60e
TV
72052019-07-29 Tom de Vries <tdevries@suse.de>
7206
7207 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7208 is a substring of the first for "complete non-unique file name".
7209
5beafce9
TV
72102019-07-29 Tom de Vries <tdevries@suse.de>
7211
7212 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7213 with ".*".
7214
2d274232
TV
72152019-07-29 Tom de Vries <tdevries@suse.de>
7216
7217 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7218 Pass prompt_regexp parameter to gdb_test_multiple calls.
7219
9197cd8b
TV
72202019-07-29 Tom de Vries <tdevries@suse.de>
7221
7222 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7223 print registers" regexps.
9197cd8b 7224
b528dae0
TV
72252019-07-29 Tom de Vries <tdevries@suse.de>
7226
7227 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7228
d17725d7
TV
72292019-07-29 Tom de Vries <tdevries@suse.de>
7230
7231 PR gdb/24855
7232 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7233 (skip_python_tests_prompt): Add prompt_regexp argument to
7234 gdb_test_multiple calls.
7235
52b75bf1
TT
72362019-07-27 Tom Tromey <tom@tromey.com>
7237
7238 * gdb.tui/main.exp: New file.
7239
2b1d00c2
TT
72402019-07-27 Tom Tromey <tom@tromey.com>
7241
7242 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7243 optional.
7244 * gdb.tui/empty.exp: New file.
7245
ded631d5
TT
72462019-07-27 Tom Tromey <tom@tromey.com>
7247
7248 * lib/tuiterm.exp (spawn): New proc.
7249 (Term::resize): New proc.
7250 * gdb.tui/resize.exp: New file.
7251
58ac439d
TT
72522019-07-27 Tom Tromey <tom@tromey.com>
7253
7254 * gdb.tui/list.exp: New file.
7255
fe1f56ee
TT
72562019-07-27 Tom Tromey <tom@tromey.com>
7257
7258 * gdb.tui/regs.exp: New file.
7259
f790b310
TT
72602019-07-27 Tom Tromey <tom@tromey.com>
7261
7262 * gdb.tui/basic.exp: Add "layout split" test.
7263
d95fc6ee
TT
72642019-07-27 Tom Tromey <tom@tromey.com>
7265
7266 * gdb.tui/basic.exp: Add "layout asm" test.
7267
c3786b3a
TT
72682019-07-27 Tom Tromey <tom@tromey.com>
7269
7270 * lib/tuiterm.exp: New file.
7271 * gdb.tui/basic.exp: New file.
7272
98a617f8
KB
72732019-07-27 Kevin Buettner <kevinb@redhat.com>
7274
7275 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7276 Enable tests associated with this flag. Adjust regex
7277 referencing "foo_low" to now refer to "foo_cold" instead.
7278
5c076da4
KB
72792019-07-27 Kevin Buettner <kevinb@redhat.com>
7280
7281 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7282 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7283 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7284 foo_cold. Revise comments to match.
7285 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7286 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7287 were wrapped into this proc; Call do_test in loop from outermost
7288 level.
7289 (foo_low): Rename all occurrences to "foo_cold".
7290 (backtrace from baz): New test.
7291 (x2/i foo_cold): New test.
7292 (info line *foo_cold): New test.
7293
1512d3b7
TV
72942019-07-26 Tom de Vries <tdevries@suse.de>
7295
7296 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7297
297989a1
TV
72982019-07-25 Tom de Vries <tdevries@suse.de>
7299
7300 PR testsuite/24830
7301 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7302 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7303 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7304 (skip_libstdcxx_probe_tests): ... here.
7305 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7306
b3b965fb
TV
73072019-07-24 Tom de Vries <tdevries@suse.de>
7308
7309 PR testsuite/24807
7310 * gdb.objc/basicclass.m: Include stdio.h.
7311 * gdb.objc/nondebug.m: Same.
7312 * gdb.objc/objcdecode.m: Same.
7313
4625b4d0
TV
73142019-07-24 Tom de Vries <tdevries@suse.de>
7315
7316 PR testsuite/24612
7317 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7318 additional_flags.
7319
024a5840
TV
73202019-07-24 Tom de Vries <tdevries@suse.de>
7321
7322 PR testsuite/24831
7323 * gdb.multi/tids.exp: Update error messages for info threads.
7324
c76ddaa3
TV
73252019-07-24 Tom de Vries <tdevries@suse.de>
7326
7327 * gdb.base/info-types.exp: Allow info types to print info for more than
7328 one file.
7329
9a618ef6
TV
73302019-07-23 Tom de Vries <tdevries@suse.de>
7331
7332 PR testsuite/24842
7333 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7334 gdb_spawn_with_cmdline_opts.
7335
40eadf04
SP
73362019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7337
7338 * gdb.arch/arm-cmse-sgstubs.c: New test.
7339 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7340
5ba29434
TV
73412019-07-23 Tom de Vries <tdevries@suse.de>
7342
7343 PR testsuite/24711
7344 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7345 issuing next command.
7346
a8e9d247
AB
73472019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7348
7349 * gdb.ada/info_auto_lang.exp: Update expected results.
7350 * gdb.base/info-types.c: Add additional types to check.
7351 * gdb.base/info-types.exp: Update expected results.
7352
eb86c5e2
AB
73532019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7354
7355 * gdb.base/info-types.c: New file.
7356 * gdb.base/info-types.exp: New file.
7357
01e175fe
AB
73582019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7359
7360 * gdb.arch/riscv-bp-infcall.c: New file.
7361 * gdb.arch/riscv-bp-infcall.exp: New file.
7362
6b78c3f8
AB
73632019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7364
7365 PR breakpoints/24541
7366 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7367
da738167
TV
73682019-07-14 Tom de Vries <tdevries@suse.de>
7369
7370 PR testsuite/24760
7371 * gdb.objc/basicclass.exp: Fix unterminated string.
7372
0d4e84ed
AB
73732019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7374 Andrew Burgess <andrew.burgess@embecosm.com>
7375
7376 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7377 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7378 negative bounds.
7379 * gdb.fortran/vla-value.exp: Print elements of an array with
7380 negative bounds.
7381 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7382 testing.
7383
021d8588
AB
73842019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7385
7386 * gdb.base/options.exp (expect_string): Dequote strings in
7387 results.
7388 (test-string): Test strings with different quoting and reindent.
7389
f06f1252
TT
73902019-07-10 Tom Tromey <tromey@adacore.com>
7391
7392 * gdb.ada/mi_ex_cond.exp: Update expected results.
7393 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7394 * gdb.ada/mi_catch_ex.exp: Update expected results.
7395 * gdb.ada/mi_catch_assert.exp: Update expected results.
7396 * gdb.ada/catch_ex.exp (catch_exception_info)
7397 (catch_exception_entry, catch_assert_entry)
7398 (catch_unhandled_entry): Update.
7399 * gdb.ada/catch_assert_if.exp: Update expected results.
7400
b863685d
RB
74012019-07-10 Richard Bunt <richard.bunt@arm.com>
7402 Stephen Roberts <stephen.roberts@arm.com>
7403
7404 * gdb.base/define.exp: Restore original prompt.
7405
cb1e4e32
PA
74062019-07-09 Pedro Alves <palves@redhat.com>
7407
7408 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7409 breakpoints" output.
7410 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7411 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7412 throw" creates breakpoint.
7413 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7414 'type="catchpoint"'.
7415
b58a68fe
PA
74162019-07-09 Pedro Alves <palves@redhat.com>
7417
7418 PR c++/15468
7419 * gdb.cp/except-multi-location-lib.cc: New.
7420 * gdb.cp/except-multi-location-main.cc: New.
7421 * gdb.cp/except-multi-location.exp: New.
7422
0826779b
PW
74232019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7424
7425 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7426 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7427 argument and update callers.
7428
5b0e2db4
AB
74292019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7430
7431 * gdb.arch/amd64-break-on-asm-line.S: New file.
7432 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7433
1f6f6e21
PW
74342019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7435
7436 * gdb.base/printcmds.exp: Test printing C string and
7437 C wide string convenience vars without transiting via the inferior.
7438 Also make test names unique.
7439
ea142fbf
AH
74402019-07-08 Alan Hayward <alan.hayward@arm.com>
7441
5862c886 7442 PR breakpoints/25011
ea142fbf
AH
7443 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7444
213fd9fa
PA
74452019-07-04 Pedro Alves <palves@redhat.com>
7446
7447 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7448 body returned ok(0), break(3) or continue(4).
7449 * gdb.testsuite/foreach_with_prefix.exp: New file.
7450
2b40fda7
AH
74512019-07-04 Alan Hayward <alan.hayward@arm.com>
7452
7453 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7454
a26c8de0
PA
74552019-07-03 Pedro Alves <palves@redhat.com>
7456
7457 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7458 "return -code".
7459
5f4ba3e7
PA
74602019-07-03 Pedro Alves <palves@redhat.com>
7461
7462 PR cli/24732
7463 * gdb.base/shell.exp: Load completion-support.exp.
7464 Adjust expected error output. Add completion tests.
7465
a994424f
PA
74662019-07-03 Pedro Alves <palves@redhat.com>
7467
7468 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7469 string_to_regexp.
7470
3d9be6f5
PA
74712019-07-03 Pedro Alves <palves@redhat.com>
7472
7473 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7474 (expect_integer): Adjust to expect "-string".
7475 (expect_string): New.
7476 (all_options): Expect "-string".
7477 (test-flag, test-boolean): Adjust to expect "-string".
7478 (test-string): New proc.
7479 (top level): Call it.
7480
41fc454c
PA
74812019-07-03 Pedro Alves <palves@redhat.com>
7482
7483 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7484 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7485 the expected output in the success.
7486
b2b2a215
PA
74872019-07-03 Pedro Alves <palves@redhat.com>
7488
7489 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7490 Split one gdb_test_multiple call in two to avoid a race.
7491
fdbc9870
PA
74922019-07-03 Pedro Alves <palves@redhat.com>
7493
7494 * gdb.base/with.c: New file.
7495 * gdb.base/with.exp: New file.
7496
c6ac8931
PA
74972019-07-03 Pedro Alves <palves@redhat.com>
7498
7499 * gdb.base/settings.exp: Replace all references to "maint
7500 test-settings set" with references to "maint set test-settings",
7501 and all references to "maint test-settings show" with references
7502 to "maint show test-settings".
7503
970f9d09
PA
75042019-07-03 Pedro Alves <palves@redhat.com>
7505
7506 * gdb.base/settings.exp (test-string): Adjust expected out when
7507 testing "maint test-settings show filename"
7508
54d66006
PA
75092019-07-02 Pedro Alves <palves@redhat.com>
7510
7511 * gdb.base/options.exp (test-info-threads): New procedure.
7512 (top level): Call it.
7513
10d06d82
TT
75142019-06-28 Tom Tromey <tromey@adacore.com>
7515
7516 * gdb.dwarf2/ada-linkage-name.c: New file.
7517 * gdb.dwarf2/ada-linkage-name.exp: New file.
7518
3d507ff2
TT
75192019-06-27 Tom Tromey <tromey@adacore.com>
7520
d039f014 7521 PR c++/20020:
3d507ff2
TT
7522 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7523
8af58ffe
TV
75242019-06-26 Tom de Vries <tdevries@suse.de>
7525
7526 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7527
22e21752
TV
75282019-06-26 Tom de Vries <tdevries@suse.de>
7529
7530 * gdb.base/index-cache.exp: Add back missing debug option.
7531
b65b566c
PW
75322019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7533
7534 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7535
5c2c8c69
TV
75362019-06-25 Tom de Vries <tdevries@suse.de>
7537
7538 PR testsuite/24727
7539 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7540
164e3873
TV
75412019-06-24 Tom de Vries <tdevries@suse.de>
7542
7543 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7544
824eacee
TV
75452019-06-24 Tom de Vries <tdevries@suse.de>
7546
7547 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7548 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7549 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7550
385b97d3
TV
75512019-06-24 Tom de Vries <tdevries@suse.de>
7552
7553 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7554
c596f180
TV
75552019-06-21 Tom de Vries <tdevries@suse.de>
7556
7557 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7558
b13a7d03
TV
75592019-06-21 Tom de Vries <tdevries@suse.de>
7560
7561 PR testsuite/24518
7562 PR ada/24713
7563 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7564 index.
7565
899277ae
TT
75662019-06-19 Tom Tromey <tromey@adacore.com>
7567
7568 * gdb.ada/length_cond.exp: Add intro comment.
7569
680e1bee
TT
75702019-06-19 Tom Tromey <tromey@adacore.com>
7571
7572 * gdb.ada/length_cond.exp: New file.
7573 * gdb.ada/length_cond/length_cond.adb: New file.
7574 * gdb.ada/length_cond/pck.adb: New file.
7575 * gdb.ada/length_cond/pck.ads: New file.
7576
0ed4690a
TV
75772019-06-18 Tom de Vries <tdevries@suse.de>
7578
7579 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7580
d20ed5fd
TT
75812019-06-18 Tom Tromey <tromey@adacore.com>
7582
7583 * gdb.base/list0.h: Add comment explaining control character.
7584
86e04673
TV
75852019-06-18 Tom de Vries <tdevries@suse.de>
7586
7587 * boards/fission.exp: Break up long debug_flags line.
7588
c4973306
SM
75892019-06-16 Tom de Vries <tdevries@suse.de>
7590
7591 PR gdb/24445
7592 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7593 generated index.
7594
93cb9841
AB
75952019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7596
7597 PR gdb/24686
7598 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7599 improve detection of bug gdb/24541.
7600
399aaebd
SM
76012019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7602
7603 PR gdb/24669
7604 * gdb.base/index-cache.exp (uses_readnow,
7605 expecting_index_cache_use): Define global variable.
7606 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7607 expecting_index_cache_use.
7608
584a927c
AB
76092019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7610 Andrew Burgess <andrew.burgess@embecosm.com>
7611
7612 * gdb.fortran/pointers.f90: New file.
7613 * gdb.fortran/print_type.exp: New file.
7614 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7615 * gdb.fortran/vla-type.exp: Likewise.
7616 * gdb.fortran/vla-value.exp: Likewise.
7617 * gdb.mi/mi-vla-fortran.exp: Likewise.
7618
30056ea0
AB
76192019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7620
7621 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7622 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7623 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7624 as a stop reason.
7625
ec8e2b6d
AB
76262019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7627
7628 * gdb.base/annota1.exp: Update expected results.
7629 * gdb.cp/annota2.exp: Likewise.
7630 * gdb.cp/annota3.exp: Likewise.
7631
09e4c4e1
AB
76322019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7633
7634 * gdb.base/style-logging.exp: Remove path from test name.
7635
0735b091
TT
76362019-06-14 Tom Tromey <tromey@adacore.com>
7637
7638 PR gdb/24502:
7639 * gdb.base/style-logging.exp: New file.
7640
f5686554
TT
76412019-06-14 Tom Tromey <tromey@adacore.com>
7642
7643 * gdb.base/symfile-warn.exp: New file.
7644 * gdb.base/symfile-warn.c: New file.
7645
a0c1ffed
TT
76462019-06-14 Tom Tromey <tromey@adacore.com>
7647
7648 * gdb.base/annotate-symlink.exp: New file.
7649
f411722c
TT
76502019-06-14 Tom Tromey <tromey@adacore.com>
7651
7652 * gdb.ada/set_wstr.exp: Add reassignment test.
7653
4268ec18
TT
76542019-06-14 Tom Tromey <tromey@adacore.com>
7655
7656 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7657 'unchecked_access and 'unrestricted_access as well.
7658
9a9e394b
TT
76592019-06-14 Tom Tromey <tromey@adacore.com>
7660
7661 PR ada/24539:
7662 * gdb.ada/vla.exp: Update tests.
7663 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7664 pragma.
7665
4c048731
PA
76662019-06-13 Pedro Alves <palves@redhat.com>
7667
7668 * gdb.base/settings.exp (test-integer): Test junk after
7669 "unlimited".
7670
6665660a
PA
76712019-06-13 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.base/options.exp (test-thread-apply): New.
7674 (top level): Call it.
7675
5d707134
PA
76762019-06-13 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.base/options.exp (test-frame-apply): New.
7679 (top level): Test print commands with different "frame apply"
7680 prefixes.
7681
e2a689da
PA
76822019-06-13 Pedro Alves <palves@redhat.com>
7683
e79be6e5 7684 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7685 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7686 'max_completions' parameter and handle it.
7687 (test_gdb_completion_offers_commands): New.
7688
90a1ef87
PA
76892019-06-13 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7692
d4c16835
PA
76932019-06-13 Pedro Alves <palves@redhat.com>
7694
7695 * gdb.base/options.exp (test-backtrace): New.
7696 (top level): Call it.
7697
2daf894e
PA
76982019-06-13 Pedro Alves <palves@redhat.com>
7699
7700 * gdb.guile/scm-frame-args.exp: Use "set print
7701 raw-frame-arguments" instead of "set print raw frame-arguments".
7702 * gdb.python/py-frame-args.exp: Likewise.
7703
e6ed716c
PA
77042019-06-13 Pedro Alves <palves@redhat.com>
7705
7706 * gdb.compile/compile.exp: Adjust expected output to option
7707 processing changes.
7708
7d8062de
PA
77092019-06-13 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/options.exp: Build executable.
7712 (test-print): New procedure.
7713 (top level): Call it, once for "print" and another for "compile
7714 print".
7715
9d0faba9
PA
77162019-06-13 Pedro Alves <palves@redhat.com>
7717
7718 * gdb.base/options.c: New file.
7719 * gdb.base/options.exp: New file.
7720
dee7b4c8
PA
77212019-06-13 Pedro Alves <palves@redhat.com>
7722
7723 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7724 that "o" is ambiguous.
7725
dca0f6c0
PA
77262019-06-13 Pedro Alves <palves@redhat.com>
7727
7728 * gdb.base/settings.c: New file.
7729 * gdb.base/settings.exp: New file.
7730
ccf46844
PA
77312019-06-13 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/completion.exp: Fix comment typo.
7734
b9a3f842
PA
77352019-06-13 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7738 foo --1" test.
7739
d106773e
PA
77402019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7741
7742 * gdb.fortran/block-data.f: New.
7743 * gdb.fortran/block-data.exp: New.
7744
fea82da0
TV
77452019-06-11 Tom de Vries <tdevries@suse.de>
7746
7747 PR testsuite/24521
7748 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7749 message.
7750
8c2e74f1
TV
77512019-06-11 Tom de Vries <tdevries@suse.de>
7752
7753 PR testsuite/24521
7754 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7755
b49851c8
TV
77562019-06-11 Tom de Vries <tdevries@suse.de>
7757
7758 * boards/readnow.exp: New file.
7759
a7067863
AB
77602019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7761
7762 * gdb.fortran/vla-sizeof.exp: Update expected results.
7763
1a3da2cd
AB
77642019-06-06 Amos Bird <amosbird@gmail.com>
7765
7766 * gdb.base/annota1.exp (thread_switch): Add test for
7767 thread-exited annotation.
7768
3847a7bf
TT
77692019-06-06 Tom Tromey <tromey@adacore.com>
7770
7771 * gdb.base/maint.exp: Expect command started/finished output.
7772
0088ba59
AB
77732019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7774
7775 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7776 comment.
7777 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7778
312617a3
AB
77792019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7780
7781 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7782 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7783 * gdb.arch/riscv-unwind-long-insn.c: New file.
7784 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7785
e1f2e1a2
CB
77862019-06-04 Christian Biesinger <cbiesinger@google.com>
7787
d3238f7d 7788 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7789
206584bd
PW
77902019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7791
7792 * lib/gdb.exp (help_list_trailer): New regexp variable
7793 factorizing the help trailer message.
7794 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7795 arg to allow to better factorize various tests.
7796 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7797 (test_prefix_command_help): Use help_list_trailer.
7798 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7799 * gdb.guile/scm-cmd.exp: Likewise.
7800 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7801 * gdb.base/help.exp: Use test_user_defined_class_help.
7802 * gdb.base/style.exp: Add tests for styling of help and apropos.
7803 * lib/gdb-utils.exp (style): Add title and highlight styles.
7804
708dc93e
PW
78052019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7806
7807 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7808 $_shell_exitsignal.
7809 * gdb.base/default.exp: Update for new convenience variables.
7810
f49055a5
TT
78112019-05-29 Tom Tromey <tromey@adacore.com>
7812
7813 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7814 to "break complete ada" test case's regexp.
7815
4330d61d
TT
78162019-05-29 Tom Tromey <tromey@adacore.com>
7817
7818 PR c++/20020:
7819 * gdb.cp/constexpr-field.exp: New file.
7820 * gdb.cp/constexpr-field.cc: New file.
7821
000439d5
TT
78222019-05-29 Tom Tromey <tromey@adacore.com>
7823
7824 * gdb.base/finish.exp (finish_no_print): New proc.
7825 (finish_tests): Call it.
7826
5a01c34c
TV
78272019-05-24 Tom de Vries <tdevries@suse.de>
7828
7829 * gdb.dwarf2/gdb-add-index.exp: New file.
7830
18125b16
TT
78312019-05-22 Tom Tromey <tromey@adacore.com>
7832
7833 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7834 * gdb.base/style.exp: Use "style".
7835 * lib/gdb-utils.exp (style): New proc.
7836
af1a8d03
TV
78372019-05-22 Tom de Vries <tdevries@suse.de>
7838
7839 * gdb.base/align.exp: Require c++11.
7840
e7fe496b
TV
78412019-05-22 Tom de Vries <tdevries@suse.de>
7842
7843 PR testsuite/24586
7844 * gdb.python/py-mi-var-info-path-expression.exp: Call
7845 mi_skip_python_tests to check if python is supported.
7846
8fca4da0
AH
78472019-05-22 Alan Hayward <alan.hayward@arm.com>
7848
7849 * gdb.arch/aarch64-pauth.c: New test.
7850 * gdb.arch/aarch64-pauth.exp: New file.
7851
b7060614
AH
78522019-05-22 Alan Hayward <alan.hayward@arm.com>
7853
7854 * README (Re-running Tests Outside The Testsuite): New section.
7855
669d0468
TV
78562019-05-21 Tom de Vries <tdevries@suse.de>
7857
7858 * gdb.arch/amd64-eval.exp: Require c++11.
7859 * gdb.base/max-depth.exp: Same.
7860 * gdb.compile/compile-cplus-array-decay.exp: Same.
7861 * gdb.cp/meth-typedefs.exp: Same.
7862 * gdb.cp/subtypes.exp: Same.
7863 * gdb.cp/temargs.exp: Same.
7864
ce3ebcaa
AH
78652019-05-21 Alan Hayward <alan.hayward@arm.com>
7866
7867 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7868
34d11c68
AB
78692019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7870
7871 PR gdb/18644
7872 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7873 * gdb.fortran/printing-types.exp: Add new test.
7874 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7875 testing.
7876 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7877 setup_kfail call.
7878
87781e84
AH
78792019-05-17 Alan Hayward <alan.hayward@arm.com>
7880
7881 * README (Running the Testsuite): Change example.
7882 (Testsuite Parameters): Remove TRANSCRIPT.
7883 * lib/gdb.exp: Remove TRANSCRIPT check.
7884
b420b89e
AH
78852019-05-17 Alan Hayward <alan.hayward@arm.com>
7886
7887 * README (Testsuite Parameters): Add replay logging to
7888 GDBSERVER_DEBUG.
7889 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7890 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7891 as a comma separated list.
7892 (gdb_debug_init): Override procedure.
7893
408e9b8b
AH
78942019-05-17 Alan Hayward <alan.hayward@arm.com>
7895
7896 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7897 (gdb_write_cmd_file): New procedure.
7898 * lib/gdbserver-support.exp (gdbserver_start): Call
7899 gdbserver_write_cmd_file.
7900 (gdbserver_write_cmd_file): New procedure.
7901
f9e2e39d
AH
79022019-05-17 Alan Hayward <alan.hayward@arm.com>
7903
7904 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7905 (delete_breakpoints): Likewise.
7906 (gdb_run_cmd): Likewise.
7907 (gdb_start_cmd): Likewise.
7908 (gdb_starti_cmd): Likewise.
7909 (gdb_internal_error_resync): Likewise.
7910 (gdb_test_multiple): Likewise.
7911 (gdb_reinitialize_dir): Likewise.
7912 (default_gdb_exit): Likewise.
7913 (gdb_file_cmd): Mark kill as optional.
7914 (default_gdb_start): Call gdb_stdin_log_init.
7915 (send_gdb): Call gdb_stdin_log_write.
7916 (rerun_to_main): Mark Y as an answer.
7917 (gdb_stdin_log_init): New function.
7918 (gdb_stdin_log_write): Likewise.
7919
81f47ac2
AH
79202019-05-17 Alan Hayward <alan.hayward@arm.com>
7921
7922 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7923 * gdb.base/debug-expr.exp: Likewise.
7924 * gdb.base/foll-fork.exp: Likewise.
7925 * gdb.base/foll-vfork.exp: Likewise.
7926 * gdb.base/fork-print-inferior-events.exp: Likewise.
7927 * gdb.base/gdb-sigterm.exp: Likewise.
7928 * gdb.base/gdbinit-history.exp: Likewise.
7929 * gdb.base/osabi.exp: Likewise.
7930 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7931 * gdb.base/ui-redirect.exp: Likewise.
7932 * gdb.gdb/unittest.exp: Likewise.
7933 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7934 * gdb.mi/mi-watch.exp: Likewise.
7935 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7936 * gdb.mi/user-selected-context-sync.exp: Likewise.
7937 * gdb.python/python.exp: Disable debug test when debugging.
7938 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7939 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7940 Likewise.
7941 * gdb.threads/stepi-random-signal.exp: Likewise.
7942
29b52314
AH
79432019-05-17 Alan Hayward <alan.hayward@arm.com>
7944
7945 * Makefile.in: Pass through GDB_DEBUG.
7946 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7947 (gdb,debug): Add board setting.
7948 * lib/gdb.exp (default_gdb_start): Start debugging.
7949 (gdb_debug_enabled): New procedure.
7950 (gdb_debug_init): Likewise.
29b52314
AH
7951
79522019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7953
29b52314
AH
7954 * Makefile.in: Pass through GDB_DEBUG.
7955 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7956 (gdb,debug): Add board setting.
7957 * lib/gdb.exp (default_gdb_start): Start debugging.
7958 (gdb_debug_enabled): New procedure.
7959 (gdb_debug_init): Likewise.
29b52314 7960
ca1285d1
AH
79612019-05-17 Alan Hayward <alan.hayward@arm.com>
7962
7963 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7964
f3a09c80
AH
79652019-05-17 Alan Hayward <alan.hayward@arm.com>
7966
7967 * gdb.base/ui-redirect.exp: Test redirection.
7968
26648588
JV
79692019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7970
7971 * gdb.mi/mi-complete.exp: New file.
7972 * gdb.mi/mi-complete.cc: Likewise.
7973
14237686
AB
79742019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7975
7976 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7977 indexed and sliced arrays, and pointers to arrays.
7978
e7bd7fba
TT
79792019-05-14 Tom Tromey <tromey@adacore.com>
7980
7981 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7982 styling test.
7983
2764128d
TV
79842019-05-14 Tom de Vries <tdevries@suse.de>
7985
7986 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7987 selection entry encoding.
7988
71bed2db
TT
79892019-05-10 Tom Tromey <tromey@adacore.com>
7990
7991 * gdb.ada/info_exc.exp: Add "complete" test.
7992
63b667ad
TV
79932019-05-09 Tom de Vries <tdevries@suse.de>
7994
7995 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7996 CU-relative.
7997
9cfd2b89
TV
79982019-05-09 Tom de Vries <tdevries@suse.de>
7999
8000 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8001 CU-relative.
8002
2228ef77
XR
80032019-05-08 Joel Brobecker <brobecker@adacore.com>
8004
8005 * gdb.ada/frame_arg_lang.exp: New testcase.
8006 * gdb.ada/frame_arg_lang/bla.adb: New file.
8007 * gdb.ada/frame_arg_lang/pck.ads: New file.
8008 * gdb.ada/frame_arg_lang/pck.adb: New file.
8009 * gdb.ada/frame_arg_lang/foo.c: New file.
8010
80e55b13
TT
80112019-05-08 Tom Tromey <tromey@adacore.com>
8012
8013 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8014
9d3421af
TT
80152019-05-08 Tom Tromey <tromey@adacore.com>
8016
8017 * gdb.base/ptype-offsets.exp: Update tests.
8018
844333e2
TT
80192019-05-08 Tom Tromey <tromey@adacore.com>
8020
8021 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8022 cases.
8023 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8024 "short".
8025
988915ee
TT
80262019-05-08 Tom Tromey <tromey@adacore.com>
8027
8028 * gdb.ada/vla.exp: New file.
8029 * gdb.ada/vla/vla.adb: New file.
8030
7bd55dac
TV
80312019-05-07 Tom de Vries <tdevries@suse.de>
8032
8033 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8034
75f06e9d
TV
80352019-05-07 Tom de Vries <tdevries@suse.de>
8036
8037 PR testsuite/24522
8038 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8039 section.
8040
77e7aaa4
TV
80412019-05-07 Tom de Vries <tdevries@suse.de>
8042
8043 PR testsuite/24522
8044 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8045 .debug_aranges section.
8046
456ba0fa
TV
80472019-05-07 Tom de Vries <tdevries@suse.de>
8048
8049 PR testsuite/24159
8050 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8051
5a56d6a6
TV
80522019-05-06 Tom de Vries <tdevries@suse.de>
8053
8054 * lib/gdb.exp (exec_has_index_section): New proc.
8055 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8056 section.
8057
9d6d4be8
TV
80582019-05-04 Tom de Vries <tdevries@suse.de>
8059
8060 * boards/cc-with-debug-names.exp: New file.
8061
222a8d25
TT
80622019-05-03 Tom Tromey <tromey@adacore.com>
8063
8064 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8065 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8066 * gdb.ada/char_enum.exp: Add test.
8067
0fdfd794
TV
80682019-05-03 Tom de Vries <tdevries@suse.de>
8069
8070 * boards/cc-with-gdb-index.exp: New file.
8071
80062eb9
AB
80722019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8073
8074 * gdb.rust/simple.exp: Add new test case.
8075 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8076 (main): Initialise an instance of the new struct.
8077
4504bbde
TT
80782019-05-01 Tom Tromey <tromey@adacore.com>
8079
8080 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8081 record.
8082 (NPR): New variable.
8083 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8084 test.
8085
d48e62f4
TT
80862019-05-01 Tom Tromey <tromey@adacore.com>
8087
8088 * gdb.ada/packed_array_assign.exp: Add packed assignment
8089 regression test.
8090
f59f30f5
TV
80912019-05-01 Tom de Vries <tdevries@suse.de>
8092
8093 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8094
b70bfc54
TV
80952019-05-01 Tom de Vries <tdevries@suse.de>
8096
8097 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8098
15f18d14
AT
80992019-04-30 Ali Tamur <tamur@google.com>
8100
8101 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8102
2ff0a947
TT
81032019-04-30 Tom Tromey <tromey@adacore.com>
8104
8105 * lib/ada.exp (find_ada_tool): New proc.
8106 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8107 * gdb.ada/catch_ex_std.exp: New file.
8108 * gdb.ada/catch_ex_std/foo.adb: New file.
8109 * gdb.ada/catch_ex_std/some_package.adb: New file.
8110 * gdb.ada/catch_ex_std/some_package.ads: New file.
8111
a776957c
TT
81122019-04-30 Tom Tromey <tromey@adacore.com>
8113
8114 PR c++/24470:
8115 * gdb.cp/temargs.cc: Add test code from PR.
8116
bc68014d
AB
81172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8118
8119 * gdb.fortran/vla-datatypes.exp: Update expected results.
8120 * gdb.fortran/vla-ptype.exp: Likewise.
8121 * gdb.fortran/vla-type.exp: Likewise.
8122 * gdb.fortran/vla-value.exp: Likewise.
8123
f1fdc960
AB
81242019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8125
8126 * gdb.fortran/ptr-indentation.exp: Update expected results.
8127 * gdb.fortran/ptype-on-functions.exp: Likewise.
8128 * gdb.fortran/vla-ptr-info.exp: Likewise.
8129 * gdb.fortran/vla-value.exp: Likewise.
8130
bf7a4de1
AB
81312019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8132
8133 * gdb.fortran/ptype-on-functions.exp: New file.
8134 * gdb.fortran/ptype-on-functions.f90: New file.
8135
bbe75b9d
AB
81362019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8137
8138 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8139 case void string.
8140
1db455a7
AB
81412019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8142
8143 * gdb.fortran/complex.exp: Expand.
8144 * gdb.fortran/complex.f: Renamed to...
8145 * gdb.fortran/complex.f90: ...this, and extended to add more
8146 complex values.
8147
b6d03bb2
AB
81482019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8149
8150 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8151 MODULO, CMPLX.
8152
2e62ab40
AB
81532019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8154 Richard Bunt <richard.bunt@arm.com>
8155
8156 * gdb.base/max-depth.c: New file.
8157 * gdb.base/max-depth.exp: New file.
8158 * gdb.python/py-nested-maps.c: New file.
8159 * gdb.python/py-nested-maps.exp: New file.
8160 * gdb.python/py-nested-maps.py: New file.
8161 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8162 (test_all_common): Call test_max_depth.
8163 * gdb.fortran/max-depth.exp: New file.
8164 * gdb.fortran/max-depth.f90: New file.
8165 * gdb.go/max-depth.exp: New file.
8166 * gdb.go/max-depth.go: New file.
8167 * gdb.modula2/max-depth.exp: New file.
8168 * gdb.modula2/max-depth.c: New file.
8169 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8170
d2b584a5
TV
81712019-04-29 Tom de Vries <tdevries@suse.de>
8172
8173 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8174
136afab8
PW
81752019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8176
8177 * gdb.base/callexit.exp: Test may-call-functions off.
8178
725cbb63
KS
81792019-04-25 Keith Seitz <keiths@redhat.com>
8180
8181 PR c++/24367
8182 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8183 (another_incomplete_struct, test_incomplete): New definitions.
8184 (main): Use new definitions.
8185 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8186 functions.
8187
701adfb0
PA
81882019-04-25 Ali Tamur <tamur@google.com>
8189
8190 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8191
82433e3e
SDJ
81922019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8193
8194 PR corefiles/11608
8195 PR corefiles/18187
8196 * gdb.base/coredump-filter-build-id.exp: New file.
8197
dd06d4d6
AH
81982019-04-25 Alan Hayward <alan.hayward@arm.com>
8199
e79be6e5
SM
8200 * Makefile.in: Pass through GDBSERVER_DEBUG.
8201 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8202 (gdbserver,debug): Add board setting.
8203 * gdb.trace/tspeed.exp: Skip when debugging.
8204 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8205 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8206
1670072e
TT
82072019-04-24 Tom Tromey <tromey@adacore.com>
8208
8209 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8210 Rust.
8211
a59240a4
TT
82122019-04-24 Tom Tromey <tromey@adacore.com>
8213
8214 * gdb.arch/amd64-eval.exp: Test bitfield return.
8215 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8216 (class Foo) <return_bitfields>: New method.
8217 (main): Call it.
8218
b907456c
AB
82192019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8220
8221 * gdb.cp/many-args.cc: New file.
8222 * gdb.cp/many-args.exp: New file.
8223
5c565afd
TV
82242019-04-23 Tom de Vries <tdevries@suse.de>
8225
8226 PR gdb/24433
8227 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8228
ba22ff86
AH
82292019-04-23 Alan Hayward <alan.hayward@arm.com>
8230
8231 * gdb.trace/backtrace.exp: Use nopie flag.
8232 * gdb.trace/circ.exp: Likewise.
8233 * gdb.trace/collection.exp: Likewise.
8234 * gdb.trace/ftrace.exp: Likewise.
8235 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8236 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8237 * gdb.trace/qtro.exp: Likewise.
8238 * gdb.trace/read-memory.exp: Likewise.
8239 * gdb.trace/report.exp: Likewise.
8240 * gdb.trace/tfile.exp: Likewise.
8241 * gdb.trace/tfind.exp: Likewise.
8242 * gdb.trace/unavailable.exp: Likewise.
8243
7905fc35
PA
82442019-04-22 Pedro Alves <palves@redhat.com>
8245
8246 * gdb.base/solib-probes-nosharedlibrary.c,
8247 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8248
8ecb59f8
TT
82492019-04-19 Tom Tromey <tromey@adacore.com>
8250
8251 * gdb.ada/ptype_union.c: New file.
8252 * gdb.ada/ptype_union.exp: New file.
8253
62160ec9
TT
82542019-04-19 Tom Tromey <tromey@adacore.com>
8255
8256 PR symtab/24423:
8257 * gdb.base/list0.h (foo): Add a control-l character.
8258
36cd4ba5
TV
82592019-04-18 Tom de Vries <tdevries@suse.de>
8260
8261 PR gdb/24433
8262 * boards/local-board.exp: Set sysroot to "".
8263
b73715df
TV
82642019-04-18 Tom de Vries <tdevries@suse.de>
8265 Pedro Alves <palves@redhat.com>
8266
8267 PR gdb/24454
8268 * gdb.threads/vfork-follow-child-exec.c: New file.
8269 * gdb.threads/vfork-follow-child-exec.exp: New file.
8270 * gdb.threads/vfork-follow-child-exit.c: New file.
8271 * gdb.threads/vfork-follow-child-exit.exp: New file.
8272
4aa866af
LS
82732019-04-15 Leszek Swirski <leszeks@google.com>
8274
8275 * gdb.arch/amd64-eval.cc: New file.
8276 * gdb.arch/amd64-eval.exp: New file.
8277
e5a1a79a
AH
82782019-04-11 Alan Hayward <alan.hayward@arm.com>
8279
8280 * gdb.server/sysroot.c: New test.
8281 * gdb.server/sysroot.exp: New file.
8282 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8283 matching param.
8284
41077b66
AB
82852019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8286
8287 * gdb.base/align.exp: Extend test to cover structures containing
8288 only static fields.
8289
c30391f8
TV
82902019-04-11 Tom de Vries <tdevries@suse.de>
8291
8292 * boards/cc-with-dwz-m.exp: New file.
8293 * boards/cc-with-dwz.exp: New file.
8294 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8295
e242fd12
SM
82962019-04-09 Simon Marchi <simon.marchi@efficios.com>
8297
8298 * gdb.base/start-cpp.exp: New file.
8299 * gdb.base/start-cpp.cc: New file.
8300
2b0c8b01
KB
83012019-04-08 Kevin Buettner <kevinb@redhat.com>
8302
8303 * gdb.python/py-thrhandle.exp: Adjust tests to call
8304 thread_from_handle instead of thread_from_thread_handle.
8305
947210e5
KB
83062019-04-08 Kevin Buettner <kevinb@redhat.com>
8307
8308 * gdb.python/py-thrhandle.exp: Add tests for
8309 gdb.InferiorThread.handle.
8310
d7df6549
AB
83112019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8312
8313 * gdb.python/py-function.exp: Check calling helper function from
8314 all languages.
8315 * lib/gdb.exp (gdb_supported_languages): New proc.
8316
8bdc1658
AB
83172019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8318
8319 * gdb.base/complex-parts.c: New file.
8320 * gdb.base/complex-parts.exp: New file.
8321
05caa1d2
TT
83222019-04-01 Tom Tromey <tromey@adacore.com>
8323
8324 PR symtab/23331:
8325 * gdb.dwarf2/dw2-ranges-main.c: New file.
8326 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8327 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8328
7734102d
EZ
83292019-03-30 Simon Marchi <simark@simark.ca>
8330
8331 * gdb.base/default.exp: Add values for $_gdb_major and
8332 $_gdb_minor.
8333
188e1fa9
TT
83342019-03-29 Tom Tromey <tromey@adacore.com>
8335
8336 * gdb.base/help.exp: Tighten apropos regexp.
8337
2880242d
KS
83382019-03-29 Keith Seitz <keiths@redhat.com>
8339
8340 * gdb.fortran/array-bounds.exp: New file.
8341 * gdb.fortran/array-bounds.f90: New file.
8342
077cad8e
PW
83432019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8344
8345 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8346
80047cfc
PW
83472019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8348
8349 * gdb.multi/hello.c (main): Increase alarm timer.
8350
f489207e
SL
83512019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8352
8353 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8354 factor when no hardware watchpoint support.
8355
c92df149
AH
83562019-03-28 Alan Hayward <alan.hayward@arm.com>
8357 Pedro Alves <palves@redhat.com>
8358
8359 * boards/local-board.exp: set sysroot to /.
8360
933aebfa
AH
83612019-03-27 Alan Hayward <alan.hayward@arm.com>
8362
8363 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8364 in child.
8365
9f9aa852
AB
83662019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8367
8368 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8369 field.
8370 (make_container): Initialise new field.
8371 * gdb.python/py-prettyprint.exp: Add new tests.
8372 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8373 <display_hint>: New method.
8374
3714a195
AB
83752019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8376
8377 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8378 gdb_continue_to_breakpoint more throughout this test.
8379 (run_lang_tests) Supply unique test names, and use
8380 gdb_test_no_output.
8381
18c77628
AB
83822019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8383
8384 * gdb.base/finish-pretty.exp: Update expected results.
8385 * gdb.base/pretty-print.c: New file.
8386 * gdb.base/pretty-print.exp: New file.
8387
9a93502f
PA
83882019-03-25 Pedro Alves <palves@redhat.com>
8389
8390 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8391 move comments outside list. Append '-i "" eof' section.
8392
968aa7ae
AH
83932019-03-22 Alan Hayward <alan.hayward@arm.com>
8394
34a7f2a4 8395 PR testsuite/25016
968aa7ae
AH
8396 * README: Add pie options.
8397 * gdb.base/break-interp.exp: Ensure pie is disabled.
8398 * gdb.base/dump.exp: Likewise.
8399 * lib/gdb.exp (gdb_compile): Add pie option.
8400
4c7d57e7
TT
84012019-03-19 Tom Tromey <tromey@adacore.com>
8402
8403 * gdb.mi/mi2-cli-display.c: New file.
8404 * gdb.mi/mi2-cli-display.exp: New file.
8405
bff8c71f
TT
84062019-03-18 Joel Brobecker <brobecker@adacore.com>
8407 Tom Tromey <tromey@adacore.com>
8408
8409 * gdb.ada/ptype_array/pck.adb: New file.
8410 * gdb.ada/ptype_array/pck.ads: New file.
8411 * gdb.ada/ptype_array/foo.adb: New file.
8412 * gdb.ada/ptype_array.exp: New file.
8413
d085f989
TT
84142019-03-14 Tom Tromey <tromey@adacore.com>
8415
8416 * gdb.base/style.exp: Add "set style sources" test.
8417
b4be1b06
SM
84182019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8419
8420 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8421 * mi-breakpoint-multiple-locations.exp: ... this.
8422 (make_breakpoints_pattern): New proc.
8423 (do_test): Add mi_version parameter, test -break-insert,
8424 -break-info and =breakpoint-created.
8425
7cde5fc2
AB
84262019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8427
8428 * config/default.exp: Remove 'load_lib gdb.exp'.
8429 * config/monitor.exp: Likewise.
8430 * config/sid.exp: Likewise.
8431 * config/sim.exp: Likewise.
8432 * config/slite.exp: Likewise.
8433 * config/unix.exp: Likewise.
8434 * gdb.base/default.exp: Remove unhelpful comment.
8435
efbecbc1
AB
84362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8437
8438 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8439
0841c79a
AB
84402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8441
8442 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8443
4a270568
AB
84442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8445
8446 * gdb.fortran/type-kinds.exp: Update expected results.
8447
067630bd
AB
84482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8449
8450 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8451
3be47f7a
AB
84522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8453
8454 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8455 function.
8456 (test_basic_parsing_of_type_kinds): Expand types tested.
8457 (test_parsing_invalid_type_kinds): New function.
8458
4d00f5d8
AB
84592019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8460
8461 * gdb.fortran/intrinsics.exp: New file.
8462 * gdb.fortran/intrinsics.f90: New file.
8463 * gdb.fortran/type-kinds.exp: New file.
8464
c8f91604
AB
84652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8466
8467 * gdb.fortran/dot-ops.exp: New file.
8468
dd9f2c76
AB
84692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8470
8471 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8472 Check upper and lower case logical literals.
8473
84ec9724
AB
84742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8475
8476 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8477 Remove duplicate tests.
8478
c3734e09
AH
84792019-03-06 Alan Hayward <alan.hayward@arm.com>
8480
8481 * lib/gdb.exp (builtin_cd): rename of cd.
8482 (cd): Override builtin.
8483
aa3cfbda
RB
84842019-03-06 Richard Bunt <richard.bunt@arm.com>
8485
8486 * gdb.fortran/function-calls.exp: New file.
8487 * gdb.fortran/function-calls.f90: New test.
8488
7b63ad86
RB
84892019-03-04 Richard Bunt <richard.bunt@arm.com>
8490
8491 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8492 on user program standard output.
8493 * gdb.fortran/short-circuit-argument-list.f90: Record function
8494 calls.
8495
01abb042
AH
84962019-02-28 Alan Hayward <alan.hayward@arm.com>
8497
c3734e09
AH
8498 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8499 failure.
01abb042 8500
92137da0
RO
85012019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8502
8503 PR gdb/8527
8504 * gdb.base/interrupt-daemon-attach.c,
8505 gdb.base/interrupt-daemon-attach.exp: New test.
8506
5862844d
PA
85072019-02-27 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.base/page.exp: Add tests for "set width/height -1".
8510
8ed25214
PA
85112019-02-27 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/page.exp: Add tests for "set/show width/height" with
8514 "infinite" values.
8515
6c28e44a
TT
85162019-02-27 Tom Tromey <tromey@adacore.com>
8517
8518 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8519 2.4.
8520 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8521 workaround.
8522
bf9a735e
AB
85232019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8524
8525 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8526 tests for structs with static members.
8527
8791793c
TT
85282019-02-26 Tom Tromey <tromey@adacore.com>
8529
8530 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8531 ValueError, not TypeError.
8532
bc2a507e
KB
85332019-02-26 Kevin Buettner <kevinb@redhat.com>
8534
8535 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8536 call from main program.
8537
e0e7d3bd
JB
85382019-02-23 Joel Brobecker <brobecker@adacore.com>
8539
8540 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8541 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8542 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8543 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8544 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8545
9600246d
KS
85462019-02-22 Keith Seitz <keiths@redhat.com>
8547
8548 PR symtab/23853
8549 * gdb.base/symlink-sourcefile.c: New file.
8550 * gdb.base/symlink-sourcefile.exp: New file.
8551
0c95f9ed
TT
85522019-02-20 Tom Tromey <tom@tromey.com>
8553
8554 * gdb.base/info_qt.exp: Update.
8555
6caa91b6
SM
85562019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8557
8558 * gdb.base/source.exp: Move "error in sourced script" code to
8559 the end.
8560 * gdb.base/source-error.gdb: Move contents to
8561 source-error-1.gdb. Add new code to source source-error-1.gdb.
8562 * gdb.base/source-error-1.gdb: New file, from previous
8563 source-error.gdb.
8564
6506371f
TT
85652019-02-17 Tom Tromey <tom@tromey.com>
8566
8567 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8568 for macro styling.
8569 * gdb.base/style.c (SOME_MACRO): New macro.
8570
a0087920
TT
85712019-02-17 Tom Tromey <tom@tromey.com>
8572
8573 * gdb.base/style.exp: Add line-wrapping tests.
8574 * gdb.base/page.exp: Add test for quitting during pagination.
8575
a2cd4f14
JB
85762019-02-17 Joel Brobecker <brobecker@adacore.com>
8577
8578 * gdb.ada/big_packed_array: New testcase.
8579 * gdb.ada/homonym.exp: Fix incorrect expected output for
8580 "break <homonym__get_value>" test.
8581
9d70ffbc
WP
85822019-02-13 Weimin Pan <weimin.pan@oracle.com>
8583
8584 PR breakpoints/21870
8585 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8586 and prepare_for_testing. Add comment.
8587 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8588 redundant cleanup call. Clean up comment.
8589
01c7ae81
WP
85902019-02-12 Weimin Pan <weimin.pan@oracle.com>
8591
8592 PR breakpoints/21870
8593 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8594 * gdb.arch/aarch64-dbreg-contents.c: New file.
8595
aff29d1c
JB
85962019-02-10 Joel Brobecker <brobecker@adacore.com>
8597
8598 * gdb.ada/mi_ref_changeable: New testcase.
8599
df0da8a2
AH
86002019-02-07 Alan Hayward <alan.hayward@arm.com>
8601
8602 * gdb.base/attach.exp: Add double attach test.
8603
bd447abb
SM
86042019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8605
8606 * lib/gdb.exp (default_gdb_start): Don't match pagination
8607 prompt.
8608 (gdb_init): Set stty_init.
8609
1dbc40b9
TT
86102019-01-27 Tom Tromey <tom@tromey.com>
8611
8612 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8613 skip_python_tests.
8614
353229bf
AH
86152019-01-24 Alan Hayward <alan.hayward@arm.com>
8616
8617 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8618 New structure.
8619 (struct struct_static_02_02): Likewise.
8620 (struct struct_static_02_03): Likewise.
8621 (struct struct_static_02_04): Likewise.
8622 (struct struct_static_04_01): Likewise.
8623 (struct struct_static_04_02): Likewise.
8624 (struct struct_static_04_03): Likewise.
8625 (struct struct_static_04_04): Likewise.
8626 (struct struct_static_06_01): Likewise.
8627 (struct struct_static_06_02): Likewise.
8628 (struct struct_static_06_03): Likewise.
8629 (struct struct_static_06_04): Likewise.
8630 (cmp_struct_static_02_01): Likewise.
8631 (cmp_struct_static_02_02): Likewise.
8632 (cmp_struct_static_02_03): Likewise.
8633 (cmp_struct_static_02_04): Likewise.
8634 (cmp_struct_static_04_01): Likewise.
8635 (cmp_struct_static_04_02): Likewise.
8636 (cmp_struct_static_04_03): Likewise.
8637 (cmp_struct_static_04_04): Likewise.
8638 (cmp_struct_static_06_01): Likewise.
8639 (cmp_struct_static_06_02): Likewise.
8640 (cmp_struct_static_06_03): Likewise.
8641 (cmp_struct_static_06_04): Likewise.
8642 (call_all): Test new structs.
8643 * gdb.base/infcall-nested-structs.exp: Likewise.
8644
73021deb
AH
86452019-01-21 Alan Hayward <alan.hayward@arm.com>
8646 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8647
fc65c7db
AH
86482019-01-21 Alan Hayward <alan.hayward@arm.com>
8649 * gdb.base/stack-protector.c: New test.
8650 * gdb.base/stack-protector.exp: New file.
8651 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8652 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8653 option.
8654 (gdb_compile): Remove stack protector for GCC and prevent
8655 recursion.
8656
c24bdb02
KS
86572019-01-16 Keith Seitz <keiths@redhat.com>
8658
8659 PR gdb/23773
8660 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8661
6f072a10
PFC
86622019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8663
8664 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8665 aliases.
8666 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8667 tests.
8668 * gdb.arch/powerpc-vector-regs.c: New file.
8669 * gdb.arch/powerpc-vector-regs.exp: New file.
8670
a7b8d682
PFC
86712019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8672
8673 * gdb.arch/altivec-regs.exp: Fix the list passed to
8674 gdb_expect_list when testing "info vector".
8675
6eb6fb67
AB
86762019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8677
8678 * gdb.base/style.exp: Don't include path in testname.
8679
b56f80d8
KS
86802019-01-10 Keith Seitz <keiths@redhat.com>
8681
8682 PR gdb/23712
8683 PR symtab/23010
8684 * gdb.dwarf2/multidictionary.exp: New file.
8685
041be526
SM
86862019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8687
8688 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8689 (test_gnuv3_style_demangling): ... this.
8690 (test_lucid_style_demangling): Remove.
8691 (test_arm_style_demangling): Remove.
8692 (test_hp_style_demangling): Remove.
8693 (do_tests): Remove calls to the above.
8694
d820d0c3
AB
86952019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8696
8697 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8698 case.
8699
f097f5ad
TT
87002019-01-06 Tom Tromey <tom@tromey.com>
8701
8702 PR gdb/28155:
8703 * gdb.dwarf2/typedef-void-finish.exp: New file.
8704
2cd8cc0b
TT
87052018-12-28 Tom Tromey <tom@tromey.com>
8706 Simon Marchi <simark@simark.ca>
8707
8708 * gdb.base/jit-exec.exp: New file.
8709 * gdb.base/jit-exec.c: New file.
8710 * gdb.base/jit-execd.c: New file.
8711
35fb8261
TT
87122018-12-28 Tom Tromey <tom@tromey.com>
8713
8714 * gdb.base/style.exp: Update test to check for address styling.
8715
47fd17cd
TT
87162018-12-28 Tom Tromey <tom@tromey.com>
8717
8718 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8719 message.
8720
d47032b7
TT
87212018-12-28 Tom Tromey <tom@tromey.com>
8722
8723 * gdb.base/style.exp: Add test for version number styling.
8724
af79b68d
TT
87252018-12-28 Tom Tromey <tom@tromey.com>
8726
8727 * gdb.base/style.exp: Add test for print_address_symbolic.
8728
0bb296cb
TT
87292018-12-28 Tom Tromey <tom@tromey.com>
8730
8731 * gdb.base/style.exp: Add test for breakpoint setting.
8732
80ae2043
TT
87332018-12-28 Tom Tromey <tom@tromey.com>
8734
8735 * gdb.base/style.exp: Add test for variable names.
8736
cbe56571
TT
87372018-12-28 Tom Tromey <tom@tromey.com>
8738
8739 * gdb.base/style.exp: New file.
8740 * gdb.base/style.c: New file.
8741
9162a27c
TT
87422018-12-28 Tom Tromey <tom@tromey.com>
8743
8744 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8745 "dumb".
8746 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8747 the TERM environment variable.
8748
bc543c90
TT
87492018-12-27 Tom Tromey <tom@tromey.com>
8750
8751 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8752 pagination test.
8753
6f0ffe50
AB
87542018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8755
8756 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8757 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8758
b5a1e557
PW
87592018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8760
8761 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8762 Filename a.adb changed to bp_fun_addr.adb.
8763 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8764
6e8b1ab2
JV
87652018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8766
8767 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8768 non-PIE executables.
8769 * README: Mention the gdb,nopie_flag board setting.
8770 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8771 non-PIE executable.
8772 * gdb.arch/amd64-entry-value.exp: Likewise.
8773 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8774 * gdb.arch/i386-float.exp: Likewise.
8775 * gdb.arch/i386-signal.exp: Likewise.
8776 * gdb.mi/mi-reg-undefined.exp: Likewise.
8777
d00a27c5
PM
87782018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8779
8780 PR gdb/23974
8781 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8782
161d081c
PW
87832018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8784
8785 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8786 Update order of results accordingly.
8787
b001de23
AB
87882018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8789
8790 * gdb.base/annota1.exp: Update a test regexp.
8791
99e1a184
AB
87922018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8793
8794 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8795
7a81c1e2
PW
87962018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8797
8798 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8799 (reuse_time): Initialize to REUSE_TIME_CAP.
8800 (check_rc): New function.
8801 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8802 Check pthread_create rc.
8803 (spawner_thread_func): Check pthread_create and pthread_join rc.
8804
73e8dc90
PA
88052018-12-08 Pedro Alves <palves@redhat.com>
8806
8807 * gdb.base/list.exp (test_forward_search): Rename to ...
8808 (test_forward_reverse_search): ... this. Also test reverse-search
8809 and the forward-search alias.
8810
13f2ed32
AB
88112018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8812
8813 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8814 local timeout variable before return, and remove all local timeout
8815 variable entirely.
8816 (gdb_load): Likewise.
8817
64d27cfc
TV
88182018-12-01 Tom de Vries <tdevries@suse.de>
8819
8820 * gdb.base/gdb-caching-proc.exp: New file.
8821
f63c03b4
SDJ
88222018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8823
8824 * Makefile.in (TIMESTAMP): New variable.
8825 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8826 command.
8827 (check-single-racy): Likewise.
8828 (check/%.exp): Likewise.
8829 (check-racy/%.exp): Likewise.
8830 (workers/%.worker): Likewise.
8831 (build-perf): Likewise.
8832 (check-perf): Likewise.
8833 * README: Describe new "TS" and "TS_FORMAT" variables.
8834 * print-ts.py: New file.
8835
1c97054b
BF
88362018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8837
8838 PR python/23714
8839 * gdb.python/python.exp: Test command repetition after
8840 gdb.execute.
8841
1871a62d
AB
88422018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8843
8844 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8845 is correctly aligned.
8846
fb5e1ed9
PW
88472018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8848
8849 * gdb.ada/info_auto_lang.exp: New testcase.
8850 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8851 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8852 * gdb.ada/info_auto_lang/some_c.c: New file.
8853
43d397ca
PW
88542018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8855
8856 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8857 FUNC_lang language syntax.
8858
beddd671
PW
88592018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8860
8861 * gdb.base/info_minsym.c: New file.
8862 * gdb.base/info_minsym.exp: New file.
8863
73fc52c4
TT
88642018-11-19 Tom Tromey <tom@tromey.com>
8865
8866 PR rust/23625:
8867 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8868 * gdb.rust/expr.exp: Update expected output. Change one test.
8869
994b876a
TT
88702018-11-19 Tom Tromey <tom@tromey.com>
8871
8872 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8873
6769f276
PA
88742018-11-19 Pedro Alves <palves@redhat.com>
8875
8876 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8877 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8878 see the expected warning.
8879
38a72da0
AH
88802018-11-16 Alan Hayward <alan.hayward@arm.com>
8881
8882 PR gdb/22736:
8883 * gdb.cp/infcall-nodebug-lib.c: New test.
8884 * gdb.cp/infcall-nodebug-main.c: New test.
8885 * gdb.cp/infcall-nodebug.exp: New file.
8886
53a89d6e
SM
88872018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8888
8889 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8890 completer tests.
8891
9325300d
TV
88922018-11-09 Tom de Vries <tdevries@suse.de>
8893
8894 * gdb.base/msym-lang.c: New test.
8895 * gdb.base/msym-lang.exp: New file.
8896 * gdb.base/msym-lang-main.c: New test.
8897
20f0d60d
TT
88982018-11-08 Tom Tromey <tom@tromey.com>
8899
8900 PR gdb/23555:
8901 PR gdb/23838:
8902 * gdb.base/warning.exp: New file.
8903
b5420128
JB
89042018-11-08 Jan Beulich <jbeulich@suse.com>
8905
8906 * testsuite/gdb.arch/i386-avx512.c,
8907 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8908
cd115d61
AB
89092018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8910
8911 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8912 point hardware.
8913
35ee2dc2
AB
89142018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8915
8916 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8917 * gdb.dwarf2/missing-type-name.exp: New file.
8918
31aceee8
TV
89192018-11-06 Tom de Vries <tdevries@suse.de>
8920
8921 * gdb.base/many-headers.c: New test.
8922 * gdb.base/many-headers.exp: New file.
8923
109be305
JW
89242018-11-06 Jim Wilson <jimw@sifive.com>
8925
8926 * gdb.base/code_elim.exp: For riscv, set additional_flags
8927 to include -msmall-data-limit=0.
8928
e2b7af72
JB
89292018-11-01 Joel Brobecker <brobecker@adacore.com>
8930
8931 * gdb.ada/watch_minus_l: New testcase.
8932
cdcda965
SM
89332018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8934
8935 * gdb.arch/aix-sighandle.c: New file.
8936 * gdb.arch/aix-sighandle.exp: New file.
8937
92dcebf3
AB
89382018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8939
8940 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8941 registers being unions.
8942
68b9ac18
TV
89432018-10-31 Tom de Vries <tdevries@suse.de>
8944
8945 * lib/valgrind.exp: New file.
8946 (vgdb_start, vgdb_stop): New procs, factored out of ...
8947 * gdb.base/valgrind-bt.exp: ... here, ...
8948 * gdb.base/valgrind-disp-step.exp: ... here and ...
8949 * gdb.base/valgrind-infcall.exp: ... here.
8950
1443936e
TV
89512018-10-31 Tom de Vries <tdevries@suse.de>
8952
8953 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8954
eb77c9df
AB
89552018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8956
8957 * gdb.dwarf2/void-type.c: New file.
8958 * gdb.dwarf2/void-type.exp: New file.
8959
82b5e646
PW
89602018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8961
8962 * gdb.base/info_qt.c: New file.
8963 * gdb.base/info_qt.exp: New file.
8964
8d619c01
EBM
89652018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8966
8967 * gdb.arch/powerpc-htm-regs.c: New file.
8968 * gdb.arch/powerpc-htm-regs.exp: New file.
8969
f2cf6173
EBM
89702018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8971
8972 * gdb.arch/powerpc-tar.c: New file.
8973 * gdb.arch/powerpc-tar.exp: New file.
8974
7ca18ed6
EBM
89752018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8976
8977 * gdb.arch/powerpc-ppr-dscr.c: New file.
8978 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8979
bfcc0eba
TV
89802018-10-25 Tom de Vries <tdevries@suse.de>
8981
8982 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8983
fe1a5cad
TV
89842018-10-24 Tom de Vries <tdevries@suse.de>
8985
8986 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8987 longer exists error.
8988
a76dc3b7
TV
89892018-10-24 Tom de Vries <tdevries@suse.de>
8990
8991 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8992
4df46df7
TV
89932018-10-24 Tom de Vries <tdevries@suse.de>
8994
8995 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8996 --db-attach in valgrind.
8997
0dbfcfff
AB
89982018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8999
9000 * gdb.arch/riscv-reg-aliases.c: New file.
9001 * gdb.arch/riscv-reg-aliases.exp: New file.
9002
b04480b1
AH
90032018-10-19 Alan Hayward <alan.hayward@arm.com>
9004
9005 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9006
2c6ac8d7
AH
90072018-10-19 Alan Hayward <alan.hayward@arm.com>
9008
9009 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9010
2bc69f25
AH
90112018-10-19 Alan Hayward <alan.hayward@arm.com>
9012
9013 * gdb.cp/ovldbreak.exp: Fix regexps.
9014
1f1ae3a3
AH
90152018-10-19 Alan Hayward <alan.hayward@arm.com>
9016
9017 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9018
94c18618
SDJ
90192018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9020
9021 PR cli/23785
9022 * gdb.base/restore.exp: New test to check if "restore" with an
9023 invalid file doesn't segfault.
9024
812cd6eb
TV
90252018-10-18 Tom de Vries <tdevries@suse.de>
9026
9027 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9028 * gdb.ada/excep_handle.exp: Same.
9029 * gdb.ada/mi_string_access.exp: Same.
9030 * gdb.ada/mi_var_union.exp: Same.
9031 * gdb.arch/arc-analyze-prologue.exp: Same.
9032 * gdb.arch/arc-decode-insn.exp: Same.
9033 * gdb.base/readnever.exp: Same.
9034 * gdb.fortran/printing-types.exp: Same.
9035 * gdb.guile/scm-lazy-string.exp: Same.
9036
c4b90788
TV
90372018-10-16 Tom de Vries <tdevries@suse.de>
9038
9039 PR gdb/23730
9040 * gdb.base/catch-follow-exec.c: Add copyright notice.
9041 * gdb.base/catch-follow-exec.exp: Rewrite to use
9042 gdb_spawn_with_cmdline_opts. Require gdb-native.
9043
8bca2978
SL
90442018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9045
9046 * gdb.trace/actions-changed.exp: Check for arch support.
9047 * gdb.trace/actions.exp: Likewise.
9048 * gdb.trace/ax.exp: Likewise.
9049 * gdb.trace/backtrace.exp: Likewise.
9050 * gdb.trace/change-loc.exp: Likewise.
9051 * gdb.trace/deltrace.exp: Likewise.
9052 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9053 * gdb.trace/ftrace.exp: Likewise.
9054 * gdb.trace/infotrace.exp: Check for arch support.
9055 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9056 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9057 * gdb.trace/mi-tsv-changed.exp: Likewise.
9058 * gdb.trace/packetlen.exp: Likewise.
9059 * gdb.trace/passc-dyn.exp: Likewise.
9060 * gdb.trace/passcount.exp: Likewise.
9061 * gdb.trace/pending.exp: Likewise.
9062 * gdb.trace/range-stepping.exp: Check for shlib support.
9063 * gdb.trace/report.exp: Check for arch support.
9064 * gdb.trace/save-trace.exp: Likewise.
9065 * gdb.trace/signal.exp: Check for signal support.
9066 * gdb.trace/tfind.exp: Check for arch support.
9067 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9068 * gdb.trace/trace-common.h: Add comment.
9069 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9070 * gdb.trace/trace-enable-disable.exp: Likewise.
9071 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9072 * gdb.trace/tracecmd.exp: Check for arch support.
9073 * gdb.trace/tspeed.exp: Check for shlib and target support.
9074 * gdb.trace/tstatus.exp: Check for arch support.
9075 * gdb.trace/tsv.exp: Likewise.
9076 * gdb.trace/while-dyn.exp: Likewise.
9077 * gdb.trace/while-stepping.exp: Likewise.
9078 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9079
f9c49bff
SM
90802018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9081
9082 * gdb.trace/tspeed.exp: Remove nowarnings.
9083 (prepare_for_trace_test): Declare "global ipalib".
9084 * gdb.trace/tspeed.c: Include unistd.h.
9085 (main): Remove superfluous printf argument.
9086
d4330bde
SL
90872018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9088
9089 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9090 directory prefix on the filename.
9091
8ecfd7bd
SDJ
90922018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9093
9094 * gdb.gdb/unittest.exp: Update expected message informing that
9095 selftests have been disabled.
9096 * gdb.server/unittest.exp: Likewise.
9097
58bbcd02
TV
90982018-10-09 Tom de Vries <tdevries@suse.de>
9099
9100 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9101 with runto_main.
9102
9f6b697b
WP
91032018-10-08 Weimin Pan <weimin.pan@oracle.com>
9104
9105 PR c++/16841
9106 * gdb.cp/virtbase2.cc: New file.
9107 * gdb.cp/virtbase2.exp: New file.
9108
add5ded5
TT
91092018-10-06 Tom Tromey <tom@tromey.com>
9110
9111 PR python/19399:
9112 * gdb.python/py-inferior.exp: Add architecture test.
9113
f9e48344
TT
91142018-10-06 Tom Tromey <tom@tromey.com>
9115
9116 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9117 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9118
2a8be203
TT
91192018-10-06 Tom Tromey <tom@tromey.com>
9120
9121 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9122 of a "throw" catchpoint.
9123
e04caa70
SDJ
91242018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9125
9126 * gdb.base/info-proc.exp: Update string expected from "help info
9127 proc".
9128
5ca8c39f
TT
91292018-10-04 Tom Tromey <tom@tromey.com>
9130
9131 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9132 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9133 (test_initial_complaints, test_empty_complaints): Update.
9134 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9135
3453e7e4
TT
91362018-10-04 Tom Tromey <tom@tromey.com>
9137
9138 PR cli/19551:
9139 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9140 * lib/gdb.exp (gdb_file_cmd): Update.
9141 * gdb.stabs/weird.exp (print_weird_var): Update.
9142 * gdb.server/solib-list.exp: Update.
9143 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9144 * gdb.mi/mi-cli.exp: Update.
9145 * gdb.linespec/linespec.exp: Update.
9146 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9147 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9148 * gdb.cp/cp-relocate.exp: Update.
9149 * gdb.base/sym-file.exp: Update.
9150 * gdb.base/relocate.exp: Update.
9151 * gdb.base/readnever.exp: Update.
9152 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9153 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9154 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9155 * gdb.base/code_elim.exp: Update.
9156 * gdb.base/break-unload-file.exp (test_break): Update.
9157 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9158 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9159 Update.
9160 * gdb.base/attach.exp (do_attach_tests): Update.
9161 * gdb.base/sepdebug.exp: Update.
9162 * gdb.python/py-section-script.exp: Update.
9163
6afcf761
TT
91642018-10-04 Tom Tromey <tom@tromey.com>
9165
9166 PR cli/22234:
9167 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9168 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9169 output.
9170
fef1b293
TT
91712018-10-04 Tom Tromey <tom@tromey.com>
9172
9173 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9174 set width and height to 0.
9175 (test_command_line_attach_run): Use -quiet.
9176
ca98345e
SL
91772018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9178
9179 * lib/gdb.exp (skip_ifunc_tests): New.
9180 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9181 other compile failures.
9182 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9183
ff34e6ae
SM
91842018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9185
9186 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9187 is_amd64_regs_target.
9188
6bb8890e
AH
91892018-10-01 Alan Hayward <alan.hayward@arm.com>
9190
9191 * gdb.arch/aarch64-sighandler-regs.c: New test.
9192 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9193 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9194
224d30d3
MM
91952018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9196
9197 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9198 assembly.
9199
f67ffa6a
AB
92002018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9201
9202 * gdb.base/frame-selection.exp: New file.
9203 * gdb.base/frame-selection.c: New file.
9204
9fc3183f
AH
92052018-09-27 Alan Hayward <alan.hayward@arm.com>
9206
9207 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9208 pthread barrier.
9209 (main): Likewise.
9210
d354055e
AB
92112018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9212
9213 * gdb.base/large-frame-1.c: New file.
9214 * gdb.base/large-frame-2.c: New file.
9215 * gdb.base/large-frame.exp: New file.
9216 * gdb.base/large-frame.h: New file.
9217
db727370
JL
92182018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9219
9220 PR gdb/20948
9221 * gdb.base/write_mem.exp: New test.
9222 * gdb.base/write_mem.c: Likewise.
9223
ae778caf
TT
92242018-09-23 Tom Tromey <tom@tromey.com>
9225
9226 PR python/18852:
9227 * gdb.python/py-parameter.exp: Add test for parameter that throws
9228 on "set".
9229
fd3ba736
TT
92302018-09-23 Tom Tromey <tom@tromey.com>
9231
9232 PR python/17284:
9233 * gdb.python/py-template.exp (test_template_arg): Add test for
9234 negative template argument number.
9235
39a24317
TT
92362018-09-23 Tom Tromey <tom@tromey.com>
9237
9238 PR python/14062:
9239 * gdb.python/python.exp: Add test for post_event error.
9240
f5769a2c
TT
92412018-09-23 Tom Tromey <tom@tromey.com>
9242
9243 PR python/18170:
9244 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9245 convert pointers to int and long.
9246
1c1e54f6
TT
92472018-09-23 Tom Tromey <tom@tromey.com>
9248
9249 PR python/20126:
9250 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9251 signed-ness conversion tests.
9252
fb4fa946
TT
92532018-09-23 Tom Tromey <tom@tromey.com>
9254
9255 PR python/18352;
9256 * gdb.python/py-value.exp (test_float_conversion): New proc.
9257 Use it.
9258
a466edac
HAQ
92592018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9260
9261 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9262
4ee9b0c5
SL
92632018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9264
9265 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9266 no readline.
9267 * gdb.base/utf8-identifiers.exp: Likewise.
9268 * gdb.cp/cpcompletion.exp: Likewise.
9269 * gdb.linespec/cpcompletion.exp: Likewise.
9270 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9271 * gdb.linespec/cpls-ops.exp: Likewise.
9272
23be8da7
RB
92732018-09-19 Richard Bunt <richard.bunt@arm.com>
9274 Chris January <chris.january@arm.com>
9275
9276 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9277 * gdb.fortran/short-circuit-argument-list.exp: New file.
9278 * gdb.fortran/short-circuit-argument-list.f90: New test.
9279
5031d0ae
SDJ
92802018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9281
9282 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9283 "arch=" keyword when executing "-stack-list-frames".
9284
b4c0d1a4
SDJ
92852018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9286
9287 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9288 "arch=" keyword when executing "-stack-list-frames".
9289
7a6d2b45
SDJ
92902018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9291
9292 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9293 break ada".
9294
8588b356
SM
92952018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9296
9297 PR python/23669
9298 * gdb.python/python.exp: Test gdb.execute("show commands").
9299
65e65158
TT
93002018-09-16 Tom Tromey <tom@tromey.com>
9301
9302 * gdb.base/new-ui.exp (do_execution_tests): Update.
9303 * gdb.base/dbx.exp (test_breakpoints): Update.
9304
bf326452
AH
93052018-09-14 Alan Hayward <alan.hayward@arm.com>
9306
9307 * lib/gdb.exp (gdb_simple_compile): Add proc.
9308 (is_elf_target): Use gdb_simple_compile.
9309 (skip_altivec_tests): Likewise.
9310 (skip_vsx_tests): Likewise.
9311 (skip_tsx_tests): Likewise.
9312 (skip_btrace_tests): Likewise.
9313 (skip_btrace_pt_tests): Likewise.
9314 (gdb_can_simple_compile): Likewise.
9315 (gdb_has_argv0): Likewise.
9316 (gdb_target_symbol_prefix): Likewise.
9317 (target_supports_scheduler_locking): Likewise.
9318
2361b0fb
TT
93192018-09-13 Tom Tromey <tom@tromey.com>
9320
9321 * Makefile.in (TAGS): Recognize proc_with_prefix and
9322 gdb_caching_proc.
9323
0ae1a321
SM
93242018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9325
9326 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9327 method.
9328
a40bf0c2
SM
93292018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9330
9331 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9332 and a few other Inferior properties when the Inferior is no
9333 longer valid.
9334
4a3fe98f
TT
93352018-09-13 Tom Tromey <tom@tromey.com>
9336
9337 PR rust/23650:
9338 * gdb.rust/simple.exp: Add test for enum field access error.
9339
098b2108
TT
93402018-09-13 Tom Tromey <tom@tromey.com>
9341
9342 PR rust/23626:
9343 * gdb.rust/simple.rs (EmptyEnum): New type.
9344 (main): Use it.
9345 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9346
1256af7d
SM
93472018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9348
9349 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9350 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9351 * gdb.python/py-symtab.exp: Update test printing an objfile.
9352
4aa8e6c2
SM
93532018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9354
9355 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9356 object.
9357
c221b2f7
AH
93582018-09-12 Alan Hayward <alan.hayward@arm.com>
9359
9360 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9361 (support_complex_tests): Use gdb_can_simple_compile.
9362 (is_ilp32_target): Likewise.
9363 (is_lp64_target): Likewise.
9364 (is_64_target): Likewise.
9365 (is_amd64_regs_target): Likewise.
9366 (is_aarch32_target): Likewise.
9367 (gdb_int128_helper): Likewise.
9368
6f1107b5
JK
93692018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9370
9371 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9372
1f5d1570
JG
93732018-09-10 Jerome Guitton <guitton@adacore.com>
9374
9375 * gdb.ada/same_component_name: Add test for case of tagged record
9376 with variable-length fields.
9377
cc330e39
XR
93782018-09-10 Xavier Roirand <roirand@adacore.com>
9379
9380 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9381 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9382 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9383 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9384
b9c50e9a
XR
93852018-09-10 Xavier Roirand <roirand@adacore.com>
9386
9387 * gdb.ada/mi_string_access.exp: New testcase.
9388 * gdb.ada/mi_string_access/bar.adb: New file.
9389 * gdb.ada/mi_string_access/pck.adb: New file.
9390 * gdb.ada/mi_string_access/pck.asd: New file.
9391
2963898f
XR
93922018-09-10 Xavier Roirand <roirand@adacore.com>
9393
9394 * gdb.ada/mi_var_union.exp: New testcase.
9395 * gdb.ada/mi_var_union/bar.adb: New file.
9396 * gdb.ada/mi_var_union/pck.adb: New file.
9397 * gdb.ada/mi_var_union/pck.asd: New file.
9398
1aac008f
TT
93992018-09-08 Tom Tromey <tom@tromey.com>
9400
9401 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9402
332cf4c9
TT
94032018-09-08 Tom Tromey <tom@tromey.com>
9404
9405 PR python/16047:
9406 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9407 (register_pretty_printers): Register new printer.
9408 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9409 test.
9410 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9411 (an_int_type3): New global.
9412
424da6cf
JB
94132018-09-08 Joel Brobecker <brobecker@adacore.com>
9414
9415 * gdb.ada/expr_with_funcall: New testcase.
9416
2a62dfa9
JB
94172018-09-08 Joel Brobecker <brobecker@adacore.com>
9418
9419 * gdb.ada/packed_array_assign: New testcase.
9420
96b6697f
AB
94212018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9422
9423 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9424 names, and add test prefixes to make test names unique.
9425
e4a62c65
TV
94262018-09-05 Tom de Vries <tdevries@suse.de>
9427
9428 * gdb.dwarf2/varval.exp: Add test.
9429
dd083ee2
GB
94302018-09-04 Gary Benson <gbenson@redhat.com>
9431
9432 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9433 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9434
aef9346c
TT
94352018-08-31 Tom Tromey <tom@tromey.com>
9436
9437 * gdb.rust/simple.rs: Rename second variable "v".
9438
c67f2e15
AB
94392018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9440
9441 * gdb.base/funcargs.c (use_a): New function.
9442 (recurse): Call use_a.
9443
078a0207
KS
94442018-08-29 Keith Seitz <keiths@redhat.com>
9445
9446 * gdb.compile/compile-cplus-anonymous.cc: New file.
9447 * gdb.compile/compile-cplus-anonymous.exp: New file.
9448 * gdb.compile/compile-cplus-array-decay.cc: New file.
9449 * gdb.compile/compile-cplus-array-decay.exp: New file.
9450 * gdb.compile/compile-cplus-inherit.cc: New file.
9451 * gdb.compile/compile-cplus-inherit.exp: New file.
9452 * gdb.compile/compile-cplus-member.cc: New file.
9453 * gdb.compile/compile-cplus-member.exp: New file.
9454 * gdb.compile/compile-cplus-method.cc: New file.
9455 * gdb.compile/compile-cplus-method.exp: New file.
9456 * gdb.compile/compile-cplus-mod.c: "New" file.
9457 * gdb.compile/compile-cplus-namespace.cc: New file.
9458 * gdb.compile/compile-cplus-namespace.exp: New file.
9459 * gdb.compile/compile-cplus-nested.cc: New file.
9460 * gdb.compile/compile-cplus-nested.exp: New file.
9461 * gdb.compile/compile-cplus-print.c: "New" file.
9462 * gdb.compile/compile-cplus-print.exp: "New" file.
9463 * gdb.compile/compile-cplus-virtual.cc: New file.
9464 * gdb.compile/compile-cplus-virtual.exp: New file.
9465 * gdb.compile/compile-cplus.c: "New" file.
9466 * gdb.compile/compile-cplus.exp: "New" file.
9467 * lib/compile-support.exp: New file.
9468
b0f492b9
GB
94692018-08-16 Gary Benson <gbenson@redhat.com>
9470
9471 PR gdb/13000:
9472 * gdb.base/batch-exit-status.exp: New file.
9473 * gdb.base/batch-exit-status.good-commands: Likewise.
9474 * gdb.base/batch-exit-status.bad-commands: Likewise.
9475
36eb4c5f
AH
94762018-08-29 Alan Hayward <alan.hayward@arm.com>
9477
9478 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9479 (struct struct02): Likewise.
9480 (struct struct03): Likewise.
9481 (struct struct04): Likewise.
9482 (struct struct_01_01): New struct.
9483 (struct struct_01_02): Likewise.
9484 (struct struct_01_03): Likewise.
9485 (struct struct_01_04): Likewise.
9486 (struct struct_02_01): Likewise.
9487 (struct struct_02_02): Likewise.
9488 (struct struct_02_03): Likewise.
9489 (struct struct_02_04): Likewise.
9490 (struct struct_04_01): Likewise.
9491 (struct struct_04_02): Likewise.
9492 (struct struct_04_03): Likewise.
9493 (struct struct_04_04): Likewise.
9494 (struct struct_05_01): Likewise.
9495 (struct struct_05_02): Likewise.
9496 (struct struct_05_03): Likewise.
9497 (struct struct_05_04): Likewise.
9498 (cmp_struct01): Remove function.
9499 (cmp_struct02): Likewise.
9500 (cmp_struct03): Likewise.
9501 (cmp_struct04): Likewise.
9502 (cmp_struct_01_01): Add Function.
9503 (cmp_struct_01_02): Likewise.
9504 (cmp_struct_01_03): Likewise.
9505 (cmp_struct_01_04): Likewise.
9506 (cmp_struct_02_01): Likewise.
9507 (cmp_struct_02_02): Likewise.
9508 (cmp_struct_02_03): Likewise.
9509 (cmp_struct_02_04): Likewise.
9510 (cmp_struct_04_01): Likewise.
9511 (cmp_struct_04_02): Likewise.
9512 (cmp_struct_04_03): Likewise.
9513 (cmp_struct_04_04): Likewise.
9514 (cmp_struct_05_01): Likewise.
9515 (cmp_struct_05_02): Likewise.
9516 (cmp_struct_05_03): Likewise.
9517 (cmp_struct_05_04): Likewise.
9518 (call_all): Add new structs.
9519 * gdb.base/infcall-nested-structs.exp: Likewise.
9520
3bf9c013
JV
95212018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9522
9523 * gdb.python/py-framefilter-mi.exp: Update regexp to
9524 check for "arch" field in frame output.
9525
450d1e88
KB
95262018-08-23 Kevin Buettner <kevinb@redhat.com>
9527
9528 * gdb.dwarf2/dw2-ranges-func.c: New file.
9529 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9530
ae739fe7
SM
95312018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9532
9533 * gdb.base/term.exp: Compare terminal settings with values from
9534 the inferior.
9535 * gdb.base/term.c: Get and set terminal settings.
9536
6d52907e
JV
95372018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9538
9539 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9540 accommodate new "arch" field in frame output.
9541 * gdb.mi/mi-return.exp: Likewise.
9542 * gdb.mi/mi-stack.exp: Likewise.
9543 * gdb.mi/mi-syn-frame.exp: Likewise.
9544 * gdb.mi/user-selected-context-sync.exp: Likewise.
9545
be2d111a
MS
95462018-08-19 Michael Spang <spang@google.com>
9547
9548 PR gdb/11786
9549 * gdb.base/gcore-tls-pie.c: New file.
9550 * gdb.base/gcore-tls-pie.exp: New file.
9551
ae3a7c47
KB
95522018-08-18 Kevin Buettner <kevinb@redhat.com>
9553
9554 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9555 * gdb.dwarf2/varval.c: New file.
9556 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9557
2ecae92e
AH
95582018-08-17 Alan Hayward <alan.hayward@arm.com>
9559
9560 PR gdb/18931
9561 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9562
c1854f1d
KS
95632018-08-16 Keith Seitz <keiths@redhat.com>
9564
9565 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9566 tests expected to pass.
9567
26fb3983
JV
95682018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9569
9570 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9571 -data-disassemble -a.
9572 (test_disassembly_bogus_args): Likewise.
9573
67943c00
AB
95742018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9575
9576 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9577
5ff2bbae
AB
95782018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9579
9580 * gdb.base/vla-optimized-out.exp: Add new test.
9581
e5bbcd0f
AB
95822018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9583
9584 * gdb.base/vla-optimized-out-o3.exp: Delete.
9585 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9586 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9587 deleted tests.
9588
9d4a934c
AB
95892018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9590
9591 PR gdb/18050:
9592 * gdb.server/extended-remote-restart.c: New file.
9593 * gdb.server/extended-remote-restart.exp: New file.
9594
045cf012
SM
95952018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9596
9597 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9598 "set variable index = 42".
9599
87d6a7aa
SM
96002018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9601
9602 * boards/index-cache-gdb.exp: New file.
9603 * gdb.dwarf2/index-cache.exp: New file.
9604 * gdb.dwarf2/index-cache.c: New file.
9605 * gdb.base/maint.exp: Check if we are using the index cache.
9606
96d68bd4
RO
96072018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9608
9609 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9610 MAKEFLAGS.
9611
5a699617
RO
96122018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613
9614 * dg-extract-results.sh: Move to toplevel contrib.
9615 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9616 * Makefile.in (check-parallel-racy): Likewise.
9617
5bd18990
AB
96182018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9619
9620 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9621 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9622 tests if the target supports scheduler locking.
9623
3fbbcf47
TV
96242018-08-04 Tom de Vries <tdevries@suse.de>
9625
9626 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9627
3e1d3d8c
TT
96282018-08-02 Tom Tromey <tom@tromey.com>
9629
9630 PR symtab/16842.
9631 * gdb.cp/temargs.exp: Test "info address" of a template
9632 parameter.
9633
5abe0f0c
JV
96342018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9635
9636 * gdb.python/py-mi-var-info-path-expression.c: New file.
9637 * gdb.python/py-mi-var-info-path-expression.py: New file.
9638 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9639
fb66cde8
SDJ
96402018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9641
9642 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9643 error after "cannot resolve name" string.
9644
c708f4d2
AB
96452018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9646
9647 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9648 started.
9649 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9650
37cc0cae
TV
96512018-07-28 Tom de Vries <tdevries@suse.de>
9652
9653 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9654
63b4ecf7
TV
96552018-07-26 Tom de Vries <tdevries@suse.de>
9656
9657 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9658
3c3bb058
AB
96592018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9660
9661 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9662 is visible.
9663
9e7f3bbb
TV
96642018-07-26 Tom de Vries <tdevries@suse.de>
9665
9666 PR breakpoints/23366
9667 * gdb.base/catch-follow-exec.c: New test.
9668 * gdb.base/catch-follow-exec.exp: New file.
9669
16f808ec
TV
96702018-07-25 Tom de Vries <tdevries@suse.de>
9671
9672 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9673 vla-optimized-out.c.
9674
d7154a8d
JV
96752018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9676
9677 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9678 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9679
232a0032
TV
96802018-07-20 Tom de Vries <tdevries@suse.de>
9681
9682 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9683 NOCLONE macro.
9684 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9685
fbb1d502
TV
96862018-07-19 Tom de Vries <tdevries@suse.de>
9687
9688 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9689 regular expression.
9690
42dc7699
TV
96912018-07-18 Tom de Vries <tdevries@suse.de>
9692
9693 * gdb.base/vla-optimized-out.c: New test.
9694 * gdb.base/vla-optimized-out.exp: New file.
9695
7f1f7e23
SDJ
96962018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9697
9698 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9699 message "No address associated with hostname" when gdbserver
9700 cannot resolve the hostname.
9701
5759ebb3
PW
97022018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9703
9704 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9705 Add some test prefixes to make tests unique.
9706
3606ccab
PW
97072018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9708
9709 * gdb.base/frameapply.c: New file.
9710 * gdb.base/frameapply.exp: New file.
9711
529c08b2
PW
97122018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9713
9714 * gdb.base/skip.exp: Update expected error message.
9715
c7ab0aef
SDJ
97162018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9717 Jan Kratochvil <jan.kratochvil@redhat.com>
9718 Paul Fertser <fercerpav@gmail.com>
9719 Tsutomu Seki <sekiriki@gmail.com>
9720
9721 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9722 parameter.
9723 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9724 by default.
9725 * boards/native-gdbserver.exp: Likewise.
9726 * gdb.server/run-without-local-binary.exp: Improve regexp used
9727 for detecting when a remote debugging connection succeeds.
9728 * gdb.server/server-connect.exp: New file.
9729 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9730 Do not prefix the port number with ":".
9731 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9732 support for detecting and using it. Add '$debughost_gdbserver'
9733 to the list of arguments used to start gdbserver. Handle case
9734 when gdbserver cannot resolve a network name.
9735
16ff70dd
SDJ
97362018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9737
9738 PR c++/23373
9739 * gdb.base/ptype-offsets.cc (struct static_member): New
9740 struct.
9741 (main) <stmember>: New variable.
9742 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9743 with a static member in it.
9744
3541979f
AB
97452018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9746
9747 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9748 watchpoints enabled and disabled.
9749
c8ad9b9a
AB
97502018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9751
9752 * gdb.base/examine-backward.exp: Still run tests around address
9753 0x0, even if address 0x0 is not readable. Update the pattern for
9754 matching address 0x0 in expected output.
9755
e0e5e971
AB
97562018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9757
9758 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9759 malloc/free.
9760
1ea5da02
TV
97612018-07-04 Tom de Vries <tdevries@suse.de>
9762
9763 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9764
471b9d15
MR
97652018-07-02 Maciej W. Rozycki <macro@mips.com>
9766
9767 PR tdep/8282
9768 * gdb.arch/mips-disassembler-options.exp: New test.
9769 * gdb.arch/mips-disassembler-options.s: New test source.
9770
75acb486
PA
97712018-06-29 Pedro Alves <palves@redhat.com>
9772
9773 * gdb.threads/names.exp: Adjust expected "info threads" output.
9774
cd2bb709
PA
97752018-06-29 Pedro Alves <palves@redhat.com>
9776
9777 * gdb.opt/inline-break.exp (line number, address): Add "info
9778 break" tests.
9779
991ff292
PA
97802018-06-29 Pedro Alves <palves@redhat.com>
9781
9782 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9783 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9784 number and address and running to them.
9785
356819b6 97862018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9787
9788 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9789
2512d7ef
JK
97902018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9791
9792 * lib/compiler.c: Remove executable permission flag.
9793
be1b6474
RB
97942018-06-28 Richard Bunt <richard.bunt@arm.com>
9795
9796 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9797 code.
9798 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9799
291f9a96
PT
98002018-06-28 Petr Tesarik <ptesarik@suse.cz>
9801
9802 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9803
ed6dfe51
PT
98042018-06-28 Petr Tesarik <ptesarik@suse.cz>
9805
9806 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9807 address argument is omitted.
9808
d4d429d5
PT
98092018-06-28 Petr Tesarik <ptesarik@suse.cz>
9810
9811 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9812
7ab6656f
OJ
98132018-06-27 Omair Javaid <omair.javaid@linaro.org>
9814
9815 PR gdb/21695
9816 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9817 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9818
a33ccfc7
TT
98192018-06-26 Tom Tromey <tom@tromey.com>
9820
9821 PR rust/22574:
9822 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9823 * gdb.rust/simple.rs (struct SimpleLayout): New.
9824
6d72d289
SM
98252018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9826
9827 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9828 "info registers" output.
9829
8363f9d5
RB
98302018-06-21 Richard Bunt <richard.bunt@arm.com>
9831
9832 * gdb.base/watchpoint-hw-attach.c: New test.
9833 * gdb.base/watchpoint-hw-attach.exp: New file.
9834
f00674fe
SM
98352018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9836
9837 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9838 through /bin/sh.
9839 * boards/dwarf4-gdb-index.exp: Likewise.
9840 * boards/fission-dwp.exp: Likewise.
9841
1d554008
UW
98422018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9843
9844 * gdb.base/float128.exp: Add comment and improved fail message
9845 to the failure case of "print large128" test.
9846
d0ac1c44
SM
98472018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9848
9849 * configure.ac: Remove AC_PREREQ.
9850 * configure: Re-generate.
9851
61b04dd0
PA
98522018-06-19 Pedro Alves <palves@redhat.com>
9853
9854 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9855 (func_extern_caller): New.
9856 (main): Call func_extern_caller.
9857 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9858 logic change.
9859
f63b508a
SM
98602018-06-18 Weimin Pan <weimin.pan@oracle.com>
9861
9862 PR gdb/16841
9863 * gdb.cp/typedef-base.cc: New file.
9864 * gdb.cp/typedef-base.exp: New file.
9865
0fe3a558
TV
98662018-06-18 Tom de Vries <tdevries@suse.de>
9867
9868 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9869
7010835a
AB
98702018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9871 Richard Bunt <Richard.Bunt@arm.com>
9872
9873 * gdb.threads/attach-slow-waitpid.c: New file.
9874 * gdb.threads/attach-slow-waitpid.exp: New file.
9875 * gdb.threads/slow-waitpid.c: New file.
9876
14897d65
PA
98772018-06-14 Pedro Alves <palves@redhat.com>
9878
9879 * gdb.base/fork-running-state.c: Include <errno.h>.
9880 (exit_if_relative_exits): New.
9881 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9882 exits.
9883 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9884 child exits.
9885
5d9a0608
TV
98862018-06-14 Tom de Vries <tdevries@suse.de>
9887
9888 PR cli/22573
9889 * gdb.base/finish-pretty.c: New test.
9890 * gdb.base/finish-pretty.exp: New file.
9891
11ae5818
PA
98922018-06-14 Pedro Alves <palves@redhat.com>
9893
9894 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9895 gdb's expected startup output.
9896
1d39de44
PA
98972018-06-14 Pedro Alves <palves@redhat.com>
9898
9899 * lib/selftest-support.exp (selftest_setup): Remove inlined
9900 function handling.
9901
70ee0000
TV
99022018-06-14 Tom de Vries <tdevries@suse.de>
9903
9904 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9905 matching of breakpoint printing.
9906
11f4b608
TV
99072018-06-13 Tom de Vries <tdevries@suse.de>
9908
9909 PR testsuite/23269
9910 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9911 (fork_child): ... here, and ...
9912 (fork_parent): ... here.
9913
99142018-06-12 Tom de Vries <tdevries@suse.de>
9915
9916 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9917
9516f85a
AB
99182018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9919 Stephen Roberts <stephen.roberts@arm.com>
9920
9921 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9922 rewrite test to describe action performed, rather than possible
9923 failure.
9924
5045b3d7
GB
99252018-06-08 Gary Benson <gbenson@redhat.com>
9926
9927 * gdb.threads/check-libthread-db.exp: New file.
9928 * gdb.threads/check-libthread-db.c: Likewise.
9929
c61b06a1
TT
99302018-06-05 Tom Tromey <tom@tromey.com>
9931
9932 * gdb.base/default.exp: Update expected "show version" output.
9933
eb6af809
TT
99342018-06-05 Tom Tromey <tom@tromey.com>
9935
9936 PR cli/12326:
9937 * gdb.cp/static-print-quit.exp: Update.
9938 * lib/gdb.exp (pagination_prompt): Update.
9939 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9940 * gdb.python/python.exp: Update.
9941
178d6a63
JB
99422018-06-04 Joel Brobecker <brobecker@adacore.com>
9943
9944 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9945
8e817061
JB
99462018-06-01 Joel Brobecker <brobecker@adacore.com>
9947
9948 * gdb.ada/bp_fun_addr: New testcase.
9949
e86ca25f
TT
99502018-06-01 Tom Tromey <tom@tromey.com>
9951
9952 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9953 results.
9954 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9955 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9956 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9957 * gdb.base/maint.exp (maint_pass_if): Update.
9958
4b2dfa9d
MR
99592018-05-31 Maciej W. Rozycki <macro@mips.com>
9960
9961 * gdb.base/endian.exp: New test.
9962 * gdb.base/endian.c: New test source.
9963
45f25d6c
AB
99642018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9965
9966 PR gdb/23203
9967 * gdb.base/bt-selected-frame.c: New file.
9968 * gdb.base/bt-selected-frame.exp: New file.
9969 * lib/gdb.exp (get_current_frame_number): New function.
9970
d9f6d7f8
MR
99712018-05-24 Maciej W. Rozycki <macro@mips.com>
9972 Pedro Alves <palves@redhat.com>
9973
9974 * gdb.threads/tls-core.c: Include <stdlib.h>
9975 (thread_proc): Call `abort'.
9976 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9977 (tls_core_test): New procedure, bits factored out from ...
9978 (top level): ... here. Test both native cores and gcore cores.
9979
ff1cf532
TT
99802018-05-23 Tom Tromey <tom@tromey.com>
9981
9982 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9983
b98664d3
TT
99842018-05-23 Tom Tromey <tom@tromey.com>
9985
9986 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9987 symfile_complaints.
9988 (test_short_complaints): Likewise.
9989 (test_empty_complaints): Likewise.
9990 (test_initial_complaints): Update.
9991
4e9668d0
TT
99922018-05-23 Tom Tromey <tom@tromey.com>
9993
9994 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9995
43ba33c7
TT
99962018-05-23 Tom Tromey <tom@tromey.com>
9997
9998 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9999 (test_short_complaints): Update.
10000
035522c0
PA
100012018-05-22 Pedro Alves <palves@redhat.com>
10002
10003 * gdb.base/remote.exp: Only gdb_start after compiling the
10004 testcase. Issue "disconnect" before testing "set remote" command
10005 defaults. Issue clean_restart before running to main.
10006
cc0be08f
PA
100072018-05-22 Pedro Alves <palves@redhat.com>
10008
10009 * gdb.base/remote.exp: Adjust expected output of "show remote
10010 memory-write-packet-size". Add tests for "set remote
10011 memory-write-packet-size 0" and "set remote
10012 memory-write-packet-size fixed/limit".
10013
b1b60145
PA
100142018-05-22 Pedro Alves <palves@redhat.com>
10015
10016 PR gdb/22973
10017 * gdb.base/utf8-identifiers.c: New file.
10018 * gdb.base/utf8-identifiers.exp: New file.
10019
0ec848ad
PFC
100202018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10021
10022 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10023
2c3305f6
PFC
100242018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10025
10026 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10027
ce1e8424
TT
100282018-05-18 Tom Tromey <tom@tromey.com>
10029
10030 * gdb.base/ptype-offsets.exp: Update.
10031
ddfe970e
KS
100322018-05-17 Keith Seitz <keiths@redhat.com>
10033
10034 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10035 in expected breakpoint stop locations.
10036 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10037 move to proper scope to test variable values.
10038 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10039 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10040 New functions.
10041 (main): Call not_inline_func3.
10042 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10043 inline_func1, inline_func2, and inline_func3. Test that when each
10044 breakpoint is hit, GDB properly reports both the stop location
10045 and the backtrace. Repeat tests for temporary breakpoints.
10046
0726fcc6
MR
100472018-05-15 Maciej W. Rozycki <macro@mips.com>
10048
10049 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10050 rather then trying to access it in determining whether the PID
10051 of `gdbserver' could have been retrieved.
10052
8ee22052
AB
100532018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10054
10055 * gdb.arch/amd64-init-x87-values.S: New file.
10056 * gdb.arch/amd64-init-x87-values.exp: New file.
10057
7785df48
JK
100582018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10059
10060 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10061
56bcdbea
TT
100622018-05-04 Tom Tromey <tom@tromey.com>
10063
10064 PR python/22730:
10065 * gdb.python/python.exp: Test multi-line execute.
10066
a913fffb
TT
100672018-05-04 Tom Tromey <tom@tromey.com>
10068
10069 PR python/22731:
10070 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10071
7a2c85f2
TT
100722018-05-04 Tom Tromey <tom@tromey.com>
10073
10074 PR gdb/11750:
10075 * gdb.base/define.exp: Test defining a user command inside a user
10076 command.
10077 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10078
a3b60e45
JK
100792018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10080 Pedro Alves <palves@redhat.com>
10081
10082 PR breakpoints/19806 and support for PR external/20207.
10083 * gdb.base/watchpoint-unaligned.c: New file.
10084 * gdb.base/watchpoint-unaligned.exp: New file.
10085
45fe4a03
AB
100862018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10087
10088 * gdb.base/maint.exp: Make test names unique, use
10089 test_prefix_command_help to test 'help maint info', and remove
10090 repeated test of 'help maint'.
10091
9be2ae8f
TT
100922018-05-04 Tom Tromey <tom@tromey.com>
10093
10094 PR gdb/22619:
10095 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10096 behavior.
10097
11859c31
AB
100982018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10099
10100 * gdb.base/maint.exp: Process output from 'maint print registers'
10101 line at a time.
10102
089a9490
AB
101032018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10104
10105 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10106 timeout.
10107
9b0797e2
AB
101082018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10109
10110 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10111 filter pattern.
10112
f6ac5f3d
PA
101132018-05-02 Pedro Alves <palves@redhat.com>
10114
10115 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10116 to_log_command renames.
10117 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10118
77d3c63b
TT
101192018-05-02 Tom Tromey <tom@tromey.com>
10120
10121 * gdb.python/py-parameter.exp: Set test message.
10122
0489430a
TT
101232018-05-02 Tom Tromey <tom@tromey.com>
10124
10125 PR python/20084:
10126 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10127 PARAM_ZUINTEGER_UNLIMITED tests.
10128
1632f8ba
DR
101292018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10130
10131 PR rust/23124
10132 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10133 when casting.
10134
6d7bb824
TT
101352018-04-30 Tom Tromey <tom@tromey.com>
10136
10137 * gdb.python/py-type.exp: Check align attribute.
10138 * gdb.python/py-type.c: New "aligncheck" global.
10139
007e1530
TT
101402018-04-30 Tom Tromey <tom@tromey.com>
10141
10142 PR exp/17095:
10143 * gdb.dwarf2/dw2-align.exp: New file.
10144 * gdb.cp/align.exp: New file.
10145 * gdb.base/align.exp: New file.
10146 * lib/gdb.exp (gdb_int128_helper): New proc.
10147 (has_int128_c, has_int128_cxx): New caching procs.
10148
6873858b
TT
101492018-04-27 Tom Tromey <tom@tromey.com>
10150
10151 PR rust/22545:
10152 * gdb.rust/simple.exp: Add inclusive range tests.
10153
79188d8d
PA
101542018-04-26 Pedro Alves <palves@redhat.com>
10155
10156 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10157 ifunc breakpoint locations correctly of ifunc breakpoints set
10158 while the program resolves the ifunc.
10159
c7075ad5
PA
101602018-04-26 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/gnu-ifunc-final.c: New file.
10163 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10164 * gdb.base/gnu-ifunc.exp (executable): Delete.
10165 (staticexecutable): Adjust.
10166 (lib_opts, exec_opts): Delete.
10167 (make_binsuffix, build, set-break): New procedures.
10168 (misc_tests): New, with tests factored out from the top level.
10169 (top level): Test different combinations of ifunc resolver name,
10170 resolver with and with debug info, and ifunc target with and
10171 without debug info. Wrap static tests with with_target_prefix.
10172
8388016d
PA
101732018-04-26 Pedro Alves <palves@redhat.com>
10174
10175 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10176 return type" warnings.
10177
249b5733
PA
101782018-04-25 Pedro Alves <palves@redhat.com>
10179
10180 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10181 killed".
10182 * gdb.base/kill-after-signal.exp: Likewise.
10183 * gdb.threads/kill.exp: Likewise.
10184
f67c0c91
SDJ
101852018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10186 Sergio Durigan Junior <sergiodj@redhat.com>
10187 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10190 regexps to expect for '[Inferior ... detached]' as well.
10191 * gdb.base/attach.exp: Likewise.
10192 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10193 "gdb_continue_to_end".
10194 (test_catch_syscall_with_wrong_args): Likewise.
10195 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10196 ']'. Don't set 'verbose' on.
10197 * gdb.base/foll-vfork.exp: Likewise.
10198 * gdb.base/fork-print-inferior-events.c: New file.
10199 * gdb.base/fork-print-inferior-events.exp: New file.
10200 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10201 '[Inferior ... has been killed]' message.
10202 * gdb.base/kill-after-signal.exp: Likewise.
10203 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10204 detach message.
10205 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10206 message.
10207 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10208 regexps to expect for '[Inferior ... detached]' as well.
10209 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10210
0a8ddac4
SM
102112018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10212
10213 PR gdb/23104
10214 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10215
701adfb0
PA
102162018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10217
10218 PR gdb/23095
10219 * gdb.base/break-probes.exp: Pass shlib_load to
10220 prepare_for_testing. Set normal_bp to r_debug_state if target is
10221 bsd.
10222
d27d16bf
RB
102232018-04-19 Richard Bunt <richard.bunt@arm.com>
10224
10225 * gdb.threads/multiple-successive-infcall.c: New test.
10226 * gdb.threads/multiple-successive-infcall.exp: New file.
10227
a037790e
TT
102282018-04-17 Tom Tromey <tom@tromey.com>
10229
10230 * gdb.rust/simple.rs (Union): New type.
10231 (main): New local "u".
10232 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10233
e3a91079
AA
102342018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10235
10236 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10237 number information in output of "whereis" command.
10238 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10239
b744723f
AA
102402018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10241
10242 * gdb.ada/info_types.exp: Adjust expected output to the line
10243 numbers now printed by "info var/func/type".
10244 * gdb.base/completion.exp: Likewise.
10245 * gdb.base/included.exp: Likewise.
10246 * gdb.cp/cp-relocate.exp: Likewise.
10247 * gdb.cp/cplusfuncs.exp: Likewise.
10248 * gdb.cp/namespace.exp: Likewise.
10249 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10250
4a4495d6
MM
102512018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10252
10253 * gdb.btrace/cpu.exp: New.
10254
1d509aa6
MM
102552018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10256
10257 * gdb.base/step-indirect-call-thunk.exp: New.
10258 * gdb.base/step-indirect-call-thunk.c: New.
10259 * gdb.reverse/step-indirect-call-thunk.exp: New.
10260 * gdb.reverse/step-indirect-call-thunk.c: New.
10261
6295b6da
SM
102622018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10263
10264 * gdb.base/pie-fork.c: New file.
10265 * gdb.base/pie-fork.exp: New file.
10266
50146e70
TT
102672018-04-11 Tom Tromey <tom@tromey.com>
10268
10269 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10270
f50d8a2e
PA
102712018-04-10 Pedro Alves <palves@redhat.com>
10272
10273 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10274 exits. Instead loop running forever.
10275 (fork_parent): Run forever too.
10276
a0be7a36
SM
102772018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10278
10279 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10280 mi_continue_to_line.
10281 * gdb.mi/mi-stack.c (callee4): Add comment.
10282
9b73db36
SM
102832018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10284
10285 * gdb.mi/mi-stack.exp: Fix indentation.
10286
c912f608
SM
102872018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10288
10289 PR gdb/22979
10290 * gdb.arch/amd64-osabi.exp: New file.
10291
26540402
SM
102922018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10293
10294 PR gdb/22980
10295 * gdb.base/osabi.exp: New file.
10296
121ad66c 102972018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10298
10299 * gdb.cp/static-typedef-print.exp: New file.
10300 * gdb.cp/static-typedef-print.cc: New file.
10301
3fcded8f
JB
103022018-03-27 Joel Brobecker <brobecker@adacore.com>
10303
10304 * gdb.ada/varsize_limit: New testcase.
10305
59cc4834
JB
103062018-03-27 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10309
10310 * gdb.ada/notcplusplus: New testcase.
10311
10312 * gdb.base/c-linkage-name.c: New file.
10313 * gdb.base/c-linkage-name.exp: New testcase.
10314
4ca59a9f
TT
103152018-03-26 Tom Tromey <tom@tromey.com>
10316
10317 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10318 * gdb.python/py-framefilter.py (name_error): New global.
10319 (ErrorInName.function): Use name_error.
10320
978d6c75
TT
103212018-03-26 Tom Tromey <tom@tromey.com>
10322
10323 PR backtrace/15582:
10324 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10325
b7fee5a3
KS
103262018-03-23 Keith Seitz <keiths@redhat.com>
10327
10328 PR c++/22968
10329 * gdb.cp/subtypes.exp: New file.
10330 * gdb.cp/subtypes.h: New file.
10331 * gdb.cp/subtypes.cc: New file.
10332 * gdb.cp/subtypes-2.cc: New file.
10333
376be529
AB
103342018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10335
10336 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10337 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10338 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10339 -nostartfiles when compiling the test. Confirm that all registers
10340 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10341
066cfa98
AB
103422018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10343
10344 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10345 option, syntax was wrong anyway.
10346 * gdb.arch/arm-disp-step.exp: Likewise.
10347 * gdb.arch/sparc64-regs.exp: Likewise.
10348 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10349 option, syntax was wrong anyway, switch to use
10350 prepare_for_testing.
10351 * gdb.arch/i386-disp-step.exp: Likewise.
10352
079670b9
AA
103532018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10354
10355 * gdb.ada/exec_changed.exp: Replace "target_info exists
10356 use_gdb_stub" by "use_gdb_stub".
10357 * gdb.ada/start.exp: Likewise.
10358 * gdb.base/async-shell.exp: Likewise.
10359 * gdb.base/attach-pie-misread.exp: Likewise.
10360 * gdb.base/attach-wait-input.exp: Likewise.
10361 * gdb.base/break-entry.exp: Likewise.
10362 * gdb.base/break-interp.exp: Likewise.
10363 * gdb.base/dprintf-detach.exp: Likewise.
10364 * gdb.base/nostdlib.exp: Likewise.
10365 * gdb.base/solib-nodir.exp: Likewise.
10366 * gdb.base/statistics.exp: Likewise.
10367 * gdb.base/testenv.exp: Likewise.
10368 * gdb.mi/mi-exec-run.exp: Likewise.
10369 * gdb.mi/mi-start.exp: Likewise.
10370 * gdb.multi/dummy-frame-restore.exp: Likewise.
10371 * gdb.multi/multi-arch-exec.exp: Likewise.
10372 * gdb.multi/multi-arch.exp: Likewise.
10373 * gdb.multi/tids.exp: Likewise.
10374 * gdb.multi/watchpoint-multi.exp: Likewise.
10375 * gdb.python/py-events.exp: Likewise.
10376 * gdb.threads/attach-into-signal.exp: Likewise.
10377 * gdb.threads/attach-stopped.exp: Likewise.
10378 * gdb.threads/threadapply.exp: Likewise.
10379 * lib/selftest-support.exp: Likewise.
10380
26d6cec4
AA
103812018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10382
10383 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10384
4ee89e90
SR
103852018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10386
10387 * gdb.perf/template-breakpoints.cc: New file.
10388 * gdb.perf/template-breakpoints.exp: New file.
10389 * gdb.perf/template-breakpoints.py: New file.
10390
92630041
TT
103912018-03-19 Tom Tromey <tom@tromey.com>
10392
10393 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10394 y0.
10395 * gdb.rust/simple.exp: Test bare identifier form of struct
10396 initializer.
10397
76727919
TT
103982018-03-19 Tom Tromey <tom@tromey.com>
10399
10400 * gdb.gdb/observer.exp: Remove.
10401
194ed413
AA
104022018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10403
10404 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10405 "qualified" option when setting breakpoints.
10406 * gdb.trace/backtrace.exp: Likewise.
10407 * gdb.trace/circ.exp: Likewise.
10408 * gdb.trace/collection.exp: Likewise.
10409 * gdb.trace/disconnected-tracing.exp: Likewise.
10410 * gdb.trace/ftrace-lock.exp: Likewise.
10411 * gdb.trace/ftrace.exp: Likewise.
10412 * gdb.trace/infotrace.exp: Likewise.
10413 * gdb.trace/packetlen.exp: Likewise.
10414 * gdb.trace/passc-dyn.exp: Likewise.
10415 * gdb.trace/qtro.exp: Likewise.
10416 * gdb.trace/read-memory.exp: Likewise.
10417 * gdb.trace/report.exp: Likewise.
10418 * gdb.trace/signal.exp: Likewise.
10419 * gdb.trace/status-stop.exp: Likewise.
10420 * gdb.trace/strace.exp: Likewise.
10421 * gdb.trace/tfind.exp: Likewise.
10422 * gdb.trace/trace-break.exp: Likewise.
10423 * gdb.trace/trace-condition.exp: Likewise.
10424 * gdb.trace/trace-mt.exp: Likewise.
10425 * gdb.trace/tstatus.exp: Likewise.
10426 * gdb.trace/tsv.exp: Likewise.
10427 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10428 * gdb.trace/unavailable.exp: Likewise.
10429 * gdb.trace/while-dyn.exp: Likewise.
10430
8b067d2c
AA
104312018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10432
10433 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10434 that libinproctrace is copied to the target.
10435
3ae9ce5d
TT
104362018-03-14 Tom Tromey <tom@tromey.com>
10437
10438 PR cli/14977:
10439 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10440 a null pointer.
10441 * gdb.base/wchar.exp: Likewise.
10442
b8c2339b
TT
104432018-03-14 Tom Tromey <tom@tromey.com>
10444
10445 PR cli/19918:
10446 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10447 flag.
10448
4872dc46
SM
104492018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10450
10451 PR gdb/22841
10452 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10453 "target" to remote_exec.
10454
e4fe3756
SM
104552018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10456
10457 PR gdb/22841
10458 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10459 ${board}_upload): Remove.
10460
e95a97d4
AA
104612018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10462
10463 * gdb.cp/watch-cp.cc: New test.
10464 * gdb.cp/watch-cp.exp: New file.
10465
dbbb1059
AB
104662018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10467
10468 * gdb.base/infcall-nested-structs.exp: New file.
10469 * gdb.base/infcall-nested-structs.c: New file.
10470 * gdb.base/float.exp: Add riscv support.
10471
ecc054c0
TP
104722018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10473
10474 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10475 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10476
25e3c82c
SDJ
104772018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10478
10479 * gdb.server/abspath.exp: New file.
10480 * lib/gdb.exp (with_cwd): New procedure.
10481
3083294d
SM
104822018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10483
10484 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10485 use it.
10486 (gdb_is_target_remote_prompt): New proc.
10487 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10488 (gdb_is_target_native): Pass prompt parameter to
10489 gdb_is_target_1.
10490
3275ef47
SM
104912018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10492
10493 * gdb.base/load-command.c: New file.
10494 * gdb.base/load-command.exp: New file.
10495 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10496 (gdb_is_target_1): ...this, and generalize for other targets
10497 than just remote.
10498 (gdb_is_target_remote): Use gdb_is_target_1.
10499 (gdb_is_target_native): use gdb_is_target_1.
10500
6893c19a
TT
105012018-02-26 Tom Tromey <tom@tromey.com>
10502
10503 PR python/16497:
10504 * gdb.python/py-framefilter.exp: Update test.
10505
2ddeaf8a
TT
105062018-02-26 Tom Tromey <tom@tromey.com>
10507
10508 * gdb.dwarf2/variant.c: New file.
10509 * gdb.dwarf2/variant.exp: New file.
10510
c9317f21
TT
105112018-02-26 Tom Tromey <tom@tromey.com>
10512
10513 * gdb.rust/simple.exp: Accept more possible results in enum test.
10514
6f6d0c26
SM
105152018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10516
10517 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10518 parentheses.
10519
11b03145
MR
105202018-02-23 Maciej W. Rozycki <macro@mips.com>
10521
10522 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10523 name of a variable: $actual_linejj -> $actual_line.
10524
54a27fe5
JB
105252018-02-21 John Baldwin <jhb@FreeBSD.org>
10526
10527 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10528
de65820c
MM
105292018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10530
10531 * gdb.btrace/buffer-size.exp: Do not force BTS.
10532
980548fd
PA
105332018-02-14 Pedro Alves <palves@redhat.com>
10534
10535 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10536 getting a "Quit".
10537
c4e12631
MM
105382018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10539
10540 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10541 Fix test name.
10542
c2e0e465
SM
105432018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10544
10545 * gdb.cp/m-static.exp: Check type of optimized out static
10546 member.
10547
f7216783
AB
105482018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10549
10550 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10551 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10552
0625771b
LS
105532018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10554 Leszek Swirski <leszeks@google.com>
10555
10556 * gdb.python/py-prettyprint.c
10557 (struct to_string_returns_value_inner,
10558 struct to_string_returns_value_wrapper): New.
10559 (main): Add tsrvw variable.
10560 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10561 ToStringReturnsValueWrapper): New classes.
10562 (register_pretty_printers): Register new pretty-printers.
10563 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10564 recursive pretty printer.
10565 * gdb.python/py-mi.exp: Likewise.
10566
59498c30
LS
105672018-02-01 Leszek Swirski <leszeks@google.com>
10568
10569 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10570 functions with the same name as an include file are parsed
10571 correctly.
10572
d4d38844
YQ
105732018-02-01 Yao Qi <yao.qi@linaro.org>
10574
10575 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10576 "\[^\r\n\]*".
10577
07e5f5cf
NP
105782018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10579
10580 * gdb.arch/powerpc-prologue-frame.s: New file.
10581 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10582 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10583
929b5ad4
JB
105842018-01-31 Joel Brobecker <brobecker@adacore.com>
10585
10586 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10587
e671cd59
PA
105882018-01-30 Pedro Alves <palves@redhat.com>
10589
10590 PR gdb/13211
10591 * gdb.base/interrupt-daemon.c: New.
10592 * gdb.base/interrupt-daemon.exp: New.
10593 * gdb.multi/multi-term-settings.c: New.
10594 * gdb.multi/multi-term-settings.exp: New.
10595
fc413dc4
JB
105962018-01-30 Joel Brobecker <brobecker@adacore.com>
10597
10598 * gdb.base/break.exp: Save the location where the breakpoint
10599 on break.c:47 was actually inserted when debugging the version
10600 compiled at -O2 and use it in the expected output of the "info
10601 break" test performed soon after.
10602
5c319bb2
PA
106032018-01-22 Pedro Alves <palves@redhat.com>
10604 Sergio Durigan Junior <sergiodj@redhat.com>
10605
10606 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10607 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10608
a9e40818
JB
106092018-01-22 Joel Brobecker <brobecker@adacore.com>
10610
10611 * gdb.base/break-include.c, gdb.base/break-include.inc,
10612 gdb.base/break-include.exp: New files.
10613 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10614 line number now being the actual line number where the breakpoint
10615 was inserted.
10616 * gdb.mi/mi-break.exp: Likewise.
10617 * gdb.mi/mi-reverse.exp: Likewise.
10618 * gdb.mi/mi-simplerun.exp: Ditto.
10619
e707fc44
AB
106202018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10621
10622 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10623 varobj.
10624 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10625
ae451627
AB
106262018-01-21 Don Breazeal <donb@codesourcery.com>
10627 Andrew Burgess <andrew.burgess@embecosm.com>
10628
10629 * gdb.mi/basics.c: Add new global.
10630 * gdb.mi/mi-frame-regs.exp: New file.
10631 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10632 case.
10633
b1b189e0
AB
106342018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10635
10636 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10637 non-parameter, and on an unknown symbol.
10638
fcfcc376
TT
106392018-01-19 Tom Tromey <tom@tromey.com>
10640
10641 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10642 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10643
634c1c31
AA
106442018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10645
10646 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10647 setrlimit and chdir to int.
10648
d6ad07fd
AA
106492018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10650
10651 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10652 function.
10653 (my_tend): Likewise.
10654 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10655 rationale of avoiding FP- and vector instructions.
10656
adf8243b
RK
106572018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10658
10659 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10660 "info reg" with "\[ \t\]*".
10661 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10662 "\[ \t\]+".
10663 * gdb.arch/s390-multiarch.exp: Ditto.
10664 * gdb.base/pc-fp.exp: Ditto.
10665 * gdb.reverse/i386-precsave.exp: Ditto.
10666 * gdb.reverse/i386-reverse.exp: Ditto.
10667 * gdb.reverse/i387-env-reverse.exp: Ditto.
10668 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10669
dcc06925
AA
106702018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10671
10672 * lib/gdb.exp (gdb_compile): Re-enable use of
10673 universal_compile_options for languages other than Rust.
10674
25d4fd80
AA
106752018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10676
10677 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10678
ee7f689e 106792018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10680
10681 PR gdb/16577
10682 * gdb.base/solib-vanish.exp: New.
10683 * gdb.base/solib-vanish-main.c: New.
10684 * gdb.base/solib-vanish-lib1.c: New.
10685 * gdb.base/solib-vanish-lib2.c: New.
10686
d8447b6b
YQ
106872018-01-17 Yao Qi <yao.qi@linaro.org>
10688
10689 * gdb.compile/compile.exp: Match the address printed for
10690 frame in the output of command "bt".
10691
86d6a90c
TT
106922018-01-15 Tom Tromey <tom@tromey.com>
10693
10694 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10695 compute sp_reg.
10696
cbcdb1aa
AB
106972018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10698
10699 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10700 to prepare.
10701 (prepare): Return 0 on error, 1 on success.
10702
eea61984
PA
107032018-01-12 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/continue-after-aborted-step-over.c: New.
10706 * gdb.base/continue-after-aborted-step-over.exp: New.
10707
6181e9c2
SM
107082018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10709
10710 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10711 options when not creating an executable.
10712
3cada740
PA
107132018-01-11 Pedro Alves <palves@redhat.com>
10714
10715 PR remote/22597
10716 * gdb.server/stop-reply-no-thread.c: New file.
10717 * gdb.server/stop-reply-no-thread.exp: New file.
10718
c63d3e8d
PA
107192018-01-10 Pedro Alves <palves@redhat.com>
10720
10721 PR gdb/22670
10722 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10723 functions too. Test setting breakpoints and printing C functions
10724 with no debug info too.
10725 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10726
d4c2a405
PA
107272018-01-10 Pedro Alves <palves@redhat.com>
10728
10729 PR gdb/22670
10730 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10731 a fail.
10732
8825213e
PA
107332018-01-10 Pedro Alves <palves@redhat.com>
10734
10735 PR gdb/22670
10736 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10737
605fd3c6
YQ
107382018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10739
10740 * gdb.server/unittest.exp: Match the output in non-development
10741 mode.
10742
1e5ded6c
YQ
107432018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10744
10745 * gdb.gdb/unittest.exp: Match output in non-development mode.
10746
30066b0b
JB
107472018-01-08 Joel Brobecker <brobecker@adacore.com>
10748
10749 * gdb.ada/access_tagged_param.exp: Relax expected output
10750 for value of "ObjL" in "continue" to pck.inspect breakpoint
10751 test.
10752
04bafb1e
XR
107532018-01-08 Joel Brobecker <brobecker@adacore.com>
10754
9f86398b
JB
10755 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10756 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10757
e379cee6
PA
107582018-01-05 Pedro Alves <palves@redhat.com>
10759
10760 PR gdb/18653
10761 * gdb.base/libsegfault.exp: New.
10762
de63c46b
PA
107632018-01-05 Joel Brobecker <brobecker@adacore.com>
10764
10765 PR gdb/22670
10766 * gdb.ada/access_tagged_param.exp: New file.
10767 * gdb.ada/access_tagged_param/foo.adb: New file.
10768
f98fc17b
PA
107692018-01-05 Pedro Alves <palves@redhat.com>
10770
10771 PR gdb/22670
10772 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10773 exercise lower case too, and to exercise both full matching and
10774 wild matching.
10775
342f8240
JB
107762018-01-05 Joel Brobecker <brobecker@adacore.com>
10777
10778 * gdb.ada/rename_subscript_param: New testcase.
10779
7150d33c
JG
107802018-01-05 Jerome Guitton <guitton@adacore.com>
10781
10782 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10783
cc0e770c
JB
107842018-01-05 Joel Brobecker <brobecker@adacore.com>
10785
10786 * gdb.ada/convvar_comp: New testcase.
10787
672a41aa 107882018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10789
10790 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10791 (My_Table): New global variable.
10792 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10793
7365ec2f
JB
107942018-01-04 Joel Brobecker <brobecker@adacore.com>
10795
10796 PR gdb/22670
10797 * gdb.ada/maint_with_ada: New testcase.
10798
289483b6
JB
107992018-01-04 Joel Brobecker <brobecker@adacore.com>
10800
10801 PR gdb/22670
10802 * gdb.ada/bp_c_mixed_case: New testcase.
10803
344420da
JB
108042018-01-04 Joel Brobecker <brobecker@adacore.com>
10805
10806 PR gdb/22670
10807 * gdb.ada/complete.exp: Add "complete break ada" test.
10808
66fc87a0
JB
108092018-01-04 Joel Brobecker <brobecker@adacore.com>
10810
10811 PR gdb/22670
10812 * gdb.ada/info_addr_mixed_case: New testcase.
10813
9f757bf7
XR
108142018-01-03 Xavier Roirand <roirand@adacore.com>
10815
10816 * gdb.ada/excep_handle.exp: New testcase.
10817 * gdb.ada/excep_handle/foo.adb: New file.
10818 * gdb.ada/excep_handle/pck.ads: New file.
10819
bd570f80
JB
108202018-01-03 Joel Brobecker <brobecker@adacore.com>
10821
10822 * gdb.base/step-line.c: Add extra empty line in copyright header.
10823 * gdb.base/step-line.inp: Likewise.
10824
9fe561ab
JB
108252018-01-02 Joel Brobecker <brobecker@adacore.com>
10826
10827 * gdb.ada/dyn_stride.exp: Add slice test.
10828
a405673c
JB
108292018-01-02 Joel Brobecker <brobecker@adacore.com>
10830
10831 * gdb.ada/dyn_stride: New testcase.
10832
cef0f868
SH
108332017-12-27 Stafford Horne <shorne@gmail.com>
10834
10835 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10836 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10837
b67d92b0
SH
108382017-12-27 Stafford Horne <shorne@gmail.com>
10839
10840 * gdb.base/reggroups.c: New file.
10841 * gdb.base/reggroups.exp: New file.
10842
eccab96d
JB
108432017-12-18 Joel Brobecker <brobecker@adacore.com>
10844
10845 * gdb.dwarf2/ada-valprint-error.c: New file.
10846 * gdb.dwarf2/ada-valprint-error.exp: New file.
10847
0e2da9f0
JB
108482017-12-18 Joel Brobecker <brobecker@adacore.com>
10849
10850 * gdb.ada/assign_arr: New testcase.
10851
cb923fcc
XR
108522017-12-18 Xavier Roirand <roirand@adacore.com>
10853
10854 * gdb.ada/funcall_ptr: New testcase.
10855
7c161838
SDJ
108562017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10857
10858 PR cli/16224
10859 * gdb.base/ptype-offsets.cc: New file.
10860 * gdb.base/ptype-offsets.exp: New file.
10861
1af17fd9
YQ
108622017-12-15 Yao Qi <yao.qi@linaro.org>
10863
10864 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10865 if XML is disabled.
10866
828d5846
XR
108672017-12-15 Xavier Roirand <roirand@adacore.com>
10868
10869 * gdb.ada/same_component_name: New testcase.
10870
79e8fcaa
JB
108712017-12-14 Joel Brobecker <brobecker@adacore.com>
10872
10873 * gdb.ada/str_binop_equal: New testcase.
10874
e05fa6f9
JB
108752017-12-14 Joel Brobecker <brobecker@adacore.com>
10876
10877 * gdb.ada/task_switch_in_core: New testcase.
10878
b89641ba
SM
108792017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10880
10881 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10882 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10883 call test_bkpt_qualified.
10884 (test_bkpt_qualified): New proc.
10885
6892d2e4
PA
108862017-12-13 Pedro Alves <palves@redhat.com>
10887
10888 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10889 Tighten regexp by matching with an anchor.
10890
a22ecf70
PA
108912017-12-13 Pedro Alves <palves@redhat.com>
10892
10893 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10894 ("expression with namespace"): New set of tests.
10895 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10896 (Nested::Test_NS::qux): New.
10897 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10898 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10899
9937536c
JB
109002017-12-13 Joel Brobecker <brobecker@adacore.com>
10901
10902 * gdb.base/server-del-break.c: New file.
10903 * gdb.base/server-del-break.exp: New file.
10904
fe49c6f5
SH
109052017-12-12 Stafford Horne <shorne@gmail.com>
10906
10907 * gdb.xml/tdesc-regs.exp: Add or1k support.
10908
c3d18620
SH
109092017-12-12 Stafford Horne <shorne@gmail.com>
10910
10911 * gdb.base/bp-permanent.c: Define nop of or1k.
10912
c5f9cfc8
JB
109132017-12-11 Joel Brobecker <brobecker@adacore.com>
10914
10915 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10916 output with components being reordered.
10917
a9c135fc
JB
109182017-12-11 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10921 output with components being reordered.
10922
927aa2e7
JK
109232017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10924 Pedro Alves <palves@redhat.com>
10925
10926 * gdb.base/maint.exp (check for .gdb_index): Check also for
10927 .debug_names.
10928 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10929 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10930 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10931 (.gdb_index used after symbol reloading): Support also .debug_names.
10932 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10933
f17d9474
YQ
109342017-12-08 Yao Qi <yao.qi@linaro.org>
10935
10936 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10937 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10938
a0de8c21
YQ
109392017-12-08 Yao Qi <yao.qi@linaro.org>
10940
10941 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10942 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10943
a738ea1d
YQ
109442017-12-08 Yao Qi <yao.qi@linaro.org>
10945
10946 * gdb.arch/aarch64-tagged-pointer.c: New file.
10947 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10948
1cd9a73b
SDJ
109492017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10950
10951 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10952 "int".
10953
fa6eb693
KS
109542017-12-07 Keith Seitz <keiths@redhat.com>
10955
10956 PR breakpoints/22569
10957 * gdb.linespec/ls-errs.exp: Change expected result of "break
10958 -source this file has spaces.c -line 3".
10959 Check that an explicit source file followed by whitespace is
10960 identified as an invalid explicit location.
10961
883fd55a
KS
109622017-12-07 Keith Seitz <keiths@redhat.com>
10963
10964 * gdb.cp/nested-types.cc: New file.
10965 * gdb.cp/nested-types.exp: New file.
10966 * lib/cp-support.exp: Load data-structures.exp library.
10967 (debug_cp_test_ptype_class): New global.
10968 (cp_ptype_class_verbose, next_line): New procedures.
10969 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10970 Add and document new return value.
10971 Switch the list of lines to a queue.
10972 Add support for new `type' key for nested type definitions.
10973 Add debugging/troubleshooting messages.
10974 * lib/data-structures.exp: New file.
10975
ec72db3e
SM
109762017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10977
10978 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10979 with proc_with_prefix, don't use with_test_prefix.
10980
99598d71
TT
109812017-12-07 Tom Tromey <tom@tromey.com>
10982
10983 * gdb.base/break.exp: Add test for empty "commands".
10984
a8806230
YQ
109852017-12-07 Yao Qi <yao.qi@linaro.org>
10986
10987 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10988 malloc and catch syscall.
10989
824cc835
PM
109902017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10991
e79be6e5 10992 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10993 tests for explicit locations.
10994
7cc244de
PA
109952017-12-06 Pedro Alves <palves@redhat.com>
10996
10997 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10998 force-disabling XML descriptions.
10999
50a1fdd5
PA
110002017-12-04 Pedro Alves <palves@redhat.com>
11001
11002 PR gdb/22499
11003 * gdb.arch/amd64-disp-step-avx.S: New file.
11004 * gdb.arch/amd64-disp-step-avx.exp: New file.
11005
f0fb2488
PA
110062017-12-03 Pedro Alves <palves@redhat.com>
11007
11008 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11009 and <string.h>.
11010 (parent_function): Print distinct messages when waitpid fails, or
11011 the child exits with a signal, or the child exits for an unhandled
11012 reason.
11013 * gdb.threads/process-dies-while-detaching.exp
11014 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11015 it. Wait for both inferior output and GDB's prompt. Use an
11016 indirect spawn id list.
11017 (do_detach): New parameter 'child_exit'. Use it to compute
11018 expected inferior output.
11019 (test_detach, test_detach_watch, test_detach_killed_outside):
11020 Adjust to pass down the expected child exit kind.
11021
97cbe998
SDJ
110222017-12-01 Joel Brobecker <brobecker@adacore.com>
11023 Sergio Durigan Junior <sergiodj@redhat.com>
11024 Pedro Alves <palves@redhat.com>
11025
11026 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11027
40fc416f
SDJ
110282017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11029
11030 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11031 to 'symbol-file' and 'add-symbol-file' can be
11032 position-independent.
11033
1cc75e92
YQ
110342017-12-01 Yao Qi <yao.qi@linaro.org>
11035
11036 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11037 the URL in copyright header.
11038 * gdb.arch/aarch64-fp.exp: Likewise.
11039 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11040 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11041 * gdb.base/expand-psymtabs.exp: Likewise.
11042 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11043 * gdb.fortran/common-block.exp: Likewise.
11044 * gdb.fortran/common-block.f90: Likewise.
11045 * gdb.fortran/logical.exp: Likewise.
11046 * gdb.fortran/vla-datatypes.f90: Likewise.
11047 * gdb.fortran/vla-sub.f90: Likewise.
11048
875fb7a7
JB
110492017-11-30 Joel Brobecker <brobecker@adacore.com>
11050
11051 * gdb.ada/repeat_dyn: New testcase.
11052
6f14765f
UW
110532017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11054
11055 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11056 Update for changed thread numbering.
11057 * gdb.cell/bt.exp: Update for changed GDB output.
11058
f1af7b94
SM
110592017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11060
11061 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11062 setting isremote by hand.
11063 * boards/dwarf4-gdb-index.exp: Likewise.
11064 * boards/fission.exp: Likewise.
11065 * boards/stabs.exp: Likewise.
11066
e3919f3e
PA
110672017-11-30 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.linespec/cpls-ops.exp
11070 (check_explicit_skips_function_argument): Extract the underlying
11071 type of size_t instead of hardcoding it.
11072
bd69330d
PA
110732017-11-29 Pedro Alves <palves@redhat.com>
11074
11075 PR c++/19436
11076 * gdb.linespec/cpls-abi-tag.cc: New file.
11077 * gdb.linespec/cpls-abi-tag.exp: New file.
11078
a20714ff
PA
110792017-11-29 Pedro Alves <palves@redhat.com>
11080
11081 * gdb.base/langs.exp: Use -qualified.
11082 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11083 it.
11084 * gdb.cp/namespace.exp: Use -qualified.
11085 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11086 (overload-3, template-overload, template-ret-type, const-overload)
11087 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11088 procedures.
11089 (test_driver): Call them.
11090 * gdb.cp/save-bp-qualified.cc: New.
11091 * gdb.cp/save-bp-qualified.exp: New.
11092 * gdb.linespec/explicit.exp: Test -qualified.
11093 * lib/completion-support.exp (completion::explicit_opts_list): Add
11094 "-qualified".
11095 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11096
f6f1d339
PM
110972017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11098
11099 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11100
02ca603a
TT
111012017-11-29 Tom Tromey <tom@tromey.com>
11102
11103 * gdb.base/relocate.exp: Update invalid argument test.
11104 Add new tests for invalid arguments.
11105
ed6c0bfb
TP
111062017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11107
11108 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11109 Return 0 as a long.
11110 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11111
f106e10e
TP
111122017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11113
11114 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11115 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11116 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11117 func ().
11118 * gdb.cp/shadow.cc (B.func): Return 0.
11119
10329bb2
JB
111202017-11-27 Joel Brobecker <brobecker@adacore.com>
11121
11122 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11123 expected output in gdb_expect call to allow the exception
11124 message to be present as well. Fix syntax confusion to avoid
11125 TCL thinking that exception_name is an array.
11126
617cd4bc
UW
111272017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11128
11129 * gdb.arch/spu-info.c: Include <unistd.h>.
11130 (do_signal_test): Fix broken calls to write.
11131 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11132 Fix checks for empty mailboxes. Update signal tests for corrected
11133 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11134 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11135 * gdb.cell/arch.exp: Use standard_output_file.
11136 * gdb.cell/break.exp: Likewise.
11137 * gdb.cell/bt.exp: Likewise.
11138 * gdb.cell/core.exp: Likewise.
11139 * gdb.cell/dwarfaddr.exp: Likewise.
11140 * gdb.cell/ea-cache.exp: Likewise.
11141 * gdb.cell/ea-standalone.exp: Likewise.
11142 * gdb.cell/f-regs.exp: Likewise.
11143 * gdb.cell/fork.exp: Likewise.
11144 * gdb.cell/gcore.exp: Likewise.
11145 * gdb.cell/mem-access.exp: Likewise.
11146 * gdb.cell/ptype.exp: Likewise.
11147 * gdb.cell/registers.exp: Likewise.
11148 * gdb.cell/sizeof.exp: Likewise.
11149 * gdb.cell/solib-symbol.exp: Likewise.
11150 * gdb.cell/solib.exp: Likewise.
617cd4bc 11151
a81aaca0
PA
111522017-11-25 Pedro Alves <palves@redhat.com>
11153
11154 * gdb.base/complete-empty.exp: New file.
11155 * gdb.base/completion.exp: Adjust.
11156
6a3c6ee4
PA
111572017-11-25 Pedro Alves <palves@redhat.com>
11158
11159 * gdb.linespec/cpls-ops.cc: New file.
11160 * gdb.linespec/cpls-ops.exp: New file.
11161 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11162 factored out from ...
11163 (test_complete_prefix_range): ... this.
11164
8955eb2d
PA
111652017-11-24 Pedro Alves <palves@redhat.com>
11166
11167 * gdb.linespec/cpcompletion.exp: New file.
11168 * gdb.linespec/cpls-hyphen.cc: New file.
11169 * gdb.linespec/cpls.cc: New file.
11170 * gdb.linespec/cpls2.cc: New file.
11171 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11172 test to use test_gdb_complete_unique. Add label completion,
11173 keyword completion and explicit location completion tests.
11174 * lib/completion-support.exp: New file.
11175
e547c119
JB
111762017-11-24 Joel Brobecker <brobecker@adacore.com>
11177
11178 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11179 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11180 when hitting an exception catchpoint.
11181
7c3c1aa8
YQ
111822017-11-22 Yao Qi <yao.qi@linaro.org>
11183
11184 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11185
41bd68f5
SM
111862017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11187
11188 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11189 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11190 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11191
1daad298
YQ
111922017-11-22 Yao Qi <yao.qi@linaro.org>
11193
11194 * gdb.base/info-os.exp: Pass pthreads.
11195 * gdb.multi/multi-attach.exp: Likewise.
11196
88465e87
YQ
111972017-11-22 Yao Qi <yao.qi@linaro.org>
11198
11199 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11200 compiler.
11201
dc196b23
YQ
112022017-11-22 Yao Qi <yao.qi@linaro.org>
11203
11204 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11205 * gdb.base/break-interp.exp: Likewise.
11206 * gdb.base/jit-attach-pie.exp: Likewise.
11207
2400729e
UW
112082017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11209
11210 * gdb.base/float128.c (large128): New variable.
11211 * gdb.base/float128.exp: Add test to print largest __float128 value.
11212
7a26362d
UW
112132017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11214
11215 * gdb.arch/vsx-regs.exp: Update register content checks.
11216
ed0f4273
UW
112172017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11218
11219 * gdb.arch/ppc-longdouble.exp: New file.
11220 * gdb.arch/ppc-longdouble.c: Likewise.
11221
a25d69c6
PA
112222017-11-21 Pedro Alves <palves@redhat.com>
11223
11224 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11225
73fcf641
PA
112262017-11-20 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11229 (long_double_typedef): New typedefs.
11230 Use DEF on double and long double.
11231 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11232 cases.
11233 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11234 and 'long_double_ptr_same_size' locals. Use them to decide
11235 whether cast from array/function to float is valid/invalid.
11236
71a3c369
TT
112372017-11-17 Tom Tromey <tom@tromey.com>
11238
11239 * gdb.rust/traits.rs: New file.
11240 * gdb.rust/traits.exp: New file.
11241
ced9779b
JB
112422017-11-17 Joel Brobecker <brobecker@adacore.com>
11243
11244 * gdb.ada/minsyms: New testcase.
11245
a0922d80
PA
112462017-11-16 Pedro Alves <palves@redhat.com>
11247
11248 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11249 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11250
ea04e54c
PA
112512017-11-16 Pedro Alves <palves@redhat.com>
11252
11253 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11254 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11255
e849ea89
PA
112562017-11-16 Pedro Alves <palves@redhat.com>
11257
11258 * gdb.server/reconnect-ctrl-c.c: New file.
11259 * gdb.server/reconnect-ctrl-c.exp: New file.
11260
d8ae99a7
PM
112612017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11262
11263 * gdb.python/py-rbreak.exp: New file.
11264 * gdb.python/py-rbreak.c: New file.
11265 * gdb.python/py-rbreak-func2.c: New file.
11266
968a13f8
PA
112672017-11-16 Pedro Alves <palves@redhat.com>
11268
11269 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11270 pattern.
11271 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11272 GDB.
11273
71774bc9
SM
112742017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11275
11276 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11277 regex.
11278
ddbb44cf
SM
112792017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11280
11281 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11282 test names.
11283
584a564f
PA
112842017-11-09 Pedro Alves <palves@redhat.com>
11285
11286 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11287 factored out from ...
11288 (top level): ... here, and adjusted to avoid expecting beyond the
11289 prompt in a single gdb_test_multiple.
11290
5ed7a928
PA
112912017-11-09 Pedro Alves <palves@redhat.com>
11292
11293 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11294 output.
11295 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11296 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11297 * gdb.server/ext-run.exp ("kill" test): Likewise.
11298 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11299
a60e0738
PA
113002017-11-09 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11303 match till end of line.
11304
2c88253f
PA
113052017-11-09 Pedro Alves <palves@redhat.com>
11306
11307 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11308
c7a38517
PA
113092017-11-09 Pedro Alves <palves@redhat.com>
11310
11311 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11312 New procedures, factored out from ...
11313 (top level): ... here, and adjusted to avoid expecting beyond the
11314 prompt in one go.
11315
f29f4b6b
PA
113162017-11-09 Pedro Alves <palves@redhat.com>
11317
11318 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11319 output. Fix '?' match.
11320
286acbb5
JB
113212017-11-08 Joel Brobecker <brobecker@adacore.com>
11322
11323 * gdb.ada/scoped_watch: New testcase.
11324 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11325 which is actually correct.
11326 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11327 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11328
62d7ae92
PA
113292017-11-08 Pedro Alves <palves@redhat.com>
11330
11331 * gdb.gdb/complaints.exp (test_initial_complaints)
11332 (test_serial_complaints, test_short_complaints): Call
11333 complaint_internal instead of complaint.
11334
280ca31f
DT
113352017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11336
11337 * gdb.threads/tls-core.c: New file.
11338 * gdb.threads/tls-core.exp: Likewise.
11339
b5ec771e
PA
113402017-11-08 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11343 (p Exported_Capitalized): New test.
11344 (p exported_capitalized): New test.
11345
a02b41a7
PA
113462017-11-07 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11349
95e95a6d
PA
113502017-11-07 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11353 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11354 (disable_invalid, disable_inverted, disable_negative): New
11355 procedures.
11356 ("bad numbers"): New set of tests.
11357
cee62dbd
PA
113582017-11-07 Pedro Alves <palves@redhat.com>
11359
11360 * gdb.cp/ena-dis-br-range.exp: Add tests.
11361
cc638e86
PA
113622017-11-07 Pedro Alves <palves@redhat.com>
11363
11364 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11365
d0fe4701
XR
113662017-11-07 Xavier Roirand <roirand@adacore.com>
11367 Pedro Alves <palves@redhat.com>
11368
11369 * gdb.base/ena-dis-br.exp: Add reference to
11370 gdb.cp/ena-dis-br-range.exp.
11371 * gdb.cp/ena-dis-br-range.exp: New file.
11372 * gdb.cp/ena-dis-br-range.cc: New file.
11373
46f67f80
PA
113742017-11-06 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.base/attach-non-pgrp-leader.c: New.
11377 * gdb.base/attach-non-pgrp-leader.exp: New.
11378
726e1356
PA
113792017-11-06 Pedro Alves <palves@redhat.com>
11380
11381 * configure.ac: No longer check for termio.h and sgtty.h.
11382 * configure: Regenerate.
11383 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11384 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11385 Remove termio and sgtty code.
11386
50ab6ace
YQ
113872017-11-03 Yao Qi <yao.qi@linaro.org>
11388
11389 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11390 in GDB is disabled.
11391
8e68731c
YQ
113922017-11-03 Yao Qi <yao.qi@linaro.org>
11393
11394 * gdb.python/py-thrhandle.exp: Skip it if python is not
11395 enabled.
11396
3a87ae65
SM
113972017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11398
11399 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11400 as a breakpoint command.
11401
484d8d36
MD
114022017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11403
11404 PR python/21213
11405 * gdb.python/py-infthread.exp: Test calling
11406 InferiorThread.inferior () multiple times in a row.
11407
4a27f119
KS
114082017-10-27 Keith Seitz <keiths@redhat.com>
11409
11410 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11411 Test "info break" for every inlined function breakpoint.
11412
bb11dd58
YQ
114132017-10-27 Yao Qi <yao.qi@linaro.org>
11414
11415 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11416
a43f3893
PF
114172017-10-26 Patrick Frants <osscontribute@gmail.com>
11418
11419 * gdb.cp/classes.exp (test_static_members): Test printing
11420 Outer::instance.
11421 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11422 (Inner::instance, Outer::instance): New.
11423
792ccf00
PA
114242017-10-24 Pedro Alves <palves@redhat.com>
11425
11426 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11427 extra console" test in two stages.
11428
eb2bfbad
PA
114292017-10-24 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11432
1f75a651
PA
114332017-10-24 Pedro Alves <palves@redhat.com>
11434
11435 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11436 loop.
11437
779990d9
PA
114382017-10-24 Pedro Alves <palves@redhat.com>
11439
11440 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11441 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11442
ad9b8f5d
PA
114432017-10-24 Pedro Alves <palves@redhat.com>
11444
11445 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11446 parameter and handle it. Don't output read value in test name.
11447
fee6da6e
PA
114482017-10-24 Pedro Alves <palves@redhat.com>
11449
11450 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11451 custom test name.
11452
10389c2c
PA
114532017-10-24 Pedro Alves <palves@redhat.com>
11454
11455 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11456 include the unstable output directory name in the test's name.
11457 (initial_setup_simple) <'set args'>: Use custom test name.
11458
a80e65a9
PA
114592017-10-24 Pedro Alves <palves@redhat.com>
11460
11461 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11462 with explicit test name.
11463
15763a09
PA
114642017-10-20 Pedro Alves <palves@redhat.com>
11465
11466 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11467 'wait -i'. Use gdb_assert and remote_close.
11468
49a4ce2e
AB
114692017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11470
11471 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11472 number from variable rather than hard-coded.
11473
a75868f5
PA
114742017-10-19 Pedro Alves <palves@redhat.com>
11475
11476 * gdb.base/long-inferior-output.c: New file.
11477 * gdb.base/long-inferior-output.exp: New file.
11478
c8ba13ad
KS
114792017-11-18 Keith Seitz <keiths@redhat.com>
11480
11481 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11482 method.
11483 (main): Call it.
11484 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11485 Add additional user-defined conversion operator tests.
11486
b27de576
PA
114872017-10-17 Pedro Alves <palves@redhat.com>
11488
11489 * boards/native-stdio-gdbserver.exp: Load "local-board".
11490
8484c955
PA
114912017-10-17 Pedro Alves <palves@redhat.com>
11492
11493 * gdb.base/quit-live.c: New file.
11494 * gdb.base/quit-live.exp: New file.
11495
83d5a34d
KS
114962017-10-16 Keith Seitz <keiths@redhat.com>
11497
11498 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11499 (class_with_protected_typedef, class_with_private_typedef)
11500 (struct_with_public_typedef, struct_with_protected_typedef)
11501 (struct_with_private_typedef): New classes/structs.
11502 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11503 typedefs and access specifiers.
11504
739b3f1d
PA
115052017-10-16 Pedro Alves <palves@redhat.com>
11506 Simon Marchi <simon.marchi@polymtl.ca>
11507
11508 * README (Local vs Remote vs Native): New section.
11509 * boards/local-board.exp: New file, with bits factored out from
11510 ...
11511 * boards/native-extended-gdbserver.exp: ... here. Load
11512 "local-board".
11513 * boards/native-gdbserver.exp: Load "local-board".
11514 (${board}_spawn, ${board}_exec): Delete.
11515 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11516 ...
11517 * boards/stdio-gdbserver-base.exp: ... this new file.
11518 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11519 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11520 procedure.
11521 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11522 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11523 stdio_gdbserver_command.
11524 (${board}_get_remote_address, ${board}_get_comm_port)
11525 (${board}_download, ${board}_upload): Delete.
11526 (get_target_remote_pipe_cmd): New.
11527
fe68b953
SM
115282017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11529
11530 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11531 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11532 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11533 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11534 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11535 remove with_test_prefix.
11536
300b6685
PA
115372017-10-13 Pedro Alves <palves@redhat.com>
11538
11539 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11540 * gdb.base/annota1.exp: Use it instead of is_remote.
11541 * gdb.base/annota3.exp: Use it instead of is_remote.
11542 * gdb.cp/annota2.exp: Use it instead of is_remote.
11543 * gdb.cp/annota3.exp: Use it instead of is_remote.
11544 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11545
50500caf
PA
115462017-10-13 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11549 (test_num_test_vars, run_and_count_vars, find_env)
11550 (test_set_unset_env, test_inherit_env_var): New procedures.
11551 (top level): Use them.
11552
dad0c6d2
PA
115532017-10-13 Pedro Alves <palves@redhat.com>
11554
11555 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11556 also skip on stub-like targets.
11557
8b0553c1
PA
115582017-10-13 Pedro Alves <palves@redhat.com>
11559
11560 PR gdb/22293
11561 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11562 (top level): Move some tests to ...
11563 (test_not_found): ... this new procedure.
11564 (top level): Call it.
11565
7594f623
PA
115662017-10-13 Pedro Alves <palves@redhat.com>
11567
11568 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11569 expect different "info terminal" output if testing with a
11570 non-native target.
11571
ebe3b402
PA
115722017-10-13 Pedro Alves <palves@redhat.com>
11573 Simon Marchi <simon.marchi@polymtl.ca>
11574
11575 PR python/12966
11576 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11577
42f1b161
PA
115782017-10-13 Pedro Alves <palves@redhat.com>
11579
11580 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11581 already.
11582
8d6ef72b
PA
115832017-10-13 Pedro Alves <palves@redhat.com>
11584
11585 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11586 is_remote.
11587
d7bcd5b8
PA
115882017-10-13 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11591 is_remote.
11592
df479dc6
PA
115932017-10-13 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11596 is set.
11597 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11598 instead of is_remote.
11599
23fb630a
PA
116002017-10-13 Pedro Alves <palves@redhat.com>
11601
11602 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11603 (top level): Add comment.
11604
cc77b1dc
PA
116052017-10-13 Pedro Alves <palves@redhat.com>
11606
11607 * gdb.base/remote.exp (top level): Fix comment typo and add
11608 missing return.
11609
27c9e813
PA
116102017-10-13 Pedro Alves <palves@redhat.com>
11611 Simon Marchi <simon.marchi@polymtl.ca>
11612
11613 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11614 calls and add comments. Skip test if use_gdb_stub is set.
11615 (top level): Use "set cwd" command instead of "cd" command.
11616
5e830d98
PA
116172017-10-13 Pedro Alves <palves@redhat.com>
11618
11619 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11620 is_remote target check.
11621
f5ca0032
PA
116222017-10-13 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.base/scope.exp: Use build_executable + clean_restart +
11625 gdb_file_cmd instead of prepare_for_testing and no longer skip
11626 "before run" tests on is_remote target boards. Update comments.
11627 * boards/native-extended-gdbserver.exp
11628 (extended_gdbserver_load_last_file): New, factored out from ...
11629 (gdb_load): ... this. Move further below and add comment.
11630 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11631
8aed1c0d
PA
116322017-10-12 Pedro Alves <palves@redhat.com>
11633
11634 * gdb.base/attach.exp: Remove references to gdb64.
11635 * gdb.base/dbx.exp: Remove references to gdb64.
11636
cfa34c87
SM
116372017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11638 Pedro Alves <palves@redhat.com>
11639
11640 * gdb.base/label.exp: Remove is_remote target check.
11641
9192b7de
PA
116422017-10-12 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.base/auvx.exp (coredir): Update comment.
11645 (top level) <core_works>: Use "set cwd" command instead of "cd"
11646 command.
11647
6bf0052d
PA
116482017-10-12 Pedro Alves <palves@redhat.com>
11649 Simon Marchi <simon.marchi@polymtl.ca>
11650
11651 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11652 target boards.
11653
e48ef82d
PA
116542017-10-12 Pedro Alves <palves@redhat.com>
11655 Simon Marchi <simon.marchi@polymtl.ca>
11656
11657 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11658 Instead skip if there's any gdb_protocol set.
11659
8d7aea57
SM
116602017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11661 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11664
30440677
PA
116652017-10-12 Pedro Alves <palves@redhat.com>
11666 Simon Marchi <simon.marchi@polymtl.ca>
11667
11668 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11669 instead of on dejagnu remote boards.
11670
4e04f045 116712017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11672 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11673
11674 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11675 checks. Use build_executable + clean_restart instead of
11676 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11677 of enabling non-stop after starting gdb.
11678
871a186e
PA
116792017-10-12 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11682 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11683 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11684 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11685
56d704da
AK
116862017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11687
11688 * gdb.arch/arc-tdesc-cpu.exp: New file.
11689 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11690
2f20e312
SM
116912017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11692
11693 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11694
65630365
PA
116952017-10-10 Pedro Alves <palves@redhat.com>
11696
11697 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11698 expect CLI output.
11699
bf469271
PA
117002017-10-10 Pedro Alves <palves@redhat.com>
11701
11702 * lib/selftest-support.exp (selftest_setup): Update for
11703 captured_command_loop's prototype change.
11704
777a42f1
PA
117052017-10-09 Pedro Alves <palves@redhat.com>
11706
11707 Test both arch1=>arch2 and arch2=>arch1.
11708
11709 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11710 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11711 factored out to...
11712 (append_arch1_options, append_arch2_options, append_arch_options)
11713 (build_executables): New procedures.
11714 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11715 local.
11716 (top level): Add new 'first_arch' testing axis.
11717
cbd2b4e3
PA
117182017-10-09 Pedro Alves <palves@redhat.com>
11719
11720 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11721 (barrier): New.
11722 (thread_start, all_started): New functions.
11723 (main): Spawn new thread and wait until it is scheduled.
11724 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11725 option.
11726 (do_test): Add 'selected_thread' parameter. Run to all_started
11727 instead of main. Explicitly set the breakpoint at main. Switch
11728 to the SELECTED_THREAD thread.
11729 (top level): Test handling the exec event with either the main
11730 thread or the second thread selected.
11731
5c9e4427
PA
117322017-10-09 Pedro Alves <palves@redhat.com>
11733
11734 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11735 logic. Move STOP marker after the value checks.
11736 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11737 regexp.
11738
b3b7c423
SL
117392017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11740
11741 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11742
3b4b2f16
UW
117432017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11744
11745 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11746 integer-to-dfp conversion.
11747 * gdb.base/dfp-test.exp: Likewise.
11748
5cd63fda
PA
117492017-10-04 Pedro Alves <palves@redhat.com>
11750
11751 * gdb.multi/hangout.c: Include <unistd.h>.
11752 (hangout_loop): New function.
11753 (main): Call alarm. Call hangout_loop in a loop.
11754 * gdb.multi/hello.c: Include <unistd.h>.
11755 (hello_loop): New function.
11756 (main): Call alarm. Call hangout_loop in a loop.
11757 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11758 inferior with the other selected.
11759
4c71c105
SM
117602017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11761
11762 * gdb.mi/list-thread-groups-available.exp: New file.
11763 * gdb.mi/list-thread-groups-available.c: New file.
11764
bc3b087d
SDJ
117652017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11766
11767 * gdb.base/set-cwd.exp: Make it available on
11768 native-extended-gdbserver.
11769
d092c5a2
SDJ
117702017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11771
11772 * gdb.base/set-cwd.c: New file.
11773 * gdb.base/set-cwd.exp: Likewise.
11774
45320ffa
TT
117752017-10-02 Tom Tromey <tom@tromey.com>
11776
11777 PR rust/22236:
11778 * gdb.rust/simple.rs (main): New variable "fslice".
11779 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11780
b3e3859b
TT
117812017-10-02 Tom Tromey <tom@tromey.com>
11782
11783 * gdb.rust/simple.exp: Test ptype of a slice.
11784
01af5e0d
TT
117852017-10-02 Tom Tromey <tom@tromey.com>
11786
11787 * gdb.rust/simple.exp: Test index of slice.
11788
a9bbfbd8
TT
117892017-09-27 Tom Tromey <tom@tromey.com>
11790
11791 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11792
df8899e5
TP
117932017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11794 Pedro Alves <palves@redhat.com>
11795
11796 * gdb.base/compare-sections.exp (get value of read-only section): Read
11797 as unsigned value.
11798 (corrupt read-only section): Likewise and don't set written if patching
11799 failed.
11800
757bf54b
KB
118012017-09-21 Kevin Buettner <kevinb@redhat.com>
11802
11803 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11804 files.
11805
06871ae8
PA
118062017-09-20 Pedro Alves <palves@redhat.com>
11807
11808 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11809 symbol names in gdb's output.
11810 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11811
e5f25bc5
PA
118122017-09-20 Pedro Alves <palves@redhat.com>
11813
11814 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11815 Rename to ...
11816 (test_list_ambiguous_symbol): ... this and add a symbol name
11817 parameter. Adjust.
11818 (test_list_ambiguous_function): Reimplement on top of
11819 test_list_ambiguous_symbol and also test listing ambiguous
11820 variables.
11821 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11822 (ambiguous_fun): ... this.
11823 (ambiguous_var): New.
11824 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11825 (ambiguous_fun): ... this.
11826 (ambiguous_var): New.
11827
4e5a4f58
JB
118282017-09-19 John Baldwin <jhb@FreeBSD.org>
11829
11830 * gdb.base/starti.c: New file.
11831 * gdb.base/starti.exp: New file.
11832 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11833
26e53f3e
PA
118342017-09-14 Pedro Alves <palves@redhat.com>
11835
11836 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11837 (top level): Use it instead of runto.
11838
cb791d59
TT
118392017-09-11 Tom Tromey <tom@tromey.com>
11840
11841 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11842
7c96f8c1
TT
118432017-09-11 Tom Tromey <tom@tromey.com>
11844
11845 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11846 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11847
469412dd
CW
118482017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11849
11850 * gdb.fortran/printing-types.exp: New file.
11851 * gdb.fortran/printing-types.exp: New file.
11852
e0f86435
BH
118532017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11854
11855 * gdb.fortran/vla-ptype.exp: Fix typos.
11856 * gdb.fortran/vla-value.exp: Same.
11857
9e9af4be
BH
118582017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11859
11860 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11861 * gdb.mi/mi-var-child-f.exp: Likewise.
11862 * gdb.mi/mi-vla-fortran.exp: Likewise.
11863
a5ad232b 118642017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11865 Christoph Weinmann <christoph.t.weinmann@intel.com>
11866 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11867
11868 * gdb.fortran/ptr-indentation.f90: New file.
11869 * gdb.fortran/ptr-indentation.exp: New file.
11870
5aec60eb
TT
118712017-09-05 Tom Tromey <tom@tromey.com>
11872
11873 PR gdb/22010:
11874 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11875
8f8f8152
TP
118762017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11877
11878 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11879
fbd1b771
JK
118802017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11881
11882 * gdb.threads/tls-nodebug-pie.c: New file.
11883 * gdb.threads/tls-nodebug-pie.exp: New file.
11884
5eb5f850
TT
118852017-09-05 Tom Tromey <tom@tromey.com>
11886
11887 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11888 for rust.
11889
ae780a21
SM
118902017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11891
11892 * gdb.multi/multi-arch-exec.exp: Test with different
11893 "follow-exec-mode" settings.
11894 (do_test): New procedure.
11895
3693fdb3
PA
118962017-09-04 Pedro Alves <palves@redhat.com>
11897
11898 * gdb.base/func-static.c (S::method const, S::method volatile)
11899 (S::method volatile const): New methods.
11900 (c_s, v_s, cv_s): New instances.
11901 (main): Call method() on them.
11902 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11903 (cannot_resolve): New procedure.
11904 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11905 print-quote-unquoted columns.
11906 (do_test): Test printing each scope too.
11907
e68cb8e0
PA
119082017-09-04 Pedro Alves <palves@redhat.com>
11909
11910 * gdb.base/local-static.exp: Also test with
11911 class::method::variable wholly quoted.
11912 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11913
858be34c
PA
119142017-09-04 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.base/local-static.c: New.
11917 * gdb.base/local-static.cc: New.
11918 * gdb.base/local-static.exp: New.
11919
46a4882b
PA
119202017-09-04 Pedro Alves <palves@redhat.com>
11921
11922 * gdb.asm/asm-source.exp: Add casts to int.
11923 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11924 (dataglobal64_1, dataglobal64_2): New globals.
11925 * gdb.base/nodebug.exp: Test different expressions involving the
11926 new globals, with print, whatis and ptype. Add casts to int.
11927 * gdb.base/solib-display.exp: Add casts to int.
11928 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11929 * gdb.cp/m-static.exp: Add cast to int.
11930 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11931 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11932 tls variable with no debug info without a cast. Test with a cast
11933 to int too.
11934 * gdb.trace/entry-values.exp: Add casts.
11935
2c5a2be1
PA
119362017-09-04 Pedro Alves <palves@redhat.com>
11937
11938 * gdb.base/nodebug.exp: Test that ptype's error about functions
11939 with unknown return type includes the function name too.
11940
7022349d
PA
119412017-09-04 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11944 return type of munmap in infcall.
11945 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11946 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11947 type of ftell in infcall.
11948 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11949 type of getpid in infcall.
11950 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11951 infcall.
11952 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11953 Bail on failure to extract the pid.
11954 * gdb.base/nodebug.c: #include <stdint.h>.
11955 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11956 New functions.
11957 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11958 Change expected output of print/whatis/ptype with functions with
11959 no debug info. Test all supported languages. Call
11960 test_call_promotion.
11961 * gdb.compile/compile.exp: Adjust expected output to expect
11962 warning.
11963 * gdb.threads/siginfo-threads.exp: Likewise.
11964
54990598
PA
119652017-09-04 Pedro Alves <palves@redhat.com>
11966
11967 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11968 "prototypes". Test calling float functions via prototyped and
11969 unprototyped function pointers.
11970 (perform_all_tests): New parameter "prototypes". Pass it down.
11971 (top level): Pass down "prototypes" parameter to
11972 perform_all_tests.
11973
34d16ea2
SM
119742017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11975
11976 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11977 Test with nested loops.
11978
9521ecda
SM
119792017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11980
11981 * gdb.base/commands.exp: Call the new procedures.
11982 (loop_break_test, loop_continue_test): New procedures.
11983
80a65e9b
SM
119842017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11985
11986 * gdb.base/commands.exp: Call new procedure.
11987 (define_if_without_arg_test): New procedure.
11988
e439fa14
PA
119892017-09-04 Pedro Alves <palves@redhat.com>
11990
11991 * gdb.base/list-ambiguous.exp: New file.
11992 * gdb.base/list-ambiguous0.c: New file.
11993 * gdb.base/list-ambiguous1.c: New file.
11994 * gdb.base/list.exp (test_list_range): Adjust expected output.
11995
0a2dde4a
SDJ
119962017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11997
11998 * gdb.base/share-env-with-gdbserver.c: New file.
11999 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12000
5e89eb3a
SM
120012017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12002
12003 * gdb.base/commands.exp (gdbvar_simple_if_test,
12004 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12005 progvar_simple_if_test, progvar_simple_while_test,
12006 progvar_complex_if_while_test, user_defined_command_test,
12007 user_defined_command_args_eval,
12008 user_defined_command_args_stack_test,
12009 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12010 temporary_breakpoint_commands,
12011 gdb_test_no_prompt, redefine_hook_test,
12012 redefine_backtrace_test): Remove "global gdb_prompt".
12013
fd437cbc
SM
120142017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12015
12016 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12017 New proc, call it from toplevel.
12018
87215ad1
SDJ
120192017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12020
12021 PR remote/21852
12022 * gdb.server/normal.c: New file, copied from gdb.base.
12023 * gdb.server/run-without-local-binary.exp: New file.
12024
58afddc6
WP
120252017-08-07 Weimin Pan <weimin.pan@oracle.com>
12026
12027 * gdb.arch/sparc64-adi.exp: New file.
12028 * gdb.arch/sparc64-adi.c: New file.
12029
5277199a
PA
120302017-08-22 Pedro Alves <palves@redhat.com>
12031
12032 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12033 (top level): Add "list all overloads" tests.
12034
14278e1f
TT
120352017-08-22 Tom Tromey <tom@tromey.com>
12036
12037 * gdb.gdb/xfullpath.exp: Remove.
12038
bf223d3e
PA
120392017-08-21 Pedro Alves <palves@redhat.com>
12040
12041 PR gdb/19487
12042 * gdb.base/symbol-alias.c: New.
12043 * gdb.base/symbol-alias2.c: New.
12044 * gdb.base/symbol-alias.exp: New.
12045
c973d0aa
PA
120462017-08-21 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.base/dfp-test.c
12049 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12050 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12051 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12052 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12053 * gdb.base/whatis-ptype-typedefs.c: New.
12054 * gdb.base/whatis-ptype-typedefs.exp: New.
12055 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12056 (an_int, an_int_type, an_int_type2): New globals.
12057 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12058 involving typedefs and cast expressions.
12059 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12060 (lookup_typedefs_function): New.
12061 (typedefs_pretty_printers_dict): New.
12062 (top level): Register lookup_typedefs_function in
12063 gdb.pretty_printers.
12064
6d580b63
YQ
120652017-08-18 Yao Qi <yao.qi@linaro.org>
12066
12067 * gdb.server/unittest.exp: New.
12068
206726fb
SDJ
120692017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12070
12071 PR gdb/21954
12072 * gdb.base/environ.exp: Add test to check if 'unset environment'
12073 works.
12074
bf0ec4c2
AA
120752017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12076
12077 * lib/gdb.exp (universal_compile_options): New caching proc.
12078 (gdb_compile): Suppress GCC's coloring of messages.
12079
d6382fff
TT
120802017-08-14 Tom Tromey <tom@tromey.com>
12081
12082 PR gdb/21675:
12083 * gdb.base/printcmds.exp (test_radices): New function.
12084 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12085 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12086 * lib/gdb.exp (get_integer_valueof): Use p/d.
12087
c2c2dd9f
SM
120882017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12089
12090 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12091 characters.
12092
fdffd6f4
TT
120932017-08-05 Tom Tromey <tom@tromey.com>
12094
12095 * gdb.rust/simple.exp: Allow String to appear in a different
12096 namespace.
12097
27d41eac
YQ
120982017-07-26 Yao Qi <yao.qi@linaro.org>
12099
12100 * gdb.gdb/unittest.exp: Invoke command
12101 "maintenance check xml-descriptions".
12102
031ed05d
AA
121032017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12104
12105 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12106 calling context.
12107 (hex128): Drop erroneous calculation of parameters.
12108
dcd27ddf
SM
121092017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12110
12111 * gdb.python/py-unwind.exp: Disable stack protection when
12112 building test file.
12113
47e77640
PA
121142017-07-20 Pedro Alves <palves@redhat.com>
12115
12116 * gdb.base/default.exp (set language): Adjust expected output.
12117
62d2a18a
PA
121182017-07-20 Pedro Alves <palves@redhat.com>
12119
12120 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12121 (test_minsym): ... this, and make static.
12122 (get_pck__foo__bar__minsym): Rename to ...
12123 (get_test_minsym): ... this.
12124 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12125 symbol names and comments.
12126 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12127 (get_test_minsym): ... this.
12128 (pck__foo__bar__minsym__2): Rename to ...
12129 (test_minsym): ... this.
12130 (main): Adjust.
12131
c45ec17c
PA
121322017-07-17 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/completion.exp: Adjust expected output.
12135 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12136 the completer works.
12137
c6756f62
PA
121382017-07-17 Pedro Alves <palves@redhat.com>
12139
12140 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12141
5bd68487
AB
121422017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12143
12144 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12145
8880f2a9
TT
121462017-07-14 Tom Tromey <tom@tromey.com>
12147
12148 PR rust/21764:
12149 * gdb.rust/simple.exp: Add tests.
12150
65547233
TT
121512017-07-14 Tom Tromey <tom@tromey.com>
12152
12153 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12154
8f14146e
PA
121552017-07-14 Pedro Alves <palves@redhat.com>
12156
12157 * gdb.linespec/base/one/thefile.cc (z1): New function.
12158 * gdb.linespec/base/two/thefile.cc (z2): New function.
12159 * gdb.linespec/linespec.exp: Add tests.
12160
b4365d02
AB
121612017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12162
12163 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12164 to mi_create_breakpoint.
12165
5d2cbaa5
AB
121662017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12167
12168 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12169 mi_create_breakpoint.
12170
11cb5716
IB
121712017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12172
12173 * gdb.dlang/demangle.exp: Update for demangling changes.
12174
03278692
TT
121752017-07-09 Tom Tromey <tom@tromey.com>
12176
12177 * gdb.dwarf2/shortpiece.exp: New file.
12178
33c5cd75
DB
121792017-07-06 David Blaikie <dblaikie@gmail.com>
12180
12181 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12182 built from fissiont-multi-cu{1,2}.c.
12183 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12184 except putting 'main' and 'func' in separate CUs in the same DWO file.
12185 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12186 test.
12187 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12188 test.
12189
8455d262
PA
121902017-07-06 Pedro Alves <palves@redhat.com>
12191
12192 * gdb.python/py-unwind.exp: Test flushregs.
12193
dc4bde35
SDJ
121942017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12195
12196 PR cli/21688
12197 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12198 tests for alias commands and trailing whitespace.
12199
51ed89aa
SDJ
122002017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12201
12202 PR cli/21688
12203 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12204 procedure. Call it.
12205
eb17d413
PA
122062017-06-29 Pedro Alves <palves@redhat.com>
12207
12208 * gdb.base/printcmds.exp: Add tests.
12209
41664b45
DG
122102017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12211
12212 PR gdb/21337
12213 * gdb.base/reread-readsym.exp: New file.
12214 * gdb.base/reread-readsym.c: New file.
12215
75312ae3
KB
122162017-06-21 Kevin Buettner <kevinb@redhat.com>
12217
12218 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12219 subpattern.
12220
66953522
PB
122212017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12222
12223 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12224 extended mnemonic.
12225 * gdb.arch/powerpc-power9.s: Likewise.
12226
5524b525
AA
122272017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12228
12229 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12230 on 32-bit x86 targets. Exploit is_*_target macros where
12231 appropriate.
12232
03c8af18
AA
122332017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12234
12235 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12236 register pieces.
12237
3bf31011
AA
122382017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12239
12240 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12241 located in one or more DWARF pieces.
12242
805acca0
AA
122432017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12244
12245 * lib/gdb.exp (get_endianness): New proc.
12246 * gdb.arch/aarch64-fp.exp: Use it.
12247 * gdb.arch/altivec-regs.exp: Likewise.
12248 * gdb.arch/e500-regs.exp: Likewise.
12249 * gdb.arch/vsx-regs.exp: Likewise.
12250 * gdb.base/dump.exp: Likewise.
12251 * gdb.base/funcargs.exp: Likewise.
12252 * gdb.base/gnu_vector.exp: Likewise.
12253 * gdb.dwarf2/formdata16.exp: Likewise.
12254 * gdb.dwarf2/implptrpiece.exp: Likewise.
12255 * gdb.dwarf2/nonvar-access.exp: Likewise.
12256 * gdb.python/py-inferior.exp: Likewise.
12257 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12258
e9352324
AA
122592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12260
12261 PR gdb/21226
12262 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12263 stack value pieces are taken from the LSB end.
12264
d5d1163e
AA
122652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12266
12267 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12268 variable at nonzero offset.
12269
0567c986
AA
122702017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12271
12272 * gdb.dwarf2/var-access.c: New file.
12273 * gdb.dwarf2/var-access.exp: New test.
12274 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12275
973e9aab
TT
122762017-06-12 Tom Tromey <tom@tromey.com>
12277
12278 * gdb.dwarf2/formdata16.exp: Add tests.
12279
d9109c80
TT
122802017-06-12 Tom Tromey <tom@tromey.com>
12281
12282 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12283
30a25466
TT
122842017-06-12 Tom Tromey <tom@tromey.com>
12285
12286 PR exp/16225:
12287 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12288 * gdb.arch/vsx-regs.exp: Update tests.
12289 * gdb.arch/s390-vregs.exp (hex128): New proc.
12290 Update test.
12291 * gdb.arch/altivec-regs.exp: Update tests.
12292
aefd8b33
SDJ
122932017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12294
12295 * gdb.base/startup-with-shell.c: New file.
12296 * gdb.base/startup-with-shell.exp: Likewise.
12297
2090129c
SDJ
122982017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12299
12300 * gdb.server/non-existing-program.exp: Update regex in order to
12301 reflect the fact that gdbserver is now using fork_inferior (with a
12302 shell) to startup the inferior.
12303
8e86a419
SM
123042017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12305
12306 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12307 support function calls from GDB.
12308
e6cf65f2
TT
123092017-05-21 Tom Tromey <tom@tromey.com>
12310
12311 PR rust/21466:
12312 * gdb.rust/unsized.exp: New file.
12313 * gdb.rust/unsized.rs: New file.
12314
43cc5389
TT
123152017-05-19 Tom Tromey <tom@tromey.com>
12316
12317 PR rust/21484:
12318 * gdb.rust/watch.exp: New file.
12319 * gdb.rust/watch.rs: New file.
12320
ec8df234
TT
123212017-05-18 Tom Tromey <tom@tromey.com>
12322
12323 * gdb.rust/simple.exp: Allow Box to be qualified.
12324
3e3e7fae
TP
123252017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12326
12327 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12328
59cc050d
PA
123292017-05-18 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/fileio.c (test_write, test_read, test_close)
12332 (test_fstat): Don't print 'ret' in the fail path.
12333
c8f6abd1
PA
123342017-05-18 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12337 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12338 (test_system, test_rename, test_unlink, test_time): Change
12339 prototypes.
12340 * gdb.base/fileio.exp (stop_msg): Adjust.
12341
d2a03b77
PA
123422017-05-18 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/fileio.c (null_str): New global.
12345 (test_stat): Use it.
12346 * gdb.base/fileio.exp: Remove nowarnings.
12347
0d5c6999
YQ
123482017-05-17 Yao Qi <yao.qi@linaro.org>
12349
12350 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12351
21873064
YQ
123522017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12353
12354 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12355 argument command.
12356 (top-level): Invoke test_set_inferior_tty.
12357
d512d31c
PA
123582017-05-04 Pedro Alves <palves@redhat.com>
12359
12360 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12361 Add parens to print call for Python 3.
12362
90cef2ed
KS
123632017-05-03 Keith Seitz <keiths@redhat.com>
12364
12365 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12366 (main): Call it.
12367
14f819c8
TW
123682017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12369
12370 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12371 to prev and next.
12372
913aeadd
TW
123732017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12374
12375 * gdb.python/py-record-btrace.exp: Remove test for
12376 gdb.BtraceInstruction.error.
12377
a3be24ad
TW
123782017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12379
12380 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12381
ae20e79a
TW
123822017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12383
12384 * gdb.python/py-record-btrace-threads.c: New file.
12385 * gdb.python/py-record-btrace-threads.exp: New file.
12386
45ce1b47
SDJ
123872017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12388
12389 PR testsuite/8595
12390 * gdb.base/environ.exp: Make test available in all architectures.
12391 Move bits related to "info program" testing to
12392 gdb.base/info-program.exp. Rewrite tests to use the two new
12393 procedures mentione below.
12394 (test_set_show_env_var) New procedure.
12395 (test_set_show_env_var_equal): Likewise.
12396 * gdb.base/info-program.exp: New file.
12397
e15c3eb4
KS
123982017-04-27 Keith Seitz <keiths@redhat.com>
12399
12400 * gdb.cp/oranking.cc (test15): New function.
12401 (main): Call test15 and declare additional variables for testing.
12402 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12403 "p foo101('abc')" tests.
12404 Add tests for cv qualifier overloads.
12405 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12406 "lvalue reference overload" test.
12407 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12408 "print value of f1 on Child&& in f2" test.
12409
3a3fd0fd
PA
124102017-04-19 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12413 procedure.
12414 (top level): Call it.
12415 * lib/gdb.exp (gdb_define_cmd): New procedure.
12416
53375380
PA
124172017-04-12 Pedro Alves <palves@redhat.com>
12418
12419 PR gdb/21323
12420 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12421 (wchar): New global.
12422 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12423 (do_test_wide_char, wide_char_types_no_program, top level): Add
12424 wchar_t testing.
12425
53e710ac
PA
124262017-04-12 Pedro Alves <palves@redhat.com>
12427
12428 PR c++/21323
12429 * gdb.cp/wide_char_types.c: New file.
12430 * gdb.cp/wide_char_types.exp: New file.
12431
0ad9d8c7
SDJ
124322017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12433
12434 PR gdb/21352
12435 * gdb.trace/tsv.exp: Add test for "tsave -r".
12436
b1b45502
IB
124372017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12438
12439 * gdb.dlang/watch-loc.c: New file.
12440 * gdb.dlang/watch-loc.exp: New file.
12441
ec13808e
JK
124422017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12443
12444 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12445
fe5f7374
AK
124462017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12447
12448 * gdb.arch/arc-analyze-prologue.S: New file.
12449 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12450
eea78757
AK
124512017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12452
12453 * gdb.arch/arc-decode-insn.S: New file.
12454 * gdb.arch/arc-decode-insn.exp: Likewise.
12455
5badf10a
IR
124562017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12457
12458 PR tdep/20928
12459 * gdb.arch/sparc64-regs.exp: New file.
12460 * gdb.arch/sparc64-regs.S: Likewise.
12461
cee59b3f
TW
124622017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12463
12464 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12465 and memory view on Python 3.
12466
c0f55cc6
AV
124672017-03-20 Artemiy Volkov <artemiyv@acm.org>
12468 Keith Seitz <keiths@redhat.com>
12469
12470 PR gdb/14441
12471 * gdb.cp/demangle.exp: Add rvalue reference tests.
12472 * gdb.cp/rvalue-ref-casts.cc: New file.
12473 * gdb.cp/rvalue-ref-casts.exp: New file.
12474 * gdb.cp/rvalue-ref-overload.cc: New file.
12475 * gdb.cp/rvalue-ref-overload.exp: New file.
12476 * gdb.cp/rvalue-ref-params.cc: New file.
12477 * gdb.cp/rvalue-ref-params.exp: New file.
12478 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12479 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12480 * gdb.cp/rvalue-ref-types.cc: New file.
12481 * gdb.cp/rvalue-ref-types.exp: New file.
12482 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12483 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12484
51457a05
MAL
124852017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12486
12487 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12488 New procedure.
12489
5b291c04
MAL
124902017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12491
12492 * lib/mi-support.exp (mi_gdb_test): Add additional message
12493 for unexpected output.
12494
59a56148
AA
124952017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12496
12497 * gdb.base/examine-backward.c (Barrier): New character array
12498 constant, to ensure that TestStrings is preceded by a string
12499 terminator.
12500
7942e96e
AA
125012017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12502
12503 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12504 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12505 and implicit pointer into such a location.
12506
6ebac3fb
DE
125072017-03-16 Doug Evans <dje@google.com>
12508
12509 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12510
ec3b243d
TP
125112017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12512
12513 * gdb.cp/m-static.exp: Fix expectation for prototype of
12514 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12515
125162017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12517
12518 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12519 * gdb.guile/scm-lazy-string.c: New file.
12520 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12521 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12522 for pointer, array, typedef lazy strings.
12523
2cc36e25 125242017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12525
12526 PR python/17728, python/18439, python/18779
12527 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12528 * gdb.python/py-lazy-string.c (pointer): New typedef.
12529 (main): New locals ptr, array, typedef_ptr.
12530 * gdb.python/py-value.exp: Move lazy string tests to ...
12531 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12532 array, typedef lazy strings.
ec3b243d 12533
0efcde63
AK
125342017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12535
12536 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12537 Add optional 'test' parameter.
12538
7978d7c3
SM
125392017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12540
12541 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12542 Skip for versions of DejaGnu < 1.5.
12543
896c0c1e
SM
125442017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12545
12546 * lib/gdb.exp (dejagnu_version): New proc.
12547 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12548 Use dejagnu_version.
12549
5f4d1085
KS
125502017-03-10 Keith Seitz <keiths@redhat.com>
12551
12552 PR c++/8128
12553 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12554 type from destructor regexps.
12555 Add a branch which actually passes the test.
12556 Adjust "ptype t5i" test names.
12557
1de05205
PA
125582017-03-08 Pedro Alves <palves@redhat.com>
12559
12560 * gdb.base/step-over-exit.exp: Add explicit test message.
12561
c65d6b55
PA
125622017-03-08 Pedro Alves <palves@redhat.com>
12563
12564 PR gdb/18360
12565 * gdb.threads/interrupt-while-step-over.c: New file.
12566 * gdb.threads/interrupt-while-step-over.exp: New file.
12567
2e86a283
PA
125682017-03-08 Pedro Alves <palves@redhat.com>
12569
12570 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12571 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12572
25dcbff6
PA
125732017-03-08 Pedro Alves <palves@redhat.com>
12574
12575 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12576 PKRU as not supported as a PASS.
12577
dc9366eb
PA
125782017-03-08 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12581 prefix instead of $binfile1/$binfile2.
12582 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12583 in test message.
12584 * gdb.python/py-completion.exp: Use "load python file" as test
12585 messages instead of unstable path names.
12586
6e5d74e7
PA
125872017-03-08 Pedro Alves <palves@redhat.com>
12588 Jan Kratochvil <jan.kratochvil@redhat.com>
12589
12590 PR cli/21218
12591 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12592 New proc.
12593 (top level): Call it.
12594
9753a2f6
PA
125952017-03-08 Pedro Alves <palves@redhat.com>
12596
12597 PR tui/21216
12598 * gdb.tui/tui-nl-filtered-output.exp: New file.
12599
1a4dd9dd
PA
126002017-03-08 Pedro Alves <palves@redhat.com>
12601
12602 * gdb.base/completion.exp: Move TUI completion tests to ...
12603 * gdb.tui/completion.exp: ... this new file.
12604
7cbbff33
PA
126052017-03-08 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.base/tui-disasm-long-lines.c,
12608 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12609 gdb.base/tui-layout.exp: Move to ...
12610 * gdb.tui/: ... this new directory.
12611
5f6fd321
PA
126122017-03-07 Pedro Alves <palves@redhat.com>
12613
12614 * gdb.base/tui-layout.c: New file.
12615 * gdb.base/tui-layout.exp: New file.
12616
44959fa8
PA
126172017-03-07 Pedro Alves <palves@redhat.com>
12618
12619 * gdb.base/tui-layout.c: Rename to ...
12620 * gdb.base/tui-disasm-long-lines.c: ... this.
12621 * gdb.base/tui-layout.exp: Rename to ...
12622 * gdb.base/tui-disasm-long-lines.exp: ... this.
12623
f8c4e718
PA
126242017-03-07 Pedro Alves <palves@redhat.com>
12625
12626 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12627
6dbb839a 126282017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12629
12630 * i386-mpx-call.c: New file.
12631 * i386-mpx-call.exp: New file.
12632
65b48a81
PB
126332017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12634
12635 * gdb.arch/powerpc-power.exp: Delete test.
12636 * gdb.arch/powerpc-power.s: Likewise.
12637 * gdb.disasm/disassembler-options.exp: New test.
12638 * gdb.arch/powerpc-altivec.exp: Likewise.
12639 * gdb.arch/powerpc-altivec.s: Likewise.
12640 * gdb.arch/powerpc-altivec2.exp: Likewise.
12641 * gdb.arch/powerpc-altivec2.s: Likewise.
12642 * gdb.arch/powerpc-altivec3.exp: Likewise.
12643 * gdb.arch/powerpc-altivec3.s: Likewise.
12644 * gdb.arch/powerpc-power7.exp: Likewise.
12645 * gdb.arch/powerpc-power7.s: Likewise.
12646 * gdb.arch/powerpc-power8.exp: Likewise.
12647 * gdb.arch/powerpc-power8.s: Likewise.
12648 * gdb.arch/powerpc-power9.exp: Likewise.
12649 * gdb.arch/powerpc-power9.s: Likewise.
12650 * gdb.arch/powerpc-vsx.exp: Likewise.
12651 * gdb.arch/powerpc-vsx.s: Likewise.
12652 * gdb.arch/powerpc-vsx2.exp: Likewise.
12653 * gdb.arch/powerpc-vsx2.s: Likewise.
12654 * gdb.arch/powerpc-vsx3.exp: Likewise.
12655 * gdb.arch/powerpc-vsx3.s: Likewise.
12656 * gdb.arch/arm-disassembler-options.exp: Likewise.
12657 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12658 * gdb.arch/s390-disassembler-options.exp: Likewise.
12659
17cd4947
LM
126602017-02-23 Luis Machado <lgustavo@codesourcery.com>
12661
12662 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12663 (check_supported_features): ... this. Changed return type to void.
12664 (supports_rdseed): New static global.
12665 (rdseed): Check supports_rdseed.
12666 (initialize): Call check_supported_features.
12667
2039d74e
EBM
126682017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12669
12670 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12671 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12672 and lqarx/stqcx.
12673 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12674 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12675
a51d7ecf
EBM
126762017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12677
12678 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12679 uppercase.
12680
0224619f
JK
126812017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12682
12683 * gdb.dwarf2/formdata16.c: New file.
12684 * gdb.dwarf2/formdata16.exp: New file.
12685 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12686
216f72a1
JK
126872017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12688
12689 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12690 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12691 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12692 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12693 DW_AT_GNU_*.
12694
43988095
JK
126952017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12696
12697 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12698
99e8a4f9
SDJ
126992017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12700
12701 PR gdb/21164
12702 * gdb.base/maint.exp: Add testcases for when the commands do
12703 not have arguments.
12704
b58a8c0c
TP
127052017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12706
12707 * gdb.cp/chained-calls.exp: Use p instead of P.
12708
4e746bb6
TW
127092017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12710
12711 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12712 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12713
3f77c769
TT
127142017-02-14 Tom Tromey <tom@tromey.com>
12715
12716 PR python/13598:
12717 * gdb.python/py-events.exp: Add before_prompt event tests.
12718
075beec0
AA
127192017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12720
12721 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12722
bf5f525c
LM
127232017-02-13 Luis Machado <lgustavo@codesourcery.com>
12724
12725 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12726 (main): Call my_unique_function_name.
12727 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12728 completion of patterns with a single match.
12729 Add missing -re switches to gdb_test_multiple calls.
12730
13a66184
LM
127312017-02-13 Luis Machado <lgustavo@codesourcery.com>
12732
12733 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12734 return if core file is not recognized.
12735
26a06916
SM
127362017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12737
12738 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12739 and extra UIs.
12740
b761ca9e
SM
127412017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12742
12743 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12744 proc_with_prefix.
12745
b964bee0
TT
127462017-02-10 Tom Tromey <tom@tromey.com>
12747
12748 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12749
18da0c51
MG
127502017-02-10 Martin Galvan <martingalvan@sourceware.org>
12751
12752 PR gdb/21122
12753 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12754
604c4576
JG
127552017-02-08 Jerome Guitton <guitton@adacore.com>
12756
12757 * gdb.base/define.exp: Add test for command abbreviations
12758 in define.
12759
20b477a7
LM
127602017-02-06 Luis Machado <lgustavo@codesourcery.com>
12761
12762 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12763 * gdb.reverse/insn-reverse-x86.c: New file.
12764
3f7b46f2
IR
127652017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12766
12767 PR tdep/20936
12768 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12769
f0fd41c1
TT
127702017-02-03 Tom Tromey <tom@tromey.com>
12771
12772 PR rust/21097:
12773 * gdb.rust/simple.exp: Add new tests.
12774
5be5dbf0
PA
127752017-02-02 Pedro Alves <palves@redhat.com>
12776
12777 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12778 tests.
12779
7346ef59
AA
127802017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12781
12782 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12783 taking a 2-byte value out of a 4-byte DWARF implicit value on
12784 big-endian targets.
12785 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12786 logic. Add test cases for DW_OP_implicit.
12787
787f0025
MM
127882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12789
12790 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12791
68777c29
MM
127922017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12793
12794 * gdb.btrace/enable.exp: Call gdb_exit before
12795 skip_gdbserver_tests.
12796
0a1c7e28
MM
127972017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12798
12799 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12800 GDBFLAGS.
12801
b5ac99b0
MM
128022017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12803
12804 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12805 the test is skipped.
12806 * gdb.btrace/data.exp: Likewise.
12807 * gdb.btrace/delta.exp: Likewise.
12808 * gdb.btrace/dlopen.exp: Likewise.
12809 * gdb.btrace/enable-running.exp: Likewise.
12810 * gdb.btrace/enable.exp: Likewise.
12811 * gdb.btrace/exception.exp: Likewise.
12812 * gdb.btrace/function_call_history.exp: Likewise.
12813 * gdb.btrace/gcore.exp: Likewise.
12814 * gdb.btrace/instruction_history.exp: Likewise.
12815 * gdb.btrace/multi-thread-step.exp: Likewise.
12816 * gdb.btrace/nohist.exp: Likewise.
12817 * gdb.btrace/non-stop.exp: Likewise.
12818 * gdb.btrace/reconnect.exp: Likewise.
12819 * gdb.btrace/record_goto-step.exp: Likewise.
12820 * gdb.btrace/record_goto.exp: Likewise.
12821 * gdb.btrace/rn-dl-bind.exp: Likewise.
12822 * gdb.btrace/segv.exp: Likewise.
12823 * gdb.btrace/step.exp: Likewise.
12824 * gdb.btrace/stepi.exp: Likewise.
12825 * gdb.btrace/tailcall-only.exp: Likewise.
12826 * gdb.btrace/tailcall.exp: Likewise.
12827 * gdb.btrace/tsx.exp: Likewise.
12828 * gdb.btrace/unknown_functions.exp: Likewise.
12829 * gdb.btrace/vdso.exp: Likewise.
12830
cd4007e4
MM
128312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12832
12833 * gdb.btrace/enable-running.c: New.
12834 * gdb.btrace/enable-running.exp: New.
12835
2735833d
WT
128362017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12837
12838 * gdb.arch/amd64-gs_base.c: New file.
12839 * gdb.arch/amd64-gs_base.exp: New file.
12840
b51e1e94
LM
128412017-01-26 Luis Machado <lgustavo@codesourcery.com>
12842
12843 * lib/memory.exp: Remove spurious empty newlines.
12844
72ca0410
SM
128452017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12846
12847 * gdb.python/py-bad-printers.exp: Load python file using "source".
12848 * gdb.python/py-events.exp: Likewise.
12849 * gdb.python/py-evsignal.exp: Likewise.
12850 * gdb.python/py-evthreads.exp: Likewise.
12851 * gdb.python/py-frame-args.exp: Likewise.
12852 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12853 * gdb.python/py-framefilter-mi.exp: Likewise.
12854 * gdb.python/py-framefilter.exp: Likewise.
12855 * gdb.python/py-mi.exp: Likewise.
12856 * gdb.python/py-pp-maint.exp: Likewise.
12857 * gdb.python/py-pp-registration.exp: Likewise.
12858 * gdb.python/py-prettyprint.exp: Likewise.
12859 (run_lang_tests): Likewise.
12860 * gdb.python/py-typeprint.exp: Likewise.
12861
e309aa65
LM
128622017-01-26 Luis Machado <lgustavo@codesourcery.com>
12863
12864 * lib/memory.exp: New file.
12865 * lib/gdb.exp: Load memory.exp.
12866 * gdb.base/memattr.exp (delete_memory): Move proc to
12867 lib/memory.exp and rename to delete_memory_regions.
12868 Replace delete_memory with delete_memory_regions.
12869 Cleanup memory regions before tests.
12870 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12871 before tests.
12872
515aff23
LM
128732017-01-26 Luis Machado <lgustavo@codesourcery.com>
12874
12875 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12876 files.
12877 (initialize): New function conditionally defined.
12878 (testcases): Move within conditional block.
12879 (main): Call initialize.
12880 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12881 of gdb.reverse/insn-reverse.c.
12882 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12883 gdb.reverse/insn-reverse.c.
12884
d8b49cf0
YQ
128852017-01-26 Yao Qi <yao.qi@linaro.org>
12886
12887 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12888 disassemble on address 0.
12889
f13a9a0c
YQ
128902017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12891 Yao Qi <yao.qi@linaro.org>
12892
12893 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12894 * gdb.dwarf2/implptr-64bit.S: Remove.
12895 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12896 variables in caller's context. Add DW_OP_implicit_value.
12897
5ac95241
YQ
128982017-01-25 Yao Qi <yao.qi@linaro.org>
12899
12900 * lib/dwarf.exp (Dwarf::_location): Handle
12901 DW_OP_GNU_implicit_pointer with proper size.
12902
23e82930
LM
129032017-01-20 Luis Machado <lgustavo@codesourcery.com>
12904
12905 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12906 and add untested calls.
12907
d334ae25
LM
129082017-01-20 Luis Machado <lgustavo@codesourcery.com>
12909
12910 * gdb.python/python.exp: Check line number against what GDB thinks
12911 the line number is for func1.
12912
f5e6296e
IB
129132017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12914
12915 * gdb.dlang/debug-expr.exp: New file.
12916
5b362f04
LM
129172016-12-23 Luis Machado <lgustavo@codesourcery.com>
12918
12919 Fix test names for the following files:
12920
12921 * gdb.ada/exec_changed.exp
12922 * gdb.ada/info_types.exp
12923 * gdb.arch/aarch64-atomic-inst.exp
12924 * gdb.arch/aarch64-fp.exp
12925 * gdb.arch/altivec-abi.exp
12926 * gdb.arch/altivec-regs.exp
12927 * gdb.arch/amd64-byte.exp
12928 * gdb.arch/amd64-disp-step.exp
12929 * gdb.arch/amd64-dword.exp
12930 * gdb.arch/amd64-entry-value-inline.exp
12931 * gdb.arch/amd64-entry-value-param.exp
12932 * gdb.arch/amd64-entry-value-paramref.exp
12933 * gdb.arch/amd64-entry-value.exp
12934 * gdb.arch/amd64-i386-address.exp
12935 * gdb.arch/amd64-invalid-stack-middle.exp
12936 * gdb.arch/amd64-invalid-stack-top.exp
12937 * gdb.arch/amd64-optimout-repeat.exp
12938 * gdb.arch/amd64-prologue-skip.exp
12939 * gdb.arch/amd64-prologue-xmm.exp
12940 * gdb.arch/amd64-stap-special-operands.exp
12941 * gdb.arch/amd64-stap-wrong-subexp.exp
12942 * gdb.arch/amd64-tailcall-cxx.exp
12943 * gdb.arch/amd64-tailcall-noret.exp
12944 * gdb.arch/amd64-tailcall-ret.exp
12945 * gdb.arch/amd64-tailcall-self.exp
12946 * gdb.arch/amd64-word.exp
12947 * gdb.arch/arm-bl-branch-dest.exp
12948 * gdb.arch/arm-disp-step.exp
12949 * gdb.arch/arm-neon.exp
12950 * gdb.arch/arm-single-step-kernel-helper.exp
12951 * gdb.arch/avr-flash-qualifier.exp
12952 * gdb.arch/disp-step-insn-reloc.exp
12953 * gdb.arch/e500-abi.exp
12954 * gdb.arch/e500-regs.exp
12955 * gdb.arch/ftrace-insn-reloc.exp
12956 * gdb.arch/i386-avx512.exp
12957 * gdb.arch/i386-bp_permanent.exp
12958 * gdb.arch/i386-byte.exp
12959 * gdb.arch/i386-cfi-notcurrent.exp
12960 * gdb.arch/i386-disp-step.exp
12961 * gdb.arch/i386-dr3-watch.exp
12962 * gdb.arch/i386-float.exp
12963 * gdb.arch/i386-gnu-cfi.exp
12964 * gdb.arch/i386-mpx-map.exp
12965 * gdb.arch/i386-mpx-sigsegv.exp
12966 * gdb.arch/i386-mpx-simple_segv.exp
12967 * gdb.arch/i386-mpx.exp
12968 * gdb.arch/i386-permbkpt.exp
12969 * gdb.arch/i386-prologue.exp
12970 * gdb.arch/i386-signal.exp
12971 * gdb.arch/i386-size-overlap.exp
12972 * gdb.arch/i386-unwind.exp
12973 * gdb.arch/i386-word.exp
12974 * gdb.arch/mips-fcr.exp
12975 * gdb.arch/powerpc-d128-regs.exp
12976 * gdb.arch/powerpc-stackless.exp
12977 * gdb.arch/ppc64-atomic-inst.exp
12978 * gdb.arch/s390-stackless.exp
12979 * gdb.arch/s390-tdbregs.exp
12980 * gdb.arch/s390-vregs.exp
12981 * gdb.arch/sparc-sysstep.exp
12982 * gdb.arch/thumb-bx-pc.exp
12983 * gdb.arch/thumb-singlestep.exp
12984 * gdb.arch/thumb2-it.exp
12985 * gdb.arch/vsx-regs.exp
12986 * gdb.asm/asm-source.exp
12987 * gdb.base/a2-run.exp
12988 * gdb.base/advance.exp
12989 * gdb.base/all-bin.exp
12990 * gdb.base/anon.exp
12991 * gdb.base/args.exp
12992 * gdb.base/arithmet.exp
12993 * gdb.base/async-shell.exp
12994 * gdb.base/async.exp
12995 * gdb.base/attach-pie-noexec.exp
12996 * gdb.base/attach-twice.exp
12997 * gdb.base/auto-load.exp
12998 * gdb.base/bang.exp
12999 * gdb.base/bitfields.exp
13000 * gdb.base/break-always.exp
13001 * gdb.base/break-caller-line.exp
13002 * gdb.base/break-entry.exp
13003 * gdb.base/break-inline.exp
13004 * gdb.base/break-on-linker-gcd-function.exp
13005 * gdb.base/break-probes.exp
13006 * gdb.base/break.exp
13007 * gdb.base/breakpoint-shadow.exp
13008 * gdb.base/call-ar-st.exp
13009 * gdb.base/call-sc.exp
13010 * gdb.base/call-signal-resume.exp
13011 * gdb.base/call-strs.exp
13012 * gdb.base/callfuncs.exp
13013 * gdb.base/catch-fork-static.exp
13014 * gdb.base/catch-gdb-caused-signals.exp
13015 * gdb.base/catch-load.exp
13016 * gdb.base/catch-signal-fork.exp
13017 * gdb.base/catch-signal.exp
13018 * gdb.base/catch-syscall.exp
13019 * gdb.base/charset.exp
13020 * gdb.base/checkpoint.exp
13021 * gdb.base/chng-syms.exp
13022 * gdb.base/code-expr.exp
13023 * gdb.base/code_elim.exp
13024 * gdb.base/commands.exp
13025 * gdb.base/completion.exp
13026 * gdb.base/complex.exp
13027 * gdb.base/cond-expr.exp
13028 * gdb.base/condbreak.exp
13029 * gdb.base/consecutive.exp
13030 * gdb.base/continue-all-already-running.exp
13031 * gdb.base/coredump-filter.exp
13032 * gdb.base/corefile.exp
13033 * gdb.base/dbx.exp
13034 * gdb.base/debug-expr.exp
13035 * gdb.base/define.exp
13036 * gdb.base/del.exp
13037 * gdb.base/disabled-location.exp
13038 * gdb.base/disasm-end-cu.exp
13039 * gdb.base/disasm-optim.exp
13040 * gdb.base/display.exp
13041 * gdb.base/duplicate-bp.exp
13042 * gdb.base/ena-dis-br.exp
13043 * gdb.base/ending-run.exp
13044 * gdb.base/enumval.exp
13045 * gdb.base/environ.exp
13046 * gdb.base/eu-strip-infcall.exp
13047 * gdb.base/eval-avoid-side-effects.exp
13048 * gdb.base/eval-skip.exp
13049 * gdb.base/exitsignal.exp
13050 * gdb.base/expand-psymtabs.exp
13051 * gdb.base/filesym.exp
13052 * gdb.base/find-unmapped.exp
13053 * gdb.base/finish.exp
13054 * gdb.base/float.exp
13055 * gdb.base/foll-exec-mode.exp
13056 * gdb.base/foll-exec.exp
13057 * gdb.base/foll-fork.exp
13058 * gdb.base/fortran-sym-case.exp
13059 * gdb.base/freebpcmd.exp
13060 * gdb.base/func-ptr.exp
13061 * gdb.base/func-ptrs.exp
13062 * gdb.base/funcargs.exp
13063 * gdb.base/gcore-buffer-overflow.exp
13064 * gdb.base/gcore-relro-pie.exp
13065 * gdb.base/gcore-relro.exp
13066 * gdb.base/gcore.exp
13067 * gdb.base/gdb1090.exp
13068 * gdb.base/gdb11530.exp
13069 * gdb.base/gdb11531.exp
13070 * gdb.base/gdb1821.exp
13071 * gdb.base/gdbindex-stabs.exp
13072 * gdb.base/gdbvars.exp
13073 * gdb.base/hbreak.exp
13074 * gdb.base/hbreak2.exp
13075 * gdb.base/included.exp
13076 * gdb.base/infcall-input.exp
13077 * gdb.base/inferior-died.exp
13078 * gdb.base/infnan.exp
13079 * gdb.base/info-macros.exp
13080 * gdb.base/info-os.exp
13081 * gdb.base/info-proc.exp
13082 * gdb.base/info-shared.exp
13083 * gdb.base/info-target.exp
13084 * gdb.base/infoline.exp
13085 * gdb.base/interp.exp
13086 * gdb.base/interrupt.exp
13087 * gdb.base/jit-reader.exp
13088 * gdb.base/jit-simple.exp
13089 * gdb.base/kill-after-signal.exp
13090 * gdb.base/kill-detach-inferiors-cmd.exp
13091 * gdb.base/label.exp
13092 * gdb.base/langs.exp
13093 * gdb.base/ldbl_e308.exp
13094 * gdb.base/line-symtabs.exp
13095 * gdb.base/linespecs.exp
13096 * gdb.base/list.exp
13097 * gdb.base/long_long.exp
13098 * gdb.base/longest-types.exp
13099 * gdb.base/maint.exp
13100 * gdb.base/max-value-size.exp
13101 * gdb.base/memattr.exp
13102 * gdb.base/mips_pro.exp
13103 * gdb.base/morestack.exp
13104 * gdb.base/moribund-step.exp
13105 * gdb.base/multi-forks.exp
13106 * gdb.base/nested-addr.exp
13107 * gdb.base/nextoverexit.exp
13108 * gdb.base/noreturn-finish.exp
13109 * gdb.base/noreturn-return.exp
13110 * gdb.base/nostdlib.exp
13111 * gdb.base/offsets.exp
13112 * gdb.base/opaque.exp
13113 * gdb.base/pc-fp.exp
13114 * gdb.base/permissions.exp
13115 * gdb.base/print-symbol-loading.exp
13116 * gdb.base/prologue-include.exp
13117 * gdb.base/psymtab.exp
13118 * gdb.base/ptype.exp
13119 * gdb.base/random-signal.exp
13120 * gdb.base/randomize.exp
13121 * gdb.base/range-stepping.exp
13122 * gdb.base/readline-ask.exp
13123 * gdb.base/recpar.exp
13124 * gdb.base/recurse.exp
13125 * gdb.base/relational.exp
13126 * gdb.base/restore.exp
13127 * gdb.base/return-nodebug.exp
13128 * gdb.base/return.exp
13129 * gdb.base/run-after-attach.exp
13130 * gdb.base/save-bp.exp
13131 * gdb.base/scope.exp
13132 * gdb.base/sect-cmd.exp
13133 * gdb.base/set-lang-auto.exp
13134 * gdb.base/set-noassign.exp
13135 * gdb.base/setvar.exp
13136 * gdb.base/sigall.exp
13137 * gdb.base/sigbpt.exp
13138 * gdb.base/siginfo-addr.exp
13139 * gdb.base/siginfo-infcall.exp
13140 * gdb.base/siginfo-obj.exp
13141 * gdb.base/siginfo.exp
13142 * gdb.base/signals-state-child.exp
13143 * gdb.base/signest.exp
13144 * gdb.base/sigstep.exp
13145 * gdb.base/sizeof.exp
13146 * gdb.base/skip.exp
13147 * gdb.base/solib-corrupted.exp
13148 * gdb.base/solib-nodir.exp
13149 * gdb.base/solib-search.exp
13150 * gdb.base/stack-checking.exp
13151 * gdb.base/stale-infcall.exp
13152 * gdb.base/stap-probe.exp
13153 * gdb.base/start.exp
13154 * gdb.base/step-break.exp
13155 * gdb.base/step-bt.exp
13156 * gdb.base/step-line.exp
13157 * gdb.base/step-over-exit.exp
13158 * gdb.base/step-over-syscall.exp
13159 * gdb.base/step-resume-infcall.exp
13160 * gdb.base/step-test.exp
13161 * gdb.base/store.exp
13162 * gdb.base/structs3.exp
13163 * gdb.base/sym-file.exp
13164 * gdb.base/symbol-without-target_section.exp
13165 * gdb.base/term.exp
13166 * gdb.base/testenv.exp
13167 * gdb.base/ui-redirect.exp
13168 * gdb.base/until.exp
13169 * gdb.base/unwindonsignal.exp
13170 * gdb.base/value-double-free.exp
13171 * gdb.base/vla-datatypes.exp
13172 * gdb.base/vla-ptr.exp
13173 * gdb.base/vla-sideeffect.exp
13174 * gdb.base/volatile.exp
13175 * gdb.base/watch-cond-infcall.exp
13176 * gdb.base/watch-cond.exp
13177 * gdb.base/watch-non-mem.exp
13178 * gdb.base/watch-read.exp
13179 * gdb.base/watch-vfork.exp
13180 * gdb.base/watchpoint-cond-gone.exp
13181 * gdb.base/watchpoint-delete.exp
13182 * gdb.base/watchpoint-hw-hit-once.exp
13183 * gdb.base/watchpoint-hw.exp
13184 * gdb.base/watchpoint-stops-at-right-insn.exp
13185 * gdb.base/watchpoints.exp
13186 * gdb.base/wchar.exp
13187 * gdb.base/whatis-exp.exp
13188 * gdb.btrace/buffer-size.exp
13189 * gdb.btrace/data.exp
13190 * gdb.btrace/delta.exp
13191 * gdb.btrace/dlopen.exp
13192 * gdb.btrace/enable.exp
13193 * gdb.btrace/exception.exp
13194 * gdb.btrace/function_call_history.exp
13195 * gdb.btrace/gcore.exp
13196 * gdb.btrace/instruction_history.exp
13197 * gdb.btrace/nohist.exp
13198 * gdb.btrace/reconnect.exp
13199 * gdb.btrace/record_goto-step.exp
13200 * gdb.btrace/record_goto.exp
13201 * gdb.btrace/rn-dl-bind.exp
13202 * gdb.btrace/segv.exp
13203 * gdb.btrace/step.exp
13204 * gdb.btrace/stepi.exp
13205 * gdb.btrace/tailcall-only.exp
13206 * gdb.btrace/tailcall.exp
13207 * gdb.btrace/tsx.exp
13208 * gdb.btrace/unknown_functions.exp
13209 * gdb.btrace/vdso.exp
13210 * gdb.compile/compile-ifunc.exp
13211 * gdb.compile/compile-ops.exp
13212 * gdb.compile/compile-print.exp
13213 * gdb.compile/compile-setjmp.exp
13214 * gdb.cp/abstract-origin.exp
13215 * gdb.cp/ambiguous.exp
13216 * gdb.cp/annota2.exp
13217 * gdb.cp/annota3.exp
13218 * gdb.cp/anon-ns.exp
13219 * gdb.cp/anon-struct.exp
13220 * gdb.cp/anon-union.exp
13221 * gdb.cp/arg-reference.exp
13222 * gdb.cp/baseenum.exp
13223 * gdb.cp/bool.exp
13224 * gdb.cp/breakpoint.exp
13225 * gdb.cp/bs15503.exp
13226 * gdb.cp/call-c.exp
13227 * gdb.cp/casts.exp
13228 * gdb.cp/chained-calls.exp
13229 * gdb.cp/class2.exp
13230 * gdb.cp/classes.exp
13231 * gdb.cp/cmpd-minsyms.exp
13232 * gdb.cp/converts.exp
13233 * gdb.cp/cp-relocate.exp
13234 * gdb.cp/cpcompletion.exp
13235 * gdb.cp/cpexprs.exp
13236 * gdb.cp/cplabel.exp
13237 * gdb.cp/cplusfuncs.exp
13238 * gdb.cp/cpsizeof.exp
13239 * gdb.cp/ctti.exp
13240 * gdb.cp/derivation.exp
13241 * gdb.cp/destrprint.exp
13242 * gdb.cp/dispcxx.exp
13243 * gdb.cp/enum-class.exp
13244 * gdb.cp/exception.exp
13245 * gdb.cp/exceptprint.exp
13246 * gdb.cp/expand-psymtabs-cxx.exp
13247 * gdb.cp/expand-sals.exp
13248 * gdb.cp/extern-c.exp
13249 * gdb.cp/filename.exp
13250 * gdb.cp/formatted-ref.exp
13251 * gdb.cp/fpointer.exp
13252 * gdb.cp/gdb1355.exp
13253 * gdb.cp/gdb2495.exp
13254 * gdb.cp/hang.exp
13255 * gdb.cp/impl-this.exp
13256 * gdb.cp/infcall-dlopen.exp
13257 * gdb.cp/inherit.exp
13258 * gdb.cp/iostream.exp
13259 * gdb.cp/koenig.exp
13260 * gdb.cp/local.exp
13261 * gdb.cp/m-data.exp
13262 * gdb.cp/m-static.exp
13263 * gdb.cp/mb-ctor.exp
13264 * gdb.cp/mb-inline.exp
13265 * gdb.cp/mb-templates.exp
13266 * gdb.cp/member-name.exp
13267 * gdb.cp/member-ptr.exp
13268 * gdb.cp/meth-typedefs.exp
13269 * gdb.cp/method.exp
13270 * gdb.cp/method2.exp
13271 * gdb.cp/minsym-fallback.exp
13272 * gdb.cp/misc.exp
13273 * gdb.cp/namelessclass.exp
13274 * gdb.cp/namespace-enum.exp
13275 * gdb.cp/namespace-nested-import.exp
13276 * gdb.cp/namespace.exp
13277 * gdb.cp/nextoverthrow.exp
13278 * gdb.cp/no-dmgl-verbose.exp
13279 * gdb.cp/non-trivial-retval.exp
13280 * gdb.cp/noparam.exp
13281 * gdb.cp/nsdecl.exp
13282 * gdb.cp/nsimport.exp
13283 * gdb.cp/nsnested.exp
13284 * gdb.cp/nsnoimports.exp
13285 * gdb.cp/nsrecurs.exp
13286 * gdb.cp/nsstress.exp
13287 * gdb.cp/nsusing.exp
13288 * gdb.cp/operator.exp
13289 * gdb.cp/oranking.exp
13290 * gdb.cp/overload-const.exp
13291 * gdb.cp/overload.exp
13292 * gdb.cp/ovldbreak.exp
13293 * gdb.cp/ovsrch.exp
13294 * gdb.cp/paren-type.exp
13295 * gdb.cp/parse-lang.exp
13296 * gdb.cp/pass-by-ref.exp
13297 * gdb.cp/pr-1023.exp
13298 * gdb.cp/pr-1210.exp
13299 * gdb.cp/pr-574.exp
13300 * gdb.cp/pr10687.exp
13301 * gdb.cp/pr12028.exp
13302 * gdb.cp/pr17132.exp
13303 * gdb.cp/pr17494.exp
13304 * gdb.cp/pr9067.exp
13305 * gdb.cp/pr9167.exp
13306 * gdb.cp/pr9631.exp
13307 * gdb.cp/printmethod.exp
13308 * gdb.cp/psmang.exp
13309 * gdb.cp/psymtab-parameter.exp
13310 * gdb.cp/ptype-cv-cp.exp
13311 * gdb.cp/ptype-flags.exp
13312 * gdb.cp/re-set-overloaded.exp
13313 * gdb.cp/ref-types.exp
13314 * gdb.cp/rtti.exp
13315 * gdb.cp/scope-err.exp
13316 * gdb.cp/shadow.exp
13317 * gdb.cp/smartp.exp
13318 * gdb.cp/static-method.exp
13319 * gdb.cp/static-print-quit.exp
13320 * gdb.cp/temargs.exp
13321 * gdb.cp/templates.exp
13322 * gdb.cp/try_catch.exp
13323 * gdb.cp/typedef-operator.exp
13324 * gdb.cp/typeid.exp
13325 * gdb.cp/userdef.exp
13326 * gdb.cp/using-crash.exp
13327 * gdb.cp/var-tag.exp
13328 * gdb.cp/virtbase.exp
13329 * gdb.cp/virtfunc.exp
13330 * gdb.cp/virtfunc2.exp
13331 * gdb.cp/vla-cxx.exp
13332 * gdb.disasm/t01_mov.exp
13333 * gdb.disasm/t02_mova.exp
13334 * gdb.disasm/t03_add.exp
13335 * gdb.disasm/t04_sub.exp
13336 * gdb.disasm/t05_cmp.exp
13337 * gdb.disasm/t06_ari2.exp
13338 * gdb.disasm/t07_ari3.exp
13339 * gdb.disasm/t08_or.exp
13340 * gdb.disasm/t09_xor.exp
13341 * gdb.disasm/t10_and.exp
13342 * gdb.disasm/t11_logs.exp
13343 * gdb.disasm/t12_bit.exp
13344 * gdb.disasm/t13_otr.exp
13345 * gdb.dlang/circular.exp
13346 * gdb.dwarf2/arr-stride.exp
13347 * gdb.dwarf2/arr-subrange.exp
13348 * gdb.dwarf2/atomic-type.exp
13349 * gdb.dwarf2/bad-regnum.exp
13350 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13351 * gdb.dwarf2/callframecfa.exp
13352 * gdb.dwarf2/clztest.exp
13353 * gdb.dwarf2/corrupt.exp
13354 * gdb.dwarf2/data-loc.exp
13355 * gdb.dwarf2/dup-psym.exp
13356 * gdb.dwarf2/dw2-anon-mptr.exp
13357 * gdb.dwarf2/dw2-anonymous-func.exp
13358 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13359 * gdb.dwarf2/dw2-bad-unresolved.exp
13360 * gdb.dwarf2/dw2-basic.exp
13361 * gdb.dwarf2/dw2-canonicalize-type.exp
13362 * gdb.dwarf2/dw2-case-insensitive.exp
13363 * gdb.dwarf2/dw2-common-block.exp
13364 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13365 * gdb.dwarf2/dw2-compressed.exp
13366 * gdb.dwarf2/dw2-const.exp
13367 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13368 * gdb.dwarf2/dw2-cu-size.exp
13369 * gdb.dwarf2/dw2-dup-frame.exp
13370 * gdb.dwarf2/dw2-entry-value.exp
13371 * gdb.dwarf2/dw2-icycle.exp
13372 * gdb.dwarf2/dw2-ifort-parameter.exp
13373 * gdb.dwarf2/dw2-inline-break.exp
13374 * gdb.dwarf2/dw2-inline-param.exp
13375 * gdb.dwarf2/dw2-intercu.exp
13376 * gdb.dwarf2/dw2-intermix.exp
13377 * gdb.dwarf2/dw2-lexical-block-bare.exp
13378 * gdb.dwarf2/dw2-linkage-name-trust.exp
13379 * gdb.dwarf2/dw2-minsym-in-cu.exp
13380 * gdb.dwarf2/dw2-noloc.exp
13381 * gdb.dwarf2/dw2-op-call.exp
13382 * gdb.dwarf2/dw2-op-out-param.exp
13383 * gdb.dwarf2/dw2-opt-structptr.exp
13384 * gdb.dwarf2/dw2-param-error.exp
13385 * gdb.dwarf2/dw2-producer.exp
13386 * gdb.dwarf2/dw2-ranges-base.exp
13387 * gdb.dwarf2/dw2-ref-missing-frame.exp
13388 * gdb.dwarf2/dw2-reg-undefined.exp
13389 * gdb.dwarf2/dw2-regno-invalid.exp
13390 * gdb.dwarf2/dw2-restore.exp
13391 * gdb.dwarf2/dw2-restrict.exp
13392 * gdb.dwarf2/dw2-single-line-discriminators.exp
13393 * gdb.dwarf2/dw2-strp.exp
13394 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13395 * gdb.dwarf2/dw2-unresolved.exp
13396 * gdb.dwarf2/dw2-var-zero-addr.exp
13397 * gdb.dwarf2/dw4-sig-types.exp
13398 * gdb.dwarf2/dwz.exp
13399 * gdb.dwarf2/dynarr-ptr.exp
13400 * gdb.dwarf2/enum-type.exp
13401 * gdb.dwarf2/gdb-index.exp
13402 * gdb.dwarf2/implptr-64bit.exp
13403 * gdb.dwarf2/implptr-optimized-out.exp
13404 * gdb.dwarf2/implptr.exp
13405 * gdb.dwarf2/implref-array.exp
13406 * gdb.dwarf2/implref-const.exp
13407 * gdb.dwarf2/implref-global.exp
13408 * gdb.dwarf2/implref-struct.exp
13409 * gdb.dwarf2/mac-fileno.exp
13410 * gdb.dwarf2/main-subprogram.exp
13411 * gdb.dwarf2/member-ptr-forwardref.exp
13412 * gdb.dwarf2/method-ptr.exp
13413 * gdb.dwarf2/missing-sig-type.exp
13414 * gdb.dwarf2/nonvar-access.exp
13415 * gdb.dwarf2/opaque-type-lookup.exp
13416 * gdb.dwarf2/pieces-optimized-out.exp
13417 * gdb.dwarf2/pieces.exp
13418 * gdb.dwarf2/pr10770.exp
13419 * gdb.dwarf2/pr13961.exp
13420 * gdb.dwarf2/staticvirtual.exp
13421 * gdb.dwarf2/subrange.exp
13422 * gdb.dwarf2/symtab-producer.exp
13423 * gdb.dwarf2/trace-crash.exp
13424 * gdb.dwarf2/typeddwarf.exp
13425 * gdb.dwarf2/valop.exp
13426 * gdb.dwarf2/watch-notconst.exp
13427 * gdb.fortran/array-element.exp
13428 * gdb.fortran/charset.exp
13429 * gdb.fortran/common-block.exp
13430 * gdb.fortran/complex.exp
13431 * gdb.fortran/derived-type-function.exp
13432 * gdb.fortran/derived-type.exp
13433 * gdb.fortran/logical.exp
13434 * gdb.fortran/module.exp
13435 * gdb.fortran/multi-dim.exp
13436 * gdb.fortran/nested-funcs.exp
13437 * gdb.fortran/print-formatted.exp
13438 * gdb.fortran/subarray.exp
13439 * gdb.fortran/vla-alloc-assoc.exp
13440 * gdb.fortran/vla-datatypes.exp
13441 * gdb.fortran/vla-history.exp
13442 * gdb.fortran/vla-ptr-info.exp
13443 * gdb.fortran/vla-ptype-sub.exp
13444 * gdb.fortran/vla-ptype.exp
13445 * gdb.fortran/vla-sizeof.exp
13446 * gdb.fortran/vla-type.exp
13447 * gdb.fortran/vla-value-sub-arbitrary.exp
13448 * gdb.fortran/vla-value-sub-finish.exp
13449 * gdb.fortran/vla-value-sub.exp
13450 * gdb.fortran/vla-value.exp
13451 * gdb.fortran/whatis_type.exp
13452 * gdb.go/chan.exp
13453 * gdb.go/handcall.exp
13454 * gdb.go/hello.exp
13455 * gdb.go/integers.exp
13456 * gdb.go/methods.exp
13457 * gdb.go/package.exp
13458 * gdb.go/strings.exp
13459 * gdb.go/types.exp
13460 * gdb.go/unsafe.exp
13461 * gdb.guile/scm-arch.exp
13462 * gdb.guile/scm-block.exp
13463 * gdb.guile/scm-breakpoint.exp
13464 * gdb.guile/scm-cmd.exp
13465 * gdb.guile/scm-disasm.exp
13466 * gdb.guile/scm-equal.exp
13467 * gdb.guile/scm-frame-args.exp
13468 * gdb.guile/scm-frame-inline.exp
13469 * gdb.guile/scm-frame.exp
13470 * gdb.guile/scm-iterator.exp
13471 * gdb.guile/scm-math.exp
13472 * gdb.guile/scm-objfile.exp
13473 * gdb.guile/scm-ports.exp
13474 * gdb.guile/scm-symbol.exp
13475 * gdb.guile/scm-symtab.exp
13476 * gdb.guile/scm-value-cc.exp
13477 * gdb.guile/types-module.exp
13478 * gdb.linespec/break-ask.exp
13479 * gdb.linespec/cpexplicit.exp
13480 * gdb.linespec/explicit.exp
13481 * gdb.linespec/keywords.exp
13482 * gdb.linespec/linespec.exp
13483 * gdb.linespec/ls-dollar.exp
13484 * gdb.linespec/ls-errs.exp
13485 * gdb.linespec/skip-two.exp
13486 * gdb.linespec/thread.exp
13487 * gdb.mi/mi-async.exp
13488 * gdb.mi/mi-basics.exp
13489 * gdb.mi/mi-break.exp
13490 * gdb.mi/mi-catch-load.exp
13491 * gdb.mi/mi-cli.exp
13492 * gdb.mi/mi-cmd-param-changed.exp
13493 * gdb.mi/mi-console.exp
13494 * gdb.mi/mi-detach.exp
13495 * gdb.mi/mi-disassemble.exp
13496 * gdb.mi/mi-eval.exp
13497 * gdb.mi/mi-file-transfer.exp
13498 * gdb.mi/mi-file.exp
13499 * gdb.mi/mi-fill-memory.exp
13500 * gdb.mi/mi-inheritance-syntax-error.exp
13501 * gdb.mi/mi-linespec-err-cp.exp
13502 * gdb.mi/mi-logging.exp
13503 * gdb.mi/mi-memory-changed.exp
13504 * gdb.mi/mi-read-memory.exp
13505 * gdb.mi/mi-record-changed.exp
13506 * gdb.mi/mi-reg-undefined.exp
13507 * gdb.mi/mi-regs.exp
13508 * gdb.mi/mi-return.exp
13509 * gdb.mi/mi-reverse.exp
13510 * gdb.mi/mi-simplerun.exp
13511 * gdb.mi/mi-solib.exp
13512 * gdb.mi/mi-stack.exp
13513 * gdb.mi/mi-stepi.exp
13514 * gdb.mi/mi-syn-frame.exp
13515 * gdb.mi/mi-until.exp
13516 * gdb.mi/mi-var-block.exp
13517 * gdb.mi/mi-var-child.exp
13518 * gdb.mi/mi-var-cmd.exp
13519 * gdb.mi/mi-var-cp.exp
13520 * gdb.mi/mi-var-display.exp
13521 * gdb.mi/mi-var-invalidate.exp
13522 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13523 * gdb.mi/mi-vla-fortran.exp
13524 * gdb.mi/mi-watch.exp
13525 * gdb.mi/mi2-var-child.exp
13526 * gdb.mi/user-selected-context-sync.exp
13527 * gdb.modula2/unbounded-array.exp
13528 * gdb.multi/dummy-frame-restore.exp
13529 * gdb.multi/multi-arch-exec.exp
13530 * gdb.multi/multi-arch.exp
13531 * gdb.multi/tids.exp
13532 * gdb.multi/watchpoint-multi.exp
13533 * gdb.opencl/callfuncs.exp
13534 * gdb.opencl/convs_casts.exp
13535 * gdb.opencl/datatypes.exp
13536 * gdb.opencl/operators.exp
13537 * gdb.opencl/vec_comps.exp
13538 * gdb.opt/clobbered-registers-O2.exp
13539 * gdb.opt/inline-break.exp
13540 * gdb.opt/inline-bt.exp
13541 * gdb.opt/inline-cmds.exp
13542 * gdb.opt/inline-locals.exp
13543 * gdb.pascal/case-insensitive-symbols.exp
13544 * gdb.pascal/floats.exp
13545 * gdb.pascal/gdb11492.exp
13546 * gdb.python/lib-types.exp
13547 * gdb.python/py-arch.exp
13548 * gdb.python/py-as-string.exp
13549 * gdb.python/py-bad-printers.exp
13550 * gdb.python/py-block.exp
13551 * gdb.python/py-breakpoint-create-fail.exp
13552 * gdb.python/py-breakpoint.exp
13553 * gdb.python/py-caller-is.exp
13554 * gdb.python/py-cmd.exp
13555 * gdb.python/py-explore-cc.exp
13556 * gdb.python/py-explore.exp
13557 * gdb.python/py-finish-breakpoint.exp
13558 * gdb.python/py-finish-breakpoint2.exp
13559 * gdb.python/py-frame-args.exp
13560 * gdb.python/py-frame-inline.exp
13561 * gdb.python/py-frame.exp
13562 * gdb.python/py-framefilter-mi.exp
13563 * gdb.python/py-infthread.exp
13564 * gdb.python/py-lazy-string.exp
13565 * gdb.python/py-linetable.exp
13566 * gdb.python/py-mi-events.exp
13567 * gdb.python/py-mi-objfile.exp
13568 * gdb.python/py-mi.exp
13569 * gdb.python/py-objfile.exp
13570 * gdb.python/py-pp-integral.exp
13571 * gdb.python/py-pp-maint.exp
13572 * gdb.python/py-pp-re-notag.exp
13573 * gdb.python/py-pp-registration.exp
13574 * gdb.python/py-recurse-unwind.exp
13575 * gdb.python/py-strfns.exp
13576 * gdb.python/py-symbol.exp
13577 * gdb.python/py-symtab.exp
13578 * gdb.python/py-sync-interp.exp
13579 * gdb.python/py-typeprint.exp
13580 * gdb.python/py-unwind-maint.exp
13581 * gdb.python/py-unwind.exp
13582 * gdb.python/py-value-cc.exp
13583 * gdb.python/py-xmethods.exp
13584 * gdb.reverse/amd64-tailcall-reverse.exp
13585 * gdb.reverse/break-precsave.exp
13586 * gdb.reverse/break-reverse.exp
13587 * gdb.reverse/consecutive-precsave.exp
13588 * gdb.reverse/consecutive-reverse.exp
13589 * gdb.reverse/finish-precsave.exp
13590 * gdb.reverse/finish-reverse-bkpt.exp
13591 * gdb.reverse/finish-reverse.exp
13592 * gdb.reverse/fstatat-reverse.exp
13593 * gdb.reverse/getresuid-reverse.exp
13594 * gdb.reverse/i386-precsave.exp
13595 * gdb.reverse/i386-reverse.exp
13596 * gdb.reverse/i386-sse-reverse.exp
13597 * gdb.reverse/i387-env-reverse.exp
13598 * gdb.reverse/i387-stack-reverse.exp
13599 * gdb.reverse/insn-reverse.exp
13600 * gdb.reverse/machinestate-precsave.exp
13601 * gdb.reverse/machinestate.exp
13602 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13603 * gdb.reverse/pipe-reverse.exp
13604 * gdb.reverse/readv-reverse.exp
13605 * gdb.reverse/recvmsg-reverse.exp
13606 * gdb.reverse/rerun-prec.exp
13607 * gdb.reverse/s390-mvcle.exp
13608 * gdb.reverse/step-precsave.exp
13609 * gdb.reverse/step-reverse.exp
13610 * gdb.reverse/time-reverse.exp
13611 * gdb.reverse/until-precsave.exp
13612 * gdb.reverse/until-reverse.exp
13613 * gdb.reverse/waitpid-reverse.exp
13614 * gdb.reverse/watch-precsave.exp
13615 * gdb.reverse/watch-reverse.exp
13616 * gdb.rust/generics.exp
13617 * gdb.rust/methods.exp
13618 * gdb.rust/modules.exp
13619 * gdb.rust/simple.exp
13620 * gdb.server/connect-with-no-symbol-file.exp
13621 * gdb.server/ext-attach.exp
13622 * gdb.server/ext-restart.exp
13623 * gdb.server/ext-wrapper.exp
13624 * gdb.server/file-transfer.exp
13625 * gdb.server/server-exec-info.exp
13626 * gdb.server/server-kill.exp
13627 * gdb.server/server-mon.exp
13628 * gdb.server/wrapper.exp
13629 * gdb.stabs/exclfwd.exp
13630 * gdb.stabs/gdb11479.exp
13631 * gdb.threads/clone-new-thread-event.exp
13632 * gdb.threads/corethreads.exp
13633 * gdb.threads/current-lwp-dead.exp
13634 * gdb.threads/dlopen-libpthread.exp
13635 * gdb.threads/gcore-thread.exp
13636 * gdb.threads/sigstep-threads.exp
13637 * gdb.threads/watchpoint-fork.exp
13638 * gdb.trace/actions-changed.exp
13639 * gdb.trace/backtrace.exp
13640 * gdb.trace/change-loc.exp
13641 * gdb.trace/circ.exp
13642 * gdb.trace/collection.exp
13643 * gdb.trace/disconnected-tracing.exp
13644 * gdb.trace/ftrace.exp
13645 * gdb.trace/mi-trace-frame-collected.exp
13646 * gdb.trace/mi-trace-unavailable.exp
13647 * gdb.trace/mi-traceframe-changed.exp
13648 * gdb.trace/mi-tsv-changed.exp
13649 * gdb.trace/no-attach-trace.exp
13650 * gdb.trace/passc-dyn.exp
13651 * gdb.trace/qtro.exp
13652 * gdb.trace/range-stepping.exp
13653 * gdb.trace/read-memory.exp
13654 * gdb.trace/save-trace.exp
13655 * gdb.trace/signal.exp
13656 * gdb.trace/status-stop.exp
13657 * gdb.trace/tfile.exp
13658 * gdb.trace/trace-break.exp
13659 * gdb.trace/trace-buffer-size.exp
13660 * gdb.trace/trace-condition.exp
13661 * gdb.trace/tracefile-pseudo-reg.exp
13662 * gdb.trace/tstatus.exp
13663 * gdb.trace/unavailable.exp
13664 * gdb.trace/while-dyn.exp
13665 * gdb.trace/while-stepping.exp
13666
34c41c68
DE
136672016-12-22 Doug Evans <xdje42@gmail.com>
13668
13669 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13670 and msymbols.
13671
16e69324
YQ
136722016-12-19 Yao Qi <yao.qi@linaro.org>
13673
13674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13675 (test_with_self): Don't call do_steps_and_nexts, and remove
13676 code about stepping into xmalloc.
13677
f94f411b
YQ
136782016-12-09 Yao Qi <yao.qi@linaro.org>
13679
13680 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13681
136822016-12-09 Yao Qi <yao.qi@linaro.org>
13683
13684 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13685
f1b5deee
PA
136862016-12-09 Pedro Alves <palves@redhat.com>
13687
13688 * gdb.base/all-architectures-0.exp: New file.
13689 * gdb.base/all-architectures-1.exp: New file.
13690 * gdb.base/all-architectures-2.exp: New file.
13691 * gdb.base/all-architectures-3.exp: New file.
13692 * gdb.base/all-architectures-4.exp: New file.
13693 * gdb.base/all-architectures-5.exp: New file.
13694 * gdb.base/all-architectures-6.exp: New file.
13695 * gdb.base/all-architectures-7.exp: New file.
13696 * gdb.base/all-architectures.exp.in: New file.
13697
364ca42e
YQ
136982016-12-09 Yao Qi <yao.qi@linaro.org>
13699
13700 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13701
107c2d62
LM
137022016-12-02 Luis Machado <lgustavo@codesourcery.com>
13703
13704 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13705 possible.
13706 Remove useless pattern-matching code.
13707
df3ee9ca
PA
137082016-12-02 Pedro Alves <palves@redhat.com>
13709
13710 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13711 procedure.
13712 (top level): Call it.
13713
ec835369
PA
137142016-12-02 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13717 New procedure.
13718 (top level): Call it.
13719
01770bbd
PA
137202016-12-02 Pedro Alves <palves@redhat.com>
13721
13722 PR cli/20559
13723 * gdb.base/commands.exp (user_defined_command_args_eval): New
13724 procedure.
13725 (top level): Call it.
13726
008459ea
LM
137272016-12-02 Luis Machado <lgustavo@codesourcery.com>
13728
13729 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13730 timeout handling.
13731
0c1b455e
TT
137322016-12-02 Tom Tromey <tom@tromey.com>
13733
13734 * gdb.dwarf2/main-subprogram.c: New file.
13735 * gdb.dwarf2/main-subprogram.exp: New file.
13736
018572b8
LM
137372016-12-01 Luis Machado <lgustavo@codesourcery.com>
13738
13739 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13740 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13741 gdb_test_no_output for a couple of cases.
13742 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13743
84c93cd5
LM
137442016-12-01 Luis Machado <lgustavo@codesourcery.com>
13745
13746 Fix test names and standardize compilation error messages throughout
13747 the following files:
13748
13749 * gdb.ada/start.exp
13750 * gdb.arch/alpha-step.exp
13751 * gdb.arch/e500-prologue.exp
13752 * gdb.arch/ftrace-insn-reloc.exp
13753 * gdb.arch/gdb1291.exp
13754 * gdb.arch/gdb1431.exp
13755 * gdb.arch/gdb1558.exp
13756 * gdb.arch/i386-dr3-watch.exp
13757 * gdb.arch/i386-sse-stack-align.exp
13758 * gdb.arch/ia64-breakpoint-shadow.exp
13759 * gdb.arch/pa-nullify.exp
13760 * gdb.arch/powerpc-aix-prologue.exp
13761 * gdb.arch/thumb-bx-pc.exp
13762 * gdb.base/annota1.exp
13763 * gdb.base/annota3.exp
13764 * gdb.base/arrayidx.exp
13765 * gdb.base/assign.exp
13766 * gdb.base/attach.exp
13767 * gdb.base/auxv.exp
13768 * gdb.base/bang.exp
13769 * gdb.base/bfp-test.exp
13770 * gdb.base/bigcore.exp
13771 * gdb.base/bitfields2.exp
13772 * gdb.base/break-fun-addr.exp
13773 * gdb.base/break-probes.exp
13774 * gdb.base/call-rt-st.exp
13775 * gdb.base/callexit.exp
13776 * gdb.base/catch-fork-kill.exp
13777 * gdb.base/charset.exp
13778 * gdb.base/checkpoint.exp
13779 * gdb.base/comprdebug.exp
13780 * gdb.base/constvars.exp
13781 * gdb.base/coredump-filter.exp
13782 * gdb.base/cursal.exp
13783 * gdb.base/cvexpr.exp
13784 * gdb.base/detach.exp
13785 * gdb.base/display.exp
13786 * gdb.base/dmsym.exp
13787 * gdb.base/dprintf-pending.exp
13788 * gdb.base/dso2dso.exp
13789 * gdb.base/dtrace-probe.exp
13790 * gdb.base/dump.exp
13791 * gdb.base/enum_cond.exp
13792 * gdb.base/exe-lock.exp
13793 * gdb.base/exec-invalid-sysroot.exp
13794 * gdb.base/execl-update-breakpoints.exp
13795 * gdb.base/exprs.exp
13796 * gdb.base/fileio.exp
13797 * gdb.base/find.exp
13798 * gdb.base/finish.exp
13799 * gdb.base/fixsection.exp
13800 * gdb.base/foll-vfork.exp
13801 * gdb.base/frame-args.exp
13802 * gdb.base/gcore.exp
13803 * gdb.base/gdb1250.exp
13804 * gdb.base/global-var-nested-by-dso.exp
13805 * gdb.base/gnu-ifunc.exp
13806 * gdb.base/hashline1.exp
13807 * gdb.base/hashline2.exp
13808 * gdb.base/hashline3.exp
13809 * gdb.base/hbreak-in-shr-unsupported.exp
13810 * gdb.base/huge.exp
13811 * gdb.base/infcall-input.exp
13812 * gdb.base/info-fun.exp
13813 * gdb.base/info-shared.exp
13814 * gdb.base/jit-simple.exp
13815 * gdb.base/jit-so.exp
13816 * gdb.base/jit.exp
13817 * gdb.base/jump.exp
13818 * gdb.base/label.exp
13819 * gdb.base/lineinc.exp
13820 * gdb.base/logical.exp
13821 * gdb.base/longjmp.exp
13822 * gdb.base/macscp.exp
13823 * gdb.base/miscexprs.exp
13824 * gdb.base/new-ui-echo.exp
13825 * gdb.base/new-ui-pending-input.exp
13826 * gdb.base/new-ui.exp
13827 * gdb.base/nodebug.exp
13828 * gdb.base/nofield.exp
13829 * gdb.base/offsets.exp
13830 * gdb.base/overlays.exp
13831 * gdb.base/pending.exp
13832 * gdb.base/pointers.exp
13833 * gdb.base/pr11022.exp
13834 * gdb.base/printcmds.exp
13835 * gdb.base/prologue.exp
13836 * gdb.base/ptr-typedef.exp
13837 * gdb.base/realname-expand.exp
13838 * gdb.base/relativedebug.exp
13839 * gdb.base/relocate.exp
13840 * gdb.base/remote.exp
13841 * gdb.base/reread.exp
13842 * gdb.base/return2.exp
13843 * gdb.base/savedregs.exp
13844 * gdb.base/sep.exp
13845 * gdb.base/sepdebug.exp
13846 * gdb.base/sepsymtab.exp
13847 * gdb.base/set-inferior-tty.exp
13848 * gdb.base/setshow.exp
13849 * gdb.base/shlib-call.exp
13850 * gdb.base/sigaltstack.exp
13851 * gdb.base/siginfo-addr.exp
13852 * gdb.base/signals.exp
13853 * gdb.base/signull.exp
13854 * gdb.base/sigrepeat.exp
13855 * gdb.base/so-impl-ld.exp
13856 * gdb.base/solib-display.exp
13857 * gdb.base/solib-overlap.exp
13858 * gdb.base/solib-search.exp
13859 * gdb.base/solib-symbol.exp
13860 * gdb.base/structs.exp
13861 * gdb.base/structs2.exp
13862 * gdb.base/symtab-search-order.exp
13863 * gdb.base/twice.exp
13864 * gdb.base/unload.exp
13865 * gdb.base/varargs.exp
13866 * gdb.base/watchpoint-solib.exp
13867 * gdb.base/watchpoint.exp
13868 * gdb.base/whatis.exp
13869 * gdb.base/wrong_frame_bt_full.exp
13870 * gdb.btrace/dlopen.exp
13871 * gdb.cell/ea-standalone.exp
13872 * gdb.cell/ea-test.exp
13873 * gdb.cp/dispcxx.exp
13874 * gdb.cp/gdb2384.exp
13875 * gdb.cp/method2.exp
13876 * gdb.cp/nextoverthrow.exp
13877 * gdb.cp/pr10728.exp
13878 * gdb.disasm/am33.exp
13879 * gdb.disasm/h8300s.exp
13880 * gdb.disasm/mn10300.exp
13881 * gdb.disasm/sh3.exp
13882 * gdb.dwarf2/dw2-dir-file-name.exp
13883 * gdb.fortran/complex.exp
13884 * gdb.fortran/library-module.exp
13885 * gdb.guile/scm-pretty-print.exp
13886 * gdb.guile/scm-symbol.exp
13887 * gdb.guile/scm-type.exp
13888 * gdb.guile/scm-value.exp
13889 * gdb.linespec/linespec.exp
13890 * gdb.mi/gdb701.exp
13891 * gdb.mi/gdb792.exp
13892 * gdb.mi/mi-breakpoint-changed.exp
13893 * gdb.mi/mi-dprintf-pending.exp
13894 * gdb.mi/mi-dprintf.exp
13895 * gdb.mi/mi-exit-code.exp
13896 * gdb.mi/mi-pending.exp
13897 * gdb.mi/mi-solib.exp
13898 * gdb.mi/new-ui-mi-sync.exp
13899 * gdb.mi/pr11022.exp
13900 * gdb.mi/user-selected-context-sync.exp
13901 * gdb.opt/solib-intra-step.exp
13902 * gdb.python/py-events.exp
13903 * gdb.python/py-finish-breakpoint.exp
13904 * gdb.python/py-mi.exp
13905 * gdb.python/py-prettyprint.exp
13906 * gdb.python/py-shared.exp
13907 * gdb.python/py-symbol.exp
13908 * gdb.python/py-template.exp
13909 * gdb.python/py-type.exp
13910 * gdb.python/py-value.exp
13911 * gdb.reverse/solib-precsave.exp
13912 * gdb.reverse/solib-reverse.exp
13913 * gdb.server/solib-list.exp
13914 * gdb.stabs/weird.exp
13915 * gdb.threads/reconnect-signal.exp
13916 * gdb.threads/stepi-random-signal.exp
13917 * gdb.trace/actions.exp
13918 * gdb.trace/ax.exp
13919 * gdb.trace/backtrace.exp
13920 * gdb.trace/change-loc.exp
13921 * gdb.trace/deltrace.exp
13922 * gdb.trace/ftrace-lock.exp
13923 * gdb.trace/ftrace.exp
13924 * gdb.trace/infotrace.exp
13925 * gdb.trace/mi-tracepoint-changed.exp
13926 * gdb.trace/packetlen.exp
13927 * gdb.trace/passcount.exp
13928 * gdb.trace/pending.exp
13929 * gdb.trace/range-stepping.exp
13930 * gdb.trace/report.exp
13931 * gdb.trace/stap-trace.exp
13932 * gdb.trace/tfind.exp
13933 * gdb.trace/trace-break.exp
13934 * gdb.trace/trace-condition.exp
13935 * gdb.trace/trace-enable-disable.exp
13936 * gdb.trace/trace-mt.exp
13937 * gdb.trace/tracecmd.exp
13938 * gdb.trace/tspeed.exp
13939 * gdb.trace/tsv.exp
13940 * lib/perftest.exp
13941
fb9feb35
LM
139422016-12-01 Luis Machado <lgustavo@codesourcery.com>
13943
13944 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13945 with gdb_test_no_output.
13946 Use command as test name.
13947
cd2ddb6c
LM
139482016-12-01 Luis Machado <lgustavo@codesourcery.com>
13949
13950 Fix test names starting with uppercase throughout the files.
13951
13952 * gdb.ada/assign_1.exp
13953 * gdb.ada/boolean_expr.exp
13954 * gdb.base/arrayidx.exp
13955 * gdb.base/del.exp
13956 * gdb.base/gcore-buffer-overflow.exp
13957 * gdb.base/testenv.exp
13958 * gdb.compile/compile.exp
13959 * gdb.python/py-framefilter-invalidarg.exp
13960 * gdb.python/py-framefilter.exp
13961
bb95117e
LM
139622016-12-01 Luis Machado <lgustavo@codesourcery.com>
13963
13964 Fix test names starting with uppercase throughout the files.
13965
13966 * gdb.ada/array_return.exp
13967 * gdb.ada/expr_delims.exp
13968 * gdb.ada/mi_dyn_arr.exp
13969 * gdb.ada/mi_interface.exp
13970 * gdb.ada/mi_var_array.exp
13971 * gdb.ada/watch_arg.exp
13972 * gdb.arch/alpha-step.exp
13973 * gdb.arch/altivec-regs.exp
13974 * gdb.arch/e500-regs.exp
13975 * gdb.arch/powerpc-d128-regs.exp
13976 * gdb.base/arrayidx.exp
13977 * gdb.base/break.exp
13978 * gdb.base/checkpoint.exp
13979 * gdb.base/debug-expr.exp
13980 * gdb.base/dmsym.exp
13981 * gdb.base/radix.exp
13982 * gdb.base/sepdebug.exp
13983 * gdb.base/testenv.exp
13984 * gdb.base/watch_thread_num.exp
13985 * gdb.base/watchpoint-cond-gone.exp
13986 * gdb.cell/break.exp
13987 * gdb.cell/ea-cache.exp
13988 * gdb.compile/compile.exp
13989 * gdb.cp/gdb2495.exp
13990 * gdb.gdb/selftest.exp
13991 * gdb.gdb/xfullpath.exp
13992 * gdb.go/hello.exp
13993 * gdb.go/integers.exp
13994 * gdb.objc/basicclass.exp
13995 * gdb.pascal/hello.exp
13996 * gdb.pascal/integers.exp
13997 * gdb.python/py-breakpoint.exp
13998 * gdb.python/py-cmd.exp
13999 * gdb.python/py-linetable.exp
14000 * gdb.python/py-xmethods.exp
14001 * gdb.python/python.exp
14002 * gdb.reverse/consecutive-precsave.exp
14003 * gdb.reverse/finish-precsave.exp
14004 * gdb.reverse/i386-precsave.exp
14005 * gdb.reverse/machinestate-precsave.exp
14006 * gdb.reverse/sigall-precsave.exp
14007 * gdb.reverse/solib-precsave.exp
14008 * gdb.reverse/step-precsave.exp
14009 * gdb.reverse/until-precsave.exp
14010 * gdb.reverse/watch-precsave.exp
14011 * gdb.threads/leader-exit.exp
14012 * gdb.threads/pthreads.exp
14013 * gdb.threads/wp-replication.exp
14014 * gdb.trace/actions.exp
14015 * gdb.trace/mi-tsv-changed.exp
14016 * gdb.trace/tsv.exp
14017
de97fdd4
LM
140182016-12-01 Luis Machado <lgustavo@codesourcery.com>
14019
14020 Fix test names starting with uppercase throughout the files.
14021
14022 * gdb.arch/i386-bp_permanent.exp
14023 * gdb.arch/i386-gnu-cfi.exp
14024 * gdb.base/disasm-end-cu.exp
14025 * gdb.base/macscp.exp
14026 * gdb.base/pending.exp
14027 * gdb.base/watch_thread_num.exp
14028 * gdb.cp/exception.exp
14029 * gdb.cp/gdb2495.exp
14030 * gdb.cp/local.exp
14031 * gdb.python/py-evsignal.exp
14032 * gdb.python/python.exp
14033 * gdb.trace/tracecmd.exp
14034
9f058c10
LM
140352016-12-01 Luis Machado <lgustavo@codesourcery.com>
14036
14037 Fix test names starting with uppercase throughout the files.
14038
14039 * gdb.base/charset.exp
14040 * gdb.base/eval.exp
14041 * gdb.base/multi-forks.exp
14042 * gdb.guile/scm-progspace.exp
14043 * gdb.opencl/datatypes.exp
14044 * gdb.python/py-block.exp
14045 * gdb.python/py-function.exp
14046 * gdb.python/py-symbol.exp
14047 * gdb.python/py-symtab.exp
14048 * gdb.python/py-xmethods.exp
14049 * gdb.reverse/break-precsave.exp
14050 * gdb.reverse/break-reverse.exp
14051 * gdb.reverse/consecutive-precsave.exp
14052 * gdb.reverse/consecutive-reverse.exp
14053 * gdb.reverse/finish-precsave.exp
14054 * gdb.reverse/finish-reverse-bkpt.exp
14055 * gdb.reverse/finish-reverse.exp
14056 * gdb.reverse/fstatat-reverse.exp
14057 * gdb.reverse/getresuid-reverse.exp
14058 * gdb.reverse/i386-precsave.exp
14059 * gdb.reverse/i386-reverse.exp
14060 * gdb.reverse/i386-sse-reverse.exp
14061 * gdb.reverse/i387-stack-reverse.exp
14062 * gdb.reverse/insn-reverse.exp
14063 * gdb.reverse/machinestate-precsave.exp
14064 * gdb.reverse/machinestate.exp
14065 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14066 * gdb.reverse/pipe-reverse.exp
14067 * gdb.reverse/readv-reverse.exp
14068 * gdb.reverse/recvmsg-reverse.exp
14069 * gdb.reverse/rerun-prec.exp
14070 * gdb.reverse/s390-mvcle.exp
14071 * gdb.reverse/sigall-precsave.exp
14072 * gdb.reverse/sigall-reverse.exp
14073 * gdb.reverse/solib-precsave.exp
14074 * gdb.reverse/solib-reverse.exp
14075 * gdb.reverse/step-precsave.exp
14076 * gdb.reverse/step-reverse.exp
14077 * gdb.reverse/time-reverse.exp
14078 * gdb.reverse/until-precsave.exp
14079 * gdb.reverse/until-reverse.exp
14080 * gdb.reverse/waitpid-reverse.exp
14081 * gdb.reverse/watch-precsave.exp
14082 * gdb.reverse/watch-reverse.exp
14083
cdc7edd7
LM
140842016-12-01 Luis Machado <lgustavo@codesourcery.com>
14085
14086 Fix test names starting with uppercase throughout the files.
14087
14088 * gdb.arch/i386-mpx-simple_segv.exp
14089 * gdb.arch/i386-mpx.exp
14090 * gdb.arch/i386-permbkpt.exp
14091 * gdb.arch/pa-nullify.exp
14092 * gdb.arch/powerpc-d128-regs.exp
14093 * gdb.arch/vsx-regs.exp
14094 * gdb.base/bfp-test.exp
14095 * gdb.base/break.exp
14096 * gdb.base/breakpoint-shadow.exp
14097 * gdb.base/callfuncs.exp
14098 * gdb.base/charset.exp
14099 * gdb.base/commands.exp
14100 * gdb.base/completion.exp
14101 * gdb.base/dfp-test.exp
14102 * gdb.base/echo.exp
14103 * gdb.base/ending-run.exp
14104 * gdb.base/eval.exp
14105 * gdb.base/expand-psymtabs.exp
14106 * gdb.base/float128.exp
14107 * gdb.base/floatn.exp
14108 * gdb.base/foll-exec-mode.exp
14109 * gdb.base/gdb1056.exp
14110 * gdb.base/gdb11531.exp
14111 * gdb.base/kill-after-signal.exp
14112 * gdb.base/multi-forks.exp
14113 * gdb.base/overlays.exp
14114 * gdb.base/pending.exp
14115 * gdb.base/sepdebug.exp
14116 * gdb.base/testenv.exp
14117 * gdb.base/valgrind-db-attach.exp
14118 * gdb.base/watch_thread_num.exp
14119 * gdb.base/watchpoint-cond-gone.exp
14120 * gdb.base/watchpoint.exp
14121 * gdb.base/watchpoints.exp
14122 * gdb.cp/arg-reference.exp
14123 * gdb.cp/baseenum.exp
14124 * gdb.cp/operator.exp
14125 * gdb.cp/shadow.exp
14126 * gdb.dwarf2/dw2-op-out-param.exp
14127 * gdb.dwarf2/dw2-reg-undefined.exp
14128 * gdb.go/chan.exp
14129 * gdb.go/hello.exp
14130 * gdb.go/integers.exp
14131 * gdb.go/methods.exp
14132 * gdb.go/package.exp
14133 * gdb.guile/scm-parameter.exp
14134 * gdb.guile/scm-progspace.exp
14135 * gdb.guile/scm-value.exp
14136 * gdb.mi/mi-pending.exp
14137 * gdb.mi/user-selected-context-sync.exp
14138 * gdb.multi/multi-attach.exp
14139 * gdb.multi/tids.exp
14140 * gdb.opt/clobbered-registers-O2.exp
14141 * gdb.pascal/floats.exp
14142 * gdb.pascal/integers.exp
14143 * gdb.python/py-block.exp
14144 * gdb.python/py-events.exp
14145 * gdb.python/py-parameter.exp
14146 * gdb.python/py-symbol.exp
14147 * gdb.python/py-symtab.exp
14148 * gdb.python/py-type.exp
14149 * gdb.python/py-value.exp
14150 * gdb.python/py-xmethods.exp
14151 * gdb.python/python.exp
14152 * gdb.reverse/break-precsave.exp
14153 * gdb.reverse/consecutive-precsave.exp
14154 * gdb.reverse/finish-precsave.exp
14155 * gdb.reverse/i386-precsave.exp
14156 * gdb.reverse/machinestate-precsave.exp
14157 * gdb.reverse/sigall-precsave.exp
14158 * gdb.reverse/solib-precsave.exp
14159 * gdb.reverse/step-precsave.exp
14160 * gdb.reverse/until-precsave.exp
14161 * gdb.reverse/watch-precsave.exp
14162 * gdb.server/ext-attach.exp
14163 * gdb.server/ext-restart.exp
14164 * gdb.server/ext-run.exp
14165 * gdb.server/ext-wrapper.exp
14166 * gdb.stabs/gdb11479.exp
14167 * gdb.stabs/weird.exp
14168 * gdb.threads/attach-many-short-lived-threads.exp
14169 * gdb.threads/kill.exp
14170 * gdb.threads/watchpoint-fork.exp
14171
bc6c7af4
LM
141722016-12-01 Luis Machado <lgustavo@codesourcery.com>
14173
14174 Fix test names starting with uppercase throughout all the files below.
14175
14176 * gdb.ada/array_return.exp
14177 * gdb.ada/catch_ex.exp
14178 * gdb.ada/info_exc.exp
14179 * gdb.ada/mi_catch_ex.exp
14180 * gdb.ada/mi_dyn_arr.exp
14181 * gdb.ada/mi_ex_cond.exp
14182 * gdb.ada/mi_exc_info.exp
14183 * gdb.ada/mi_interface.exp
14184 * gdb.ada/mi_task_arg.exp
14185 * gdb.ada/mi_task_info.exp
14186 * gdb.ada/mi_var_array.exp
14187 * gdb.arch/alpha-step.exp
14188 * gdb.arch/amd64-disp-step.exp
14189 * gdb.arch/arm-disp-step.exp
14190 * gdb.arch/disp-step-insn-reloc.exp
14191 * gdb.arch/e500-prologue.exp
14192 * gdb.arch/ftrace-insn-reloc.exp
14193 * gdb.arch/gdb1558.exp
14194 * gdb.arch/i386-bp_permanent.exp
14195 * gdb.arch/i386-disp-step.exp
14196 * gdb.arch/i386-float.exp
14197 * gdb.arch/i386-gnu-cfi.exp
14198 * gdb.arch/ia64-breakpoint-shadow.exp
14199 * gdb.arch/mips16-thunks.exp
14200 * gdb.arch/pa-nullify.exp
14201 * gdb.arch/powerpc-aix-prologue.exp
14202 * gdb.arch/powerpc-power.exp
14203 * gdb.arch/ppc-dfp.exp
14204 * gdb.arch/s390-tdbregs.exp
14205 * gdb.arch/spu-info.exp
14206 * gdb.arch/spu-ls.exp
14207 * gdb.arch/thumb-bx-pc.exp
14208 * gdb.base/advance.exp
14209 * gdb.base/annota-input-while-running.exp
14210 * gdb.base/arrayidx.exp
14211 * gdb.base/asmlabel.exp
14212 * gdb.base/async.exp
14213 * gdb.base/attach-wait-input.exp
14214 * gdb.base/auto-connect-native-target.exp
14215 * gdb.base/batch-preserve-term-settings.exp
14216 * gdb.base/bfp-test.exp
14217 * gdb.base/bigcore.exp
14218 * gdb.base/bp-permanent.exp
14219 * gdb.base/break-always.exp
14220 * gdb.base/break-fun-addr.exp
14221 * gdb.base/break-idempotent.exp
14222 * gdb.base/break-main-file-remove-fail.exp
14223 * gdb.base/break-probes.exp
14224 * gdb.base/break-unload-file.exp
14225 * gdb.base/break.exp
14226 * gdb.base/call-ar-st.exp
14227 * gdb.base/call-rt-st.exp
14228 * gdb.base/call-sc.exp
14229 * gdb.base/call-signal-resume.exp
14230 * gdb.base/call-strs.exp
14231 * gdb.base/callexit.exp
14232 * gdb.base/callfuncs.exp
14233 * gdb.base/catch-gdb-caused-signals.exp
14234 * gdb.base/catch-signal-siginfo-cond.exp
14235 * gdb.base/catch-syscall.exp
14236 * gdb.base/compare-sections.exp
14237 * gdb.base/cond-eval-mode.exp
14238 * gdb.base/condbreak-call-false.exp
14239 * gdb.base/consecutive-step-over.exp
14240 * gdb.base/cursal.exp
14241 * gdb.base/disabled-location.exp
14242 * gdb.base/disasm-end-cu.exp
14243 * gdb.base/display.exp
14244 * gdb.base/double-prompt-target-event-error.exp
14245 * gdb.base/dprintf-bp-same-addr.exp
14246 * gdb.base/dprintf-detach.exp
14247 * gdb.base/dprintf-next.exp
14248 * gdb.base/dprintf-non-stop.exp
14249 * gdb.base/dprintf-pending.exp
14250 * gdb.base/dso2dso.exp
14251 * gdb.base/ending-run.exp
14252 * gdb.base/enum_cond.exp
14253 * gdb.base/examine-backward.exp
14254 * gdb.base/exe-lock.exp
14255 * gdb.base/exec-invalid-sysroot.exp
14256 * gdb.base/execl-update-breakpoints.exp
14257 * gdb.base/execution-termios.exp
14258 * gdb.base/fileio.exp
14259 * gdb.base/fixsection.exp
14260 * gdb.base/foll-exec-mode.exp
14261 * gdb.base/foll-exec.exp
14262 * gdb.base/fork-running-state.exp
14263 * gdb.base/frame-args.exp
14264 * gdb.base/fullpath-expand.exp
14265 * gdb.base/func-ptr.exp
14266 * gdb.base/gcore-relro-pie.exp
14267 * gdb.base/gdb1090.exp
14268 * gdb.base/gdb1555.exp
14269 * gdb.base/global-var-nested-by-dso.exp
14270 * gdb.base/gnu-ifunc.exp
14271 * gdb.base/hbreak-in-shr-unsupported.exp
14272 * gdb.base/hbreak-unmapped.exp
14273 * gdb.base/hook-stop.exp
14274 * gdb.base/infcall-input.exp
14275 * gdb.base/info-fun.exp
14276 * gdb.base/info-shared.exp
14277 * gdb.base/interrupt-noterm.exp
14278 * gdb.base/jit-so.exp
14279 * gdb.base/jit.exp
14280 * gdb.base/line-symtabs.exp
14281 * gdb.base/list.exp
14282 * gdb.base/longjmp.exp
14283 * gdb.base/macscp.exp
14284 * gdb.base/max-value-size.exp
14285 * gdb.base/nodebug.exp
14286 * gdb.base/nofield.exp
14287 * gdb.base/overlays.exp
14288 * gdb.base/paginate-after-ctrl-c-running.exp
14289 * gdb.base/paginate-bg-execution.exp
14290 * gdb.base/paginate-inferior-exit.exp
14291 * gdb.base/pending.exp
14292 * gdb.base/pr11022.exp
14293 * gdb.base/printcmds.exp
14294 * gdb.base/ptr-typedef.exp
14295 * gdb.base/ptype.exp
14296 * gdb.base/randomize.exp
14297 * gdb.base/range-stepping.exp
14298 * gdb.base/realname-expand.exp
14299 * gdb.base/relativedebug.exp
14300 * gdb.base/remote.exp
14301 * gdb.base/savedregs.exp
14302 * gdb.base/sepdebug.exp
14303 * gdb.base/set-noassign.exp
14304 * gdb.base/shlib-call.exp
14305 * gdb.base/shreloc.exp
14306 * gdb.base/sigaltstack.exp
14307 * gdb.base/sigbpt.exp
14308 * gdb.base/siginfo-addr.exp
14309 * gdb.base/siginfo-obj.exp
14310 * gdb.base/siginfo-thread.exp
14311 * gdb.base/signest.exp
14312 * gdb.base/signull.exp
14313 * gdb.base/sigrepeat.exp
14314 * gdb.base/skip.exp
14315 * gdb.base/so-impl-ld.exp
14316 * gdb.base/solib-corrupted.exp
14317 * gdb.base/solib-disc.exp
14318 * gdb.base/solib-display.exp
14319 * gdb.base/solib-overlap.exp
14320 * gdb.base/solib-search.exp
14321 * gdb.base/solib-symbol.exp
14322 * gdb.base/source-execution.exp
14323 * gdb.base/sss-bp-on-user-bp-2.exp
14324 * gdb.base/sss-bp-on-user-bp.exp
14325 * gdb.base/stack-checking.exp
14326 * gdb.base/stale-infcall.exp
14327 * gdb.base/step-break.exp
14328 * gdb.base/step-line.exp
14329 * gdb.base/step-over-exit.exp
14330 * gdb.base/step-test.exp
14331 * gdb.base/structs.exp
14332 * gdb.base/sym-file.exp
14333 * gdb.base/symtab-search-order.exp
14334 * gdb.base/term.exp
14335 * gdb.base/type-opaque.exp
14336 * gdb.base/unload.exp
14337 * gdb.base/until-nodebug.exp
14338 * gdb.base/until.exp
14339 * gdb.base/unwindonsignal.exp
14340 * gdb.base/watch-cond.exp
14341 * gdb.base/watch-non-mem.exp
14342 * gdb.base/watch_thread_num.exp
14343 * gdb.base/watchpoint-reuse-slot.exp
14344 * gdb.base/watchpoint-solib.exp
14345 * gdb.base/watchpoint.exp
14346 * gdb.btrace/dlopen.exp
14347 * gdb.cell/arch.exp
14348 * gdb.cell/break.exp
14349 * gdb.cell/bt.exp
14350 * gdb.cell/core.exp
14351 * gdb.cell/data.exp
14352 * gdb.cell/dwarfaddr.exp
14353 * gdb.cell/ea-cache.exp
14354 * gdb.cell/ea-standalone.exp
14355 * gdb.cell/ea-test.exp
14356 * gdb.cell/f-regs.exp
14357 * gdb.cell/fork.exp
14358 * gdb.cell/gcore.exp
14359 * gdb.cell/mem-access.exp
14360 * gdb.cell/ptype.exp
14361 * gdb.cell/registers.exp
14362 * gdb.cell/sizeof.exp
14363 * gdb.cell/solib-symbol.exp
14364 * gdb.cell/solib.exp
14365 * gdb.compile/compile-tls.exp
14366 * gdb.cp/exception.exp
14367 * gdb.cp/gdb2495.exp
14368 * gdb.cp/local.exp
14369 * gdb.cp/mb-inline.exp
14370 * gdb.cp/mb-templates.exp
14371 * gdb.cp/pr10687.exp
14372 * gdb.cp/pr9167.exp
14373 * gdb.cp/scope-err.exp
14374 * gdb.cp/templates.exp
14375 * gdb.cp/virtfunc.exp
14376 * gdb.dwarf2/dw2-dir-file-name.exp
14377 * gdb.dwarf2/dw2-single-line-discriminators.exp
14378 * gdb.fortran/complex.exp
14379 * gdb.fortran/library-module.exp
14380 * gdb.guile/guile.exp
14381 * gdb.guile/scm-cmd.exp
14382 * gdb.guile/scm-frame-inline.exp
14383 * gdb.guile/scm-objfile.exp
14384 * gdb.guile/scm-pretty-print.exp
14385 * gdb.guile/scm-symbol.exp
14386 * gdb.guile/scm-type.exp
14387 * gdb.guile/scm-value.exp
14388 * gdb.linespec/keywords.exp
14389 * gdb.linespec/ls-errs.exp
14390 * gdb.linespec/macro-relative.exp
14391 * gdb.linespec/thread.exp
14392 * gdb.mi/mi-breakpoint-changed.exp
14393 * gdb.mi/mi-dprintf-pending.exp
14394 * gdb.mi/mi-fullname-deleted.exp
14395 * gdb.mi/mi-logging.exp
14396 * gdb.mi/mi-pending.exp
14397 * gdb.mi/mi-solib.exp
14398 * gdb.mi/new-ui-mi-sync.exp
14399 * gdb.mi/user-selected-context-sync.exp
14400 * gdb.multi/dummy-frame-restore.exp
14401 * gdb.multi/multi-arch-exec.exp
14402 * gdb.multi/remove-inferiors.exp
14403 * gdb.multi/watchpoint-multi-exit.exp
14404 * gdb.opt/solib-intra-step.exp
14405 * gdb.perf/backtrace.exp
14406 * gdb.perf/single-step.exp
14407 * gdb.perf/skip-command.exp
14408 * gdb.perf/skip-prologue.exp
14409 * gdb.perf/solib.exp
14410 * gdb.python/lib-types.exp
14411 * gdb.python/py-as-string.exp
14412 * gdb.python/py-bad-printers.exp
14413 * gdb.python/py-block.exp
14414 * gdb.python/py-breakpoint.exp
14415 * gdb.python/py-cmd.exp
14416 * gdb.python/py-events.exp
14417 * gdb.python/py-evthreads.exp
14418 * gdb.python/py-finish-breakpoint.exp
14419 * gdb.python/py-finish-breakpoint2.exp
14420 * gdb.python/py-frame-inline.exp
14421 * gdb.python/py-frame.exp
14422 * gdb.python/py-inferior.exp
14423 * gdb.python/py-infthread.exp
14424 * gdb.python/py-mi.exp
14425 * gdb.python/py-objfile.exp
14426 * gdb.python/py-pp-maint.exp
14427 * gdb.python/py-pp-registration.exp
14428 * gdb.python/py-prettyprint.exp
14429 * gdb.python/py-recurse-unwind.exp
14430 * gdb.python/py-shared.exp
14431 * gdb.python/py-symbol.exp
14432 * gdb.python/py-symtab.exp
14433 * gdb.python/py-template.exp
14434 * gdb.python/py-type.exp
14435 * gdb.python/py-unwind-maint.exp
14436 * gdb.python/py-unwind.exp
14437 * gdb.python/py-value.exp
14438 * gdb.python/python.exp
14439 * gdb.reverse/finish-reverse-bkpt.exp
14440 * gdb.reverse/insn-reverse.exp
14441 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14442 * gdb.reverse/solib-precsave.exp
14443 * gdb.reverse/solib-reverse.exp
14444 * gdb.stabs/gdb11479.exp
14445 * gdb.stabs/weird.exp
14446 * gdb.threads/fork-child-threads.exp
14447 * gdb.threads/fork-plus-threads.exp
14448 * gdb.threads/fork-thread-pending.exp
14449 * gdb.threads/forking-threads-plus-breakpoint.exp
14450 * gdb.threads/hand-call-in-threads.exp
14451 * gdb.threads/interrupted-hand-call.exp
14452 * gdb.threads/linux-dp.exp
14453 * gdb.threads/local-watch-wrong-thread.exp
14454 * gdb.threads/next-while-other-thread-longjmps.exp
14455 * gdb.threads/non-ldr-exit.exp
14456 * gdb.threads/pending-step.exp
14457 * gdb.threads/print-threads.exp
14458 * gdb.threads/process-dies-while-detaching.exp
14459 * gdb.threads/process-dies-while-handling-bp.exp
14460 * gdb.threads/pthreads.exp
14461 * gdb.threads/queue-signal.exp
14462 * gdb.threads/reconnect-signal.exp
14463 * gdb.threads/signal-command-handle-nopass.exp
14464 * gdb.threads/signal-command-multiple-signals-pending.exp
14465 * gdb.threads/signal-delivered-right-thread.exp
14466 * gdb.threads/signal-sigtrap.exp
14467 * gdb.threads/sigthread.exp
14468 * gdb.threads/staticthreads.exp
14469 * gdb.threads/stepi-random-signal.exp
14470 * gdb.threads/thread-unwindonsignal.exp
14471 * gdb.threads/thread_check.exp
14472 * gdb.threads/thread_events.exp
14473 * gdb.threads/tid-reuse.exp
14474 * gdb.threads/tls-nodebug.exp
14475 * gdb.threads/tls-shared.exp
14476 * gdb.threads/tls-so_extern.exp
14477 * gdb.threads/tls.exp
14478 * gdb.threads/wp-replication.exp
14479 * gdb.trace/actions-changed.exp
14480 * gdb.trace/actions.exp
14481 * gdb.trace/backtrace.exp
14482 * gdb.trace/change-loc.exp
14483 * gdb.trace/collection.exp
14484 * gdb.trace/deltrace.exp
14485 * gdb.trace/disconnected-tracing.exp
14486 * gdb.trace/entry-values.exp
14487 * gdb.trace/ftrace-lock.exp
14488 * gdb.trace/ftrace.exp
14489 * gdb.trace/infotrace.exp
14490 * gdb.trace/mi-trace-frame-collected.exp
14491 * gdb.trace/mi-trace-unavailable.exp
14492 * gdb.trace/mi-traceframe-changed.exp
14493 * gdb.trace/mi-tracepoint-changed.exp
14494 * gdb.trace/mi-tsv-changed.exp
14495 * gdb.trace/no-attach-trace.exp
14496 * gdb.trace/packetlen.exp
14497 * gdb.trace/passc-dyn.exp
14498 * gdb.trace/passcount.exp
14499 * gdb.trace/pending.exp
14500 * gdb.trace/pr16508.exp
14501 * gdb.trace/qtro.exp
14502 * gdb.trace/range-stepping.exp
14503 * gdb.trace/read-memory.exp
14504 * gdb.trace/report.exp
14505 * gdb.trace/save-trace.exp
14506 * gdb.trace/signal.exp
14507 * gdb.trace/stap-trace.exp
14508 * gdb.trace/status-stop.exp
14509 * gdb.trace/strace.exp
14510 * gdb.trace/tfile.exp
14511 * gdb.trace/tfind.exp
14512 * gdb.trace/trace-break.exp
14513 * gdb.trace/trace-condition.exp
14514 * gdb.trace/trace-enable-disable.exp
14515 * gdb.trace/trace-mt.exp
14516 * gdb.trace/tracecmd.exp
14517 * gdb.trace/tracefile-pseudo-reg.exp
14518 * gdb.trace/tspeed.exp
14519 * gdb.trace/tstatus.exp
14520 * gdb.trace/tsv.exp
14521 * gdb.trace/unavailable.exp
14522 * gdb.trace/while-dyn.exp
14523 * gdb.trace/while-stepping.exp
14524 * lib/gdb-guile.exp
14525 * lib/gdb.exp
14526 * lib/mi-support.exp
14527 * lib/pascal.exp
14528 * lib/perftest.exp
14529 * lib/prelink-support.exp
14530 * lib/selftest-support.exp
14531
ad02e4fe
SM
145322016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14533
14534 * Makefile.in: Include disable-implicit-rules.mk.
14535
22347e55
AA
145362016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14537
14538 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14539 non-byte-aligned bit fields.
14540
da5b30da
AA
145412016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14542
14543 PR gdb/12616
14544 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14545 respects the DW_AT_data_bit_offset attribute.
14546
b593ecca
SM
145472016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14548
14549 * gdb.base/default.exp: Fix output of "set language".
14550
3b165252
SM
145512016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14552
14553 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14554 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14555 make.
14556 * configure.ac: Remove checks for the make program.
14557 * configure: Re-generate.
14558
1a2f3d7f
KB
145592016-11-16 Kevin Buettner <kevinb@redhat.com>
14560
14561 * gdb.python/py-recurse-unwind.c (main): Add loop.
14562 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14563 to read_register() and gdb.parse_and_eval(). Make each code
14564 call a separate case that can be individually tested.
14565 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14566 proc. Call cont_and_backtrace for each of the code paths that
14567 we want to test in the unwinder.
14568
b7f38fda
AA
145692016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14570
14571 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14572 the definition of struct S.
14573
1f8db343
CM
145742016-11-11 Catherine Moore <clm@codesourcery.com>
14575
14576 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14577
fad0c9fb
PA
145782016-11-09 Pedro Alves <palves@redhat.com>
14579
14580 * gdb.base/commands.exp (runto_or_return): New procedure.
14581 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14582 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14583 (progvar_simple_while_test, progvar_complex_if_while_test)
14584 (if_while_breakpoint_command_test)
14585 (infrun_breakpoint_command_test, breakpoint_command_test)
14586 (user_defined_command_test, watchpoint_command_test)
14587 (test_command_prompt_position, redefine_hook_test)
14588 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14589 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14590 multi_line_input and multi_line. Remove gdb_expect and
14591 gdb_stop_suppressing_tests uses.
14592 * lib/gdb.exp (valnum_re): New global.
14593 (multi_line_input): New procedure.
14594
8354c62c
SM
145952016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14596
14597 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14598 Remove.
14599 (test_setup): Define with proc_with_prefix.
14600 (test_cli_inferior): Likewise.
14601 (test_cli_thread): Likewise.
14602 (test_cli_frame): Likewise.
14603 (test_cli_select_frame): Likewise.
14604 (test_cli_up_down): Likewise.
14605 (test_mi_thread_select): Likewise.
14606 (test_mi_stack_select_frame): Likewise.
14607 (test_cli_in_mi_inferior): Likewise.
14608 (test_cli_in_mi_thread): Likewise.
14609 (test_cli_in_mi_frame): Likewise.
14610 (top level): Do not use with_test_prefix_procname.
14611
64f367a2
PA
146122016-11-09 Pedro Alves <palves@redhat.com>
14613
14614 * gdb.base/commands.exp (gdbvar_simple_if_test)
14615 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14616 (progvar_simple_if_test, progvar_simple_while_test)
14617 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14618 (infrun_breakpoint_command_test, breakpoint_command_test)
14619 (user_defined_command_test, watchpoint_command_test)
14620 (test_command_prompt_position, deprecated_command_test)
14621 (bp_deleted_in_command, temporary_breakpoint_commands)
14622 (stray_arg0_test, source_file_with_indented_comment)
14623 (recursive_source_test, if_commands_test)
14624 (error_clears_commands_left, redefine_hook_test)
14625 (redefine_backtrace_test): Use proc_with_prefix.
14626 * lib/gdb.exp (proc_with_prefix): New proc.
14627
0bb65f1e
AA
146282016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629
14630 * gdb.base/tui-layout.c: New file.
14631 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14632 disassembly window contains very long lines.
14633
7353f247
TT
146342016-11-08 Tom Tromey <tom@tromey.com>
14635
14636 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14637 depend on Python 2.
14638
30a7bb83
TT
146392016-11-08 Tom Tromey <tom@tromey.com>
14640
14641 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14642 New method.
14643
cdf5a07c
MG
146442016-10-29 Manish Goregaokar <manish@mozilla.com>
14645
2806dc7e 14646 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14647
51a789c3
MG
146482016-10-27 Manish Goregaokar <manish@mozilla.com>
14649
2806dc7e
PA
14650 * gdb.rust/simple.rs: Add test for univariant enums without
14651 discriminants and for encoded struct-like enums.
51a789c3 14652
f610ab6d
PA
146532016-10-28 Pedro Alves <palves@redhat.com>
14654
14655 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14656 gdb_test_multiple, tighten regexps and match symtabs and line
14657 tables incrementally.
14658
b129b0ca
LM
146592016-10-28 Luis Machado <lgustavo@codesourcery.com>
14660
14661 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14662 general.
14663
ecf45d2c
SL
146642016-10-25 Luis Machado <lgustavo@codesourcery.com>
14665
14666 * gdb.base/exec-invalid-sysroot.exp: New file.
14667
b8d38ee4
JK
146682016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14669
14670 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14671
f90fd8c2
JK
146722016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14673
14674 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14675
2d2476aa
MR
146762016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14677
2806dc7e
PA
14678 * gdb.base/killed-outside.exp: Remove $options from a call to
14679 `prepare_for_testing'.
2d2476aa 14680
e42b25a0
SM
146812016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14682
14683 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14684 Change test message.
14685
3ccdb432
SM
146862016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14687
14688 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14689 Update comment.
14690
5bad3170
SM
146912016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14692
14693 * gdb.trace/mi-trace-save.exp: New file.
14694
5ad9dba7
YQ
146952016-10-13 Yao Qi <yao.qi@linaro.org>
14696
14697 * gdb.base/code_elim.exp (get_var_address): Remove.
14698 * gdb.base/relocate.exp: Likewise.
14699 * gdb.base/shreloc.exp: Likewise.
14700 * lib/gdb.exp (get_var_address): New.
14701
62df7e21
YQ
147022016-10-13 Yao Qi <yao.qi@linaro.org>
14703
14704 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14705 floating point tests if $skip_float_test is false.
14706
4dac951e
LM
147072016-10-12 Luis Machado <lgustavo@codesourcery.com>
14708
14709 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14710 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14711 argc values.
14712 Add 1 to argc so we guarantee distinct initial/modified argc values.
14713
8f1a8fc4
JK
147142016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14715
14716 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14717
16c85b5d
JK
147182016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14719
14720 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14721 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14722 * gdb.arch/vsx-regs.exp: Likewise.
14723
1d0e042a
YQ
147242016-10-07 Yao Qi <yao.qi@linaro.org>
14725
14726 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14727
68dadef5
MM
147282016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14729
14730 * gdb.python/python.exp: Test decode_line("*0").
14731
33fa2c6e
DE
147322016-10-06 Doug Evans <dje@google.com>
14733
14734 * gdb.python/py-value.exp (test_value_creation): Add test for large
14735 unsigned 64-bit value.
14736
9c37b5ae
TT
147372016-10-06 Tom Tromey <tom@tromey.com>
14738
14739 * gdb.compile/compile.exp: Change java tests to rust.
14740 * gdb.base/setshow.exp: Change java tests to rust.
14741 * gdb.base/default.exp: Remove java from language list.
14742 * README (Examples): Update language example.
14743 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14744 test.
14745 * lib/gdb.exp (skip_java_tests): Remove.
14746 * lib/java.exp: Remove.
14747 * gdb.java: Remove.
14748
78b86327
MR
147492016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14750
14751 * gdb.arch/mips-fcr.exp: New test.
14752 * gdb.arch/mips-fcr.c: Source for the new test.
14753
7470adbb
MR
147542016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14755
14756 * gdb.base/solib-disc.exp: Use `standard_output_file'
14757 throughout.
14758
4a556533
PA
147592016-10-06 Pedro Alves <palves@redhat.com>
14760
14761 * gdb.base/jit-simple-dl.c: New file.
14762 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14763 * gdb.base/jit-simple.c: ... this.
14764 * gdb.base/jit-simple.exp (jit_run): Delete.
14765 (build_jit): New proc.
14766 (jit_test_reread): Recompile either the main program or the shared
14767 library, depending on what is being tested. Skip changing address
14768 if caller wants to. Compare before/after addresses. If testing
14769 standalone, explicitly load the binary. Test "maint info
14770 breakpoints".
14771 (top level): Add "standalone vs shared lib" and "change address"
14772 vs "same address" axes.
14773
5a122fbc
PA
147742016-10-06 Pedro Alves <palves@redhat.com>
14775
14776 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14777 call.
14778 (jit_run): Delete.
14779 (jit_test_reread): Use with_test_prefix. Reload the main binary
14780 explicitly. Compare the before/after addresses of the JIT
14781 descriptor.
14782
ee8da4b8
DE
147832016-08-15 Doug Evans <dje@google.com>
14784
14785 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14786 for single bitfields is bool.
14787 * gdb.xml/tdesc-regs.exp: Ditto.
14788
f389f6fe
JK
147892016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14790
14791 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14792
fdebf1a4
YQ
147932016-10-05 Yao Qi <yao.qi@linaro.org>
14794
14795 * lib/gdb.exp (support_complex_tests): Return zero if
14796 gdb_skip_float_test return true.
14797
9c36d954 147982016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14799 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14800
14801 PR gdb/20487
14802 * gdb.mi/user-selected-context-sync.exp: New file.
14803 * gdb.mi/user-selected-context-sync.c: New file.
14804
4034d0ff 148052016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14806 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14807
14808 PR gdb/20487
14809 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14810 =thread-select-event check.
14811
a4297203
PB
148122016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14813
14814 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14815 the compulsory L operand changes.
14816 * gdb.arch/powerpc-power.s: Likewise.
14817
bb805577
JK
148182016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14819
14820 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14821 * gdb.base/jit-attach-pie.c: New file.
14822 * gdb.base/jit-attach-pie.exp: New file.
14823
6d61dee5
PA
148242016-09-28 Pedro Alves <palves@redhat.com>
14825
14826 * gdb.base/infcall-input.c: New file.
14827 * gdb.base/infcall-input.exp: New file.
14828
f73842fc
YQ
148292016-09-22 Yao Qi <yao.qi@linaro.org>
14830
14831 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14832 (gdb_exit): Rename it to ...
14833 (gdbserver_gdb_exit): ... Close GDBserver.
14834 (gdb_exit): New proc, call gdbserver_gdb_exit.
14835 (mi_gdb_exit): Likewise.
14836
90681dab
YQ
148372016-09-22 Yao Qi <yao.qi@linaro.org>
14838
14839 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14840 path.
14841 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14842 Remove duplication.
14843
9c211fd8
YQ
148442016-09-22 Yao Qi <yao.qi@linaro.org>
14845
14846 * lib/gdbserver-support.exp: Check the existence of
14847 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14848
ad0a504f
AK
148492016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14850
14851 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14852
36cf1806
TT
148532016-09-21 Tom Tromey <tom@tromey.com>
14854
14855 PR gdb/20604:
14856 * gdb.base/quit.exp: New file.
14857
74172ecf
SM
148582016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14859
14860 * .gitignore: New file.
14861
3d0ec882
MR
148622016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14863
14864 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14865 throughout.
14866
8193adea
AA
148672016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14868
14869 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14870
d41a5c09
JK
148712016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14872
14873 * gdb.cp/casts.cc (decltype): Move it ...
14874 (main): ... with its call to ...
14875 * gdb.cp/casts03.cc: ... a new file.
14876 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14877
d2dfe700
JK
148782016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14879
14880 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14881
e2a92b16
PB
148822016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14883
14884 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14885 and sync up the test with tests in gas/testsuite/gas/ppc.
14886 * gdb.arch/powerpc-power.exp: Likewise.
14887
49b4de64
JK
148882016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14889
14890 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14891
2c29df25
SDJ
148922016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14893 Jan Kratochvil <jan.kratochvil@redhat.com>
14894
14895 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14896 make m1's definition to be different from m2's. Use 'dummy' as an
14897 argument for probe 'two'.
14898
cc3c2846
JB
148992016-09-10 Jon Beniston <jon@beniston.com>
14900
14901 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14902 for sim target.
14903
e1b2624a
AA
149042016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14905
14906 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14907 variable declaration.
14908 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14909 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14910 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14911 received HWCAP as its argument.
14912
4295e285
PA
149132016-09-06 Pedro Alves <palves@redhat.com>
14914
14915 * gdb.base/new-ui-pending-input.c: New file.
14916 * gdb.base/new-ui-pending-input.exp: New file.
14917 * gdb.exp (clear_gdb_spawn_id): New procedure.
14918 (with_spawn_id): Check whether gdb_spawn_id exists before
14919 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14920 on exit.
14921
00d5215e
UW
149222016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14923
14924 * gdb.base/float128.c: New file.
14925 * gdb.base/float128.exp: Likewise.
14926 * gdb.base/floatn.c: Likewise.
14927 * gdb.base/floatn.exp: Likewise.
14928
a9ff5f12
UW
149292016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14930
14931 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14932
f245535c
PA
149332016-09-05 Pedro Alves <palves@redhat.com>
14934
14935 PR backtrace/19927
14936 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14937 unwinders are immediately called as side effect of "source" or
14938 "disable unwinder" commands.
14939 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14940
ae9cf263
YQ
149412016-09-02 Yao Qi <yao.qi@linaro.org>
14942
14943 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14944 is true and $type is "float" or "double".
14945
27aba047
YQ
149462016-09-02 Yao Qi <yao.qi@linaro.org>
14947
14948 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14949 true.
14950 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14951 * gdb.base/call-rt-st.exp: Likewise.
14952 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14953 return value instead of gdb,skip_float_test.
14954 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14955 (do_function_calls): Use its return value instead of
14956 gdb,skip_float_test.
14957 * gdb.base/finish.exp: Likewise.
14958 * gdb.base/funcargs.exp: Likewise.
14959 * gdb.base/return.exp: Likewise.
14960 * gdb.base/return2.exp: Likewise.
14961 * gdb.base/varargs.exp: Likewise.
14962 * lib/gdb.exp (gdb_skip_float_test): Change it to
14963 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14964
5af962df
AA
149652016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14966
14967 * gdb.multi/tids.exp: Test "thread apply all".
14968
7fac6910
JK
149692016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14970
14971 * gdb.base/default.exp (tty): Remove.
14972
bb1fe4ac
KB
149732016-08-24 Kevin Buettner <kevinb@redhat.com>
14974
2806dc7e
PA
14975 * gdb.python/py-recurse-unwind.c: New file.
14976 * gdb.python/py-recurse-unwind.py: New file.
14977 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14978
0a1ddfa6
SM
149792016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14980
14981 * gdb.base/set-inferior-tty.exp: New file.
14982 * gdb.base/set-inferior-tty.c: New file.
14983
d9de1fe3
PA
149842016-08-23 Pedro Alves <palves@redhat.com>
14985
14986 PR gdb/20494
14987 * gdb.base/new-ui-echo.c: New file.
14988 * gdb.base/new-ui-echo.exp: New file.
14989
e9d9abd7
YQ
149902016-08-23 Yao Qi <yao.qi@linaro.org>
14991
14992 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14993 gdbserver_spawn.
14994 * gdb.server/connect-without-multi-process.exp (do_test):
14995 Likewise.
14996
3589529e
YQ
149972016-08-23 Yao Qi <yao.qi@linaro.org>
14998
14999 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15000 standalone_txt. Delete gdb_txt and standalone_txt on host
15001 and target. Spawn the binary on target. Copy files from
15002 target to host.
15003
6bb90213
PA
150042016-08-22 Pedro Alves <palves@redhat.com>
15005
15006 PR gdb/20505
15007 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15008 with_test_prefix. Factor out bits to ...
15009 (test_no_vdso): ... this new procedure.
15010
20c2c024
CL
150112016-08-19 Carl Love <cel@us.ibm.com>
15012
15013 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15014 maintaining separate logic for constructing the output path.
15015 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15016 * gdb.arch/ppc-dfp.exp: Likewise.
15017 * gdb.arch/ppc-fp.exp: Likewise.
15018 * gdb.arch/vsx-regs.exp: Likewise.
15019 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15020 binprefix for generating the additional binary files.
15021
0646e07d
PA
150222016-08-19 Pedro Alves <palves@redhat.com>
15023
15024 * gdb.trace/mi-trace-frame-collected.exp
15025 (test_trace_frame_collected): On x32, expect two registers.
15026
46da9242
CL
150272016-08-18 Carl Love <cel@us.ibm.com>
15028
15029 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15030 and sync up the test with tests in gas/testsuite/gas/ppc.
15031 * gdb.arch/powerpc-power.exp: Likewise.
15032
eb2332d7
SM
150332016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15034
15035 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15036 expected error message.
15037
63c61e04
SM
150382016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15039
15040 * gdb.multi/remove-inferiors.exp: New file.
15041 * gdb.multi/remove-inferiors.c: New file.
15042
7b17065f
YQ
150432016-08-12 Yao Qi <yao.qi@linaro.org>
15044
15045 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15046 argument list.
15047
01d3dedf
PA
150482016-08-10 Pedro Alves <palves@redhat.com>
15049
15050 PR gdb/19187
15051 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15052 setup_kfails.
15053
3eb7562a
PA
150542016-08-09 Pedro Alves <palves@redhat.com>
15055 Simon Marchi <simon.marchi@ericsson.com>
15056
15057 PR gdb/20418
15058 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15059 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15060
80614914
PA
150612016-08-09 Pedro Alves <palves@redhat.com>
15062
15063 PR mi/20431
15064 * gdb.mi/mi-cmd-error.exp: New file.
15065
f348d89a
PA
150662016-08-09 Pedro Alves <palves@redhat.com>
15067
15068 PR gdb/18653
15069 * gdb.base/signals-state-child.c: New file.
15070 * gdb.base/signals-state-child.exp: New file.
15071 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15072
e5ca03b4
PA
150732016-08-09 Pedro Alves <palves@redhat.com>
15074
15075 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15076
282a0691
TT
150772016-08-03 Tom Tromey <tom@tromey.com>
15078
15079 PR python/18565:
15080 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15081
41bfcd63
YQ
150822016-08-01 Yao Qi <yao.qi@linaro.org>
15083
15084 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15085 variable mode to "multi-process" if $multi_process is 1, otherwise
15086 set it to "single-process".
15087
e3465b24
YQ
150882016-08-01 Yao Qi <yao.qi@linaro.org>
15089
15090 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15091 * gdb.cp/cpexprs.exp: Likewise.
15092 * gdb.cp/m-static.exp: Likewise.
15093
0b31a4bc
TT
150942016-07-26 Tom Tromey <tom@tromey.com>
15095
15096 PR python/20190:
15097 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15098 test.
15099
e0461dbb
MM
151002016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15101
15102 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15103 selecting assembly source files.
15104 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15105 assembly source files.
15106 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15107 assembly source files.
15108 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15109 selecting assembly source files.
15110
8194e927
SM
151112016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15112
15113 * gdb.base/new-ui.exp (do_test_invalid_args): New
15114 procedure.
15115
c0272db5
TW
151162016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15117
15118 * gdb.btrace/reconnect.c: New file.
15119 * gdb.btrace/reconnect.exp: New file.
15120
e3487908
GKB
151212016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15122
15123 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15124 to test_catch_syscall_group.
15125 (test_catch_syscall_group): New.
15126
12df5c00
TT
151272016-07-21 Tom Tromey <tom@tromey.com>
15128
15129 * gdb.rust/simple.rs (main): Use empty struct expression.
15130 * gdb.rust/simple.exp: Add tests for empty struct expression.
15131
bae62ee2
YQ
151322016-07-21 Yao Qi <yao.qi@linaro.org>
15133
15134 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15135 if gdb_skip_xml_test is true on some targets.
15136
b1b53fb3
YQ
151372016-07-21 Yao Qi <yao.qi@linaro.org>
15138
15139 * gdb.server/solib-list.exp: Unset last_loaded_file.
15140
027d97f8
JK
151412016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15142
15143 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15144 "step into captured_main (args)".
15145
7674d381
JK
151462016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15147
15148 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15149
72b5d099
JK
151502016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15151
15152 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15153
1f960ced
PA
151542016-07-19 Pedro Alves <palves@redhat.com>
15155
15156 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15157 * gdb.opt/inline-bt.exp: Likewise.
15158 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15159 additional_flags=-Winline.
15160 * gdb.opt/inline-locals.exp: Likewise.
15161 * gdb.opt/inline-markers.c (ATTR): Define.
15162 (inlined_fn): Use it.
15163
f25827c1
YQ
151642016-07-19 Yao Qi <yao.qi@linaro.org>
15165
15166 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15167 (test_with_self): Remove some code. Remove argument executable.
15168 (top-level): Use do_self_tests.
15169
37539ebe
DB
151702016-07-15 Zachary Welch <zwelch@codesourcery.com>
15171 Don Breazeal <donb@codesourcery.com>
15172
15173 * gdb.base/maint.exp: Escape paths used in regular expressions.
15174 * gdb.stabs/weird.exp: Likewise.
15175
dac790e1
TT
151762016-07-13 Tom Tromey <tom@tromey.com>
15177
15178 PR python/15620, PR python/18620:
15179 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15180 (test_bkpt_events): New procs.
15181
93daf339
TT
151822016-07-13 Tom Tromey <tom@tromey.com>
15183
15184 PR python/17698:
15185 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15186 test.
15187 (test_watchpoints): Likewise.
15188 (test_bkpt_pending): New proc.
15189
6571a381
TT
151902016-07-13 Tom Tromey <tom@tromey.com>
15191
15192 PR cli/18053:
15193 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15194 completion test.
15195
e8732474
JK
151962016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15197
15198 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15199 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15200 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15201 f_label.
15202 (g): Rename g_end_lbl to g_label.
15203 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15204 low_pc and high_pc.
15205 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15206
e0f3fd7c
TT
152072016-07-12 Tom Tromey <tom@tromey.com>
15208
15209 PR python/19293:
15210 * gdb.python/py-unwind-maint.exp: Update tests.
15211
3cfe46b6
YQ
152122016-07-12 Yao Qi <yao.qi@linaro.org>
15213
15214 * lib/selftest-support.exp (selftest_setup): Match the output
15215 when captured_main is inlined.
15216
4f19a0e6
WT
152172016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15218
15219 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15220 New variables.
15221 (print this%a, print this%b, print this): New tests.
15222 * gdb.fortran/derived-types.f90 (this): New object and
15223 initialization.
15224
986cf455
SM
152252016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15226
15227 * gdb.ada/arraydim.exp: Remove extra directory level in build
15228 directory.
15229
f0464b23
SM
152302016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15231
15232 * lib/ada.exp: Remove extra directory level in build directory.
15233 * gdb.ada/cond_lang.exp: Likewise.
15234 * gdb.ada/exec_changed.exp: Likewise.
15235 * gdb.ada/lang_switch.exp: Likewise.
15236
42d94011
MG
152372016-07-06 Manish Goregaokar <manish@mozilla.com>
15238
2806dc7e
PA
15239 * simple.rs: Add test for raw pointer subscripting.
15240 * simple.exp: Add test expectations.
42d94011 15241
647c264c
YQ
152422016-07-05 Yao Qi <yao.qi@linaro.org>
15243
15244 * gdb.mi/mi-reverse.exp: Match =record-started output.
15245
20aa2c60
PA
152462016-07-01 Pedro Alves <palves@redhat.com>
15247
15248 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15249 procedure.
15250 (jit_reader_test): Test the jit reader's unwinder.
15251 * gdb.base/jithost.c (jit_function_00_code): New global.
15252 (main): Use memcpy to fill in the mmapped code, instead of poking
15253 bytes manually here.
15254 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15255 value.
15256 (read_debug_info): Save the function's range.
15257 (read_sp): New function.
15258 (unwind_frame): Use it. Also unwind RBP.
15259 (get_frame_id): Use read_sp.
15260 (gdb_init_reader): Use calloc instead of malloc.
15261 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15262 parameter. Use gdb_test_multiple.
15263
ced2dffb
PA
152642016-07-01 Pedro Alves <palves@redhat.com>
15265 Antoine Tremblay <antoine.tremblay@ericsson.com>
15266
15267 * gdb.threads/process-dies-while-detaching.c: New file.
15268 * gdb.threads/process-dies-while-detaching.exp: New file.
15269
63000888
PA
152702016-07-01 Pedro Alves <palves@redhat.com>
15271
15272 * gdb.multi/watchpoint-multi-exit.c: New file.
15273 * gdb.multi/watchpoint-multi-exit.exp: New file.
15274
038d4868
PA
152752016-06-30 Pedro Alves <palves@redhat.com>
15276
15277 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15278 unset inferior_spawn_id.
15279
994e9c83
PA
152802016-06-30 Pedro Alves <palves@redhat.com>
15281
15282 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15283 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15284
e5653468
YQ
152852016-06-29 Yao Qi <yao.qi@linaro.org>
15286
15287 * gdb.base/return.c: Add copyright header.
15288
803b47e5
TT
152892016-06-29 Tom Tromey <tom@tromey.com>
15290
15291 PR python/20129:
15292 * gdb.python/py-framefilter.exp: Add tests for setting priority
15293 and disabling of non-existent frame filter.
15294
28244707
YQ
152952016-06-29 Yao Qi <yao.qi@linaro.org>
15296
15297 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15298 0x0f07ff.
15299
a31d2f06
YQ
153002016-06-28 Yao Qi <yao.qi@linaro.org>
15301
15302 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15303 triplets. Start gdb, execute catch syscall, and continue. Check
15304 gdb's output to determine catch syscall is supported.
15305
921d8f54
MG
153062016-06-27 Manish Goregaokar <manish@mozilla.com>
15307
25d49b86
PA
15308 * gdb.rust/simple.rs: Add test for returning unit in a function.
15309 * gdb.rust/simple.exp: Add expectation for functions returning
15310 unit.
921d8f54 15311
f4952523
PMR
153122016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15313
15314 * gdb.python/py-breakpoint-create-fail.c,
15315 gdb.python/py-breakpoint-create-fail.exp,
15316 gdb.python/py-breakpoint-create-fail.py: New testcase.
15317
fccb08f8
MG
153182016-06-25 Manish Goregaokar <manish@mozilla.com>
15319
15320 PR gdb/20239
15321 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15322 * gdb.rust/simple.exp: Add test expectations for new NonZero
15323 tests.
fccb08f8 15324
6b850546
DT
153252016-06-24 David Taylor <dtaylor@emc.com>
15326
15327 * gdb.base/offsets.exp: New file.
15328 * gdb.base/offsets.c: New file.
15329
17621150
TT
153302016-06-23 Tom Tromey <tom@tromey.com>
15331
15332 PR gdb/16483:
15333 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15334 before any filters are loaded.
15335
04d59df6
WT
153362016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15337
15338 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15339 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15340 structs.
15341 * gdb.fortran/derived-type-function.exp: New file.
15342 * gdb.fortran/derived-type-function.f90: New file.
15343
15344
ac69f786
PA
153452016-06-21 Pedro Alves <palves@redhat.com>
15346
15347 * gdb.base/new-ui.exp: New file.
15348 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15349 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15350 (with_spawn_id): New procedure.
15351
49940788
PA
153522016-06-21 Pedro Alves <palves@redhat.com>
15353
15354 * gdb.mi/mi-exec-run.exp: New file.
15355
ef274d26
PA
153562016-06-21 Pedro Alves <palves@redhat.com>
15357
15358 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15359 breakpoint command's output on the main UI.
15360 (test_break): New procedure, factored out from calls in the top
15361 level.
15362 (top level): Use foreach_with_prefix to test MI as main UI and as
15363 separate UI.
15364
468afe6c
PA
153652016-06-21 Pedro Alves <palves@redhat.com>
15366
15367 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15368 (test_awatch_creation_and_listing)
15369 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15370 Remove 'type' parameter.
15371 (test_watchpoint_all): New parameter mi_mode. Remove
15372 with_test_prefix.
15373 (top level): Use foreach_with_prefix, and add main/separate UI MI
15374 testing axis.
15375
51f77c37
PA
153762016-06-21 Pedro Alves <palves@redhat.com>
15377
15378 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15379 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15380 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15381 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15382 (gdb_main_spawn_id, mi_spawn_id): Declare and
15383 comment.
15384 (mi_create_inferior_pty): New procedure,
15385 factored out from default_mi_gdb_start.
15386 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15387 procedures.
15388 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15389 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15390 Use mi_create_inferior_pty.
15391 (mi_gdb_start): Use eval to pass down args list.
15392
8980e177
PA
153932016-06-21 Pedro Alves <palves@redhat.com>
15394
15395 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15396 * gdb.opt/inline-cmds.exp: Add MI tests.
15397
f38d3ad1
PA
153982016-06-21 Pedro Alves <palves@redhat.com>
15399
15400 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15401
45db7c09
PA
154022016-06-21 Pedro Alves <palves@redhat.com>
15403
15404 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15405 (top level): Use it instead of mi_execute_to.
15406
5a069ab3
PA
154072016-06-21 Pedro Alves <palves@redhat.com>
15408
15409 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15410 (cont_handler_str): New.
15411 (signal_stop_handler): Set stop_handler_str instead of printing to
15412 stdout.
15413 (continue_handler): Set cont_handler_str instead of printing to
15414 stdout.
15415 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15416 mi_send_resuming_command. Print stop_handler_str and
15417 cont_handler_str instead of expecting the python events print
15418 directly.
15419
2838cc1d
SD
154202016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15421
15422 * gdb.base/jit-reader.exp: New file.
15423 * gdb.base/jithost.c: New file.
15424 * gdb.base/jithost.h: New file.
15425 * gdb.base/jitreader.c : New file.
15426 * gdb.base/jit-protocol.h: New file.
15427
21a77091
YQ
154282016-06-17 Yao Qi <yao.qi@linaro.org>
15429
15430 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15431 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15432 and detach-on-fork. Adjust tests.
15433 (top level): Invoke break_cond_on_syscall with combinations of
15434 syscall, follow-fork-mode and detach-on-fork.
15435
f50bf8e5
YQ
154362016-06-17 Yao Qi <yao.qi@linaro.org>
15437
15438 * gdb.base/step-over-exit.c: New.
15439 * gdb.base/step-over-exit.exp: New.
15440
a28d8e50
YTL
154412016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15442
15443 * gdb.base/float.exp: Add target check for nds32*-*-*.
15444 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15445
cad8e26d
AB
154462016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15447
15448 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15449 for unsupported target features.
15450 * gdb.base/call-rt-st.exp: Likewise.
15451 * gdb.base/call-sc.exp: Likewise.
15452 * gdb.base/call-signal-resume.exp: Likewise.
15453 * gdb.base/call-strs.exp: Likewise.
15454 * gdb.base/callexit.exp: Likewise.
15455 * gdb.base/callfuncs.exp: Likewise.
15456 * gdb.base/nodebug.exp: Likewise.
15457 * gdb.base/printcmds.exp: Likewise.
15458 * gdb.base/ptype.exp: Likewise.
15459 * gdb.base/structs.exp: Likewise.
15460 * gdb.base/unwindonsignal.exp: Likewise.
15461 * gdb.cp/gdb2495.exp: Likewise.
15462 * gdb.cp/templates.exp: Likewise.
15463 * gdb.cp/virtfunc.exp: Likewise.
15464 * gdb.threads/hand-call-in-threads.exp: Likewise.
15465 * gdb.threads/interrupted-hand-call.exp: Likewise.
15466 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15467
347dc102
TT
154682016-06-10 Tom Tromey <tom@tromey.com>
15469
15470 PR rust/20110:
15471 * gdb.rust/expr.exp: Add test for integer constant larger than
15472 i32.
15473
5e13cf25
BH
154742016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15475
15476 * gdb.fortran/nested-funcs.exp: New.
15477 * gdb.fortran/nested-funcs.f90: New.
15478
bb556f1f
TK
154792016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15480
15481 * gdb.base/examine-backward.c: New file.
15482 * gdb.base/examine-backward.exp: New file.
15483
38b022b4
SM
154842016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15485
15486 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15487 matching.
15488
1b40ec05
TT
154892016-06-02 Tom Tromey <tom@tromey.com>
15490
15491 PR python/18984:
15492 * gdb.python/py-shared.exp: Add solib_name test.
15493
193bd378
SM
154942016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15495
15496 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15497
3326303b
MG
154982016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15499
15500 PR c++/19893
15501 * gdb.dwarf2/implref.exp: Rename to...
15502 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15503 * gdb.dwarf2/implref-array.c: New file.
15504 * gdb.dwarf2/implref-array.exp: Likewise.
15505 * gdb.dwarf2/implref-global.c: Likewise.
15506 * gdb.dwarf2/implref-global.exp: Likewise.
15507 * gdb.dwarf2/implref-struct.c: Likewise.
15508 * gdb.dwarf2/implref-struct.exp: Likewise.
15509
825c8ef2
AT
155102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15511
15512 * gdb.trace/trace-condition.exp: Add 64bit tests.
15513
2320162a
AT
155142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15515
15516 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15517 bits types.
15518 (main): Adapt to 8 to 64 bits types.
15519 * gdb.trace/trace-condition.exp: Add new tests.
15520
a7818233
AT
155212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15522
15523 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15524
0d336466
AT
155252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15526
15527 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15528 Move condition tests...
15529 * gdb.trace/trace-condition.exp: Here.
15530
7faeb45a
AT
155312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15532
15533 * gdb.trace/trace-condition.exp: Add counter-case tests.
15534
e385593e
JK
155352016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15536
15537 PR c++/15231
15538 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15539 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15540
744608cc
PA
155412016-05-27 Pedro Alves <palves@redhat.com>
15542
15543 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15544 New procedure.
15545 (top level): Call it, and bail out of DejaGnu is known to be bad.
15546
ac775bf4
AB
155472016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15548
15549 * gdb.base/whatis.c: Extend the test case.
15550 * gdb.base/whatis.exp: Add additional tests.
15551
2bbad2ea
BH
155522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15553
15554* gdb.fortran/type.f90: Add pointer variable.
15555* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15556
8b70175d
BH
155572016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15558
15559 * gdb.fortran/vla-type.exp: Fix testcase name.
15560
86d8a848
BH
155612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15562
15563 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15564
e188eb36
BH
155652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15566
15567 * gdb.fortran/type.f90: Add nested structures.
15568 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15569 * gdb.fortran/derived-type.exp: Adapt expected output.
15570 * gdb.fortran/vla-type.exp: Adapt expected output.
15571
9b2db1fd
BH
155722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15573
15574 * gdb.fortran/whatis_type.exp: Adapt expected output.
15575
72b17055
BH
155762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15577
15578 * gdb.fortran/print_type.exp: Fix expected output.
15579 * gdb.fortran/whatis_type.exp: Fix expected output.
15580
3cd81d8d
BH
155812016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15582
15583 * gdb.fortran/whatis_type.exp: Use multi_line.
15584
ddae9462
TT
155852016-05-24 Tom Tromey <tom@tromey.com>
15586
15587 PR python/17386:
15588 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15589 use value as an index.
15590
1957f6b8
TT
155912016-05-23 Tom Tromey <tom@tromey.com>
15592
15593 PR python/17981:
15594 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15595 no-breakpoint case.
15596
026a9174
PA
155972016-05-24 Pedro Alves <palves@redhat.com>
15598
15599 PR gdb/19828
15600 * gdb.threads/clone-attach-detach.c: New file.
15601 * gdb.threads/clone-attach-detach.exp: New file.
15602
e70a7231
FR
156032016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15604
15605 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15606
0f6ed0e0
TT
156072016-05-23 Tom Tromey <tom@tromey.com>
15608
15609 PR python/19438, PR python/18393:
15610 * gdb.python/py-progspace.exp: Add "dir" test.
15611 * gdb.python/py-objfile.exp: Add "dir" test.
15612
ffd19d61
YQ
156132016-05-23 Yao Qi <yao.qi@linaro.org>
15614
15615 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15616 * gdb.arch/thumb2-it.exp: Likewise.
15617
9e8f9b05
SM
156182016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15619
15620 * gdb.mi/mi-threads-interrupt.c: New file.
15621 * gdb.mi/mi-threads-interrupt.exp: New file.
15622
61c6156d
SM
156232016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15624
15625 PR gdb/18077
15626 * gdb.mi/mi-async-run.exp: New file.
15627 * gdb.mi/mi-async-run.c: New file.
15628
67218854
TT
156292016-05-17 Tom Tromey <tom@tromey.com>
15630 Manish Goregaokar <manishsmail@gmail.com>
15631
15632 * lib/rust-support.exp: New file.
15633 * lib/gdb.exp (skip_rust_tests): New proc.
15634 (build_executable_from_specs): Handle rust.
15635 * lib/future.exp (gdb_find_rustc): New proc.
15636 (gdb_default_target_compile): Handle rust.
15637 * gdb.rust/expr.exp: New file.
15638 * gdb.rust/generics.exp: New file.
15639 * gdb.rust/generics.rs: New file.
15640 * gdb.rust/methods.exp: New file.
15641 * gdb.rust/methods.rs: New file.
15642 * gdb.rust/modules.exp: New file.
15643 * gdb.rust/modules.rs: New file.
15644 * gdb.rust/simple.exp: New file.
15645 * gdb.rust/simple.rs: New file.
15646
c44af4eb
TT
156472016-05-17 Tom Tromey <tom@tromey.com>
15648
15649 * gdb.base/default.exp (set language): Add rust.
15650
dcd1f979
TT
156512016-05-17 Tom Tromey <tom@tromey.com>
15652
15653 * gdb.gdb/unittest.exp: New file.
15654
155b7f57
YQ
156552016-05-16 Yao Qi <yao.qi@linaro.org>
15656
15657 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15658 shell_prompt. Update shell_prompt_re.
15659
8ddd5a6c
DE
156602016-05-12 Doug Evans <dje@google.com>
15661
15662 PR symtab/19999
15663 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15664 $options when building executable.
15665 * gdb.dwarf2/fission-loclists-pie.S: New file.
15666 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15667
02e370d9
SM
156682016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15669
15670 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15671 of [is_remote target],
15672
8929ad8b
SM
156732016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15674
15675 * lib/gdb.exp (use_gdb_stub): New procedure.
15676
6c447423
DE
156772016-05-03 Yunlian Jiang <yunlian@google.com>
15678 Doug Evans <dje@google.com>
15679
15680 PR symtab/19914
15681 * gdb.dwarf2/dwp-sepdebug.c: New file.
15682 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15683
444e826c
SM
156842016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15685
15686 * gdb.base/detach.exp: Remove is_remote check.
15687
740feeaa
SM
156882016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15689
15690 * gdb.base/annota-input-while-running.exp: Don't check for
15691 [is_remote target]. Enable annotations after running to main.
15692 Remove unused "set test..." line.
15693
9080ac9d
SM
156942016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15695
15696 * gdb.trace/trace-enable-disable.exp: New file.
15697 * gdb.trace/trace-enable-disable.c: New file.
15698
952ebca5
SM
156992016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15700
15701 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15702 use it in info sharedlibrary test.
15703 * gdb.trace/ftrace-lock.exp: Likewise.
15704 * gdb.trace/ftrace.exp: Likewise.
15705 * gdb.trace/range-stepping.exp: Likewise.
15706 * gdb.trace/trace-break.exp: Likewise.
15707 * gdb.trace/trace-condition.exp: Likewise.
15708 * gdb.trace/trace-mt.exp: Likewise.
15709
d9019901
SM
157102016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15711
15712 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15713 (gdb_load_shlib): ... this.
15714 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15715 gdb_load_shlib.
15716 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15717 * gdb.base/ctxobj.exp: Likewise.
15718 * gdb.base/dprintf-pending.exp: Likewise.
15719 * gdb.base/dso2dso.exp: Likewise.
15720 * gdb.base/fixsection.exp: Likewise.
15721 * gdb.base/gcore-relro.exp: Likewise.
15722 * gdb.base/gdb1555.exp: Likewise.
15723 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15724 * gdb.base/gnu-ifunc.exp: Likewise.
15725 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15726 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15727 * gdb.base/pending.exp: Likewise.
15728 * gdb.base/print-file-var.exp: Likewise.
15729 * gdb.base/print-symbol-loading.exp: Likewise.
15730 * gdb.base/shlib-call.exp: Likewise.
15731 * gdb.base/shreloc.exp: Likewise.
15732 * gdb.base/so-impl-ld.exp: Likewise.
15733 * gdb.base/solib-disc.exp: Likewise.
15734 * gdb.base/solib-nodir.exp: Likewise.
15735 * gdb.base/solib-overlap.exp: Likewise.
15736 * gdb.base/solib-symbol.exp: Likewise.
15737 * gdb.base/solib-weak.exp (do_test): Likewise.
15738 * gdb.base/sym-file.exp: Likewise.
15739 * gdb.base/symtab-search-order.exp: Likewise.
15740 * gdb.base/type-opaque.exp: Likewise.
15741 * gdb.base/unload.exp: Likewise.
15742 * gdb.base/watchpoint-solib.exp: Likewise.
15743 * gdb.compile/compile.exp: Likewise.
15744 * gdb.cp/gdb2384.exp: Likewise.
15745 * gdb.cp/infcall-dlopen.exp: Likewise.
15746 * gdb.cp/re-set-overloaded.exp: Likewise.
15747 * gdb.fortran/library-module.exp: Likewise.
15748 * gdb.opt/solib-intra-step.exp: Likewise.
15749 * gdb.python/py-finish-breakpoint.exp: Likewise.
15750 * gdb.python/py-shared.exp: Likewise.
15751 * gdb.reverse/solib-precsave.exp: Likewise.
15752 * gdb.reverse/solib-reverse.exp: Likewise.
15753 * gdb.server/solib-list.exp: Likewise.
15754 * gdb.threads/dlopen-libpthread.exp: Likewise.
15755 * gdb.threads/tls-shared.exp: Likewise.
15756 * gdb.threads/tls-so_extern.exp: Likewise.
15757 * gdb.trace/change-loc.exp: Likewise.
15758 * gdb.trace/ftrace-lock.exp: Likewise.
15759 * gdb.trace/ftrace.exp: Likewise.
15760 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15761 * gdb.trace/pending.exp: Likewise.
15762 * gdb.trace/range-stepping.exp: Likewise.
15763 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15764 (strace_info_marker): Likewise.
15765 (strace_probe_marker): Likewise.
15766 (strace_trace_on_same_addr): Likewise.
15767 (strace_trace_on_diff_addr): Likewise.
15768 * gdb.trace/trace-break.exp: Likewise.
15769 * gdb.trace/trace-condition.exp: Likewise.
15770 * gdb.trace/trace-mt.exp: Likewise.
15771
fca4cfd9
SM
157722016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15773
15774 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15775 result of gdb_remote_download.
15776 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15777 * gdb.base/dso2dso.exp: Likewise.
15778 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15779 * gdb.base/print-file-var.exp: Likewise.
15780 * gdb.base/shlib-call.exp: Likewise.
15781 * gdb.base/shreloc.exp: Likewise.
15782 * gdb.base/solib-overlap.exp: Likewise.
15783 * gdb.base/solib-weak.exp (do_test): Likewise.
15784 * gdb.base/unload.exp: Likewise.
15785
11cf4ffb
YQ
157862016-04-27 Yao Qi <yao.qi@linaro.org>
15787
15788 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15789 exists.
15790
3e2e34f8
KB
157912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15792
15793 * vla-type.exp: Print structure from toplevel.
15794
8f07e298
BH
157952016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15796
15797 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15798 of dynamic types.
15799 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15800 of dynamic types.
15801
9920b434
BH
158022016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15803
15804 * gdb.fortran/vla-type.f90: New file.
15805 * gdb.fortran/vla-type.exp: New file.
15806
f3abeff5
YQ
158072016-04-25 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.base/branch-to-self.c: New file.
15810 * gdb.base/branch-to-self.exp: New file.
15811
0a5d52f0
YQ
158122016-04-22 Yao Qi <yao.qi@linaro.org>
15813
15814 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15815 more after $hex.
15816
495346f6
YQ
158172016-04-22 Yao Qi <yao.qi@linaro.org>
15818
15819 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15820 * gdb.base/annota3.exp: Likewise.
15821
4a7e075c
YQ
158222016-04-22 Yao Qi <yao.qi@linaro.org>
15823
15824 * gdb.reverse/step-precsave.exp: Do one step and test program
15825 stops in "callee" and do multiple steps until program goes out
15826 of "callee".
15827 * gdb.reverse/step-reverse.exp: Likewise.
15828
5b061e98
YQ
158292016-04-22 Yao Qi <yao.qi@linaro.org>
15830
15831 * gdb.trace/signal.exp: Also pass if
15832 $tracepoint_hits($i) > $iterations.
15833
5c5dc57f
YQ
158342016-04-22 Yao Qi <yao.qi@linaro.org>
15835
15836 * gdb.trace/signal.c: New file.
15837 * gdb.trace/signal.exp: New file.
15838
a55411b9
DE
158392016-04-19 Doug Evans <xdje42@gmail.com>
15840
15841 * gdb.base/bad-file.exp: New file.
15842
a22df60a
MG
158432016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15844
15845 * gdb.dwarf2/implref.exp: New file.
15846
0c13f7e5
BH
158472016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15848
15849 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15850 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15851 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15852 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15853 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15854 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15855 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15856 * lib/fortran.exp (fortran_int4): New procedure.
15857 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15858 (fortran_logical4): Likewise.
15859
9b9b09e9
BH
158602016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15861
15862 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15863
a14d1f4d
BH
158642016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15865
15866 * lib/compiler.c: Add Intel specific preprocessor macros.
15867 * lib/compiler.cc: Likewise.
25d49b86 15868
7d49b1d0
LM
158692016-04-13 Luis Machado <lgustavo@codesourcery.com>
15870
15871 * gdb.server/connect-with-no-symbol-file.c: New file.
15872 * gdb.server/connect-with-no-symbol-file.exp: New file.
15873
8392fa22
SM
158742016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15875
15876 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15877
8c4c4aeb
SM
158782016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15879
15880 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15881 standard output directory.
15882
45e3745e
AT
158832016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15884
15885 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15886
e26b7e41
MM
158872016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15888
15889 * gdb.btrace/instruction_history.c (loop): Add declaration.
15890
8ce09462
AT
158912016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15892
15893 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15894
2e88a1ea
SM
158952016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15896
15897 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15898 parentheses to print.
15899 (continue_handler): Likewise.
15900
f48e22e3
SM
159012016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15902
15903 * gdb.server/solib-list.exp: Remove is_remote check.
15904 Pass shlib= to gdb_compile. Don't link shared library with
15905 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15906 Run binary filename through "readlink -f" on the target.
15907
096be756
PA
159082016-04-08 Pedro Alves <palves@redhat.com>
15909
15910 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15911 interpreter filename as argument to gdbserver_spawn.
15912 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15913 Return empty if $last_loaded_file does not exist.
15914
06500533
JK
159152016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15916
15917 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15918 * gdb.base/jit-main.c: Use exit after usage.
15919
2d35e871
JK
159202016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15921
15922 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15923 GDBHISTSIZE prior to the tests.
15924 * gdb.base/gdbinit-history.exp: Likewise.
15925
159262016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15927
15928 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15929 instead of build_executable. Use gdb_load_shlibs.
15930
c8064e7e
YQ
159312016-04-07 Yao Qi <yao.qi@linaro.org>
15932
15933 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15934 Execute "si" command.
15935
bde47561
YQ
159362016-04-07 Yao Qi <yao.qi@linaro.org>
15937
15938 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15939 number instead of the comments on some line.
15940
b16f8a3b
DB
159412016-04-06 Don Breazeal <donb@codesourcery.com>
15942
15943 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15944 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15945
c2f901df
SM
159462016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15947
15948 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15949 standard_output_file. Remove unused binfile variable.
15950
ac17fda0
CU
159512016-04-05 Catalin Udma <catalin.udma@freescale.com>
15952
15953 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15954 * gdb.python/py-mi-objfile.exp: Match "list main" output
15955 in console format.
15956
03a8c4df
SM
159572016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15958
15959 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15960 absolute.
15961
6e774b13
SM
159622016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15963
15964 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15965 absolute.
15966 * gdb.trace/ftrace.exp: Likewise.
15967 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15968 targets as well.
15969 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15970 (gdb_load_shlibs): Copy libraries to test directory when testing
15971 natively. Only set solib-search-path if testing remotely.
15972 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15973
7817ea46
SM
159742016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15975
15976 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15977 gdb_download. Use it even if the target is not remote.
15978 * gdb.base/jit.exp (compile_jit_test): Likewise.
15979 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15980 output directory if the destination board is local, otherwise use
15981 the standard remote_download from DejaGnu.
15982 (gdb_download): Remove.
15983 (gdb_load_shlibs): Use gdb_remote_download instead of
15984 gdb_download.
15985 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15986 Use gdb_remote_download instead of gdb_download. Use it even if
15987 the target is not remote.
15988 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15989 instead of gdb_download.
15990
7beb7f68
SM
159912016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15992
15993 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15994 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15995 run.
15996
cc63428a
AV
159972016-04-01 Artemiy Volkov <artemiyv@acm.org>
15998
15999 PR gdb/19820
16000 * gdb.base/printcmds.exp: Add artificial arrays tests.
16001
64cdf930
PA
160022016-03-31 Pedro Alves <palves@redhat.com>
16003
16004 PR gdb/19858
16005 * gdb.base/jit-main.c: Include unistd.h.
16006 (ATTACH): Define to 0 if not already defined.
16007 (wait_for_gdb, mypid): New globals.
16008 (WAIT_FOR_GDB): New macro.
16009 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16010 some breakpoint locations.
16011 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16012 New procedures.
16013 (one_jit_test): Add REATTACH parameter, and handle it. Use
16014 continue_to_test_location.
16015 (top level): Test attach, and adjusts calls to one_jit_test.
16016
40dea8cb
PA
160172016-03-31 Pedro Alves <palves@redhat.com>
16018
16019 PR gdb/19858
16020 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16021 BINSUFFIX parameter, and handle it.
16022 (top level): Adjust calls compile_jit_test.
16023
e7ea3ec7
CU
160242016-03-31 Catalin Udma <catalin.udma@freescale.com>
16025
16026 PR python/19743
16027 * gdb.python/py-mi-events-gdb.py: New file.
16028 * gdb.python/py-mi-events.c: New file.
16029 * gdb.python/py-mi-events.exp: New file.
16030
e6359af3
YQ
160312016-03-30 Yao Qi <yao.qi@linaro.org>
16032
16033 * gdb.reverse/until-precsave.exp: Match function name only.
16034 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16035 Move malloc to a condition block.
16036 * gdb.reverse/until-reverse.exp: Match function name only.
16037
a4105d04
MK
160382016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16039
16040 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16041 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16042 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16043 variable for GPR 0 instead of assuming it is register 0.
16044 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16045 * lib/trace-support.exp: Add s390 registers.
16046
bfa6adb9
YQ
160472016-03-29 Yao Qi <yao.qi@linaro.org>
16048
16049 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16050
1e6697ea
YQ
160512016-03-24 Yao Qi <yao.qi@linaro.org>
16052
16053 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16054 test message.
16055
64bcd522
AA
160562016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16057
16058 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16059 maintaining separate logic for constructing the output path.
16060
7868401b
DB
160612016-03-16 Don Breazeal <donb@codesourcery.com>
16062
16063 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16064 Retry fork and waitpid on interrupted system call errors.
16065 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16066 Use with_timeout_factor to increase timeout by factor of 10.
16067
1cafadb4
DB
160682016-03-15 Don Breazeal <donb@codesourcery.com>
16069
16070 * gdb.cp/scope-err.cc: New test program.
16071 * gdb.cp/scope-err.exp: New test script.
16072 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16073 lines and "set breakpoint here" comment.
16074 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16075 Fixed some whitespace and format issues.
16076 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16077 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16078
81516450
DE
160792016-03-15 Doug Evans <dje@google.com>
16080
16081 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16082 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16083 All callers updated. Add tests for enums, mixed flags register.
16084
aa52b601
DE
160852016-03-15 Doug Evans <dje@google.com>
16086
16087 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16088 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16089
fa4ff313
SM
160902016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16091
16092 * gdb.base/default.exp: Add $_as_string to the list of expected
16093 convenience functions.
16094
f2403c39
AB
160952016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16096
16097 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16098
f2f3ccb9
SM
160992016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16100
16101 * gdb.python/py-as-string.exp: New file.
16102 * gdb.python/py-as-string.c: New file.
16103
00dbd492
PA
161042016-03-09 Pedro Alves <palves@redhat.com>
16105
16106 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16107 signal" -> "Thread NN received signal" output change.
16108 * gdb.threads/ia64-sigill.exp: Likewise.
16109 * gdb.threads/linux-dp.exp: Likewise.
16110 * gdb.threads/manythreads.exp: Likewise.
16111 * gdb.threads/pending-step.exp: Likewise.
16112 * gdb.threads/print-threads.exp: Likewise.
16113 * gdb.threads/sigstep-threads.exp: Likewise.
16114 * gdb.threads/staticthreads.exp: Likewise.
16115 * gdb.threads/tls.exp: Likewise.
16116
1e6697ea
YQ
161172016-03-09 Pedro Alves <palves@redhat.com>
16118
16119 * gdb.base/command-line-input.exp: New file.
16120
b04fd3be
MK
161212016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16122
16123 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16124 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16125 * gdb.trace/pending.exp: Accept leading dot before function name.
16126 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16127 * lib/trace-support.exp: Set registers for ppc.
16128
98fa59e9
MK
161292016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16130
16131 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16132 use it for disassembly; accept .main in addition to main in backtrace.
16133
f77198c8
MK
161342016-03-09 Wei-cheng Wang <cole945@gmail.com>
16135 Marcin Kościelnicki <koriakin@0x04.net>
16136
16137 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16138 (gdb_recursion_test_ptr): New global variable.
16139 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16140 gdb_recursion_test.
16141 (gdb_c_test): Ditto.
16142
ba84e0da
MK
161432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16144
16145 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16146 ordering.
16147
4366d36e
MK
161482016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16149
16150 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16151 (bar): Add bar_start_lbl label.
16152 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16153 of foo/bar for emitting DWARF and tracing.
16154
5eb264df
SDJ
161552016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16156
16157 * analyze-racy-logs.py: Set executable bit.
16158
fb6a751f
SDJ
161592016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16160
16161 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16162 (CHECK_TARGET_TMP): Likewise.
16163 (check-single-racy): New rule.
16164 (check-parallel-racy): Likewise.
16165 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16166 (do-check-parallel-racy): New rule.
16167 (check-racy/%.exp): Likewise.
16168 * README (Racy testcases): New section.
16169 * analyze-racy-logs.py: New file.
16170
bdf7e230
DE
161712016-03-03 Doug Evans <dje@google.com>
16172
16173 * gdb.base/skip.exp: Use with_test_prefix.
16174
4719d415
YQ
161752016-03-03 Yao Qi <yao.qi@linaro.org>
16176
16177 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16178 Invoke step_over_syscall "clone" and break_cond_on_syscall
16179 "clone".
16180 * gdb.base/step-over-clone.c: New file.
16181
ea507862
YQ
161822016-03-03 Yao Qi <yao.qi@linaro.org>
16183
16184 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16185 code format.
16186
8fc8cbda
YQ
161872016-03-03 Yao Qi <yao.qi@linaro.org>
16188
16189 * gdb.base/disp-step-fork.c: Rename to ...
16190 * gdb.base/step-over-fork.c: ... it. New file.
16191 * gdb.base/disp-step-vfork.c: Rename to ...
16192 * gdb.base/step-over-vfork.c: ... it. New file.
16193 * gdb.base/disp-step-syscall.exp: Rename to ...
16194 * gdb.base/step-over-syscall.exp: ... it. New file.
16195 (disp_step_cross_syscall): Rename to ...
16196 (step_over_syscall): ... it.
16197
92fa70b0
YQ
161982016-03-03 Yao Qi <yao.qi@linaro.org>
16199
16200 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16201 If target supports condition evaluation on target, invoke
16202 break_cond_on_syscall for fork and vfork.
16203
e197ad3c
YQ
162042016-03-03 Yao Qi <yao.qi@linaro.org>
16205
16206 * gdb.base/disp-step-syscall.exp: Don't invoke
16207 support_displaced_stepping.
16208 (disp_step_cross_syscall): Test with displaced stepping off and
16209 on if supported.
16210
0b47da9f
YQ
162112016-03-03 Yao Qi <yao.qi@linaro.org>
16212
16213 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16214 proc.
16215 (setup): New proc.
16216 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16217 and setup.
16218
065ab6dc
BH
162192016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16220
16221 * gdb.fortran/vla-history.exp: Remove breakpoint.
16222
07e448ad 162232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16224
25d49b86
PA
16225 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16226 exceeds timeout.
07e448ad 16227
9ac2d526 162282016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16229
25d49b86
PA
16230 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16231 breakpoint.
9ac2d526 16232
17807369
BH
162332016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16234
16235 * gdb.mi/vla.f90: Nullify pointer after declaration.
16236
86e501af
PA
162372016-03-01 Pedro Alves <palves@redhat.com>
16238
16239 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16240
1e903e32
PA
162412016-03-01 Pedro Alves <palves@redhat.com>
16242
16243 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16244 before anything else.
16245 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16246 _GNU_SOURCE here.
16247 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16248 before anything else.
16249 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16250
6ccb54e2
PA
162512016-03-01 Pedro Alves <palves@redhat.com>
16252
16253 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16254
30ca9da1
YQ
162552016-03-01 Yao Qi <yao.qi@linaro.org>
16256
16257 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16258 prepare_for_testing.
16259
dc856b38
YQ
162602016-03-01 Yao Qi <yao.qi@linaro.org>
16261
16262 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16263
4a932159
AA
162642016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16265
16266 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16267 manually constructing the output path.
16268
f2489477
AA
162692016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16270
16271 * gdb.arch/s390-stackless.S: New.
16272 * gdb.arch/s390-stackless.exp: New.
16273
38899f16
IB
162742016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16275
16276 * gdb.dlang/circular.c: New file.
16277 * gdb.dlang/circular.exp: New file.
16278
9fde51ed
YQ
162792016-02-26 Yao Qi <yao.qi@linaro.org>
16280
16281 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16282 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16283 (testcases): Update.
16284
ce90fefe
YQ
162852016-02-26 Yao Qi <yao.qi@linaro.org>
16286
16287 * gdb.reverse/aarch64.c: Rename to ...
16288 * gdb.reverse/insn-reverse.c: ... it.
16289 * gdb.reverse/aarch64.exp: Rename to ...
16290 * gdb.reverse/insn-reverse.exp: ... it.
16291
3263bceb
YQ
162922016-02-26 Yao Qi <yao.qi@linaro.org>
16293
16294 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16295 (testcase_ftype): New.
16296 (testcases): New array.
16297 (n_testcases): New.
16298 (main): Call each element in testcases.
16299 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16300 (read_testcase): New.
16301 Do the tests in a loop.
16302
6cb59ff1
YQ
163032016-02-25 Yao Qi <yao.qi@linaro.org>
16304
16305 * gdb.base/branches.c: Remove.
16306
ae91f625
MK
163072016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16308
16309 PR gdb/13808
16310 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16311
678b48b7
MK
163122016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16313
16314 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16315
7337a6f2
MK
163162016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16317
16318 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16319 change x86_64 call_insn to 'callq'.
16320
861ca91f
AT
163212016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16322
16323 * gdb.trace/tfile-avx.c: Move to...
16324 * gdb.trace/tracefile-pseudo-reg.c: Here.
16325 * gdb.trace/tfile-avx.exp: Move to...
16326 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16327
bf74e428
GB
163282016-02-24 Gary Benson <gbenson@redhat.com>
16329
16330 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16331 message on attach.
16332
cce0e923
DE
163332016-02-23 Doug Evans <dje@google.com>
16334
16335 * gdb.base/skip.c (test_skip): New function.
16336 (end_test_skip_file_and_function): New function.
16337 (test_skip_file_and_function): New function.
16338 * gdb.base/skip1.c (test_skip): New function.
16339 (skip1_test_skip_file_and_function): New function.
16340 * gdb.base/skip.exp: Add tests for new skip options.
16341 * gdb.base/skip-solib.exp: Update expected output.
16342 * gdb.perf/skip-command.cc: New file.
16343 * gdb.perf/skip-command.exp: New file.
16344 * gdb.perf/skip-command.py: New file.
16345
4000e47e
MK
163462016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16347
16348 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16349 info registers pattern.
16350
24f75ead
IB
163512016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16352
16353 * lib/future.exp: Add D support.
16354 (gdb_find_gdc): New proc.
16355 (gdb_default_target_compile): Add D support.
16356
fbb7bcbe
WW
163572016-02-18 Wei-cheng Wang <cole945@gmail.com>
16358
16359 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16360 user+system time.
16361 (trace_speed_test): Determine the iteration count for a time
16362 between 15..30 seconds.
16363
012b3a21
WT
163642016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16365
16366 * gdb.arch/i386-mpx-sigsegv.c: New file.
16367 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16368 * gdb.arch/i386-mpx-simple_segv.c: New file.
16369 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16370
2d5189bd
YQ
163712016-02-18 Yao Qi <yao.qi@linaro.org>
16372
16373 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16374 Don't call setup_kfail.
16375
40fb20d0
YQ
163762016-02-18 Yao Qi <yao.qi@linaro.org>
16377
16378 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16379 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16380
21b1f8d2
DE
163812016-02-16 Doug Evans <dje@google.com>
16382
16383 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16384 * gdb.base/skip1.c: Ditto.
16385 * gdb.base/skip.exp: Whitespace cleanup.
16386
4041ed77
DB
163872016-02-16 Don Breazeal <donb@codesourcery.com>
16388
16389 PR remote/19496
16390 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16391 Remove kfail for PR remote/19496.
16392
c4ef31bf
SM
163932016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16394
16395 * lib/gdb.exp (standard_temp_file): Return a path specific to
16396 the runtest invocation.
16397
266b65b3
SM
163982016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16399
16400 * gdb.trace/save-trace.exp: Change relative path to be in the
16401 standard output directory.
16402
a7a0a6a9
JK
164032016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16404
16405 * gdb.arch/i386-prologue.c: Add missing prototypes.
16406
c99dbb42
JK
164072016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16408
16409 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16410 * gdb.arch/i386-prologue.exp: Likewise.
16411 * gdb.arch/i386-size.exp: Likewise.
16412
aa480355
SM
164132016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16414
16415 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16416 define object file path.
16417 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16418 file path.
16419 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16420 standard_output_file to define binfile.
16421
ba881f50
JK
164222016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16423
16424 Fix compatibility with recent gfortran-5.3.1.
16425 * gdb.fortran/vla-history.exp (print vla1 allocated)
16426 (print vla2 allocated, print $2, print $3): Remove
16427 (print $4): Rename to ...
16428 (print $2): ... here.
16429 (print $9): Rename to ...
16430 (print $5): ... here.
16431 (print $10): Rename to ...
16432 (print $6): ... here.
16433 * gdb.fortran/vla.f90: Add pvla initialization.
16434
e9fb005c
JK
164352016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16436
16437 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16438 New test.
16439 * gdb.fortran/vla-value-sub.exp: Likewise.
16440
e44e00ff
MK
164412016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16442
16443 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16444
97e94151
SM
164452016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16446
16447 * i386-biarch-core.exp: Define corefile using
16448 standard_output_file.
16449
01113bc1
YQ
164502016-02-12 Yao Qi <yao.qi@linaro.org>
16451
16452 * gdb.arch/arm-single-step-kernel-helper.c: New.
16453 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16454
33b4777c
MM
164552016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16456
16457 * gdb.btrace/tailcall-only.exp: New.
16458 * gdb.btrace/tailcall-only.c: New.
16459 * gdb.btrace/x86_64-tailcall-only.S: New.
16460 * gdb.btrace/i686-tailcall-only.S: New.
16461
acc23c11
PA
164622016-02-11 Pedro Alves <palves@redhat.com>
16463
16464 * README (Parallel testing): Add missing double quotes.
16465
e352bf0a
PA
164662016-02-11 Pedro Alves <palves@redhat.com>
16467
16468 * README (Parallel testing): New section.
16469 (GDB_PARALLEL): Rewrite.
16470 (FORCE_PARALLEL): Document.
16471
9f5fed78
MK
164722016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16473
16474 * gdb.trace/tfile-avx.c: New test.
16475 * gdb.trace/tfile-avx.exp: New test.
16476
9ef9e6a6
KS
164772016-02-09 Keith Seitz <keiths@redhat.com>
16478
16479 PR breakpoints/19546
16480 * gdb.base/infcall-exec.c: New file.
16481 * gdb.base/infcall-exec2.c: New file.
16482 * gdb.base/infcall-exec.exp: New file.
16483
a96e36da
KS
164842016-02-09 Keith Seitz <keiths@redhat.com>
16485
16486 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16487 (toplevel): Call test_bkpt_address.
16488
9f61929f
KS
164892016-02-09 Keith Seitz <keiths@redhat.com>
16490
16491 PR python/19506
16492 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16493 (toplevel): Call test_bkpt_address.
16494
1e94266c
SM
164952016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16496
16497 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16498 to AC_OUTPUT.
16499 * configure: Regenerate.
16500
2a7f3dff
PA
165012016-02-09 Pedro Alves <palves@redhat.com>
16502
16503 PR breakpoints/19548
16504 * gdb.base/execl-update-breakpoints.c (some_function): New
16505 function.
16506 (main): Call it.
16507 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16508 Tighten expected GDB output.
16509
2151ccc5
SM
165102016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16511
16512 * Makefile.in (ALL_SUBDIRS): Remove.
16513 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16514 (distclean maintainer-clean realclean): Likewise.
16515 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16516 * configure: Regenerate.
16517 * gdb.ada/Makefile.in: Delete.
16518 * gdb.arch/Makefile.in: Likewise.
16519 * gdb.asm/Makefile.in: Likewise.
16520 * gdb.base/Makefile.in: Likewise.
16521 * gdb.btrace/Makefile.in: Likewise.
16522 * gdb.cell/Makefile.in: Likewise.
16523 * gdb.compile/Makefile.in: Likewise.
16524 * gdb.cp/Makefile.in: Likewise.
16525 * gdb.disasm/Makefile.in: Likewise.
16526 * gdb.dlang/Makefile.in: Likewise.
16527 * gdb.dwarf2/Makefile.in: Likewise.
16528 * gdb.fortran/Makefile.in: Likewise.
16529 * gdb.gdb/Makefile.in: Likewise.
16530 * gdb.go/Makefile.in: Likewise.
16531 * gdb.guile/Makefile.in: Likewise.
16532 * gdb.java/Makefile.in: Likewise.
16533 * gdb.linespec/Makefile.in: Likewise.
16534 * gdb.mi/Makefile.in: Likewise.
16535 * gdb.modula2/Makefile.in: Likewise.
16536 * gdb.multi/Makefile.in: Likewise.
16537 * gdb.objc/Makefile.in: Likewise.
16538 * gdb.opencl/Makefile.in: Likewise.
16539 * gdb.opt/Makefile.in: Likewise.
16540 * gdb.pascal/Makefile.in: Likewise.
16541 * gdb.perf/Makefile.in: Likewise.
16542 * gdb.python/Makefile.in: Likewise.
16543 * gdb.reverse/Makefile.in: Likewise.
16544 * gdb.server/Makefile.in: Likewise.
16545 * gdb.stabs/Makefile.in: Likewise.
16546 * gdb.threads/Makefile.in: Likewise.
16547 * gdb.trace/Makefile.in: Likewise.
16548 * gdb.xml/Makefile.in: Likewise.
16549 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16550 GDB_PARALLEL.
16551 (standard_output_file): Remove check for GDB_PARALLEL, always
16552 return path in outputs/$subdir/$testname.
16553
437277d4
SM
165542016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16555
16556 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16557 (site.exp): Assign abs_srcdir to tcl's srcdir.
16558
31d913c7
YQ
165592016-02-04 Yao Qi <yao.qi@linaro.org>
16560
16561 * gdb.base/foll-exec-mode.c: Include limits.h.
16562 (main): Add parameters argc and argv. Get directory from
16563 argv[0].
16564 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16565 compilation.
16566 * gdb.base/foll-exec.c: Include limits.h.
16567 (main): Add parameters argc and argv.
16568 Get directory from argv[0].
16569 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16570 Adjust tests on the number of lines as source code changed.
16571 * gdb.base/foll-vfork-exit.c: Include limits.h.
16572 (main): Add one line of statement before vfork.
16573 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16574 (main): Add parameters argc and argv. Get directory from
16575 argv[0].
16576 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16577 (setup_gdb): Set tbreak to skip some source lines.
16578 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16579 (main): Add parameters argc and argv. Get directory from
16580 argv[0].
16581 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16582 compilation.
16583 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16584 (main): Add parameters argc and argv. Get directory from
16585 argv[0].
16586 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16587 compilation.
16588
9482b9fb
DE
165892016-02-01 Doug Evans <dje@google.com>
16590
16591 * gdb.base/skip.exp: Clean up multiple references to same test name.
16592
6b2e4f10
PA
165932016-02-01 Pedro Alves <palves@redhat.com>
16594
ccb6afd6 16595 PR remote/19496
6b2e4f10
PA
16596 * gdb.threads/forking-threads-plus-breakpoint.exp
16597 (displaced_stepping_supported): New global.
16598 (probe_displaced_stepping_support): New procedure.
16599 (do_test): Add 'displaced' parameter, and use it.
16600 (top level): Check for displaced stepping support. Add displaced
16601 stepping on/off testing axis.
16602
37a8db1a
AB
166032016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16604
16605 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16606 pointer. Don't perform further tests on the unassociated pointer
16607 if the first test fails.
16608
5fdf6324
AB
166092016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16610
16611 * gdb.base/max-value-size.c: New file.
16612 * gdb.base/max-value-size.exp: New file.
16613 * gdb.base/huge.exp: Disable max-value-size for this test.
16614
935c6144
IB
166152016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16616
16617 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16618
7fe8399d
YQ
166192016-01-28 Yao Qi <yao.qi@linaro.org>
16620
16621 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16622
a2077e25
PA
166232016-01-25 Pedro Alves <palves@redhat.com>
16624
16625 PR threads/19461
16626 * gdb.base/fork-running-state.c: New file.
16627 * gdb.base/fork-running-state.exp: New file.
16628
1d2736d4
PA
166292016-01-25 Pedro Alves <palves@redhat.com>
16630
16631 PR gdb/19494
16632 * gdb.base/catch-fork-kill.c: New file.
16633 * gdb.base/catch-fork-kill.exp: New file.
16634
f1da4b11
PA
166352016-01-25 Pedro Alves <palves@redhat.com>
16636
16637 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16638 Delete, moved to lib/gdb.exp.
16639 * gdb.threads/forking-threads-plus-breakpoint.exp
16640 (foreach_with_prefix): Likewise.
16641 * gdb.threads/process-dies-while-handling-bp.exp
16642 (foreach_with_prefix): Likewise.
16643 * lib/gdb.exp (foreach_with_prefix): New procedure.
16644
45f38546
MK
166452016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16646
16647 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16648 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16649
dc29a1ce
MK
166502016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16651
16652 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16653 endian targets.
16654
092127d7
JK
166552016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16656 Pedro Alves <palves@redhat.com>
16657
16658 Fix testsuite compatibility with Guile.
16659 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16660 number.
16661
31d765d3
JK
166622016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16663
16664 Fix testsuite compatibility with Guile.
16665 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16666 (thread 1): New test for backtrace through signal handler.
16667
1ac78c04
YQ
166682016-01-22 Yao Qi <yao.qi@linaro.org>
16669
16670 PR testsuite/19491
16671 * gdb.base/multi-forks.c: Include
16672 ../lib/unbuffer_output.c
16673 (main): Call gdb_unbuffer_output.
16674
4f5946a8
DE
166752016-01-21 Doug Evans <dje@google.com>
16676
16677 * lib/ada.exp (gdb_compile_ada): Fix typo.
16678
305e13e6
JB
166792016-01-21 Joel Brobecker <brobecker@adacore.com>
16680
16681 * gdb.base/break-fun-addr.exp: New file.
16682 * gdb.base/break-fun-addr1.c: New file.
16683 * gdb.base/break-fun-addr2.c: New file.
16684
5f5dfff6
SM
166852016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16686
16687 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16688 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16689 enum flag values.
16690
fd356fa2
AA
166912016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16692
16693 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16694 when GDB can not set the vector return value. Add more comments
16695 for clarification.
16696
9df22175
AT
166972016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16698
16699 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16700 command.
16701
41d1845e
SM
167022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16703
16704 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16705
01ac6840
SM
167062016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16707
16708 * Makefile.in (check-single): Pass --status to runtest.
16709 (check/%.exp): Likewise.
16710
167112016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16712
16713 * Makefile.in (check-parallel): Propagate return code from make
16714 do-check-parallel.
16715
bd0a71fa
MK
167162016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16717
16718 * gdb.trace/ftrace.exp: Fix expected message on continue.
16719 * gdb.trace/pending.exp: Fix expected message on continue.
16720 * gdb.trace/trace-break.exp: Fix expected message on continue.
16721
8bcbad33
SM
167222016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16723
16724 * lib/gdb.exp (gdb_test): Remove unused global references.
16725
f303dbd6
PA
167262016-01-18 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.base/async-shell.exp: Adjust expected output.
16729 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16730 * gdb.base/siginfo-thread.exp: Adjust expected output.
16731 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16732 * gdb.java/jnpe.exp: Adjust expected output.
16733 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16734 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16735 * gdb.threads/leader-exit.exp: Adjust expected output.
16736 * gdb.threads/manythreads.exp: Adjust expected output.
16737 * gdb.threads/pthreads.exp: Adjust expected output.
16738 * gdb.threads/schedlock.exp: Adjust expected output.
16739 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16740 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16741 expected output.
16742 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16743 output.
16744 * gdb.threads/sigthread.exp: Adjust expected output.
16745 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16746
b2789696
YQ
167472016-01-18 Yao Qi <yao.qi@linaro.org>
16748
16749 * gdb.guile/scm-section-script.c: Replace @progbits with
16750 %progbits.
16751 * gdb.python/py-section-script.c: Likewise.
16752
71ef29a8
PA
167532016-01-15 Pedro Alves <palves@redhat.com>
16754
16755 * gdb.multi/tids.exp: Test star wildcard ranges.
16756
3f5b7598
PA
167572016-01-15 Pedro Alves <palves@redhat.com>
16758
16759 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16760 command from "thread apply" invocation.
16761 (thr_apply_info_thr_invalid): Default the expected output to the
16762 input tid list.
16763 (top level): Add tests that use convenience variables. Add tests
16764 for "thread apply" with a valid TID list, but missing the command.
16765
663f6d42
PA
167662016-01-13 Pedro Alves <palves@redhat.com>
16767
16768 * gdb.base/default.exp: Expect $_gthread as well.
16769 * gdb.multi/tids.exp: Test $_gthread.
16770 * gdb.threads/thread-specific.exp: Test $_gthread.
16771
c84f6bbf
PA
167722016-01-13 Pedro Alves <palves@redhat.com>
16773
16774 * gdb.multi/tids.exp: Test "info threads -gid".
16775
22a02324
PA
167762016-01-13 Pedro Alves <palves@redhat.com>
16777
16778 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16779 Breakpoint.thread.
16780 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16781
5d5658a1
PA
167822016-01-07 Pedro Alves <palves@redhat.com>
16783
16784 * gdb.base/break.exp: Adjust to output changes.
16785 * gdb.base/hbreak2.exp: Likewise.
16786 * gdb.base/sepdebug.exp: Likewise.
16787 * gdb.base/watch_thread_num.exp: Likewise.
16788 * gdb.linespec/keywords.exp: Likewise.
16789 * gdb.multi/info-threads.exp: Likewise.
16790 * gdb.threads/thread-find.exp: Likewise.
16791 * gdb.multi/tids.c: New file.
16792 * gdb.multi/tids.exp: New file.
16793
84654457
PA
167942016-01-13 Pedro Alves <palves@redhat.com>
16795
16796 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16797
e3940304
PA
167982016-01-13 Pedro Alves <palves@redhat.com>
16799
16800 * gdb.base/default.exp: Expect $_inferior as well.
16801 * gdb.multi/base.exp: Test $_inferior.
16802
a911d87a
PA
168032016-01-13 Pedro Alves <palves@redhat.com>
16804
16805 PR breakpoints/19388
16806 * gdb.base/catch-signal-siginfo-cond.c: New file.
16807 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16808
82075af2
JS
168092016-01-12 Josh Stone <jistone@redhat.com>
16810 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16811
16812 * gdb.base/catch-syscall.c (do_execve): New variable.
16813 (main): Conditionally trigger an execve.
16814 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16815 (test_catch_syscall_execve): New, check entry/return across execve.
16816 (do_syscall_tests): Call test_catch_syscall_execve.
16817
e46eeedd
PA
168182016-01-12 Pedro Alves <palves@redhat.com>
16819
16820 * gdb.base/random-signal.exp (do_test): New procedure, with body
16821 of testcase moved in.
16822
01d8c27e
JK
168232016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16824 Pedro Alves <palves@redhat.com>
16825
16826 * gdb.base/funcargs.exp (finish from indirectly called function):
16827 Reintroduce the case for 'First'.
16828
9a706302
JK
168292016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16830 Pedro Alves <palves@redhat.com>
16831
16832 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16833 (tcatch_vfork_then_child_follow_exec)
16834 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16835 identification.
16836
c0ecb95f
JK
168372016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16838
16839 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16840 and repeats to unlimited.
16841 * gdb.python/py-value.exp: Likewise.
16842 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16843 and repeats to unlimited.
16844
6cfc1fcb
JK
168452016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16846
16847 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16848 and reordering the functions.
16849 * gdb.multi/hangout.c: Likewise.
16850 * gdb.multi/hello.c: Likewise.
16851
582a1b00
SM
168522016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16853
16854 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16855 absolute.
16856 (SingleStatisticTestResult.report): Use dict.keys instead of
16857 dict.iterkeys.
16858
79bc59cb
PA
168592016-01-06 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16862
43368e1d
MM
168632016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16864
16865 * gdb.btrace/dlopen.exp: New.
16866 * gdb.btrace/dlopen.c: New.
16867 * gdb.btrace/dlopen-dso.c: New.
16868
79fad5b8
SL
168692015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16870
16871 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16872 PATTERN argument is optional.
16873
ab8314b3
JB
168742015-12-24 Joel Brobecker <brobecker@adacore.com>
16875
16876 * lib/ada.exp (target_compile_ada_from_dir): New function.
16877 (gdb_compile_ada): Reimplement avoiding the use of project files.
16878 * gdb.ada/gnat_ada.gpr: Delete.
16879 * gdb.ada/cond_lang.exp: Adjust test to make path before
16880 filename optional.
16881 * gdb.ada/small_reg_param.exp: Likewise.
16882
fe33faff
SM
168832015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16884
16885 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16886
6d265cb4
TP
168872015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16888
16889 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16890 case.
16891
10125099
SM
168922015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16893
16894 * gdb.base/break.exp: Remove dead code.
16895 * gdb.base/sepdebug.exp: Likewise.
16896
3ca22649
SM
168972015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16898
16899 * gdb.asm/asm-source.exp: Remove HP-UX references.
16900 * gdb.base/annota1.exp: Likewise.
16901 * gdb.base/annota3.exp: Likewise.
16902 * gdb.base/attach.exp: Likewise.
16903 * gdb.base/bigcore.exp: Likewise.
16904 * gdb.base/break.exp: Likewise.
16905 * gdb.base/call-ar-st.exp: Likewise.
16906 * gdb.base/callfuncs.exp: Likewise.
16907 * gdb.base/catch-fork-static.exp: Likewise.
16908 * gdb.base/display.exp: Likewise.
16909 * gdb.base/foll-exec-mode.exp: Likewise.
16910 * gdb.base/foll-exec.exp: Likewise.
16911 * gdb.base/foll-fork.exp: Likewise.
16912 * gdb.base/foll-vfork.exp: Likewise.
16913 * gdb.base/funcargs.exp: Likewise.
16914 * gdb.base/hbreak2.exp: Likewise.
16915 * gdb.base/inferior-died.exp: Likewise.
16916 * gdb.base/interrupt.exp: Likewise.
16917 * gdb.base/multi-forks.exp: Likewise.
16918 * gdb.base/nodebug.exp: Likewise.
16919 * gdb.base/sepdebug.exp: Likewise.
16920 * gdb.base/solib1.c: Likewise.
16921 * gdb.base/step-test.exp: Likewise.
16922 * gdb.mi/non-stop.c: Likewise.
16923 * gdb.mi/pthreads.c: Likewise.
16924 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16925 * gdb.threads/pthreads.c: Likewise.
16926 * gdb.threads/staticthreads.exp: Likewise.
16927 * lib/future.exp: Likewise.
16928 * lib/gdb.exp: Likewise.
16929 * gdb.base/so-indr-cl.c: Remove.
16930 * gdb.base/so-indr-cl.exp: Likewise.
16931 * gdb.base/solib.c: Likewise.
16932 * gdb.base/solib.exp: Likewise.
16933 * gdb.base/solib2.c: Likewise.
16934
b6304613
SM
169352015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16936
16937 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16938 * gdb.base/call-ar-st.exp: Likewise.
16939 * gdb.base/callfuncs.exp: Likewise.
16940 * gdb.base/condbreak.exp: Likewise.
16941 * gdb.base/constvars.exp: Likewise.
16942 * gdb.base/hbreak2.exp: Likewise.
16943 * gdb.base/langs.exp: Likewise.
16944 * gdb.base/list.exp: Likewise.
16945 * gdb.base/long_long.exp: Likewise.
16946 * gdb.base/ptype.exp: Likewise.
16947 * gdb.base/scope.exp: Likewise.
16948 * gdb.base/signals.exp: Likewise.
16949 * gdb.base/so-impl-ld.exp: Likewise.
16950 * gdb.base/varargs.exp: Likewise.
16951 * gdb.base/volatile.exp: Likewise.
16952 * gdb.base/whatis.exp: Likewise.
16953 * gdb.cp/cplusfuncs.exp: Likewise.
16954 * gdb.cp/inherit.exp: Likewise.
16955 * gdb.cp/local.exp: Likewise.
16956 * gdb.cp/member-ptr.exp: Likewise.
16957 * gdb.cp/method.exp: Likewise.
16958 * gdb.cp/overload.exp: Likewise.
16959 * gdb.cp/templates.exp: Likewise.
16960 * gdb.stabs/weird.exp: Likewise.
16961 * lib/compiler.c: Likewise.
16962 * lib/compiler.cc: Likewise.
16963 * lib/cp-support.exp: Likewise.
16964 * lib/gdb.exp: Likewise.
16965
bf401b07
SM
169662015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16967
16968 * configure.ac: Remove HP-UX case.
16969 * configure: Regenerate.
16970
aff9c0f8
SM
169712015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16972
16973 * lib/gdb.exp (gdb_compile): Add function doc.
16974
a6904d5a
PA
169752015-12-17 Pedro Alves <palves@redhat.com>
16976
16977 PR threads/19354
16978 * gdb.multi/info-threads.exp: New file.
16979
a22279dd
YQ
169802015-12-15 Yao Qi <yao.qi@linaro.org>
16981
16982 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16983 is aarch64*-*-*.
16984
0588c796
SL
169852015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16986
16987 * gdb.base/history-duplicates.exp: Skip if no readline support.
16988
5d978e17
SL
169892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16990
16991 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16992
7e763b86
SL
169932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16994
16995 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16996
87a3a92c
SL
169972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16998
16999 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17000 ctrl-C if nointerrupts target property is set.
17001 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17002 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17003 * gdb.base/paginate-bg-execution.exp: Likewise.
17004 * gdb.base/paginate-execution-startup.exp: Likewise.
17005 * gdb.base/random-signal.exp: Likewise.
17006 * gdb.base/range-stepping.exp: Likewise.
17007 * gdb.cp/annota2.exp: Likewise.
17008 * gdb.cp/annota3.exp: Likewise.
17009 * gdb.gdb/selftest.exp: Likewise.
17010 * gdb.threads/continue-pending-status.exp: Likewise.
17011 * gdb.threads/leader-exit.exp: Likewise.
17012 * gdb.threads/manythreads.exp: Likewise.
17013 * gdb.threads/pthreads.exp: Likewise.
17014 * gdb.threads/schedlock.exp: Likewise.
17015 * gdb.threads/sigthread.exp: Likewise.
17016
a8f077dc
DB
170172015-12-11 Don Breazeal <donb@codesourcery.com>
17018
17019 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17020 remote.
17021 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17022 * gdb.base/foll-exec.exp (main): Enable for target remote.
17023 * gdb.base/foll-fork.exp (main): Likewise.
17024 * gdb.base/foll-vfork.exp (main): Likewise.
17025 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17026 (proc continue_to_exit_bp_loc): Use clean_restart.
17027 * gdb.base/pie-execl.exp (main): Disable for target remote.
17028 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17029 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17030 * gdb.threads/execl.exp (main): Likewise.
17031 * gdb.threads/fork-child-threads.exp (main): Likewise.
17032 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17033 remote.
17034 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17035 remote.
17036 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17037 pid.tid style ptids, instead of just tid.
17038 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17039 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17040 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17041 ptids, instead of just tid.
17042
3b2464a8
AB
170432015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17044
17045 * gdb.base/list.exp (test_list_forward): Add end of file error
17046 test.
17047 (test_repeat_list_command): Add end of file error test.
17048 (test_list_backwards): Add beginning of file error test.
17049
a0def019
AB
170502015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17051
17052 * gdb.base/list.exp (test_list_invalid_args): New function,
17053 defined, and called.
17054
5c000dff
AB
170552015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17056
17057 * gdb.base/list.exp (test_list): Make test names unique.
17058
f1637ebe
YQ
170592015-12-11 Yao Qi <yao.qi@linaro.org>
17060
17061 * gdb.base/coremaker2.c: Remove.
17062
36d6fc0a
PA
170632015-12-10 Pedro Alves <palves@redhat.com>
17064
17065 * gdb.multi/base.exp: Remove stale "spaces" references.
17066
762f7747
PA
170672015-12-10 Pedro Alves <palves@redhat.com>
17068
17069 * gdb.multi/base.exp: Don't use nowarnings.
17070 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17071 * gdb.multi/hangout.c: Include stdio.h.
17072 * gdb.multi/hello.c: Include stdlib.h.
17073 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17074 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17075 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17076
28d2bfb9
AB
170772015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17078
17079 * gdb.dwarf2/dw2-ranges-base.c: New file.
17080 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17081 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17082 support additional line table, and debug ranges generation.
17083 (Dwarf::ranges): New function, generate .debug_ranges.
17084 (Dwarf::lines): Support generating simple line table programs.
17085 (Dwarf::assemble): Initialise new namespace variables.
17086
5fc2beac
KB
170872015-12-09 Kevin Buettner <kevinb@redhat.com>
17088
17089 * gdb.base/async.exp (proc test_background): Add case for
17090 asynchronous execution not supported.
17091
1c35a88f
LM
170922015-12-09 Luis Machado <lgustavo@codesourcery.com>
17093
17094 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17095 format and change test names to make them unique.
17096
b593e3d9
RK
170972015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17098 Pedro Alves <pedro@redhat.com>
17099
17100 PR gdb/18702
17101 Add checking of floatformats setup on x86_64 hosts.
17102 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17103 (smallval, bigval): New labels/constants.
17104 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17105 float" after loading bigval and smallval.
17106
d72413e6
PMR
171072015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17108
17109 * gdb.ada/fun_overload_menu.exp: New testcase.
17110 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17111
ece66d65
JS
171122015-12-04 Josh Stone <jistone@redhat.com>
17113
17114 * gdb.base/catch-fork-static.exp: New.
17115
41d0efca
YQ
171162015-12-03 Yao Qi <yao.qi@linaro.org>
17117
17118 * gdb.base/sizeof.c: Don't include stdio.h and
17119 ../lib/unbuffer_output.c.
17120 (main): New variable 'size' and 'value'. Remove printf and
17121 gdb_unbuffer_output. Assign return value to size and value.
17122 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17123 at the beginning.
17124 (check_sizeof): Check the result by printing variable 'size'.
17125 (check_valueof): Check the result by printing variable 'value'.
17126
99fd02d9
YQ
171272015-12-01 Yao Qi <yao.qi@linaro.org>
17128
17129 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17130 for aarch64*-*-linux* target.
17131
f2faf941
PA
171322015-11-30 Pedro Alves <palves@redhat.com>
17133
17134 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17135
04bf20c5
PA
171362015-11-30 Pedro Alves <palves@redhat.com>
17137
17138 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17139 Handle non-stop mode vCont replies.
17140
09df4675
PA
171412015-11-30 Pedro Alves <palves@redhat.com>
17142
17143 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17144 prepare_for_testing. Start gdb with "set non-stop on" appended to
17145 GDBFLAGS. Lax expected stop output.
17146
58b584af
YQ
171472015-11-27 Yao Qi <yao.qi@linaro.org>
17148
17149 * gdb.arch/arm-neon.exp: New.
17150 * gdb.arch/arm-neon.c: New.
17151
dfcb77a8
YQ
171522015-11-27 Yao Qi <yao.qi@linaro.org>
17153
17154 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17155
88e8ec1b
YQ
171562015-11-27 Yao Qi <yao.qi@linaro.org>
17157
17158 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17159 frames-invalid annotation.
17160
bfde72c2
YQ
171612015-11-27 Yao Qi <yao.qi@linaro.org>
17162
17163 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17164
f6512a69
SM
171652015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17166
17167 * gdb.threads/names.exp: New file.
17168 * gdb.threads/names.c: New file.
17169 * README: Mention gdb,no_thread_names.
17170
46a3515b
MM
171712015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17172
17173 PR 19297
17174 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17175 support" error.
17176
62147a22
PA
171772015-11-24 Pedro Alves <palves@redhat.com>
17178
17179 PR 17539
17180 * gdb.base/display.exp: Expect displays to be sorted in ascending
17181 order. Use multi_line.
17182 * gdb.base/solib-display.exp: Likewise.
17183
2f341b6e
PA
171842015-11-24 Pedro Alves <palves@redhat.com>
17185
17186 PR 17539
25d49b86
PA
17187 * gdb.base/display.exp: Expect displays to be sorted in ascending
17188 order. Use multi_line.
17189 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17190
7e0aa6aa
PA
171912015-11-24 Pedro Alves <palves@redhat.com>
17192
17193 PR 17539
17194 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17195 threads in ascending order.
17196 * gdb.base/foll-fork.exp: Likewise.
17197 * gdb.base/foll-vfork.exp: Likewise.
17198 * gdb.base/multi-forks.exp: Likewise.
17199 * gdb.mi/mi-nonstop.exp: Likewise.
17200 * gdb.mi/mi-nsintrall.exp: Likewise.
17201 * gdb.multi/base.exp: Likewise.
17202 * gdb.multi/multi-arch.exp: Likewise.
17203 * gdb.python/py-inferior.exp: Likewise.
17204 * gdb.threads/break-while-running.exp: Likewise.
17205 * gdb.threads/execl.exp: Likewise.
17206 * gdb.threads/gcore-thread.exp: Likewise.
17207 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17208 * gdb.threads/kill.exp: Likewise.
17209 * gdb.threads/linux-dp.exp: Likewise.
17210 * gdb.threads/multiple-step-overs.exp: Likewise.
17211 * gdb.threads/next-bp-other-thread.exp: Likewise.
17212 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17213 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17214 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17215 * gdb.threads/thread-find.exp: Likewise.
17216 * gdb.threads/tls.exp: Likewise.
17217 * lib/mi-support.exp (mi_reverse_list): Delete.
17218 (mi_check_thread_states): No longer reverse list.
17219
2cc57ad8
PA
172202015-11-24 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17223 use lowercase.
17224
c93e8391
SM
172252015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17226
17227 * gdb.trace/actions.c: Include trace-common.h.
17228 (main): Add a location for a fast tracepoint.
17229 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17230 the normal tracepoints.
17231 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17232
045ccf91
SM
172332015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17234
17235 * save-trace.exp: Factor out code to these...
17236 (gdb_save_tracepoints): New.
17237 (gdb_load_tracepoints): New.
17238 (do_save_load_test): New.
17239
5506f9f6
KB
172402015-11-23 Kevin Buettner <kevinb@redhat.com>
17241
17242 * gdb.base/asmlabel.exp: New test.
17243 * gdb.base/asmlabel.c: New test case.
17244
16c3b12f
JB
172452015-11-23 Joel Brobecker <brobecker@adacore.com>
17246
17247 * gdb.base/wrong_frame_bt_full-main.c: New file.
17248 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17249 * gdb.base/wrong_frame_bt_full.exp: New file.
17250
155bfbd3
JB
172512015-11-23 Joel Brobecker <brobecker@adacore.com>
17252
17253 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17254
bb097445
JM
172552015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17256
206853a0 17257 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17258 pstate register when comparing registers values in
17259 sparc64-*-linux-gnu targets to avoid spurious differences.
17260
9c88ed8f
JM
172612015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17262
206853a0 17263 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17264
96161e25
SL
172652015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17266
17267 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17268 as type argument to gdb_compile.
17269 * gdb.base/nested-subp2.exp: Likewise.
17270 * gdb.base/nested-subp3.exp: Likewise.
17271
340c2830
DV
172722015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17273
17274 * lib/dwarf.exp (_note): Fix left shift of negative value.
17275 * gdb.trace/trace-condition.exp: Likewise.
17276
c1862d0f
YQ
172772015-11-13 Yao Qi <yao.qi@linaro.org>
17278
17279 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17280 comments about d10v.
17281 (test_scalar_returns): Likewise.
17282 * gdb.base/d10v.ld: Remove.
17283 * gdb.base/overlays.exp: Remove the target triplet checking for
17284 d10v-*-*.
17285 * gdb.base/structs.exp (test_struct_returns): Remove the
17286 comments about d10v.
17287 (test_struct_calls): Likewise.
17288
77ae9c19
YQ
172892015-11-13 Yao Qi <yao.qi@linaro.org>
17290
17291 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17292 * gdb.base/gnu_vector.c: Don't include stdio.h.
17293 (main): Don't print res and call add_some_intvecs.
17294
430e004e
MK
172952015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17296
17297 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17298 macro.
17299 (func5): Removed.
17300 (func4): Use FAST_TRACEPOINT_LABEL.
17301 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17302 macro.
17303 (func): Removed.
17304 (thread_function): Use FAST_TRACEPOINT_LABEL.
17305 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17306 (func): Remove.
17307 (marker): Use FAST_TRACEPOINT_LABEL.
17308 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17309 (pendfunc1): Remove.
17310 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17311 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17312 (foo): Remove.
17313 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17314 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17315 macro.
17316 (func): Remove.
17317 (marker): Use FAST_TRACEPOINT_LABEL.
17318 * gdb.trace/trace-common.h: New header.
17319 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17320 macro.
17321 (func): Remove.
17322 (marker): Use FAST_TRACEPOINT_LABEL.
17323 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17324 (func): Remove.
17325 (thread_function): Use FAST_TRACEPOINT_LABEL.
17326
6e7675a7
MK
173272015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17328
17329 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17330 in front.
17331 * gdb.trace/change-loc.exp: Use global pcreg definition.
17332 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17333 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17334 in front.
17335 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17336 * gdb.trace/pending.exp: Likewise.
17337 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17338 * gdb.trace/trace-break.exp: Likewise.
17339 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17340 in front.
17341 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17342 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17343 in front.
17344 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17345
dddc0e16
JB
173462015-11-09 Joel Brobecker <brobecker@adacore.com>
17347
17348 * gdb.ada/fin_fun_out: New testcase.
17349
c6f0b406
KB
173502015-11-07 Kevin Buettner <kevinb@redhat.com>
17351
17352 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17353 value associated with DW_AT_byte_size.
17354 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17355 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17356 DW_AT_upper_bound.
17357
f01dcfd9
KB
173582015-11-07 Kevin Buettner <kevinb@redhat.com>
17359
17360 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17361 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17362 version.
17363 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17364 gdb.dwarf2/dw2-canonicalize-type.exp,
17365 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17366 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17367 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17368 provided by gdb_target_symbol_prefix_flags_asm.
17369 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17370 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17371 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17372 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17373 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17374 macros where needed). Use this macro for symbols which require
17375 the prefix provided by SYMBOL_PREFIX.
17376
2223449a
KB
173772015-11-05 Kevin Buettner <kevinb@redhat.com>
17378
17379 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17380 New procs.
17381 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17382 representing expressions, of more than one list element.
17383 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17384 to prepend linker symbol prefix to f.
17385 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17386 table_1 and table_2.
17387 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17388 Likewise, for f and g.
17389 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17390 for ptr.
17391 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17392 for main.
17393 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17394 table_1_ptr and table_2_ptr.
17395
6f2f1a3a
JK
173962015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17397 Joel Brobecker <brobecker@adacore.com>
17398
17399 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17400
566c56c9
MK
174012015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17402
17403 * gdb.reverse/s390-mvcle.c: New test.
17404 * gdb.reverse/s390-mvcle.exp: New file.
17405 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17406
d5f0636b
MK
174072015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17408
17409 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17410
7ad8b86c
MK
174112015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17412
17413 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17414 reaching marker2.
17415 * gdb.reverse/getresuid-reverse.exp: Likewise.
17416 * gdb.reverse/pipe-reverse.exp: Likewise.
17417 * gdb.reverse/readv-reverse.exp: Likewise.
17418 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17419 * gdb.reverse/time-reverse.exp: Likewise.
17420 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17421
4081c0f1
YQ
174222015-10-30 Yao Qi <yao.qi@linaro.org>
17423
17424 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17425 (empty_cycle): Remove.
17426 (main): Don't call empty_cycle. Don't use watch_count_done.
17427 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17428 empty_cycle. Rewrite the code counting HW watchpoints.
17429
452b4ba5
MK
174302015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17431
17432 * gdb.reverse/fstatat-reverse.c: New test.
17433 * gdb.reverse/fstatat-reverse.exp: New file.
17434 * gdb.reverse/getresuid-reverse.c: New test.
17435 * gdb.reverse/getresuid-reverse.exp: New file.
17436 * gdb.reverse/pipe-reverse.c: New test.
17437 * gdb.reverse/pipe-reverse.exp: New file.
17438 * gdb.reverse/readv-reverse.c: New test.
17439 * gdb.reverse/readv-reverse.exp: New file.
17440 * gdb.reverse/recvmsg-reverse.c: New test.
17441 * gdb.reverse/recvmsg-reverse.exp: New file.
17442 * gdb.reverse/time-reverse.c: New test.
17443 * gdb.reverse/time-reverse.exp: New file.
17444 * gdb.reverse/waitpid-reverse.c: New test.
17445 * gdb.reverse/waitpid-reverse.exp: New file.
17446
5e2e7507
JK
174472015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17448
17449 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17450
0fde2c53
DE
174512015-10-26 Doug Evans <dje@google.com>
17452
17453 PR symtab/17391
17454 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17455 * gdb.dwarf2/bad-regnum.c: New file.
17456 * gdb.dwarf2/bad-regnum.exp: New file.
17457
1a70ae97
DE
174582015-10-26 Doug Evans <dje@google.com>
17459
17460 PR python/18938
17461 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17462 file.
17463
27dc26ab
JK
174642015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17465
17466 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17467 for a change by "Mention language in compile error message".
17468
bed91f4d
SM
174692015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17470
17471 PR python/18073
17472 * gdb.python/py-type.c (C::a_method): New.
17473 (C::a_const_method): New.
17474 (C::a_static_method): New.
17475 (a_function): New.
17476 * gdb.python/py-type.exp (test_fields): Test getting fields
17477 from function and method.
17478
3f2f83dd
KB
174792015-10-21 Keven Boell <keven.boell@intel.com>
17480
17481 * gdb.fortran/vla-alloc-assoc.exp: New file.
17482 * gdb.fortran/vla-datatypes.exp: New file.
17483 * gdb.fortran/vla-datatypes.f90: New file.
17484 * gdb.fortran/vla-history.exp: New file.
17485 * gdb.fortran/vla-ptype-sub.exp: New file.
17486 * gdb.fortran/vla-ptype.exp: New file.
17487 * gdb.fortran/vla-sizeof.exp: New file.
17488 * gdb.fortran/vla-sub.f90: New file.
17489 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17490 * gdb.fortran/vla-value-sub-finish.exp: New file.
17491 * gdb.fortran/vla-value-sub.exp: New file.
17492 * gdb.fortran/vla-value.exp: New file.
17493 * gdb.fortran/vla-ptr-info.exp: New file.
17494 * gdb.mi/mi-vla-fortran.exp: New file.
17495 * gdb.mi/vla.f90: New file.
17496
27145d50
SL
174972015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17498
17499 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17500 of hardwired timeout value.
17501
5f3ff4f8
JK
175022015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17503 Pedro Alves <palves@redhat.com>
17504
17505 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17506 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17507
bfd09d20
JS
175082015-10-19 Josh Stone <jistone@redhat.com>
17509
17510 * gdb.base/catch-syscall.c: Include <sched.h>.
17511 (unknown_syscall): New variable.
17512 (main): Trigger a vfork and an unknown syscall.
17513 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17514 (unknown_syscall_number): Likewise.
17515 (check_call_to_syscall): Accept an optional syscall pattern.
17516 (check_return_from_syscall): Likewise.
17517 (check_continue): Likewise.
17518 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17519 (test_catch_syscall_skipping_return): New test toggling off 'catch
17520 syscall' to step over the syscall return, then toggling back on.
17521 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17522 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17523 (do_syscall_tests): Call test_catch_syscall_without_args and
17524 test_catch_syscall_mid_vfork.
17525 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17526 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17527
b32b93c6
AS
175282015-10-19 Andrew Stubbs <ams@codesourcery.com>
17529
17530 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17531 print g_vE): Add new pass patterns.
17532 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17533 print various symbol names for vptr fields.
17534
9d622bda
AB
175352015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17536
17537 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17538 results.
17539
0fd8ac1c
YQ
175402015-10-12 Yao Qi <yao.qi@linaro.org>
17541
17542 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17543
34240514
YQ
175442015-10-12 Yao Qi <yao.qi@linaro.org>
17545
17546 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17547 is aarch64*-*-linux*.
17548
8240f442
YQ
175492015-10-12 Yao Qi <yao.qi@linaro.org>
17550
17551 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17552 (can_relocate_bcond_true): ... it.
17553 (can_relocate_bcond_false): New function.
17554 (foo): Likewise.
17555 (can_relocate_bl): Likewise.
17556 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17557 can_relocate_bl.
17558
2520f728
PMR
175592015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17560
17561 * gdb.base/nested-addr.c: New file.
17562 * gdb.base/nested-addr.exp: New testcase.
17563
abcef95a
MM
175642015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17565
17566 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17567 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17568 its output. Ignore the output of "record goto begin" and instead
17569 check that GDB is replaying.
17570
145e3ddb
PA
175712015-10-09 Pedro Alves <palves@redhat.com>
17572
17573 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17574 (top level): Use it in the run with no args test.
17575
d5d8c4e1
IB
175762015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17577
17578 * gdb.dlang/properties.exp: New file.
17579
06e635ef
SL
175802015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17581
17582 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17583 whether or not address 0x1000 is mapped on the target.
17584
e019fd1d
SM
175852015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17586
17587 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17588 build.
17589
77ba2a67
MM
175902015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17591
17592 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17593 instruction-history test.
17594
c60eb31f
DE
175952015-09-28 Doug Evans <dje@google.com>
17596
17597 * gdb.base/gcore.c (array_func): Add reference to static_array.
17598
9a3c8263
SM
175992015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17600
17601 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17602 source line.
17603
9720e656
SL
176042015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17605
17606 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17607 short or char as base type.
17608
938d3bf2
SL
176092015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17610
17611 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17612 to allow any size enum.
17613
e6c2c623
PMR
176142015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17615
17616 * gdb.ada/array_ptr_renaming.exp: New testcase.
17617 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17618 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17619
06da0f77
PL
176202015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17621
17622 * gdb.trace/ftrace-lock.c: New file.
17623 * gdb.trace/ftrace-lock.exp: New file.
17624
4f51c22a
PL
176252015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17626
17627 * gdb.arch/insn-reloc.c: New file.
17628 * gdb.arch/ftrace-insn-reloc.exp: New file.
17629
7041adf4
PL
176302015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17631
17632 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17633 instruction.
17634 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17635 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17636 * gdb.trace/range-stepping.c: Likewise.
17637 * gdb.trace/trace-break.c: Likewise.
17638 * gdb.trace/trace-mt.c (thread_function): Likewise.
17639 * gdb.trace/ftrace.c (marker): Likewise.
17640 * gdb.trace/trace-condition.c (marker): Likewise.
17641 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17642 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17643 is_aarch64_target.
17644
015d2e7e
DE
176452015-09-18 Doug Evans <xdje42@gmail.com>
17646
17647 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17648 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17649
26b188a2
SL
176502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17651
17652 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17653 the breakpoint.
17654
79dc332b
SL
176552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17656
17657 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17658 the pending breakpoint. Remove timeout override for "Run till
17659 MI pending breakpoint on pendfunc3 on thread 2" test.
17660
f57929f2
SL
176612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17662
17663 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17664 filename pattern.
17665
3f469b17
SL
176662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17667
17668 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17669 in breakpoint filename pattern.
17670
515b89b3
SL
176712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17672
7800dbe4
SL
17673 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17674
176752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17676
515b89b3
SL
17677 * gdb.linespec/explicit.exp: Check for readline support for
17678 tab-completion tests. Fix obvious typo.
17679
d2939ba2
MM
176802015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17681
17682 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17683 and replay.
17684
cbb55fa7
MM
176852015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17686
17687 * gdb.btrace/non-stop.c: New.
17688 * gdb.btrace/non-stop.exp: New.
17689
43691ca1
PL
176902015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17691 Yao Qi <yao.qi@linaro.org>
17692
17693 * gdb.trace/trace-condition.c: New file.
17694 * gdb.trace/trace-condition.exp: New file.
17695
d78908cf
WW
176962015-09-16 Wei-cheng Wang <cole945@gmail.com>
17697
17698 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17699 for testing bytecode compilation.
17700
1ed415e2
PA
177012015-09-16 Pedro Alves <palves@redhat.com>
17702 Sandra Loosemore <sandra@codesourcery.com>
17703
17704 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17705 (SECONDS): Redefine.
17706 (main): Call pthread_kill and alarm early.
17707 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17708 support.
17709 (test): If the target can't hardware step and doesn't support
17710 displaced stepping, increase the timeout.
17711
d136eff5
PA
177122015-09-16 Pedro Alves <palves@redhat.com>
17713
17714 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17715 (enable_debug): New procedures.
17716 (test): Use them. Bail out if waiting for threads fails.
17717 (top level): Bail out if a test fails.
17718
991f019c
YQ
177192015-09-16 Yao Qi <yao.qi@linaro.org>
17720
17721 * gdb.asm/asm-source.exp: Set asm-arch for
17722 aarch64*-*-* target.
17723 * gdb.asm/aarch64.inc: New file.
17724
bfca584f
PMR
177252015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17726
17727 * gdb.ada/array_of_variable_length.exp: New testcase.
17728 * gdb.ada/array_of_variable_length/foo.adb: New file.
17729 * gdb.ada/array_of_variable_length/pck.adb: New file.
17730 * gdb.ada/array_of_variable_length/pck.ads: New file.
17731
b326e587
DE
177322015-09-15 Doug Evans <dje@google.com>
17733
17734 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17735 of function static local variable.
17736
5382cfab
PW
177372015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17738
17739 * gdb.threads/tls-so_extern.exp: New test file.
17740 * gdb.threads/tls-so_extern.c: New test file.
17741 * gdb.threads/tls-so_extern_main.c: New test file.
17742
141c5cc4
JK
177432015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17744
17745 * gdb.opt/solib-intra-step-lib.c: New file.
17746 * gdb.opt/solib-intra-step-main.c: New file.
17747 * gdb.opt/solib-intra-step.exp: New file.
17748
d15dcecd
PA
177492015-09-15 Pedro Alves <palves@redhat.com>
17750
17751 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17752 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17753
4c2f2a79
PA
177542015-09-14 Pedro Alves <palves@redhat.com>
17755
17756 * gdb.base/hook-stop-continue.c: Delete.
17757 * gdb.base/hook-stop-continue.exp: Delete.
17758 * gdb.base/hook-stop-frame.c: Delete.
17759 * gdb.base/hook-stop-frame.exp: Delete.
17760 * gdb.base/hook-stop.c: New file.
17761 * gdb.base/hook-stop.exp: New file.
17762
919e6dbe
PMR
177632015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17764
17765 * gdb.ada/access_to_packed_array.exp: New testcase.
17766 * gdb.ada/access_to_packed_array/foo.adb: New file.
17767 * gdb.ada/access_to_packed_array/pack.adb: New file.
17768 * gdb.ada/access_to_packed_array/pack.ads: New file.
17769
157280a4
MM
177702015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17771
17772 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17773 buffer size test.
17774
2fd33e94
DB
177752015-09-11 Don Breazeal <donb@codesourcery.com>
17776
17777 * gdb.base/foll-exec.c: Add copyright header. Fix
17778 formatting issues.
17779 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17780 (do_exec_tests): Use clean_restart in place of zap_session,
17781 and for test initialization. Fix formatting issues. Use
17782 fail in place of perror.
17783 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17784 an expect statement to match an expression with output from
17785 the program under debug.
17786 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17787 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17788 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17789 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17790 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17791
e70b6e8e
DE
177922015-09-09 Doug Evans <dje@google.com>
17793
17794 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17795
7a551a51
DE
177962015-09-09 Doug Evans <dje@google.com>
17797
17798 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17799
4c666f84
DE
178002015-09-09 Doug Evans <dje@google.com>
17801
17802 * gdb.base/savedregs.exp: Fix typo.
17803
243a9253
PA
178042015-09-09 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17807
c0fa8fbd
SL
178082015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17809
17810 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17811 command actually switches threads. Give up on remaining
17812 tests if target fails to stop at breakpoint.
17813
cd7c1778
PMR
178142015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17815
17816 * gdb.ada/funcall_char.exp: New testcase.
17817 * gdb.ada/funcall_char/foo.adb: New file.
17818
dc5c8746
PMR
178192015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17820
17821 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17822 expected outputs. Add two testcases for completing ambiguous
17823 functions.
17824 * gdb.ada/complete/aux_pck.adb: New file.
17825 * gdb.ada/complete/aux_pck.ads: New file.
17826 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17827 Ambiguous_Func functions.
17828 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17829 * gdb.ada/complete/pck.adb: Likewise.
17830
4e83a1e7
UW
178312015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17832
17833 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17834 failures to run the test program under GDB.
17835
8ce74153
LM
178362015-08-26 Luis Machado <lgustavo@codesourcery.com>
17837
17838 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17839 to C.
17840
e9756d52
PP
178412015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17842
17843 * gdb.base/run-after-attach.exp: New test file.
17844 * gdb.base/run-after-attach.c: New test file.
17845
8d37573b
DB
178462015-08-26 Don Breazeal <donb@codesourcery.com>
17847
17848 * gdb.base/foll-exec-2.c: New test program.
17849 * gdb.base/foll-exec-2.exp: New test.
17850
63e43d3a
PMR
178512015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17852
17853 * gdb.base/nested-subp1.exp: New file.
17854 * gdb.base/nested-subp1.c: New file.
17855 * gdb.base/nested-subp2.exp: New file.
17856 * gdb.base/nested-subp2.c: New file.
17857 * gdb.base/nested-subp3.exp: New file.
17858 * gdb.base/nested-subp3.c: New file.
17859
3d40fbb5
PA
178602015-08-24 Pedro Alves <palves@redhat.com>
17861
17862 * gdb.server/connect-without-multi-process.c: New file.
17863 * gdb.server/connect-without-multi-process.exp: New file.
17864
4422ac93
LM
178652015-08-24 Luis Machado <lgustavo@codesourcery.com>
17866
17867 * gdb.opt/inline-markers.c: Make z int.
17868
91dddb86
LM
178692015-08-24 Luis Machado <lgustavo@codesourcery.com>
17870
17871 * gdb.opt/inline-markers.c: Make z volatile.
17872
a48847ee
LM
178732015-08-24 Luis Machado <lgustavo@codesourcery.com>
17874
17875 * gdb.opt/inline-bt.c: New volatile global z.
17876 * gdb.opt/inline-cmds.c: Likewise.
17877 * gdb.opt/inline-locals.c: Likewise.
17878 * gdb.opt/inline-markers.c: New extern global z.
17879 (marker): Use z.
17880 (inline_fn): Likewise.
17881
0ebbc52b
PA
178822015-08-24 Pedro Alves <palves@redhat.com>
17883
17884 * config/m32r-stub.exp: Remove file.
17885 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17886 * gdb.base/call-rt-st.exp: Likewise.
17887 * gdb.base/call-strs.exp: Likewise.
17888 * gdb.base/default.exp: Remove references to h8300-*-hms and
17889 *-*-udi*.
17890 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17891
77c365df
AA
178922015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17893
17894 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17895 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17896 and "return" use KFAIL when GDB can not read/write the vector
17897 return value.
17898
4313b8c0
GB
178992015-08-21 Gary Benson <gbenson@redhat.com>
17900
17901 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17902
0e433b32
PA
179032015-08-20 Pedro Alves <palves@redhat.com>
17904
17905 * gdb.server/solib-list.exp: No longer expect an interior stop in
17906 non-stop mode.
17907
221e1a37
PA
179082015-08-20 Pedro Alves <palves@redhat.com>
17909
17910 * gdb.server/connect-stopped-target.c: New file.
17911 * gdb.server/connect-stopped-target.exp: New file.
17912
40e3ad0e
PA
179132015-08-20 Pedro Alves <palves@redhat.com>
17914
17915 * gdb.dwarf2/comp-unit-lang.exp: New file.
17916 * gdb.dwarf2/comp-unit-lang.c: New file.
17917
af39b327
PMR
179182015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17919
17920 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17921 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17922
7d45c7c3 179232015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17924
7d45c7c3
KB
17925 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17926 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17927
4d6cceb4
DE
179282015-08-18 Doug Evans <dje@google.com>
17929 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17930
17931 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17932 skip_python_tests. New arg prompt_regexp.
17933 (skip_python_tests): New function.
17934 * lib/mi-support.exp (mi_skip_python_tests): New function.
17935 * gdb.python/py-mi-objfile-gdb.py: New file.
17936 * gdb.python/py-mi-objfile.c: New file.
17937 * gdb.python/py-mi-objfile.exp: New file.
17938
ad89c2aa
KS
179392015-08-17 Keith Seitz <keiths@redhat.com>
17940
17941 * gdb.linespec/explicit.exp: Move strace test from here ...
17942 * gdb.trace/strace.exp: ... to here.
17943
e3ae3c43
PP
179442015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17945
17946 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17947 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17948
604b2636
DE
179492015-08-14 Doug Evans <xdje42@gmail.com>
17950
17951 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17952 inferior before selecting a new file.
17953
6ff0ba5f
DE
179542015-08-14 Doug Evans <xdje42@gmail.com>
17955
17956 * gdb.mi/mi-disassemble.exp: Update.
17957 * gdb.base/disasm-optim.S: New file.
17958 * gdb.base/disasm-optim.c: New file.
17959 * gdb.base/disasm-optim.h: New file.
17960 * gdb.base/disasm-optim.exp: New file.
17961
9ca98f92
KS
179622015-08-14 Keith Seitz <keiths@redhat.com>
17963
17964 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17965 "evaluated-by".
17966
52bbc560
JB
179672015-08-13 Joel Brobecker <brobecker@adacore.com>
17968
17969 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17970
5d8c3ed3
PMR
179712015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17972
17973 * gdb.ada/fun_renaming.exp: New testcase.
17974 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17975 * gdb.ada/fun_renaming/pack.adb: New file.
17976 * gdb.ada/fun_renaming/pack.ads: New file.
17977
ea8812bc
KS
179782015-08-12 Keith Seitz <keiths@redhat.com>
17979
17980 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17981 gdb_get_line_number.
17982
4dafcdeb
JB
179832015-08-12 Joel Brobecker <brobecker@adacore.com>
17984
17985 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17986 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17987 gdb.base/dso2dso.exp: New files.
17988
5ba32597
SDJ
179892015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17990 Pedro Alves <palves@redhat.com>
17991 Keith Seitz <keiths@redhat.com>
17992
17993 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17994 GDBFLAGS.
17995
b6dafabf
PP
179962015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17997
17998 * gdb.base/gdbhistsize-history.exp
17999 (test_histsize_history_setting): Use save_vars.
18000 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18001 Use save_vars.
18002 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18003 * gdb.base/readline.exp: Use save_vars.
18004
abe8e607
PP
180052015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18006
18007 * lib/gdb.exp (save_vars): New proc.
18008
629500fa
KS
180092015-08-11 Keith Seitz <keiths@redhat.com>
18010
18011 * gdb.base/help.exp: Update help_breakpoint_text.
18012
eb8c4e2e
KS
180132015-08-11 Keith Seitz <keiths@redhat.com>
18014
18015 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18016 (at toplevel): Call test_explicit_breakpoints.
18017 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18018 breakpoints.
18019 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18020 breakpoint conditions, "-cond".
18021
87f0e720
KS
180222015-08-11 Keith Seitz <keiths@redhat.com>
18023
18024 * gdb.linespec/3explicit.c: New file.
18025 * gdb.linespec/cpexplicit.cc: New file.
18026 * gdb.linespec/cpexplicit.exp: New file.
18027 * gdb.linespec/explicit.c: New file.
18028 * gdb.linespec/explicit.exp: New file.
18029 * gdb.linespec/explicit2.c: New file.
18030 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18031 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18032 before using in the matching pattern.
18033 Clarify that `prefix' is a regular expression.
18034
f00aae0f
KS
180352015-08-11 Keith Seitz <keiths@redhat.com>
18036
18037 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18038 test.
18039 Add tests for missing ",FMT" and ",".
18040
e27852be
DE
180412015-08-10 Doug Evans <dje@google.com>
18042 Keith Seitz <keiths@redhat.com>
18043
18044 PR gdb/17960
18045 * gdb.base/completion.exp: Add location completer tests.
18046
7f03bd92
PA
180472015-08-07 Pedro Alves <palves@redhat.com>
18048
18049 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18050 tests here.
18051 (top level): Run do_test with and without displaced stepping.
18052
3fc8eb30
PA
180532015-08-07 Pedro Alves <palves@redhat.com>
18054
18055 * gdb.base/valgrind-disp-step.c: New file.
18056 * gdb.base/valgrind-disp-step.exp: New file.
18057
d4569d7b
PA
180582015-08-07 Pedro Alves <palves@redhat.com>
18059
18060 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18061 Delete function.
18062 (main): Add alarm. Run an infinite loop instead of calling
18063 wait_threads.
18064 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18065 comment.
18066 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18067 Delete function.
18068 (main): Add alarm. Run an infinite loop instead of calling
18069 wait_threads.
18070 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18071 comment.
18072
e1316e60
PA
180732015-08-07 Pedro Alves <palves@redhat.com>
18074
18075 * gdb.base/checkpoint-ns.exp: New file.
18076 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18077 standard_testfile.
18078
da8c46d2
MM
180792015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18080
18081 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18082 * gdb.btrace/instruction_history.exp: Update.
18083 * gdb.btrace/tsx.exp: New.
18084 * gdb.btrace/tsx.c: New.
18085
de1c2c52
PA
180862015-08-06 Pedro Alves <palves@redhat.com>
18087
18088 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18089 increase timeout.
18090 * gdb.reverse/until-precsave.exp: Bump timeouts.
18091
782e0bf4
PA
180922015-08-06 Pedro Alves <palves@redhat.com>
18093
18094 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18095
83e97ed0
PA
180962015-08-06 Pedro Alves <palves@redhat.com>
18097
18098 PR gdb/18749
18099 * gdb.threads/process-dies-while-handling-bp.c: New file.
18100 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18101
863d01bd
PA
181022015-08-06 Pedro Alves <palves@redhat.com>
18103
18104 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18105 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18106
0a39bb32
PA
181072015-08-05 Pedro Alves <palves@redhat.com>
18108
18109 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18110 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18111
ee2d2b10
SL
181122015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18113
18114 * gdb.base/bp-permanent.exp: Report test as unsupported if
18115 the target cannot stop at the permanent breakpoint.
18116
4e1bdb00
DE
181172015-08-03 Doug Evans <dje@google.com>
18118
18119 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18120 10000.
18121
3d338901
DE
181222015-08-03 Doug Evans <dje@google.com>
18123
18124 * Makefile.in (workers/%.worker, build-perf): New rule.
18125 (GDB_PERFTEST_MODE): New variable.
18126 (check-perf): Use it.
18127 (clean): Clean up gdb.perf parallel build subdirs.
18128 * lib/build-piece.exp: New file.
18129 * lib/gdb.exp (make_gdb_parallel_path): New function
18130 (standard_output_file, standard_temp_file): Call it.
18131 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18132 of $GDB_PARALLEL.
18133 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18134
af061d3e
DE
181352015-08-03 Doug Evans <dje@google.com>
18136
8e1afc81 18137 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18138 (LOG_FILE_NAME): New global.
18139 (TextReporter.__init__): Initialize self.txt_sum.
18140 (TextReporter.report): Add support for multiple data-points.
18141 Move report to perftest.sum, put raw data in perftest.log.
18142 (TextReporter.start): Open sum and log files.
18143 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18144 * gdb.perf/lib/perftest/testresult.py
18145 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18146
2c8c5d37
PA
181472015-07-31 Pedro Alves <palves@redhat.com>
18148
18149 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18150 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18151 kill_wait_spawned_process instead of explicit "kill -9".
18152 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18153 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18154 kill_wait_spawned_process.
18155 * gdb.base/attach-twice.exp: Likewise.
18156 * gdb.base/attach.exp: Likewise.
18157 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18158 gdb_test_multiple.
18159 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18160 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18161 kill_wait_spawned_process.
18162 * gdb.base/valgrind-infcall.exp: Likewise.
18163 * gdb.multi/multi-attach.exp: Likewise.
18164 * gdb.python/py-prompt.exp: Likewise.
18165 * gdb.python/py-sync-interp.exp: Likewise.
18166 * gdb.server/ext-attach.exp: Likewise.
18167 * gdb.threads/attach-into-signal.exp (corefunc): Use
18168 spawn_wait_for_attach, spawn_id_get_pid and
18169 kill_wait_spawned_process.
18170 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18171 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18172 spawn_id_get_pid and kill_wait_spawned_process.
18173 * gdb.threads/attach-stopped.exp (corefunc): Use
18174 spawn_wait_for_attach, spawn_id_get_pid and
18175 kill_wait_spawned_process.
18176 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18177 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18178 kill_wait_spawned_process instead of explicit "kill -9".
18179 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18180 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18181 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18182 processes. Don't map cygwin/windows pids here. Now returns a
18183 spawn id list.
18184
032a0fca
SL
181852015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18186
18187 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18188 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18189 correct patch.
18190
61a934ca
SL
181912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18192
18193 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18194
4bc4d428
SL
181952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18196
18197 Reapply:
18198 2014-05-21 Mark Wielaard <mjw@redhat.com>
18199
18200 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18201
998d452a
PA
182022015-07-30 Pedro Alves <palves@redhat.com>
18203
18204 * linux-low.c (handle_extended_wait): Set the child's last
18205 reported status to TARGET_WAITKIND_STOPPED.
18206
69dde7dc
PA
182072015-07-30 Pedro Alves <palves@redhat.com>
18208
18209 PR threads/18600
18210 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18211 only shows inferior 1.
18212
4dd63d48
PA
182132015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18214 Pedro Alves <palves@redhat.com>
18215
18216 PR threads/18600
18217 * gdb.threads/fork-plus-threads.c: New file.
18218 * gdb.threads/fork-plus-threads.exp: New file.
18219
d618e4c5
PP
182202015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18221
18222 * gdb.base/batch-preserve-term-settings.exp
18223 (test_terminal_settings_preserved_after_cli_exit): Use
18224 send_quit_command.
18225
1eef6428
PA
182262015-07-29 Pedro Alves <palves@redhat.com>
18227 Don Breazeal <donb@codesourcery.com>
18228
18229 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18230 output from both inferior_spawn_id and gdb_spawn_id.
18231
7da5b897
SDJ
182322015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18233
18234 * gdb.threads/attach-into-signal.exp (corefunc): Use
18235 with_test_prefix on nested loops, uniquefying the test messages.
18236
dac804df
SDJ
182372015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18238
18239 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18240 commit.
18241
06265e53
PP
182422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18243
18244 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18245 New proc.
18246 (test_terminal_settings_preserved_after_sigterm): New test.
18247
18206ca3
PP
182482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18249
18250 * gdb.base/batch-preserve-term-settings.exp
18251 (test_terminal_settings_preserved_after_cli_exit): New test.
18252
90074d11
PP
182532015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18254
18255 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18256 manipulation of saved_gdbflags.
18257 (test_terminal_settings_preserved): Remove global declaration of
18258 the unused variable pagination_prompt. Remove manipulation of
18259 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18260 GDBFLAGS.
18261
eb1a7902
PA
182622015-07-29 Pedro Alves <palves@redhat.com>
18263
18264 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18265
8b75dd3b
PA
182662015-07-29 Pedro Alves <palves@redhat.com>
18267
18268 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18269 at the top.
18270
dedad4e3
PA
182712015-07-29 Pedro Alves <palves@redhat.com>
18272
18273 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18274 (main): Call gdb_unbuffer_output.
18275 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18276 (main): Call gdb_unbuffer_output.
18277 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18278 (main): Call gdb_unbuffer_output.
18279 * gdb.base/call-strs.exp: Adjust to step over the
18280 gdb_unbuffer_output call.
18281 * gdb.base/catch-gdb-caused-signals.c: Include
18282 "../lib/unbuffer_output.c".
18283 (main): Call gdb_unbuffer_output.
18284 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18285 (main): Call gdb_unbuffer_output.
18286 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18287 (main): Call gdb_unbuffer_output.
18288 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18289 (main): Call gdb_unbuffer_output.
18290 * gdb.base/shlib-call.exp: Adjust to step over the
18291 gdb_unbuffer_output call.
18292 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18293 (main): Call gdb_unbuffer_output.
18294 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18295 (main): Call gdb_unbuffer_output.
18296 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18297 (main): Rename to ...
18298 (test): ... this.
18299 (main): Reimplement.
18300 * gdb.base/varargs.exp: Run to test instead of to main.
18301 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18302 (main): Call gdb_unbuffer_output.
18303
58789a91
PA
183042015-07-29 Pedro Alves <palves@redhat.com>
18305
18306 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18307 factore out from mi_continue_dprintf. For call-style dprintfs,
18308 expect dprintf output out of $inferior_spawn_id.
18309 (mi_continue_dprintf): Use mi_expect_dprintf.
18310 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18311 (main): Call gdb_unbuffer_output.
18312
e8376742
PA
183132015-07-29 Pedro Alves <palves@redhat.com>
18314
18315 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18316 (default_mi_gdb_start): Set inferior_spawn_id instead of
18317 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18318 gdb_spawn_id.
18319 (mi_gdb_test): Always expect inferior output from both
18320 $inferior_spawn_id and $gdb_spawn_id.
18321
08280010
PA
183222015-07-29 Pedro Alves <palves@redhat.com>
18323
18324 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18325 send_inferior and $inferior_spawn_id.
18326
4d30e432
PA
183272015-07-29 Pedro Alves <palves@redhat.com>
18328
18329 * gdb.gdb/complaints.exp (test_initial_complaints)
18330 (test_serial_complaints, test_short_complaints): Use
18331 gdb_test_stdio.
18332 (test_empty_complaint): Handle $inferior_spawn_id !=
18333 $gdb_spawn_id.
18334
0d30a335
PA
183352015-07-29 Pedro Alves <palves@redhat.com>
18336
18337 * gdb.base/varargs.exp: Use gdb_test_stdio.
18338
39413b29
PA
183392015-07-29 Pedro Alves <palves@redhat.com>
18340
18341 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18342
7cb000a9
PA
183432015-07-29 Pedro Alves <palves@redhat.com>
18344
18345 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18346
d7b8ac82
PA
183472015-07-29 Pedro Alves <palves@redhat.com>
18348
18349 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18350 parameter into two new parameters, "inf_result" and "gdb_result".
18351 Expect inferior output and gdb output from $inferior_spawn_id and
18352 $gdb_spawn_id, respectively. Adjust all callers.
18353
789c3a0c
PA
183542015-07-29 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18357 of gdb_test_sequence.
18358
77e760c3
PA
183592015-07-29 Pedro Alves <palves@redhat.com>
18360
18361 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18362 (saw_spurious_output): Expect inferior output from
18363 $inferior_spawn_id. Use gdb_test_stdio.
18364
8396d2cd
PA
183652015-07-29 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.base/dprintf.exp: Use standard_testfile. Change
18368 prepare_for_testing call.
18369 (srcfile): Don't set.
18370 (restart): New procedure.
18371 (test_dprintf): New procecure, use to continue over dprintfs.
18372 (test_call, test_agent): New procedures, tests moved here.
18373 Restart gdb and recreate dprintfs. Adjust expected output.
18374
2051d61f
PA
183752015-07-29 Pedro Alves <palves@redhat.com>
18376
18377 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18378
452397af
PA
183792015-07-29 Pedro Alves <palves@redhat.com>
18380
18381 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18382
8aed9555
PA
183832015-07-29 Pedro Alves <palves@redhat.com>
18384
18385 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18386 gdb_test_stdio.
18387
188a61b4
PA
183882015-07-29 Pedro Alves <palves@redhat.com>
18389
18390 * lib/gdb.exp (gdb_test_stdio): New procedure.
18391
12264a45
PA
183922015-07-29 Pedro Alves <palves@redhat.com>
18393
18394 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18395
23ffc893
PA
183962015-07-29 Pedro Alves <palves@redhat.com>
18397
18398 * gdb.base/call-signal-resume.exp: Remove check for
18399 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18400 * gdb.base/unwindonsignal.exp: Likewise.
18401 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18402 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18403
65566918
PA
184042015-07-29 Pedro Alves <palves@redhat.com>
18405
18406 * gdb.base/siginfo-addr.c (pass): New function.
18407 (handler): Call it iff si_addr is correct.
18408 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18409 Set a breakpoint at "pass" and continue to it.
18410
d60a9221
SDJ
184112015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18412
18413 * gdb.python/py-objfile.exp: Make some tests have unique names.
18414 * gdb.python/py-pp-registration.exp: Likewise.
18415
bde40b8f
PA
184162015-07-28 Pedro Alves <palves@redhat.com>
18417
18418 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18419
13e1dec8
SM
184202015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18421
18422 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18423
da33c9a7
SM
184242015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18425
18426 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18427
077836f7
PP
184282015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18429
18430 * gdb.base/gdb-sigterm-2.exp: New test.
18431
b8cc7b2e
DE
184322015-07-25 Doug Evans <xdje42@gmail.com>
18433
18434 Revert:
18435 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18436 (workers/%.worker, build-perf): New rule.
18437 (GDB_PERFTEST_MODE): New variable.
18438 (check-perf): Use it.
18439 (clean): Clean up gdb.perf parallel build subdirs.
18440 * lib/build-piece.exp: New file.
18441 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18442 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18443 name.
18444 (standard_temp_file): Ditto.
18445 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18446 of $GDB_PARALLEL.
18447
c8bd4544
DE
184482015-07-24 Doug Evans <dje@google.com>
18449
18450 * gdb.perf/lib/perftest/utils.py: New file.
18451 * gdb.perf/gm-hello.cc: New file.
18452 * gdb.perf/gm-pervasive-typedef.cc: New file.
18453 * gdb.perf/gm-pervasive-typedef.h: New file.
18454 * gdb.perf/gm-std.cc: New file.
18455 * gdb.perf/gm-std.h: New file.
18456 * gdb.perf/gm-use-cerr.cc: New file.
18457 * gdb.perf/gm-utils.h: New file.
18458 * gdb.perf/gmonster-null-lookup.py: New file.
18459 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18460 * gdb.perf/gmonster-print-cerr.py: New file.
18461 * gdb.perf/gmonster-ptype-string.py: New file.
18462 * gdb.perf/gmonster-runto-main.py: New file.
18463 * gdb.perf/gmonster-select-file.py: New file.
18464 * gdb.perf/gmonster1-null-lookup.exp: New file.
18465 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18466 * gdb.perf/gmonster1-print-cerr.exp: New file.
18467 * gdb.perf/gmonster1-ptype-string.exp: New file.
18468 * gdb.perf/gmonster1-runto-main.exp: New file.
18469 * gdb.perf/gmonster1-select-file.exp: New file.
18470 * gdb.perf/gmonster1.cc: New file.
18471 * gdb.perf/gmonster1.exp: New file.
18472 * gdb.perf/gmonster2-null-lookup.exp: New file.
18473 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18474 * gdb.perf/gmonster2-print-cerr.exp: New file.
18475 * gdb.perf/gmonster2-ptype-string.exp: New file.
18476 * gdb.perf/gmonster2-runto-main.exp: New file.
18477 * gdb.perf/gmonster2-select-file.exp: New file.
18478 * gdb.perf/gmonster2.cc: New file.
18479 * gdb.perf/gmonster2.exp: New file.
18480
6eab34f3
DE
184812015-07-24 Doug Evans <dje@google.com>
18482
18483 * gdb.perf/README: New file.
18484 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18485 * lib/gen-perf-test.exp: New file.
18486
63738bfd
DE
184872015-07-24 Doug Evans <dje@google.com>
18488
18489 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18490 (PerfTest::startup): New function.
18491 (PerfTest::run): Return result of calling body.
18492 (PerfTest::assemble): Rewrite.
18493 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18494 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18495 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18496 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18497 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18498
7b606f95
DE
184992015-07-24 Doug Evans <dje@google.com>
18500
18501 * lib/gdb.exp (clean_restart): Make executable optional.
18502
a97b16b8
DE
185032015-07-24 Doug Evans <dje@google.com>
18504
18505 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18506 compiler_info references.
18507 * gdb.cp/temargs.exp: Ditto.
18508 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18509 (get_compiler_info): Early exit if already computed. Set compiler_info
18510 to "unknown" if there was a problem.
18511 (test_compiler_info): Add function comment. Call get_compiler_info.
18512
35baa57f
DE
185132015-07-24 Doug Evans <dje@google.com>
18514
18515 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18516 (workers/%.worker, build-perf): New rule.
18517 (GDB_PERFTEST_MODE): New variable.
18518 (check-perf): Use it.
18519 (clean): Clean up gdb.perf parallel build subdirs.
18520 * lib/build-piece.exp: New file.
18521 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18522 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18523 name.
18524 (standard_temp_file): Ditto.
18525 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18526 of $GDB_PARALLEL.
18527
6ebea266
DE
185282015-07-24 Doug Evans <dje@google.com>
18529
18530 * lib/future.exp (gdb_default_target_compile): New option
18531 "early_flags".
18532 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18533 --as-needed.
18534
1e76a7e9
SDJ
185352015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18536
18537 * gdb.base/catch-syscall.exp: Call gdb_exit before
18538 gdb_skip_xml_test.
18539
5068630a
PA
185402015-07-24 Pedro Alves <palves@redhat.com>
18541
18542 * gdb.python/py-events.exp: Accept output between the stop event
18543 and the prompt.
18544 * gdb.python/py-evsignal.exp: Likewise.
18545 * gdb.python/py-evthreads.exp: Likewise.
18546
77598427
PA
185472015-07-24 Pedro Alves <palves@redhat.com>
18548
18549 PR gdb/18717
18550 * gdb.threads/non-ldr-exit.c: New file.
18551 * gdb.threads/non-ldr-exit.exp: New file.
18552
11e6c98f
YQ
185532015-07-24 Yao Qi <yao.qi@linaro.org>
18554
18555 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18556 restarting process.
18557
51aee833
YQ
185582015-07-24 Yao Qi <yao.qi@linaro.org>
18559
18560 * gdb.server/ext-restart.exp: New file.
18561
8cfe207c
YQ
185622015-07-24 Yao Qi <yao.qi@linaro.org>
18563
18564 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18565 argument options.
18566 * gdb.server/ext-wrapper.exp: New file.
18567
cc12ce38
DE
185682015-07-23 Doug Evans <dje@google.com>
18569
18570 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18571 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18572
d0d84780
PMR
185732015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18574
18575 * gdb.ada/var_arr_typedef.exp: New testcase.
18576 * gdb.ada/var_arr_typedef/pack.adb: New file.
18577 * gdb.ada/var_arr_typedef/pack.ads: New file.
18578 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18579
8b558f79
JB
185802015-07-20 Joel Brobecker <brobecker@adacore.com>
18581
18582 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18583
775a3298
JK
185842015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18585
18586 * gdb.arch/i386-biarch-core.exp: Replace istarget
18587 by "complete set gnutarget". Remove expectation for the "core-file"
18588 command.
18589
db1ff28b
JK
185902015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18591
18592 Revert the previous commit:
18593 Tests for validate symbol file using build-id.
18594
0a94970d
JK
185952015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18596
18597 Tests for validate symbol file using build-id.
18598 * gdb.base/solib-mismatch-lib.c: New file.
18599 * gdb.base/solib-mismatch-libmod.c: New file.
18600 * gdb.base/solib-mismatch.c: New file.
18601 * gdb.base/solib-mismatch.exp: New file.
18602
03346981
SL
186032015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18604
18605 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18606 nios2-*-linux*.
18607 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18608 * gdb.base/siginfo.exp: Likewise.
18609 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18610
42422cc7
PL
186112015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18612
18613 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18614 Move it to ...
18615 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18616 ... here.
18617 * gdb.trace/range-stepping.exp: Check that the target supports
18618 range stepping.
18619
cfa68bae
JK
186202015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18621
18622 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18623
8ffdba26
PA
186242015-07-14 Pedro Alves <palves@redhat.com>
18625
18626 * gdb.base/killed-outside.exp: New file.
18627 * gdb.base/killed-outside.c: New file.
18628
218a5a11
JK
186292015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18630
18631 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18632 (n at main): New.
18633 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18634
e03ed3c6
AA
186352015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18636
18637 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18638 infcall tests instead of setting up for KFAIL.
18639
485668e5
MM
186402015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18641
18642 * gdb.btrace/record_goto-step.exp: New.
18643
08464196
JK
186442015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18645
18646 PR compile/18484
18647 * gdb.compile/compile.c (struct struct_type): Add volatile to
18648 selffield's type.
18649 * gdb.compile/compile.exp
18650 (compile code struct_object.selffield = &struct_object): Skip further
18651 struct_object tests if this one xfails.
18652
bcf5c1d9
RC
186532015-07-08 Robert O'Callahan <robert@ocallahan.org>
18654
18655 PR exp/18617
18656 * gdb.trace/ax.exp: Add test.
18657
4931af25
YQ
186582015-07-07 Yao Qi <yao.qi@linaro.org>
18659
18660 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18661 instead of istarget "aarch64*-*-*".
18662 * gdb.arch/aarch64-fp.exp: Likewise.
18663 * gdb.base/float.exp: Likewise.
18664 * gdb.reverse/aarch64.exp: Likewise.
18665 * lib/gdb.exp (is_aarch64_target): New proc.
18666
9fcf688e
YQ
186672015-07-07 Yao Qi <yao.qi@linaro.org>
18668
18669 * lib/gdb.exp (is_aarch32_target): New proc.
18670 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18671 instead of "istarget "arm*-*-*"".
18672 * gdb.arch/arm-disp-step.exp: Likewise.
18673 * gdb.arch/thumb-bx-pc.exp: Likewise.
18674 * gdb.arch/thumb-prologue.exp: Likewise.
18675 * gdb.arch/thumb-singlestep.exp: Likewise.
18676 * gdb.base/disp-step-syscall.exp: Likewise.
18677 * gdb.base/float.exp: Likewise.
18678
fbd8d50d
YQ
186792015-07-07 Yao Qi <yao.qi@linaro.org>
18680
18681 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18682 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18683
71be1fdc
YQ
186842015-07-07 Yao Qi <yao.qi@linaro.org>
18685
18686 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18687 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18688 if it exists.
18689 * gdb.multi/multi-arch.exp: Likewise.
18690
3e221d36
SM
186912015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18692
18693 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18694 print.
18695
d441430b
YQ
186962015-07-07 Yao Qi <yao.qi@linaro.org>
18697
18698 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18699
06f810bd
MG
187002015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18701
18702 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18703 '[' and ']' characters.
18704
5e61e7c0
IB
187052015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18706
18707 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18708
28bf096c
PA
187092015-06-29 Pedro Alves <palves@redhat.com>
18710
18711 PR threads/18127
18712 * gdb.threads/hand-call-new-thread.c: New file.
18713 * gdb.threads/hand-call-new-thread.c: New file.
18714
ee93cd5e
KS
187152015-06-26 Keith Seitz <keiths@redhat.com>
18716 Doug Evans <dje@google.com>
18717
18718 PR 16253
18719 * gdb.cp/var-tag-2.cc: New file.
18720 * gdb.cp/var-tag-3.cc: New file.
18721 * gdb.cp/var-tag-4.cc: New file.
18722 * gdb.cp/var-tag.cc: New file.
18723 * gdb.cp/var-tag.exp: New file.
18724
fc637f04
PP
187252015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18726
18727 * gdb.base/history-duplicates.exp: New test.
18728
2e52ae68
PP
187292015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18730
18731 * gdb.base/completion.exp: Test the completion of the "focus"
18732 command.
18733
6e22494e
JK
187342015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18735
18736 * gdb.arch/amd64-prologue-skip.S: New file.
18737 * gdb.arch/amd64-prologue-skip.exp: New file.
18738
bf7b9cd9
SM
187392015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18740
18741 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18742 is_address_zero_readable check.
18743
201e8dfd
PB
187442015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18745
18746 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18747 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18748
5cd867b4
YQ
187492015-06-24 Yao Qi <yao.qi@linaro.org>
18750
18751 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18752 linux targets.
18753
4d7be007
YQ
187542015-06-24 Yao Qi <yao.qi@linaro.org>
18755
18756 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18757 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18758 * gdb.base/siginfo-thread.exp: Likewise.
18759
07fcd301
YQ
187602015-06-22 Yao Qi <yao.qi@linaro.org>
18761
18762 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18763
52042a00
YQ
187642015-06-22 Yao Qi <yao.qi@linaro.org>
18765
18766 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18767 aarch64*-*-*.
18768 (skip_hw_watchpoint_tests): Likewise.
18769
74bd41ce
PP
187702015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18771
18772 * gdb.base/gdbinit-history.exp: Test the interaction between
18773 setting GDBHISTSIZE and setting the history size via .gdbinit.
18774
bc460514
PP
187752015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18776
18777 PR gdb/16999
18778 * gdb.base/gdbhistsize-history.exp: New test.
18779
b58c513b
PP
187802015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18781
18782 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18783 with GDBHISTSIZE.
18784 * gdb.base/readline.exp: Likewise.
18785
92046791
YQ
187862015-06-17 Yao Qi <yao.qi@linaro.org>
18787
18788 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18789 line.
18790
2093d2d3
PP
187912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18792
18793 * gdb.base/gdbinit-history.exp: Add test case to check that
18794 an unlimited history file does not get truncated on exit.
18795
e6c693af
AA
187962015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18797
18798 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18799 (VECTOR): New macro. Use it...
18800 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18801 ...for these typedefs.
18802 (int8, char1, int1, double1): New typedefs.
18803 (struct just_int2, struct two_int2): New structures.
18804 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18805 (add_structvecs, add_singlevecs): New functions.
18806 (main): Call add_some_intvecs twice.
18807 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18808 the compile and exit upon failure. Try compiling for the "native"
18809 architecture. Test inferior function calls with vector arguments
18810 and vector return value handling with "finish" and "return".
18811
c74f7d1c
JT
188122015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18813
18814 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18815 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18816 PE file.
18817 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18818
98aa42ee
AT
188192015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18820
18821 PR breakpoints/16465
18822 * gdb.mi/mi-dprintf-pending.c: New file.
18823 * gdb.mi/mi-dprintf-pending.exp: New test.
18824 * gdb.mi/mi-dprintf-pendshr.c: New file.
18825
7d73c23c 188262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18827 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18828
18829 * gdb.arch/i386-mpx-map.c: New file.
18830 * gdb.arch/i386-mpx-map.exp: New File.
18831
188322015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18833
18834 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18835 * gdb.arch/i386-mpx.exp: Indentation fixed.
18836
188372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18838
18839 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18840 function and improved indentation.
18841 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18842 gdb_test_multiple. Added additional tests to skip the test.
18843
188442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18845
18846 * gdb.arch/i386-avx512.c: Change path in include file.
18847 * gdb.arch/i386-avx512.exp: Change include dir path
18848 compilation flag.
18849 * gdb.arch/i386-mpx.c: Change path in include file.
18850 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18851 flag.
18852
d5eba19a
JK
188532015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18854
18855 * gdb.compile/compile-print.exp (compile print *vararray@3)
18856 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18857
7f361056
JK
188582015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18859
18860 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18861 (do not keep jit in memory): ... this.
18862 (expect 5): Change it to ...
18863 (expect no 5): ... this.
18864
3b462ec2
SM
188652015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18866
18867 PR gdb/15564
18868 * gdb.mi/mi-detach.exp: New file.
18869
e0619de6
JK
188702015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18871
18872 PR symtab/18392
18873 * gdb.arch/amd64-tailcall-self.S: New file.
18874 * gdb.arch/amd64-tailcall-self.c: New file.
18875 * gdb.arch/amd64-tailcall-self.exp: New file.
18876
e970cb34
DB
188772015-05-28 Don Breazeal <donb@codesourcery.com>
18878
18879 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18880 tests for remote targets by checking is_target_gdbserver.
18881
b2e2f908
DE
188822015-05-27 Doug Evans <dje@google.com>
18883
18884 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18885 * gdb.dwarf2/opaque-type-lookup.c: New file.
18886 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18887
82c7be31
DE
188882015-05-26 Doug Evans <dje@google.com>
18889
18890 * gdb.cp/iostream.cc: New file.
18891 * gdb.cp/iostream.exp: New file.
18892
b4f54984
DE
188932015-05-26 Doug Evans <dje@google.com>
18894
18895 * gdb.dwarf2/dw2-op-call.exp: Update.
18896 * gdb.dwarf2/dw4-sig-types.exp: Update.
18897 * gdb.dwarf2/implptr.exp: Update.
18898 * gdb.mi/mi-cmd-param-changed.exp: Update.
18899
4ea6efe9
DE
189002015-05-26 Doug Evans <dje@google.com>
18901
18902 * gdb.python/py-lazy-string.c: New file.
18903 * gdb.python/py-lazy-string.exp: New file.
18904 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18905 (main): Update. Add estring3.
18906 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18907 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18908
f6bb7db3
YQ
189092015-05-26 Omair Javaid <omair.javaid@linaro.org>
18910 Yao Qi <yao.qi@linaro.org>
18911
18912 * gdb.reverse/aarch64.c: New.
18913 * gdb.reverse/aarch64.exp: New.
18914
a81bfbd0
OJ
189152015-05-26 Omair Javaid <omair.javaid@linaro.org>
18916
25d49b86
PA
18917 * lib/gdb.exp (supports_process_record): Return true for
18918 aarch64*-linux*.
a81bfbd0
OJ
18919 (supports_reverse): Likewise.
18920
158bf1b4
PP
189212015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18922
18923 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18924 Use with_test_prefix.
18925
a0145030
AB
189262015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18927
18928 * gdb.base/completion.exp: Add test for completion of layout
18929 names.
18930
ebe3b578
AB
189312015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18932
18933 * lib/gdb.exp (skip_tui_tests): New proc.
18934 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18935
84204ed7
PA
189362015-05-19 Pedro Alves <palves@redhat.com>
18937
18938 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18939 Save the whole env array instead of just HOME. Unset HISTSIZE in
18940 the environment while testing. Restore whole environment
18941 afterwards.
18942
37442ce1
DE
189432015-05-16 Doug Evans <xdje42@gmail.com>
18944
18945 * gdb.guile/scm-ports.c: New file.
18946 * gdb.guile/scm-ports.exp: Add memory port tests.
18947
36de76f9
JK
189482015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18949
18950 * gdb.compile/compile-print.c: New file.
18951 * gdb.compile/compile-print.exp: New file.
18952
3a9558c4
JK
189532015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18954
18955 * gdb.compile/compile-ops.exp: Cast param to void.
18956 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18957 (compile code struct_object.selffield = &struct_object): Add xfail.
18958
aa715135
JG
189592015-05-15 Joel Brobecker <brobecker@adacore.com>
18960
18961 * gdb.ada/arr_enum_with_gap: New testcase.
18962
931e5bc3
JG
189632015-05-15 Joel Brobecker <brobecker@adacore.com>
18964
18965 * gdb.ada/byte_packed_arr: New testcase.
18966
9cd4d857
JB
189672015-05-15 Joel Brobecker <brobecker@adacore.com>
18968
18969 * gdb.ada/pckd_neg: New testcase.
18970
ebfd00d2
PP
189712015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18972
18973 PR gdb/17820
18974 * gdb.base/gdbinit-history.exp: New test.
18975 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18976 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18977
4c082a81
SC
189782015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18979
18980 * gdb.python/py-xmethods.cc: Enhance test case.
18981 * gdb.python/py-xmethods.exp: New tests.
18982 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18983 function.
18984 (B_indexoper): Likewise.
18985 (global_dm_list) : Add new xmethod worker functions.
18986
f7797074
SDJ
189872015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18988
18989 * gdb.base/coredump-filter.exp: Correctly unset
18990 "coredump_var_addr" array.
18991
a4674e4e
PA
189922015-05-08 Pedro Alves <palves@redhat.com>
18993
18994 * gdb.server/non-existing-program.exp: Unset spawn_id.
18995
df2eb078
SC
189962015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18997
18998 PR python/18291
18999 * gdb.python/py-xmethods.exp: Add tests.
19000
422349a3
YQ
190012015-05-08 Yao Qi <yao.qi@linaro.org>
19002
19003 PR gdb/18208
19004 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19005 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19006 function set_coredump_filter, and remove remote_exec call.
19007 Remove argument ipid. Callers update.
19008 (top level): Don't get inferior's PID.
19009
63fc80ce
AA
190102015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19011
19012 * gdb.base/watch_thread_num.exp: Skip test on targets without
19013 access watchpoints.
19014
80ad801e
PA
190152015-05-06 Pedro Alves <palves@redhat.com>
19016
19017 PR server/18081
19018 * gdb.server/non-existing-program.exp: New file.
19019
0fa7fe50
JB
190202015-05-05 Joel Brobecker <brobecker@adacore.com>
19021
19022 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19023
3ea89b92
PMR
190242015-05-05 Joel Brobecker <brobecker@adacore.com>
19025
19026 * gdb.ada/out_of_line_in_inlined: New testcase.
19027
87b8eff0
JB
190282015-05-05 Joel Brobecker <brobecker@adacore.com>
19029
19030 * gdb.ada/var_rec_arr: New testcase.
19031
5fccc635
YQ
190322015-04-30 Yao Qi <yao.qi@linaro.org>
19033
19034 * gdb.base/break-idempotent.exp: If
19035 skip_hw_watchpoint_multi_tests returns true, skip the tests
19036 on "rwatch" and "awatch".
19037
42d38f42
YQ
190382015-04-30 Yao Qi <yao.qi@linaro.org>
19039
19040 * gdb.base/relativedebug.exp: Invoke gdb command
19041 "info sharedlibrary", and if libc.so doesn't have debug info,
19042 skip the test.
19043
2ce1cdbf
DE
190442015-04-29 Doug Evans <dje@google.com>
19045
19046 * gdb.python/py-xmethods.exp: Add ptype tests.
19047 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19048 get_result_type method.
19049
f24a38c5
LM
190502015-04-29 Luis Machado <lgustavo@codesourcery.com>
19051
19052 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19053 the target does not support hardware watchpoints.
19054
ecbf2b3c
LM
190552015-04-29 Luis Machado <lgustavo@codesourcery.com>
19056
19057 * gdb.base/break-always.exp: Abort testing if writing to memory
19058 causes an error.
19059
34f5f757
DE
190602015-04-28 Doug Evans <dje@google.com>
19061
19062 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19063 * gdb.python/py-pp-registration.exp: ... here. New file.
19064 * gdb.python/py-pp-registration.c: New file.
19065 * gdb.python/py-pp-registration.py: New file.
19066
69b4374a
DE
190672015-04-28 Doug Evans <dje@google.com>
19068
19069 * gdb.python/py-bad-printers.c: New file.
19070 * gdb.python/py-bad-printers.py: New file.
19071 * gdb.python/py-bad-printers.exp: New file.
19072
59fb7612
SS
190732015-04-28 Sasha Smundak <asmundak@google.com>
19074
19075 * gdb.python/py-type.exp: New test.
19076
2631b16a
AW
190772015-04-28 Andy Wingo <wingo@igalia.com>
19078
19079 * gdb.python/py-parameter.exp:
19080 * gdb.guile/scm-parameter.exp: Escape the path that we are
19081 matching against, as it might contain characters that are special
19082 to regular expressions.
19083
460efde1
JB
190842015-04-27 Joel Brobecker <brobecker@adacore.com>
19085
19086 * gdb.ada/rec_comp: New testcase.
19087
2d369d8e
SDJ
190882015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19089
19090 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19091 before using it.
19092
cf75d6c3
AB
190932015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19094
19095 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19096 new tests for verilog output.
19097
8dbe7ca5
YQ
190982015-04-24 Yao Qi <yao.qi@linaro.org>
19099
19100 * boards/remote-gdbserver-on-localhost.exp: New file.
19101
4ef9fb2f
PA
191022015-04-23 Pedro Alves <palves@redhat.com>
19103
19104 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19105 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19106 "end of file", remove $inferior_spawn_id from the indirect list.
19107
0a803169
PA
191082015-04-23 Pedro Alves <palves@redhat.com>
19109
19110 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19111
749ef8f8
PA
191122015-04-23 Pedro Alves <palves@redhat.com>
19113
19114 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19115 on $any_spawn_id instead of only on $gdb_spawn_id.
19116
8aae4344
PM
191172015-04-21 Pierre Muller <muller@sourceware.org>
19118
19119 PR pascal/17815
19120 * lib/pascal.exp (gpc_compile): Add new option "class".
19121 (fpc_compile): Likewise.
19122 * gdb.pascal/case-insensitive-symbols.pas: New file.
19123 * gdb.pascal/case-insensitive-symbols.exp: New file.
19124
1586c8fb
GB
191252015-04-20 Gary Benson <gbenson@redhat.com>
19126
19127 * gdb.base/attach.exp: Fix three extended remote failures.
19128
1b6e6f5c
GB
191292015-04-17 Gary Benson <gbenson@redhat.com>
19130
19131 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19132 the main executable over the remote protocol.
19133
e797481d
PA
191342015-04-16 Pedro Alves <palves@redhat.com>
19135
19136 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19137 a new gdbserver if gdbserver_reconnect_p is set.
19138
1ca99c42
PA
191392015-04-16 Pedro Alves <palves@redhat.com>
19140
19141 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19142 is set, don't exit gdbserver.
19143
af9fd6f8
AA
191442015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19145
19146 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19147 appropriate .insn, such that an older assembler can be used.
19148 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19149 the z/Architecture instruction set on 31-bit targets as well.
19150
04ff1e61
AA
191512015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19152
19153 * gdb.go/handcall.exp: Remove all logic related to the first
19154 breakpoint and rely on go_runto_main instead.
19155 * gdb.go/strings.exp: Likewise.
19156 * gdb.go/unsafe.exp: Likewise.
19157 * gdb.go/hello.exp: Likewise. Also rename the remaining
19158 breakpoint marker to "breakpoint 1".
19159 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19160 * gdb.go/strings.go: Likewise.
19161 * gdb.go/unsafe.go: Likewise.
19162 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19163 "set breakpoint 2 here" and rename the remaining breakpoint marker
19164 to "breakpoint 1".
19165
40d2f8d6
SM
191662015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19167
19168 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19169 if itertools.imap is not present.
19170 * gdb.python/py-objfile.exp: Add parentheses.
19171 * gdb.python/py-type.exp: Same.
19172 * gdb.python/py-unwind-maint.py: Same.
19173
8cbc97c6
YQ
191742015-04-15 Yao Qi <yao.qi@linaro.org>
19175
19176 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19177 of ":$ptr_size" and set its form explicitly.
19178
45fd756c
YQ
191792015-04-15 Pedro Alves <palves@redhat.com>
19180 Yao Qi <yao.qi@linaro.org>
19181
19182 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19183 timeout by factor of 4.
19184 (test_regular_watch): Likewise.
19185 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19186 * gdb.reverse/sigall-reverse.exp: Likewise.
19187 * gdb.reverse/until-precsave.exp: Likewise.
19188 * lib/gdb.exp (with_timeout_factor): New proc.
19189 (gdb_expect): Move some code to ...
19190 (get_largest_timeout): ... here. New procedure.
19191
9e811bc3
LM
191922015-04-14 Luis Machado <lgustavo@codesourcery.com>
19193
19194 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19195
0ff6fcb2
LM
191962015-04-13 Luis Machado <lgustavo@codesourcery.com>
19197
19198 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19199 to write to the .text section.
19200
7578d5f7
LM
192012015-04-13 Luis Machado <lgustavo@codesourcery.com>
19202
19203 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19204 Handle the case of targets that do not provide PID information.
19205
2efe15c4
YQ
192062015-04-13 Yao Qi <yao.qi@linaro.org>
19207
19208 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19209 and use expect instead of gdb_expect.
19210
8cd8f2f8
SDJ
192112015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19212
19213 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19214 "coredump_var_addr" to avoid naming conflict with other testcases.
19215
9ee41772
PA
192162015-04-10 Pedro Alves <palves@redhat.com>
19217
19218 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19219 gdb_test_sequence and gdb_assert.
19220
07473109
PA
192212015-04-10 Pedro Alves <palves@redhat.com>
19222
19223 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19224 test messages that don't include the breakpoint address.
19225
de3db44c
YQ
192262015-04-10 Yao Qi <yao.qi@linaro.org>
19227
19228 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19229 false for some offset and width combinations which aren't
19230 supported by linux kernel.
19231
c79d856c
PA
192322015-04-10 Pedro Alves <palves@redhat.com>
19233
19234 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19235 procedure, factored out from ...
19236 (top level): ... here. Add "set displaced-stepping" testing axis.
19237 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19238 parameter "displaced". Use it.
19239 (top level): Use foreach and add "set displaced-stepping" testing
19240 axis.
19241
ebc90b50
PA
192422015-04-10 Pedro Alves <palves@redhat.com>
19243
19244 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19245 Remove comment.
19246 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19247 both the address of the instruction that triggers the watchpoint
19248 and the address of the instruction immediately after, and use
19249 those addresses for the test. Fix comment.
19250
8f572e5c
PA
192512015-04-10 Pedro Alves <palves@redhat.com>
19252
19253 * gdb.base/sigstep.exp (breakpoint_to_handler)
19254 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19255 Test "backtrace" in handler.
19256 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19257 (top level): Add new "displaced" test axis to
19258 breakpoint_to_handler, breakpoint_to_handler_entry and
19259 breakpoint_over_handler.
19260
8d707a12
PA
192612015-04-10 Pedro Alves <palves@redhat.com>
19262
19263 PR gdb/18216
19264 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19265
ef713951
YQ
192662015-04-10 Yao Qi <yao.qi@linaro.org>
19267
19268 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19269 (test_add_rn_pc): New function.
19270 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19271 (top level): Invoke test_add_rn_pc.
19272
906d60cf
PA
192732015-04-10 Pedro Alves <palves@redhat.com>
19274
19275 PR gdb/13858
19276 * gdb.base/step-over-no-symbols.exp: New file.
19277
f2983cc3
AW
192782015-04-09 Andy Wingo <wingo@igalia.com>
19279
19280 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19281 after the Python tests.
19282
6d62641c
SDJ
192832015-04-08 Keith Seitz <keiths@redhat.com>
19284
19285 PR python/16699
19286 * gdb.python/py-completion.exp: New tests for completion.
19287 * gdb.python/py-completion.py (CompleteLimit1): New class.
19288 (CompleteLimit2): Likewise.
19289 (CompleteLimit3): Likewise.
19290 (CompleteLimit4): Likewise.
19291 (CompleteLimit5): Likewise.
19292 (CompleteLimit6): Likewise.
19293 (CompleteLimit7): Likewise.
19294
f3770638
PA
192952015-04-08 Pedro Alves <palves@redhat.com>
19296
19297 PR gdb/18214
19298 PR gdb/18216
19299 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19300 function.
19301 (main): Install it as SIGUSR1 handler.
19302 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19303 parameter. Always use "setup" as prefix. Toggle "set
19304 displaced-stepping" off/on depending on global. Don't switch to
19305 thread 1 here.
19306 (top level): Add displaced stepping "off/on" test axis. Update
19307 "setup" calls. Wrap each subtest with with_test_prefix. Test
19308 continuing with a queued signal in each thread.
19309
4496bed7
PA
193102015-04-08 Pedro Alves <palves@redhat.com>
19311
19312 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19313 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19314 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19315 Return early if running to main fails.
19316 * gdb.trace/while-stepping.exp: Likewise.
19317
b97fde92
PA
193182015-04-07 Pedro Alves <palves@redhat.com>
19319
19320 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19321 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19322 interact with inferior program.
19323
f71c18e7
PA
193242015-04-07 Pedro Alves <palves@redhat.com>
19325
19326 * lib/gdb.exp (inferior_spawn_id): New global.
19327 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19328 spawn id after processing the user code.
19329 (default_gdb_start): Set inferior_spawn_id.
19330 (send_inferior): New procedure.
19331 * lib/gdbserver-support.exp (gdbserver_start): Set
19332 inferior_spawn_id.
19333 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19334
6423214f
PA
193352015-04-07 Pedro Alves <palves@redhat.com>
19336
19337 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19338 * lib/gdbserver-support.exp (gdbserver_start): Make
19339 $server_spawn_id global.
19340 (gdbserver_start): Don't wait for gdbserver's spawn id with
19341 expect_background.
19342 (close_gdbserver): New procedure.
19343 (gdb_exit): Rename the default version and reimplement.
19344
71c0ee8c
PA
193452015-04-07 Pedro Alves <palves@redhat.com>
19346
72f4393d 19347 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19348 append the substituted item, not the original item.
19349
203bc29b
PA
193502015-04-07 Pedro Alves <palves@redhat.com>
19351
19352 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19353 gdb_expect.
19354
508a3ddf
PA
193552015-04-07 Pedro Alves <palves@redhat.com>
19356
19357 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19358 output appearing once only.
19359
9f6dbe2b
PA
193602015-04-07 Pedro Alves <palves@redhat.com>
19361
19362 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19363 that doesn't expect anything. Return early if running to main
19364 fails.
19365
337532fa
YQ
193662015-04-07 Yao Qi <yao.qi@linaro.org>
19367
19368 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19369 (child_function): Call alarm.
19370 (main): Move call to alarm into the loop.
19371 * gdb.threads/non-stop-fair-events.exp: Build program with
19372 -DTIMEOUT=$timeout.
19373
01b622d4
DE
193742015-04-06 Doug Evans <xdje42@gmail.com>
19375
19376 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19377 Fix dest parameter to board_info.
19378 (fpc_compile): Ditto.
19379 (gdb_compile_pascal): Rename dest arg to destfile.
19380
961f4160
PMR
193812015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19382
19383 * gdb.ada/funcall_ref.exp: New file.
19384 * gdb.ada/funcall_ref/foo.adb: New file.
19385
cafda597
YQ
193862015-04-02 Yao Qi <yao.qi@linaro.org>
19387
19388 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19389 is remote.
19390
fed040c6
GB
193912015-04-02 Gary Benson <gbenson@redhat.com>
19392
19393 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19394
d11916aa
SS
193952015-04-01 Sasha Smundak <asmundak@google.com>
19396
19397 * gdb.python/py-unwind-maint.c: New file.
19398 * gdb.python/py-unwind-maint.exp: New test.
19399 * gdb.python/py-unwind-maint.py: New file.
19400 * gdb.python/py-unwind.c: New file.
19401 * gdb.python/py-unwind.exp: New test.
19402 * gdb.python/py-unwind.py: New test.
19403
a1471180
PA
194042015-04-01 Pedro Alves <palves@redhat.com>
19405
19406 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19407 to fail instead of non-existent $test.
19408
0bbeccb1
PA
194092015-04-01 Pedro Alves <palves@redhat.com>
19410
19411 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19412 GDBFLAGS if not empty.
19413
3c724c8c
PMR
194142015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19415
19416 * gdb.ada/complete.exp: Remove "multi_line".
19417 * gdb.ada/info_exc.exp: Remove "multi_line".
19418 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19419 * gdb.ada/ptype_field.exp: Remove "multi_line".
19420 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19421 * gdb.ada/tagged.exp: Remove "multi_line".
19422 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19423 [multi_line ...]
19424 * gdb.btrace/delta.exp: Likewise.
19425 * gdb.btrace/exception.exp: Likewise.
19426 * gdb.btrace/function_call_history.exp: Likewise.
19427 * gdb.btrace/instruction_history.exp: Likewise.
19428 * gdb.btrace/nohist.exp: Likewise.
19429 * gdb.btrace/record_goto.exp: Likewise.
19430 * gdb.btrace/segv.exp: Likewise.
19431 * gdb.btrace/stepi.exp: Likewise.
19432 * gdb.btrace/tailcall.exp: Likewise.
19433 * gdb.btrace/unknown_functions.exp: Likewise.
19434 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19435 * lib/gdb.exp: Add the "multi_line" helper.
19436
4eec2deb
PA
194372015-04-01 Pedro Alves <palves@redhat.com>
19438
19439 * gdb.threads/tid-reuse.c: New file.
19440 * gdb.threads/tid-reuse.exp: New file.
19441
df8411da
SDJ
194422015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19443
19444 PR corefiles/16092
19445 * gdb.base/coredump-filter.c: New file.
19446 * gdb.base/coredump-filter.exp: Likewise.
19447
6ef37366
PM
194482015-03-27 Petr Machata <pmachata@redhat.com>
19449
19450 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19451 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19452 (Dwarf::assemble): Initialize them.
19453 (Dwarf::lines): New function.
19454
7ec911b0
JT
194552015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19456
19457 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19458 SYMBOL_PREFIX for x86_64-*-cygwin.
19459
ff908ebf
AW
194602015-03-26 Andy Wingo <wingo@igalia.com>
19461
19462 PR symtab/18148
19463 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19464 const_value but not a location.
19465 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19466 location defined in non-main CUs are visible.
19467
6d5f0679
YQ
194682015-03-26 Yao Qi <yao.qi@linaro.org>
19469
19470 PR testsuite/18139
19471 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19472 Add a line number entry for the same line.
19473 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19474 Add a line number entry for the same line.
19475
2898689b
YQ
194762015-03-26 Yao Qi <yao.qi@linaro.org>
19477
19478 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19479 .int 0.
19480 (func): Likewise. Add .Lfunc_1 label.
19481 Use .Lfunc_1 label.
19482 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19483 .int 0.
19484 (func): Likewise.
19485 Use .Lfunc_1 label.
19486
85180498
YQ
194872015-03-26 Yao Qi <yao.qi@linaro.org>
19488
19489 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19490 Call gdb_compile instead to compile each .s files without debug
19491 information.
19492
8aa08a8d
YQ
194932015-03-26 Yao Qi <yao.qi@linaro.org>
19494
19495 * gdb.base/savedregs.exp (process_saved_regs): Make
19496 "Saved registers:" optional in the pattern.
19497
66849923
MM
194982015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19499
19500 * gdb.btrace/next.exp: Merged into step.exp.
19501 * gdb.btrace/finish.exp: Merged into step.exp.
19502 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19503 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19504 "record goto" and checking the exact replay position.
19505 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19506 check for "Recording format" in "info record" output.
19507 * gdb.btrace/record_goto.exp: Choose test file based on target.
19508 * gdb.btrace/x86-record_goto.S: Renamed into ...
19509 * gdb.btrace/x86_64-record_goto.S: ... this.
19510 * gdb.btrace/i686-record_goto.S: New.
19511 * gdb.btrace/x86-tailcall.S: Renamed into ...
19512 * gdb.btrace/x86_64-tailcall.S: ... this.
19513 * gdb.btrace/i686-tailcall.S: New.
19514 * gdb.btrace/x86-tailcall.c: Renamed into ...
19515 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19516 separate statements. Update test.
19517 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19518 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19519 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19520 * gdb.btrace/tailcall.exp: Choose test file based on target.
19521 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19522
11cc1b74
MM
195232015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19524
19525 * gdb.btrace/exception.exp: Increase BTS buffer size.
19526
a25d8bf9
PA
195272015-03-24 Pedro Alves <palves@redhat.com>
19528
19529 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19530
856e7dd6
PA
195312015-03-24 Pedro Alves <palves@redhat.com>
19532
19533 * gdb.threads/schedlock.exp (test_step): No longer expect that
19534 "set scheduler-locking step" with "next" over a function call runs
19535 threads unlocked.
19536
ad235a41
AT
195372015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19538
19539 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19540
15630549
AT
195412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19542
19543 PR breakpoints/16466
19544 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19545 * gdb.mi/mi-pending.c (thread_func): New function.
19546 (int main): Add threading support required.
19547 * gdb.mi/mi-pending.exp: Add tests for this issue.
19548 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19549 (pendfunc2): Remove stdio dependency.
19550 * gdb.mi/mi-pendshr2.c: New file.
19551
693dca06
KS
195522015-03-23 Keith Seitz <keiths@redhat.com>
19553
19554 * gdb.linespec/keywords.c: New file.
19555 * gdb.linespec/keywords.exp: New file.
19556
7e993ebf
KS
195572015-03-23 Keith Seitz <keiths@redhat.com>
19558
19559 PR gdb/18021
19560 * gdb.dwarf2/staticvirtual.exp: New test.
19561
bc23328c
JK
195622015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19563
19564 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19565 * README: Remove HP-UX and gdb.hp.
19566 (configuration):
19567 * configure: Regenerate.
19568 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19569 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19570 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19571 gdb.hp/gdb.defects/Makefile.
19572 * gdb.hp/Makefile.in: File deleted.
19573 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19574 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19575 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19576 * gdb.hp/gdb.aCC/run.c: File deleted.
19577 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19578 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19579 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19580 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19581 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19582 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19583 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19584 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19585 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19586 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19587 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19588 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19589 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19590 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19591 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19592 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19593 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19594 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19595 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19596 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19597 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19598 * gdb.hp/gdb.compat/average.c: File deleted.
19599 * gdb.hp/gdb.compat/sum.c: File deleted.
19600 * gdb.hp/gdb.compat/xdb.c: File deleted.
19601 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19602 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19603 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19604 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19605 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19606 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19607 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19608 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19609 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19610 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19611 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19612 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19613 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19614 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19615 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19616 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19617 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19618 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19619 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19620 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19621 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19622 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19623 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19624 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19625 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19626 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19627 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19628 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19629 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19630 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19631 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19632 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19633 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19634 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19635 * gdb.hp/tools/odump: File deleted.
19636
8bf3b159
PA
196372015-03-19 Pedro Alves <palves@redhat.com>
19638
19639 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19640 (saw_thread_3): New globals.
19641 (top level): Increment them when an event for the corresponding
19642 thread is seen.
19643 (no thread starvation): New test.
19644
eb54c8bf
PA
196452015-03-19 Pedro Alves <palves@redhat.com>
19646
19647 * gdb.threads/continue-pending-status.c: New file.
19648 * gdb.threads/continue-pending-status.exp: New file.
19649
32d2e5d6
PA
196502015-03-18 Pedro Alves <palves@redhat.com>
19651
19652 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19653 Use gdb_is_target_remote instead of is_remote. Use
19654 gdb_test_multiple instead of gdb_expect. Exit early if
19655 gdb_test_multiple hits its internal matches. Tighten stepi tests
19656 expected output. Fail on exit with any signal, instead of just
19657 SIGILL.
19658
f68f11b7
YQ
196592015-03-18 Yao Qi <yao.qi@linaro.org>
19660
19661 PR tdep/18107
19662 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19663 variable.
19664 * gdb.base/catch-syscall.exp: Don't skip it on
19665 aarch64*-*-linux* target. Remove elements in all_syscalls.
19666 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19667 target.
19668 (setup_all_syscalls): New proc.
19669
ca5fd19b
YQ
196702015-03-16 Yao Qi <yao.qi@linaro.org>
19671
19672 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19673 (top level): Skip tests if valid_addr_p returns false for
19674 $cmd1 or $cmd2.
19675
85642ba0
AW
196762015-03-11 Andy Wingo <wingo@igalia.com>
19677
19678 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19679
e03f9645
YQ
196802015-03-11 Yao Qi <yao.qi@linaro.org>
19681
19682 * gdb.base/catch-syscall.exp: Fix typo in comments.
19683
5d0962b2
YQ
196842015-03-11 Yao Qi <yao.qi@linaro.org>
19685
19686 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19687
b2df3cef
PA
196882015-03-09 Pedro Alves <palves@redhat.com>
19689
19690 * dg-extract-results.py: Delete.
19691
ef878e53
PA
196922015-03-09 Pedro Alves <palves@redhat.com>
19693
19694 Merge dg-extract-results.sh from GCC upstream (r218843).
19695
19696 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19697 * dg-extract-results.sh: Use --text with grep to avoid issues with
19698 binary files. Fall back to cat -v, if that doesn't work.
19699
9494d219
PA
197002015-03-05 Pedro Alves <palves@redhat.com>
19701
19702 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19703
a8d9763a
SM
197042015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19705
19706 * lib/mi-support.exp (mi_expect_interrupt): Accept
19707 alternative event for when in all-stop mode.
19708
be9957b8
PA
197092015-03-04 Pedro Alves <palves@redhat.com>
19710
19711 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19712
d57be0f4 197132015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19714
19715 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19716
c214c7cf
AA
197172015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19718
19719 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19720 regexps for GDB's current line display, accept a hex address
19721 preceding the line number.
19722
6d74a497
AA
197232015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19724
19725 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19726 the 'arch1' variable for "s390*-linux*" targets.
19727
511aee7c
PA
197282015-03-04 Pedro Alves <palves@redhat.com>
19729
19730 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19731 (main): Pass missing retval argument to pthread_join call.
19732
95e50b27
PA
197332015-03-02 Pedro Alves <palves@redhat.com>
19734
19735 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19736 (top level): Call do_test with non-stop as well.
19737
28054d69
PA
197382015-03-02 Pedro Alves <palves@redhat.com>
19739
19740 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19741 -1.
19742
4fa5d7b4
AA
197432015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19744
19745 * gdb.arch/s390-vregs.exp: New test.
19746 * gdb.arch/s390-vregs.S: New file.
19747
97c18565
PA
197482015-02-27 Pedro Alves <palves@redhat.com>
19749
19750 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19751 call to catch_command_errors.
19752 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19753 catch_command_errors.
19754
a37bfa30
PA
197552015-02-27 Pedro Alves <palves@redhat.com>
19756
19757 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19758 "true" for boolean result.
19759 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19760 prototype of main.
19761
6f98576f
PA
197622015-02-27 Pedro Alves <palves@redhat.com>
19763
19764 * lib/unbuffer_output.c: New file.
19765 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19766 (main): Call gdb_unbuffer_output.
19767
eba5ab56
YQ
197682015-02-27 Yao Qi <yao.qi@linaro.org>
19769
19770 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19771 target.
19772
0def5aaa
DE
197732015-02-26 Doug Evans <dje@google.com>
19774
19775 * gdb.cp/class2.cc (Dbase, D): New classes.
19776 (main): New local delta.
19777 * gdb.cp/class2.exp: Test printing delta.
19778 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19779 (dynbar): New global.
19780 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19781
081a1c2c
JK
197822015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19783
19784 * gdb.compile/compile-ifunc.c: New file.
19785 * gdb.compile/compile-ifunc.exp: New file.
19786
2f41223f
AT
197872015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19788
19789 * gdb.base/structs.exp: Check for correct struct on finish.
19790
03eddd80
YQ
197912015-02-26 Yao Qi <yao.qi@linaro.org>
19792
19793 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19794 is zero.
19795
80c57053
JK
197962015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19797
19798 * gdb.arch/cordic.ko.bz2: New file.
19799 * gdb.arch/cordic.ko.debug.bz2: New file.
19800 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19801
21613c12
YQ
198022015-02-25 Yao Qi <yao.qi@linaro.org>
19803
19804 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19805 aarch64*-*-* target.
19806
d8b901ed
PA
198072015-02-23 Pedro Alves <palves@redhat.com>
19808
19809 * lib/gdb.exp (delete_breakpoints): Rewrite using
19810 gdb_test_multiple.
19811
e5b85ead
PA
198122015-02-23 Pedro Alves <palves@redhat.com>
19813
19814 * gdb.base/info-os.c: Include stdlib.h.
19815
85c3a371
DE
198162015-02-22 Doug Evans <xdje42@gmail.com>
19817
19818 PR symtab/17855
19819 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19820 is read after symbols have been re-read.
19821 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19822 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19823
96553a0c
DE
198242015-02-21 Doug Evans <dje@google.com>
19825
19826 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19827
97a0c697
JK
198282015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19829
19830 PR corefiles/17808
19831 * gdb.arch/i386-biarch-core.core.bz2: New file.
19832 * gdb.arch/i386-biarch-core.exp: New file.
19833
a47cd6e9
PA
198342015-02-21 Pedro Alves <palves@redhat.com>
19835
19836 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19837 runto_main fails.
19838
c5facdc4
PA
198392015-02-20 Pedro Alves <palves@redhat.com>
19840
19841 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19842 info probes.
19843
2db9a427
PA
198442015-02-20 Pedro Alves <palves@redhat.com>
19845
19846 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19847
60fb7e9e
PA
198482015-02-20 Pedro Alves <palves@redhat.com>
19849
19850 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19851 clean_restart before gdb_target_supports_trace.
19852
5c5019c2
PA
198532015-02-20 Pedro Alves <palves@redhat.com>
19854
19855 PR threads/18006
19856 * gdb.threads/clone-thread_db.c: New file.
19857 * gdb.threads/clone-thread_db.exp: New file.
19858
c9587f88
AT
198592015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19860
19861 PR breakpoints/16812
19862 * gdb.base/catch-gdb-caused-signals.c: New file.
19863 * gdb.base/catch-gdb-caused-signals.exp: New file.
19864
f6a88844
JM
198652015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19866
19867 * configure: Regenerated.
19868 * configure.ac: Use GDB_AC_TRANSFORM.
19869 * aclocal.m4: sinclude ../transform.m4.
19870
497c491b
JM
198712015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19872
19873 * lib/dtrace.exp: New file.
19874 * gdb.base/dtrace-probe.exp: Likewise.
19875 * gdb.base/dtrace-probe.d: Likewise.
19876 * gdb.base/dtrace-probe.c: Likewise.
19877 * lib/pdtrace.in: Likewise.
19878 * configure.ac: Output variables with the transformed names of
19879 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19880 * configure: Regenerated.
19881
03e98035
JM
198822015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19883
19884 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19885 expected message when trying to access $_probe_* convenience
19886 variables while not on a probe.
19887
63cc30e9
JK
198882015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19889
19890 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19891
0703599a
PA
198922015-02-11 Pedro Alves <pedro@codesourcery.com>
19893
19894 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19895 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19896
7e60a48e
DE
198972015-02-10 Doug Evans <xdje42@gmail.com>
19898
19899 * lib/gdb.exp (gdb_load): Always return a result.
19900
01b088bc
PA
199012015-02-10 Pedro Alves <palves@redhat.com>
19902
19903 * gdb.threads/signal-sigtrap.c: New file.
19904 * gdb.threads/signal-sigtrap.exp: New file.
19905
b05ec7a5
AT
199062015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19907
19908 * gdb.trace/no-attach-trace.c: New file.
19909 * gdb.trace/no-attach-trace.exp: New file.
19910
a2c2acaf
MW
199112015-02-09 Mark Wielaard <mjw@redhat.com>
19912
19913 * gdb.dwarf2/atomic.c: New file.
19914 * gdb.dwarf2/atomic-type.exp: Likewise.
19915
31fd9caa
MM
199162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19917
19918 * gdb.btrace/buffer-size.exp: Update "info record" output.
19919 * gdb.btrace/delta.exp: Update "info record" output.
19920 * gdb.btrace/enable.exp: Update "info record" output.
19921 * gdb.btrace/finish.exp: Update "info record" output.
19922 * gdb.btrace/instruction_history.exp: Update "info record" output.
19923 * gdb.btrace/next.exp: Update "info record" output.
19924 * gdb.btrace/nexti.exp: Update "info record" output.
19925 * gdb.btrace/step.exp: Update "info record" output.
19926 * gdb.btrace/stepi.exp: Update "info record" output.
19927 * gdb.btrace/nohist.exp: Update "info record" output.
19928
d33501a5
MM
199292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19930
19931 * gdb.btrace/buffer-size: New.
19932
f4abbc16
MM
199332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19934
19935 * gdb.btrace/delta.exp: Update "info record" output.
19936 * gdb.btrace/enable.exp: Update "info record" output.
19937 * gdb.btrace/finish.exp: Update "info record" output.
19938 * gdb.btrace/instruction_history.exp: Update "info record" output.
19939 * gdb.btrace/next.exp: Update "info record" output.
19940 * gdb.btrace/nexti.exp: Update "info record" output.
19941 * gdb.btrace/step.exp: Update "info record" output.
19942 * gdb.btrace/stepi.exp: Update "info record" output.
19943 * gdb.btrace/nohist.exp: Update "info record" output.
19944
b9d61307
SM
199452015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19946
19947 PR gdb/15678
19948 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19949
e584fdbc
PA
199502015-02-06 Pedro Alves <palves@redhat.com>
19951
19952 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19953 macro.
19954 (seconds_left, again): New globals.
19955 (main): Wait seconds_left in a 1-second sleep loop instead of
19956 sleeping 180 seconds. If 'again' is set, reset the seconds
19957 counter.
19958 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19959 'again' in the inferior before detaching. Print the seconds left.
19960 (options): New global.
19961 (top level): Build program with -DTIMEOUT=$timeout.
19962
77f41761
PA
199632015-02-06 Pedro Alves <palves@redhat.com>
19964
19965 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19966 determine how many seconds to pass to 'alarm'.
19967 * gdb.base/gdb-sigterm.exp (top level): Build program with
19968 -DTIMEOUT=$timeout.
19969 (do_test): Return success/failure indication. Add more verbose
19970 logging. Don't fail if 200 single steps are seen. Instead, fail
19971 when the test times out.
19972 (passes): New global.
19973 (top level): Break the testing loop if testing fails on any
19974 iteration. Use gdb_assert.
19975
b9394193
DB
199762015-02-04 Don Breazeal <donb@codesourcery.com>
19977
19978 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19979 and initialize them.
19980 (ipc_cleanup): New function.
19981 (main): Don't declare shmid, semid, and msqid. Add a call to
19982 atexit so that we call ipc_cleanup on exit.
19983
42d9e528
PA
199842015-02-04 Pedro Alves <palves@redhat.com>
19985
19986 * boards/native-extended-gdbserver.exp: Remove any target variant
19987 specifications from the board name before clearing the isremote
19988 flag from board_info.
19989
ae6ae975
DE
199902015-01-31 Doug Evans <xdje42@gmail.com>
19991
19992 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19993
cfb069a8
GB
199942015-01-31 Gary Benson <gbenson@redhat.com>
19995
19996 * gdb.base/completion.exp: Disable completion limiting for
19997 existing tests. Add new tests to check completion limiting.
19998 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19999
5dd31d79
DE
200002015-01-31 Doug Evans <xdje42@gmail.com>
20001
20002 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20003
9f050062
DE
200042015-01-31 Doug Evans <xdje42@gmail.com>
20005
20006 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20007 entries. Duplicate file section script entries.
20008 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20009 inlined entries. Add test for safe-path rejection.
20010 * gdb.python/py-section-script.c: Add duplicate inlined section script
20011 entries. Duplicate file section script entries.
20012 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20013 inlined entries. Add test for safe-path rejection.
20014
df25ebbd
JB
200152015-01-29 Joel Brobecker <brobecker@adacore.com>
20016
20017 * gdb.ada/disc_arr_bound: New testcase.
20018
4a0ca9ec
JB
200192015-01-29 Joel Brobecker <brobecker@adacore.com>
20020
20021 * gdb.ada/mi_var_array: New testcase.
20022
3a8b707a
DE
200232015-01-27 Doug Evans <dje@google.com>
20024
20025 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20026 Add test for objfile.filename, objfile.username after objfile
20027 has been unloaded.
20028
f8313f6e
JB
200292015-01-26 Joel Brobecker <brobecker@adacore.com>
20030
20031 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20032 the second test to print the name attribute of value
20033 returned by the call to gdb.lookup_type, and adjust
20034 the expected output accordingly.
20035
37bc665e
MW
200362015-01-25 Mark Wielaard <mjw@redhat.com>
20037
20038 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20039 * gdb.base/disp-step-fork.c: Include unistd.h.
20040 * gdb.base/siginfo-obj.c: Include stdio.h.
20041 * gdb.base/siginfo-thread.c: Likewise.
20042 * gdb.mi/non-stop.c: Include unistd.h.
20043 * gdb.mi/nsthrexec.c: Include stdio.h.
20044 * gdb.mi/pthreads.c: Include unistd.h.
20045 * gdb.modula2/unbounded1.c (main): Declare returns int.
20046 * gdb.reverse/consecutive-reverse.c: Likewise.
20047 * gdb.threads/create-fail.c: Include unistd.h.
20048 * gdb.threads/killed.c: Likewise.
20049 * gdb.threads/linux-dp.c: Likewise.
20050 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20051 * gdb.threads/non-ldr-exc-2.c: Likewise.
20052 * gdb.threads/non-ldr-exc-3.c: Likewise.
20053 * gdb.threads/non-ldr-exc-4.c: Likewise.
20054 * gdb.threads/pthreads.c: Include unistd.h.
20055 (main): Declare returns int.
20056 * gdb.threads/tls-main.c (foo): New declaration.
20057 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20058
f7e5394d
SM
200592015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20060
20061 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20062 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20063
743649fd
MW
200642015-01-15 Mark Wielaard <mjw@redhat.com>
20065
20066 * gdb.base/noreturn-return.c: New file.
20067 * gdb.base/noreturn-return.exp: New file.
20068 * gdb.base/noreturn-finish.c: New file.
20069 * gdb.base/noreturn-finish.exp: New file.
20070
198297aa
PA
200712015-01-23 Pedro Alves <palves@redhat.com>
20072
20073 * gdb.threads/continue-pending-after-query.c: New file.
20074 * gdb.threads/continue-pending-after-query.exp: New file.
20075
717cf30c
AG
200762015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20077 Simon Marchi <simon.marchi@ericsson.com>
20078
20079 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20080 * gdb.base/valgrind-db-attach.exp: Same.
20081 * gdb.base/valgrind-infcall.exp: Same.
20082 * lib/mi-support.exp (default_mi_gdb_start): Same.
20083 * lib/prompt.exp (default_prompt_gdb_start): Same.
20084 * lib/gdb.exp (default_gdb_spawn): Same.
20085 (gdb_interact): New.
20086
20087
4b62a76e
JK
200882015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20089
20090 * gdb.compile/compile.exp (pointer to jit function): New test.
20091
b4cdae6f
WW
200922015-01-17 Wei-cheng Wang <cole945@gmail.com>
20093
20094 * lib/gdb.exp (supports_process_record): Return true for
20095 powerpc*-*-linux*.
20096 (supports_reverse): Likewise.
20097
d221e7ef
DB
200982015-01-15 Don Breazeal <donb@codesourcery.com>
20099
20100 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20101 instead of checking whether the target board is remote and
20102 use spawn_wait_for_attach instead of exec/sleep.
20103 * gdb.base/attach-twice.exp: Likewise.
20104
bafffb51
JB
201052015-01-15 Joel Brobecker <brobecker@adacore.com>
20106
20107 * gdb.ada/var_arr_attrs: New testcase.
20108
5589af0e
PA
201092015-01-14 Pedro Alves <palves@redhat.com>
20110 Joel Brobecker <brobecker@adacore.com>
20111
20112 PR gdb/17525
20113 * gdb.base/bp-cmds-execution-x-script.c: New file.
20114 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20115 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20116
6c400b59
PA
201172015-01-14 Pedro Alves <palves@redhat.com>
20118
20119 PR cli/17828
20120 * gdb.base/batch-preserve-term-settings.c: New file.
20121 * gdb.base/batch-preserve-term-settings.exp: New file.
20122
e02c96a7
DE
201232015-01-13 Doug Evans <dje@google.com>
20124
20125 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20126 binary.
20127
576fd14c
JB
201282015-01-13 Joel Brobecker <brobecker@adacore.com>
20129
20130 * Makefile.in (clean mostlyclean): Do not delete *.py.
20131
04dccad0
JB
201322015-01-13 Joel Brobecker <brobecker@adacore.com>
20133
20134 * gdb.python/py-lookup-type.exp: New file.
20135
3d230f71
PA
201362015-01-12 Pedro Alves <palves@redhat.com>
20137
20138 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20139 restore GDBFLAGS before returning.
20140
7e67715d
JK
201412015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20142
20143 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20144 is_amd64_regs_target and is_x86_like_target.
20145
f2e0d4b4
DE
201462015-01-11 Doug Evans <xdje42@gmail.com>
20147
20148 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20149 is given without an explicit form.
20150 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20151 attributes.
20152 * gdb.dwarf/corrupt.exp: Ditto.
20153 * gdb.dwarf2/enum-type.exp: Ditto.
20154 * gdb.trace/entry-values.exp: Ditto.
20155 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20156
439250fb
DE
201572015-01-11 Doug Evans <xdje42@gmail.com>
20158
20159 PR gdb/15830
20160 * gdb.base/maint.exp: Remove references to "maint demangle".
20161 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20162 Add tests for explicitly specifying language to demangle.
20163 * gdb.dlang/demangle.exp: Ditto.
20164
ede9f622
PA
201652015-01-09 Pedro Alves <palves@redhat.com>
20166
20167 * gdb.threads/non-stop-fair-events.c: New file.
20168 * gdb.threads/non-stop-fair-events.exp: New file.
20169
a7b796db
PA
201702015-01-09 Pedro Alves <palves@redhat.com>
20171
20172 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20173 the global scope. Set a breakpoint after all threads are started
20174 rather than stepping over two source lines. Expect the prompt.
20175 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20176 global.
20177 (NUM): Now 15.
20178 (main): Use threads_started_barrier to wait for all threads to
20179 start. Main thread no longer calls thread_function. Exit after
20180 180 seconds.
20181 (loop): New function.
20182 (thread_function): Wait on threads_started_barrier barrier. Call
20183 'loop' at each iteration.
20184 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20185 threads have started, instead of hardcoding number of "next"
20186 steps. Use an access watchpoint instead of a write watchpoint.
20187
9665ffdd
PA
201882015-01-09 Pedro Alves <palves@redhat.com>
20189
20190 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20191 (thread_func): Wait on barrier.
20192 (main): Wait for all threads to start before stopping GDB.
20193 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20194 global.
20195 (thread1_func, thread2_func): Wait on barrier.
20196 (main): Wait for all threads to start before stopping GDB.
20197 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20198 New global.
20199 (thread1_func, thread2_func): Wait on barrier.
20200 (main): Wait for all threads to start before stopping GDB.
20201
c945a99f
PA
202022015-01-09 Pedro Alves <palves@redhat.com>
20203
20204 * gdb.threads/attach-many-short-lived-threads.c: New file.
20205 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20206
c1a747c1
PA
202072014-01-09 Pedro Alves <palves@redhat.com>
20208
20209 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20210 instead of to thread 2.
20211 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20212 Add barrier around each pthread_create call instead of around all
20213 calls.
20214 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20215 Set a break on thread_function and have the child threads hit it
20216 one at at a time.
20217
60b3033e
PA
202182015-01-09 Pedro Alves <palves@redhat.com>
20219
20220 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20221 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20222 false.
20223 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20224 checking whether the target board is remote.
20225 * gdb.multi/multi-attach.exp: Likewise.
20226 * gdb.python/py-sync-interp.exp: Likewise.
20227 * gdb.server/ext-attach.exp: Likewise.
20228 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20229 tests that need to attach, instead of checking whether the target
20230 board is remote at the top of the file.
20231
acc018ac
YQ
202322015-01-08 Yao Qi <yao@codesourcery.com>
20233
20234 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20235
50a18af8
JK
202362015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20237
20238 Fix testcase compilation.
20239 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20240
8503d6e1
JB
202412015-01-06 Joel Brobecker <brobecker@adacore.com>
20242
20243 * gdb.python/py-type.exp: Add a couple test about empty
20244 array creation, and negative-length array creation.
20245
cc73dbcc
DE
202462015-01-02 Doug Evans <xdje42@gmail.com>
20247
20248 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20249
0300bbc7
DE
202502015-01-02 Doug Evans <dje@google.com>
20251
20252 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20253
9d85a0ec
YQ
202542014-12-29 Yao Qi <yao@codesourcery.com>
20255
20256 * gdb.trace/entry-values.exp: Update comments. Rename variable
20257 bar_call_foo to returned_from_foo.
20258
87186c6a
MMN
202592014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20260
20261 PR gdb/17394
20262 * gdb.linespec/break-asm-file.c: New file.
20263 * gdb.linespec/break-asm-file.exp: New file.
20264 * gdb.linespec/break-asm-file0.s: New file.
20265 * gdb.linespec/break-asm-file1.s: New file.
20266
1bab7383
YQ
202672014-12-18 Nigel Stephens <nigel@mips.com>
20268 Maciej W. Rozycki <macro@codesourcery.com>
20269
20270 * gdb.base/float.exp: Handle the new output from "info float" on
20271 MIPS targets.
20272
1bc1068a
JK
202732014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20274
20275 Fix MinGW compilation.
20276 * gdb.compile/compile-ops.exp: Update untested message if
20277 !skip_compile_feature_tests.
20278 * gdb.compile/compile-setjmp.exp: Likewise.
20279 * gdb.compile/compile-tls.exp: Likewise.
20280 * gdb.compile/compile.exp: Likewise.
20281 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20282 supported on this host".
20283
b6615d10
DE
202842014-12-16 Doug Evans <xdje42@gmail.com>
20285
20286 * boards/stabs.exp: New file.
20287
25dda427
AA
202882014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20289
20290 * gdb.base/completion.exp: Adjust to format changes of "maint
20291 print user-registers".
20292
bf330350
CU
202932014-12-16 Catalin Udma <catalin.udma@freescale.com>
20294
20295 PR server/17457
20296 * gdb.arch/aarch64-fp.c: New file.
20297 * gdb.arch/aarch64-fp.exp: New file.
20298
395cf596
SDJ
202992014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20300
20301 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20302 r210637, r210913, r211666, r215400, r215817).
20303
20304 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20305 * dg-extract-results.py: New file.
20306 * dg-extract-results.sh: Use it if the environment seems
20307 suitable.
20308
20309 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20310
20311 * dg-extract-results.py (parse_run): Handle warnings that
20312 are printed before a test harness is run.
20313
20314 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20315
20316 * dg-extract-results.py (Named): Remove __cmp__ method.
20317 (output_variation): Use a key to sort variation.harnesses.
20318
20319 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20320
20321 * dg-extract-results.py: For Python 3, force sys.stdout to
20322 handle surrogate escape sequences.
20323 (safe_open): New function.
20324 (output_segment, main): Use it.
20325
20326 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20327
20328 * dg-extract-results.py (Prog.result_re): Include options
20329 in test name.
20330
20331 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20332
20333 * dg-extract-results.py (output_variation): Always sort if
20334 do_sum.
20335
e882ef3c
SM
203362014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20337
20338 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20339 as long as we get pagination notifications.
20340
4992aa20
JM
203412014-12-15 Jason Merrill <jason@redhat.com>
20342
20343 * Makefile.in (check-gdb.%): Restore.
20344 * README: Mention it.
20345
c1b5a1a6
JB
203462014-12-13 Joel Brobecker <brobecker@adacore.com>
20347
20348 * gdb.ada/str_uninit: New testcase.
20349
5537b577
JK
203502014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20351
20352 PR symtab/17642
20353 * gdb.base/vla-stub-define.c: New file.
20354 * gdb.base/vla-stub.c: New file.
20355 * gdb.base/vla-stub.exp: New file.
20356
bb2ec1b3
TT
203572014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20358 Jan Kratochvil <jan.kratochvil@redhat.com>
20359 Tom Tromey <tromey@redhat.com>
20360
20361 * configure.ac: Add gdb.compile/.
20362 * configure: Regenerate.
20363 * gdb.compile/Makefile.in: New file.
20364 * gdb.compile/compile-ops.exp: New file.
20365 * gdb.compile/compile-ops.c: New file.
20366 * gdb.compile/compile-tls.c: New file.
20367 * gdb.compile/compile-tls.exp: New file.
20368 * gdb.compile/compile-constvar.S: New file.
20369 * gdb.compile/compile-constvar.c: New file.
20370 * gdb.compile/compile-mod.c: New file.
20371 * gdb.compile/compile-nodebug.c: New file.
20372 * gdb.compile/compile-setjmp-mod.c: New file.
20373 * gdb.compile/compile-setjmp.c: New file.
20374 * gdb.compile/compile-setjmp.exp: New file.
20375 * gdb.compile/compile-shlib.c: New file.
20376 * gdb.compile/compile.c: New file.
20377 * gdb.compile/compile.exp: New file.
20378 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20379
4ff709eb
TT
203802014-12-12 Tom Tromey <tromey@redhat.com>
20381
20382 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20383 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20384
6dddd6a5
DE
203852014-12-12 Doug Evans <dje@google.com>
20386
20387 * lib/gdb-python.exp (get_python_valueof): New function.
20388 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20389
71c24708
AA
203902014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20391
20392 * gdb.base/completion.exp: Add test for completion of "info
20393 registers ".
20394
3e29f34a
MR
203952014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20396
20397 * gdb.base/func-ptrs.c: New file.
20398 * gdb.base/func-ptrs.exp: New file.
20399
fc126975
SM
204002014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20401
20402 PR breakpoints/17012
20403 * gdb.base/dprintf-detach.c: New file.
20404 * gdb.base/dprintf-detach.exp: New file.
20405
0a46d518
SM
204062014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20407
20408 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20409 * lib/gdb.exp (target_is_gdbserver): New procedure.
20410
a0be3e44
DE
204112014-12-08 Doug Evans <dje@google.com>
20412
20413 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20414
df1b803a
YQ
204152014-12-05 Yao Qi <yao@codesourcery.com>
20416
20417 * gdb.guile/scm-error.exp: Remove the third argument to
20418 gdb_remote_download.
20419 * gdb.guile/scm-frame-args.exp: Likewise.
20420 * gdb.guile/scm-section-script.exp: Likewise.
20421
ddb9f679
YQ
204222014-12-05 Yao Qi <yao@codesourcery.com>
20423
20424 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20425
86e4ed39
DE
204262014-12-04 Doug Evans <dje@google.com>
20427
20428 * gdb.python/py-objfile.exp: Add tests for
20429 objfile.add_separate_debug_file.
20430
7c50a931
DE
204312014-12-04 Doug Evans <dje@google.com>
20432
20433 * lib/gdb.exp (get_build_id): New function.
20434 (build_id_debug_filename_get): Rewrite to use it.
20435 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20436
621661e3
MR
204372014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20438
20439 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20440 `method(long)', not just 0x0.
20441 * gdb.cp/nsalias.exp: Align code labels to 4.
20442 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20443 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20444 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20445 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20446 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20447 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20448
29f0c3b7
DE
204492014-12-02 Doug Evans <dje@google.com>
20450
e1e061e7 20451 PR symtab/17602
29f0c3b7 20452 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20453 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20454 * gdb.cp/anon-ns.exp: Update.
20455
162078c8
NB
204562014-12-02 Nick Bull <nicholaspbull@gmail.com>
20457
20458 * gdb.python/py-events.py (inferior_call_handler): New.
20459 (register_changed_handler, memory_changed_handler): New.
20460 (test_events.invoke): Register new handlers.
20461 * gdb.python/py-events.exp: Add tests for inferior call,
20462 memory_changed and register_changed events.
20463
fdb09caf
AA
204642014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20465
20466 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20467 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20468 if the linker doesn't understand this.
20469
55cfb2c4
SM
204702014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20471
20472 * gdb.python/python.exp: Change expected reply to help().
20473
9e8cd6df
YQ
204742014-12-01 Yao Qi <yao@codesourcery.com>
20475
20476 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20477 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20478 * configure: Re-generated.
20479
6c659fc2
SC
204802014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20481
20482 * gdb.cp/chained-calls.cc: New file.
20483 * gdb.cp/chained-calls.exp: New file.
20484 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20485
d7fc3181
SM
204862014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20487
20488 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20489 * gdb.dwarf2/symtab-producer.exp: Same.
20490 * gdb.gdb/python-interrupts.exp: Same.
20491 * gdb.gdb/python-selftest.exp: Same.
20492 * gdb.python/py-linetable.exp: Same.
20493 * gdb.python/py-type.exp: Same.
20494 * gdb.python/py-value-cc.exp: Same.
20495 * gdb.python/py-value.exp: Same.
20496
10e79639
YQ
204972014-11-28 Yao Qi <yao@codesourcery.com>
20498
20499 * gdb.base/break-probes.exp: Match library name prefixed with
20500 sysroot.
20501
f28a0564
SM
205022014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20503
20504 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20505 test expected output. Add parentheses for the call to print.
20506 Remove L suffix from integers.
20507
3fe1ce1d
DE
205082014-11-26 Doug Evans <dje@google.com>
20509
20510 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20511
84429e27
YQ
205122014-11-22 Yao Qi <yao@codesourcery.com>
20513
20514 * gdb.trace/entry-values.c: Remove asms.
20515 (foo): Add foo_label.
20516 (bar): Add bar_label.
20517 * gdb.trace/entry-values.exp: Remove code computing foo's
20518 length and bar's length.
20519 (Dwarf::assemble): Invoke function_range for bar and use
20520 MACRO_AT_func for foo.
20521
26741859
YQ
205222014-11-22 Yao Qi <yao@codesourcery.com>
20523
20524 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20525 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20526 Use .Lgcc43_procstart instead of gcc43.
20527
45e44d27
JB
205282014-11-21 Joel Brobecker <brobecker@adacore.com>
20529
20530 * gdb.ada/n_arr_bound: New testcase.
20531
458c8db8
SDJ
205322014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20533
20534 PR breakpoints/10737
20535 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20536 test_catch_syscall_multi_arch.
20537 (test_catch_syscall_multi_arch): New function.
20538
43f3e411
DE
205392014-11-20 Doug Evans <xdje42@gmail.com>
20540
20541 * gdb.base/maint.exp: Update expected output.
20542
0d7b2549
AA
205432014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20544
20545 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20546 4-byte instruction on S390.
20547
8908fca5
JB
205482014-11-19 Joel Brobecker <brobecker@adacore.com>
20549
20550 * gdb.ada/arr_arr: New testcase.
20551
4a46959e
JB
205522014-11-19 Joel Brobecker <brobecker@adacore.com>
20553
20554 * gdb.ada/pkd_arr_elem: New Testcase.
20555
470e2f4e
LM
205562014-11-18 Luis Machado <lgustavo@codesourcery.com>
20557
20558 * gdb.reverse/break-precsave: Expect completion message for
20559 core file reads.
20560 * gdb.reverse/consecutive-precsave.exp: Likewise.
20561 * gdb.reverse/finish-precsave.exp: Likewise.
20562 * gdb.reverse/i386-precsave.exp: Likewise.
20563 * gdb.reverse/machinestate-precsave.exp: Likewise.
20564 * gdb.reverse/sigall-precsave.exp: Likewise.
20565 * gdb.reverse/solib-precsave.exp: Likewise.
20566 * gdb.reverse/step-precsave.exp: Likewise.
20567 * gdb.reverse/until-precsave.exp: Likewise.
20568 * gdb.reverse/watch-precsave.exp: Likewise.
20569
a267f3ad
AA
205702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20571
20572 * gdb.base/bp-permanent.c: Include unistd.h.
20573 * gdb.python/py-framefilter-mi.c (main): Add return type.
20574 * gdb.python/py-framefilter.c (main): Likewise.
20575 * gdb.trace/actions-changed.c (main): Likewise.
20576
12084a9a
AA
205772014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20578
20579 * gdb.mi/until.c: Add eye-catchers.
20580 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20581 line numbers.
20582
dc7e1a77
AA
205832014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20584
20585 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20586 function header variants in break1.c.
20587 * gdb.base/ena-dis-br.exp: Likewise.
20588 * gdb.base/hbreak2.exp: Likewise.
20589 * gdb.reverse/until-precsave.exp: Drop references to removed
20590 non-prototype function header variants in ur1.c.
20591 * gdb.reverse/until-reverse.exp: Likewise.
20592
41c77605
PM
205932014-11-17 Petr Machata <pmachata@redhat.com>
20594
20595 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20596 ${_cu_offset_size} bytes abbrev offset.
20597
34248c3a
DE
205982014-11-15 Doug Evans <xdje42@gmail.com>
20599
20600 PR symtab/17559
20601 * gdb.base/line-symtabs.exp: New file.
20602 * gdb.base/line-symtabs.c: New file.
20603 * gdb.base/line-symtabs.h: New file.
20604
646da059
YQ
206052014-11-14 Yao Qi <yao@codesourcery.com>
20606
20607 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20608 (func): Add label func_label.
20609 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20610 Replace low_pc and high_pc with MACRO_AT_range.
20611 Replace name, low_pc and high_pc with MACRO_AT_func.
20612
9301ebe6
YQ
206132014-11-14 Yao Qi <yao@codesourcery.com>
20614
20615 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20616 Replace name, low_pc and high_pc with MACRO_AT_func.
20617
f166b542
YQ
206182014-11-14 Yao Qi <yao@codesourcery.com>
20619
20620 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20621 produce debug information.
20622 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20623
0f6e71e3
YQ
206242014-11-14 Yao Qi <yao@codesourcery.com>
20625
20626 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20627 object and get function length.
20628 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20629 with MACRO_AT_func.
20630 (top-level): Replace gdb_compile and clean_restart with
20631 prepare_for_testing.
20632 * gdb.dwarf2/main.c (main): Add label main_label.
20633
876c4df9
YQ
206342014-11-14 Yao Qi <yao@codesourcery.com>
20635
20636 * lib/dwarf.exp (function_range): New procedure.
20637 (Dwarf::_handle_macro_at_func): New procedure.
20638 (Dwarf::_handle_macro_at_range): New procedure.
20639 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20640
02ad9cf1
YQ
206412014-11-14 Yao Qi <yao@codesourcery.com>
20642
20643 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20644 (_handle_attribute): New procedure.
20645
a59add0c
AA
206462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20647
20648 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20649 * gdb.base/call-sc.c (zed): Likewise.
20650 * gdb.base/checkpoint.c (main): Likewise.
20651 * gdb.base/dump.c (main): Likewise.
20652 * gdb.base/gcore.c (main): Likewise.
20653 * gdb.base/huge.c (main): Likewise.
20654 * gdb.base/multi-forks.c (main): Likewise.
20655 * gdb.base/pr10179-a.c (main): Likewise.
20656 * gdb.base/savedregs.c (main): Likewise.
20657 * gdb.base/sigaltstack.c (main): Likewise.
20658 * gdb.base/siginfo.c (main): Likewise.
20659 * gdb.base/structs.c (zed): Likewise.
20660 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20661 * gdb.mi/mi-syn-frame.c (main): Likewise.
20662 * gdb.mi/until.c (foo, main): Likewise.
20663 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20664 * gdb.base/solib-weak.c (foo): Declare.
20665 * gdb.base/attach-twice.c: Include stdio.h.
20666 * gdb.base/weaklib1.c: Likewise.
20667 * gdb.base/weaklib2.c: Likewise.
20668 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20669 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20670 unistd.h.
20671 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20672 * gdb.mi/mi-exit-code.c: Likewise.
20673 * gdb.base/break-interp-lib.c: Include string.h.
20674 * gdb.base/coremaker.c: Likewise.
20675 * gdb.base/testenv.c: Likewise.
20676 * gdb.python/py-finish-breakpoint.c: Likewise.
20677 * gdb.base/inferior-died.c: Include sys/wait.h.
20678 * gdb.base/fileio.c: Include time.h.
20679 * gdb.base/async-shell.c: Include unistd.h.
20680 * gdb.base/dprintf-non-stop.c: Likewise.
20681 * gdb.base/info-os.c: Likewise.
20682 * gdb.mi/mi-console.c: Likewise.
20683 * gdb.mi/watch-nonstop.c: Likewise.
20684 * gdb.python/py-events.c: Likewise.
20685 * gdb.base/async.c (baz): Move up before its invocation.
20686 * gdb.base/code_elim2.c (my_global_func): Likewise.
20687 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20688 * gdb.base/advance.c (func2): Likewise.
20689
3b5d5997
AA
206902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20691
20692 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20693 variant.
20694 * gdb.base/annota3.c: Likewise.
20695 * gdb.base/async.c: Likewise.
20696 * gdb.base/average.c: Likewise.
20697 * gdb.base/call-ar-st.c: Likewise.
20698 * gdb.base/call-rt-st.c: Likewise.
20699 * gdb.base/call-sc.c: Likewise.
20700 * gdb.base/call-strs.c: Likewise.
20701 * gdb.base/ending-run.c: Likewise.
20702 * gdb.base/execd-prog.c: Likewise.
20703 * gdb.base/exprs.c: Likewise.
20704 * gdb.base/foll-exec.c: Likewise.
20705 * gdb.base/foll-fork.c: Likewise.
20706 * gdb.base/foll-vfork.c: Likewise.
20707 * gdb.base/funcargs.c: Likewise.
20708 * gdb.base/gcore.c: Likewise.
20709 * gdb.base/jump.c: Likewise.
20710 * gdb.base/langs0.c: Likewise.
20711 * gdb.base/langs1.c: Likewise.
20712 * gdb.base/langs2.c: Likewise.
20713 * gdb.base/mips_pro.c: Likewise.
20714 * gdb.base/nodebug.c: Likewise.
20715 * gdb.base/opaque0.c: Likewise.
20716 * gdb.base/opaque1.c: Likewise.
20717 * gdb.base/recurse.c: Likewise.
20718 * gdb.base/run.c: Likewise.
20719 * gdb.base/scope0.c: Likewise.
20720 * gdb.base/scope1.c: Likewise.
20721 * gdb.base/setshow.c: Likewise.
20722 * gdb.base/setvar.c: Likewise.
20723 * gdb.base/shmain.c: Likewise.
20724 * gdb.base/shr1.c: Likewise.
20725 * gdb.base/shr2.c: Likewise.
20726 * gdb.base/sigall.c: Likewise.
20727 * gdb.base/signals.c: Likewise.
20728 * gdb.base/so-indr-cl.c: Likewise.
20729 * gdb.base/solib2.c: Likewise.
20730 * gdb.base/structs.c: Likewise.
20731 * gdb.base/sum.c: Likewise.
20732 * gdb.base/vforked-prog.c: Likewise.
20733 * gdb.base/watchpoint.c: Likewise.
20734 * gdb.reverse/shr2.c: Likewise.
20735 * gdb.reverse/until-reverse.c: Likewise.
20736 * gdb.reverse/ur1.c: Likewise.
20737 * gdb.reverse/watch-reverse.c: Likewise.
20738
066a77c5
AA
207392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20740
20741 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20742 variant.
20743 * gdb.base/sepdebug.exp: Drop references to removed code.
20744
4f204ea5
AA
207452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20746
20747 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20748 variant. Preserve original line numbering.
20749 * gdb.base/list1.c: Likewise.
20750
3b377a3a
AA
207512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20752
20753 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20754 variant.
20755 * gdb.base/break1.c: Likewise.
20756 * gdb.base/break.exp: Drop references to removed code.
20757
e444df73
AA
207582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20759
20760 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20761 variant.
20762
8008f2a7
AA
207632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20764
20765 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20766
a5a06887
AA
207672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20768
20769 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20770 logic into perform_all_tests() and invoke it with and without
20771 function header prototypes.
20772 (do_function_calls): Remove conditional XFAIL for PR 5318.
20773 (rerun_and_prepare): Remove duplicate code.
20774 (perform_all_tests): New. Main logic moved here.
20775
44dba9b9
AA
207762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20777
20778 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20779 code guarded by #ifdef NO_PROTOTYPES.
20780 (t_double_many_args): Likewise.
20781 (DEF_FUNC_MANY_ARGS_1): Likewise.
20782 (DEF_FUNC_VALUES_1): Likewise.
20783 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20784 guarded by #ifdef PROTOTYPES.
20785
d1fbcd56
AA
207862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20787
20788 * gdb.mi/mi-console.c: Add eye-catcher.
20789 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20790 instead of literal line number.
20791
b0e59b8f
AA
207922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20793
20794 * gdb.base/shr2.c: Add eye-catcher.
20795 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20796 line number.
20797
78f98cca
AA
207982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20799
20800 * gdb.base/jump.c: Add eye-catchers.
20801 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20802 numbers.
20803
58fa2af0
AA
208042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20805
20806 * gdb.base/execd-prog.c: Add eye-catchers.
20807 * gdb.base/foll-exec.c: Likewise.
20808 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20809 line numbers.
20810
04e5059b
AA
208112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20812
20813 * gdb.base/ending-run.c: Add eye-catchers.
20814 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20815 literal line numbers.
20816
dbfdb174
AA
208172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20818
20819 * gdb.base/call-rt-st.c: Add eye-catchers.
20820 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20821 literal line numbers.
20822
888a2ade
AA
208232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20824
20825 * gdb.base/call-ar-st.c: Add eye-catchers.
20826 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20827 literal line numbers.
20828
6acc2dde
AA
208292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20830
20831 * gdb.base/average.c: Add eye-catchers.
20832 * gdb.base/sum.c: Likewise.
20833 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20834 regexps dynamically.
20835
9ecfcd1d
AA
208362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20837
20838 * gdb.base/solib1.c: Add eye-catchers.
20839 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20840 literal line numbers.
20841
78708b7c
PA
208422014-11-12 Pedro Alves <palves@redhat.com>
20843
20844 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20845 leader has exited.
20846
af48d08f
PA
208472014-11-12 Pedro Alves <palves@redhat.com>
20848
20849 * gdb.arch/i386-bp_permanent.c: New file.
20850 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20851 (srcfile): Set to i386-bp_permanent.c.
20852 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20853 that stepi does not execute the 'leave' instruction, instead of
20854 testing it does execute.
20855 * gdb.base/bp-permanent.c: New file.
20856 * gdb.base/bp-permanent.exp: New file.
20857
af3768e9
DE
208582014-11-10 Doug Evans <xdje42@gmail.com>
20859
20860 PR symtab/17564
20861 * gdb.base/symtab-search-order.exp: New file.
20862 * gdb.base/symtab-search-order.c: New file.
20863 * gdb.base/symtab-search-order-1.c: New file.
20864 * gdb.base/symtab-search-order-shlib-1.c: New file.
20865
9de00a4a
PA
208662014-11-07 Pedro Alves <palves@redhat.com>
20867
20868 PR gdb/17511
20869 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20870 i?86-*-linux*.
20871
e0f52461
SC
208722014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20873
20874 PR c++/17494
20875 * gdb.cp/pr17494.cc: New file.
20876 * gdb.cp/pr17494.exp: New file.
20877
6ce8c980
YQ
208782014-11-02 Yao Qi <yao@codesourcery.com>
20879
20880 * gdb.python/python.exp: Get working directory and match the
20881 output of "set extended-prompt \\w " with it.
20882
02be9a71
DE
208832014-10-30 Doug Evans <dje@google.com>
20884
20885 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20886 in objfiles.
20887 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20888 in progspaces.
20889
3bdff46b
LM
208902014-10-30 Janis Johnson <janisjo@codesourcery.com>
20891
20892 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20893 * gdb.base/realname-expand.exp: Likewise.
20894 * gdb.linespec/macro-relative.exp: Likewise.
20895
ab917dfb
PA
208962014-10-29 Pedro Alves <palves@redhat.com>
20897
20898 PR gdb/17408
20899 * gdb.threads/schedlock.c (some_function): New function.
20900 (call_function): New global.
20901 (MAYBE_CALL_SOME_FUNCTION): New macro.
20902 (thread_function): Call it.
20903 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20904 and use it instead of a global counter. Adjust all callers.
20905 (get_current_thread): Use "find current thread" for test message
20906 here rather than having all callers pass down the same string.
20907 (goto_loop): New procedure, factored out from ...
20908 (my_continue): ... this.
20909 (step_ten_loops): Change parameter from test message to command to
20910 use. Adjust.
20911 (list_count): Delete global.
20912 (check_result): New procedure, factored out from duplicate top
20913 level code.
20914 (continue tests): Wrap in with_test_prefix.
20915 (test_step): New procedure, factored out from duplicate top level
20916 code.
20917 (top level): Test "step" in combination with all scheduler-locking
20918 modes. Test "next" in combination with all scheduler-locking
20919 modes, and in combination with stepping over a function call or
20920 not.
20921 * gdb.threads/next-bp-other-thread.c: New file.
20922 * gdb.threads/next-bp-other-thread.exp: New file.
20923
d3d4baed
PA
209242014-10-29 Pedro Alves <palves@redhat.com>
20925
20926 PR python/17372
20927 * gdb.python/python.exp: Test a multi-line command that spawns
20928 interactive Python.
20929 * gdb.base/multi-line-starts-subshell.exp: New file.
20930
563e8d85
YQ
209312014-10-29 Yao Qi <yao@codesourcery.com>
20932
20933 * gdb.base/fileio.exp: Make directories on host.
20934
0ea4d52e
YQ
209352014-10-29 Yao Qi <yao@codesourcery.com>
20936
20937 * gdb.base/fileio.c (test_write): Close the file.
20938
7f5ef605
PA
209392014-10-28 Pedro Alves <palves@redhat.com>
20940
20941 PR gdb/12623
20942 * gdb.base/sigstep.c (no_handler): New global.
20943 (main): If 'no_handler is true, set the signal handlers to
20944 SIG_IGN.
20945 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20946 with_sw_watch and no_handler parameters. Handle them.
20947 (top level) <stepping over handler when stopped at a breakpoint
20948 test>: Add a test axis for testing with a software watchpoint, and
20949 another for testing with the signal handler set to SIG_IGN.
20950 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20951 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20952
abbdbd03
PA
209532014-10-28 Pedro Alves <palves@redhat.com>
20954
20955 PR gdb/17511
20956 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20957 * gdb.base/sigstep.exp (other_handler_location): New global.
20958 (advance): Support stepping into the signal handler, and running
20959 commands while in the handler.
20960 (in_handler_map): New global.
20961 (top level): In the advance test, add combinations for getting
20962 into the handler with stepping commands, and for running commands
20963 in the handler. Add comment descripting the advancei tests.
20964
1df4399f
PA
209652014-10-28 Pedro Alves <palves@redhat.com>
20966
20967 * gdb.base/sigstep.exp: Use build_executable instead of
20968 prepare_for_testing.
20969 (top level): Move code that starts GDB, runs to main and creates a
20970 display to ...
20971 (restart): ... this new procedure.
20972 (top level): Move backtrace from signal handler test to ...
20973 (validate_backtrace): ... this new procedure.
20974 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20975 with_test_prefix. Always restart GDB.
20976 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20977 with_test_prefix. Always restart GDB. No need to delete
20978 breakpoints after the test.
20979 (test_skip_handler): Remove prefix parameter.
20980 (skip_over_handler, breakpoint_to_handler)
20981 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20982 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20983 restart GDB. No need to delete breakpoints after the test.
20984 (top level): Use foreach to call the test procedures with
20985 different commands.
20986
a5b6e449
PA
209872014-10-28 Pedro Alves <palves@redhat.com>
20988
20989 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20990 instead of GNATS numbers.
20991 * gdb.base/sigbpt.exp: Likewise.
20992 * gdb.base/siginfo.exp: Likewise.
20993 * gdb.base/sigstep.exp: Likewise.
20994
e5f8a7cc
PA
209952014-10-27 Pedro Alves <palves@redhat.com>
20996
20997 * gdb.base/sigstep.c (dummy): New global.
20998 (main): Issue a couple writes to the new global.
20999 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21000 procedures.
21001 (skip_over_handler): Use test_skip_handler.
21002 (top level): Call skip_over_handler for stepi and nexti too.
21003 (breakpoint_over_handler): Use test_skip_handler.
21004 (top level): Call breakpoint_over_handler for stepi and nexti too.
21005
763905a3
YQ
210062014-10-27 Yao Qi <yao@codesourcery.com>
21007
21008 * gdb.trace/tfile.c (adjust_function_address)
21009 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21010 function descriptor.
21011
6f259a23
DB
210122014-10-24 Don Breazeal <donb@codesourcery.com>
21013
21014 * gdb.base/foll-fork.exp (test_follow_fork,
21015 catch_fork_child_follow): Check for updated fork messages emitted
21016 from infrun.c.
21017 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21018 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21019 vfork_and_exec_child_follow_through_step): Check for updated vfork
21020 messages emitted from infrun.c.
21021
09dd9a69
PA
210222014-10-24 Pedro Alves <palves@redhat.com>
21023
21024 * gdb.base/corefile.exp: Remove references to ultrix.
21025 * gdb.base/interrupt.exp: Likewise.
21026 * gdb.base/whatis.exp: Likewise.
21027 * gdb.gdb/selftest.exp: Likewise.
21028 * gdb.threads/manythreads.exp: Likewise.
21029 * gdb.threads/print-threads.exp: Likewise.
21030 * gdb.threads/pthreads.exp:: Likewise.
21031 * gdb.threads/schedlock.exp: Likewise.
21032
3433cfa5
SC
210332014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21034
21035 * gdb.cp/non-trivial-retval.cc: Add a test case.
21036 * gdb.cp/non-trivial-retval.exp: Add a test.
21037
092f880b
YQ
210382014-10-20 Yao Qi <yao@codesourcery.com>
21039
21040 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21041 * gdb.python/py-objfile-script-gdb.py: New file.
21042 * gdb.python/py-objfile-script.exp: Update reference to
21043 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21044 of remote_download. Remove the dest file.
21045
acbdb7f3
YQ
210462014-10-20 Yao Qi <yao@codesourcery.com>
21047
21048 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21049 * gdb.base/step-line.exp: Likewise.
21050 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21051 * gdb.dwarf2/dw2-basic.exp: Likewise.
21052 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21053 * gdb.dwarf2/dw2-filename.exp: Likewise.
21054 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21055 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21056 * gdb.dwarf2/dw2-producer.exp: Likewise.
21057 * gdb.dwarf2/mac-fileno.exp: Likewise.
21058 * gdb.python/py-frame-args.exp: Likewise.
21059 * gdb.python/py-framefilter.exp: Likewise.
21060 * gdb.python/py-mi.exp: Likewise.
21061 * gdb.python/py-objfile-script.exp: Likewise
21062 * gdb.python/py-pp-integral.exp: Likewise.
21063 * gdb.python/py-pp-re-notag.exp: Likewise.
21064 * gdb.python/py-prettyprint.exp: Likewise.
21065 * gdb.python/py-section-script.exp: Likewise.
21066 * gdb.python/py-typeprint.exp: Likewise.
21067 * gdb.python/py-xmethods.exp: Likewise.
21068 * gdb.stabs/weird.exp: Likewise.
21069 * gdb.xml/tdesc-regs.exp: Likewise.
21070
bd286a29
KCY
210712014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21072
21073 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21074 (out_cu): Use addr_len for the size of addresses.
21075 (out_line): Likewise. Size DW_LNE_set_address instruction
21076 according to addr_len.
21077 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21078 (FUNC): Add START_INSNS to definition.
21079
673dc4a0
YQ
210802014-10-18 Yao Qi <yao@codesourcery.com>
21081
21082 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21083 gdb_has_argv0 return true.
21084 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21085 check [target_info exists noargs], check [gdb_has_argv0]
21086 instead.
21087 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21088 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21089 procedures.
21090
4ffbba72
DE
210912014-10-17 Doug Evans <dje@google.com>
21092
21093 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21094 event.
21095 * gdb.python/py-events.py: Add clear_objfiles event.
21096
d096d8c1
DE
210972014-10-17 Doug Evans <dje@google.com>
21098
21099 * gdb.python/py-objfile.exp: Test progspace attribute.
21100
a80db015
LM
211012014-10-17 Luis Machado <lgustavo@codesourcery.com>
21102
21103 * gdb.guile/scm-breakpoint.exp: Do not assume any
21104 directory separators when matching source file paths.
21105 * gdb.python/py-breakpoint.exp: Likewise.
21106 * gdb.reverse/break-precsave.exp: Likewise.
21107 * gdb.reverse/break-reverse.exp: Likewise.
21108 * gdb.reverse/consecutive-precsave.exp: Likewise.
21109 * gdb.reverse/finish-precsave.exp: Likewise.
21110 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21111 * gdb.reverse/finish-reverse.exp: Likewise.
21112 * gdb.reverse/i386-precsave.exp: Likewise.
21113 * gdb.reverse/i387-env-reverse.exp: Likewise.
21114 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21115 * gdb.reverse/machinestate-precsave.exp: Likewise.
21116 * gdb.reverse/machinestate.exp: Likewise.
21117 * gdb.reverse/sigall-precsave.exp: Likewise.
21118 * gdb.reverse/solib-precsave.exp: Likewise.
21119 * gdb.reverse/step-precsave.exp: Likewise.
21120 * gdb.reverse/until-precsave.exp: Likewise.
21121 * gdb.reverse/watch-precsave.exp: Likewise.
21122 * gdb.reverse/watch-reverse.exp: Likewise.
21123
b22089ab
YQ
211242014-10-17 Yao Qi <yao@codesourcery.com>
21125
21126 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21127 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21128
6c4486e6
PA
211292014-10-17 Pedro Alves <palves@redhat.com>
21130
21131 PR gdb/17471
21132 * gdb.base/bg-execution-repeat.c: New file.
21133 * gdb.base/bg-execution-repeat.exp: New file.
21134
0ff33695
PA
211352014-10-17 Pedro Alves <palves@redhat.com>
21136
21137 PR gdb/17300
21138 * gdb.base/continue-all-already-running.c: New file.
21139 * gdb.base/continue-all-already-running.exp: New file.
21140
6fdebc3d
PA
211412014-10-17 Pedro Alves <palves@redhat.com>
21142
21143 PR gdb/17472
21144 * gdb.base/annota-input-while-running.c: New file.
21145 * gdb.base/annota-input-while-running.exp: New file.
21146
32a8097b
PA
211472014-10-17 Pedro Alves <palves@redhat.com>
21148
21149 * gdb.base/callfuncs.exp: emove references to osf.
21150 * gdb.base/sigall.exp: Likewise.
21151 * gdb.gdb/selftest.exp: Likewise.
21152 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21153 * gdb.mi/non-stop.c: Likewise.
21154 * gdb.mi/pthreads.c: Likewise.
21155 * gdb.reverse/sigall-precsave.exp: Likewise.
21156 * gdb.reverse/sigall-reverse.exp: Likewise.
21157 * gdb.threads/pthreads.c: Likewise.
21158 * gdb.threads/pthreads.exp: Likewise.
21159
7a3517ff
YQ
211602014-10-17 Yao Qi <yao@codesourcery.com>
21161
21162 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21163 check 'target_info exists noargs'.
21164 (test_command_prompt_position): Likewise.
21165 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21166 Remove "set args".
21167 (progvar_simple_while_test): Likewise.
21168 (progvar_complex_if_while_test): Likewise.
21169 (if_while_breakpoint_command_test): Likewise.
21170 (infrun_breakpoint_command_test): Likewise.
21171 (breakpoint_command_test): Likewise.
21172 (watchpoint_command_test): Likewise.
21173 (bp_deleted_in_command_test): Likewise.
21174 (temporary_breakpoint_commands): Likewise.
21175
bb99c472
YQ
211762014-10-16 Yao Qi <yao@codesourcery.com>
21177
21178 * gdb.base/remotetimeout.exp: Remove noargs checking.
21179
7c16b83e
PA
211802014-10-15 Pedro Alves <palves@redhat.com>
21181
21182 PR breakpoints/9649
21183 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21184 * gdb.base/breakpoint-in-ro-region.exp
21185 (probe_target_hardware_step): New procedure.
21186 (top level): Probe hardware stepping and hardware breakpoint
21187 support. Test stepping through a read-only region, with both
21188 "breakpoint auto-hw" on and off and both "always-inserted" on and
21189 off.
21190
35a49624
IB
211912014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21192
21193 * gdb.dlang/demangle.exp: Update for demangling changes.
21194
2d1c107c
SC
211952014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21196
21197 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21198 * gdb.cp/non-trivial-retval.exp: Add new tests.
21199
778811d5
SC
212002014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21201
21202 PR c++/13403
21203 PR c++/15154
21204 * gdb.cp/non-trivial-retval.cc: New file.
21205 * gdb.cp/non-trivial-retval.exp: New file.
21206
10c5f0a8
YQ
212072014-10-15 Yao Qi <yao@codesourcery.com>
21208
21209 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21210 remote host.
21211
65d7b369
YQ
212122014-10-15 Yao Qi <yao@codesourcery.com>
21213
21214 * gdb.python/py-symbol.exp: Match file base name if host is
21215 remote, otherwise match file name with dir name.
21216 * gdb.python/py-symtab.exp: Likewise.
21217 * gdb.python/python.exp: Likewise.
21218
46dc1394
YQ
212192014-10-15 Yao Qi <yao@codesourcery.com>
21220
21221 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21222 pattern.
21223 * gdb.python/py-symtab.exp: Likewise.
21224 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21225 locationn.
21226
c40cc657
JB
212272014-10-14 Joel Brobecker <brobecker@adacore.com>
21228
21229 * gdb.ada/addr_arith: New testcase.
21230
2abf49e1
MR
212312014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21232
21233 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21234 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21235 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21236 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21237
f7088df3
SDJ
212382014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21239
21240 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21241 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21242 * gdb.arch/stap-eval-lang-ada.exp: New file.
21243
4dc06805
YQ
212442014-10-14 Yao Qi <yao@codesourcery.com>
21245
21246 * gdb.mi/mi-var-child.c (nothing1): New function.
21247 (nothing2): New function.
21248 (do_children_tests): Set function pointers by nothing1 and
21249 nothing2.
21250 * gdb.mi/mi-var-child.exp: Step over new added statements.
21251 Update test to match the new output.
21252 * gdb.mi/var-cmd.c (nothing1): New function.
21253 (nothing2): New function.
21254 (do_children_tests): Set function pointers by nothing1 and
21255 nothing2.
21256 * gdb.mi/mi-var-display.exp: Update test to match output.
21257 Step to the line specified by $line_dct_nothing.
21258 Increase the number of lines to step.
21259
46a93de2
YQ
212602014-10-14 Yao Qi <yao@codesourcery.com>
21261
21262 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21263 tests.
21264 * gdb.mi/mi2-var-child.exp: Likewise.
21265
14ea52ee
DE
212662014-10-13 Doug Evans <dje@google.com>
21267
21268 * gdb.python/py-objfile.exp: Change name of file name test.
21269
e5c6e92b
DE
212702014-10-13 Doug Evans <dje@google.com>
21271
21272 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21273 from the start of the CU.
21274
c780cc2f
JK
212752014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21276 Yao Qi <yao@codesourcery.com>
21277
21278 Fix "save breakpoints" for "catch" command.
21279 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21280 Remove -nonewline. Match also the added "main" line.
21281
99894e11
JK
212822014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21283
21284 Fix "save breakpoints" for "disable $bpnum" command.
21285 * gdb.base/save-bp.c (main): Add label.
21286 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21287
6e1ac5a3
JK
212882014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21289
21290 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21291
754dd2b0
YQ
212922014-10-11 Yao Qi <yao@codesourcery.com>
21293
21294 * gdb.server/server-kill.exp: Execute command
21295 "set remote trace-status-packet on" before "tstatus".
21296
f90183d7
YQ
212972014-10-11 Yao Qi <yao@codesourcery.com>
21298
21299 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21300 (main): Call getppid.
21301 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21302 and continue to it. Read variable "server_pid".
21303
bf40a607
YQ
213042014-10-11 Yao Qi <yao@codesourcery.com>
21305
21306 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21307
052ca370
YQ
213082014-10-11 Yao Qi <yao@codesourcery.com>
21309
21310 * gdb.threads/thread-find.exp: Don't execute command
21311 "info threads".
21312 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21313 * gdb.threads/linux-dp.exp: Don't check the condition
21314 $threads_created equals to zero.
21315
3831839c
PA
213162014-10-10 Pedro Alves <palves@redhat.com>
21317
21318 * gdb.base/bigcore.exp: Remove references to IRIX.
21319 * gdb.base/funcargs.exp: Likewise.
21320 * gdb.base/interrupt.exp: Likewise.
21321 * gdb.base/mips_pro.exp: Likewise.
21322 * gdb.base/nodebug.exp: Likewise.
21323 * gdb.base/setvar.exp: Likewise.
21324 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21325
8b9a549d
PA
213262014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21327 Pedro Alves <palves@redhat.com>
21328
21329 PR symtab/14466
21330 * gdb.base/vdso-warning.c: New file.
21331 * gdb.base/vdso-warning.exp: New file.
21332
d48ba5e8
DE
213332014-10-02 Doug Evans <dje@google.com>
21334
21335 * gdb.base/structs.c (main): Don't run forever.
21336
2278c276
PA
213372014-10-02 Pedro Alves <palves@redhat.com>
21338
21339 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21340 (top level) <stop threads 1, stop threads 2>: Use it.
21341
b57bacec
PA
213422014-10-02 Pedro Alves <palves@redhat.com>
21343
21344 * gdb.threads/break-while-running.exp (test): Add new
21345 'update_thread_list' argument. Skip "info threads" if false.
21346 (top level): Add new 'update_thread_list' axis.
21347
13fd3ff3
PA
213482014-10-02 Pedro Alves <palves@redhat.com>
21349
21350 PR breakpoints/17431
21351 * gdb.base/execl-update-breakpoints.c: New file.
21352 * gdb.base/execl-update-breakpoints.exp: New file.
21353
0fec99e8
PA
213542014-10-01 Pedro Alves <palves@redhat.com>
21355
21356 * gdb.base/breakpoint-in-ro-region.c: New file.
21357 * gdb.base/breakpoint-in-ro-region.exp: New file.
21358
2ddf4301
SM
213592014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21360
21361 * gdb.mi/mi-exit-code.exp: New file.
21362 * gdb.mi/mi-exit-code.c: New file.
21363
6a5f3f43
YQ
213642014-09-30 Yao Qi <yao@codesourcery.com>
21365
21366 * lib/prelink-support.exp (build_executable_own_libs): Error if
21367 the target isn't native.
21368
345bcc73
YQ
213692014-09-30 Yao Qi <yao@codesourcery.com>
21370
21371 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21372 false.
21373
a25a5a45
PA
213742014-09-22 Pedro Alves <palves@redhat.com>
21375
21376 * gdb.threads/break-while-running.exp: New file.
21377 * gdb.threads/break-while-running.c: New file.
21378
00ba3162
YQ
213792014-09-19 Yao Qi <yao@codesourcery.com>
21380
21381 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21382 Invoke test. Restart GDB with --readnow and invoke test again.
21383
c3b7b696
YQ
213842014-09-19 Yao Qi <yao@codesourcery.com>
21385
21386 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21387 proc set_breakpoint_on_gcd_function. Invoke
21388 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21389 invoke set_breakpoint_on_gcd_function again.
21390
2b4fd423
DE
213912014-09-18 Doug Evans <dje@google.com>
21392
21393 * gdb.dwarf2/symtab-producer.exp: New file.
21394
a5947601
SDJ
213952014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21396
21397 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21398 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21399 * gdb.base/global-var-nested-by-dso.c: Likewise.
21400 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21401
91c19059
SDJ
214022014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21403 Pedro Alves <palves@redhat.com>
21404
21405 * gdb.base/watch-bitfields.exp: Pass string other than test file
21406 name to prepare_for_testing.
21407 (watch): New procedure.
21408 (expect_watchpoint): Use with_test_prefix.
21409 (top level): Factor out tests to ...
21410 (test_watch_location, test_regular_watch): ... these new
21411 procedures, and use with_test_prefix and gdb_continue_to_end.
21412
bb9d5f81
PP
214132014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21414
21415 PR breakpoints/12526
21416 * gdb.base/watch-bitfields.exp: New file.
21417 * gdb.base/watch-bitfields.c: New file.
21418
635856f5
PA
214192014-09-16 Pedro Alves <palves@redhat.com>
21420
21421 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21422 software and hardware addresses, not software address against
21423 itself.
21424
7280ceea
PA
214252014-09-16 Pedro Alves <palves@redhat.com>
21426
21427 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21428 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21429
428b16bd
PA
214302014-09-16 Pedro Alves <palves@redhat.com>
21431
21432 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21433 files.
21434 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21435 "*-*-vxworks*" throughout.
21436 * gdb.base/break.exp: Likewise.
21437 * gdb.base/default.exp: Likewise.
21438 * gdb.base/scope.exp: Likewise.
21439 * gdb.base/sepdebug.exp: Likewise.
21440 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21441 throughout.
21442 * gdb.base/run.c: Likewise.
21443 * gdb.base/sepdebug.c: Likewise.
21444 * gdb.hp/gdb.aCC/run.c: Likewise.
21445 * gdb.reverse/until-reverse.c: Likewise.
21446 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21447
666d413c
YQ
214482014-09-16 Yao Qi <yao@codesourcery.com>
21449
21450 * boards/local-remote-host-native.exp: New file.
21451
57cbd724
DE
214522014-09-14 Doug Evans <xdje42@gmail.com>
21453
21454 * gdb.threads/queue-signal.c (thread_count): New variable.
21455 (thread_count_mutex, thread_count_condvar): New variables.
21456 (incr_thread_count, wait_all_threads_running): New functions.
21457 (main): Wait for all threads to be in their thread functions.
21458
81219e53
DE
214592014-09-13 Doug Evans <xdje42@gmail.com>
21460
21461 * gdb.threads/queue-signal.c: New file.
21462 * gdb.threads/queue-signal.exp: New file.
21463
3714cea7
DE
214642014-09-13 Doug Evans <xdje42@gmail.com>
21465
21466 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21467 be consistent with what default_gdb_init uses.
21468 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21469 the plain text of the prompt. Add some logging printfs.
21470 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21471
fa43b1d7
PA
214722014-09-12 Pedro Alves <palves@redhat.com>
21473
21474 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21475 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21476 * gdb.arch/i386-size-overlap.exp: Likewise.
21477 * gdb.arch/i386-size.exp: Likewise.
21478 * gdb.arch/i386-unwind.exp: Likewise.
21479 * gdb.base/a2-run.exp: Likewise.
21480 * gdb.base/break.exp: Likewise.
21481 * gdb.base/charset.exp: Likewise.
21482 * gdb.base/chng-syms.exp: Likewise.
21483 * gdb.base/commands.exp: Likewise.
21484 * gdb.base/dbx.exp: Likewise.
21485 * gdb.base/find.exp: Likewise.
21486 * gdb.base/funcargs.exp: Likewise.
21487 * gdb.base/jit-simple.exp: Likewise.
21488 * gdb.base/reread.exp: Likewise.
21489 * gdb.base/sepdebug.exp: Likewise.
21490 * gdb.base/step-bt.exp: Likewise.
21491 * gdb.cp/mb-inline.exp: Likewise.
21492 * gdb.cp/mb-templates.exp: Likewise.
21493 * gdb.objc/basicclass.exp: Likewise.
21494 * gdb.threads/killed.exp: Likewise.
21495
9d9bf2df
EBM
214962014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21497
21498 PR tdep/17379
21499 * gdb.arch/powerpc-stackless.S: New file.
21500 * gdb.arch/powerpc-stackless.exp: New file.
21501
1cf2f1b0
JK
215022014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21503
21504 * gdb.base/attach.c: Include unistd.h.
21505 (main): Call alarm. Add label postloop.
21506 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21507 gdb_breakpoint, gdb_continue_to_breakpoint.
21508 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21509
98880d46
PA
215102014-09-11 Pedro Alves <palves@redhat.com>
21511
21512 PR gdb/17347
21513 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21514 * gdb.base/attach.exp (test_command_line_attach_run): New
21515 procedure.
21516 (top level): Call it.
21517
4c92ff2c
PA
215182014-09-11 Pedro Alves <palves@redhat.com>
21519
21520 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21521 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21522 (do_command_attach_tests): Use spawn_wait_for_attach.
21523 * gdb.base/solib-overlap.exp: Likewise.
21524 * gdb.multi/multi-attach.exp: Likewise.
21525 * gdb.python/py-prompt.exp: Likewise.
21526 * gdb.python/py-sync-interp.exp: Likewise.
21527 * gdb.server/ext-attach.exp: Likewise.
21528
3adc1a7d
GKB
215292014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21530
21531 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21532 command in testcase. Simplify testcase.
21533
96334934
JB
215342014-09-10 Joel Brobecker <brobecker@adacore.com>
21535
21536 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21537
eb479039
JB
215382014-09-10 Joel Brobecker <brobecker@adacore.com>
21539
21540 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21541
deede10c
JB
215422014-09-10 Joel Brobecker <brobecker@adacore.com>
21543
21544 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21545
7828a5f5
JB
215462014-09-10 Joel Brobecker <brobecker@adacore.com>
21547
21548 * gdb.dwarf2/dynarr-ptr.c: New file.
21549 * gdb.dwarf2/dynarr-ptr.exp: New file.
21550
33aeebcf
MR
215512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21552
21553 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21554 of 30 rather than hardcoding 120 for a slow test case. Take the
21555 `gdb,timeout' target setting into account for this calculation.
21556 Don't extend the timeout for the test cases that don't need it.
21557
7b415901
MR
215582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21559
21560 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21561 a factor of 2 for a slow test case. Take the `gdb,timeout'
21562 target setting into account for this calculation.
21563 * gdb.reverse/until-precsave.exp: Increase the timeout by
21564 a factor of 15 and 3 respectively rather than adding 120
21565 for a pair of slow test cases. Take the `gdb,timeout'
21566 target setting into account for this calculation.
21567
4a40f85a
MR
215682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21569
21570 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21571 timeout, don't pass one down to gdb_expect.
21572 (gdb_expect): Rework timeout selection.
21573
09635af7
MR
215742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21575
21576 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21577 exception on timeout.
21578 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21579 (gdbserver_start_extended): Catch any `gdbserver_start' error
21580 exceptions.
21581 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21582 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21583 `gdbserver_gdb_load' error exceptions.
21584
2bdd10b7
MR
215852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21586
21587 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21588 120 on waiting for the TCP socket to open.
21589
316935f0
DE
215902014-09-09 Doug Evans <xdje42@gmail.com>
21591
21592 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21593 _caller_matches, _any_caller_is, _any_caller_matches.
21594
83740597
DE
215952014-09-09 Doug Evans <xdje42@gmail.com>
21596
21597 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21598
4c122fc3
YQ
215992014-09-09 Yao Qi <yao@codesourcery.com>
21600
21601 * gdb.mi/mi-var-display.exp: Set print symbol off.
21602
a9f116cb
GKB
216032014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21604
21605 PR gdb/17035
21606 * gdb.base/commands.exp: Add tests to verify user-defined
21607 commands with empty bodies.
21608 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21609 python commands in `show user command`.
21610 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21611 scheme commands in `show user command`.
21612
c75bd3a2
JK
216132014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21614
21615 PR python/17355
21616 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21617 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21618 * gdb.python/py-framefilter-invalidarg.exp: New file.
21619 * gdb.python/py-framefilter-invalidarg.py: New file.
21620
faa42425
DE
216212014-09-06 Doug Evans <xdje42@gmail.com>
21622
21623 PR 15276
21624 * gdb.python/py-caller-is.c: New file.
21625 * gdb.python/py-caller-is.exp: New file.
21626
474ca4f6
SDJ
216272014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21628
21629 PR gdb/17235
21630 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21631 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21632
eb0b0463
SDJ
216332014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21634
21635 PR fortran/17237
21636 * gdb.fortran/print-formatted.exp: New file.
21637 * gdb.fortran/print-formatted.f90: Likewise.
21638
5f3b99cf
SS
216392014-09-03 Sasha Smundak <asmundak@google.com>
21640
21641 * gdb.python/py-frame.exp: Test Frame.read_register.
21642
7d793aa9
SDJ
216432014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21644
21645 PR python/16699
21646 * gdb.python/py-completion.exp: New file.
21647 * gdb.python/py-completion.py: Likewise.
21648
fb0576e9
DE
216492014-08-28 Doug Evans <dje@google.com>
21650
21651 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21652 eax,etc. are live with values set by gdb and thus the compiler can't
21653 use them.
21654 * gdb.arch/i386-pseudo.c (main): Ditto.
21655
ee92b0dd
DE
216562014-08-27 Doug Evans <dje@google.com>
21657
21658 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21659
6649db35
DE
216602014-08-25 Doug Evans <dje@google.com>
21661
21662 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21663 (main): Ditto.
21664
564b7600
DE
216652014-08-25 Doug Evans <dje@google.com>
21666
21667 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21668
3881fb67
YQ
216692014-08-24 Yao Qi <yao@codesourcery.com>
21670
21671 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21672 symbol off.
21673 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21674
a05a36a5
DE
216752014-08-22 Doug Evans <dje@google.com>
21676
21677 PR 17276
21678 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21679 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21680 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21681
7c343b48
YQ
216822014-08-22 Yao Qi <yao@codesourcery.com>
21683
21684 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21685 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21686 * gdb.python/python.exp: Likewise. Use .py file on the host
21687 instead of the build.
21688
22fd09ae
JK
216892014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21690
21691 * gdb.threads/gcore-stale-thread.c: New file.
21692 * gdb.threads/gcore-stale-thread.exp: New file.
21693
a8454a7c
PA
216942014-08-21 Pedro Alves <palves@redhat.com>
21695
21696 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21697 * gdb.base/gcore-relro-pie.exp: Likewise.
21698 * gdb.base/gcore-relro.exp: Likewise.
21699 * gdb.base/gcore.exp: Likewise.
21700 * gdb.base/print-symbol-loading.exp: Likewise.
21701 * gdb.threads/gcore-thread.exp: Likewise.
21702 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21703
2a31c623
PA
217042014-08-20 Pedro Alves <palves@redhat.com>
21705 Jan Kratochvil <jan.kratochvil@redhat.com>
21706
21707 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21708 configure.
21709 (EXPECT): Handle READ1 being set.
21710 (all): Depend on EXTRA_RULES.
21711 (check-read1, expect-read1, read1.so, read1): New rules.
21712 * README (Testsuite Parameters): Document the READ1 make variable.
21713 (Race detection): New section.
21714 * configure: Regenerate.
21715 * configure.ac: If build==host==target, and running under a
21716 GNU/glibc system, add read1 to the extra Makefile rules.
21717 (EXTRA_RULES): AC_SUBST it.
21718 * lib/read1.c: New file.
21719
d36430db
JB
217202014-08-20 Joel Brobecker <brobecker@adacore.com>
21721
21722 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21723 the handling of variables declared as a typedef to an array
21724 which a DW_AT_data_location attribute.
21725
9a0dc9e3
PA
217262014-08-19 Andrew Burgess <aburgess@broadcom.com>
21727 Pedro Alves <palves@redhat.com>
21728
21729 PR symtab/14604
21730 PR symtab/14605
21731 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21732 gdb_test.
21733
0718a8da
PA
217342014-08-19 Pedro Alves <palves@redhat.com>
21735
21736 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21737
13b448cd
YQ
217382014-08-19 Yao Qi <yao@codesourcery.com>
21739
21740 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21741 right line.
21742
1cbf5077
DB
217432014-08-18 David Blaikie <dblaikie@gmail.com>
21744
21745 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21746
bf0fae19
JB
217472014-08-18 Joel Brobecker <brobecker@adacore.com>
21748
21749 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21750 attribute in array range.
21751
3c8c5dcc
JB
217522014-08-18 Joel Brobecker <brobecker@adacore.com>
21753
21754 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21755
e66d4446
SC
217562014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21757
21758 PR c++/17132
21759 * gdb.cp/pr17132.cc: New file.
21760 * gdb.cp/pr17132.exp: New file.
21761
940df408
SC
217622014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21763
21764 * gdb.python/py-xmethods.py (A_getarrayind)
21765 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21766 Use 'print' with function call syntax.
21767 (E_method_matcher.match): Fix tab vs space indentation mixup.
21768
ebcc6c3a
YQ
217692014-08-15 Yao Qi <yao@codesourcery.com>
21770
21771 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21772 false.
21773
775e0f04
YQ
217742014-08-15 Yao Qi <yao@codesourcery.com>
21775
21776 * gdb.cp/casts.exp: Set print symbol off.
21777 * gdb.cp/class2.exp: Likewise.
21778 * gdb.cp/overload.exp: Likewise.
21779 * gdb.cp/templates.exp: Likewise.
21780
d769e349
DE
217812014-08-11 Doug Evans <dje@google.com>
21782
21783 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21784 (test_load_shlib): Update.
21785
20c6f1e1
YQ
217862014-08-09 Yao Qi <yao@codesourcery.com>
21787
21788 * gdb.base/display.exp: Invoke is_address_zero_readable.
21789 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21790 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21791 * gdb.base/hbreak-unmapped.exp: Return if
21792 is_address_zero_readable returns true.
21793 * gdb.base/signest.exp: Likewise.
21794 * gdb.base/signull.exp: Likewise.
21795 * gdb.base/sigbpt.exp: Likewise.
21796 * gdb.guile/scm-disasm.exp: Do the test if
21797 is_address_zero_readable returns false.
21798 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21799 * gdb.python/py-arch.exp: Likewise.
21800 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21801 * lib/gdb.exp (is_address_zero_readable): New proc.
21802
5792e8e3
YQ
218032014-08-09 Yao Qi <yao@codesourcery.com>
21804
21805 PR testsuite/13443
21806 * gdb.mi/mi-var-display.exp: Make test messages unique.
21807
3cecbbbe
TT
218082014-08-04 Tom Tromey <tromey@redhat.com>
21809
21810 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21811 target 0".
21812
00b51ff5
TT
218132014-08-04 Tom Tromey <tromey@redhat.com>
21814
21815 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21816 "target_resume".
21817
6908c509
JB
218182014-08-01 Joel Brobecker <brobecker@adacore.com>
21819
21820 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21821 inner_vla_struct_object_size.
21822 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21823 as xfail.
21824
cc6563d2
PA
218252014-07-30 Pedro Alves <palves@redhat.com>
21826
21827 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21828 comment.
21829
7e09a223
YQ
218302014-07-29 Yao Qi <yao@codesourcery.com>
21831
21832 PR gdb/17206
21833 * gdb.base/until-nodebug.exp: New.
21834
7ebdbe92
DE
218352014-07-28 Doug Evans <xdje42@gmail.com>
21836
21837 PR guile/17203
21838 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21839 previously existing parameter, and previously ambiguously spelled
21840 parameter.
21841
fdb1adc6
WN
218422014-07-28 Will Newton <will.newton@linaro.org>
21843
21844 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21845
186fcde0
DE
218462014-07-26 Ludovic Courtès <ludo@gnu.org>
21847 Doug Evans <xdje42@gmail.com>
21848
21849 PR guile/17146
21850 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21851
70509625
PA
218522014-07-25 Pedro Alves <palves@redhat.com>
21853
21854 * gdb.threads/signal-command-handle-nopass.c: New file.
21855 * gdb.threads/signal-command-handle-nopass.exp: New file.
21856 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21857 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21858 * gdb.threads/signal-delivered-right-thread.c: New file.
21859 * gdb.threads/signal-delivered-right-thread.exp: New file.
21860
c3f814a1
PA
218612014-07-25 Pedro Alves <palves@redhat.com>
21862
21863 * gdb.base/double-prompt-target-event-error.exp
21864 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21865 match.
21866 (cancel_pagination_in_target_event): Rework double prompt
21867 detection.
21868 * gdb.base/paginate-after-ctrl-c-running.exp
21869 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21870 <return>' match.
21871 * gdb.base/paginate-bg-execution.exp
21872 (test_bg_execution_pagination_return)
21873 (test_bg_execution_pagination_cancel): Remove '-notransfer
21874 <return>' matches.
21875 * gdb.base/paginate-execution-startup.exp
21876 (test_fg_execution_pagination_return)
21877 (test_fg_execution_pagination_cancel): Remove '-notransfer
21878 <return>' matches.
21879 * gdb.base/paginate-inferior-exit.exp
21880 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21881 match.
21882 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21883 * lib/gdb.exp (pagination_prompt): Run text through
21884 string_to_regexp.
21885 (gdb_test_multiple): Match $pagination_prompt instead of
21886 "<return>".
21887 (string_to_regexp): Move to lib/gdb-utils.exp.
21888
e214cf6c
JK
218892014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21890
21891 * gdb.arch/amd64-entry-value-paramref.S: New file.
21892 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21893 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21894 * gdb.arch/amd64-optimout-repeat.S: New file.
21895 * gdb.arch/amd64-optimout-repeat.c: New file.
21896 * gdb.arch/amd64-optimout-repeat.exp: New file.
21897
17d0c5c8
JK
218982014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21899
21900 PR gdb/17170
21901 * gdb.base/statistics.exp: New file.
21902
b8b8facf
DE
219032014-07-17 Doug Evans <dje@google.com>
21904
74b49205 21905 PR gdb/17170
b8b8facf
DE
21906 * gdb.base/maint.exp: Update testing of per-command stats.
21907
1b5d0ab3
PA
219082014-07-16 Pedro Alves <palves@redhat.com>
21909
21910 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21911 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21912 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21913 (tfile_write_buf): New functions.
21914 (add_memory_block): Rewrite using the above.
21915 (adjust_function_address): New function.
21916 (FUNCTION_ADDRESS): New macro.
21917 (write_basic_trace_file): Remove short_x local, and use
21918 tfile_write_16. Change type of func_addr local to unsigned long
21919 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21920 here. Cast argument of add_memory_block to char pointer.
21921 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21922 (main): Remove parameters.
21923 * gdb.trace/tfile.exp: Remove nowarnings.
21924
4d974e88
SM
219252014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21926
21927 * gdb.base/debug-expr.exp: Test string evaluation with
21928 "debug expression" on.
21929
41e99568
PA
219302014-07-15 Pedro Alves <palves@redhat.com>
21931
21932 * gdb.base/reread.exp: Use clean_restart.
21933
487d9753
PL
219342014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21935
21936 * gdb.arch/avr-flash-qualifer.c: New.
21937 * gdb.arch/avr-flash-qualifer.exp: New.
21938
cc1c52ad
PA
219392014-07-14 Pedro Alves <palves@redhat.com>
21940
21941 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21942 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21943
1e973570
PA
219442014-07-14 Pedro Alves <palves@redhat.com>
21945
21946 * gdb.base/double-prompt-target-event-error.c: New file.
21947 * gdb.base/double-prompt-target-event-error.exp: New file.
21948
93d6eb10
PA
219492014-07-14 Pedro Alves <palves@redhat.com>
21950
21951 PR gdb/17072
21952 * gdb.base/paginate-inferior-exit.c: New file.
21953 * gdb.base/paginate-inferior-exit.exp: New file.
21954
0017922d
PA
219552014-07-14 Pedro Alves <palves@redhat.com>
21956
21957 PR gdb/17072
21958 * gdb.base/paginate-bg-execution.c: New file.
21959 * gdb.base/paginate-bg-execution.exp: New file.
21960
94696ad3
PA
219612014-07-14 Pedro Alves <palves@redhat.com>
21962
21963 PR gdb/17072
21964 * gdb.base/paginate-execution-startup.c: New file.
21965 * gdb.base/paginate-execution-startup.exp: New file.
21966 * lib/gdb.exp (pagination_prompt): New global.
21967 (default_gdb_spawn): New procedure, factored out from
21968 default_gdb_spawn.
21969 (default_gdb_start): Adjust to call default_gdb_spawn.
21970 (gdb_spawn): New procedure.
21971
bd293940
PA
219722014-07-14 Pedro Alves <palves@redhat.com>
21973
21974 * lib/gdb.exp (gdb_assert): New procedure.
21975 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21976
c933f875
PA
219772014-07-14 Pedro Alves <palves@redhat.com>
21978
21979 * gdb.base/execution-termios.c: New file.
21980 * gdb.base/execution-termios.exp: New file.
21981
d98b7a16
TT
219822014-07-14 Tom Tromey <tromey@redhat.com>
21983
21984 * gdb.cp/vla-cxx.cc: New file.
21985 * gdb.cp/vla-cxx.exp: New file.
21986
548740d6
TT
219872014-07-14 Tom Tromey <tromey@redhat.com>
21988
21989 * gdb.reverse/rerun-prec.c: New file.
21990 * gdb.reverse/rerun-prec.exp: New file.
21991
a25eb028
MR
219922014-07-12 Maciej W. Rozycki <macro@mips.com>
21993 Maciej W. Rozycki <macro@codesourcery.com>
21994
21995 * lib/gdb-utils.exp: New file.
21996 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21997 inline `gdb_init_command' processing.
21998 (gdb_start_cmd): Likewise.
21999 * lib/mi-support.exp (mi_run_cmd): Likewise.
22000 * README: Document `gdb_init_command' and `gdb_init_commands'.
22001
218c2655
JK
220022014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22003
22004 Fix false FAIL running under a very long directory name.
22005 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22006 and "set print elements 10000". Twice.
22007
5401fde3
YQ
220082014-07-11 Yao Qi <yao@codesourcery.com>
22009
22010 * gdb.base/exprs.exp: "set print symbol off".
22011
e76126e8
PA
220122014-07-11 Pedro Alves <palves@redhat.com>
22013
22014 * gdb.threads/kill.c: New file.
22015 * gdb.threads/kill.exp: New file.
22016
2d6f0de6
YQ
220172014-07-10 Yao Qi <yao@codesourcery.com>
22018
22019 * gdb.trace/tfile.c (write_basic_trace_file)
22020 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22021 address written to trace file.
22022
7180e04a
PA
220232014-07-09 Pedro Alves <palves@redhat.com>
22024
22025 * gdb.base/attach-wait-input.exp: New file.
22026 * gdb.base/attach-wait-input.c: New file.
22027
9a9a7608
AB
220282014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22029
22030 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22031 setting up test structures.
22032 (main): Call new test function.
22033 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22034 test function, continue into test function and walk test
22035 structures.
22036
161ac41e
YQ
220372014-07-02 Yao Qi <yao@codesourcery.com>
22038
22039 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22040 'bar_start' at the beginning of functions 'foo' and 'bar'
22041 respectively.
22042 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22043 instead of 'foo' and 'bar'.
22044
1f267ae3
MM
220452014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22046
22047 * gdb.btrace/segv.exp: New.
22048 * gdb.btrace/segv.c: New.
22049
2b239efb
LM
220502014-07-02 Luis Machado <lgustavo@codesourcery.com>
22051
22052 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22053 instruction.
22054
cf363f18
MW
220552014-06-30 Mark Wielaard <mjw@redhat.com>
22056
22057 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22058 vulture, vilify, villar): New volatile array constants.
22059 (vindictive, vegetation): New const volatile array constants.
22060 * gdb.base/volatile.exp: Test volatile and const volatile array
22061 types.
22062
aebf9d24
AA
220632014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22064
22065 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22066 target lacks support for awatch, rwatch, or hbreak.
22067
b67a2c6f
YQ
220682014-06-27 Yao Qi <yao@codesourcery.com>
22069
22070 * gdb.multi/dummy-frame-restore.exp: New.
22071 * gdb.multi/dummy-frame-restore.c: New.
22072
aef92902
MM
220732014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22074
22075 * gdb.btrace/gcore.exp: New.
22076
8e9db26e
PA
220772014-06-23 Pedro Alves <palves@redhat.com>
22078
22079 * gdb.base/watchpoint-reuse-slot.c: New file.
22080 * gdb.base/watchpoint-reuse-slot.exp: New file.
22081
70afc5b7
SC
220822014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22083
22084 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22085 progspace's filename in 'info', 'enable' and 'disable' command
22086 tests.
22087
b972bd9c
JK
220882014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22089
22090 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22091 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22092 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22093
125f8a3d
GB
220942014-06-20 Gary Benson <gbenson@redhat.com>
22095
22096 * gdb.arch/i386-avx.exp: Fix include file location.
22097 * gdb.arch/i386-sse.exp: Likewise.
22098
3ed9baed
IB
220992014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22100
22101 * gdb.dlang/expression.exp: New file.
22102
034f788c
PA
221032014-06-19 Pedro Alves <palves@redhat.com>
22104
22105 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22106 out from ...
22107 (top level): ... here. Iterate running tests under different
22108 scheduler-locking settings.
22109
45371d0c
LM
221102014-06-18 Luis Machado <lgustavo@codesourcery.com>
22111
22112 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22113 to DW_FORM_addr and use non-zero addresses.
22114
5d376983
SC
221152014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22116
22117 PR gdb/17017
22118 * gdb.python/py-xmethods.cc: Add global function call counters and
22119 increment them in their respective functions. Remove "cout"
22120 statements.
22121 * gdb.python/py-xmethods.exp: Make tests check the global function
22122 call counters instead of depending on inferior IO.
22123
a1aa2221
LM
221242014-06-18 Don Breazeal <donb@codesourcery.com>
22125
22126 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22127 Deleted procedure.
22128 (explicit_fork_parent_follow): Deleted procedure.
22129 (explicit_fork_child_follow): Deleted procedure.
22130 (test_follow_fork): New procedure.
22131 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22132 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22133 procedure calls.
22134
0fc05997
YQ
221352014-06-17 Yao Qi <yao@codesourcery.com>
22136
22137 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22138 CP1252.
22139
70795c52
LM
221402014-06-17 Luis Machado <lgustavo@codesourcery.com>
22141
22142 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22143 Initialize ptr and S explicitly.
22144 (skip_type_update_when_not_use_rtti_test): Likewise.
22145
6be47f0c
KS
221462014-06-16 Keith Seitz <keiths@redhat.com>
22147
22148 PR mi/15863
22149 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22150 the inferior is started.
22151
d03de421
PA
221522014-06-16 Pedro Alves <palves@redhat.com>
22153
22154 * gdb.base/break-main-file-remove-fail.c: New file.
22155 * gdb.base/break-main-file-remove-fail.exp: New file.
22156 * gdb.base/break-unload-file.exp: Use build_executable instead of
22157 prepare_for_testing.
22158 (test_break): New parameter "initial_load". Handle it.
22159 (top level): Add initial_load cmdline/file axis.
22160
f9579b99
TT
221612014-06-12 Tom Tromey <tromey@redhat.com>
22162
22163 * gdb.base/completion.exp: Don't use directory name in test.
22164
3657956b
GB
221652014-06-09 Gary Benson <gbenson@redhat.com>
22166
22167 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22168 separate the always-available ANSI-standard signals from the
22169 signals that require checking.
22170 (main): Likewise.
22171 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22172 Likewise.
22173 (main): Likewise.
22174
4186eb54
KS
221752014-06-07 Keith Seitz <keiths@redhat.com>
22176
22177 Revert:
22178 PR c++/16253
22179 * gdb.cp/var-tag.cc: New file.
22180 * gdb.cp/var-tag.exp: New file.
22181 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22182 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22183 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22184 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22185
25326a28 221862014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22187
22188 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22189
829155c9
PA
221902014-06-06 Pedro Alves <palves@redhat.com>
22191
22192 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22193 in target debug output instead of looking at RSP packets,
22194 disabling the test on any target that uses hardware stepping.
22195 Update comments.
22196
61c8d22e
PA
221972014-06-06 Pedro Alves <palves@redhat.com>
22198
22199 * gdb.base/break-unload-file.exp: Fix typo.
22200
d9a47287
YQ
222012014-06-06 Yao Qi <yao@codesourcery.com>
22202
22203 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22204 from "jit_function" to "^jit_function".
22205
e5e01dbf
YQ
222062014-06-06 Yao Qi <yao@codesourcery.com>
22207
22208 * gdb.base/async.c (foo): Add one statement.
22209 * gdb.base/async.exp: Get the next instruction address and
22210 match the output of "nexti" by instruction address. Match
22211 the hex address in the output of "finish".
22212
73ba372c
GB
222132014-06-06 Gary Benson <gbenson@redhat.com>
22214
22215 * gdb.base/call-signals.c: Remove preprocessor conditionals
22216 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22217 SIGSEGV and SIGTERM.
22218 * gdb.base/sigall.c: Likewise.
22219 * gdb.base/unwindonsignal.c: Likewise.
22220 * gdb.reverse/sigall-reverse.c: Likewise.
22221
831517df
YQ
222222014-06-06 Yao Qi <yao@codesourcery.com>
22223
22224 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22225 readable, skip the test.
22226
b8b91e98
YQ
222272014-06-06 Yao Qi <yao@codesourcery.com>
22228
22229 * gdb.threads/staticthreads.c (thread_function): Move the line
22230 setting breakpoint on forward.
22231 * gdb.threads/staticthreads.exp: Update comments.
22232
fb934770
LC
222332014-06-05 Ludovic Courtès <ludo@gnu.org>
22234
22235 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22236 "history-append! type error".
22237
6ef284bd
SM
222382014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22239
22240 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22241 erroneous dprintf expected input.
22242
a872e241
DE
222432014-06-04 Doug Evans <xdje42@gmail.com>
22244
22245 * gdb.guile/scm-generics.exp: Delete.
22246
16f691fb
DE
222472014-06-04 Doug Evans <xdje42@gmail.com>
22248
22249 * gdb.guile/scm-breakpoint.exp: Update.
22250 Add tests for breakpoint registration.
22251
012370f6
TT
222522014-06-04 Tom Tromey <tromey@redhat.com>
22253
22254 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22255 VLA-in-union.
22256 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22257 inner_vla_struct, vla_union types. Initialize objects of those
22258 types and compute their sizes.
22259
9f5a4cef
HZ
222602014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22261 Hui Zhu <hui@codesourcery.com>
22262
22263 * gdb.base/fileio.exp: Add test for shell not available as well as
22264 available.
22265 * gdb.base/fileio.c (test_system): Check for shell twice.
22266
90a45c4d
YQ
222672014-06-04 Yao Qi <yao@codesourcery.com>
22268
22269 * gdb.base/auto-connect-native-target.exp: Remove redundant
22270 space from the regexp pattern.
22271
70017e41
YQ
222722014-06-04 Yao Qi <yao@codesourcery.com>
22273
22274 * gdb.base/default.exp: Replace "child" with "native" in
22275 regexp pattern.
22276
883964a7
SC
222772014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22278
22279 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22280 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22281 * gdb.python/py-xmethods.py: Python script supporting the
22282 new testcase and tests.
22283
ef370185
JB
222842014-06-03 Joel Brobecker <brobecker@adacore.com>
22285 Pedro Alves <palves@redhat.com>
22286
22287 PR breakpoints/17000
22288 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22289 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22290
1e2ccb61
BM
222912014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22292
22293 * gdb.base/subst.exp: Add tests to verify partial path matching
22294 output.
22295
c6ec5ab2
PA
222962014-06-03 Pedro Alves <palves@redhat.com>
22297
22298 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22299 target that doesn't use software single-stepping.
22300
835c559f
PA
223012014-06-03 Pedro Alves <palves@redhat.com>
22302
22303 PR breakpoints/17000
22304 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22305 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22306
06eb1586
DE
223072014-06-02 Doug Evans <xdje42@gmail.com>
22308
22309 * gdb.guile/scm-parameter.exp: New file.
22310
e698b8c4
DE
223112014-06-02 Doug Evans <xdje42@gmail.com>
22312
22313 * gdb.guile/scm-cmd.c: New file.
22314 * gdb.guile/scm-cmd.exp: New file.
22315
ded03782
DE
223162014-06-02 Doug Evans <xdje42@gmail.com>
22317
22318 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22319 pretty-printer lookup.
22320 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22321 (make-pp_s-printer): Call it.
22322 (make-pretty-printer-from-dict): New function.
22323 (lookup-pretty-printer-maker-from-dict): New function.
22324 (*pretty-printer*): Simplify.
22325 (make-objfile-pp_s-printer): New function.
22326 (install-objfile-pretty-printers!): New function.
22327 (make-progspace-pp_s-printer): New function.
22328 (install-progspace-pretty-printers!): New function.
22329 * gdb.guile/scm-progspace.c: New file.
22330 * gdb.guile/scm-progspace.exp: New file.
22331
41fac0cf
PA
223322014-06-02 Pedro Alves <palves@redhat.com>
22333
22334 * gdb.base/dprintf-bp-same-addr.c: New file.
22335 * gdb.base/dprintf-bp-same-addr.exp: New file.
22336
96ae5695
EBM
223372014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22338
22339 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22340 * gdb.arch/powerpc-power.s: Likewise.
22341
da02b3a8
JB
223422014-06-02 Joel Brobecker <brobecker@adacore.com>
22343
22344 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22345
c72b2e7b
YQ
223462014-06-01 Yao Qi <yao@codesourcery.com>
22347
22348 * gdb.base/watchpoint.exp (test_watch_location): Check null
22349 pointer can be dereferenced. If not, do the test, otherwise
22350 skip it.
22351
53e8a631
AB
223522014-05-30 Andrew Burgess <aburgess@broadcom.com>
22353
22354 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22355 results.
22356 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22357
938f0e2f
AB
223582014-05-30 Andrew Burgess <aburgess@broadcom.com>
22359
22360 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22361 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22362 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22363 * gdb.arch/amd64-invalid-stack-top.c: New file.
22364 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22365
9ba6657a
PA
223662014-05-30 Pedro Alves <palves@redhat.com>
22367
22368 PR breakpoints/17000
22369 * gdb.base/sss-bp-on-user-bp.c: New file.
22370 * gdb.base/sss-bp-on-user-bp.exp: New file.
22371
522c09bf
DB
223722014-05-30 David Blaikie <dblaikie@gmail.com>
22373
22374 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22375 gnu_inline semantics via attribute.
22376 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22377 source explicitly specifies the required semantics.
22378
bf4ef81e
MR
223792014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22380
22381 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22382
329ea579
PA
223832014-05-29 Pedro Alves <palves@redhat.com>
22384 Tom Tromey <tromey@redhat.com>
22385
22386 * gdb.base/async-shell.exp: Don't enable target-async.
22387 * gdb.base/async.exp
22388 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22389 parameter. Adjust.
22390 (top level): Don't test with "target-async".
22391 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22392 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22393 * gdb.base/inferior-died.exp: Don't enable target-async.
22394 * gdb.base/interrupt-noterm.exp: Likewise.
22395 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22396 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22397 * gdb.mi/mi-nonstop.exp: Likewise.
22398 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22399 * gdb.mi/mi-nsintrall.exp: Likewise.
22400 * gdb.mi/mi-nsmoribund.exp: Likewise.
22401 * gdb.mi/mi-nsthrexec.exp: Likewise.
22402 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22403 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22404 * gdb.python/py-evsignal.exp: Don't enable target-async.
22405 * gdb.python/py-evthreads.exp: Likewise.
22406 * gdb.python/py-prompt.exp: Likewise.
22407 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22408 * gdb.server/solib-list.exp: Don't enable target-async.
22409 * gdb.threads/thread-specific-bp.exp: Likewise.
22410 * lib/mi-support.exp: Adjust to use mi-async.
22411
fd664c91
PA
224122014-05-29 Pedro Alves <palves@redhat.com>
22413
22414 PR gdb/13860
22415 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22416 reason, even in sync mode.
22417
251bde03
PA
224182014-05-29 Pedro Alves <palves@redhat.com>
22419 Hui Zhu <hui@codesourcery.com>
22420
22421 PR PR15693
22422 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22423 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22424 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22425 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22426
7f3c0343
JB
224272014-05-28 Joel Brobecker <brobecker@adacore.com>
22428
22429 * config/monitor.exp (gdb_target_monitor): Replace use of
22430 "set remotebaud" by "set serial baud".
22431
b2715b27
AW
224322014-05-26 Andy Wingo <wingo@igalia.com>
22433
22434 * gdb.guile/scm-breakpoint.exp:
22435 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22436 properties instead of gdb-object-properties.
22437
498a4489
YQ
224382014-05-26 Yao Qi <yao@codesourcery.com>
22439
22440 * gdb.server/no-thread-db.exp: Specify source file name
22441 explicitly when setting a breakpoint.
22442
589fdceb
MM
224432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22444
22445 * gdb.btrace/vdso.c: New.
22446 * gdb.btrace/vdso.exp: New.
22447
e9089e05
MM
224482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22449
22450 * gdb.base/gcore.exp (capture_command_output): Move ...
22451 * lib/gdb.exp (capture_command_output): ... here.
22452
67b5c0c1
MM
224532014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22454
22455 * gdb.btrace/data.exp: Test memory access during btrace replay.
22456
a2199296
SM
224572014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22458
22459 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22460
17b2616c
PA
224612014-05-21 Pedro Alves <palves@redhat.com>
22462
22463 PR gdb/13860
22464 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22465 (top level): Test that output related to execution commands is
22466 sent to the console with CLI commands, but not with MI commands.
22467 Test that breakpoint events are always mirrored to the console.
22468 Also expect the new source line to be output after a "next" in
22469 async mode too. Make it a pass/fail test.
22470 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22471 output.
22472 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22473
5166082f
PA
224742014-05-21 Pedro Alves <palves@redhat.com>
22475
22476 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22477 Use them to test variations of "list" after reaching a breakpoint.
22478 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22479 Test "list" with listsize 10 after reaching a breakpoint.
22480 * gdb.python/python.exp (decode_line current location line
22481 number): Adjust expected line number.
22482
2f25d70f
SM
224832014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22484
22485 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22486 behavior for $args, pass it directly to "run".
22487
ff604a67
MR
224882014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22489
22490 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22491 30000 to 65536.
22492
6a3cb8e8
PA
224932014-05-21 Pedro Alves <palves@redhat.com>
22494
22495 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22496 auto-connect-native-target off".
22497 * gdb.base/auto-connect-native-target.c: New file.
22498 * gdb.base/auto-connect-native-target.exp: New file.
22499
4ebfc96e
PA
225002014-05-21 Pedro Alves <palves@redhat.com>
22501
22502 * gdb.base/default.exp: Test "target native" instead of "target
22503 child".
22504
36d46afb
MW
225052014-05-21 Mark Wielaard <mjw@redhat.com>
22506
22507 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22508
5876f503
JK
225092014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22510
22511 Fix TLS access for -static -pthread.
22512 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22513 <HAVE_TLS> (thread_function, main): Initialize it.
22514 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22515 Add clean_restart.
22516 <$have_tls != "">: Check TLSVAR.
22517
0256a6ac
PA
225182014-05-21 Pedro Alves <palves@redhat.com>
22519
22520 * gdb.base/dcache-line-read-error.c: New.
22521 * gdb.base/dcache-line-read-error.exp: New.
22522
936d2992
PA
225232014-05-20 Pedro Alves <palves@redhat.com>
22524
22525 * gdb.base/compare-sections.c: New file.
22526 * gdb.base/compare-sections.exp: New file.
22527
802e8e6d
PA
225282014-05-20 Pedro Alves <palves@redhat.com>
22529
22530 * gdb.base/break-idempotent.c: New file.
22531 * gdb.base/break-idempotent.exp: New file.
22532
e59fa00f
MM
225332014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22534
22535 * gdb.btrace/nohist.exp: New.
22536
8b696e31
YQ
225372014-05-20 Yao Qi <yao@codesourcery.com>
22538
22539 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22540 gdb.reverse directory and gdb_reverse_timeout exists in board
22541 setting.
22542 * README: Document gdb_reverse_timeout.
22543
73c9764f
YQ
225442014-05-20 Yao Qi <yao@codesourcery.com>
22545
22546 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22547 'test_file_name'. Treat args as a string instead of a list.
22548 (gdb_init): Rename argument 'args' by 'test_file_name'.
22549
f1f4348a
JK
225502014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22551
22552 * gdb.arch/powerpc-power.exp: New file.
22553 * gdb.arch/powerpc-power.s: New file.
22554
0dbe70ce
DE
225552014-05-16 Doug Evans <dje@google.com>
22556
22557 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22558 * gdb.base/completion.exp: Check that all expected files exist
22559 before doing file completion.
0dbe70ce 22560
8d551b02
DE
225612014-05-16 Doug Evans <dje@google.com>
22562
22563 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22564 Update.
22565 (do_syscall_tests_without_xml): Update.
22566
73eb7709
PA
225672014-05-16 Pedro Alves <palves@redhat.com>
22568
22569 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22570 instead of "unknown output after running".
22571
3fae92fc
YQ
225722014-05-16 Yao Qi <yao@codesourcery.com>
22573
22574 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22575 file1.txt from host at the end.
22576 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22577
c2b2ccc5
DE
225782014-05-15 Doug Evans <dje@google.com>
22579
22580 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22581 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22582 loading file. Add test for TU lookup.
22583
8c217a4b
SM
225842014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22585
22586 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22587 calling "-exec-arguments" or "set args" before running the
22588 inferior.
22589
3deb39c6
SM
225902014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22591
22592 * lib/mi-support.exp (mi_expect_stop): Expect message for
22593 inferiors that exit with non-zero exit code.
22594
71a79f8c
YQ
225952014-05-14 Yao Qi <yao@codesourcery.com>
22596
22597 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22598 match absolute path on remote host.
22599 (test_file_list_exec_source_files): Remove "/" from the
22600 pattern.
22601
f23fcd46
YQ
226022014-05-14 Yao Qi <yao@codesourcery.com>
22603
22604 * boards/local-remote-host-notty.exp (${board}_file): New
22605 proc.
22606
9404b58f
KM
226072014-05-07 Kyle McMartin <kyle@redhat.com>
22608
22609 Pushed by Joel Brobecker <brobecker@adacore.com>.
22610 * gdb.arch/aarch64-atomic-inst.c: New file.
22611 * gdb.arch/aarch64-atomic-inst.exp: New file.
22612
5e45f04c
YQ
226132014-05-07 Yao Qi <yao@codesourcery.com>
22614
22615 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22616 in current context" too.
22617
c888a17d
KS
226182014-05-05 Keith Seitz <keiths@redhat.com>
22619
22620 * gdb.linespec/ls-dollar.exp: Add test for linespec
22621 file:convenience_variable.
22622
290a839c
YQ
226232014-05-05 Yao Qi <yao@codesourcery.com>
22624
22625 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22626 traceframes into tfile and ctf trace files. Read data from
22627 trace file and test collected data.
22628 (gdb_collect_locals_test): Likewise.
22629 (gdb_unavailable_registers_test): Likewise.
22630 (gdb_unavailable_floats): Likewise.
22631 (gdb_collect_globals_test): Likewise.
22632 (top-level): Append "ctf" to trace_file_targets if GDB
22633 supports.
22634
b5262cd0
YQ
226352014-05-05 Yao Qi <yao@codesourcery.com>
22636
22637 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22638 code to ...
22639 (gdb_collect_args_test_1): ... it. New proc.
22640 (gdb_collect_locals_test): Move some code to ...
22641 (gdb_collect_locals_test_1): ... it. New proc.
22642 (gdb_unavailable_registers_test): Move some code to ...
22643 (gdb_unavailable_registers_test_1): ... it. New proc.
22644 (gdb_unavailable_floats): Move some code to ...
22645 (gdb_unavailable_floats_1): ... it. New proc.
22646
30a1e6cc
SDJ
226472014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22648
22649 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22650 probes to test for bitness recognition.
22651 * gdb.arch/amd64-stap-optional-prefix.exp
22652 (test_probe_value_without_reg): New procedure.
22653 Add code to test for different kinds of bitness.
22654
f33da99a
SDJ
226552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22656
22657 PR breakpoints/16889
22658 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22659 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22660
5b80f00d
PA
226612014-05-01 Pedro Alves <palves@redhat.com>
22662
22663 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22664 gdb_file_cmd if no file is specified.
22665 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22666 last_loaded_file to set the remote exec-file.
22667
f8c2a73c
PA
226682014-05-01 Pedro Alves <palves@redhat.com>
22669
22670 * boards/local-remote-host.exp: New file.
22671
be6e8ac7
PA
226722014-05-01 Pedro Alves <palves@redhat.com>
22673
22674 * boards/local-remote-host.exp: Rename to ...
22675 * boards/local-remote-host-notty.exp: ... this.
22676
cac0dc8f
JB
226772014-04-28 Joel Brobecker <brobecker@adacore.com>
22678
22679 * gdb.ada/dyn_arrayidx: New testcase.
22680
9730e6cc
YQ
226812014-04-26 Yao Qi <yao@codesourcery.com>
22682
22683 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22684 and compute the length of function main. Save it in
22685 $main_length.
22686 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22687 (top-level): Use gdb_compile to compile objects into
22688 executable and restart GDB. Remove invocation to
22689 prepare_for_testing.
22690
7ae1a6a6
PA
226912014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22692 Pedro Alves <palves@redhat.com>
22693
22694 PR server/16255
22695 * gdb.multi/multi-attach.c: New file.
22696 * gdb.multi/multi-attach.exp: New file.
22697
4082afcc
PA
226982014-04-25 Pedro Alves <palves@redhat.com>
22699
22700 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22701 user.
22702 (top level): Test that "set remote conditional-breakpoints-packet
22703 off" works as intended.
22704 * gdb.base/dprintf.exp: Test that "set remote
22705 breakpoint-commands-packet off" works as intended.
22706 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22707 New function.
22708 (top level): Call it.
22709 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22710 remote fast-tracepoints-packet off" works as intended.
22711 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22712 * lib/gdb.exp (gdb_is_target_remote): ... here.
22713
2abc3f8d
DB
227142014-04-24 David Blaikie <dblaikie@gmail.com>
22715
22716 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22717 ensure clang would not discard them.
22718 * gdb.base/gdbvars.c: Ditto.
22719 * gdb.base/memattr.c: Ditto.
22720 * gdb.base/whatis.c: Ditto.
22721 * gdb.python/py-prettyprint.c: Ditto.
22722 * gdb.trace/actions.c: Ditto.
22723 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22724 ensure clang would not discard it.
22725
bfd39632
DB
227262014-04-24 David Blaikie <dblaikie@gmail.com>
22727
22728 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22729 clang to emit the full definition of type required by the test
22730 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22731
22842ff6
DB
227322014-04-24 David Blaikie <dblaikie@gmail.com>
22733
22734 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22735 coax Clang into emitting the definition of the type.
22736 * gdb.cp/pr10728-x.h (y): Ditto.
22737 * gdb.cp/pr10728-y.cc (y): Ditto.
22738
c2e827ad
DB
227392014-04-24 David Blaikie <dblaikie@gmail.com>
22740
22741 * gdb.base/label.exp: XFAIL label related tests under Clang.
22742 * gdb.cp/cplabel.exp: Ditto.
22743 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22744 under Clang those using labels.
22745
4c2d33e7
YQ
227462014-04-25 Yao Qi <yao@codesourcery.com>
22747
22748 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22749 double_label.
22750 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22751 partial_label and double_label.
22752
56083b99
DB
227532014-04-24 David Blaikie <dblaikie@gmail.com>
22754
22755 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22756
25d4e99d
DB
227572014-04-24 David Blaikie <dblaikie@gmail.com>
22758
22759 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22760 of the function to work across GCC and Clang.
22761 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22762 pointer types (const void ** const V void **).
22763
01f9f808
MS
227642014-04-24 Michael Sturm <michael.sturm@mintel.com>
22765 Walfred Tedeschi <walfred.tedeschi@intel.com>
22766
22767 * Makefile.in (EXECUTABLES): Added i386-avx512.
22768 * gdb.arch/i386-avx512.c: New file.
22769 * gdb.arch/i386-avx512.exp: Likewise.
22770
4b48d439
KS
227712014-04-23 Keith Seitz <keiths@redhat.com>
22772
22773 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22774 (mi_make_breakpoint_table): New procedure.
22775 (mi_create_breakpoint): Use mi_make_breakpoint
22776 and return the result.
22777 (mi_make_breakpoint): New procedure.
22778 (mi_build_kv_pairs): New procedure.
22779
22780 * gdb.mi/mi-break.exp: Remove unused globals,
22781 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22782 All callers updated.
22783 * gdb.mi/mi-dprintf.exp: Use variable to track command
22784 number.
22785 Update all callers of mi_create_breakpoint and use
22786 mi_make_breakpoint_table.
22787 Remove any unused global variables.
22788 * gdb.mi/mi-nonstop.exp: Likewise.
22789 * gdb.mi/mi-nsintrall.exp: Likewise.
22790 * gdb.mi/mi-nsmoribund.exp: Likewise.
22791 * gdb.mi/mi-nsthrexec.exp: Likewise.
22792 * gdb.mi/mi-reverse.exp: Likewise.
22793 * gdb.mi/mi-simplerun.exp: Likewise.
22794 * gdb.mi/mi-stepn.exp: Likewise.
22795 * gdb.mi/mi-syn-frame.exp: Likewise.
22796 * gdb.mi/mi-until.exp: Likewise.
22797 * gdb.mi/mi-var-cp.exp: Likewise.
22798 * gdb.mi/mi-var-display.exp: Likewise.
22799 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22800 * gdb.mi/mi2-var-child.exp: Likewise.
22801 * gdb.mi/mi-vla-c99.exp: Likewise.
22802 * lib/mi-support.exp: Likewise.
22803
22804 From Ian Lance Taylor <iant@cygnus.com>:
22805 * lib/gdb.exp (parse_args): New procedure.
22806
08351840
PA
228072014-04-23 Pedro Alves <palves@redhat.com>
22808
22809 * gdb.base/break-unload-file.c: New file.
22810 * gdb.base/break-unload-file.exp: New file.
22811 * gdb.base/sym-file-lib.c (baz): New function.
22812 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22813 field.
22814 (load): Store the segment's mapped size.
22815 (unload): New function.
22816 (unload_shlib): New function.
22817 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22818 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22819 set a breakpoint at baz, and call it.
22820 * gdb.base/sym-file.exp: New tests for stale breakpoint
22821 instructions.
22822
076855f9
PA
228232014-04-23 Pedro Alves <palves@redhat.com>
22824
22825 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22826 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22827 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22828 * gdb.base/hbreak-unmapped.c: New file.
22829 * gdb.base/hbreak-unmapped.exp: New file.
22830 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22831 * lib/gdb.exp (gdb_is_target_remote): ... here.
22832
483805cf
PA
228332014-04-22 Pedro Alves <palves@redhat.com>
22834
22835 * gdb.base/consecutive-step-over.c: New file.
22836 * gdb.base/consecutive-step-over.exp: New file.
22837
06d97543
PA
228382014-04-22 Pedro Alves <palves@redhat.com>
22839
22840 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22841 instead of send_gdb/gdb_expect.
22842
b4429ea2
YQ
228432014-04-22 Yao Qi <yao@codesourcery.com>
22844
22845 * lib/trace-support.exp (generate_tracefile): New procedure.
22846 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22847 return 0.
22848 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22849 if generate_tracefile returns 1.
22850
51d48146
PA
228512014-04-18 Tom Tromey <palves@redhat.com>
22852 Pedro alves <tromey@redhat.com>
22853
22854 PR backtrace/15558
22855 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22856 with a backtrace limit.
22857 * gdb.python/py-frame-inline.exp: Test running to an inline
22858 function with a backtrace limit, and printing the newest frame.
22859 * gdb.python/py-frame-inline.c (main): Call f.
22860
bd1dce5f
MS
228612014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22862
22863 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22864
40d1a503
MS
228652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22866
22867 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22868 Drop prefix from unsupported source file path.
22869
389b98f7
YQ
228702014-04-17 Yao Qi <yao@codesourcery.com>
22871
22872 * lib/gdb.exp (with_target_charset): New proc.
22873 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22874 with_target_charset.
22875 (test_print_strings): Likewise.
22876 (test_repeat_bytes): Likewise.
22877 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22878 for some tests.
22879
22869d73
KS
228802014-04-16 Keith Seitz <keiths@redhat.com>
22881
22882 PR gdb/15827
22883 * gdb.dwarf2/corrupt.c: New file.
22884 * gdb.dwarf2/corrupt.exp: New file.
22885
c4f87ca6
KS
228862014-04-16 Keith Seitz <keiths@redhat.com>
22887
22888 PR c++/16597
22889 * gdb.cp/namelessclass.cc: New file.
22890 * gdb.cp/namelessclass.exp: New file.
22891 * gdb.cp/namelessclass.S: New file.
22892
ab19de87
DE
228932014-04-16 Doug Evans <dje@google.com>
22894
22895 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22896 Add comment.
22897 (gdbserver_default_get_comm_port): New function.
22898 (gdbserver_start): Check if board file provided
22899 "gdbserver,get_comm_port" and use it if so.
22900 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22901 (gdb,socketport): Set to "stdio".
22902 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22903 (stdio_gdbserver_template): Delete.
22904 (${board}_get_remote_address): Update.
22905 (${board}_build_remote_cmd): Delete.
22906 (${board}_get_comm_port): New function.
22907 (${board}_spawn): Update.
22908 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22909 Delete.
22910 (${board}_get_remote_address): Update.
22911 (${board}_get_comm_port): New function.
22912
fc98a809
AB
229132014-04-16 Andrew Burgess <aburgess@broadcom.com>
22914
22915 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22916 appearing in any order.
22917
87fd9e6e
DE
229182014-04-15 Doug Evans <dje@google.com>
22919
22920 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22921 uninitialized value of "description".
22922
099fc3ea
KS
229232014-04-15 Keith Seitz <keiths@redhat.com>
22924
22925 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22926 Remove unused globals.
22927 (test_running_the_program): Likewise.
22928 (test_controlled_execution): Likewise.
22929 (test_controlling_breakpoints): Likewise.
22930 (test_program_termination): Likewise.
22931
5da151d4
KS
229322014-04-15 Keith Seitz <keiths@redhat.com>
22933
22934 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22935 unused globals.
22936 (test_rbreak_creation_and_listing): Likewise.
22937 (test_ignore_count): Likewise.
22938 (test_error): Likewise.
22939
35e5d2f0
PA
229402014-04-15 Pedro Alves <palves@redhat.com>
22941
22942 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22943 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22944 sym-file-loader.c.
22945 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22946 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22947 to sym-file-loader.c.
22948 (struct library): Forward declare.
22949 (load_shlib, lookup_function): Change prototypes.
22950 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22951 (translate_offset): Remove declarations.
22952 (get_text_addr): New declaration.
22953 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22954 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22955 sym-file-loader.h.
22956 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22957 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22958 here from sym-file-loader.h.
22959 (struct library): New structure.
22960 (load_shlib, lookup_function): Change prototypes and adjust to
22961 work with a struct library.
22962 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22963 (translate_offset): Make static.
22964 (get_text_addr): New function.
22965 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22966
eb4c1710
PA
229672014-04-15 Pedro Alves <palves@redhat.com>
22968
22969 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22970
2d1baf52
PA
229712014-04-15 Pedro Alves <palves@redhat.com>
22972
22973 * gdb.base/sym-file-loader.c: Include <limits.h>.
22974 (SELF_LINK): New define.
22975 (get_origin): New function.
22976 (load_shlib): Use it.
22977 * gdb.base/sym-file.exp: Don't early return if the target is
22978 remote. Use runto_main, and issue fail is that fails. Use
22979 gdb_load_shlibs.
22980 (shlib_name): Delete.
22981 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22982
7dd6df01
PA
229832014-04-15 Pedro Alves <palves@redhat.com>
22984
22985 * gdb.base/sym-file.exp: Remove regex characters from test
22986 message. Don't refer to breakpoint numbers in test messages.
22987
b50c8614
KS
229882014-04-14 Keith Seitz <keiths@redhat.com>
22989
22990 PR c++/16253
22991 * gdb.cp/var-tag.cc: New file.
22992 * gdb.cp/var-tag.exp: New file.
22993 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22994 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22995 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22996 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22997
3d567982
TT
229982014-04-14 Tom Tromey <tromey@redhat.com>
22999
23000 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23001 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23002 type.
23003 * gdb.cp/enum-class.exp: New file.
23004 * gdb.cp/enum-class.cc: New file.
23005
0626fc76
TT
230062014-04-14 Tom Tromey <tromey@redhat.com>
23007
23008 * gdb.dwarf2/enum-type.exp: New file.
23009
dca325b3
SA
230102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23011
23012 * gdb.mi/mi-vla-c99.exp: New file.
23013 * gdb.mi/vla.c: New file.
23014
5854b38a
SA
230152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23016
23017 * gdb.base/vla-datatypes.c: New file.
23018 * gdb.base/vla-datatypes.exp: New file.
23019
463bb957
SA
230202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23021
23022 * gdb.base/vla-ptr.c: New file.
23023 * gdb.base/vla-ptr.exp: New file.
23024
3dd170be
SA
230252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23026
23027 * gdb.dwarf2/count.exp: New file.
23028
5ecaaa66
SA
230292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23030
23031 * gdb.base/vla-sideeffect.c: New file.
23032 * gdb.base/vla-sideeffect.exp: New file.
23033
41f1ada5
DB
230342014-04-14 David Blaikie <dblaikie@gmail.com>
23035
23036 * gdb.mi/non-stop.c: Add return value for non-void function return
23037 statement.
23038 * gdb.threads/staticthreads.c: Ditto.
23039
0be03e84
DE
230402014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23041 Doug Evans <xdje42@gmail.com>
23042
23043 * gdb.guile/scm-value.c: Improve test case.
23044 * gdb.guile/scm-value.exp: Add new test.
23045
f180a1fb
DB
230462014-04-11 David Blaikie <dblaikie@gmail.com>
23047
23048 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23049 override Clang's default.
23050
6b662e19
JB
230512014-04-11 Joel Brobecker <brobecker@adacore.com>
23052
23053 Revert the following changes (regressions):
23054
23055 * gdb.base/vla-sideeffect.c: New file.
23056 * gdb.base/vla-sideeffect.exp: New file.
23057
23058 * gdb.dwarf2/count.exp: New file.
23059
23060 * gdb.base/vla-multi.c: New file.
23061 * gdb.base/vla-multi.exp: New file.
23062
23063 * gdb.base/vla-ptr.c: New file.
23064 * gdb.base/vla-ptr.exp: New file.
23065
23066 * gdb.base/vla-datatypes.c: New file.
23067 * gdb.base/vla-datatypes.exp: New file.
23068
23069 * gdb.mi/mi-vla-c99.exp: New file.
23070 * gdb.mi/vla.c: New file.
23071
245a5f0b
KS
230722014-04-11 Keith Seitz <keiths@redhat.com>
23073
23074 PR c++/16675
23075 * gdb.cp/cpsizeof.exp: New file.
23076 * gdb.cp/cpsizeof.cc: New file.
23077
58a84dcf
SA
230782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23079
191a8a90
JB
23080 * gdb.mi/mi-vla-c99.exp: New file.
23081 * gdb.mi/vla.c: New file.
58a84dcf 23082
c8655f75
SA
230832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23084
23085 * gdb.base/vla-datatypes.c: New file.
23086 * gdb.base/vla-datatypes.exp: New file.
23087
024e13b4
SA
230882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23089
23090 * gdb.base/vla-ptr.c: New file.
23091 * gdb.base/vla-ptr.exp: New file.
23092
1a237e0e
SA
230932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23094
23095 * gdb.base/vla-multi.c: New file.
23096 * gdb.base/vla-multi.exp: New file.
23097
504f3432
SA
230982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23099
23100 * gdb.dwarf2/count.exp: New file.
23101
3bce8237
SA
231022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23103
191a8a90
JB
23104 * gdb.base/vla-sideeffect.c: New file.
23105 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23106
322f9c21
YQ
231072014-04-11 Yao Qi <yao@codesourcery.com>
23108
23109 * gdb.base/completion.exp: Check file exists before running tests
23110 on file completion.
23111
d708bcd1
PA
231122014-04-10 Pedro Alves <palves@redhat.com>
23113
23114 * gdb.base/cond-eval-mode.c: New file.
23115 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23116 prepare_for_testing to build the new file. Check result of
23117 runto_main.
23118 (test_break, test_watch): New procedures.
23119 (top level): Use them.
23120
ae1d2761
PM
231212014-04-08 Pierre Muller <muller@sourceware.org>
23122
23123 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23124 Ctrl-V use for mingw hosts.
23125
7af389b8
SC
231262014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23127
23128 * gdb.python/py-value.c: Improve test case.
23129 * gdb.python/py-value.exp: Add new test.
23130
5e703181
DE
231312014-04-07 David Blaikie <dblaikie@gmail.com>
23132
23133 * lib/compiler.c: Identify the clang compiler.
23134 * lib/compiler.cc: Ditto.
23135
9810b410
YQ
231362014-04-03 Yao Qi <yao@codesourcery.com>
23137
23138 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23139
98d1b8dc
AB
231402014-04-01 Anton Blanchard <anton@samba.org>
23141
23142 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23143 messages unique.
23144
3114cea1
AB
231452014-04-01 Anton Blanchard <anton@samba.org>
23146
23147 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23148 prepare_for_testing.
23149
62f7182c
AB
231502014-04-01 Anton Blanchard <anton@samba.org>
23151
23152 * gdb.arch/ppc64-atomic-inst.c: Remove.
23153 * gdb.arch/ppc64-atomic-inst.S: New file.
23154 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23155
770e7fc7
DE
231562014-03-31 Doug Evans <dje@google.com>
23157
23158 * gdb.base/print-symbol-loading-lib.c: New file.
23159 * gdb.base/print-symbol-loading-main.c: New file.
23160 * gdb.base/print-symbol-loading.exp: New file.
23161
46e2bafa
YQ
231622014-03-31 Yao Qi <yao@codesourcery.com>
23163
23164 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23165
8776cfe9
JB
231662014-03-28 Joel Brobecker <brobecker@adacore.com>
23167
23168 * gdb.ada/mi_dyn_arr: New testcase.
23169
5d1ef361
DE
231702014-03-27 Doug Evans <dje@google.com>
23171
23172 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23173
b5bee914
YQ
231742014-03-27 Yao Qi <yao@codesourcery.com>
23175
23176 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23177 if target is nios2-*-*.
23178
0d4d0e77
YQ
231792014-03-26 Yao Qi <yao@codesourcery.com>
23180
23181 * lib/gdb.exp (readline_is_used): New proc.
23182 * gdb.base/completion.exp: Move tests on command complete up.
23183 Skip the rest of tests if readline is not used.
23184 * gdb.ada/complete.exp: Skp the test if readline is not
23185 used.
23186 * gdb.base/filesym.exp: Likewise.
23187 * gdb.base/macscp.exp: Likewise.
23188 * gdb.base/readline-ask.exp: Likewise.
23189 * gdb.base/readline.exp: Likewise.
23190 * gdb.python/py-cmd.exp: Likewise.
23191 * gdb.trace/tfile.exp: Likewise.
23192
29361eee
YQ
231932014-03-26 Yao Qi <yao@codesourcery.com>
23194
23195 * gdb.base/macscp.exp: Fix code format issues.
23196
bc9a5525
UW
231972014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23198
23199 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23200 * gdb.asm/powerpc64le.inc: New file.
23201
d3839ede
PA
232022014-03-25 Pedro Alves <palves@redhat.com>
23203 Doug Evans <dje@google.com>
23204
23205 * gdb.base/source-execution.c: New file.
23206 * gdb.base/source-execution.exp: New file.
23207 * gdb.base/source-execution.gdb: New file.
23208
01672a57
DE
232092014-03-24 Doug Evans <dje@google.com>
23210
23211 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23212 using fission.
23213
88bbeca9
HZ
232142014-03-24 Hui Zhu <hui@codesourcery.com>
23215 Pedro Alves <palves@redhat.com>
23216
23217 PR breakpoints/16101
23218 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23219 test pass/fail messages. Detect missing support for dprintf when
23220 breakpoints are actually inserted.
23221 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23222 breakpoints are actually inserted.
23223 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23224 fails.
23225
d2348791
JK
232262014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23227
23228 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23229
feef67ab
DE
232302014-03-22 Doug Evans <xdje42@gmail.com>
23231
23232 * gdb.python/python.exp (python not supported): Verify multi-line
23233 python command issues an error.
25d743f9 23234 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23235 guile command issues an error.
feef67ab 23236
ecebef6a
MR
232372014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23238
23239 * gdb.threads/thread-specific.exp: Handle the lack of usable
23240 $this_breakpoint and $this_thread.
23241
ccdd1909
HZ
232422014-03-21 Hui Zhu <hui@codesourcery.com>
23243
23244 * gdb.base/attach.exp (do_command_attach_tests): New.
23245
beb460e8
PA
232462014-03-20 Tom Tromey <tromey@redhat.com>
23247 Pedro Alves <palves@redhat.com>
23248
23249 PR cli/15718
23250 * gdb.base/condbreak-call-false.c: New file.
23251 * gdb.base/condbreak-call-false.exp: New file.
23252
40acf43a
PA
232532014-03-20 Pedro Alves <palves@redhat.com>
23254
23255 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23256 Delete.
23257 (block_signals, unblock_signals): Delete.
23258 (child_function_2, main): Remove references to deleted variable
23259 and functions.
23260
9f5e1e02
PA
232612014-03-20 Pedro Alves <palves@redhat.com>
23262
23263 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23264 Use pthread_kill to signal thread 2.
23265 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23266 Adjust to make the test send itself a signal rather than using the
23267 host's "kill" command.
23268
99619bea
PA
232692014-03-20 Pedro Alves <palves@redhat.com>
23270
23271 * gdb.threads/multiple-step-overs.c: New file.
23272 * gdb.threads/multiple-step-overs.exp: New file.
23273 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23274 Adjust expected infrun debug output.
23275
2adfaa28
PA
232762014-03-20 Pedro Alves <palves@redhat.com>
23277
23278 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23279 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23280
31e77af2
PA
232812014-03-20 Pedro Alves <palves@redhat.com>
23282
23283 PR breakpoints/7143
23284 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23285 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23286 of gdb_test_multiple.
23287 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23288 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23289
b9f437de
PA
232902014-03-20 Pedro Alves <palves@redhat.com>
23291
23292 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23293 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23294
05adc73e
PA
232952014-03-19 Pedro Alves <palves@redhat.com>
23296
23297 * gdb.base/async.exp: Remove early return.
23298
6048b950
PA
232992014-03-19 Pedro Alves <palves@redhat.com>
23300
23301 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23302
8bcfb00a
PA
233032014-03-19 Pedro Alves <palves@redhat.com>
23304
23305 * gdb.base/async.exp (test_background): Expect \r\n after
23306 "completed." in the fail pattern.
23307
884e37dc
PA
233082014-03-19 Pedro Alves <palves@redhat.com>
23309
23310 * gdb.base/async.exp (test_background): New procedure.
23311 Use it for all background execution command tests.
23312
148e57e2
PA
233132014-03-19 Pedro Alves <palves@redhat.com>
23314
23315 * gdb.base/async.exp: Use prepare_for_testing.
23316
f48088c7
PA
233172014-03-19 Pedro Alves <palves@redhat.com>
23318
23319 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23320 the same line.
23321
e2f6c966
PA
233222014-03-19 Pedro Alves <palves@redhat.com>
23323
23324 * gdb.base/async.c (main): Add "jump here" and "until here" line
23325 marker comments.
23326 * gdb.base/async.exp (jump_here): New global.
23327 (jump& test): Use it.
23328 (until_here): New global.
23329 (until& test): Use it.
23330
c30568d4
PA
233312014-03-19 Pedro Alves <palves@redhat.com>
23332
23333 * gdb.base/async.exp: Don't frob gdb_protocol.
23334
0172b6a7
DE
233352014-03-18 Doug Evans <xdje42@gmail.com>
23336
23337 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23338 Fix spelling of exec-done-display.
23339
06c868a8
JK
233402014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23341
23342 PR gdb/15358
23343 * gdb.base/gdb-sigterm.c: New file.
23344 * gdb.base/gdb-sigterm.exp: New file.
23345
0c7e1a46
PA
233462014-03-18 Pedro Alves <palves@redhat.com>
23347
23348 PR gdb/13860
23349 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23350 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23351 solib-event.
23352
f7c77d93
JB
233532014-03-17 Joel Brobecker <brobecker@adacore.com>
23354
23355 * gdb.ada/pckd_arr_ren: New testcase.
23356
5a1e8c7a
DE
233572014-03-13 Doug Evans <xdje42@gmail.com>
23358
23359 PR guile/16612
23360 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23361 collect after discarding symbols.
23362
350e1a76
DE
233632014-03-13 Ludovic Courtès <ludo@gnu.org>
23364 Doug Evans <xdje42@gmail.com>
23365
23366 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23367 to history survives a gc.
23368
a69900ae
PA
233692014-03-13 Pedro Alves <palves@redhat.com>
23370
23371 * gdb.base/default.exp: Don't test "target procfs".
23372
5db9f0bd
PA
233732014-03-13 Pedro Alves <palves@redhat.com>
23374
23375 * gdb.base/default.exp: Update "target child" and "target procfs"
23376 tests to not expect "Unix".
23377
b3ccfe11
TT
233782014-03-12 Tom Tromey <tromey@redhat.com>
23379
23380 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23381 New procs. Add target-async tests.
23382 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23383 Add target-async tests.
23384
646f4417
AA
233852014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23386
23387 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23388 'func_start' and 'func_end' for the beginning and end of the
23389 function code, respectively.
23390 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23391 'func_end' instead of 'func' and 'main'.
23392
288c211f
AA
233932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23394
23395 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23396 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23397 generate the debug info assembler source.
23398
e0c0f156
AA
233992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23400
23401 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23402 * gdb.dwarf2/arr-subrange.exp: Likewise.
23403 * gdb.dwarf2/dwz.exp: Likewise.
23404 * gdb.dwarf2/method-ptr.exp: Likewise.
23405 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23406 * gdb.dwarf2/subrange.exp: Likewise.
23407 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23408 * gdb.dwarf2/implptrpiece.exp: Likewise.
23409 * gdb.dwarf2/nostaticblock.exp: Likewise.
23410
0e5c4555
AA
234112014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23412
23413 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23414 directory to absolute path name arguments.
23415
5ec18f2b
JG
234162014-03-10 Joel Brobecker <brobecker@adacore.com>
23417
23418 * gdb.ada/tagged_access: New testcase.
23419
847fc4f2
MM
234202014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23421
23422 * gdb.btrace/data.exp: Update expected output.
23423
cc3da688
YQ
234242014-03-06 Yao Qi <yao@codesourcery.com>
23425
23426 * gdb.trace/pr16508.exp: New file.
23427
0f26cec1
PA
234282014-03-05 Pedro Alves <palves@redhat.com>
23429
23430 PR gdb/16575
23431 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23432 procedure.
23433 (top level): Adjust to use it. Add tests that exercise breakpoint
23434 interaction with the code-cache.
23435
7a5a839f
LC
234362014-02-26 Ludovic Courtès <ludo@gnu.org>
23437
23438 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23439 test for 'history-append!'.
23440
31aa7e4e
JB
234412014-02-26 Joel Brobecker <brobecker@adacore.com>
23442
23443 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23444 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23445 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23446 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23447 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23448 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23449
1b588015
JB
234502014-02-26 Joel Brobecker <brobecker@adacore.com>
23451
23452 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23453 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23454 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23455
55426c9d
JB
234562014-02-26 Joel Brobecker <brobecker@adacore.com>
23457
23458 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23459
dc53a7ad
JB
234602014-02-26 Joel Brobecker <brobecker@adacore.com>
23461
23462 * gdb.dwarf2/arr-stride.c: New file.
23463 * gdb.dwarf2/arr-stride.exp: New file.
23464
12ab52e9
PA
234652014-02-26 Pedro Alves <palves@redhat.com>
23466
23467 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23468 that won't ever trigger. Make sure that GDB reports the correct
23469 breakpoint that caused the stop.
23470
849c862e
JK
234712014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23472
23473 PR gdb/16626
23474 * gdb.base/auto-load-script: New file.
23475 * gdb.base/auto-load.c: New file.
23476 * gdb.base/auto-load.exp: New file.
23477
71b7d793
JK
23478 PR gdb/16626
23479 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23480
e2f0d509
JK
234812014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23482
23483 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23484 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23485
50cc37c8
DE
234862014-02-24 Doug Evans <dje@google.com>
23487
23488 * lib/gdb.exp (run_on_host): Log error output if program fails.
23489
ea4758f2
PA
234902014-02-21 Pedro Alves <palves@redhat.com>
23491
23492 * gdb.threads/step-after-sr-lock.c: Rename to ...
23493 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23494 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23495 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23496 ... this.
23497
d7b30f67
SDJ
234982014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23499
23500 PR tdep/16397
23501 * gdb.arch/amd64-stap-special-operands.exp: New file.
23502 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23503 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23504 * gdb.arch/amd64-stap-triplet.S: Likewise.
23505 * gdb.arch/amd64-stap-triplet.c: Likewise.
23506
83deb43f
JB
235072014-02-20 Joel Brobecker <brobecker@adacore.com>
23508
23509 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23510 in .section pseudo-op.
23511
adde2bff
DE
235122014-02-20 lin zuojian <manjian2006@gmail.com>
23513 Joel Brobecker <brobecker@adacore.com>
23514 Doug Evans <xdje42@gmail.com>
23515
23516 PR symtab/16581
23517 * gdb.dwarf2/dw2-icycle.S: New file.
23518 * gdb.dwarf2/dw2-icycle.c: New file.
23519 * gdb.dwarf2/dw2-icycle.exp: New file.
23520
f7bd0f78
SC
235212014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23522
23523 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23524 operations on gdb.Value objects.
23525 * gdb.python/py-value-cc.exp: Add new test to test operations on
23526 gdb.Value objects.
23527
c17ef0d5
DE
235282014-02-18 Doug Evans <dje@google.com>
23529
23530 * Makefile.in (TESTS): New variable.
23531 (expanded_tests, expanded_tests_or_none): New variables
23532 (check-single): Pass $(expanded_tests_or_none) to runtest.
23533 (check-parallel): Only run tests in $(TESTS) if non-empty.
23534 (check/no-matching-tests-found): New rule.
23535 * README: Document TESTS makefile variable.
23536
5dd3176f
DE
235372014-02-18 Doug Evans <dje@google.com>
23538
23539 * Makefile.in (check-parallel): rm -rf outputs temp.
23540
0b10be4f
JK
235412014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23542
23543 Fix "ERROR: no fileid for" in the testsuite.
23544 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23545
85f224e7
DE
235462014-02-12 Doug Evans <dje@google.com>
23547
23548 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23549 (MISCELLANEOUS): New variable.
23550 (clean): rm -rf $(MISCELLANEOUS).
23551 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23552 dwp live in the same directory as symlinks, with each symlink pointed
23553 to a differently named file in a different directory.
23554
149b30ff
DE
235552014-02-11 Doug Evans <dje@google.com>
23556
23557 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23558 of Tcl file commands.
23559
1dfdac32
MK
235602014-02-10 Mark Kettenis <kettenis@gnu.org>
23561
23562 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23563 "kill -SIGUSR1 -1".
23564
aa4fb036
JB
235652014-02-10 Joel Brobecker <brobecker@adacore.com>
23566
23567 * gdb.ada/tick_length_array_enum_idx: New testcase.
23568
ed3ef339
DE
235692014-02-10 Doug Evans <xdje42@gmail.com>
23570
23571 * configure.ac (AC_OUTPUT): Add gdb.guile.
23572 * configure: Regenerate.
23573 * lib/gdb-guile.exp: New file.
23574 * lib/gdb.exp (get_target_charset): New function.
23575 * gdb.base/help.exp: Update expected output from "apropos apropos".
23576 * gdb.guile/Makefile.in: New file.
23577 * gdb.guile/guile.exp: New file.
23578 * gdb.guile/scm-arch.c: New file.
23579 * gdb.guile/scm-arch.exp: New file.
23580 * gdb.guile/scm-block.c: New file.
23581 * gdb.guile/scm-block.exp: New file.
23582 * gdb.guile/scm-breakpoint.c: New file.
23583 * gdb.guile/scm-breakpoint.exp: New file.
23584 * gdb.guile/scm-disasm.c: New file.
23585 * gdb.guile/scm-disasm.exp: New file.
23586 * gdb.guile/scm-equal.c: New file.
23587 * gdb.guile/scm-equal.exp: New file.
23588 * gdb.guile/scm-error.exp: New file.
23589 * gdb.guile/scm-error.scm: New file.
23590 * gdb.guile/scm-frame-args.c: New file.
23591 * gdb.guile/scm-frame-args.exp: New file.
23592 * gdb.guile/scm-frame-args.scm: New file.
23593 * gdb.guile/scm-frame-inline.c: New file.
23594 * gdb.guile/scm-frame-inline.exp: New file.
23595 * gdb.guile/scm-frame.c: New file.
23596 * gdb.guile/scm-frame.exp: New file.
23597 * gdb.guile/scm-generics.exp: New file.
23598 * gdb.guile/scm-gsmob.exp: New file.
23599 * gdb.guile/scm-iterator.c: New file.
23600 * gdb.guile/scm-iterator.exp: New file.
23601 * gdb.guile/scm-math.c: New file.
23602 * gdb.guile/scm-math.exp: New file.
23603 * gdb.guile/scm-objfile-script-gdb.in: New file.
23604 * gdb.guile/scm-objfile-script.c: New file.
23605 * gdb.guile/scm-objfile-script.exp: New file.
23606 * gdb.guile/scm-objfile.c: New file.
23607 * gdb.guile/scm-objfile.exp: New file.
23608 * gdb.guile/scm-ports.exp: New file.
23609 * gdb.guile/scm-pretty-print.c: New file.
23610 * gdb.guile/scm-pretty-print.exp: New file.
23611 * gdb.guile/scm-pretty-print.scm: New file.
23612 * gdb.guile/scm-section-script.c: New file.
23613 * gdb.guile/scm-section-script.exp: New file.
23614 * gdb.guile/scm-section-script.scm: New file.
23615 * gdb.guile/scm-symbol.c: New file.
23616 * gdb.guile/scm-symbol.exp: New file.
23617 * gdb.guile/scm-symtab-2.c: New file.
23618 * gdb.guile/scm-symtab.c: New file.
23619 * gdb.guile/scm-symtab.exp: New file.
23620 * gdb.guile/scm-type.c: New file.
23621 * gdb.guile/scm-type.exp: New file.
23622 * gdb.guile/scm-value-cc.cc: New file.
23623 * gdb.guile/scm-value-cc.exp: New file.
23624 * gdb.guile/scm-value.c: New file.
23625 * gdb.guile/scm-value.exp: New file.
23626 * gdb.guile/source2.scm: New file.
23627 * gdb.guile/types-module.cc: New file.
23628 * gdb.guile/types-module.exp: New file.
23629
7026a7c1
YQ
236302014-02-10 Yao Qi <yao@codesourcery.com>
23631
23632 PR testsuite/16543
23633 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23634 * configure: Regenerated.
23635 * Makefile.in: New file.
23636
6c466447
AS
236372014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23638
23639 * gdb.python/py-framefilter.exp: Fix typo.
23640
6e854735
YQ
236412014-02-08 Yao Qi <yao@codesourcery.com>
23642
23643 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23644 that no =breakpoint-modified is emitted when breakpoints are
23645 modified through MI commands.
23646
d137e6dc
PA
236472014-02-07 Pedro Alves <pedro@codesourcery.com>
23648 Pedro Alves <palves@redhat.com>
23649
23650 * gdb.threads/step-after-sr-lock.c: New file.
23651 * gdb.threads/step-after-sr-lock.exp: New file.
23652
b5ee5a50
PA
236532014-02-07 Pedro Alves <palves@redhat.com>
23654
23655 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23656
3c77faf3
JK
236572014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23658
23659 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23660 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23661
6dddc817
DE
236622014-02-06 Doug Evans <xdje42@gmail.com>
23663
23664 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23665 output.
23666
23667 * gdb.gdb/python-interrupts.exp: New file.
23668
de7b2893
YQ
236692014-02-05 Yao Qi <yao@codesourcery.com>
23670
23671 * gdb.trace/report.exp (use_collected_data): Test the output
23672 of "info threads" and "info inferiors".
23673
66d032ac
YQ
236742014-02-05 Yao Qi <yao@codesourcery.com>
23675
23676 Revert this patch:
23677
23678 2013-05-24 Yao Qi <yao@codesourcery.com>
23679
23680 * gdb.trace/tfile.exp: Test inferior and thread.
23681
591a12a1
UW
236822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23683
23684 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23685 on a function.
23686 * gdb.base/step-bt.c: Call hello via function pointer to make
23687 sure its first instruction is executed on powerpc64le-linux.
23688
0ff3e01f
UW
236892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23690
23691 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23692
084ee545
UW
236932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23694
23695 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23696 of the test patterns for use on little-endian systems.
23697
6ed14ff3
UW
236982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23699
23700 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23701 (decimal_vector): Fix for little-endian.
23702
401e27fd
JM
237032014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23704
23705 * gdb.arch/sparc-sysstep.exp: New file.
23706 * gdb.arch/sparc-sysstep.c: Likewise.
23707
23708 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23709
8b924729
EBM
237102014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23711
23712 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23713
fb151210
JB
237142014-01-23 Tom Tromey <tromey@redhat.com>
23715
23716 * gdb.ada/array_char_idx: New testcase.
23717
0740f8d8
TT
237182014-01-23 Tom Tromey <tromey@redhat.com>
23719
23720 PR python/16487:
23721 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23722 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23723 classes.
23724
21909fa1
TT
237252014-01-23 Tom Tromey <tromey@redhat.com>
23726
23727 PR python/16491:
23728 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23729 string from an inferior frame.
23730 * gdb.python/py-framefilter-mi.exp: Update.
23731
87ce2a04
DE
237322014-01-22 Doug Evans <dje@google.com>
23733
23734 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23735
237b092b
AA
237362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23737
23738 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23739
d674a709
AA
237402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23741
23742 * gdb.trace/entry-values.exp: Remove excess space character from
23743 regex patterns. Handle s390 call instruction.
23744
20fa3390
AA
237452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23746
23747 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23748 define "*_start" label. Make "name" static.
23749 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23750 ${name} by references to ${name}_start.
23751
78466714
AA
237522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23753
23754 * gdb.base/info-macros.exp: Remove "debug" from the compile
23755 options.
23756
ec9f644a
IB
237572014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23758
23759 * gdb.dlang/demangle.exp: New file.
23760
94b1b47e
IB
237612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23762
23763 * gdb.dlang/primitive-types.exp: New file.
23764
7f420862
IB
237652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23766
23767 * configure.ac: Create gdb.dlang/Makefile.
23768 * configure: Regenerate.
23769 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23770 * gdb.dlang/Makefile.in: New file.
23771 * lib/d-support.exp: New file.
23772 * lib/gdb.exp (skip_d_tests): New proc.
23773
52834460
MM
237742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23775
23776 * gdb.btrace/delta.exp: Check reverse stepi.
23777 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23778 * gdb.btrace/finish.exp: New.
23779 * gdb.btrace/next.exp: New.
23780 * gdb.btrace/nexti.exp: New.
23781 * gdb.btrace/record_goto.c: Add comments.
23782 * gdb.btrace/step.exp: New.
23783 * gdb.btrace/stepi.exp: New.
23784 * gdb.btrace/multi-thread-step.c: New.
23785 * gdb.btrace/multi-thread-step.exp: New.
23786 * gdb.btrace/rn-dl-bind.c: New.
23787 * gdb.btrace/rn-dl-bind.exp: New.
23788 * gdb.btrace/data.c: New.
23789 * gdb.btrace/data.exp: New.
23790 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23791
6e07b1d2
MM
237922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23793
23794 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23795 * gdb.btrace/exception.exp: Update.
23796 * gdb.btrace/instruction_history.exp: Update.
23797 * gdb.btrace/record_goto.exp: Update.
23798 * gdb.btrace/tailcall.exp: Update.
23799 * gdb.btrace/unknown_functions.exp: Update.
23800 * gdb.btrace/delta.exp: New.
23801
0b722aec
MM
238022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23803
23804 * gdb.btrace/record_goto.exp: Add backtrace test.
23805 * gdb.btrace/tailcall.exp: Add backtrace test.
23806
066ce621
MM
238072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23808
23809 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23810 * gdb.btrace/record_goto.c: New.
23811 * gdb.btrace/record_goto.exp: New.
23812 * gdb.btrace/x86-record_goto.S: New.
23813
0688d04e
MM
238142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23815
23816 * gdb.btrace/function_call_history.exp: Update tests.
23817 * gdb.btrace/instruction_history.exp: Update tests.
23818
8710b709
MM
238192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23820
23821 * gdb.btrace/function_call_history.exp: Fix expected field
23822 order for "record function-call-history".
23823 Add new tests for "record function-call-history /c".
23824 * gdb.btrace/exception.cc: New.
23825 * gdb.btrace/exception.exp: New.
23826 * gdb.btrace/tailcall.exp: New.
23827 * gdb.btrace/x86-tailcall.S: New.
23828 * gdb.btrace/x86-tailcall.c: New.
23829 * gdb.btrace/unknown_functions.c: New.
23830 * gdb.btrace/unknown_functions.exp: New.
23831 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23832
5de9129b
MM
238332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23834
23835 * gdb.btrace/instruction_history.exp: Update.
23836 * gdb.btrace/function_call_history.exp: Update.
23837
23a7fe75
MM
238382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23839
23840 * gdb.btrace/function_call_history.exp: Fix expected function
23841 trace.
23842 * gdb.btrace/instruction_history.exp: Initialize traced.
23843 Remove traced_functions.
23844
724c7dd8
MM
238452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23846
23847 * gdb.btrace/function_call_history.exp: Update
23848 * gdb.btrace/instruction_history.exp: Update.
23849
6d78d93b
MM
238502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23851
23852 * gdb.btrace/enable.exp: Update expected text.
23853
93a360cc
OJ
238542014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23855
23856 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23857 bytes.
23858
3772b53f
MR
238592014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23860
23861 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23862
596662fa
OJ
238632014-01-15 Omair Javaid <omair.javaid@linaro.org>
23864
23865 * lib/gdb.exp (supports_process_record): Return true for
23866 arm*-linux*. (supports_reverse): Likewise.
23867
b5b08fb4
SC
238682014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23869
23870 PR python/15464
23871 PR python/16113
23872 * gdb.python/py-type.c: Enhance test case.
23873 * gdb.python/py-value-cc.cc: Likewise
23874 * gdb.python/py-type.exp: Add new tests.
23875 * gdb.python/py-value-cc.exp: Likewise
23876
52d7fb13
AA
238772014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23878 Pedro Alves <palves@redhat.com>
23879
23880 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23881 Make "name" extern.
23882 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23883 references to ${name}_start by references to ${name}.
23884
a2cd8cfe
JB
238852014-01-10 Joel Brobecker <brobecker@adacore.com>
23886
23887 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23888
4e23fced
JB
238892014-01-10 Joel Brobecker <brobecker@adacore.com>
23890
23891 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23892
c6a9e42c
PA
238932014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23894 Pedro Alves <palves@redhat.com>
23895
23896 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23897 mi_gdb_target_load.
c6a9e42c 23898
b7ea362b
PA
238992014-01-08 Pedro Alves <palves@redhat.com>
23900
23901 * gdb.threads/reconnect-signal.c: New file.
23902 * gdb.threads/reconnect-signal.exp: New file.
23903
5e3f4fab
EBM
239042014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23905
23906 * gdb.base/source-dir.exp: New file.
23907
79301218
JB
239082014-01-07 Joel Brobecker <brobecker@adacore.com>
23909
23910 * gdb.ada/mi_interface: New testcase.
23911
8e355c5d
JB
239122014-01-07 Joel Brobecker <brobecker@adacore.com>
23913
23914 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23915 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23916 gdb.ada/pp-rec-component/pck.ads: New files.
23917
c0d48811
JB
239182014-01-07 Joel Brobecker <brobecker@adacore.com>
23919
23920 * gdb.python/py-pp-integral.c: New file.
23921 * gdb.python/py-pp-integral.py: New file.
23922 * gdb.python/py-pp-integral.exp: New file.
23923
17b609c3 23924For older changes see ChangeLog-1993-2013.
c906108c 23925\f
8d8cb839
EZ
23926;; Local Variables:
23927;; mode: change-log
23928;; left-margin: 8
23929;; fill-column: 74
23930;; version-control: never
23931;; End:
902f2ccb 23932
3666a048 23933 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23934 Copying and distribution of this file, with or without modification,
23935 are permitted provided the copyright notice and this notice are preserved.
This page took 5.094673 seconds and 4 git commands to generate.