]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PowerPC use_local_plt
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
02baa133
AB
12021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/array-slices.exp (run_test): Avoid including
4 addresses in test names.
5
10f92414
TV
62021-01-15 Tom de Vries <tdevries@suse.de>
7
8 PR testsuite/26997
9 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
10 when adding sizeof.
11
116d0cf1
TV
122021-01-14 Tom de Vries <tdevries@suse.de>
13
14 PR testsuite/24590
15 * gdb.base/style.exp: Handle shorter argv in frame command output.
16
8f66807b
AB
172021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 PR gdb/26819
20 * gdb.server/stop-reply-no-thread-multi.c: New file.
21 * gdb.server/stop-reply-no-thread-multi.exp: New file.
22
3f94e588
TV
232021-01-12 Tom de Vries <tdevries@suse.de>
24
25 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
26 (main): Remove call to have_mpx.
27 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
28 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
29 (main): Remote call to have_mpx.
30 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
31 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
32 (main): Remove call to have_mpx.
33 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
34 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
35 (main): Remove call to have_mpx.
36 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
37 * gdb.arch/i386-mpx.c (have_mpx): Remove.
38 (main): Remote call to have_mpx.
39 * gdb.arch/i386-mpx.exp: Use have_mpx.
40 * lib/gdb.exp (have_mpx): New proc.
41
5291fe3c
SP
422021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
43
44 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
45
18bfb505
TV
462021-01-12 Tom de Vries <tdevries@suse.de>
47
48 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
49
ce38f5ed
AB
502021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
51
52 * gdb.fortran/debug-expr.exp: Add new tests.
53
7c654b71
AB
542021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
55
56 * gdb.fortran/dot-ops.exp: Add new tests.
57
10dadadc
TV
582021-01-11 Tom de Vries <tdevries@suse.de>
59
60 PR testsuite/26968
61 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
62 Move insn setting $eax to before probe point.
63
66beed02
TT
642021-01-09 Tom Tromey <tom@tromey.com>
65
66 * gdb.trace/ax.exp: Do not require an "ext".
67
8fc48b79
TT
682021-01-08 Tom Tromey <tromey@adacore.com>
69
70 * gdb.ada/voidctx/pck.adb: New file.
71 * gdb.ada/voidctx/pck.ads: New file.
72 * gdb.ada/voidctx/voidctx.adb: New file.
73 * gdb.ada/voidctx.exp: New file.
74
6abd4cf2
SM
752021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
76
77 PR gdb/27157
78 * gdb.base/empty-host-env-vars.exp: New test.
79
d00f0868
AB
802021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
81
82 * gdb.base/completion.exp: Add a new test.
83
3c8c6de2
AB
842021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
85
86 * gdb.fortran/intvar-dynamic-types.exp: New file.
87 * gdb.fortran/intvar-dynamic-types.f90: New file.
88
e3436813
AB
892021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.fortran/intvar-array.exp: New file.
92 * gdb.fortran/intvar-array.f90: New file.
93
d4813f10
TT
942021-01-07 Tom Tromey <tromey@adacore.com>
95
96 * gdb.ada/assign_arr.exp: Add 'others' test.
97
b49180ac
TT
982021-01-06 Tom Tromey <tromey@adacore.com>
99
100 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
101 (FP4_Type): New type.
102 (FP4_Var): New variable.
103 * gdb.ada/fixed_points/fixed_points.adb: Update.
104 * gdb.ada/fixed_points.exp: Add tests for binary operators.
105
3c55062c
SM
1062021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
107
108 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
109 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
110 Pass prompt containing debug print to gdb_test_sequence.
111
e4ad960a
TV
1122021-01-04 Tom de Vries <tdevries@suse.de>
113
114 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
115
3ec3145c
SM
1162021-01-04 Simon Marchi <simon.marchi@efficios.com>
117
118
119
8dc558a0
SM
1202021-01-04 Simon Marchi <simon.marchi@efficios.com>
121
122 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
123 * gdb.server/connect-without-multi-process.exp: Likewise.
124 * gdb.server/exit-multiple-threads.exp: Likewise.
125 * gdb.server/ext-attach.exp: Likewise.
126 * gdb.server/ext-restart.exp: Likewise.
127 * gdb.server/ext-run.exp: Likewise.
128 * gdb.server/ext-wrapper.exp: Likewise.
129 * gdb.server/multi-ui-errors.exp: Likewise.
130 * gdb.server/no-thread-db.exp: Likewise.
131 * gdb.server/reconnect-ctrl-c.exp: Likewise.
132 * gdb.server/run-without-local-binary.exp: Likewise.
133 * gdb.server/server-kill.exp: Likewise.
134 * gdb.server/server-run.exp: Likewise.
135 * gdb.server/solib-list.exp: Likewise.
136 * gdb.server/stop-reply-no-thread.exp: Likewise.
137 * gdb.server/wrapper.exp: Likewise.
138 * gdb.server/sysroot.exp: Increase timeout when testing the
139 target: sysroot.
140
d8387cc8
SM
1412021-01-04 Simon Marchi <simon.marchi@efficios.com>
142
143 * gdb.server/server-run.exp: Use clean_restart.
144
5169ae34
SM
1452021-01-04 Simon Marchi <simon.marchi@efficios.com>
146
147 * gdb.server/ext-run.exp: Use clean_restart.
148
7b0ff8a2
SM
1492021-01-04 Simon Marchi <simon.marchi@efficios.com>
150
151 * gdb.server/stop-reply-no-thread.exp: Use build_executable
152 instead of prepare_for_testing.
153
a754fbdf
SM
1542021-01-04 Simon Marchi <simon.marchi@efficios.com>
155
156 * gdb.server/solib-list.exp: Use clean_restart.
157
c5e71b33
TV
1582021-01-04 Tom de Vries <tdevries@suse.de>
159
160 * gdb.base/morestack.c: Remove printf.
161 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
162
9b243007
TT
1632020-12-31 Tom Tromey <tom@tromey.com>
164
165 * gdb.rust/simple.exp: Update output for Rust 1.49.
166
4ff509e7
BE
1672020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
168
169 * gdb.cp/step-and-next-inline.exp: Fix test case.
170
391750c3
SM
1712020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
172
173 * gdb.python/py-frame-args.exp: De-duplicate test names.
174
b7874836
AB
1752020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 PR gdb/27059
178 * gdb.dwarf2/dyn-type-unallocated.c: New file.
179 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
180
e1ff6226
PW
1812020-12-21 Peter Waller <p@pwaller.net>
182
183 * gdb.base/style-interp-exec-mi.exp: New.
184 * gdb.base/style-interp-exec-mi.c: New.
185
ca01f1bf
SM
1862020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
187
188 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
189 gdb_test. Use proc_with_prefix.
190
0fe69a94
MM
1912020-12-21 Markus Metzger <markus.t.metzger@intel.com>
192
193 * gdb.btrace/exception.exp: Build with nopie.
194 * gdb.btrace/function_call_history.exp: Likewise.
195 * gdb.btrace/unknown_functions.exp: Likewise.
196
806e7575
MM
1972020-12-21 Markus Metzger <markus.t.metzger@intel.com>
198
199 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
200
493d2172
MM
2012020-12-21 Markus Metzger <markus.t.metzger@intel.com>
202
203 * gdb.python/py-record-btrace.exp: Make test names unique.
204 * gdb.python/py-record-full.exp: Likewise.
205
1a1c0afc
MM
2062020-12-21 Markus Metzger <markus.t.metzger@intel.com>
207
208 * gdb.btrace/data.exp: Make test names unique.
209 * gdb.btrace/delta.exp: Likewise.
210 * gdb.btrace/enable.exp: Likewise.
211 * gdb.btrace/function_call_history.exp: Likewise.
212 * gdb.btrace/nohist.exp: Likewise.
213 * gdb.btrace/non-stop.exp: Likewise.
214 * gdb.btrace/rn-dl-bind.exp: Likewise.
215 * gdb.btrace/step.exp: Likewise.
216 * gdb.btrace/stepi.exp: Likewise.
217 * gdb.btrace/tailcall.exp: Likewise.
218
98d837f0
MM
2192020-12-21 Markus Metzger <markus.t.metzger@intel.com>
220
221 * gdb.btrace/enable.exp: Update error message.
222 * gdb.btrace/multi-inferior.exp: Likewise.
223 * gdb.btrace/reconnect.exp: Likewise.
224 * gdb.python/py-record-btrace.exp: Likewise.
225 * gdb.python/py-record-full.exp: Likewise.
226
c541fa7c
TV
2272020-12-20 Tom de Vries <tdevries@suse.de>
228
229 * lib/gdb.exp (save_target_board_info): New proc.
230 (gdb_compile_shlib): Use save_target_board_info.
231
60108e47
TV
2322020-12-19 Tom de Vries <tdevries@suse.de>
233
234 * lib/gdb.exp (supports_scalar_storage_order_attribute)
235 (supports_gnuc): New proc.
236 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
237 test_compiler_info calls. Add unsupported message.
238 * gdb.base/endianity.c: Use TEST_SSO.
239
fa639f55
HD
2402020-12-19 Hannes Domani <ssbssa@yahoo.de>
241
242 PR exp/27070
243 * gdb.python/compare-enum-type-a.c: New test.
244 * gdb.python/compare-enum-type-b.c: New test.
245 * gdb.python/compare-enum-type.exp: New file.
246 * gdb.python/compare-enum-type.h: New test.
247
4aea001f
HD
2482020-12-18 Hannes Domani <ssbssa@yahoo.de>
249
250 * gdb.python/py-format-string.exp: Add tests for address keyword.
251
b3f9469b
HD
2522020-12-18 Hannes Domani <ssbssa@yahoo.de>
253
254 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
255
86ef42bd
TT
2562020-12-18 Tom Tromey <tromey@adacore.com>
257
258 * gdb.ada/fixed_points.exp: Also run with
259 -fgnat-encodings=minimal. Update expected output.
260
93df4a1d
SM
2612020-12-16 Simon Marchi <simon.marchi@efficios.com>
262
263 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
264 * gdb.base/continue-all-already-running.exp: Likewise.
265 * gdb.base/moribund-step.exp: Likewise.
266 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
267
592995fa
TV
2682020-12-16 Tom de Vries <tdevries@suse.de>
269
270 * gdb.base/batch-preserve-term-settings.exp:
271
1e61189d
TV
2722020-12-16 Tom de Vries <tdevries@suse.de>
273
274 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
275 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
276
19007d95
LM
2772020-12-16 Luis Machado <luis.machado@linaro.org>
278
279 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
280 pointer-based memory accesses.
281 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
282 hw watchpoint cases.
283
a33fc9ae
RK
2842020-12-15 Rae Kim <rae.kim@gmail.com>
285
286 * gdb.base/document.exp: New test.
287
0e5ad442
TT
2882020-12-15 Tom Tromey <tromey@adacore.com>
289
290 * gdb.base/style.exp: Add deprecation tests.
291
60598dbd
SM
2922020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
293
294 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
295
8cd6d968
MW
2962020-12-14 Mark Wielaard <mark@klomp.org>
297
298 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
299 specially, set attr_form_comment to the actual FORM string used.
300
eab9267c
MW
3012020-12-14 Mark Wielaard <mark@klomp.org>
302
303 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
304 _constants(SPECIAL_expr) here, but set it...
305 (Dwarf::cu): ...here based on _cu_version.
306
2f413264
TV
3072020-12-14 Tom de Vries <tdevries@suse.de>
308
309 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
310 pass -fPIC.
311 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
312 * gdb.base/break-probes.exp: Same.
313 * gdb.base/ctxobj.exp: Same.
314 * gdb.base/dso2dso.exp: Same.
315 * gdb.base/global-var-nested-by-dso.exp: Same.
316 * gdb.base/info-shared.exp: Same.
317 * gdb.base/jit-reader-simple.exp: Same.
318 * gdb.base/print-file-var.exp: Same.
319 * gdb.base/skip-solib.exp: Same.
320 * gdb.btrace/dlopen.exp: Same.
321
18f1cb1f
TV
3222020-12-14 Tom de Vries <tdevries@suse.de>
323
324 PR testsuite/26963
325 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
326
519155c9
TV
3272020-12-14 Tom de Vries <tdevries@suse.de>
328
329 PR testsuite/26962
330 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
331 cast it to its declared type".
332
153f6e6c
TV
3332020-12-14 Tom de Vries <tdevries@suse.de>
334
335 PR testsuite/26951
336 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
337 shell prompt.
338
86b44259
TT
3392020-12-14 Tom Tromey <tromey@adacore.com>
340
341 * gdb.ada/nested.exp: Add new tests.
342 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
343
e26624c6
TT
3442020-12-14 Tom Tromey <tromey@adacore.com>
345
346 * gdb.dwarf2/ada-thick-pointer.exp: New file.
347
a3bdae4e
TT
3482020-12-14 Tom Tromey <tromey@adacore.com>
349
350 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
351
862fcbd8
TV
3522020-12-13 Tom de Vries <tdevries@suse.de>
353
354 PR testsuite/26953
355 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
356 attribute support if compiler doesn't support it.
357
a406a98e
TV
3582020-12-13 Tom de Vries <tdevries@suse.de>
359
360 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
361 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
362 source to shared lib. Add ada to options.
363
5d7e6ed0
TV
3642020-12-13 Tom de Vries <tdevries@suse.de>
365
366 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
367 calling gnatbind and gnatlink.
368
ee9812a0
AB
3692020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
370
371 * gdb.base/dcache-flush.c: New file.
372 * gdb.base/dcache-flush.exp: New file.
373
50a5f187
AB
3742020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
375
376 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
377 commands.
378 * gdb.base/killed-outside.exp: Likewise.
379 * gdb.opt/inline-bt.exp: Likewise.
380 * gdb.perf/gmonster-null-lookup.py: Likewise.
381 * gdb.perf/gmonster-print-cerr.py: Likewise.
382 * gdb.perf/gmonster-ptype-string.py: Likewise.
383 * gdb.python/py-unwind.exp: Likewise.
384
19c659f1
AB
3852020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 * gdb.base/commands.exp: Update expected results.
388
9ef6d4a1
AB
3892020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 PR cli/15104
392 * gdb.base/commands.exp: Add additional tests.
393 * gdb.base/completion.exp: Add additional tests.
394
1536146f
AB
3952020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
396
397 * gdb.base/completion.exp: Add additional tests.
398
346e7e19
TV
3992020-12-11 Tom de Vries <tdevries@suse.de>
400
401 PR testsuite/26991
402 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
403 violations by setting bounds registers if the bounds are passed in the
404 Bounds Table.
405
9cd7a95a
TV
4062020-12-11 Tom de Vries <tdevries@suse.de>
407
408 PR testsuite/26954
409 * gdb.base/float128.exp: Detect and handle no mpfr support.
410
4483a8e7
SM
4112020-12-10 Simon Marchi <simon.marchi@efficios.com>
412
413 PR gdb/24694
414 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
415 calls.
416
10067028
TV
4172020-12-10 Tom de Vries <tdevries@suse.de>
418
419 PR testsuite/26947
420 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
421 braces for tcl 8.5 and earlier.
422
5b56203a
SM
4232020-12-09 Simon Marchi <simon.marchi@efficios.com>
424
425 PR 26875, PR 26901
426 * gdb.base/flexible-array-member.c: New test.
427 * gdb.base/flexible-array-member.exp: New test.
428
b46551b2
TV
4292020-12-08 Tom de Vries <tdevries@suse.de>
430
431 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
432 using is_amd64_regs_target.
433
8439f446
TV
4342020-12-08 Tom de Vries <tdevries@suse.de>
435
436 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
437 self_id.
438
bc545da7
PA
4392020-12-07 Pedro Alves <pedro@palves.net>
440
441 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
442 'additional_flags' variable.
443
1f58f6c2
TBA
4442020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
445
446 * gdb.linespec/explicit.exp: Extend with a test to check completing
447 '-' after seemingly complete options.
448
5759831a
TBA
4492020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
450
451 * gdb.linespec/keywords.exp: Add tests to check positional
452 flexibility of "-force-condition".
453
21e051b3
TBA
4542020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
455
456 * gdb.base/bp-cmds-run-with-ex.c: New file.
457 * gdb.base/bp-cmds-run-with-ex.exp: New file.
458 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
459 * gdb.gdb/python-interrupts.exp: Update the call to
460 'catch_command_errors' with the new argument.
461 * gdb.gdb/python-selftest.exp: Ditto.
462
187b041e
SM
4632020-12-04 Simon Marchi <simon.marchi@efficios.com>
464
465 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
466 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
467 * gdb.threads/non-stop-fair-events.exp: Likewise.
468
3b7a962d
SM
4692020-12-04 Simon Marchi <simon.marchi@efficios.com>
470
471 * gdb.threads/step-over-exec.exp: New.
472 * gdb.threads/step-over-exec.c: New.
473 * gdb.threads/step-over-exec-execd.c: New.
474 * lib/my-syscalls.S: New.
475 * lib/my-syscalls.h: New.
476
e633b117
SM
4772020-12-04 Simon Marchi <simon.marchi@efficios.com>
478
479 * lib/dwarf.exp (declare_labels): Use name as text if text is
480 not provided.
481
67748e0f
TV
4822020-12-04 Tom de Vries <tdevries@suse.de>
483
484 PR testsuite/26990
485 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
486 are unsupported.
487
a8d13675
TV
4882020-12-04 Tom de Vries <tdevries@suse.de>
489
490 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
491 clause.
492
f17727b3
TV
4932020-12-04 Tom de Vries <tdevries@suse.de>
494
495 * gdb.reverse/insn-reverse.exp: Fix count handling.
496
a1499830
TV
4972020-12-04 Tom de Vries <tdevries@suse.de>
498
499 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
500 __x86_64__.
501
9c027c2f
TV
5022020-12-04 Tom de Vries <tdevries@suse.de>
503
504 * gdb.reverse/insn-reverse.c (test_nr): New var.
505 (usage, parse_args): New function.
506 (main): Call parse_args. Only run test for test_nr.
507 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
508 and bail out. Run subtests individually, using an inferior arg
509 specifying the subtest.
510
533b2ae0
AB
5112020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
512
513 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
514
e4502042
AB
5152020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
516
517 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
518 update test to use this.
519
f55a9a37
SM
5202020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
521
522 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
523
0a6155a0
SM
5242020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
525
526 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
527 (do_test): Don't use with_test_prefix.
528 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
529 (do_test): Don't use with_test_prefix.
530 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
531 (do_test): Don't use with_test_prefix.
532 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
533 (do_test): Don't use with_test_prefix.
534
4d56d64a
SM
5352020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
536
537 * gdb.threads/non-ldr-exit.exp: Fix comment.
538
54e75f29
AB
5392020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.xml/maint-xml-dump-03.xml: New file.
542
7ce05d21
TV
5432020-11-30 Tom de Vries <tdevries@suse.de>
544
545 PR symtab/26905
546 * gdb.dwarf2/count.exp: Remove kfails.
547
50757f95
TBA
5482020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
549
550 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
551 indices.
552
4afa9fd9
JB
5532020-11-24 Joel Brobecker <brobecker@adacore.com>
554
555 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
556 the "ptype pck__fp1_range_var" test for the module-2 and pascal
557 languages. Remove the associated setup_xfail.
558
15a491af
SM
5592020-11-23 Simon Marchi <simon.marchi@efficios.com>
560
561 * lib/gdb.exp (gdb_assert): Show error message on error.
562
891615f0
TV
5632020-11-23 Tom de Vries <tdevries@suse.de>
564
565 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
566 * gdb.ada/mod_from_name.exp: Same.
567 * gdb.ada/pckd_arr_ren.exp: Same.
568
19922582
SM
5692020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
570
571 * gdb.base/template.exp: New.
572 * gdb.base/template.c: New.
573
117c628d
GB
5742020-11-22 Gary Benson <gbenson@redhat.com>
575
576 PR gdb/26905
577 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
578 is defined using a DW_AT_count which references another DIE.
579
da39d3ba
TV
5802020-11-21 Tom de Vries <tdevries@suse.de>
581
582 * gdb.base/vla-ptr.exp: Add XFAIL.
583
a5c641b5
AB
5842020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
585
586 * gdb.fortran/array-slices-bad.exp: New file.
587 * gdb.fortran/array-slices-bad.f90: New file.
588 * gdb.fortran/array-slices-sub-slices.exp: New file.
589 * gdb.fortran/array-slices-sub-slices.f90: New file.
590 * gdb.fortran/array-slices.exp: Rewrite tests.
591 * gdb.fortran/array-slices.f90: Rewrite tests.
592 * gdb.fortran/vla-sizeof.exp: Correct expected results.
593
a15a5258
AB
5942020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
595
596 * gdb.base/completion.exp: Add new completion tests.
597
7cb2893d
SM
5982020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
599
600 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
601 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
602 * gdb.mi/mi-nsintrall.exp: Likewise.
603 * gdb.mi/mi-nsmoribund.exp: Likewise.
604 * gdb.mi/mi-nsthrexec.exp: Likewise.
605 * gdb.mi/mi-watch-nonstop.exp: Likewise.
606
cf144ec8
SM
6072020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
608
609 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
610 of perror.
611
6b6a3e05
JM
6122020-11-18 Joseph Myers <joseph@codesourcery.com>
613
614 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
615 $arg.exe exists but $arg does not.
616
811bdca0
GB
6172020-11-17 Gary Benson <gbenson@redhat.com>
618
619 * gdb.trace/trace-common.h (x86_trace_dummy): Add
620 __attribute__ ((used)).
621
c72e3136
AB
6222020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
623
624 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
625
037d7135
AB
6262020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
627
628 * gdb.base/completion.exp: Add new tests.
629
119e99bb
TT
6302020-11-16 Tom Tromey <tromey@adacore.com>
631
632 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
633 tests.
634
b74dbc20
JB
6352020-11-15 Joel Brobecker <brobecker@adacore.com>
636
637 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
638 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
639 (main): Add reference to pck__fp1_var2.
640 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
641
0a12719e
JB
6422020-11-15 Joel Brobecker <brobecker@adacore.com>
643
644 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
645
0c9150e4
JB
6462020-11-15 Joel Brobecker <brobecker@adacore.com>
647
648 * gdb.ada/fixed_points.exp: Add ptype tests.
649 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
650
b26daff9
JB
6512020-11-15 Joel Brobecker <brobecker@adacore.com>
652
653 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
654
09584414
JB
6552020-11-15 Joel Brobecker <brobecker@adacore.com>
656
657 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
658 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
659 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
660 New files.
661 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
662
663 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
664 New files.
665
9dd02fc0
AB
6662020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 PR cli/26879
669 * gdb.fortran/completion.exp: New file.
670 * gdb.fortran/completion.f90: New file.
671
5643c500
JM
6722020-11-12 Joseph Myers <joseph@codesourcery.com>
673
674 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
675 but $arg does not.
676
7bea47f0
AB
6772020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
678
679 * gdb.fortran/types.exp: Add more tests.
680
1f2624a3
TT
6812020-11-12 Tom Tromey <tom@tromey.com>
682
683 PR rust/26799:
684 * gdb.rust/traits.exp: Remove kfails.
685
9e74f0ae
GB
6862020-11-12 Gary Benson <gbenson@redhat.com>
687
688 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
689 statement.
690
acb994fa
SM
6912020-11-11 Simon Marchi <simon.marchi@efficios.com>
692
693 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
694 always-inserted" axis.
695 (do_test): Add breakpoint_always_inserted parameter.
696
95016fd2
TT
6972020-11-10 Tom Tromey <tromey@adacore.com>
698
699 * gdb.ada/bias.exp: Update.
700 * gdb.ada/bias/bias.adb (X): Change value.
701
83100a74
GB
7022020-11-10 Gary Benson <gbenson@redhat.com>
703
704 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
705 regexp fragment in parentheses to prevent false matching.
706
6ff174a7
GB
7072020-11-10 Gary Benson <gbenson@redhat.com>
708
709 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
710
eb24648c
GB
7112020-11-10 Gary Benson <gbenson@redhat.com>
712
713 * gdb.cp/step-and-next-inline.exp: Only require
714 -gstatement-frontiers when building with GCC.
715 Only setup KFAIL's for GCC issues when using
716 a GCC-built executable.
717
86775fab
AB
7182020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * gdb.base/debug-expr.c: Add extra function to allow for an
721 additional test.
722 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
723 to this proc with gdb_test_debug_expr. Add an extra test.
724 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
725 to this proc with gdb_test_debug_expr, give the tests names
726 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
727 calls to this proc with gdb_test_debug_expr, give the tests names
728 * gdb.fortran/debug-expr.exp: New file.
729 * gdb.fortran/debug-expr.f90: New file.
730 * lib/gdb.exp (gdb_test_debug_expr): New proc.
731
a1945bd4
SM
7322020-11-06 Simon Marchi <simon.marchi@efficios.com>
733
734 * lib/dwarf.exp (ranges): Handle "base" and "range" as
735 proceduresu.
736 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
737 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
738 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
739 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
740 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
741 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
742 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
743 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
744
9c91c725
TT
7452020-11-04 Tom Tromey <tromey@adacore.com>
746
747 * gdb.ada/funcall_ref.exp: Update.
748 * gdb.ada/var_rec_arr.exp: Update.
749
8d9fd3a1
TT
7502020-11-04 Tom Tromey <tromey@adacore.com>
751
752 * gdb.ada/rec_ptype.exp: New file.
753 * gdb.ada/rec_ptype/main.adb: New file.
754 * gdb.ada/rec_ptype/p.ads: New file.
755
d8f62e84
TT
7562020-11-04 Tom Tromey <tromey@adacore.com>
757
758 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
759 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
760 (PT_Full): New variable.
761 * gdb.ada/tick_length_array_enum_idx/pck.adb
762 (Full_PT): New type.
763
7ff5b937
TT
7642020-11-04 Tom Tromey <tromey@adacore.com>
765
766 * gdb.ada/array_of_variant.exp: New file.
767 * gdb.ada/array_of_variant/p.adb: New file.
768 * gdb.ada/array_of_variant/pck.ads: New file.
769 * gdb.ada/array_of_variant/pck.adb: New file.
770
10f6a3ad
TT
7712020-11-04 Tom Tromey <tromey@adacore.com>
772
773 * gdb.ada/enum_idx_packed.exp: Add test.
774 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
775 New variable.
776 * gdb.ada/enum_idx_packed/pck.ads (Short)
777 (Multi_Dimension, Multi_Dimension_Access): New types.
778
b72795a8
TT
7792020-11-04 Tom Tromey <tromey@adacore.com>
780
781 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
782
24aa1b02
TT
7832020-11-04 Tom Tromey <tromey@adacore.com>
784
785 * gdb.ada/set_pckd_arr_elt.exp: Also test
786 -fgnat-encodings=minimal. Add tests.
787 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
788 Call Update_Small a second time.
789 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
790 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
791 (Variant_Access): New types.
792 (New_Variant): Declare.
793
c9a28cbe
TT
7942020-11-04 Tom Tromey <tromey@adacore.com>
795
796 * gdb.ada/mod_from_name.exp: Test printing slice.
797
57567375
TT
7982020-11-04 Tom Tromey <tromey@adacore.com>
799
800 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
801 values.
802 * gdb.ada/access_to_unbounded_array.exp: Test different
803 -fgnat-encodings values.
804 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
805 values.
806 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
807 values.
808 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
809 values.
810 * gdb.ada/array_of_variable_length.exp: Test different
811 -fgnat-encodings values.
812 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
813 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
814 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
815 change.
816 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
817 values.
818 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
819 * gdb.ada/out_of_line_in_inlined.exp: Test different
820 -fgnat-encodings values.
821 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
822 values.
823 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
824 values.
825 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
826 -fgnat-encodings values.
827 * gdb.ada/variant_record_packed_array.exp: Test different
828 -fgnat-encodings values.
829
a7400e44
TT
8302020-11-04 Tom Tromey <tromey@adacore.com>
831
832 * gdb.ada/enum_idx_packed.exp: Add tests.
833 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
834 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
835 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
836 declarations.
837
c40907bf
TV
8382020-11-03 Tom de Vries <tdevries@suse.de>
839
840 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
841 terminator comments.
842 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
843 terminator.
844
f468977a
SM
8452020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
846
847 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
848 integer format test with regexp.
849
1c2bec19
GB
8502020-11-02 Gary Benson <gbenson@redhat.com>
851
852 * gdb.base/print-file-var.exp (test): Separate compiler and
853 linker options, and build using build_executable_from_specs
854 to accommodate this.
855
6539a36d
GB
8562020-11-02 Gary Benson <gbenson@redhat.com>
857
858 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
859 for .c files compiled as C++ with Clang if any shared
860 libraries are specified.
861
7ea44a51
GB
8622020-11-02 Gary Benson <gbenson@redhat.com>
863
864 * lib/attributes.h: New header.
865 * gdb.base/backtrace.c: Include the above. Replace
866 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
867 * gdb.base/infcall-nested-structs.c: Likewise.
868 * gdb.base/vla-optimized-out.c: Likewise.
869
ab8f783d
TV
8702020-11-02 Tom de Vries <tdevries@suse.de>
871
872 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
873
d77c9224
JB
8742020-11-01 Joel Brobecker <brobecker@adacore.com>
875
876 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
877 System.Min_Int and System.Max_Int with smaller hardcoded
878 constants.
879
0e5b0dd0
SM
8802020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
881
882 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
883 * configure: Re-generate.
884
136821d9
SM
8852020-10-30 Simon Marchi <simon.marchi@efficios.com>
886
887 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
888 expected output.
889
b78b3a29
TBA
8902020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
891
892 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
893 behavior.
894 * gdb.base/paginate-bg-execution.exp: Ditto.
895 * gdb.base/paginate-inferior-exit.exp: Ditto.
896 * gdb.base/double-prompt-target-event-error.c: Remove.
897 * gdb.base/double-prompt-target-event-error.exp: Remove.
898
cfaa8f76
TBA
8992020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
900
901 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
902 inferiors' and 'detach inferiors' do not change the current
903 inferior.
904
0ad0e70c
TV
9052020-10-29 Tom de Vries <tdevries@suse.de>
906
907 * gdb.threads/tls.exp: Fix DUPLICATEs.
908
99cc6b2a
TV
9092020-10-28 Tom de Vries <tdevries@suse.de>
910
911 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
912
efe9b873
TV
9132020-10-28 Tom de Vries <tdevries@suse.de>
914
915 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
916 * gdb.base/reread.exp: Same.
917
6b68fd45
TV
9182020-10-28 Tom de Vries <tdevries@suse.de>
919
920 * lib/gdb.exp (readnow): Handle arg.
921 * gdb.rust/traits.exp: Add KFAILs for -readnow.
922
32a5f98a
TV
9232020-10-28 Tom de Vries <tdevries@suse.de>
924
925 * gdb.base/relocate.exp: Update regexp for -readnow.
926
f93b8760
TV
9272020-10-28 Tom de Vries <tdevries@suse.de>
928
929 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
930 -readnow.
931
1b00ef06
TV
9322020-10-28 Tom de Vries <tdevries@suse.de>
933
934 PR symtab/26772
935 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
936 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
937
364bb903
TV
9382020-10-28 Tom de Vries <tdevries@suse.de>
939
940 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
941 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
942 complaint during file command for -readnow.
943
445a033f
TV
9442020-10-28 Tom de Vries <tdevries@suse.de>
945
946 * gdb.cp/nsalias.exp: Fix typo in test name.
947
fdd67a42
TV
9482020-10-28 Tom de Vries <tdevries@suse.de>
949
950 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
951
706baf4c
TV
9522020-10-28 Tom de Vries <tdevries@suse.de>
953
954 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
955 -readnow.
956
b448cca5
TV
9572020-10-27 Tom de Vries <tdevries@suse.de>
958
959 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
960
5868da03
TV
9612020-10-27 Tom de Vries <tdevries@suse.de>
962
963 * gdb.base/maint.exp: Update for -readnow.
964
06db6ec3
TV
9652020-10-27 Tom de Vries <tdevries@suse.de>
966
967 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
968 -readnow.
969
934a1764
GB
9702020-10-14 Gary Benson <gbenson@redhat.com>
971
972 * gdb.python/py-format-string.exp (test_deref_refs): Treat
973 "_vptr$Base" as correct, in addition to "_vptr.Base".
974 (test_mixed): Likewise.
975
0bf21fbd
GB
9762020-10-27 Gary Benson <gbenson@redhat.com>
977
978 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
979 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
980
b1d4d8d1
TBA
9812020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
982
983 * gdb.base/condbreak.exp: Update the completion tests to
984 consider the '-force' flag.
985
bd24c5d6
TV
9862020-10-27 Tom de Vries <tdevries@suse.de>
987
988 * gdb.base/list-ambiguous-readnow.exp: New file.
989
733d554a
TBA
9902020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
991
992 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
993 the condition.
994 * gdb.linespec/cpcompletion.exp: Update to consider the
995 '-force-condition' keyword.
996 * gdb.linespec/explicit.exp: Ditto.
997 * lib/completion-support.exp: Ditto.
998
b5fa468f
TBA
9992020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1000
1001 * gdb.base/condbreak-multi-context.cc: New file.
1002 * gdb.base/condbreak-multi-context.exp: New file.
1003
b3247276
TT
10042020-10-26 Tom Tromey <tom@tromey.com>
1005
1006 * lib/mi-support.exp (default_mi_gdb_start): Call
1007 gdb_stdin_log_init.
1008 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1009 subtract one from gdb_instances.
1010 (gdb_stdin_log_write): Flush in_file.
1011
1c47ec3e
TV
10122020-10-26 Tom de Vries <tdevries@suse.de>
1013
1014 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1015
6390859c
TT
10162020-10-26 Tom Tromey <tromey@adacore.com>
1017
1018 * gdb.ada/unsigned_range/foo.adb: New file.
1019 * gdb.ada/unsigned_range/pack.adb: New file.
1020 * gdb.ada/unsigned_range/pack.ads: New file.
1021 * gdb.ada/unsigned_range.exp: New file.
1022
55c3ad88
TV
10232020-10-26 Tom de Vries <tdevries@suse.de>
1024
1025 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1026
1612c4bb
TV
10272020-10-26 Tom de Vries <tdevries@suse.de>
1028
1029 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1030 for CU.
1031 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1032
7d72802b
TV
10332020-10-23 Tom de Vries <tdevries@suse.de>
1034
1035 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1036 DW_FORM_string.
1037 (Dwarf::_default_form): New proc.
1038 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1039 guessed.
1040
9476b583
TV
10412020-10-23 Tom de Vries <tdevries@suse.de>
1042
1043 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1044 * gdb.dwarf2/atomic-type.exp: Same.
1045 * gdb.dwarf2/bad-regnum.exp: Same.
1046 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1047 * gdb.dwarf2/dw2-align.exp: Same.
1048 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1049 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1050 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1051 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1052 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1053 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1054 * gdb.dwarf2/enum-type.exp: Same.
1055 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1056 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1057 * gdb.dwarf2/main-subprogram.exp: Same.
1058 * gdb.dwarf2/missing-type-name.exp: Same.
1059 * gdb.dwarf2/nonvar-access.exp: Same.
1060 * gdb.dwarf2/typedef-void-finish.exp: Same.
1061 * gdb.dwarf2/var-access.exp: Same.
1062 * gdb.dwarf2/void-type.exp: Same.
1063
4a636814
SM
10642020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1065
1066 PR gdb/26693
1067 * gdb.dwarf2/template-specification-full-name.exp: New test.
1068
557fc257
LM
10692020-10-22 Luis Machado <luis.machado@linaro.org>
1070
1071 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1072 expected an offset from the function.
1073 * gdb.base/msym-bp.exp (test): Likewise.
1074
6b4c676c
AB
10752020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1076
1077 * gdb.fortran/array-slices.exp: Add a new test.
1078
98cec4f6
GB
10792020-10-21 Gary Benson <gbenson@redhat.com>
1080
1081 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1082 fullname test with Clang. Also expand comments generally.
1083
ae86f581
TV
10842020-10-20 Tom de Vries <tdevries@suse.de>
1085
1086 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1087
8c161360
TV
10882020-10-20 Tom de Vries <tdevries@suse.de>
1089
1090 * gdb.dwarf2/arr-stride.c: Remove.
1091 * gdb.dwarf2/arr-stride.exp: Use main.c.
1092 * gdb.dwarf2/arr-subrange.c: Remove.
1093 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1094 * gdb.dwarf2/bad-regnum.c: Remove.
1095 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1096 * gdb.dwarf2/corrupt.c: Remove.
1097 * gdb.dwarf2/corrupt.exp: Use main.c.
1098 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1099 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1100 * gdb.dwarf2/dw2-icycle.c: Remove.
1101 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1102 * gdb.dwarf2/formdata16.c: Remove.
1103 * gdb.dwarf2/formdata16.exp: Use main.c.
1104 * gdb.dwarf2/implptrconst.c: Remove.
1105 * gdb.dwarf2/implptrconst.exp: Use main.c.
1106 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1107 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1108 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1109 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1110
9c2412ec
TV
11112020-10-20 Tom de Vries <tdevries@suse.de>
1112
1113 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1114 file.
1115 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1116
0cd2ad78
TV
11172020-10-20 Tom de Vries <tdevries@suse.de>
1118
1119 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1120 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1121 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1122 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1123 * gdb.dwarf2/dw2-ranges.exp: Same.
1124 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1125 * gdb.dwarf2/var-access.exp: Same.
1126
22cc388e
TT
11272020-10-19 Tom Tromey <tromey@adacore.com>
1128
1129 PR tui/26719
1130 * gdb.tui/list.exp: Check source window contents after focus
1131 change.
1132
520596f2
TV
11332020-10-17 Tom de Vries <tdevries@suse.de>
1134
1135 PR symtab/26317
1136 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1137
d1c8a76d
TV
11382020-10-17 Tom de Vries <tdevries@suse.de>
1139
1140 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1141 as suffix.
1142 * gdb.dwarf2/atomic.c: Rename to ...
1143 * gdb.dwarf2/atomic-type.c: ... this.
1144 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1145 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1146 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1147 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1148 * gdb.dwarf2/fission-mix2.c: Rename to ...
1149 * gdb.dwarf2/fission-mix-2.c: ... this.
1150 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1151 standard_testfile.
1152 * gdb.dwarf2/ada-valprint-error.exp: Same.
1153 * gdb.dwarf2/arr-stride.exp: Same.
1154 * gdb.dwarf2/arr-subrange.exp: Same.
1155 * gdb.dwarf2/atomic-type.exp: Same.
1156 * gdb.dwarf2/bad-regnum.exp: Same.
1157 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1158 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1159 * gdb.dwarf2/clang-debug-names.exp: Same.
1160 * gdb.dwarf2/comp-unit-lang.exp: Same.
1161 * gdb.dwarf2/corrupt.exp: Same.
1162 * gdb.dwarf2/count.exp: Same.
1163 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1164 * gdb.dwarf2/data-loc.exp: Same.
1165 * gdb.dwarf2/dw2-align.exp: Same.
1166 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1167 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1168 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1169 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1170 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1171 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1172 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1173 * gdb.dwarf2/dw2-inline-param.exp: Same.
1174 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1175 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1176 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1177 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1178 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1179 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1180 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1181 * gdb.dwarf2/dw2-param-error.exp: Same.
1182 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1183 * gdb.dwarf2/dw2-ranges.exp: Same.
1184 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1185 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1186 * gdb.dwarf2/dw4-sig-types.exp: Same.
1187 * gdb.dwarf2/dynarr-ptr.exp: Same.
1188 * gdb.dwarf2/enum-type.exp: Same.
1189 * gdb.dwarf2/fission-mix.exp: Same.
1190 * gdb.dwarf2/formdata16.exp: Same.
1191 * gdb.dwarf2/implptrconst.exp: Same.
1192 * gdb.dwarf2/implptrpiece.exp: Same.
1193 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1194 * gdb.dwarf2/main-subprogram.exp: Same.
1195 * gdb.dwarf2/method-ptr.exp: Same.
1196 * gdb.dwarf2/missing-sig-type.exp: Same.
1197 * gdb.dwarf2/nonvar-access.exp: Same.
1198 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1199 * gdb.dwarf2/shortpiece.exp: Same.
1200 * gdb.dwarf2/staticvirtual.exp: Same.
1201 * gdb.dwarf2/subrange.exp: Same.
1202 * gdb.dwarf2/symtab-producer.exp: Same.
1203 * gdb.dwarf2/typedef-void-finish.exp: Same.
1204 * gdb.dwarf2/var-access.exp: Same.
1205 * gdb.dwarf2/variant.exp: Same.
1206 * gdb.dwarf2/void-type.exp: Same.
1207 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1208 dw2-ranges-main.c.
1209 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1210
472d09c1
TV
12112020-10-16 Tom de Vries <tdevries@suse.de>
1212
1213 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1214
afe75f6d
TV
12152020-10-16 Tom de Vries <tdevries@suse.de>
1216
1217 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1218
8c8bd0ba
TV
12192020-10-14 Tom de Vries <tdevries@suse.de>
1220
1221 PR testsuite/26732
1222 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1223 scenario 2.
1224 * gdb.ada/mi_catch_ex_hand.exp: Same.
1225
b75d55d4
PA
12262020-10-13 Pedro Alves <pedro@palves.net>
1227
1228 * lib/mi-support.exp (mi_clean_restart): New.
1229 (mi_run_to_main): Delete.
1230 All callers adjust to use mi_clean_restart / mi_runto_main.
1231
e777225b
PA
12322020-10-13 Pedro Alves <pedro@palves.net>
1233
1234 * config/monitor.exp: Use "list -q".
1235 * gdb.arch/gdb1558.exp: Use "break -q".
1236 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1237 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1238 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1239 * gdb.base/commands.exp: Use "break -q".
1240 * gdb.base/condbreak.exp: Use "break -q".
1241 * gdb.base/ctf-ptype.exp: Use "list -q".
1242 * gdb.base/define.exp: Use "break -q".
1243 * gdb.base/del.exp: Use "break -q".
1244 * gdb.base/fullname.exp: Use "break -q".
1245 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1246 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1247 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1248 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1249 "hbreak -q".
1250 * gdb.base/included.exp: Use "list -q".
1251 * gdb.base/label.exp: Use "break -q".
1252 * gdb.base/lineinc.exp: Use "break -q".
1253 * gdb.base/list.exp: Use "list -q".
1254 * gdb.base/macscp.exp: Use "list -q".
1255 * gdb.base/pending.exp: Use "break -q".
1256 * gdb.base/prologue-include.exp: Use "break -q".
1257 * gdb.base/ptype.exp: Use "list -q".
1258 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1259 * gdb.base/server-del-break.exp: Use "break -q".
1260 * gdb.base/style.exp: Use "break -q".
1261 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1262 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1263 * gdb.cp/exception.exp: Use "tbreak -q".
1264 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1265 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1266 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1267 * gdb.dwarf2/pr13961.exp: Use "break -q".
1268 * gdb.linespec/explicit.exp: Use "list -q".
1269 * gdb.linespec/linespec.exp: Use "break -q".
1270 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1271 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1272 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1273 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1274 * gdb.trace/change-loc.exp: Use "break -q".
1275 * gdb.trace/pending.exp: Use "break -q".
1276 * gdb.tui/basic.exp: Use "list -q".
1277 * gdb.tui/list-before.exp: Use "list -q".
1278 * gdb.tui/list.exp: Use "list -q".
1279 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1280
8abd8ee8
PA
12812020-10-13 Pedro Alves <pedro@palves.net>
1282
1283 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1284 saved breakpoints file.
1285 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1286 inspecting breakpoint list.
1287 * lib/gdb.exp (runto_main): Add "qualified" to options.
1288 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1289 and handle it.
1290 (mi_runto_main): Pass 1 as qualified argument.
1291
f71e6719
PA
12922020-10-13 Pedro Alves <pedro@palves.net>
1293
1294 * lib/mi-support.exp (mi_runto_main): New proc.
1295 (mi_run_to_main): Use it.
1296 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1297 * gdb.mi/mi-var-cmd.exp: Likewise.
1298 * gdb.mi/mi-var-invalidate.exp: Likewise.
1299 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1300 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1301 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1302 * gdb.mi/user-selected-context-sync.exp: Likewise.
1303 * gdb.opt/inline-cmds.exp: Likewise.
1304 * gdb.python/py-framefilter-mi.exp: Likewise.
1305 * gdb.python/py-mi.exp: Likewise.
1306
50441f0f
PA
13072020-10-13 Pedro Alves <pedro@palves.net>
1308
1309 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1310 "runto main".
1311 * gdb.ada/small_reg_param.exp: Likewise.
1312 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1313 * gdb.base/annota1.exp: Likewise.
1314 * gdb.base/anon.exp: Likewise.
1315 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1316 * gdb.base/dprintf-non-stop.exp: Likewise.
1317 * gdb.base/dprintf.exp: Likewise.
1318 * gdb.base/gdb11530.exp: Likewise.
1319 * gdb.base/gdb11531.exp: Likewise.
1320 * gdb.base/gnu_vector.exp: Likewise.
1321 * gdb.base/interrupt-noterm.exp: Likewise.
1322 * gdb.base/memattr.exp: Likewise.
1323 * gdb.base/step-over-syscall.exp: Likewise.
1324 * gdb.base/watch-cond-infcall.exp: Likewise.
1325 * gdb.base/watch-read.exp: Likewise.
1326 * gdb.base/watch-vfork.exp: Likewise.
1327 * gdb.base/watch_thread_num.exp: Likewise.
1328 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1329 * gdb.guile/scm-frame-inline.exp: Likewise.
1330 * gdb.linespec/explicit.exp: Likewise.
1331 * gdb.opt/inline-break.exp: Likewise.
1332 * gdb.python/py-frame-inline.exp: Likewise.
1333 * gdb.reverse/break-precsave.exp: Likewise.
1334 * gdb.reverse/break-reverse.exp: Likewise.
1335 * gdb.reverse/consecutive-precsave.exp: Likewise.
1336 * gdb.reverse/consecutive-reverse.exp: Likewise.
1337 * gdb.reverse/finish-precsave.exp: Likewise.
1338 * gdb.reverse/finish-reverse.exp: Likewise.
1339 * gdb.reverse/fstatat-reverse.exp: Likewise.
1340 * gdb.reverse/getresuid-reverse.exp: Likewise.
1341 * gdb.reverse/i386-precsave.exp: Likewise.
1342 * gdb.reverse/i386-reverse.exp: Likewise.
1343 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1344 * gdb.reverse/i387-env-reverse.exp: Likewise.
1345 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1346 * gdb.reverse/insn-reverse.exp: Likewise.
1347 * gdb.reverse/machinestate-precsave.exp: Likewise.
1348 * gdb.reverse/machinestate.exp: Likewise.
1349 * gdb.reverse/pipe-reverse.exp: Likewise.
1350 * gdb.reverse/readv-reverse.exp: Likewise.
1351 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1352 * gdb.reverse/rerun-prec.exp: Likewise.
1353 * gdb.reverse/s390-mvcle.exp: Likewise.
1354 * gdb.reverse/solib-precsave.exp: Likewise.
1355 * gdb.reverse/solib-reverse.exp: Likewise.
1356 * gdb.reverse/step-precsave.exp: Likewise.
1357 * gdb.reverse/step-reverse.exp: Likewise.
1358 * gdb.reverse/time-reverse.exp: Likewise.
1359 * gdb.reverse/until-precsave.exp: Likewise.
1360 * gdb.reverse/until-reverse.exp: Likewise.
1361 * gdb.reverse/waitpid-reverse.exp: Likewise.
1362 * gdb.reverse/watch-precsave.exp: Likewise.
1363 * gdb.reverse/watch-reverse.exp: Likewise.
1364 * gdb.threads/kill.exp: Likewise.
1365 * gdb.threads/tid-reuse.exp: Likewise.
1366
d3a07122
SM
13672020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1368
1369 PR gdb/26642
1370 * gdb.base/maint-target-async-off.c: New test.
1371 * gdb.base/maint-target-async-off.exp: New test.
1372
c65c6c42
AM
13732020-10-13 Alan Modra <amodra@gmail.com>
1374
1375 * gdb.arch/powerpc-altivec.s,
1376 * gdb.arch/powerpc-power7.s,
1377 * gdb.arch/powerpc-power8.s,
1378 * gdb.arch/powerpc-power9.s,
1379 * gdb.arch/powerpc-vsx.s,
1380 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1381 * gdb.arch/powerpc-altivec.exp,
1382 * gdb.arch/powerpc-power7.exp,
1383 * gdb.arch/powerpc-power8.exp,
1384 * gdb.arch/powerpc-power9.exp,
1385 * gdb.arch/powerpc-vsx.exp,
1386 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1387 disassembly of mfvsrd/mtvsrd.
1388
f4a0f710
AM
13892020-10-13 Alan Modra <amodra@gmail.com>
1390
1391 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1392 "target architecture" output.
1393 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1394 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1395 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1396 * gdb.arch/s390-disassembler-options.exp: Likewise.
1397
87a37e5e
PA
13982020-10-12 Pedro Alves <pedro@palves.net>
1399
1400 PR exp/26602
1401 PR c++/26550
1402 * gdb.cp/ambiguous.cc (marker1): Delete.
1403 (main): Initialize all the fields of the locals. Replace marker1
1404 call with a "set breakpoint here" marker.
1405 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1406 instead of running to marker1. Add tests printing all the
1407 variables and all the fields of the variables.
1408 (test_ambiguous): New proc, expecting the new GDB output when a
1409 field access is ambiguous. Change all "warning: X ambiguous"
1410 tests to use it.
1411
71e1b6b0
GB
14122020-10-12 Gary Benson <gbenson@redhat.com>
1413
1414 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1415 * gdb.base/msym-bp-2.c (foo): Likewise.
1416 * gdb.base/msym-lang.c (foo): Likewise.
1417 * gdb.base/msym-lang-main.c (foo): Likewise.
1418 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1419 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1420 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1421 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1422 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1423 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1424 * gdb.python/py-objfile.c (static_var): Likewise.
1425 * gdb.python/py-symbol.c (rr): Likewise.
1426 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1427 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1428
9370fd51
AB
14292020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1430
1431 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1432 output of backtrace.
1433
7c184d33
TT
14342020-10-09 Tom Tromey <tromey@adacore.com>
1435
1436 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1437 (Rec): Add field. Fix range.
1438 * gdb.ada/scalar_storage.exp: Update.
1439
3d87245c
HD
14402020-10-09 Hannes Domani <ssbssa@yahoo.de>
1441
1442 PR exp/26714
1443 * gdb.base/printcmds.exp: Add tests for void results.
1444
f5c4b229
JV
14452020-10-09 Jan Vrany <jan.vrany@labware.com>
1446
1447 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1448 is emmited for both 'set directories' and 'directory' commands.
1449
b2701685
TT
14502020-10-08 Tom Tromey <tom@tromey.com>
1451
1452 * gdb.base/style.exp: Check that "main"'s name is styled.
1453
e86efb33
TT
14542020-10-07 Tom Tromey <tromey@adacore.com>
1455
1456 * gdb.base/find.exp: Rename some tests.
1457
30897591
GB
14582020-10-06 Gary Benson <gbenson@redhat.com>
1459
1460 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1461 * gdb.base/list1.c (unused): Likewise.
1462
ced4a4c1
GB
14632020-10-06 Gary Benson <gbenson@redhat.com>
1464
1465 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1466 __attribute__ ((used)).
1467 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1468
ed3bdac4
AB
14692020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1470
1471 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1472 make use of regions throughout.
1473 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1474 not {...}.
1475 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1476
cd096ec8
HD
14772020-10-05 Hannes Domani <ssbssa@yahoo.de>
1478
1479 * gdb.base/call-sc.c: Fix return struct on stack test case.
1480 * gdb.base/call-sc.exp: Likewise.
1481
3ee6f75d
GB
14822020-10-02 Gary Benson <gbenson@redhat.com>
1483
1484 * README: Fix "paralell".
1485
f65825ec
GB
14862020-09-30 Gary Benson <gbenson@redhat.com>
1487
1488 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1489 Convert directive to lowercase.
1490 (.Labbrev1_begin): Add missing label.
1491 (abbrev code 0x1): Remove DW_AT_stmt_list.
1492 (.Ldie_b): Likewise.
1493
5f278258
TT
14942020-09-27 Tom Tromey <tom@tromey.com>
1495
1496 * gdb.tui/new-layout.exp: Use with_test_prefix.
1497
8f9929bb
GR
14982020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1499
1500 PR python/26586
1501 * gdb.python/python.exp: add test cases for the from_tty
1502 argument to gdb.execute.
1503
c20c017b
GB
15042020-09-25 Gary Benson <gbenson@redhat.com>
1505
1506 * gdb.base/infcall-nested-structs.exp.tcl: Add
1507 additional_flags=-Wno-tautological-compare for C++
1508 tests when compiling using Clang.
1509
68d654af
GB
15102020-09-25 Gary Benson <gbenson@redhat.com>
1511
1512 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1513 for .c files.
1514
b551a89f
TT
15152020-09-24 Tom Tromey <tromey@adacore.com>
1516
1517 PR tui/26638:
1518 * gdb.tui/list.exp: Check output of "focus next".
1519
20a5fcbd
TT
15202020-09-23 Tom Tromey <tom@tromey.com>
1521
1522 * gdb.dwarf2/intbits.exp: New file.
1523 * gdb.dwarf2/intbits.c: New file.
1524
b167e53f
PA
15252020-09-20 Pedro Alves <pedro@palves.net>
1526
1527 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1528 spawn_id before calling remote_close. Close secondary MI channel.
1529
dbc49e9f
PA
15302020-09-20 Pedro Alves <pedro@palves.net>
1531
1532 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1533 fails.
1534
c8d5abea
AB
15352020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1536
1537 * gdb.fortran/array-slices.exp: Update expected results.
1538 * gdb.fortran/class-allocatable-array.exp: Likewise.
1539 * gdb.fortran/multi-dim.exp: Likewise.
1540 * gdb.fortran/vla-type.exp: Likewise.
1541 * gdb.mi/mi-vla-fortran.exp: Likewise.
1542
14f9473c
VC
15432020-09-18 Victor Collod <vcollod@nvidia.com>
1544
1545 PR gdb/26635
1546 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1547 compatible with i386, and move it to...
1548 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1549 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1550 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1551
e8ef12b9
PA
15522020-09-18 Pedro Alves <pedro@palves.net>
1553
1554 PR gdb/26631
1555 * gdb.multi/multi-target-thread-find.exp: New file.
1556
e11daf7a
PA
15572020-09-18 Pedro Alves <pedro@palves.net>
1558
1559 * gdb.multi/multi-target-continue.exp: New file, factored out from
1560 multi-target.exp.
1561 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1562 multi-target.exp.
1563 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1564 multi-target.exp.
1565 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1566 multi-target.exp.
1567 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1568 multi-target.exp.
1569 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1570 multi-target.exp.
1571 * gdb.multi/multi-target.exp: Delete.
1572
d0edc2b8
AB
15732020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 * gdb.fortran/array-slices.exp: Add missing message data.
1576
7474326c
PA
15772020-09-17 Pedro Alves <pedro@palves.net>
1578
1579 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1580
dd23068d
PA
15812020-09-17 Pedro Alves <pedro@palves.net>
1582
1583 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1584 full prototype.
1585
0640a543
PA
15862020-09-17 Pedro Alves <pedro@palves.net>
1587
1588 * gdb.python/py-as-string.c: Add cast.
1589
ef0cdbc1
PA
15902020-09-17 Pedro Alves <pedro@palves.net>
1591
1592 * gdb.base/sizeof.c (fill): Add cast.
1593
3a5eeb8b
PA
15942020-09-17 Pedro Alves <pedro@palves.net>
1595
1596 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1597
a8129512
PA
15982020-09-17 Pedro Alves <pedro@palves.net>
1599
1600 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1601 linkage name.
1602 * gdb.base/prologue.exp: Use print /d.
1603 * gdb.base/symbol-alias.exp: Handle C++ output.
1604 * gdb.base/symbol-alias2.c: Handle C++ output.
1605 [__cplusplus] (func): Explicitly specify linkage name.
1606
a83cdcb6
PA
16072020-09-17 Pedro Alves <pedro@palves.net>
1608
1609 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1610 (struct my_key_t): ... this. Adjust all references.
1611 (struct value_t): Rename to ...
1612 (struct my_value_t): ... this. Adjust all references.
1613 (create_map, add_map_element, create_map_map)
1614 (add_map_map_element): Add casts.
1615
d4bcee5c
PA
16162020-09-17 Pedro Alves <pedro@palves.net>
1617
1618 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1619 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1620
81f90489
PA
16212020-09-17 Pedro Alves <pedro@palves.net>
1622
1623 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1624
0a229804
PA
16252020-09-17 Pedro Alves <pedro@palves.net>
1626
1627 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1628 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1629 (charfoo, intfoo): Define full prototype.
1630 * gdb.base/ptype1.c (charfoo): Define full prototype.
1631 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1632 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1633
c3e5138d
PA
16342020-09-17 Pedro Alves <pedro@palves.net>
1635
1636 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1637 Don't define.
1638 (utf_32_string): Compile for both C and C++.
1639 * gdb.base/charset.exp: Use "print /d".
1640
151fdbad
PA
16412020-09-17 Pedro Alves <pedro@palves.net>
1642
1643 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1644 (nullptr): Rename to ...
1645 (null_ptr): ... this.
1646 * gdb.base/watchpoint.exp: Adjust to rename.
1647
18a25b64
PA
16482020-09-17 Pedro Alves <pedro@palves.net>
1649
1650 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1651 (three_not_flag): Add casts.
1652
11fac337
PA
16532020-09-17 Pedro Alves <pedro@palves.net>
1654
1655 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1656 char array.
1657 (main): Add references to Barrier, TestStrings, TestStringsH and
1658 TestStringsW.
1659 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1660 and expect a full prototype in C++.
1661
52626c58
PA
16622020-09-17 Pedro Alves <pedro@palves.net>
1663
1664 * gdb.base/nested-addr.c (main): Add cast.
1665 * gdb.base/nested-addr.exp: Use "print /d".
1666
52bb0902
PA
16672020-09-17 Pedro Alves <pedro@palves.net>
1668
1669 * gdb.base/break.exp (func): New. Use it throughout when
1670 expecting a function name.
1671
73e18ac9
PA
16722020-09-17 Pedro Alves <pedro@palves.net>
1673
1674 * gdb.base/display.exp: Issue "set print asm-demangle on".
1675
c8b18808
PA
16762020-09-17 Pedro Alves <pedro@palves.net>
1677
1678 * gdb.base/find.c: Include <string.h>.
1679 (init_bufs): Add cast.
1680 * gdb.base/find.exp: Issue "set print asm-demangle on".
1681
fe830662
TT
16822020-09-16 Tom Tromey <tromey@adacore.com>
1683
1684 PR gdb/26598:
1685 * gdb.base/skipcxx.exp: New file.
1686 * gdb.base/skipcxx.cc: New file.
1687
945ff6e2
TV
16882020-09-16 Tom de Vries <tdevries@suse.de>
1689
1690 PR testsuite/26617
1691 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1692 WITH_DEBUG_SECTIONS is defined.
1693 (xstr, str): New macro.
1694 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1695 to get start and size of _Dmain.
1696 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1697 using additional_flags.
1698
da1df1db
TBA
16992020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1700
1701 * gdb.base/bp-cmds-sourced-script.c: New file.
1702 * gdb.base/bp-cmds-sourced-script.exp: New test.
1703 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1704
337882d4
TV
17052020-09-16 Tom de Vries <tdevries@suse.de>
1706
1707 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1708 get the gdb prompt after issuing "monitor exit".
1709
7361f908
TV
17102020-09-16 Tom de Vries <tdevries@suse.de>
1711
1712 PR testsuite/26624
1713 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1714
4d91ddd3
TV
17152020-09-16 Tom de Vries <tdevries@suse.de>
1716
1717 PR testsuite/26618
1718 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1719
08cc37dd
TT
17202020-09-15 Tom Tromey <tromey@adacore.com>
1721
1722 PR rust/26197:
1723 * lib/rust-support.exp (rust_llvm_version): New proc.
1724 * gdb.rust/simple.exp: Check rust_llvm_version.
1725
ee6372f2
TV
17262020-09-14 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.rust/traits.exp: Fix PATH warning.
1729
dc3a371e
PA
17302020-09-13 Pedro Alves <pedro@palves.net>
1731
1732 * gdb.base/catch-follow-exec.c (main): Add explicit return
1733 statement.
1734 * gdb.base/catch-signal.c (main): Likewise.
1735 * gdb.base/condbreak-call-false.c (main): Likewise.
1736 * gdb.base/consecutive.c (main): Add explicit return
1737 statement and return type.
1738 * gdb.base/cursal.c (main): Add explicit return statement.
1739 * gdb.base/cvexpr.c (main): Likewise.
1740 * gdb.base/display.c (main): Add explicit return statement and
1741 return type.
1742 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1743 * gdb.base/endianity.c (main): Likewise.
1744 * gdb.base/execd-prog.c (main): Likewise.
1745 * gdb.base/gdb1090.c (main): Likewise.
1746 * gdb.base/info_qt.c (main): Likewise.
1747 * gdb.base/lineinc.c (main): Likewise.
1748 * gdb.base/load-command.c (main): Likewise.
1749 * gdb.base/macscp1.c (main): Likewise.
1750 * gdb.base/pr10179-a.c (main): Likewise.
1751 * gdb.base/quit-live.c (main): Likewise.
1752 * gdb.base/scope0.c (main): Likewise.
1753 * gdb.base/settings.c (main): Likewise.
1754 * gdb.base/stack-checking.c (main): Return int.
1755 * gdb.base/varargs.c (main): Add explicit return statement.
1756 * gdb.cp/ambiguous.cc (main): Likewise.
1757 * gdb.cp/anon-struct.cc (main): Likewise.
1758 * gdb.cp/anon-union.cc (main): Likewise.
1759 * gdb.cp/bool.cc (main): Likewise.
1760 * gdb.cp/bs15503.cc (main): Likewise.
1761 * gdb.cp/cplusfuncs.cc (main): Likewise.
1762 * gdb.cp/cttiadd.cc (main): Likewise.
1763 * gdb.cp/extern-c.cc (main): Likewise.
1764 * gdb.cp/filename.cc (main): Likewise.
1765 * gdb.cp/formatted-ref.cc (main): Likewise.
1766 * gdb.cp/mb-ctor.cc (main): Likewise.
1767 * gdb.cp/member-ptr.cc (main): Likewise.
1768 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1769 * gdb.cp/overload-const.cc (main): Likewise.
1770 * gdb.cp/paren-type.cc (main): Likewise.
1771 * gdb.cp/parse-lang.cc (main): Likewise.
1772 * gdb.cp/pr-1023.cc (main): Likewise.
1773 * gdb.cp/psmang1.cc (main): Likewise.
1774 * gdb.cp/readnow-language.cc (main): Likewise.
1775 * gdb.cp/ref-params.cc (main): Likewise.
1776 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1777 * gdb.cp/virtbase2.cc (main): Likewise.
1778 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1779 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1780 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1781 * gdb.mi/mi-console.c (main): Likewise.
1782 * gdb.mi/mi-read-memory.c (main): Likewise.
1783 * gdb.modula2/multidim.c (main): Likewise.
1784 * gdb.opt/inline-small-func.c (main): Likewise.
1785 * gdb.python/py-rbreak.c (main): Likewise.
1786 * gdb.stabs/exclfwd1.c (main): Likewise.
1787 * gdb.trace/qtro.c (main): Likewise.
1788
af26601c
PA
17892020-09-13 Pedro Alves <pedro@palves.net>
1790
1791 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1792 instead of getenv.
1793
2f4b83cd
PA
17942020-09-13 Pedro Alves <pedro@palves.net>
1795
1796 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1797 instead of spawning GDB with remote_spawn.
1798 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1799 gdb_spawn instead of spawning GDB with remote_spawn.
1800
c49da0e4
PA
18012020-09-13 Pedro Alves <pedro@palves.net>
1802
1803 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1804 file and add calls to first and second.
1805 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1806 add call to f.
1807
6791b117
PA
18082020-09-13 Pedro Alves <pedro@palves.net>
1809
1810 * gdb.mi/mi-break-qualified.cc: New file.
1811 * gdb.mi/mi-break-qualified.exp: New file.
1812 * lib/mi-support.exp (mi_create_breakpoint_multi)
1813 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1814 procedures.
1815 (mi_create_breakpoint_1): New, factored out from
1816 mi_create_breakpoint.
1817
3b8d4c5c
PA
18182020-09-13 Pedro Alves <pedro@palves.net>
1819
1820 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1821 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1822 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1823 (register_class): Delete.
1824 (main): Don't call register_class.
1825
d5f96005
PA
18262020-09-13 Pedro Alves <pedro@palves.net>
1827
1828 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1829 (do_tests): Remove "calling method for small class" test.
1830 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1831 (register_class): Delete.
1832 (main): Don't call register_class.
1833 * gdb.cp/call-method-register.exp: New file, based on bits removed
1834 from classes.exp.
1835 * gdb.cp/call-method-register.cc: New file, based on bits removed
1836 from classes.cc.
1837
77f2120b
PA
18382020-09-13 Pedro Alves <pedro@palves.net>
1839
1840 * gdb.base/msym-bp-2.c: New.
1841 * gdb.base/msym-bp-shl-lib.c: New file.
1842 * gdb.base/msym-bp-shl-main-2.c: New file.
1843 * gdb.base/msym-bp-shl-main.c: New file.
1844 * gdb.base/msym-bp-shl.exp: New file.
1845 * gdb.base/msym-bp.c: New file.
1846 * gdb.base/msym-bp.exp: New file.
1847
32aea73e
JB
18482020-09-13 Joel Brobecker <brobecker@adacore.com>
1849
1850 * gdb.base/default.exp: Change $_gdb_major to 11.
1851
2a67f09d
FW
18522020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1853 Felix Willgerodt <Felix.Willgerodt@intel.com>
1854
1855 * x86-avx512bf16.c: New file.
1856 * x86-avx512bf16.exp: Likewise.
1857 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1858
ad570dd7
TV
18592020-09-11 Tom de Vries <tdevries@suse.de>
1860
1861 PR exp/26602
1862 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1863
a56f7391
TBA
18642020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1865
1866 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1867
918619e5
AM
18682020-09-10 Alan Modra <amodra@gmail.com>
1869
1870 PR 26597
1871 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1872
cac1e71d
TV
18732020-09-08 Tom de Vries <tdevries@suse.de>
1874
1875 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1876 after gdb_starti_cmd.
1877
c5cd900e
AKS
18782020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1879
1880 * lib/fortran.exp (fortran_complex8): New proc.
1881 (fortran_complex16): New proc.
1882 * gdb.fortran/complex.exp: Use routines from fortran.exp
1883 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1884 * gdb.fortran/vla-ptr-info.exp: Likewise.
1885
8f5c6526
TV
18862020-09-03 Tom de Vries <tdevries@suse.de>
1887
1888 PR breakpoint/26546
1889 * gdb.base/label-without-address.exp: Runto main first.
1890
02c6f3f1
TT
18912020-09-02 Tom Tromey <tromey@adacore.com>
1892
1893 * gdb.ada/mi_var_access.exp: Test children of access variable.
1894 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1895 * gdb.ada/mi_var_array.exp: Update.
1896
efe24f05
KB
18972020-08-31 Kevin Buettner <kevinb@redhat.com>
1898
1899 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1900 on docker w/ AUFS storage driver.
1901
973695d6
KB
19022020-08-31 Kevin Buettner <kevinb@redhat.com>
1903
1904 * gdb.base/corefile2.exp (renamed binfile): New tests.
1905
f3bd50f1
SM
19062020-08-31 Simon Marchi <simon.marchi@efficios.com>
1907
1908 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1909
22b9b4b0
SL
19102020-08-31 Simon Marchi <simon.marchi@efficios.com>
1911
1912 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1913 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1914
8efaf6b3
SM
19152020-08-31 Simon Marchi <simon.marchi@efficios.com>
1916
1917 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1918 output, printing a "not saved" value from history and printing a
1919 convenience variable created from a "not saved" value.
1920
e840f2e3
TV
19212020-08-31 Tom de Vries <tdevries@suse.de>
1922
1923 * gdb.base/eh_return.exp: Use nopie.
1924
8f57f343
PA
19252020-08-28 Pedro Alves <pedro@palves.net>
1926
1927 * gdb.base/advance-until-multiple-locations.exp
1928 (advance_overload, until_overload): Adjust to match the
1929 frame/function header instead of the source line text.
1930
626d2320
TV
19312020-08-28 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.base/label-without-address.c: New test.
1934 * gdb.base/label-without-address.exp: New file.
1935
df631783
PA
19362020-08-27 Pedro Alves <pedro@palves.net>
1937
1938 PR gdb/26523
1939 PR gdb/26524
1940 * gdb.base/advance-until-multiple-locations.cc: New.
1941 * gdb.base/advance-until-multiple-locations.exp: New.
1942
48b076bb
SM
19432020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1944
1945 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1946
c2015ce4
AB
19472020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1948
1949 * gdb.arch/amd64-byte.exp: Make test names unique, use
1950 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1951 * gdb.arch/amd64-dword.exp: Likewise.
1952 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1953 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1954 unique.
1955 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1956 * gdb.arch/amd64-word.exp: Make test names unique, use
1957 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1958 * gdb.arch/i386-byte.exp: Make test names unique, use
1959 gdb_breakpoint.
1960 * gdb.arch/i386-word.exp: Likewise.
1961
995d3a19
SV
19622020-08-25 Shahab Vahedi <shahab@synopsys.com>
1963
1964 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1965
8cac2b31
SM
19662020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1967
1968 PR gdb/26532
1969 * gdb.threads/stepi-random-signal.exp: Update pattern.
1970
2bc19622
SM
19712020-08-25 Simon Marchi <simon.marchi@efficios.com>
1972
1973 PR gdb/26532
1974 * gdb.base/ui-redirect.exp: Update pattern.
1975
b04aa1fc
GB
19762020-08-25 Gary Benson <gbenson@redhat.com>
1977
1978 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1979 when compiling with clang.
8571e9c8 1980 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1981
9f68b453
GB
19822020-08-25 Gary Benson <gbenson@redhat.com>
1983
1984 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1985 Add additional_flags=-Wno-inaccessible-base when compiling
1986 with GCC >= 10.1 or clang. Add additional_flags=-w when
1987 compiling with GCC < 10.
1988
3945d2d7
GM
19892020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1990
1991 PR m2/26372
fc5d6901
SM
1992 * gdb.modula2/multidim.c: New file.
1993 * gdb.modula2/multidim.exp: New file.
3945d2d7 1994
60122dbe
SM
19952020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1996
1997 * lib/gdb.exp (runto): Always emit fail on internal error.
1998
1eb8556f
SM
19992020-08-24 Simon Marchi <simon.marchi@efficios.com>
2000
2001 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2002 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2003 Likewise.
2004 * gdb.threads/stepi-random-signal.exp: Likewise.
2005
33bf4c5c
TBA
20062020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2007
2008 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2009 * gdb.trace/strace.exp: Ditto.
2010
c2fd7fae
AKS
20112020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2012
2013 * gdb.fortran/vla-type.exp: Skip commands not required for
2014 the Flang compiled binaries after prologue fix.
2015
326afb72
TT
20162020-08-17 Tom de Vries <tdevries@suse.de>
2017 Tom Tromey <tromey@adacore.com>
2018
2019 PR rust/26197:
2020 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2021
3ae7ab99
TT
20222020-08-17 Tom Tromey <tromey@adacore.com>
2023
2024 * gdb.ada/mi_var_access.exp: New file.
2025 * gdb.ada/mi_var_access/mi_access.adb: New file.
2026 * gdb.ada/mi_var_access/pck.adb: New file.
2027 * gdb.ada/mi_var_access/pck.ads: New file.
2028
f569c1c5
TV
20292020-08-16 Tom de Vries <tdevries@suse.de>
2030
2031 PR gdb/25350
2032 * gdb.base/eh_return.c: New test.
2033 * gdb.base/eh_return.exp: New file.
2034
3d11c30a
TV
20352020-08-15 Tom de Vries <tdevries@suse.de>
2036
2037 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2038 (mixed_func_1d_): Use fortran_charlen_t in decl.
2039
547ce8f0
TV
20402020-08-15 Tom de Vries <tdevries@suse.de>
2041
2042 PR backtrace/26390
2043 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2044 Update expected pattern.
2045
a54a7f13
PA
20462020-08-13 Pedro Alves <pedro@palves.net>
2047
2048 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2049 * gdb.fortran/library-module.exp: Likewise.
2050 * gdb.fortran/logical.exp: Likewise.
2051 * gdb.fortran/module.exp: Likewise.
2052 * gdb.fortran/print_type.exp: Likewise.
2053 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2054 * gdb.fortran/vla-datatypes.exp: Likewise.
2055 * gdb.fortran/vla-history.exp: Likewise.
2056 * gdb.fortran/vla-ptr-info.exp: Likewise.
2057 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2058 * gdb.fortran/vla-ptype.exp: Likewise.
2059 * gdb.fortran/vla-sizeof.exp: Likewise.
2060 * gdb.fortran/vla-type.exp: Likewise.
2061 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2062 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2063 * gdb.fortran/vla-value-sub.exp: Likewise.
2064 * gdb.fortran/vla-value.exp: Likewise.
2065
7a82e903
PA
20662020-08-13 Pedro Alves <pedro@palves.net>
2067
2068 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2069 * gdb.ada/access_to_packed_array.exp: Likewise.
2070 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2071 * gdb.ada/addr_arith.exp: Likewise.
2072 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2073 * gdb.ada/arr_arr.exp: Likewise.
2074 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2075 * gdb.ada/array_bounds.exp: Likewise.
2076 * gdb.ada/array_of_variable_length.exp: Likewise.
2077 * gdb.ada/array_ptr_renaming.exp: Likewise.
2078 * gdb.ada/array_subscript_addr.exp: Likewise.
2079 * gdb.ada/arraydim.exp: Likewise.
2080 * gdb.ada/arrayparam.exp: Likewise.
2081 * gdb.ada/arrayptr.exp: Likewise.
2082 * gdb.ada/assign_1.exp: Likewise.
2083 * gdb.ada/assign_arr.exp: Likewise.
2084 * gdb.ada/atomic_enum.exp: Likewise.
2085 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2086 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2087 * gdb.ada/bias.exp: Likewise.
2088 * gdb.ada/boolean_expr.exp: Likewise.
2089 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2090 * gdb.ada/bp_enum_homonym.exp: Likewise.
2091 * gdb.ada/bp_inlined_func.exp: Likewise.
2092 * gdb.ada/bp_on_var.exp: Likewise.
2093 * gdb.ada/bp_range_type.exp: Likewise.
2094 * gdb.ada/bp_reset.exp: Likewise.
2095 * gdb.ada/call_pn.exp: Likewise.
2096 * gdb.ada/catch_assert_if.exp: Likewise.
2097 * gdb.ada/catch_ex.exp: Likewise.
2098 * gdb.ada/catch_ex_std.exp: Likewise.
2099 * gdb.ada/char_enum.exp: Likewise.
2100 * gdb.ada/char_param.exp: Likewise.
2101 * gdb.ada/complete.exp: Likewise.
2102 * gdb.ada/cond_lang.exp: Likewise.
2103 * gdb.ada/convvar_comp.exp: Likewise.
2104 * gdb.ada/dgopt.exp: Likewise.
2105 * gdb.ada/disc_arr_bound.exp: Likewise.
2106 * gdb.ada/display_nested.exp: Likewise.
2107 * gdb.ada/dot_all.exp: Likewise.
2108 * gdb.ada/dyn_loc.exp: Likewise.
2109 * gdb.ada/dyn_stride.exp: Likewise.
2110 * gdb.ada/excep_handle.exp: Likewise.
2111 * gdb.ada/expr_delims.exp: Likewise.
2112 * gdb.ada/expr_with_funcall.exp: Likewise.
2113 * gdb.ada/exprs.exp: Likewise.
2114 * gdb.ada/fin_fun_out.exp: Likewise.
2115 * gdb.ada/fixed_cmp.exp: Likewise.
2116 * gdb.ada/formatted_ref.exp: Likewise.
2117 * gdb.ada/frame_arg_lang.exp: Likewise.
2118 * gdb.ada/frame_args.exp: Likewise.
2119 * gdb.ada/fullname_bp.exp: Likewise.
2120 * gdb.ada/fun_addr.exp: Likewise.
2121 * gdb.ada/fun_in_declare.exp: Likewise.
2122 * gdb.ada/fun_overload_menu.exp: Likewise.
2123 * gdb.ada/fun_renaming.exp: Likewise.
2124 * gdb.ada/funcall_char.exp: Likewise.
2125 * gdb.ada/funcall_param.exp: Likewise.
2126 * gdb.ada/funcall_ptr.exp: Likewise.
2127 * gdb.ada/funcall_ref.exp: Likewise.
2128 * gdb.ada/homonym.exp: Likewise.
2129 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2130 * gdb.ada/info_auto_lang.exp: Likewise.
2131 * gdb.ada/info_exc.exp: Likewise.
2132 * gdb.ada/info_types.exp: Likewise.
2133 * gdb.ada/int_deref.exp: Likewise.
2134 * gdb.ada/interface.exp: Likewise.
2135 * gdb.ada/iwide.exp: Likewise.
2136 * gdb.ada/lang_switch.exp: Likewise.
2137 * gdb.ada/length_cond.exp: Likewise.
2138 * gdb.ada/maint_with_ada.exp: Likewise.
2139 * gdb.ada/mi_catch_assert.exp: Likewise.
2140 * gdb.ada/mi_catch_ex.exp: Likewise.
2141 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2142 * gdb.ada/mi_dyn_arr.exp: Likewise.
2143 * gdb.ada/mi_ex_cond.exp: Likewise.
2144 * gdb.ada/mi_exc_info.exp: Likewise.
2145 * gdb.ada/mi_interface.exp: Likewise.
2146 * gdb.ada/mi_prot.exp: Likewise.
2147 * gdb.ada/mi_ref_changeable.exp: Likewise.
2148 * gdb.ada/mi_string_access.exp: Likewise.
2149 * gdb.ada/mi_task_arg.exp: Likewise.
2150 * gdb.ada/mi_task_info.exp: Likewise.
2151 * gdb.ada/mi_var_array.exp: Likewise.
2152 * gdb.ada/mi_var_union.exp: Likewise.
2153 * gdb.ada/mi_variant.exp: Likewise.
2154 * gdb.ada/minsyms.exp: Likewise.
2155 * gdb.ada/mod_from_name.exp: Likewise.
2156 * gdb.ada/nested.exp: Likewise.
2157 * gdb.ada/null_array.exp: Likewise.
2158 * gdb.ada/optim_drec.exp: Likewise.
2159 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2160 * gdb.ada/packed_array_assign.exp: Likewise.
2161 * gdb.ada/packed_tagged.exp: Likewise.
2162 * gdb.ada/pp-rec-component.exp: Likewise.
2163 * gdb.ada/print_chars.exp: Likewise.
2164 * gdb.ada/print_pc.exp: Likewise.
2165 * gdb.ada/ptr_typedef.exp: Likewise.
2166 * gdb.ada/ptype_arith_binop.exp: Likewise.
2167 * gdb.ada/ptype_array.exp: Likewise.
2168 * gdb.ada/ptype_field.exp: Likewise.
2169 * gdb.ada/ptype_tagged_param.exp: Likewise.
2170 * gdb.ada/ptype_union.exp: Likewise.
2171 * gdb.ada/py_range.exp: Likewise.
2172 * gdb.ada/py_taft.exp: Likewise.
2173 * gdb.ada/rdv_wait.exp: Likewise.
2174 * gdb.ada/rec_comp.exp: Likewise.
2175 * gdb.ada/rec_return.exp: Likewise.
2176 * gdb.ada/ref_param.exp: Likewise.
2177 * gdb.ada/ref_tick_size.exp: Likewise.
2178 * gdb.ada/rename_subscript_param.exp: Likewise.
2179 * gdb.ada/repeat_dyn.exp: Likewise.
2180 * gdb.ada/same_component_name.exp: Likewise.
2181 * gdb.ada/same_enum.exp: Likewise.
2182 * gdb.ada/scalar_storage.exp: Likewise.
2183 * gdb.ada/set_wstr.exp: Likewise.
2184 * gdb.ada/small_reg_param.exp: Likewise.
2185 * gdb.ada/str_binop_equal.exp: Likewise.
2186 * gdb.ada/str_ref_cmp.exp: Likewise.
2187 * gdb.ada/str_uninit.exp: Likewise.
2188 * gdb.ada/sub_variant.exp: Likewise.
2189 * gdb.ada/sym_print_name.exp: Likewise.
2190 * gdb.ada/taft_type.exp: Likewise.
2191 * gdb.ada/tagged.exp: Likewise.
2192 * gdb.ada/tagged_access.exp: Likewise.
2193 * gdb.ada/task_bp.exp: Likewise.
2194 * gdb.ada/task_switch_in_core.exp: Likewise.
2195 * gdb.ada/tasks.exp: Likewise.
2196 * gdb.ada/tick_last_segv.exp: Likewise.
2197 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2198 * gdb.ada/type_coercion.exp: Likewise.
2199 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2200 * gdb.ada/unchecked_union.exp: Likewise.
2201 * gdb.ada/uninitialized_vars.exp: Likewise.
2202 * gdb.ada/var_arr_attrs.exp: Likewise.
2203 * gdb.ada/var_arr_typedef.exp: Likewise.
2204 * gdb.ada/var_rec_arr.exp: Likewise.
2205 * gdb.ada/variant-record.exp: Likewise.
2206 * gdb.ada/variant.exp: Likewise.
2207 * gdb.ada/variant_record_packed_array.exp: Likewise.
2208 * gdb.ada/varsize_limit.exp: Likewise.
2209 * gdb.ada/whatis_array_val.exp: Likewise.
2210 * gdb.ada/widewide.exp: Likewise.
2211 * gdb.ada/win_fu_syms.exp: Likewise.
2212
22132020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2214
2215 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2216
10c381b5
AB
22172020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2218
2219 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2220 unset the array variable.
2221
8f34b746
TV
22222020-08-03 Tom de Vries <tdevries@suse.de>
2223
2224 PR symtab/26333
2225 * lib/dwarf.exp (DW_LNE_user): New proc.
2226 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2227 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2228
0245e136
KB
22292020-07-31 Kevin Buettner <kevinb@redhat.com>
2230
2231 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2232 to 'uintptr_t'
2233 (inttypes.h): Include.
2234
9ef1ec5d
KB
22352020-07-31 Kevin Buettner <kevinb@redhat.com>
2236
2237 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2238 (C5_24k): Delete.
2239 (C5_8k, C5_64k, C5_256k): New macros.
2240 (buf_ro): Allocate 256 KiB of initialized data.
2241
4c55e970
TBA
22422020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2243
2244 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2245 that attempt to overwrite an existing condition with a condition
2246 that fails parsing and also with a condition that parses fine
2247 but contains junk at the end.
2248
1e620590
TBA
22492020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2250
2251 * gdb.base/condbreak-bad.c: New test.
2252 * gdb.base/condbreak-bad.exp: New file.
2253
e12dcc50
TV
22542020-07-30 Tom de Vries <tdevries@suse.de>
2255
2256 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2257 out of ...
2258 (GDBInfoModuleSymbols::check_entry): ... here.
2259 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2260 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2261 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2262
6cc64caa
TV
22632020-07-30 Tom de Vries <tdevries@suse.de>
2264
2265 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2266 "__class_some_module_Number_t" optional.
2267
90fd07fc
TV
22682020-07-29 Tom de Vries <tdevries@suse.de>
2269
2270 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2271 multiple locations.
2272
f5c79e97
TV
22732020-07-29 Tom de Vries <tdevries@suse.de>
2274
2275 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2276 rather than function name.
2277
f75a0693
AB
22782020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2279
2280 PR symtab/26270:
2281 * gdb.cp/disasm-func-name.cc: New file.
2282 * gdb.cp/disasm-func-name.exp: New file.
2283
4888741a
TT
22842020-07-28 Tom Tromey <tromey@adacore.com>
2285
2286 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2287 'varval' location.
2288
43d5901d
AB
22892020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2290
2291 * gdb.python/py-unwind.py: Update to make use of a register
2292 descriptor.
2293
14fa8fb3
AB
22942020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2295
2296 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2297
e79eb02f
AB
22982020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2299
2300 PR fortran/23051
2301 PR fortran/26139
2302 * gdb.fortran/class-allocatable-array.exp: New file.
2303 * gdb.fortran/class-allocatable-array.f90: New file.
2304 * gdb.fortran/pointer-to-pointer.exp: New file.
2305 * gdb.fortran/pointer-to-pointer.f90: New file.
2306
876518dd
TV
23072020-07-25 Tom de Vries <tdevries@suse.de>
2308
2309 PR symtab/26243
2310 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2311 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2312
6dcfb80a
TV
23132020-07-24 Tom de Vries <tdevries@suse.de>
2314
2315 PR testsuite/26293
2316 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2317
e7bc9db8
PA
23182020-07-23 Pedro Alves <pedro@palves.net>
2319
2320 * gdb.server/server-kill.exp (prepare): New, factored out from the
2321 top level.
2322 (kill_server): New.
2323 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2324 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2325
78344df7
AB
23262020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2327
2328 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2329
25dfed24
SL
23302020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2331
2332 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2333 Initialize to empty string at top level.
2334 (gdb_wrapper_init): Revert check for file existence on build.
2335 Build the wrapper in its default place, not a build-specific
2336 location. When host == build, make the pathname absolute.
2337 (gdb_compile): Delete leftover declaration of
2338 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2339 string instead of uninitialized.
2340
7da515fd
KB
23412020-07-22 Kevin Buettner <kevinb@redhat.com>
2342
2343 * gdb.base/corefile2.exp: New file.
2344 * gdb.base/coremaker2.exp: New file.
2345
9c5ec5c2
KB
23462020-07-22 Kevin Buettner <kevinb@redhat.com>
2347
2348 * gdb.base/coredump-filter.exp: Add second
2349 non-Private-Shared-Anon-File test.
2350 (test_disasm): Rename binfile for test which is expected
2351 to fail.
2352
f9e233c9
KB
23532020-07-22 Kevin Buettner <kevinb@redhat.com>
2354
2355 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2356 data in core file".
2357 * gdb.base/coremaker.c (buf2ro): New global.
2358 (mmapdata): Add a read-only mmap mapping.
2359
94c265d7
KB
23602020-07-22 Kevin Buettner <kevinb@redhat.com>
2361
2362 PR corefiles/25631
2363 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2364 New test.
2365 * gdb.base/coremaker.c (buf3): New global.
2366 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2367 flags.
2368
23692020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2370
2371 * gdb.base/coremaker.c (filler_ro): New global constant.
2372
32fa152e
TT
23732020-07-22 Tom Tromey <tromey@adacore.com>
2374
2375 * gdb.ada/mi_prot.exp: New file.
2376 * gdb.ada/mi_prot/pkg.adb: New file.
2377 * gdb.ada/mi_prot/pkg.ads: New file.
2378 * gdb.ada/mi_prot/prot.adb: New file.
2379
c8474dc3
TBA
23802020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2381
2382 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2383 loads two JITers.
2384
baf8791e
AB
23852020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2388
f7306dac
AB
23892020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2390
2391 * gdb.python/py-arch-reg-names.exp: Additional tests.
2392
6d3d6e4b
TV
23932020-07-21 Tom de Vries <tdevries@suse.de>
2394
2395 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2396 breakpoint locations".
2397 * gdb.reverse/solib-reverse.exp: Same.
2398
803d0592
TV
23992020-07-21 Tom de Vries <tdevries@suse.de>
2400
2401 * gdb.reverse/step-reverse.c (callee): Merge statements.
2402
e9bdc510
TV
24032020-07-21 Tom de Vries <tdevries@suse.de>
2404
2405 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2406 line numbers for some variables.
2407
f0f9e75a
TV
24082020-07-21 Tom de Vries <tdevries@suse.de>
2409
2410 * gdb.opt/inline-locals.c (init_array): New func.
2411 (func1): Use init_array.
2412 * gdb.opt/inline-locals.exp: Update pattern.
2413
bd460ecb
TV
24142020-07-21 Tom de Vries <tdevries@suse.de>
2415
2416 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2417 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2418
ae5369e7
LC
24192020-07-20 Ludovic Courtès <ludo@gnu.org>
2420
2421 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2422 * gdb.guile/types-module.exp: Remove "ERROR:" from
2423 regexps since Guile 3.0 no longer prints that.
2424
68cf161c
LC
24252020-07-20 Ludovic Courtès <ludo@gnu.org>
2426
2427 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2428 error regexp to match on Guile 2.2.
2429
c14b4913
GB
24302020-07-20 Gary Benson <gbenson@redhat.com>
2431
2432 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2433 with clang.
2434
b243ba58
TV
24352020-07-20 Tom de Vries <tdevries@suse.de>
2436
2437 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2438 (omp_set_lock_in_order): New function.
2439 (single_scope, multi_scope, nested_func, nested_parallel): Use
2440 omp_set_lock_in_order and omp_unset_lock.
2441 (main): Init and destroy lock and lock2.
2442
c06ad8b5
TV
24432020-07-20 Tom de Vries <tdevries@suse.de>
2444
2445 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2446
6e22f117
TV
24472020-07-20 Tom de Vries <tdevries@suse.de>
2448
2449 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2450
33176ea7
TV
24512020-07-17 Tom de Vries <tdevries@suse.de>
2452
2453 * gdb.base/valgrind-infcall-2.c: New test.
2454 * gdb.base/valgrind-infcall-2.exp: New file.
2455 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2456
90c3ec2d
TV
24572020-07-17 Tom de Vries <tdevries@suse.de>
2458
2459 * gdb.dlang/circular.c (found): Use found_label as label name.
2460 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2461 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2462 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2463 * gdb.dwarf2/ada-linkage-name.exp: Same.
2464 * gdb.dwarf2/arr-subrange.exp: Same.
2465 * gdb.dwarf2/atomic-type.exp: Same.
2466 * gdb.dwarf2/comp-unit-lang.exp: Same.
2467 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2468 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2469 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2470 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2471 * gdb.dwarf2/implptr-64bit.exp: Same.
2472 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2473 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2474 * gdb.dwarf2/imported-unit.exp: Same.
2475 * gdb.dwarf2/main-subprogram.exp: Same.
2476 * gdb.dwarf2/missing-type-name.exp: Same.
2477 * gdb.dwarf2/nonvar-access.exp: Same.
2478 * gdb.dwarf2/struct-with-sig.exp: Same.
2479 * gdb.dwarf2/typedef-void-finish.exp: Same.
2480 * gdb.dwarf2/void-type.exp: Same.
2481
10da644d
TV
24822020-07-17 Tom de Vries <tdevries@suse.de>
2483
2484 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2485 src parameter.
2486 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2487 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2488 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2489 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2490 * gdb.dwarf2/dwz.exp: Same.
2491 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2492 * gdb.dwarf2/implref-array.exp: Same.
2493 * gdb.dwarf2/implref-const.exp: Same.
2494 * gdb.dwarf2/implref-global.exp: Same.
2495 * gdb.dwarf2/implref-struct.exp: Same.
2496 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2497 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2498 * gdb.dwarf2/var-access.exp: Same.
2499 * gdb.dwarf2/varval.exp: Same.
2500 * gdb.trace/entry-values.exp: Same.
2501
315e6afc
TV
25022020-07-17 Tom de Vries <tdevries@suse.de>
2503
2504 * lib/dwarf.exp (Dwarf::extern): Remove.
2505 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2506 * gdb.dlang/circular.exp: Same.
2507 * gdb.dwarf2/comp-unit-lang.exp: Same.
2508 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2509 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2510 * gdb.dwarf2/dwz.exp: Same.
2511 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2512 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2513 * gdb.dwarf2/imported-unit.exp: Same.
2514 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2515
5597c940
SL
25162020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2517
2518 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2519 Use double quotes instead of single quotes.
2520
d0ce17d8
CT
25212020-07-16 Caroline Tice <cmtice@google.com>
2522
2523 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2524 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2525
853772cc
TV
25262020-07-16 Tom de Vries <tdevries@suse.de>
2527
2528 * lib/dwarf.exp (program): Initialize _line.
2529 (DW_LNE_end_sequence): Reinitialize _line.
2530 (DW_LNS_advance_line): Update _line.
2531 (line): New proc.
2532 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2533 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2534 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2535 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2536 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2537 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2538
fe07b572
AB
25392020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2540
2541 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2542 generic.
2543
52781cce
TV
25442020-07-15 Tom de Vries <tdevries@suse.de>
2545
2546 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2547 is_amd64_regs_target.
2548
3dcc261c
AB
25492020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2550
2551 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2552 * gdb.fortran/ptype-on-functions.f90: Likewise.
2553
054a0959
SM
25542020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2555
2556 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2557 values in documentation for addr_size to 4 and 8.
2558
ccb9eba6
AB
25592020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * gdb.arch/amd64-osabi.exp: Update.
2562 * gdb.arch/arm-disassembler-options.exp: Update.
2563 * gdb.arch/powerpc-disassembler-options.exp: Update.
2564 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2565 * gdb.arch/s390-disassembler-options.exp: Update.
2566 * gdb.base/all-architectures.exp.tcl: Update.
2567 * gdb.base/attach-pie-noexec.exp: Update.
2568 * gdb.base/catch-syscall.exp: Update.
2569 * gdb.xml/tdesc-arch.exp: Update.
2570
025a39a7
TV
25712020-07-14 Tom de Vries <tdevries@suse.de>
2572
2573 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2574 (local_gettid): ... this.
2575 (fn): Update.
2576
74e4b667
SL
25772020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2578
2579 * gdb.base/info_sources.exp: Skip directory match tests on
2580 remote hosts.
2581
f413dd74
GB
25822020-07-13 Gary Benson <gbenson@redhat.com>
2583
2584 * gdb.base/savedregs.exp (caller): Use parentheses to
2585 make expected expression evaluation ordering explicit.
2586
915771bb
GB
25872020-07-13 Gary Benson <gbenson@redhat.com>
2588
2589 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2590
2a122642
GB
25912020-07-13 Gary Benson <gbenson@redhat.com>
2592
2593 * gdb.base/bigcore.c (main): Use a volatile pointer when
2594 attempting to trigger a SIGSEGV.
2595 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2596 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2597 * gdb.base/savedregs.c (thrower): Likewise.
2598 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2599
3f00c730
GB
26002020-07-13 Gary Benson <gbenson@redhat.com>
2601
2602 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2603 defining and using VLA structure fields into...
2604 * gdb.base/vla-struct-fields.c: New file.
2605 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2606 tests into...
2607 * gdb.base/vla-struct-fields.exp: New file.
2608
963eeee4
TV
26092020-07-13 Tom de Vries <tdevries@suse.de>
2610
2611 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2612 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2613 * gdb.base/gold-gdb-index.exp: Same.
2614 * gdb.base/morestack.exp: Same.
2615
0ed35c9a
DX
26162020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2617
2618 PR rust/26121
2619 * gdb.rust/modules.rs: Prevent linker from discarding test
2620 symbol.
2621
4fdba23d
PA
26222020-07-10 Pedro Alves <pedro@palves.net>
2623
2624 PR gdb/26199
2625 * gdb.multi/multi-target.c (exit_thread): New.
2626 (thread_start): Break loop if EXIT_THREAD.
2627 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2628 (top level) Call test_no_resumed.
2629
15f3b077
TT
26302020-07-08 Tom Tromey <tromey@adacore.com>
2631
2632 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2633 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2634
9fc501fd
AB
26352020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 PR python/22748
2638 * gdb.opt/inline-frame-tailcall.c: New file.
2639 * gdb.opt/inline-frame-tailcall.exp: New file.
2640 * gdb.python/py-unwind-inline.c: New file.
2641 * gdb.python/py-unwind-inline.exp: New file.
2642 * gdb.python/py-unwind-inline.py: New file.
2643
64cb3757
AB
26442020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2645
2646 * gdb.python/py-arch-reg-groups.exp: New file.
2647
0f767f94
AB
26482020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2649
2650 * gdb.python/py-arch-reg-names.exp: New file.
2651
87dbc774
AB
26522020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2653
2654 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2655 gdb.PendingFrame.architecture method.
2656
d8cc8af6
TV
26572020-07-06 Tom de Vries <tdevries@suse.de>
2658
2659 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2660
3c8ea5be
PA
26612020-07-03 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2664 explicitly write negative numbers.
2665 * gdb.base/structs2.exp: Adjust expected output.
2666
bf90c83a
PA
26672020-07-03 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/charset.c (init_string): Change all char parameters to
2670 unsigned char parameters.
2671
2eb82157
PA
26722020-07-03 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.base/call-sc.exp (start_scalars_test): Use
2675 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2676 * gdb.base/overlays.c: Remove references to PARAMS.
2677 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2678 * gdb.base/reread.exp: Don't set 'prototypes' global.
2679 * gdb.base/structs.exp (start_structs_test): Use
2680 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2681 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2682 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2683 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2684 call.
2685 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2686
9adda7af
PA
26872020-07-03 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.base/m32rovly.c: Delete.
2690 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2691
2a17c803
PW
26922020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2693
2694 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2695 of gdb_py_test_multiple.
2696 * gdb.python/py-cmd.exp: Likewise.
2697 * gdb.python/py-events.exp: Likewise.
2698 * gdb.python/py-function.exp: Likewise.
2699 * gdb.python/py-inferior.exp: Likewise.
2700 * gdb.python/py-infthread.exp: Likewise.
2701 * gdb.python/py-linetable.exp: Likewise.
2702 * gdb.python/py-parameter.exp: Likewise.
2703 * gdb.python/py-value.exp: Likewise.
2704
b011fe1a
TV
27052020-06-30 Tom de Vries <tdevries@suse.de>
2706
2707 PR testsuite/26175
2708 * lib/future.exp (gdb_default_target_compile): Detect and handle
2709 early_flags.
2710
df5b8876
SM
27112020-06-29 Simon Marchi <simon.marchi@efficios.com>
2712
2713 * boards/simavr.exp (gdb_load): Catch errors when closing
2714 previous connection. Close connection, wait for process and
2715 unset simavr_spawn_id on failure.
2716
a3ca48cd
TV
27172020-06-29 Tom de Vries <tdevries@suse.de>
2718
2719 * lib/gdb.exp (unknown): Make test-case unresolved.
2720
b0237c0e
TV
27212020-06-29 Tom de Vries <tdevries@suse.de>
2722
2723 PR gdb/25475
2724 * gdb.server/solib-list.exp: Verify that the symbol reload
2725 confirmation question is asked.
2726
c0b3b3bd
PW
27272020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2728
2729 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2730 have a input seq nr in each pass message.
fe4c3d43 2731 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2732 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2733 * gdb.python/python.exp: Make test names unique,
2734 use gdb_test_multiline instead of gdb_py_test_multiple,
2735 use $gdb_test_name.
2736 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2737
1776e3e5
NA
27382020-06-26 Nick Alcock <nick.alcock@oracle.com>
2739
2740 * configure.ac: Add --enable-libctf.
2741 * aclocal.m4: sinclude ../config/enable.m4.
2742 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2743 * lib/gdb.exp (skip_ctf_tests): Use it.
2744 * gdb.base/ctf-constvars.exp: Error message tweak.
2745 * gdb.base/ctf-ptype.exp: Likewise.
2746 * configure: Regenerate.
2747
f53b3eeb
GB
27482020-06-26 Gary Benson <gbenson@redhat.com>
2749
2750 * gdb.cp/try_catch.cc: Include string.h.
2751 (main): Replace comparison against string literal with
2752 strcmp, avoiding build failure with -Wstring-compare.
2753 Add "marker test-complete".
2754 * gdb.cp/try_catch.exp: Run the test to the above marker,
2755 then verify that the value of "test" is still true.
2756
6d74da72
AB
27572020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2758
2759 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2760
2e52d038
AB
27612020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2762
2763 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2764
3b9fce96
AB
27652020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2766
2767 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2768 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2769 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2770 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2771 * gdb.arch/riscv-tdesc-loading.exp: New file.
2772
ed69cbc8
AB
27732020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2774
2775 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2776
767a879e
AB
27772020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2780 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2781 * gdb.arch/riscv-tdesc-regs.c: New file.
2782 * gdb.arch/riscv-tdesc-regs.exp: New file.
2783
221db974
PA
27842020-06-24 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.arch/amd64-entry-value-paramref.exp: Use
2787 prepare_for_testing_full and don't pass "c++" for the .S file
2788 build spec.
2789 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2790 $options, since it's an assembly file. Remove -Wno-deprecated.
2791 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2792 compiling C++ programs.
2793
331733cd
PA
27942020-06-24 Pedro Alves <palves@redhat.com>
2795
2796 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2797 Clang, add "-Wno-unknown-warning-option" to the options.
2798
caa7fd04
AB
27992020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2800
2801 * gdb.xml/tdesc-reload.c: New file.
2802 * gdb.xml/tdesc-reload.exp: New file.
2803 * gdb.xml/maint-xml-dump-01.xml: New file.
2804 * gdb.xml/maint-xml-dump-02.xml: New file.
2805 * gdb.xml/maint-xml-dump.exp: New file.
2806
bb8d1260
SL
28072020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2808
2809 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2810 Adjust for omitted commands when TUI is disabled.
2811
7e4b9c4c
GB
28122020-06-23 Gary Benson <gbenson@redhat.com>
2813 Pedro Alves <palves@redhat.com>
2814
2815 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2816 * gdb.cp/nsimport.cc: Likewise.
2817 * gdb.cp/nsnested.cc: Likewise.
2818 * gdb.cp/nsnoimports.cc: Likewise.
2819 * gdb.cp/nsusing.cc: Likewise.
2820 * gdb.cp/smartp.cc: Likewise.
2821 * gdb.python/py-pp-integral.c: Likewise.
2822 * gdb.python/py-pp-re-notag.c: Likewise.
2823
2e573c0a
GB
28242020-06-23 Gary Benson <gbenson@redhat.com>
2825
2826 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2827 * gdb.cp/nsimport.cc: Likewise.
2828 * gdb.cp/nsnested.cc: Likewise.
2829 * gdb.cp/nsnoimports.cc: Likewise.
2830 * gdb.cp/nsusing.cc: Likewise.
2831 * gdb.cp/smartp.cc: Likewise.
2832 * gdb.python/py-pp-integral.c: Likewise.
2833 * gdb.python/py-pp-re-notag.c: Likewise.
2834
746ebfe8
PW
28352020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2836
2837 * gdb.base/default-args.exp: New test.
2838 * gdb.base/default-args.c: New file.
2839 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2840 * gdb.base/default.exp: Update to new help text.
2841 * gdb.base/help.exp: Likewise.
2842 * gdb.base/page.exp: Likewise.
2843 * gdb.base/style.exp: Likewise.
2844 * gdb.guile/guile.exp: Likewise.
2845 * gdb.python/python.exp: Likewise.
2846
e822f2cd
SL
28472020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2848
2849 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2850 remote host. Fix search path syntax on Windows host.
2851
48e9cc84
PW
28522020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2853
2854 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2855 over 'exec-file-mismatch'.
2856 * gdb.base/attach.c: Mark should_exit volatile.
2857 * gdb.base/attach2.c: Likewise. Add a comment explaining
2858 why the sleep cannot be big.
2859 * gdb.base/attach3.c: New file.
2860
160f8a8f
SL
28612020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2862
2863 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2864 prefix optional.
2865
4d91c2a4
SL
28662020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2867
2868 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2869 for remote host.
2870
87f83f20
SL
28712020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2872 Hafiz Abid Qadeer <abidh@codesourcery.com>
2873
2874 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2875 file sent to remote host.
2876 (top level): Allow int32_t as type of 32-bit register.
2877
37ab8655
TV
28782020-06-19 Tom de Vries <tdevries@suse.de>
2879
2880 * lib/gdb.exp (gdb_note): New proc.
2881 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2882 (gdb_default_target_compile): ... here. Only call
2883 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2884 (use_gdb_compile): Change to array.
2885 (toplevel): Update sets of use_gdb_compile to specify language.
2886 Warn about default_target_compile override. Store dejagnu's version
2887 of default_target_compile in dejagnu_default_target_compile.
2888
a8a56685
TV
28892020-06-18 Tom de Vries <tdevries@suse.de>
2890
2891 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2892 (default_gdb_init): ... here.
2893
581bea2c
SL
28942020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2895
2896 Fix TUI support checks in gdb.tui tests.
2897
2898 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2899 just say UNSUPPORTED.
2900 * gdb.tui/corefile-run.exp: Likewise.
2901 * gdb.tui/empty.exp: Likewise.
2902 * gdb.tui/list-before.exp: Likewise.
2903 * gdb.tui/list.exp: Likewise.
2904 * gdb.tui/main.exp: Likewise.
2905 * gdb.tui/regs.exp: Likewise.
2906 * gdb.tui/resize.exp: Likewise.
2907 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2908 * gdb.tui/tui-layout-asm.exp: Likewise.
2909 * gdb.tui/tui-missing-src.exp: Likewise.
2910 * gdb.tui/winheight.exp: Likewise.
2911 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2912
05e682e3
SL
29132020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2914
2915 Fix TCL error in gdb.python/py-format-string.exp.
2916
2917 * gdb.python/py-format-string.exp: Move test for python support
2918 earlier, out of function body.
2919
efb763a5
SM
29202020-06-15 Simon Marchi <simon.marchi@efficios.com>
2921
2922 * gdb.base/index-cache-load-twice.c: New.
2923 * gdb.base/index-cache-load-twice.exp: New.
2924
43327b20
KS
29252020-06-17 Keith Seitz <keiths@redhat.com>
2926
99cf27cf 2927 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2928 when executing "gdb --configuration".
2929
081e778c
TV
29302020-06-17 Tom de Vries <tdevries@suse.de>
2931
2932 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2933 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2934 conditional on presence of gdb_tcl_unknown.
2935 (gdb_finish): Make override undo conditional on presence of
2936 gdb_tcl_unknown.
2937
d2d1ea20
TT
29382020-06-16 Tom Tromey <tom@tromey.com>
2939
2940 * gdb.python/tui-window.py (failwin): New function. Register it
2941 as a TUI window type.
2942 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2943
c802e8a7
GB
29442020-06-16 Gary Benson <gbenson@redhat.com>
2945
2946 * gdb.python/py-nested-maps.c (create_map): Add missing return
2947 value.
2948 (create_map_map): Likewise.
2949
ff08abb8
TBA
29502020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2951
2952 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2953 variable.
2954 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2955 and use the already-defined 'options' variable.
2956
a29d5112
AB
29572020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2958 Tom de Vries <tdevries@suse.de>
2959
2960 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2961 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2962 (gdb_setup_known_globals): New proc.
2963 (gdb_cleanup_globals): New proc.
2964 * lib/gdb.exp (load_lib): New override proc.
2965 (gdb_stdin_log_init): Set var in_file as persistent global.
2966 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2967 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2968 fpc_compiler as persistent global.
2969
8c74a764
TV
29702020-06-12 Tom de Vries <tdevries@suse.de>
2971
2972 * lib/tuiterm.exp (spawn): Rename to ...
2973 (tui_spawn): ... this.
2974 (toplevel): Move rename of spawn ...
2975 (gdb_init_tuiterm): ... here. New proc.
2976 (gdb_finish_tuiterm): New proc.
2977 * lib/gdb.exp (gdb_finish_hooks): New global var.
2978 (gdb_finish): Handle gdb_finish_hooks.
2979 (tuiterm_env): New proc.
2980 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2981 tuiterm_env.
2982 * gdb.tui/basic.exp: Same.
2983 * gdb.tui/corefile-run.exp: Same.
2984 * gdb.tui/empty.exp: Same.
2985 * gdb.tui/list-before.exp: Same.
2986 * gdb.tui/list.exp: Same.
2987 * gdb.tui/main.exp: Same.
2988 * gdb.tui/new-layout.exp: Same.
2989 * gdb.tui/regs.exp: Same.
2990 * gdb.tui/resize.exp: Same.
2991 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2992 * gdb.tui/tui-layout-asm.exp: Same.
2993 * gdb.tui/tui-missing-src.exp: Same.
2994 * gdb.tui/winheight.exp: Same.
2995
26783bce
TV
29962020-06-12 Tom de Vries <tdevries@suse.de>
2997
2998 PR testsuite/26110
2999 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3000 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3001
2b4e6a3f
TT
30022020-06-11 Tom Tromey <tom@tromey.com>
3003
3004 PR gdb/18318:
3005 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3006 floating point tests.
3007
2f33032a
KS
30082020-06-11 Keith Seitz <keiths@redhat.com>
3009
3010 PR gdb/21356
3011 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3012 vla_struct.
3013 Add new struct vla_typedef and union vla_typedef_union and
3014 corresponding instantiation objects.
3015 Initialize new objects.
3016 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3017 and vla_typedef_union_object.
3018 Fixup type for vla_struct_object.
3019
a8baf0a3
TV
30202020-06-11 Tom de Vries <tdevries@suse.de>
3021
3022 * lib/gdb.exp (with_override): New proc, factored out of ...
3023 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3024
7ab96794
TV
30252020-06-10 Tom de Vries <tdevries@suse.de>
3026
3027 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3028
cab5c3b7
SM
30292020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3030
3031 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3032 parameter, update callers.
3033
f8c41851
SM
30342020-06-04 Simon Marchi <simon.marchi@efficios.com>
3035
3036 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3037 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3038 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3039
1c07a73f
TV
30402020-06-04 Tom de Vries <tdevries@suse.de>
3041
3042 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3043
95146b5d
TV
30442020-06-04 Tom de Vries <tdevries@suse.de>
3045
3046 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3047 exp_continue.
3048
0cfcd4f0
TV
30492020-06-04 Tom de Vries <tdevries@suse.de>
3050
3051 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3052
f9b5d5ea
TV
30532020-06-03 Tom de Vries <tdevries@suse.de>
3054
3055 PR symtab/26046
3056 * gdb.cp/breakpoint-locs-2.cc: New test.
3057 * gdb.cp/breakpoint-locs.cc: New test.
3058 * gdb.cp/breakpoint-locs.exp: New file.
3059 * gdb.cp/breakpoint-locs.h: New test.
3060
5144dfba
TV
30612020-06-03 Tom de Vries <tdevries@suse.de>
3062
3063 PR testsuite/25609
3064 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3065 value of global verbose.
3066 * gdb.base/jit-elf.exp: Same.
3067 * gdb.base/jit-reader.exp: Same.
3068
621eacdf
TV
30692020-06-02 Tom de Vries <tdevries@suse.de>
3070
3071 * gdb.dwarf2/multidictionary.exp: Don't use
3072 gdb_spawn_with_cmdline_opts.
3073
1313c56e
AB
30742020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3075
3076 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3077 use_header case.
3078 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3079 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3080 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3081 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3082 * gdb.dwarf2/dw2-inline-header.c: New file.
3083 * gdb.dwarf2/dw2-inline-header.h: New file.
3084
f68f85b5
PA
30852020-05-30 Pedro Alves <palves@redhat.com>
3086
3087 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3088 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3089
678048e8
GB
30902020-05-29 Gary Benson <gbenson@redhat.com>
3091
3092 * gdb.compile/compile-cplus.exp (additional_flags): Also
3093 set when building with clang.
3094 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3095 when building with clang.
3096
9fcafd23
GB
30972020-05-29 Gary Benson <gbenson@redhat.com>
3098
3099 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3100 building with clang.
3101 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3102
735d5a07
GB
31032020-05-29 Gary Benson <gbenson@redhat.com>
3104
3105 * gdb.cp/koenig.exp (prepare_for_testing): Add
3106 additional_flags=-Wno-unused-comparison.
3107 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3108
4ad2c6a0
GB
31092020-05-28 Gary Benson <gbenson@redhat.com>
3110
3111 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3112 statement.
3113
09fe663e
GB
31142020-05-28 Gary Benson <gbenson@redhat.com>
3115
3116 * gdb.cp/classes.exp (prepare_for_testing): Add
3117 additional_flags=-Wno-deprecated-register.
3118 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3119 * gdb.cp/misc.exp: Likewise.
3120
cee00f17
GB
31212020-05-28 Gary Benson <gbenson@redhat.com>
3122
3123 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3124 (test_op_new::operator new): Add return statement.
3125 (test_op_new_array::operator new[]): Likewise.
3126
636edd00
PA
31272020-05-27 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3130 check. Use test_gdb_complete_unique instead of
3131 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3132 test_gdb_complete_multiple instead of
3133 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3134
c2b75043
LM
31352020-05-27 Luis Machado <luis.machado@linaro.org>
3136
3137 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3138 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3139 * gdb.arch/arm-disassembler-options.exp: Likewise.
3140 * gdb.arch/arm-disp-step.exp: Likewise.
3141 * gdb.arch/thumb-prologue.exp: Likewise.
3142 * gdb.base/async.exp: Likewise.
3143 * gdb.base/auxv.exp: Likewise.
3144 * gdb.base/complex-parts.exp: Likewise.
3145 * gdb.base/ena-dis-br.exp: Likewise.
3146 * gdb.base/foll-exec.exp: Likewise.
3147 * gdb.base/permissions.exp: Likewise.
3148 * gdb.base/relocate.exp: Likewise.
3149 * gdb.base/return2.exp: Likewise.
3150 * gdb.base/sigbpt.exp: Likewise.
3151 * gdb.base/siginfo-obj.exp: Likewise.
3152 * gdb.cp/converts.exp: Likewise.
3153 * gdb.cp/exceptprint.exp: Likewise.
3154 * gdb.cp/inherit.exp: Likewise.
3155 * gdb.cp/nsnoimports.exp: Likewise.
3156 * gdb.cp/virtbase2.exp: Likewise.
3157 * gdb.mi/mi-var-cmd.exp: Likewise.
3158 * gdb.mi/var-cmd.c: Likewise.
3159
53a47a3e
TT
31602020-05-26 Tom Tromey <tromey@adacore.com>
3161
3162 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3163
0bc2354b
TT
31642020-05-26 Tom Tromey <tromey@adacore.com>
3165
3166 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3167 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3168 type.
3169 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3170 variable.
3171
0db49895
CBG
31722020-05-26 Christian Biesinger <cbiesinger@google.com>
3173
3174 * Makefile.in: Use = instead of == for the test command
3175 for portability.
3176
40d22035
TV
31772020-05-26 Tom de Vries <tdevries@suse.de>
3178
3179 * gdb.base/gold-gdb-index-2.c: New test.
3180 * gdb.base/gold-gdb-index.c: New test.
3181 * gdb.base/gold-gdb-index.exp: New file.
3182 * gdb.base/gold-gdb-index.h: New test.
3183
043e2e02
TV
31842020-05-25 Tom de Vries <tdevries@suse.de>
3185
3186 * boards/gold-gdb-index.exp: New file.
3187
462f72c5
SM
31882020-05-25 Simon Marchi <simon.marchi@efficios.com>
3189
3190 * boards/simavr.exp: New file.
3191
6cf66e76
SM
31922020-05-25 Simon Marchi <simon.marchi@efficios.com>
3193
3194 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3195 * gdb.base/inferior-args.exp: New file.
3196 * gdb.base/inferior-args.c: New file.
3197
75d04512
SM
31982020-05-25 Simon Marchi <simon.marchi@efficios.com>
3199
3200 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3201 inferior_args. Pass it to gdb_reload.
3202 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3203 inferior_args.
3204 (gdb_reload): Add inferior_args argument.
3205 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3206 pass it to gdbserver_run.
3207 * boards/native-gdbserver.exp: Do not set noargs.
3208 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3209 inferior_args argument.
3210 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3211 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3212 * gdb.base/args.exp: Likewise.
3213
42cf1844
TV
32142020-05-25 Tom de Vries <tdevries@suse.de>
3215
3216 * lib/gdb.exp (exec_is_pie): Add comment.
3217
8f7d38ef
TV
32182020-05-25 Tom de Vries <tdevries@suse.de>
3219
3220 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3221 instead of $binfile in the untested message.
3222
465e1b0f
TV
32232020-05-25 Tom de Vries <tdevries@suse.de>
3224
3225 PR testsuite/26031
3226 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3227
3c5a0e02
TV
32282020-05-25 Tom de Vries <tdevries@suse.de>
3229
3230 * boards/gold.exp: New file.
3231
0a4f5f8c
TT
32322020-05-23 Tom Tromey <tom@tromey.com>
3233
3234 * gdb.base/style.exp: Remove completion styling test.
3235 * lib/gdb-utils.exp (style): Remove completion styles.
3236
eca1f90c
TT
32372020-05-23 Tom Tromey <tom@tromey.com>
3238
3239 * gdb.base/style.exp: Add completion styling test.
3240 * lib/gdb-utils.exp (style): Add completion styles.
3241
7c13f4e8
AB
32422020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 * gdb.base/annota1.exp: Update expected results.
3245 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3246 test name.
3247 * gdb.cp/annota3.exp: Update expected results.
3248
41977d16
SM
32492020-05-20 Simon Marchi <simon.marchi@efficios.com>
3250
3251 PR gdb/26016
3252 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3253 against MAP_FAILED.
3254 * gdb.base/coremaker.c (mmapdata): Likewise.
3255 * gdb.base/jit-reader-host.c (main): Likewise.
3256 * gdb.base/sym-file-loader.c (load): Likewise.
3257 (load_shlib): Likewise.
3258
b4757f2e
TT
32592020-05-20 Tom Tromey <tromey@adacore.com>
3260
3261 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3262
9a0bacfb
TV
32632020-05-20 Tom de Vries <tdevries@suse.de>
3264
3265 PR symtab/25833
3266 * gdb.base/with-mf-inc.c: New test.
3267 * gdb.base/with-mf-main.c: New test.
3268 * gdb.base/with-mf.exp: New file.
3269
76571211
TT
32702020-05-19 Tom Tromey <tromey@adacore.com>
3271
3272 * gdb.rust/simple.exp: Restore missing test result.
3273
4cd9f3d5
TV
32742020-05-19 Tom de Vries <tdevries@suse.de>
3275
3276 * gdb.base/gdb-caching-proc.exp: Fix typo.
3277
7d874253
TT
32782020-05-19 Tom Tromey <tromey@adacore.com>
3279
3280 * gdb.rust/simple.exp: Add some test descriptions.
3281 (test_one_slice): Use with_test_prefix.
3282
1d727695
TV
32832020-05-18 Tom de Vries <tdevries@suse.de>
3284
3285 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3286
7f32a4d5
PA
32872020-05-17 Pedro Alves <palves@redhat.com>
3288
3289 PR gdb/25741
3290 * gdb.base/hw-sw-break-same-address.exp: New file.
3291
7cfd74cf
PA
32922020-05-16 Pedro Alves <palves@redhat.com>
3293
3294 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3295 LAST_LOADED_FILE accordingly.
3296
57b4f16e
PW
32972020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3298
3299 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3300
7c05caf7
PW
33012020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3302
3303 * gdb.base/help.exp: Test apropos and help for commands
3304 having aliases. Fixed comments not starting with an
3305 upper-case letter or not finishing with a dot.
3306
7aa1b46f
PW
33072020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3308
3b3aaacb
PW
3309 * gdb.base/alias.exp: Update help output check.
3310
57b4f16e 33112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3312
7aa1b46f
PW
3313 * gdb.base/default.exp: Update output following fixes.
3314
0605465f
PW
33152020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3316
3317 * gdb.base/alias.exp: Test aliases starting with a prefix of
3318 another alias.
3319
86e4e63d
GB
33202020-05-15 Gary Benson <gbenson@redhat.com>
3321
3322 * gdb.base/info-os.c (main): Add return statement.
3323 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3324 * gdb.base/large-frame-2.c (func): Likewise.
3325 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3326 * gdb.base/pr10179-b.c (foo2): Likewise.
3327 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3328 * gdb.base/watch-cond.c (func): Likewise.
3329 * gdb.multi/goodbye.c (verylongfun): Likewise.
3330 * gdb.multi/hello.c (commonfun): Likewise.
3331 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3332 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3333 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3334 Likewise.
3335 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3336 * gdb.threads/interrupt-while-step-over.c (child_function):
3337 Likewise.
3338 * gdb.trace/actions-changed.c (end): Likewise.
3339
163df4df
GB
33402020-05-15 Gary Benson <gbenson@redhat.com>
3341
3342 * gdb.opencl/callfuncs.exp: Report when test skipped.
3343 * gdb.opencl/convs_casts.exp: Likewise.
3344 * gdb.opencl/datatypes.exp: Likewise.
3345 * gdb.opencl/operators.exp: Likewise.
3346 * gdb.opencl/vec_comps.exp: Likewise.
3347
6dbc505a
TV
33482020-05-15 Tom de Vries <tdevries@suse.de>
3349
3350 * gdb.base/align.exp.in: Rename to ...
3351 * gdb.base/align.exp.tcl: ... this.
3352 * gdb.base/align-c++.exp: Update.
3353 * gdb.base/align-c.exp: Update.
3354 * gdb.base/all-architectures.exp.in: Rename to ...
3355 * gdb.base/all-architectures.exp: ... this.
3356 * gdb.base/all-architectures-0.exp: Update.
3357 * gdb.base/all-architectures-1.exp: Update.
3358 * gdb.base/all-architectures-2.exp: Update.
3359 * gdb.base/all-architectures-3.exp: Update.
3360 * gdb.base/all-architectures-4.exp: Update.
3361 * gdb.base/all-architectures-5.exp: Update.
3362 * gdb.base/all-architectures-6.exp: Update.
3363 * gdb.base/all-architectures-7.exp: Update.
3364 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3365 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3366 * gdb.base/infcall-nested-structs-c++.exp: Update.
3367 * gdb.base/infcall-nested-structs-c.exp: Update.
3368 * gdb.base/info-types.exp.in: Rename to ...
3369 * gdb.base/info-types.exp.tcl: ... this.
3370 * gdb.base/info-types-c++.exp: Update.
3371 * gdb.base/info-types-c.exp: Update.
3372 * gdb.base/max-depth.exp.in: Rename to ...
3373 * gdb.base/max-depth.exp.tcl: ... this.
3374 * gdb.base/max-depth-c++.exp: Update.
3375 * gdb.base/max-depth-c.exp: Update.
3376 * gdb.cp/cpexprs.exp.in: Rename to ...
3377 * gdb.cp/cpexprs.exp.tcl: ... this.
3378 * gdb.cp/cpexprs-debug-types.exp: Update.
3379 * gdb.cp/cpexprs.exp: Update.
3380 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3381 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3382 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3383 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3384 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3385 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3386 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3387 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3388 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3389 * gdb.dwarf2/clang-debug-names.exp: Update.
3390
d1034d78
AB
33912020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * lib/check-test-names.exp: Remove code that prevents this file
3394 loading when tests are run in parallel.
3395
3c5c3649
PA
33962020-05-15 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.multi/multi-kill.exp (start_inferior): Remove
3399 'testpid' parameter. Refer to namespace variable directly.
3400 (testpid): Declare as namespace variable.
3401
272c36b8
PA
34022020-05-15 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.multi/multi-kill.exp: Wrap in namespace.
3405 (start_inferior): Add TESTPID parameter. Use it instead of the
3406 testpid global.
3407 (top level): Define empty TESTPID array, and pass it down to
3408 start_inferior.
3409
02eba61a
TV
34102020-05-14 Tom de Vries <tdevries@suse.de>
3411
3412 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3413 output.
3414
971a3747
TV
34152020-05-14 Tom de Vries <tdevries@suse.de>
3416
3417 * gdb.base/align.exp: Split into ...
3418 * gdb.base/align.exp.in: ...
3419 * gdb.base/align-c++.exp: ...
3420 * gdb.base/align-c.exp: ... these.
3421 * gdb.base/infcall-nested-structs.exp: Split into ...
3422 * gdb.base/infcall-nested-structs.exp.in: ...
3423 * gdb.base/infcall-nested-structs-c++.exp: ...
3424 * gdb.base/infcall-nested-structs-c.exp: ... these.
3425 * gdb.base/info-types.exp: Split into ...
3426 * gdb.base/info-types.exp.in: ...
3427 * gdb.base/info-types-c++.exp: ...
3428 * gdb.base/info-types-c.exp: ... these.
3429 * gdb.base/max-depth.exp: Split into ...
3430 * gdb.base/max-depth.exp.in: ...
3431 * gdb.base/max-depth-c++.exp: ...
3432 * gdb.base/max-depth-c.exp: ... these.
3433 * gdb.cp/infcall-nodebug.exp: Split into ...
3434 * gdb.cp/infcall-nodebug.exp.in: ...
3435 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3436 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3437 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3438 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3439
a05575d3
TBA
34402020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3441 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.multi/multi-exit.c: New file.
3444 * gdb.multi/multi-exit.exp: New file.
3445 * gdb.multi/multi-kill.c: New file.
3446 * gdb.multi/multi-kill.exp: New file.
3447
6ad82919
TBA
34482020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3449
3450 * gdb.base/annota1.exp: Update the expected output.
3451 * gdb.cp/annota2.exp: Ditto.
3452
843f4d93
AB
34532020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3454
3455 * lib/check-test-names.exp: Disable when testing is being run in
3456 parallel.
3457
c7c66341
TV
34582020-05-12 Tom de Vries <tdevries@suse.de>
3459
3460 * gdb.base/jit-elf.exp: Fix string concat.
3461
1b59ca1c
TV
34622020-05-12 Tom de Vries <tdevries@suse.de>
3463
3464 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3465 messages.
3466
b4991d29
TV
34672020-05-12 Tom de Vries <tdevries@suse.de>
3468
3469 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3470
dbb0ab10
TV
34712020-05-12 Tom de Vries <tdevries@suse.de>
3472
3473 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3474 * gdb.ada/mi_catch_ex.exp: Same.
3475 * gdb.ada/mi_catch_ex_hand.exp: Same.
3476
7549fed8
TV
34772020-05-12 Tom de Vries <tdevries@suse.de>
3478
3479 * gdb.fortran/complex.exp: Use with_test_prefix.
3480
af2d5cd8
TV
34812020-05-12 Tom de Vries <tdevries@suse.de>
3482
3483 * gdb.trace/passcount.exp: Fix test-names.
3484
7c121311
TV
34852020-05-12 Tom de Vries <tdevries@suse.de>
3486
3487 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3488
c9f3b40e
TV
34892020-05-12 Tom de Vries <tdevries@suse.de>
3490
3491 * gdb.gdb/complaints.exp: Use with_test_prefix.
3492 * gdb.xml/tdesc-regs.exp: Same.
3493 * gdb.opt/inline-locals.exp: Fix test name.
3494
111b33f0
TV
34952020-05-12 Tom de Vries <tdevries@suse.de>
3496
3497 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3498 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3499 * gdb.dwarf2/implref-struct.exp: Same.
3500 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3501 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3502
ebf47080
SM
35032020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3504
3505 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3506
d30dcd12
AB
35072020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3508
3509 * lib/check-test-names.exp (all_test_names): New module variable.
3510 (counts): Add 'duplicates' field.
3511 (_check_duplicates): New procedure.
3512 (check): Also check for duplicates.
3513 (do_log_summary): Print duplicates count.
3514 (do_reset_vars): Reset counter for duplicate test names, and
3515 discard all know test names.
3516
34584c09
AB
35172020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3518
3519 * lib/gdb.exp: Include check-test-names.exp library.
3520 * lib/check-test-names.exp: New file.
3521
e0002117
TV
35222020-05-11 Tom de Vries <tdevries@suse.de>
3523
3524 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3525
53f539a3
KS
35262020-05-11 Keith Seitz <keiths@redhat.com>
3527
3528 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3529
113ee09a
TV
35302020-05-11 Tom de Vries <tdevries@suse.de>
3531
3532 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3533 * gdb.cp/cpexprs.exp.in: .. here.
3534 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3535 cpexprs.exp.
3536
ba3e70b0
KS
35372020-05-11 Keith Seitz <keiths@redhat.com>
3538
3539 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3540 test names.
3541 * gdb.ada/arrayptr.exp: Likewise.
3542 * gdb.ada/assign_arr.exp: Likewise.
3543 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3544 * gdb.ada/bp_on_var.exp: Likewise.
3545 * gdb.ada/call_pn.exp: Likewise.
3546 * gdb.ada/complete.exp: Likewise.
3547 * gdb.ada/fun_overload_menu.exp: Likewise.
3548 * gdb.ada/funcall_param.exp: Likewise.
3549 * gdb.ada/funcall_ref.exp: Likewise.
3550 * gdb.ada/packed_array_assign.exp: Likewise.
3551 * gdb.ada/same_component_name.exp: Likewise.
3552 * gdb.ada/type_coercion.exp: Likewise.
3553 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3554 * gdb.ada/variant_record_packed_array.exp: Likewise.
3555
3ee6bb11
TV
35562020-05-11 Tom de Vries <tdevries@suse.de>
3557
3558 PR symtab/25941
3559 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3560 out of ...
3561 * gdb.dwarf2/clang-debug-names.exp: ... here.
3562 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3563 clang-debug-names.exp.in.
3564 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3565 * gdb.dwarf2/clang-debug-names-2.c: New test.
3566
86cd6bc8
AKS
35672020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3568
3569 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3570 (fortran_runto_main): New Proc, fortran version of runto_main.
3571 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3572 * gdb.fortran/array-bounds.exp: Likewise.
3573 * gdb.fortran/array-slices.exp: Likewise.
3574 * gdb.fortran/block-data.exp: Likewise.
3575 * gdb.fortran/charset.exp: Likewise.
3576 * gdb.fortran/common-block.exp: Likewise.
3577 * gdb.fortran/complex.exp: Likewise.
3578 * gdb.fortran/derived-type-function.exp: Likewise.
3579 * gdb.fortran/derived-type.exp: Likewise.
3580 * gdb.fortran/info-modules.exp: Likewise.
3581 * gdb.fortran/info-types.exp: Likewise.
3582 * gdb.fortran/intrinsics.exp: Likewise.
3583 * gdb.fortran/library-module.exp: Likewise.
3584 * gdb.fortran/logical.exp: Likewise.
3585 * gdb.fortran/max-depth.exp: Likewise.
3586 * gdb.fortran/module.exp: Likewise.
3587 * gdb.fortran/multi-dim.exp: Likewise.
3588 * gdb.fortran/nested-funcs.exp: Likewise.
3589 * gdb.fortran/print-formatted.exp: Likewise.
3590 * gdb.fortran/print_type.exp: Likewise.
3591 * gdb.fortran/printing-types.exp: Likewise.
3592 * gdb.fortran/ptr-indentation.exp: Likewise.
3593 * gdb.fortran/ptype-on-functions.exp: Likewise.
3594 * gdb.fortran/subarray.exp: Likewise.
3595 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3596 * gdb.fortran/vla-datatypes.exp: Likewise.
3597 * gdb.fortran/vla-history.exp: Likewise.
3598 * gdb.fortran/vla-ptr-info.exp: Likewise.
3599 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3600 * gdb.fortran/vla-ptype.exp: Likewise.
3601 * gdb.fortran/vla-sizeof.exp: Likewise.
3602 * gdb.fortran/vla-type.exp: Likewise.
3603 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3604 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3605 * gdb.fortran/vla-value-sub.exp: Likewise.
3606 * gdb.fortran/vla-value.exp: Likewise.
3607 * gdb.fortran/whatis_type.exp: Likewise.
3608 * gdb.mi/mi-var-child-f.exp: Likewise.
3609
6dc55ce9 36102020-05-09 Tom de Vries <tdevries@suse.de>
3611
3612 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3613
283cb58c
TV
36142020-05-08 Tom de Vries <tdevries@suse.de>
3615
3616 * gdb.dwarf2/clang-debug-names.c: New test.
3617 * gdb.dwarf2/clang-debug-names.exp: New file.
3618
ac4a4f1c
SM
36192020-05-06 Simon Marchi <simon.marchi@efficios.com>
3620
3621 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3622 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3623
24fe640b
TV
36242020-05-06 Tom de Vries <tdevries@suse.de>
3625
3626 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3627 breakpoint is at a "recommended breakpoint location".
3628 * gdb.reverse/consecutive-reverse.exp: Same.
3629
0d8683a3
TV
36302020-05-06 Tom de Vries <tdevries@suse.de>
3631
3632 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3633 address.
3634
b8983c46
TV
36352020-05-06 Tom de Vries <tdevries@suse.de>
3636
3637 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3638
abf6d805
TV
36392020-05-06 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3642 info for r.
3643
0fc2a808
TV
36442020-05-06 Tom de Vries <tdevries@suse.de>
3645
3646 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3647 necessary.
3648
873dd427
TV
36492020-05-06 Tom de Vries <tdevries@suse.de>
3650
3651 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3652 void.
3653
7c99e7e2
TV
36542020-05-06 Tom de Vries <tdevries@suse.de>
3655
3656 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3657 of ...
3658 * gdb.base/async.exp: ... here.
3659 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3660 "recommended breakpoint location".
3661
6173d6a6
TV
36622020-05-06 Tom de Vries <tdevries@suse.de>
3663
3664 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3665
6015a067
TV
36662020-05-04 Tom de Vries <tdevries@suse.de>
3667
3668 * gdb.base/async.exp: Check whether instruction addresses are a
3669 "recommended breakpoint location".
3670
3b6acaee
TT
36712020-05-03 Tom Tromey <tom@tromey.com>
3672
3673 * gdb.base/sepdebug.exp: Remove "catch" test.
3674 * gdb.base/break.exp: Remove "catch" test.
3675 * gdb.base/default.exp: Update expected output.
3676
5beb4d17
TV
36772020-05-02 Tom de Vries <tdevries@suse.de>
3678
3679 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3680 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3681 * gdb.arch/i386-mpx-map.exp: Same.
3682 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3683 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3684 * gdb.arch/i386-mpx.exp: Same.
3685
8caf140d
TV
36862020-05-02 Tom de Vries <tdevries@suse.de>
3687
3688 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3689
693196cb
TV
36902020-05-01 Tom de Vries <tdevries@suse.de>
3691
3692 * gdb.ada/operator_bp.exp: Allow more than required amount of
3693 breakpoint.
3694
53ae0aa9
TV
36952020-05-01 Tom de Vries <tdevries@suse.de>
3696
3697 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3698
ee9d1e5f
HD
36992020-04-30 Hannes Domani <ssbssa@yahoo.de>
3700
3701 PR gdb/18706
3702 * gdb.cp/stub-array-size.cc: New test.
3703 * gdb.cp/stub-array-size.exp: New file.
3704 * gdb.cp/stub-array-size.h: New test.
3705 * gdb.cp/stub-array-size2.cc: New test.
3706
d5cf82c0
HD
37072020-04-30 Hannes Domani <ssbssa@yahoo.de>
3708
3709 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3710 output to the new format.
3711
42e165c3
SM
37122020-04-29 Simon Marchi <simon.marchi@efficios.com>
3713
3714 * gdb.base/break.exp: Use with_test_prefix.
3715
6e4e3fe1
TV
37162020-04-29 Tom de Vries <tdevries@suse.de>
3717
3718 * lib/gdb.exp (debug_types): New proc.
3719 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3720 * gdb.python/py-symtab.exp: Same.
3721
d642b692
HD
37222020-04-29 Hannes Domani <ssbssa@yahoo.de>
3723
3724 PR gdb/17320
3725 * gdb.base/pretty-array.c: New test.
3726 * gdb.base/pretty-array.exp: New file.
3727
ea90f227
TV
37282020-04-29 Tom de Vries <tdevries@suse.de>
3729
3730 PR symtab/25889
3731 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3732 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3733 and include cpexprs.exp.
3734
a65189c9
TV
37352020-04-28 Mark Williams <mark@myosotissp.com>
3736
3737 PR gdb/24480
3738 * dw4-toplevel-types.exp: Test for top level types.
3739 * dw4-toplevel-types.cc: Test for top level types.
3740
32d1f47a
TBA
37412020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3742
3743 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3744 (theads -> threads).
3745
56a4f5a1
TV
37462020-04-28 Tom de Vries <tdevries@suse.de>
3747
3748 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3749
0b2f8a3b
TV
37502020-04-28 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3753
5390c717
TV
37542020-04-28 Tom de Vries <tdevries@suse.de>
3755
3756 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3757
15cd93d0
TV
37582020-04-28 Tom de Vries <tdevries@suse.de>
3759
3760 * gdb.dwarf2/main-foo.c: New test.
3761 * gdb.dwarf2/struct-with-sig.exp: New file.
3762
d472f0fb
TV
37632020-04-25 Tom de Vries <tdevries@suse.de>
3764
3765 * boards/debug-types.exp: New file.
3766
8d840e05
AB
37672020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3768
3769 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3770
bcfe6157
TT
37712020-04-24 Tom Tromey <tom@tromey.com>
3772
3773 PR symtab/12707:
3774 * gdb.python/py-symbol.exp: Update expected results for
3775 linkage_name test.
3776 * gdb.cp/print-demangle.exp: New file.
3777 * gdb.base/c-linkage-name.exp: Fix test.
3778 * gdb.guile/scm-symbol.exp: Update expected results for
3779 linkage_name test.
3780
f049a313
TT
37812020-04-24 Tom Tromey <tom@tromey.com>
3782
3783 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3784 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3785 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3786 assembler.
3787
7cf28874
TV
37882020-04-24 Tom de Vries <tdevries@suse.de>
3789
3790 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3791 C++.
3792
dac2fef7
TT
37932020-04-24 Tom Tromey <tromey@adacore.com>
3794
3795 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3796 values.
3797 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3798 values. Update test for minimal encodings.
3799 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3800 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3801 values. Update test for minimal encodings.
3802
1acda803
TT
38032020-04-24 Tom Tromey <tromey@adacore.com>
3804
3805 PR python/23662:
3806 * gdb.ada/variant.exp: Add Python checks.
3807 * gdb.rust/simple.exp: Add dynamic type checks.
3808
adfb9815
TT
38092020-04-24 Tom Tromey <tromey@adacore.com>
3810
3811 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3812 Make array type matching more lax.
3813 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3814 * gdb.ada/mi_variant.exp: New file.
3815 * gdb.ada/mi_variant/pck.ads: New file.
3816 * gdb.ada/mi_variant/pkg.adb: New file.
3817 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3818 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3819
7d79de9a
TT
38202020-04-24 Tom Tromey <tromey@adacore.com>
3821
3822 * gdb.ada/variant.exp: Add dynamic field offset tests.
3823 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3824 * gdb.ada/variant/pkg.adb: Add new variables.
3825
f8e89861
TT
38262020-04-24 Tom Tromey <tromey@adacore.com>
3827
3828 * gdb.ada/variant.exp: New file
3829 * gdb.ada/variant/pkg.adb: New file
3830 * gdb.ada/variant/pck.adb: New file
3831
86e887ae
TV
38322020-04-24 Tom de Vries <tdevries@suse.de>
3833
3834 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3835
88428775
TV
38362020-04-24 Tom de Vries <tdevries@suse.de>
3837
3838 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3839 flags.
3840
4e86f6e7
TV
38412020-04-24 Tom de Vries <tdevries@suse.de>
3842
3843 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3844
2016d3e6
TV
38452020-04-24 Tom de Vries <tdevries@suse.de>
3846
3847 * lib/gdb.exp (default_gdb_start): Handle eof.
3848 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3849 failure.
3850 * gdb.base/readnever.exp: Handle clean_restart failure.
3851
70bc38f5
TV
38522020-04-23 Tom de Vries <tdevries@suse.de>
3853
3854 * gdb.base/decl-before-def.exp: Run to main and print a again.
3855
de82891c
TV
38562020-04-23 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.base/decl-before-def-decl.c: New test.
3859 * gdb.base/decl-before-def-def.c: New test.
3860 * gdb.base/decl-before-def.exp: New file.
3861
96038148
TV
38622020-04-23 Tom de Vries <tdevries@suse.de>
3863
3864 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3865
54ac3df1
TV
38662020-04-22 Tom de Vries <tdevries@suse.de>
3867
3868 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3869 debug_info_offset.
3870 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3871 before $objsfile in the line line.
3872
714534e1
TV
38732020-04-22 Tom de Vries <tdevries@suse.de>
3874
3875 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3876
16a7dbf4
MS
38772020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3878
3879 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3880 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3881 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3882 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3883 * gdb.base/jit-protocol.h: Update definitions to match all usage
3884 contexts.
3885
38862020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3887
3888 * gdb.base: Rename all jit related test and source files.
3889
38902020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3891
3892 * gdb.base/jit-reader.exp: Relax register output check.
3893
317d2668
TV
38942020-04-22 Tom de Vries <tdevries@suse.de>
3895
3896 PR symtab/25764
3897 * gdb.base/psym-external-decl-2.c: New test.
3898 * gdb.base/psym-external-decl.c: New test.
3899 * gdb.base/psym-external-decl.exp: New file.
3900 * gdb.threads/tls.exp: Add PR25807 kfail.
3901
eea9e357
TV
39022020-04-22 Tom de Vries <tdevries@suse.de>
3903
3904 PR symtab/25801
3905 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3906 in "info source" output.
3907
3d5afab3
TV
39082020-04-22 Tom de Vries <tdevries@suse.de>
3909
3910 PR symtab/25700
3911 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3912 symtab for imported_unit.c.
3913
b32102f6
GB
39142020-04-21 Gary Benson <gbenson@redhat.com>
3915
3916 * gdb.base/advance.c (func): New argument, to match call site.
3917 (func2, func3): Add return statements.
3918
d43b7a2d
TBA
39192020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3920
3921 * gdb.multi/run-only-second-inf.c: New file.
3922 * gdb.multi/run-only-second-inf.exp: New file.
3923
d89edf9b
MM
39242020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3925
3926 * gdb.btrace/multi-inferior.c: New test.
3927 * gdb.btrace/multi-inferior.exp: New file.
3928
1a476b6d
MM
39292020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3930
3931 * gdb.btrace/enable-new-thread.c: New test.
3932 * gdb.btrace/enable-new-thread.exp: New file.
3933
4778a5f8
TV
39342020-04-21 Tom de Vries <tdevries@suse.de>
3935
3936 PR gdb/25471
3937 * gdb.threads/killed-outside.c: New test.
3938 * gdb.threads/killed-outside.exp: New file.
3939
9b2c992c
GB
39402020-04-20 Gary Benson <gbenson@redhat.com>
3941
3942 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3943 * gdb.base/nested-subp2.exp: Likewise.
3944 * gdb.base/nested-subp3.exp: Likewise.
3945
b5d1d6f7
GB
39462020-04-20 Gary Benson <gbenson@redhat.com>
3947
3948 * gdb.base/nested-subp1.exp: Disable test when using clang.
3949 * gdb.base/nested-subp2.exp: Likewise.
3950 * gdb.base/nested-subp3.exp: Likewise.
3951
25230285
GB
39522020-04-20 Gary Benson <gbenson@redhat.com>
3953
3954 * gdb.cp/exception.cc: Fix compilation error with clang.
3955
fa93cc8f
GB
39562020-04-20 Gary Benson <gbenson@redhat.com>
3957
809730f3 3958 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3959
e0c45f30
GB
39602020-04-20 Gary Benson <gbenson@redhat.com>
3961
3962 * gdb.base/jit-main.c: Fix compilation error with clang.
3963
4ddfec93
KR
39642020-04-17 Kamil Rytarowski <n54@gmx.com>
3965
3966 * gdb.base/attach-twice.c: Include "sys/types.h".
3967 (PTRACE_ATTACH): Add fallback definition.
3968 (main): Pass `0' to the 4th argument of `ptrace'.
3969
2bed205e
KR
39702020-04-17 Kamil Rytarowski <n54@gmx.com>
3971
3972 * gdb.base/fork-running-state.c: Include "signal.h".
3973
0743fc83
TT
39742020-04-17 Tom Tromey <tromey@adacore.com>
3975
3976 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3977 Update tests.
3978 * gdb.btrace/cpu.exp: Update tests.
3979 * gdb.base/maint.exp: Update tests.
3980 * gdb.base/default.exp: Update tests.
3981 * gdb.base/completion.exp: Update tests.
3982
efba5c23
TV
39832020-04-16 Tom de Vries <tdevries@suse.de>
3984
3985 PR symtab/25791
3986 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3987 (ensure_gdb_index): and factor out and move ...
3988 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3989 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3990
d191d716
TV
39912020-04-16 Tom de Vries <tdevries@suse.de>
3992
3993 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3994 loading exec.
3995
99f1bc6a
AB
39962020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3997
3998 * gdb.base/many-completions.exp: New file.
3999
194d088f
TV
40002020-04-14 Tom de Vries <tdevries@suse.de>
4001
4002 PR symtab/25718
4003 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4004
c1a66c06
TV
40052020-04-14 Tom de Vries <tdevries@suse.de>
4006
4007 PR symtab/25720
4008 * gdb.base/maint-expand-symbols-header-file.c: New test.
4009 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4010 * gdb.base/maint-expand-symbols-header-file.h: New test.
4011
21b0982c
AB
40122020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4013
4014 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4015 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4016 get_func_info.
4017 (get_func_info): Delete.
4018 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4019 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4020 * lib/dwarf.exp (get_func_info): New function.
4021
dd1cab06
TV
40222020-04-13 Tom de Vries <tdevries@suse.de>
4023
4024 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4025 to what find_gnatmake does.
4026
71ea2b6b
TV
40272020-04-10 Tom de Vries <tdevries@suse.de>
4028
4029 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4030 -readnow.
4031
bdfc1e8a
TV
40322020-04-10 Tom de Vries <tdevries@suse.de>
4033
4034 PR cli/25808
4035 * gdb.base/style.c: Add leading newlines.
4036 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4037 Check listing of main's one-line body.
4038
14ca8ecf
TV
40392020-04-08 Tom de Vries <tdevries@suse.de>
4040
4041 * lib/gdb.exp (psymtabs_p): New proc.
4042 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4043 importing unit" unsupported if there are no partial symbols.
4044
e21d048f
TV
40452020-04-08 Tom de Vries <tdevries@suse.de>
4046
4047 PR testsuite/25760
4048 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4049
25c11aca
TV
40502020-04-07 Tom de Vries <tdevries@suse.de>
4051
4052 PR symtab/25796
4053 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4054
5707e24b
TV
40552020-04-07 Tom de Vries <tdevries@suse.de>
4056
4057 * gdb.base/check-psymtab.c: New test.
4058 * gdb.base/check-psymtab.exp: New file.
4059
6ee448cc
TT
40602020-04-06 Tom Tromey <tromey@adacore.com>
4061
4062 * gdb.ada/variant-record/proc.adb: New file.
4063 * gdb.ada/variant-record/value.adb: New file.
4064 * gdb.ada/variant-record/value.s: New file.
4065 * gdb.ada/variant-record.exp: New file.
4066
9e7c9a03
HD
40672020-04-03 Hannes Domani <ssbssa@yahoo.de>
4068
4069 PR gdb/25325
4070 * gdb.cp/typed-enum.cc: New test.
4071 * gdb.cp/typed-enum.exp: New file.
4072
c90d28ac
AB
40732020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4074
4075 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4076 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4077 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4078 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4079 * gdb.opt/inline-small-func.c: New file.
4080 * gdb.opt/inline-small-func.exp: New file.
4081 * gdb.opt/inline-small-func.h: New file.
4082
34e9a9fa
AB
40832020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4086 function.
4087
6a354911
AB
40882020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4089
4090 * lib/dwarf.exp (function_range): Allow compiler options to be
4091 specified.
4092
880d9777
TV
40932020-04-02 Tom de Vries <tdevries@suse.de>
4094
4095 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4096 __attribute__((always_inline)).
4097 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4098
f32682ea
TV
40992020-04-02 Tom de Vries <tdevries@suse.de>
4100
4101 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4102 (gdbserver_gdb_exit): ... here. Add timeout warning.
4103 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4104 (connect_target_extended_remote): Append new server_spawn_id to
4105 server_spawn_ids.
4106 (cleanup): New proc.
4107 (setup, <toplevel>): Call cleanup.
4108
d3214198
TV
41092020-04-02 Tom de Vries <tdevries@suse.de>
4110
4111 * gdb.base/main-psymtab.exp: New file.
4112
cc77ed24
TV
41132020-04-02 Tom de Vries <tdevries@suse.de>
4114
4115 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4116
3638a098
TT
41172020-04-01 Tom Tromey <tom@tromey.com>
4118
4119 * gdb.base/complex-parts.exp: Add type tests.
4120
c34e8714
TT
41212020-04-01 Tom Tromey <tom@tromey.com>
4122
4123 * gdb.base/complex-parts.exp: Add arithmetic tests.
4124
981c08ce
TT
41252020-04-01 Tom Tromey <tom@tromey.com>
4126
4127 * gdb.compile/compile.exp: Update.
4128 * gdb.compile/compile-cplus.exp: Update.
4129 * gdb.base/varargs.exp: Update.
4130 * gdb.base/floatn.exp: Update.
4131 * gdb.base/endianity.exp: Update.
4132 * gdb.base/callfuncs.exp (do_function_calls): Update.
4133 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4134 (complex_float_integral_args): Update.
4135 * gdb.base/complex.exp: Update.
4136 * gdb.base/complex-parts.exp: Update.
4137
3d1cfd43
TT
41382020-04-01 Tom Tromey <tromey@adacore.com>
4139
4140 * gdb.rust/union.rs: New file.
4141 * gdb.rust/union.exp: New file.
4142 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4143 (main): Update.
4144 * gdb.rust/simple.exp: Move union tests to union.exp.
4145
e033dfa9
TT
41462020-04-01 Tom Tromey <tromey@adacore.com>
4147
4148 * gdb.rust/simple.rs (main): Remove "y0".
4149
53cccef1
TBA
41502020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4151
4152 * gdb.multi/stop-all-on-exit.c: New test.
4153 * gdb.multi/stop-all-on-exit.exp: New file.
4154
60e22c1e
HD
41552020-04-01 Hannes Domani <ssbssa@yahoo.de>
4156
4157 PR gdb/24789
4158 * gdb.cp/misc.cc: Add integer reference variable.
4159 * gdb.cp/misc.exp: Add test.
4160
e139a727
TBA
41612020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4162
4163 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4164 scenario to cover execution until the end and also the case
4165
16b0db75
TV
41662020-03-31 Tom de Vries <tdevries@suse.de>
4167
4168 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4169 c. Use "maint info symtabs" to check symtab expansion.
4170
c0502da6
TV
41712020-03-30 Tom de Vries <tdevries@suse.de>
4172
4173 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4174 unsupported.
4175 (verify_psymtab_expanded): Move ...
4176 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4177 test.
4178 (readnow): New proc.
4179
5935fd15
AB
41802020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4181
4182 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4183 with $hex.
4184
1773be9e
TT
41852020-03-20 Tom Tromey <tromey@adacore.com>
4186
4187 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4188
70304be9
TT
41892020-03-20 Tom Tromey <tromey@adacore.com>
4190
4191 * gdb.ada/sub_variant/subv.adb: New file.
4192 * gdb.ada/sub_variant.exp: New file.
4193
0dd7b8f7
TV
41942020-03-20 Tom de Vries <tdevries@suse.de>
4195
4196 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4197 first break fails.
4198 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4199
cada5fc9
AB
42002020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4201
4202 * gdb.server/exit-multiple-threads.c: New file.
4203 * gdb.server/exit-multiple-threads.exp: New file.
4204
6b8c53f2
AB
42052020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4206
4207 * gdb.fortran/mixed-lang-stack.c: New file.
4208 * gdb.fortran/mixed-lang-stack.cpp: New file.
4209 * gdb.fortran/mixed-lang-stack.exp: New file.
4210 * gdb.fortran/mixed-lang-stack.f90: New file.
4211
19a2740f
AB
42122020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4213
4214 * gdb.linespec/cp-completion-aliases.cc: New file.
4215 * gdb.linespec/cp-completion-aliases.exp: New file.
4216
d8c8b848
TV
42172020-03-19 Tom de Vries <tdevries@suse.de>
4218
4219 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4220 more precise.
4221
a9933ccf
TV
42222020-03-18 Tom de Vries <tdevries@suse.de>
4223
4224 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4225 * gdb.dwarf2/break-inline-psymtab.c: New test.
4226 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4227
2f89101f
TV
42282020-03-16 Tom de Vries <tdevries@suse.de>
4229
4230 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4231 cache_verify and cache_verify_proc.
4232
6b9374f1
TV
42332020-03-15 Tom de Vries <tdevries@suse.de>
4234
4235 * gdb.server/solib-list.exp: Handle
4236 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4237
eaeaf44c
TV
42382020-03-15 Tom de Vries <tdevries@suse.de>
4239
4240 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4241 objfiles".
4242
3293bbaf
TT
42432020-03-14 Tom Tromey <tom@tromey.com>
4244
4245 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4246
ab44624c
TV
42472020-03-14 Tom de Vries <tdevries@suse.de>
4248
4249 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4250
54c43825
TV
42512020-03-14 Tom de Vries <tdevries@suse.de>
4252
4253 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4254 result in line-by-line fashion.
4255
2ac70237
TV
42562020-03-14 Tom de Vries <tdevries@suse.de>
4257
4258 * lib/gdb.exp (supports_statement_frontiers): New proc.
4259 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4260
09546b56
TV
42612020-03-14 Tom de Vries <tdevries@suse.de>
4262
4263 * gdb.base/printcmds.exp: Add missing quoting for "print
4264 teststring2".
4265
a1f6a07c
TT
42662020-03-13 Tom Tromey <tom@tromey.com>
4267
4268 * gdb.base/printcmds.exp (test_print_strings): Add regression
4269 test.
4270 * gdb.base/printcmds.c (charptr): New typedef.
4271 (teststring2): New global.
4272
1b83d09c
AB
42732020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4274
4275 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4276 full path in the test name.
4277 (test_ld): Add some with_test_prefix blocks to make test names
4278 unique.
4279
2d61316c
TV
42802020-03-13 Tom de Vries <tdevries@suse.de>
4281
4282 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4283
2e9145ac
TV
42842020-03-13 Tom de Vries <tdevries@suse.de>
4285
4286 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4287
96c7f873
TV
42882020-03-13 Tom de Vries <tdevries@suse.de>
4289
4290 PR symtab/25646
4291 * gdb.dwarf2/imported-unit.exp: Add test.
4292
49ba92c0
TV
42932020-03-13 Tom de Vries <tdevries@suse.de>
4294
4295 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4296 (var1, var2): New variable.
4297 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4298 matching symbols.
4299
301b21e0
TV
43002020-03-13 Tom de Vries <tdevries@suse.de>
4301
4302 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4303 (Term::command): Use prompt prefix.
4304 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4305 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4306 command_no_prompt_prefix instead of prefix.
4307 * gdb.tui/tui-layout-asm.exp: Same.
4308
3f512721
SM
43092020-03-12 Simon Marchi <simon.marchi@efficios.com>
4310
4311 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4312
40310f30
SM
43132020-03-12 Simon Marchi <simon.marchi@efficios.com>
4314
4315 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4316 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4317 on" while stepping over the test instruction, match printed
4318 message.
4319
09252140
TV
43202020-03-12 Tom de Vries <tdevries@suse.de>
4321
4322 * gdb.base/info-types.exp: Use exp_continue during matching of output
4323 of "info types".
4324
14e9c72c
TV
43252020-03-12 Tom de Vries <tdevries@suse.de>
4326
4327 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4328
e515d67e
TV
43292020-03-12 Tom de Vries <tdevries@suse.de>
4330
4331 * gdb.fortran/module.exp: Use exp_continue during matching of output
4332 of "info variable -n".
4333
307eafd8
TV
43342020-03-12 Tom de Vries <tdevries@suse.de>
4335
4336 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4337 gdb.dwarf2/dw2-ranges-base.c.
4338
9a2de3fc
TV
43392020-03-12 Tom de Vries <tdevries@suse.de>
4340
4341 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4342 in presence of GLIBC debuginfo.
4343
3217502e
TV
43442020-03-12 Tom de Vries <tdevries@suse.de>
4345
4346 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4347 $core.
4348
1281424c
TV
43492020-03-12 Tom de Vries <tdevries@suse.de>
4350
4351 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4352 more precise.
4353
038b97fc
SM
43542020-03-11 Simon Marchi <simon.marchi@efficios.com>
4355
4356 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4357 from Unix to Windows path.
4358
5308d1e7
TV
43592020-03-11 Tom de Vries <tdevries@suse.de>
4360
4361 * gdb.ada/minsyms.exp: Set language to ada.
4362
f870f78f
TV
43632020-03-11 Tom de Vries <tdevries@suse.de>
4364
4365 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4366
5a13315d
TV
43672020-03-11 Tom de Vries <tdevries@suse.de>
4368
4369 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4370
976862ed
TT
43712020-03-11 Tom Tromey <tromey@adacore.com>
4372
4373 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4374
7462c383
TV
43752020-03-11 Tom de Vries <tdevries@suse.de>
4376
4377 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4378
1c6c46a0
TV
43792020-03-11 Tom de Vries <tdevries@suse.de>
4380
4381 * gdb.base/break-interp.exp: Limit verbose scope.
4382
44f41bb7
TV
43832020-03-11 Tom de Vries <tdevries@suse.de>
4384
4385 * gdb.fortran/logical.f90: Define variable with character type.
4386 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4387
b76f3a42
TV
43882020-03-11 Tom de Vries <tdevries@suse.de>
4389
4390 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4391
1c33af77
TV
43922020-03-11 Tom de Vries <tdevries@suse.de>
4393
4394 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4395 symtabs.
4396
8c95582d
AB
43972020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4398 Bernd Edlinger <bernd.edlinger@hotmail.de>
4399
4400 * gdb.cp/step-and-next-inline.cc: New file.
4401 * gdb.cp/step-and-next-inline.exp: New file.
4402 * gdb.cp/step-and-next-inline.h: New file.
4403 * gdb.dwarf2/dw2-is-stmt.c: New file.
4404 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4405 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4406 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4407 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4408
cecf8547
AB
44092020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4410
4411 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4412 is-stmt flag in the line table.
4413
0ba678c9
TV
44142020-03-09 Tom de Vries <tdevries@suse.de>
4415
4416 * lib/gdb.exp (cached_file): Create cache dir.
4417
72fbdf83
TV
44182020-03-07 Tom de Vries <tdevries@suse.de>
4419
4420 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4421 * gdb.cp/rvalue-ref-params.exp: Same.
4422
436b5e99
TV
44232020-03-06 Tom de Vries <tdevries@suse.de>
4424
4425 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4426 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4427
09f2921c
TV
44282020-03-06 Tom de Vries <tdevries@suse.de>
4429
4430 * README: Fix "the the".
4431 * gdb.base/dprintf.exp: Same.
4432
50a3cc5d
TV
44332020-03-05 Tom de Vries <tdevries@suse.de>
4434
4435 * gdb.base/maint.exp: Update "main print statistics" expected output.
4436
0a709cba
AKS
44372020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4438
4439 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4440 (fortran_int8): Likewise.
4441 (fortran_real4): Likewise.
4442 (fortran_real8): Likewise.
4443 (fortran_complex4): Likewise.
4444 (fortran_logical4): Likewise.
4445 (fortran_character1): Likewise.
4446
5e5d66b6
AB
44472020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4448
4449 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4450 printed as true.
4451
7b973adc
SDJ
44522020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4453
4454 * gdb.base/printcmds.exp: Add test to verify printf of a
4455 variable holding an address.
4456
478e490a
TV
44572020-03-03 Tom de Vries <tdevries@suse.de>
4458
4459 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4460
1ef44e86
TV
44612020-03-03 Tom de Vries <tdevries@suse.de>
4462
4463 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4464 gdb_test_multiple call.
4465
b98cc2cf
TV
44662020-03-03 Tom de Vries <tdevries@suse.de>
4467
4468 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4469 gdb_test_multiple calls.
4470
63e163f2
AB
44712020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4472
4473 * gdb.base/default.exp: Remove test of 'set history filename'.
4474 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4475 filename to the empty string.
4476 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4477 and GDBHISTSIZE.
4478
24ed6739
AB
44792020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4480
4481 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4482 disabled.
4483
590003dc 44842020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4485 Tom de Vries <tdevries@suse.de>
590003dc
TV
4486
4487 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4488 -prompt prefix, before user_code argument. Add -lbl option likewise.
4489 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4490 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4491 argument.
4492 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4493 have "\r\n" at start-of-line, instead of at end-of-line.
4494
f5e46084
SM
44952020-02-28 Simon Marchi <simon.marchi@efficios.com>
4496
4497 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4498 libinproctrace.so.
4499
f7a7000d
LM
45002020-02-28 Luis Machado <luis.machado@linaro.org>
4501
4502 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4503 to "p/x".
4504
718e0816
LM
45052020-02-28 Luis Machado <luis.machado@linaro.org>
4506
4507 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4508 asm/ptrace.h and error.h.
4509
13c3a74a
TV
45102020-02-28 Tom de Vries <tdevries@suse.de>
4511
4512 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4513 (struct wrapper, do_something, mundane/symada__cS): Move ...
4514 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4515 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4516 Update "print symada__cS before partial symtab expansion" regexp.
4517 Update breakpoint location. Flush symbol cache after expansion.
4518
85d2d5bb
LM
45192020-02-28 Luis Machado <luis.machado@linaro.org>
4520
4521 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4522
3608f86c
TV
45232020-02-27 Tom de Vries <tdevries@suse.de>
4524
4525 * config/sid.exp: Remove unused globals.
4526 * gdb.base/attach.exp: Same.
4527 * gdb.base/catch-load.exp: Same.
4528 * gdb.base/dbx.exp: Same.
4529 * lib/gdb.exp: Same.
4530 * lib/mi-support.exp: Same.
4531 * lib/prompt.exp: Same.
4532
c8d4f6df
TV
45332020-02-27 Tom de Vries <tdevries@suse.de>
4534
4535 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4536 not set.
4537
0d79cdc4
AM
45382020-02-26 Aaron Merey <amerey@redhat.com>
4539
4540 * gdb.debuginfod: New directory for debuginfod tests.
4541 * gdb.debuginfod/main.c: New test file.
4542 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4543
0dce4280
TV
45442020-02-26 Tom de Vries <tdevries@suse.de>
4545
4546 PR gdb/25603
4547 * gdb.base/persistent-lang.cc: New test.
4548 * gdb.base/persistent-lang.exp: New file.
4549
9e80cfa1
AB
45502020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * gdb.fortran/derived-type-striding.exp: Add a new test.
4553 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4554 new test.
4555
2078dbb2
AB
45562020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4557
4558 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4559 names.
4560
70d49700
TV
45612020-02-25 Tom de Vries <tdevries@suse.de>
4562
4563 PR go/18926
4564 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4565
a88ef40d
TV
45662020-02-24 Tom de Vries <tdevries@suse.de>
4567
4568 PR gdb/25592
4569 * gdb.base/info-locals-unused-static-var.c: New test.
4570 * gdb.base/info-locals-unused-static-var.exp: New file.
4571
01b1af32
TT
45722020-02-22 Tom Tromey <tom@tromey.com>
4573
4574 * gdb.python/tui-window.exp: New file.
4575 * gdb.python/tui-window.py: New file.
4576
7c043ba6
TT
45772020-02-22 Tom Tromey <tom@tromey.com>
4578
4579 PR tui/17850:
4580 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4581 tests.
4582
c22fef7e
TT
45832020-02-22 Tom Tromey <tom@tromey.com>
4584
4585 * gdb.tui/new-layout.exp: Add sub-layout tests.
4586
ee325b61
TT
45872020-02-22 Tom Tromey <tom@tromey.com>
4588
4589 * gdb.tui/new-layout.exp: New file.
4590
3f0cbb04
TT
45912020-02-22 Tom Tromey <tom@tromey.com>
4592
4593 * gdb.rust/rust-style.rs: New file.
4594 * gdb.rust/rust-style.exp: New file.
4595 * gdb.base/style.exp: Test structure printing.
4596 * gdb.base/style.c (struct some_struct): New type.
4597 (enum etype): New type.
4598 (struct_value): New global.
4599
75525152
TV
46002020-02-21 Tom de Vries <tdevries@suse.de>
4601
4602 PR go/18926
4603 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4604 Remove blanket xfails. Use message argument for gdb_breakpoint.
4605 Make continuing to breakpoint test conditional on setting breakpoint.
4606 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4607 DW_AT_name attribute. Add xfail for GCC PR93866.
4608
bd360d30
AB
46092020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4610
4611 * gdb.dwarf2/cpp-linkage-name.c: New file.
4612 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4613
c7adb09f 46142020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4615
4616 * lib/gdb.exp (gdb_wrapper_init): Reset
4617 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4618 not exist.
4619
a9c79803
TV
46202020-02-20 Tom de Vries <tdevries@suse.de>
4621
4622 PR go/17018
4623 * gdb.go/hello.exp: Copy ...
4624 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4625 print of st to print value of global definition. Add xfail for GCC
4626 PR93844.
4627 * gdb.go/hello.exp: Remove printing of st before definition.
4628 * gdb.go/hello.go: Copy ...
4629 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4630 to st.
4631 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4632
d7445728
TV
46332020-02-20 Tom de Vries <tdevries@suse.de>
4634
4635 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4636 (gdb_simple_compile): Handle compile_flags go by using .go extension
4637 for source file.
4638 * gdb.go/chan.exp: Use support_go_compile.
4639 * gdb.go/handcall.exp: Same.
4640 * gdb.go/hello.exp: Same.
4641 * gdb.go/integers.exp: Same.
4642 * gdb.go/max-depth.exp: Same.
4643 * gdb.go/methods.exp: Same.
4644 * gdb.go/package.exp: Same.
4645 * gdb.go/strings.exp: Same.
4646 * gdb.go/types.exp: Same.
4647 * gdb.go/unsafe.exp: Same.
4648
c9c41e6d
TV
46492020-02-19 Tom de Vries <tdevries@suse.de>
4650
4651 * gdb.python/lib-types.exp: Make xfail more strict.
4652
f20ff837
TV
46532020-02-19 Tom de Vries <tdevries@suse.de>
4654
4655 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4656
08410482
DE
46572020-02-19 Doug Evans <dje@google.com>
4658
4659 PR rust/25535
4660 * gdb.rust/simple.exp: Add test.
4661 * gdb.rust/simple.rs: Add test.
4662
623563f7
TV
46632020-02-19 Tom de Vries <tdevries@suse.de>
4664
4665 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4666 output line-by-line.
4667
d3308cfd
TV
46682020-02-19 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4671
86cbc5dc
TV
46722020-02-19 Tom de Vries <tdevries@suse.de>
4673
4674 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4675 prelink.
4676
9db2b96b
TV
46772020-02-19 Tom de Vries <tdevries@suse.de>
4678
4679 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4680 (gdb_do_cache): Use gdb_do_cache_wrap.
4681 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4682
89e2fdc5
TV
46832020-02-19 Tom de Vries <tdevries@suse.de>
4684
4685 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4686 gdb_compile option.
4687
373d7ac0
SM
46882020-02-18 Simon Marchi <simon.marchi@efficios.com>
4689
4690 * gdb.base/printcmds.exp (test_print_enums): Update expected
4691 output.
4692
b29a2df0
SM
46932020-02-18 Simon Marchi <simon.marchi@efficios.com>
4694
4695 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4696 for "unknown".
4697
6740f0cc
SM
46982020-02-18 Simon Marchi <simon.marchi@efficios.com>
4699
4700 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4701 enumerator.
4702
edd45eb0
SM
47032020-02-18 Simon Marchi <simon.marchi@efficios.com>
4704
4705 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4706 FE_, add FE_NONE.
4707 (three): Update.
4708 (enum flag_enum_without_zero): New enum.
4709 (flag_enum_without_zero): New variable.
4710 (enum not_flag_enum): New enum.
4711 (three_not_flag): New variable.
4712 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4713 (test_print_enums): Add more tests for printing flag enums.
4714
d4295de4
TV
47152020-02-18 Tom de Vries <tdevries@suse.de>
4716
4717 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4718 (gdb_compile_ada): ... here.
4719 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4720 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4721
f251f505
TT
47222020-02-14 Tom Tromey <tom@tromey.com>
4723
4724 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4725 build directory.
4726 * boards/gdbserver-base.exp: Update path to gdbserver.
4727
8f432634
TV
47282020-02-13 Tom de Vries <tdevries@suse.de>
4729
4730 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4731
92b6eaf7
TV
47322020-02-13 Tom de Vries <tdevries@suse.de>
4733
4734 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4735 are missing.
4736
f3b0f7fe
TV
47372020-02-13 Tom de Vries <tdevries@suse.de>
4738
4739 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4740 call.
4741
f6be8713
SDJ
47422020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4743
4744 PR tui/25126
4745 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4746 * gdb.base/cached-source-file.c: New file.
4747 * gdb.base/cached-source-file.exp: New file.
4748
b2770d5e
TV
47492020-02-11 Tom de Vries <tdevries@suse.de>
4750
4751 PR testsuite/25488
4752 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4753
44f6938e
TV
47542020-02-10 Tom de Vries <tdevries@suse.de>
4755
4756 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4757
5f0e2eb7
MR
47582020-02-10 Maciej W. Rozycki <macro@wdc.com>
4759
4760 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4761 and $after_addr are both integers before making a comparison.
4762
46ce2b6f
TV
47632020-02-09 Tom de Vries <tdevries@suse.de>
4764
4765 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4766 command output and paste it into gdb.log. If any, paste catch message
4767 to gdb.log.
4768
5abbbe1d
TT
47692020-02-07 Tom Tromey <tromey@adacore.com>
4770
4771 PR breakpoints/24915:
4772 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4773
1d5d29e7
SV
47742020-02-06 Shahab Vahedi <shahab@synopsys.com>
4775
4776 * gdb.tui/tui-missing-src.exp: Add the "missing source
4777 file" test for the TUI.
4778
b0999b9b
AB
47792020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4780
4781 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4782 including a port number in the output.
4783
c3b149eb
AKS
47842020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4785
4786 * lib/fortran.exp (fortran_int4): Handle clang.
4787 (fortran_int8): Likewise.
4788 (fortran_real4): Likewise.
4789 (fortran_real8): Likewise.
4790 (fortran_complex4): Likewise.
4791 (fortran_logical4): Likewise.
4792 (fortran_character1): Likewise.
4793
f8dcc90b
TV
47942020-02-04 Tom de Vries <tdevries@suse.de>
4795
4796 * README (Race detection): Add note.
4797
f90ac7c2
TV
47982020-02-04 Tom de Vries <tdevries@suse.de>
4799
4800 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4801
780636ae
TV
48022020-02-04 Tom de Vries <tdevries@suse.de>
4803
4804 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4805
5d2e1193
RA
48062020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4807
4808 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4809 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4810 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4811 blttar, bnetarl.
4812 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4813 binary for blttar, bnetarl.
4814 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4815 wait instruction. Delete ldmx test.
4816 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4817
e409c542
AKS
48182020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4819
4820 * gdb.fortran/array-bounds-high.exp: New file.
4821 * gdb.fortran/array-bounds-high.f90: New file.
4822
b0029748
LD
48232020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4824
4825 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4826 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4827
195a8287
TV
48282020-02-01 Tom de Vries <tdevries@suse.de>
4829
4830 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4831
42330a68
AB
48322020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4833
4834 PR tui/9765
4835 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4836 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4837
b62a8028
LM
48382020-01-29 Luis Machado <luis.machado@linaro.org>
4839
4840 * gdb.arch/aarch64-brk-patterns.c: New source file.
4841 * gdb.arch/aarch64-brk-patterns.exp: New test.
4842
5f440116
TBA
48432020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4844
4845 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4846 GCC/Clang version.
4847 * gdb.cp/pass-by-ref.exp: Ditto.
4848
ee2a6fc6
TV
48492020-01-29 Tom de Vries <tdevries@suse.de>
4850
4851 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4852 * gdb.threads/watchpoint-fork-mt.c: Same.
4853 * gdb.threads/watchpoint-fork-parent.c: Same.
4854 * gdb.threads/watchpoint-fork-st.c: Same.
4855 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4856
16b10d6e
LM
48572020-01-27 Luis Machado <luis.machado@linaro.org>
4858
4859 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4860 sitting at a syscall instruction when we hit the syscall function's
4861 breakpoint.
4862 Check PC against one obtained with the x command.
4863 Validate syscall number.
4864 (step_over_syscall): Don't continue to the syscall instruction if
4865 we're already there.
4866
b1468492
PW
48672020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4868
4869 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4870
7ffa82e1
AB
48712020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4872
4873 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4874 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4875
3d92a3e3
AB
48762020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4879 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4880
94a72be7
AB
48812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4882
4883 * gdb.base/maint.exp: Update line table parsing test.
4884 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4885
53af73bf
PA
48862020-01-24 Pedro Alves <palves@redhat.com>
4887
4888 PR gdb/25410
4889 * gdb.multi/multi-re-run-1.c: New.
4890 * gdb.multi/multi-re-run-2.c: New.
4891 * gdb.multi/multi-re-run.exp: New.
4892
1ba1ac88
AB
48932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4894
4895 PR gdb/23718
4896 * gdb.server/server-kill-python.exp: New file.
4897
f3364a6d
AB
48982020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4899
4900 * gdb.server/multi-ui-errors.c: New file.
4901 * gdb.server/multi-ui-errors.exp: New file.
4902
733d0a67
AB
49032020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4904
4905 PR tui/9765
4906 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4907
4f13c1c0
TT
49082020-01-19 Tom Tromey <tom@tromey.com>
4909
4910 * gdb.tui/main.exp: Add check for plain "file".
4911
40c94099
CB
49122020-01-16 Christian Biesinger <cbiesinger@google.com>
4913
4914 * lib/gdb.exp: Fix spelling error (seperatelly).
4915
ff47f4f0
TT
49162020-01-14 Tom Tromey <tom@tromey.com>
4917
4918 PR symtab/12535:
4919 * gdb.python/python.exp: Test decode_line with empty string
4920 argument.
4921
717c684d
BE
49222020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4923
4924 * gdb.base/skip-inline.exp: Extend test.
4925
44e4c775
AB
49262020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4927
4928 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4929 * gdb.dwarf2/dw2-bad-elf.c: New file.
4930 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4931
d93c6db7
AB
49322020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4933
4934 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4935 _line_saw_file.
4936
9a6d629c
AB
49372020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4938
4939 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4940 border.
4941
d9ebdab7
TBA
49422020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4943
4944 * gdb.multi/multi-target.exp (setup): Factor out "info
4945 connections" and "info inferiors" tests to ...
4946 (test_info_inferiors): ... this new procedure.
4947 (top level): Run new "info-inferiors" tests.
4948
f3c469b9
PA
49492020-01-10 Pedro Alves <palves@redhat.com>
4950
4951 * gdb.server/bkpt-other-inferior.exp: New file.
4952
121b3efd
PA
49532020-01-10 Pedro Alves <palves@redhat.com>
4954
4955 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4956 of "add-inferior".
4957 * gdb.base/quit-live.exp: Likewise.
4958 * gdb.base/remote-exec-file.exp: Likewise.
4959 * gdb.guile/scm-progspace.exp: Likewise.
4960 * gdb.linespec/linespec.exp: Likewise.
4961 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4962 * gdb.mi/user-selected-context-sync.exp: Likewise.
4963 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4964 "info inferiors" tests.
4965 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4966 "add-inferior".
4967 * gdb.multi/watchpoint-multi.exp: Likewise.
4968 * gdb.python/py-inferior.exp: Likewise.
4969 * gdb.server/extended-remote-restart.exp: Likewise.
4970 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4971 "info inferiors".
4972 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4973 * gdb.trace/report.exp: Likewise.
4974
1dadb1dd
PA
49752020-01-10 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.multi/multi-target.c: New file.
4978 * gdb.multi/multi-target.exp: New file.
4979 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4980 mode requested, but remote does not support non-stop".
4981
78f2c40a
PA
49822020-01-10 Pedro Alves <palves@redhat.com>
4983
4984 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4985 disconnect before reconnecting.
4986
e7af6c70
TBA
49872020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4988 Pedro Alves <palves@redhat.com>
4989
4990 * gdb.server/connect-without-multi-process.exp: Also test
4991 continuing to end.
4992
acdf84a6
PA
49932020-01-10 Pedro Alves <palves@redhat.com>
4994
4995 * gdb.base/remote-exec-file.exp: New file.
4996
873657b9
PA
49972020-01-10 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5000 output.
5001 * gdb.threads/async.c: New.
5002 * gdb.threads/async.exp: New.
5003 * gdb.multi/tids-gid-reset.c: New.
5004 * gdb.multi/tids-gid-reset.exp: New.
5005
7f0ae84c
GB
50062020-01-10 George Barrett <bob@bob131.so>
5007
5008 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5009 to help in finding the image relocation offset.
5010 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5011 options in arguments.
5012 (stap_test_no_debuginfo): Likewise.
5013 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5014 test variants.
5015 (stap_test): Add null semaphore relocation test.
5016
47e9d49d
GB
50172020-01-10 George Barrett <bob@bob131.so>
5018
5019 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5020 * gdb.base/stap-probe.exp: Likewise.
5021 (stap_test): Pass argument as an additional flag.
5022 (stap_test_no_debuginfo): Likewise.
5023 (stap_test): Check `info probes stap' output for semaphore
5024 addresses if the test binary is supposed to have them.
5025
f5a7c406
AB
50262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5027
5028 * gdb.tui/basic.exp: Add more scrolling tests.
5029
9ae6bf64
TT
50302020-01-09 Tom Tromey <tom@tromey.com>
5031
5032 PR tui/18932:
5033 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5034 meangingful value.
5035 (Term::command, Term::resize): Update.
5036 * gdb.tui/basic.exp: Add scrolling test.
5037
b2efe70c
AB
50382020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5039
5040 * gdb.tui/tui-layout-asm.exp: New file.
5041
3804da7e
AB
50422020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5043
5044 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5045
b40aa28f
AB
50462020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5047
5048 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5049 (Term::enter_tui): Use Term::prepare_for_tui.
5050
63ffd7c9
AB
50512020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5052
5053 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5054 called.
5055
3be966f6
AB
50562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5057
5058 * gdb.base/skip.exp: Fix race condition in test.
5059
153d79c4
AB
50602020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5061
5062 * gdb.base/backtrace.c: New file.
5063 * gdb.base/backtrace.exp: New file.
5064
f2302a34
AB
50652020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5066
5067 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5068
6ec1d75e
PW
50692020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5070
5071 * gdb.base/style.exp: Test that warnings are styled.
5072
c296cbe6
BE
50732019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5074
5075 * gdb.base/line65535.exp: New file.
5076 * gdb.base/line65535.c: New file.
5077
b28a729d
SM
50782019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5079
5080 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5081 * lib/gnat_debug_info_test.adb: New file.
5082 * gdb.ada/ptype_tagged_param.exp: Use
5083 gnat_runtime_has_debug_info, expect a different output if
5084 runtime does not have debug info.
5085
7f2d7a0d
SM
50862019-12-20 Simon Marchi <simon.marchi@efficios.com>
5087
5088 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5089 (another) quote in test name.
5090
f3bce483
SM
50912019-12-20 Simon Marchi <simon.marchi@efficios.com>
5092
5093 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5094 Add quote in test name.
5095
c855a912
TBA
50962019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5097
5098 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5099 directory instead.
5100 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5101 * gdb.cp/pass-by-ref-2.cc: New file.
5102 * gdb.cp/pass-by-ref-2.exp: New file.
5103
fc9d2d72
TT
51042019-12-20 Tom Tromey <tom@tromey.com>
5105
5106 * gdb.tui/list-before.exp: New file.
5107
77b97e00
TT
51082019-12-20 Tom Tromey <tom@tromey.com>
5109
5110 * gdb.tui/list.exp: Check for source on initial listing.
5111
f69656d0
TT
51122019-12-11 Tom Tromey <tromey@adacore.com>
5113
5114 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5115 Add crlf test.
5116
99a55965
SM
51172019-12-18 Simon Marchi <simon.marchi@efficios.com>
5118
5119 * gdb.base/default.exp: Update value of $_gdb_major.
5120
5024637f
BE
51212019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5122
5123 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5124
b63634be
BE
51252019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5126
5127 * gdb.base/skip.exp: Whitespace fix.
5128
45d73523
BE
51292019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5130
5131 * gdb.base/skip-inline.c: New file.
5132 * gdb.base/skip-inline.exp: New file.
5133
d043f8c8
SM
51342019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5135
5136 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5137 jit_function_00 to jit_function_stack_mangle.
5138 * gdb.base/jithost.c (jit_function_t): Rename to...
5139 (jit_function_stack_mangle_t): ... this.
5140 (jit_function_add_t): New typedef.
5141 (jit_function_00_code): Rename to...
5142 (jit_function_stack_mangle_code): ... this, make static.
5143 (jit_function_add_code): New.
5144 (main): Generate "add" function and call it. Adjust to changes
5145 in jithost_abi.
5146 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5147 (struct jithost_abi) <begin, end>: Remove fields.
5148 <object, function_stack_mangle, function_add>: New fields.
5149 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5150 code_end>: Remove fields.
5151 <func_stack_mangle>: New field.
5152 (read_debug_info): Adjust to renaming, create block for "add"
5153 function.
5154 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5155
873de05c
TT
51562019-12-11 Tom Tromey <tom@tromey.com>
5157
5158 * gdb.tui/resize.exp: Fix regexp.
5159 * gdb.tui/regs.exp: Fix regexps.
5160 * gdb.tui/main.exp: Fix regexp.
5161
3d979945
TT
51622019-12-11 Tom Tromey <tom@tromey.com>
5163
5164 * gdb.tui/resize.exp: Update.
5165 * gdb.tui/empty.exp (layouts): Update.
5166
2192a9d3
TT
51672019-12-11 Tom Tromey <tom@tromey.com>
5168
5169 * gdb.tui/regs.exp: Update.
5170 * gdb.tui/empty.exp (layouts): Update.
5171 * gdb.tui/basic.exp: Update.
5172 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5173
d8edc8b7
PW
51742019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5175
5176 * gdb.base/options.exp: Add -raw-values in the print completion list.
5177 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5178
4c12d936
KB
51792019-12-10 Kevin Buettner <kevinb@redhat.com>
5180
5181 * gdb.threads/omp-par-scope.c: New file.
5182 * gdb/threads/omp-par-scope.exp: New file.
5183
26b911fb
KB
51842019-12-10 Kevin Buettner <kevinb@redhat.com>
5185
bb47f919
KB
5186 * lib/gdb.exp (support_nested_function_tests): New proc.
5187
51882019-12-10 Kevin Buettner <kevinb@redhat.com>
5189
5190 * lib/gdb.exp (gdb_compile_openmp): New proc.
5191 (build_executable_from_specs): Add an "openmp" option.
5192 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5193
6c71eb7d
TT
51942019-12-10 Tom Tromey <tromey@adacore.com>
5195
5196 * gdb.ada/unchecked_union.exp: New file.
5197 * gdb.ada/unchecked_union/pck.adb: New file.
5198 * gdb.ada/unchecked_union/pck.ads: New file.
5199 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5200 * gdb-utils.exp (string_to_regexp): Also quote "?".
5201
bac7c5cf
GB
52022019-12-10 George Barrett <bob@bob131.so>
5203
5204 Test scripted probe breakpoints.
5205 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5206 * gdb.python/py-breakpoint.c (main): Likewise.
5207 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5208 specifier test.
5209 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5210
330f1d38
TBA
52112019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5212
5213 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5214 an rvalue parameter.
5215 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5216 parameter.
5217
b43315e2
AB
52182019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5219
5220 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5221 modules.
5222
54f73dad
AB
52232019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5224
5225 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5226 broken version of GCC.
5227
d57cbee9
AB
52282019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5229
5230 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5231 sym-info-cmds library.
5232 * gdb.fortran/info-types.exp: Likewise.
5233 * lib/sym-info-cmds.exp: New file.
5234
c14aab8c
TV
52352019-12-08 Tom de Vries <tdevries@suse.de>
5236
5237 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5238
aa2d5a42
KS
52392019-12-07 Keith Seitz <keiths@redhat.com>
5240
5241 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5242 * gdb.base/corefile-buildid-shlib.c: New file.
5243 * gdb.base/corefile-buildid.c: New file.
5244 * gdb.base/corefile-buildid.exp: New file.
5245
93e55f0a
TV
52462019-12-06 Tom de Vries <tdevries@suse.de>
5247
5248 * gdb.dwarf2/varval.exp: Add decl before def test.
5249
c7d12402
TBA
52502019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5251
5252 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5253
06acc08f
TBA
52542019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5255
5256 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5257 CV and reference conversion for overload resolution.
5258 * gdb.cp/rvalue-ref-overload.exp: Test it.
5259
e0fad1ea
PW
52602019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5261
5262 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5263 * gdb.base/frameapply.exp: Test faas without command.
5264
8d70a9f0
AB
52652019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5266
5267 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5268 Fortran tests.
5269 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5270 order.
5271
36c8fb93
AB
52722019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5273
5274 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5275 casting to type with no kind specified.
5276 (test_basic_parsing_of_type_kinds): Additional tests for types
5277 with no kind specified, and add tests for single/double
5278 precision/complex types.
5279
4139ff00
TT
52802019-12-04 Tom Tromey <tromey@adacore.com>
5281
5282 * gdb.base/endianity.c (struct other) <x>: New field.
5283 (main): Initialize it.
5284 * gdb.base/endianity.exp: Update.
5285
a05cf17a
TT
52862019-12-04 Tom Tromey <tromey@adacore.com>
5287
5288 * gdb.ada/scalar_storage/storage.adb: New file.
5289 * gdb.ada/scalar_storage/pck.adb: New file.
5290 * gdb.ada/scalar_storage/pck.ads: New file.
5291 * gdb.ada/scalar_storage.exp: New file.
5292
103a685e
TT
52932019-12-04 Tom Tromey <tromey@adacore.com>
5294
5295 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5296 (main): Initialize it.
5297 * gdb.base/endianity.exp: Update.
5298
c2512106
AB
52992019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5300
5301 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5302
293b38d6
AB
53032019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5304
5305 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5306 -symbol-info-module-functions and -symbol-info-module-variables.
5307
216a7e6b
AB
53082019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5309
5310 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5311
5bbd8269
AB
53122019-12-01 Richard Bunt <richard.bunt@arm.com>
5313 Andrew Burgess <andrew.burgess@embecosm.com>
5314
5315 * gdb.fortran/derived-type-striding.exp: New file.
5316 * gdb.fortran/derived-type-striding.f90: New file.
5317 * gdb.fortran/array-slices.exp: New file.
5318 * gdb.fortran/array-slices.f90: New file.
5319
be09caf1
PW
53202019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5321
5322 * gdb.base/define.exp: Test . in command names.
5323 * gdb.base/setshow.exp: Update test, as . is now part of
5324 command name.
5325
643c0cbe
PW
53262019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5327
5328 * gdb.base/define-prefix.exp: New file.
5329
dcdec678
AB
53302019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5333 compile.
5334 (skip_btrace_pt_tests): Likewise.
5335
640ab947
AB
53362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5337
5338 * gdb.fortran/info-modules.exp: Compile source files in correct
5339 order.
5340
d22670f0
KB
53412019-11-27 Kevin Buettner <kevinb@redhat.com>
5342
5343 * gdb.dwarf2/imported-unit.exp: New file.
5344 * gdb.dwarf2/imported-unit.c: New file.
5345
db5960b4
AB
53462019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5347
5348 * gdb.mi/mi-fortran-modules-2.f90: New file.
5349 * gdb.mi/mi-fortran-modules.exp: New file.
5350 * gdb.mi/mi-fortran-modules.f90: New file.
5351
7dc42066
AB
53522019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5353
5354 * gdb.mi/mi-sym-info-1.c: New file.
5355 * gdb.mi/mi-sym-info-2.c: New file.
5356 * gdb.mi/mi-sym-info.exp: New file.
5357
0dfeecca
TT
53582019-11-22 Tom Tromey <tromey@adacore.com>
5359
5360 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5361 * gdb.ada/tasks/foo.adb: Add another stopping location.
5362
34877895
PJ
53632019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5364
5365 * gdb.base/endianity.c: New test.
5366 * gdb.base/endianity.exp: New file.
5367
2e84f897
LD
53682019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5369
5370 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5371
65d1cd5f
TV
53722019-11-21 Tom de Vries <tdevries@suse.de>
5373
5374 PR gdb/24956
5375 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5376
4f22c3f4
SDJ
53772019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5378
5379 * gdb.python/py-progspace.exp: Add missing parentheses on some
5380 'print' commands.
5381
9f6ad286
TT
53822019-11-19 Tom Tromey <tom@tromey.com>
5383
5384 * gdb.tui/winheight.exp: New file.
5385
0b8dbf3f
AB
53862019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5387
5388 * gdb.base/ctf-whatis.c: Delete.
5389 * gdb.base/ctf-whatis.exp: Delete.
5390 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5391
f833b7a7
AB
53922019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5393
5394 * gdb.base/ctf-cvexpr.exp: Delete.
5395 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5396
30d0a636
AB
53972019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5398
5399 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5400 the compiler. Clean up header comment a little.
5401 * gdb.base/ctf-ptype.exp: Likewise.
5402 * gdb.base/ctf-whatis.exp: Likewise.
5403 * lib/gdb.exp (skip_ctf_tests): New proc.
5404
494409bb
SDJ
54052019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5406
5407 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5408 * gdb.tui/corefile-run.exp: New file.
5409
55708e99
TT
54102019-11-14 Tom Tromey <tromey@adacore.com>
5411
5412 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5413 regression tests.
5414
45e42163
TT
54152019-11-12 Tom Tromey <tom@tromey.com>
5416
5417 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5418 after any command. Expect prompt after WAIT_FOR is seen.
5419 (enter_tui): Enable resize messages.
5420 (command): Expect command in output.
5421 (get_line): Avoid error when cursor appears to be off-screen.
5422 (dump_screen): Include screen size in title.
5423 (_do_resize): New proc, from "resize".
5424 (resize): Rewrite. Do resize in two steps.
5425 * gdb.tui/empty.exp (layouts): Fix entries.
5426 (check_boxes): Remove xfail.
5427 (check_text): Dump screen on failure.
5428
086baaf1
AB
54292019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5430
5431 * gdb.python/py-symbol.exp: Add test for
5432 gdb.lookup_static_symbols.
5433
09ff83af
AB
54342019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5435
5436 * gdb.python/py-symbol.c: Declare and call function from new
5437 py-symbol-2.c file.
5438 * gdb.python/py-symbol.exp: Compile both source files, and add new
5439 tests for gdb.lookup_static_symbol.
5440 * gdb.python/py-symbol-2.c: New file.
5441
11af934b
TV
54422019-11-02 Tom de Vries <tdevries@suse.de>
5443
5444 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5445 * gdb.base/anon.exp: Same.
5446 * gdb.base/auto-connect-native-target.exp: Same.
5447 * gdb.base/call-ar-st.exp: Same.
5448 * gdb.base/catch-syscall.exp: Same.
5449 * gdb.base/commands.exp: Same.
5450 * gdb.base/default.exp: Same.
5451 * gdb.base/display.exp: Same.
5452 * gdb.base/float.exp: Same.
5453 * gdb.base/foll-fork.exp: Same.
5454 * gdb.base/help.exp: Same.
5455 * gdb.base/info-macros.exp: Same.
5456 * gdb.base/info-proc.exp: Same.
5457 * gdb.base/info-target.exp: Same.
5458 * gdb.base/long_long.exp: Same.
5459 * gdb.base/macscp.exp: Same.
5460 * gdb.base/memattr.exp: Same.
5461 * gdb.base/nofield.exp: Same.
5462 * gdb.base/pointers.exp: Same.
5463 * gdb.base/printcmds.exp: Same.
5464 * gdb.base/ptype.exp: Same.
5465 * gdb.base/restore.exp: Same.
5466 * gdb.base/return.exp: Same.
5467 * gdb.base/scope.exp: Same.
5468 * gdb.base/set-noassign.exp: Same.
5469 * gdb.base/setshow.exp: Same.
5470 * gdb.base/shlib-call.exp: Same.
5471 * gdb.base/signals.exp: Same.
5472 * gdb.base/sigstep.exp: Same.
5473 * gdb.base/skip.exp: Same.
5474 * gdb.base/solib-symbol.exp: Same.
5475 * gdb.base/stap-probe.exp: Same.
5476 * gdb.base/step-line.exp: Same.
5477 * gdb.base/step-test.exp: Same.
5478 * gdb.base/style.exp: Same.
5479 * gdb.base/varargs.exp: Same.
5480 * gdb.base/vla-datatypes.exp: Same.
5481 * gdb.base/vla-ptr.exp: Same.
5482 * gdb.base/vla-sideeffect.exp: Same.
5483 * gdb.base/volatile.exp: Same.
5484 * gdb.base/watch-cond-infcall.exp: Same.
5485 * gdb.base/watchpoint.exp: Same.
5486
e96ec2ba
TV
54872019-11-02 Tom de Vries <tdevries@suse.de>
5488
5489 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5490 * gdb.cp/cpexprs.exp: Same.
5491 * gdb.cp/except-multi-location.exp: Same.
5492 * gdb.cp/exceptprint.exp: Same.
5493 * gdb.cp/gdb2384.exp: Same.
5494 * gdb.cp/inherit.exp: Same.
5495 * gdb.cp/m-static.exp: Same.
5496 * gdb.cp/meth-typedefs.exp: Same.
5497 * gdb.cp/misc.exp: Same.
5498 * gdb.cp/namespace.exp: Same.
5499 * gdb.cp/non-trivial-retval.exp: Same.
5500 * gdb.cp/overload.exp: Same.
5501 * gdb.cp/pr17132.exp: Same.
5502 * gdb.cp/re-set-overloaded.exp: Same.
5503 * gdb.cp/rvalue-ref-types.exp: Same.
5504 * gdb.cp/templates.exp: Same.
5505
bd5766ec
LM
55062019-11-01 Luis Machado <luis.machado@linaro.org>
5507
5508 PR gdb/25124
5509
5510 * gdb.arch/pr25124.S: New file.
5511 * gdb.arch/pr25124.exp: New file.
5512
165f8965
AB
55132019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5514
5515 * gdb.fortran/info-modules.exp: Update expected results, and add
5516 additional tests for 'info module functinos', and 'info module
5517 variables'.
5518 * gdb.fortran/info-types.exp: Update expected results.
5519 * gdb.fortran/info-types.f90: Extend testcase with additional
5520 module variables and functions.
5521
59c35742
AB
55222019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5523
5524 * gdb.fortran/info-modules.exp: New file.
5525 * gdb.fortran/info-types.exp: Build with new file.
5526 * gdb.fortran/info-types.f90: Include and use new module.
5527 * gdb.fortran/info-types-2.f90: New file.
5528
f3fb2519
PW
55292019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5530
5531 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5532 * gdb.base/settings.exp: Test all settings types using
5533 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5534 that now verifies that the value of "maint show" is the same as
5535 returned by the settings functions. Test the type of the
5536 maintenance settings.
5537 * gdb.base/default.exp: Update show_conv_list.
5538
d1e36019
TV
55392019-10-31 Tom de Vries <tdevries@suse.de>
5540
5541 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5542 gdb_test.
5543 * gdb.arch/amd64-disp-step.exp: Same.
5544 * gdb.asm/asm-source.exp: Same.
5545 * gdb.btrace/buffer-size.exp: Same.
5546 * gdb.btrace/cpu.exp: Same.
5547 * gdb.btrace/enable.exp: Same.
5548 * gdb.dwarf2/count.exp: Same.
5549 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5550 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5551 * gdb.fortran/vla-datatypes.exp: Same.
5552 * gdb.fortran/vla-history.exp: Same.
5553 * gdb.fortran/vla-ptype.exp: Same.
5554 * gdb.fortran/vla-value.exp: Same.
5555 * gdb.fortran/whatis_type.exp: Same.
5556 * gdb.guile/guile.exp: Same.
5557 * gdb.multi/tids.exp: Same.
5558 * gdb.python/py-finish-breakpoint.exp: Same.
5559 * gdb.python/py-framefilter.exp: Same.
5560 * gdb.python/py-pp-registration.exp: Same.
5561 * gdb.python/py-xmethods.exp: Same.
5562 * gdb.python/python.exp: Same.
5563 * gdb.server/connect-with-no-symbol-file.exp: Same.
5564 * gdb.server/no-thread-db.exp: Same.
5565 * gdb.server/run-without-local-binary.exp: Same.
5566 * gdb.stabs/weird.exp: Same.
5567 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5568 * gdb.threads/thread-find.exp: Same.
5569 * gdb.threads/tls-shared.exp: Same.
5570 * gdb.threads/tls.exp: Same.
5571 * gdb.threads/wp-replication.exp: Same.
5572 * gdb.trace/ax.exp: Same.
5573 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5574
3d11e68e
TV
55752019-10-31 Tom de Vries <tdevries@suse.de>
5576
5577 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5578 * gdb.ada/array_subscript_addr.exp: Same.
5579 * gdb.ada/arrayidx.exp: Same.
5580 * gdb.ada/arrayparam.exp: Same.
5581 * gdb.ada/arrayptr.exp: Same.
5582 * gdb.ada/boolean_expr.exp: Same.
5583 * gdb.ada/call_pn.exp: Same.
5584 * gdb.ada/complete.exp: Same.
5585 * gdb.ada/fixed_cmp.exp: Same.
5586 * gdb.ada/fun_addr.exp: Same.
5587 * gdb.ada/funcall_param.exp: Same.
5588 * gdb.ada/interface.exp: Same.
5589 * gdb.ada/mod_from_name.exp: Same.
5590 * gdb.ada/null_array.exp: Same.
5591 * gdb.ada/packed_array.exp: Same.
5592 * gdb.ada/packed_tagged.exp: Same.
5593 * gdb.ada/print_chars.exp: Same.
5594 * gdb.ada/print_pc.exp: Same.
5595 * gdb.ada/ptype_arith_binop.exp: Same.
5596 * gdb.ada/ptype_field.exp: Same.
5597 * gdb.ada/ptype_tagged_param.exp: Same.
5598 * gdb.ada/rec_return.exp: Same.
5599 * gdb.ada/ref_tick_size.exp: Same.
5600 * gdb.ada/str_ref_cmp.exp: Same.
5601 * gdb.ada/taft_type.exp: Same.
5602 * gdb.ada/tagged.exp: Same.
5603 * gdb.ada/type_coercion.exp: Same.
5604 * gdb.ada/uninitialized_vars.exp: Same.
5605
60b6ede8
TV
56062019-10-30 Tom de Vries <tdevries@suse.de>
5607
5608 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5609
30baf67b
TV
56102019-10-26 Tom de Vries <tdevries@suse.de>
5611
5612 * gdb.base/bigcore.c: Fix typos in comments.
5613 * gdb.base/ctf-ptype.c: Same.
5614 * gdb.base/long_long.c: Same.
5615 * gdb.dwarf2/dw2-op-out-param.S: Same.
5616 * gdb.python/py-evthreads.c: Same.
5617 * gdb.reverse/i387-stack-reverse.c: Same.
5618 * gdb.trace/tfile.c: Same.
5619 * lib/compiler.c: Same.
5620 * lib/compiler.cc: Same.
5621
158da0d1
TV
56222019-10-25 Tom de Vries <tdevries@suse.de>
5623
5624 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5625 gdb_test_multiple calls.
5626 * gdb.reverse/sigall-reverse.exp: Same.
5627 * gdb.reverse/solib-precsave.exp: Same.
5628 * gdb.reverse/solib-reverse.exp: Same.
5629 * gdb.reverse/until-precsave.exp: Same.
5630 * gdb.reverse/until-reverse.exp: Same.
5631
4ccdfbec
TV
56322019-10-24 Tom de Vries <tdevries@suse.de>
5633
5634 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5635 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5636 kfail using -wrap pattern flag and convenience variable
5637 gdb_test_name.
5638
33d569b7
AB
56392019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5640
5641 * gdb.python/py-progspace.exp: Add tests for the
5642 Progspace.block_for_pc method.
5643
4d0b984b
TT
56442019-10-23 Tom Tromey <tom@tromey.com>
5645
5646 * configure: Rebuild.
5647 * aclocal.m4: Use m4_include, not sinclude.
5648
94cb3754
TV
56492019-10-21 Tom de Vries <tdevries@suse.de>
5650
5651 * gdb.base/infcall-nested-structs.c: Add
5652 __attribute__((noinline,noclone)) to all functions.
5653 (call_all): Add missing variable initialization. Simplify return value.
5654 (breakpt): Increment volatile variable, to prevent call from being
5655 optimized out.
5656 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5657
062f1fc1
TV
56582019-10-17 Tom de Vries <tdevries@suse.de>
5659
5660 * gdb.fortran/module.exp: Allow info variables to print info for files
5661 other than module.f90.
5662
0b54364d
AB
56632019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5664
5665 * gdb.fortran/module.exp: Extend with 'info variables' test.
5666
7ff5fae7
AB
56672019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5668
5669 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5670 F77_FOR_TARGET.
5671
d10eccaa
TV
56722019-10-16 Tom de Vries <tdevries@suse.de>
5673
5674 PR tdep/25096
5675 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5676
745ff14e
TV
56772019-10-16 Tom de Vries <tdevries@suse.de>
5678
5679 PR tdep/24104
5680 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5681 Add KFAIL for PR tdep/25096.
5682
03e1ab94
TV
56832019-10-16 Tom de Vries <tdevries@suse.de>
5684
5685 PR testsuite/25059
5686 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5687
b17fcc10
TV
56882019-10-16 Tom de Vries <tdevries@suse.de>
5689
5690 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5691 as signed.
5692
9223170f
SM
56932019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5694
5695 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5696 one instead of increasing timeout.
5697
d6e76313
TV
56982019-10-13 Tom de Vries <tdevries@suse.de>
5699
5700 PR record/25038
5701 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5702 * gdb.reverse/sigall-reverse.exp: Same.
5703 * gdb.reverse/solib-precsave.exp: Same.
5704 * gdb.reverse/solib-reverse.exp: Same.
5705 * gdb.reverse/step-precsave.exp: Same.
5706 * gdb.reverse/until-precsave.exp: Same.
5707 * gdb.reverse/until-reverse.exp: Same.
5708 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5709
6dfc0041
AA
57102019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5711
5712 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5713 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5714 (cmp_struct_05_01, cmp_struct_static_02_01)
5715 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5716 comparisons.
5717
abcf2cc8
TV
57182019-10-10 Tom de Vries <tdevries@suse.de>
5719
5720 PR testsuite/24888
5721 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5722 gnatlink.
5723
a50faaf6
TV
57242019-10-09 Tom de Vries <tdevries@suse.de>
5725
5726 PR testsuite/25048
5727 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5728
60ff3cd7
AB
57292019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5730
5731 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5732 exceptions due to missing debug information.
5733
dfee8566
TV
57342019-10-07 Tom de Vries <tdevries@suse.de>
5735
5736 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5737
3d63690a
AB
57382019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5739
5740 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5741 * gdb.base/annota1.exp: Update to use gdb_test_name.
5742
30d1f018
WP
57432019-10-07 Weimin Pan <weimin.pan@oracle.com>
5744
5745 * gdb.base/ctf-whatis.exp: New file.
5746 * gdb.base/ctf-whatis.c: New file.
5747 * gdb.base/ctf-ptype.exp: New file.
5748 * gdb.base/ctf-ptype.c: New file.
5749 * gdb.base/ctf-constvars.exp: New file.
5750 * gdb.base/ctf-constvars.c: New file.
5751 * gdb.base/ctf-cvexpr.exp: New file.
5752
4dbbb47c
TV
57532019-10-04 Tom de Vries <tdevries@suse.de>
5754
5755 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5756 for loop.
5757
77c2dba3
TT
57582019-10-03 Tom Tromey <tom@tromey.com>
5759
5760 PR rust/24976:
5761 * gdb.rust/simple.rs (Union2): New type.
5762 (main): Use Union2.
5763 * gdb.rust/simple.exp: Add test.
5764
179aed7f
AB
57652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5766
5767 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5768 nested function prefix.
5769
0a4b0913
AB
57702019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5771 Richard Bunt <richard.bunt@arm.com>
5772 Andrew Burgess <andrew.burgess@embecosm.com>
5773
5774 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5775 nested functions.
5776 * gdb.fortran/nested-funcs.f90: Update expected results.
5777 * gdb.fortran/nested-funcs-2.exp: New file.
5778 * gdb.fortran/nested-funcs-2.f90: New file.
5779
082cce05
AB
57802019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5781
5782 * gdb.python/py-parameter.exp: Make test names unique.
5783 * gdb.python/py-template.exp: Likewise.
5784 * gdb.python/py-value.exp: Likewise.
5785
2b74ba5a
AB
57862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5787
5788 * gdb.base/break-interp.exp: Reduce test name duplication.
5789 * gdb.base/call-sc.exp: Likewise.
5790 * gdb.base/callfuncs.exp: Likewise.
5791 * gdb.base/charset.exp: Likewise.
5792 * gdb.base/dump.exp: Likewise.
5793 * gdb.base/ena-dis-br.exp: Likewise.
5794 * gdb.base/relational.exp: Likewise.
5795 * gdb.base/step-over-syscall.exp: Likewise.
5796 * gdb.base/structs.exp: Likewise.
5797
58eb20d5
AB
57982019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5799
5800 * gdb.linespec/explicit.exp: Make test names unique.
5801 * gdb.linespec/ls-errs.exp: Likewise.
5802
4d421147
AB
58032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5804
5805 * gdb.reverse/break-precsave.exp: Make test names unique.
5806 * gdb.reverse/break-reverse.exp: Likewise.
5807 * gdb.reverse/finish-precsave.exp: Likewise.
5808 * gdb.reverse/finish-reverse.exp: Likewise.
5809 * gdb.reverse/machinestate-precsave.exp: Likewise.
5810 * gdb.reverse/machinestate.exp: Likewise.
5811 * gdb.reverse/readv-reverse.exp: Likewise.
5812 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5813 * gdb.reverse/sigall-precsave.exp: Likewise.
5814 * gdb.reverse/sigall-reverse.exp: Likewise.
5815 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5816 * gdb.reverse/watch-precsave.exp: Likewise.
5817 * gdb.reverse/watch-reverse.exp: Likewise.
5818
d8c06f22
AB
58192019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5820
5821 * gdb.threads/stop-with-handle.c: New file.
5822 * gdb.threads/stop-with-handle.exp: New file.
5823
3a56ed86
TV
58242019-10-03 Tom de Vries <tdevries@suse.de>
5825
5826 PR testsuite/25059
5827 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5828 directory" line to be missing.
5829
42275044
TV
58302019-10-03 Tom de Vries <tdevries@suse.de>
5831
5832 PR testsuite/25059
5833 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5834 type optional.
5835
9ef62df0
AA
58362019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5837
5838 * gdb.python/py-format-string.c (string.h): New include.
5839 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5840 the same value, for endianness-independence.
5841 * gdb.python/py-format-string.exp (default_regexp_dict)
5842 (test_pretty_structs, test_format): Adjust expected output to the
5843 changed initialization.
5844
37f6a7f4
TT
58452019-10-02 Tom Tromey <tromey@adacore.com>
5846
5847 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5848
1d58d6a2
PA
58492019-10-02 Pedro Alves <palves@redhat.com>
5850 Andrew Burgess <andrew.burgess@embecosm.com>
5851
5852 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5853 "print-file-var.h".
5854 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5855 (get_version_1): Print this_version_id and its address.
5856 Add extern "C" wrappers around interface functions.
5857 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5858 "print-file-var.h".
5859 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5860 (get_version_2): Print this_version_id and its address.
5861 Add extern "C" wrappers around interface functions.
5862 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5863 <stddef.h> and "print-file-var.h".
5864 Add extern "C" wrappers around interface functions.
5865 [VERSION_ID_MAIN] (this_version_id): Define.
5866 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5867 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5868 up extern "C" blocks.
5869 * gdb.base/print-file-var.exp (test): New, factored out from top
5870 level.
5871 (top level): Test all combinations of attribute hidden or not,
5872 dlopen or not, and this_version_id symbol in main file or not.
5873 Compile tests as both C++ and C, make test names unique.
5874
d770d56f
TT
58752019-10-01 Tom Tromey <tom@tromey.com>
5876
5877 * gdb.base/style.exp: Test "show logging filename".
5878
7f6aba03
TT
58792019-10-01 Tom Tromey <tom@tromey.com>
5880
5881 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5882 * gdb.base/style.exp: Add metadata style test.
5883
14309bb6
TT
58842019-10-01 Tom Tromey <tom@tromey.com>
5885
5886 * gdb.base/style.exp: Test "pwd".
5887
2a3c1174
PA
58882019-10-01 Tom Tromey <tom@tromey.com>
5889
5890 * gdb.base/style.exp: Update tests.
5891
53d666ec
AA
58922019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5893
5894 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5895 'six' to unsigned.
5896 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5897 'five'. Use an all-ones bit pattern for each.
5898 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5899 to its changed values.
5900
4a56a520
TT
59012019-09-30 Tom Tromey <tromey@adacore.com>
5902
5903 * gdb.rust/traits.rs: Disable all warnings.
5904
0df0352a
TV
59052019-09-29 Tom de Vries <tdevries@suse.de>
5906
aac66a4c 5907 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5908
73d9a918
TV
59092019-09-29 Tom de Vries <tdevries@suse.de>
5910
5911 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5912
060b3ab4
TV
59132019-09-27 Tom de Vries <tdevries@suse.de>
5914
5915 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5916
68f7d34d
TV
59172019-09-27 Tom de Vries <tdevries@suse.de>
5918
5919 PR record/23188
5920 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5921
5d63b30a
TT
59222019-09-26 Tom Tromey <tromey@adacore.com>
5923
5924 * gdb.ada/py_taft.exp: New file.
5925 * gdb.ada/py_taft/main.adb: New file.
5926 * gdb.ada/py_taft/pkg.adb: New file.
5927 * gdb.ada/py_taft/pkg.ads: New file.
5928
3d435220
TV
59292019-09-24 Tom de Vries <tdevries@suse.de>
5930
5931 PR gdb/24598
5932 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5933
77d03678
TV
59342019-09-22 Tom de Vries <tdevries@suse.de>
5935
5936 * gdb.base/restore.exp: Allow register variables to be optimized out at
5937 -O0.
5938
abf516c6
UW
59392019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5940
5941 * gdb.arch/spu-info.exp: Remove file.
5942 * gdb.arch/spu-info.c: Remove file.
5943 * gdb.arch/spu-ls.exp: Remove file.
5944 * gdb.arch/spu-ls.c: Remove file.
5945
5946 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5947 * gdb.asm/spu.inc: Remove file.
5948
5949 * gdb.base/dump.exp: Remove support for spu*-*-*.
5950 * gdb.base/stack-checking.exp: Likewise.
5951 * gdb.base/overlays.exp: Likewise.
5952 * gdb.base/ovlymgr.c: Likewise.
5953 * gdb.base/spu.ld: Remove file.
5954
5955 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5956 * gdb.cp/cpexprs.exp: Likewise.
5957 * gdb.cp/exception.exp: Likewise.
5958 * gdb.cp/gdb2495.exp: Likewise.
5959 * gdb.cp/mb-templates.exp: Likewise.
5960 * gdb.cp/pr9167.exp: Likewise.
5961 * gdb.cp/userdef.exp: Likewise.
5962
5963 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5964
5965 * gdb.cell: Remove directory.
5966 * lib/cell.exp: Remove file.
5967
e452e88f
TV
59682019-09-19 Tom de Vries <tdevries@suse.de>
5969
5970 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5971
8a625130
TV
59722019-09-19 Tom de Vries <tdevries@suse.de>
5973
5974 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5975
81dc3ab5
TV
59762019-09-19 Tom de Vries <tdevries@suse.de>
5977
5978 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5979 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5980 (gdb_target_cmd): ... here.
5981 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5982 value 2.
5983
b078f3ac
AB
59842019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5985
5986 * gdb.base/source-dir.exp: Avoid having directory names in test
5987 names.
5988
f1b620e9
MG
59892019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5990
5991 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5992 directory.
5993
67f3ed6a
AB
59942019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5995
5996 * gdb.base/list-missing-source.exp: New file.
5997
d1b70248
TV
59982019-09-14 Tom de Vries <tdevries@suse.de>
5999
6000 PR teststuite/24599
6001 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6002 * lib/ada.exp (gnatmake_version_at_least): New proc.
6003
5fabdcd6
AB
60042019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6005
6006 * gdb.base/maint.exp: Use exec_has_index_section.
6007
aa17805f
AB
60082019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.base/maint.exp: Add test for 'maint info sections'.
6011
25e5c209
TV
60122019-09-12 Tom de Vries <tdevries@suse.de>
6013
6014 * gdb.base/store.exp: Allow register variables to be optimized out at
6015 -O0.
6016
4993045d
PW
60172019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6018
6019 * gdb.ada/rdv_wait.exp: Update to new task names.
6020 * gdb.base/task_switch_in_core.exp: Likewise.
6021 * gdb.base/info_sources_base.c: Likewise.
6022
8a516164
TT
60232019-09-10 Tom Tromey <tromey@adacore.com>
6024
6025 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6026
aa391654
TT
60272019-09-10 Tom Tromey <tromey@adacore.com>
6028
6029 * gdb.ada/dgopt.exp: New file.
6030 * gdb.ada/dgopt/x.adb: New file.
6031
8634b462
TT
60322019-09-08 Tom Tromey <tom@tromey.com>
6033
6034 * gdb.tui/resize.exp: Remove setup_xfail.
6035 * gdb.tui/regs.exp: Remove setup_xfail.
6036 * gdb.tui/basic.exp: Remove setup_xfail.
6037
736b0f76
DB
60382019-09-06 David Blaikie <dblaikie@gmail.com>
6039
6040 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6041 * gdb.cp/cplabel.exp: Ditto.
6042 * gdb.linespec/ls-errs.exp: Ditto.
6043
30331a6c
TV
60442019-09-05 Tom de Vries <tdevries@suse.de>
6045
6046 * lib/gdb.exp (cmp_file_string): New proc.
6047 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6048 runto_main. Verify save breakpoints output.
6049
98b0ebab
PW
60502019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6051
6052 * gdb.base/info-var.exp: Test info variables without running
6053 to main, to avoid expect's buffer overflow.
6054
4e962e74
TT
60552019-09-03 Tom Tromey <tromey@adacore.com>
6056
6057 * gdb.ada/bias.exp: New file.
6058 * gdb.ada/bias/bias.adb: New file.
6059 * gdb.ada/print_chars.exp: Add regression test.
6060 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6061 (MC): New variable.
6062
2ea1a07a
SL
60632019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6064
6065 * gdb.base/argv0-symlink.exp: Run only on native target
6066 and local host.
6067
8077c50d
TV
60682019-08-29 Tom de Vries <tdevries@suse.de>
6069
6070 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6071 diverse debug info.
6072 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6073
48352473
TV
60742019-08-28 Tom de Vries <tdevries@suse.de>
6075
6076 * gdb.base/info-var.exp: Allow info variables to print info for files
6077 other than info-var-f1.c and info-var-f2.c.
6078
d8f27c60
AB
60792019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6080
6081 * gdb.fortran/info-types.exp: Add module.
6082 * gdb.fortran/info-types.f90: Update expected results.
6083
1f20c35e
AB
60842019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6085
6086 * gdb.fortran/info-types.exp: New file.
6087 * gdb.fortran/info-types.f90: New file.
6088 * lib/fortran.exp (fortran_character1): New proc.
6089
4acfdd20
AB
60902019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6091
6092 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6093 functions'. Reindent as needed.
6094 * gdb.base/info-var-f1.c: New file.
6095 * gdb.base/info-var-f2.c: New file.
6096 * gdb.base/info-var.exp: New file.
6097 * gdb.base/info-var.h: New file.
6098
5c31b358
TV
60992019-08-26 Tom de Vries <tdevries@suse.de>
6100
6101 PR c++/24852
6102 * gdb.cp/no-libstdcxx-probe.exp: New test.
6103
b694989f
TV
61042019-08-26 Tom de Vries <tdevries@suse.de>
6105
6106 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6107 * tests need to be skipped.
6108 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6109 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6110 mi_skip_libstdcxx_probe_tests.
6111
d9c4ba53
SDJ
61122019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6113
6114 * gdb.python/py-xmethods.exp: Use raw strings when passing
6115 arguments to SimpleXMethodMatcher.
6116
395fad09
TV
61172019-08-22 Tom de Vries <tdevries@suse.de>
6118
6119 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6120 more informative.
6121
26c957f1
PA
61222019-08-21 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.base/with.exp: Test "with" with no arguments.
6125
61f80d5d
TV
61262019-08-21 Tom de Vries <tdevries@suse.de>
6127
6128 * gdb.base/gdb-caching-proc.exp: Sort files.
6129
d7a11d13
TV
61302019-08-20 Tom de Vries <tdevries@suse.de>
6131
6132 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6133 compilation.
6134
34dafe9f
TV
61352019-08-16 Tom de Vries <tdevries@suse.de>
6136
6137 * gdb.base/compare-sections.exp ("after run to main"): Allow
6138 mismatched read-only sections for PIE executables.
6139
398fdd60
TT
61402019-08-16 Tom Tromey <tom@tromey.com>
6141
6142 * lib/tuiterm.exp (_csi_Z): New proc.
6143 * gdb.tui/basic.exp: Update window positions.
6144 * gdb.tui/empty.exp: Update window positions.
6145
d8f9e51c
SL
61462019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6147
6148 * gdb.base/examine-backward.exp: Correct regexp for
6149 "examine 3 bytes backward from ${address_zero}".
6150
3df505f6
TT
61512019-08-15 Tom Tromey <tom@tromey.com>
6152
6153 * gdb.tui/empty.exp: Enable resizing tests.
6154
272560b5
TT
61552019-08-15 Tom Tromey <tromey@adacore.com>
6156
6157 * gdb.ada/char_enum.exp: Add regression tests.
6158 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6159 and '0'.
6160 (Char, Gchar): Update.
6161 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6162
08235187
CB
61632019-08-15 Christian Biesinger <cbiesinger@google.com>
6164
6165 * gdb.python/python.exp: Expect a leading underscore on
6166 GdbOutput{,Error}File.
6167
22a2ab04
SL
61682019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6169
6170 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6171 Windows host.
6172
835b995b
SL
61732019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6174
6175 * gdb.base/batch-preserve-term-settings.exp
6176 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6177
97dd8e07
CB
61782019-08-15 Christian Biesinger <cbiesinger@google.com>
6179
6180 * lib/gdb.exp: When running on a mingw target, replace
6181 /x/ with x:/.
6182
75faf5c4
AH
61832019-08-14 Alan Hayward <alan.hayward@arm.com>
6184
6185 * gdb.arch/aarch64-prologue.c: New test.
6186 * gdb.arch/aarch64-prologue.exp: New file.
6187
abc6c00f
TV
61882019-08-13 Tom de Vries <tdevries@suse.de>
6189
6190 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6191 Thread.
6192
74c2c1f4
SL
61932019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6194
6195 * gdb.python/py-completion.exp: Download the .py file to the host
6196 and use its host pathname. Conditionalize tests that use
6197 tab completion and manipulate files on the build machine.
6198 * gdb.python/py-events.exp: Download the .py file to the host
6199 and use its host pathname.
6200 * gdb.python/py-evsignal.exp: Likewise.
6201 * gdb.python/py-evthreads.exp: Likewise.
6202 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6203 pathname syntax.
6204 * gdb.python/py-framefilter.exp: Download the .py file to the right
6205 place on the host. Match Windows pathname syntax.
6206 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6207 .py file to the host and use its host pathname.
6208 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6209 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6210 build pathname. Skip symlink test on Windows host. Add missing
6211 newline at end of file.
6212 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6213 and use its host pathname.
6214 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6215 * gdb.python/py-section-script.exp: Use host location of binfile
6216 on safe-path. Use correct path separator on Windows host.
6217 Reorder alternatives in gdb_test_multiple to prevent matching
6218 the wrong alternative on success.
6219 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6220
ca2589f3
PP
62212019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6222
6223 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6224 expect the GDB inferior to no longer immediately stop after
6225 being resumed with "signal SIGINT".
6226
020a839d
SL
62272019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6228
6229 * gdb.linespec/break-ask.exp: Generalize regexps to match
6230 Windows pathnames too.
6231
128d6509
TV
62322019-08-08 Tom de Vries <tdevries@suse.de>
6233
6234 PR testsuite/24862
6235 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6236
590042fc
PW
62372019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6238
6239 * gdb.base/style.exp: Update tests for help doc new invariants.
6240 * gdb.base/help.exp: Likewise.
6241
046bebe1
TT
62422019-08-06 Tom Tromey <tom@tromey.com>
6243
6244 * gdb.base/style.exp: Add disassemble test.
6245 * gdb.base/style.c (some_called_function): New function.
6246 (main): Use it.
6247
0b27c27d
CB
62482019-08-05 Christian Biesinger <cbiesinger@google.com>
6249
6250 * gdb.python/py-block.exp: Test dictionary access on blocks.
6251
580f1034
SM
62522019-08-05 Simon Marchi <simon.marchi@efficios.com>
6253
6254 PR gdb/24863
6255 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6256 -list-thread-groups --available test when running under
6257 check-read1.
6258
d86bd7cb
TV
62592019-08-05 Tom de Vries <tdevries@suse.de>
6260
6261 PR testsuite/24863
6262 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6263 * gdb.base/help.exp: Use with_read1_timeout_factor.
6264 * gdb.base/info-macros.exp: Same.
6265 * gdb.cp/nested-types.exp: Same.
6266
a80cf5d8
TV
62672019-08-05 Tom de Vries <tdevries@suse.de>
6268
6269 * lib/gdb.exp (version_at_least): Factor out of ...
6270 (tcl_version_at_least): ... here.
6271 (gdb_compile): Fail if pie results in non-PIE executable.
6272 (readelf_version, readelf_prints_pie): New proc.
6273 (exec_is_pie): Return -1 if unknown.
6274
d0962838
TV
62752019-08-05 Tom de Vries <tdevries@suse.de>
6276
6277 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6278
2252ff3d
SL
62792019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6280
6281 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6282
26655f53
SL
62832019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6284
6285 * lib/completion-support.exp (test_gdb_complete_none): Skip
6286 tab completion tests if no readline support.
6287 (test_gdb_complete_unique_re): Likewise.
6288 (test_gdb_complete_multiple): Likewise.
6289
db4dc13e
PW
62902019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6291
6292 * gdb.base/info_sources.exp: New file.
6293 * gdb.base/info_sources.c: New file.
6294 * gdb.base/info_sources_base.c: New file.
6295
0eba165a
PFC
62962019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6297
6298 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6299 prefix argument.
6300 (test_exit_status): Add prefix argument.
6301
59bd512b
TV
63022019-08-01 Tom de Vries <tdevries@suse.de>
6303
6304 PR testsuite/24863
6305 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6306 calling exp_continue for new thread and thread exited messages.
6307
2a3ad588
TV
63082019-08-01 Tom de Vries <tdevries@suse.de>
6309
6310 PR testsuite/24863
6311 * gdb.base/structs.exp: Fix check-read1 timeout using
6312 gdb_test_sequence.
6313 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6314
117eb594
TV
63152019-08-01 Tom de Vries <tdevries@suse.de>
6316
6317 PR testsuite/24863
6318 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6319 line.
6320
ed591340
TV
63212019-08-01 Tom de Vries <tdevries@suse.de>
6322
6323 PR testsuite/24863
6324 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6325
aa3b6533
TT
63262019-07-30 Tom Tromey <tromey@adacore.com>
6327
6328 * gdb.ada/display_nested.exp: New file.
6329 * gdb.ada/display_nested/foo.adb: New file.
6330 * gdb.ada/display_nested/pack.adb: New file.
6331 * gdb.ada/display_nested/pack.ads: New file.
6332
2906593f
CB
63332019-07-30 Christian Biesinger <cbiesinger@google.com>
6334
6335 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6336 namespace.
6337 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6338
0f575925
TV
63392019-07-30 Tom de Vries <tdevries@suse.de>
6340
6341 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6342 instead.
6343
b13057d9
TV
63442019-07-30 Tom de Vries <tdevries@suse.de>
6345
6346 PR testsuite/24834
6347 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6348 (exec_is_pie): New proc.
6349
5c4dde85
CB
63502019-07-29 Christian Biesinger <cbiesinger@google.com>
6351
6352 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6353
c620ed88
CB
63542019-07-29 Christian Biesinger <cbiesinger@google.com>
6355
6356 * gdb.python/py-objfile.c: Add global and static vars.
6357 * gdb.python/py-objfile.exp: Test new functions Objfile.
6358 lookup_global_symbol and lookup_static_symbol.
6359
3d235706
TT
63602019-07-29 Tom Tromey <tom@tromey.com>
6361
6362 * lib/tuiterm.exp (Term::_csi_@): New proc.
6363 (Term::_csi_X): Don't move cursor.
6364
c7e4c0a6
PW
63652019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6366
6367 * gdb.base/options.exp: Update backtrace - completion to
6368 new option -frame-info.
6369 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6370 Test new 'set print frame-info'. Test backtrace -frame-info
6371 overriding 'set print frame-info'.
6372 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6373 Test new 'set print frame-info'.
6374 Verify consistency of backtrace with and without filters, with and
6375 without -no-filters.
6376 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6377 default.
6378
de28a3b7
TV
63792019-07-29 Tom de Vries <tdevries@suse.de>
6380
6381 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6382 no arguments".
6383
507dd60e
TV
63842019-07-29 Tom de Vries <tdevries@suse.de>
6385
6386 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6387 is a substring of the first for "complete non-unique file name".
6388
5beafce9
TV
63892019-07-29 Tom de Vries <tdevries@suse.de>
6390
6391 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6392 with ".*".
6393
2d274232
TV
63942019-07-29 Tom de Vries <tdevries@suse.de>
6395
6396 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6397 Pass prompt_regexp parameter to gdb_test_multiple calls.
6398
9197cd8b
TV
63992019-07-29 Tom de Vries <tdevries@suse.de>
6400
6401 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6402 print registers" regexps.
9197cd8b 6403
b528dae0
TV
64042019-07-29 Tom de Vries <tdevries@suse.de>
6405
6406 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6407
d17725d7
TV
64082019-07-29 Tom de Vries <tdevries@suse.de>
6409
6410 PR gdb/24855
6411 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6412 (skip_python_tests_prompt): Add prompt_regexp argument to
6413 gdb_test_multiple calls.
6414
52b75bf1
TT
64152019-07-27 Tom Tromey <tom@tromey.com>
6416
6417 * gdb.tui/main.exp: New file.
6418
2b1d00c2
TT
64192019-07-27 Tom Tromey <tom@tromey.com>
6420
6421 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6422 optional.
6423 * gdb.tui/empty.exp: New file.
6424
ded631d5
TT
64252019-07-27 Tom Tromey <tom@tromey.com>
6426
6427 * lib/tuiterm.exp (spawn): New proc.
6428 (Term::resize): New proc.
6429 * gdb.tui/resize.exp: New file.
6430
58ac439d
TT
64312019-07-27 Tom Tromey <tom@tromey.com>
6432
6433 * gdb.tui/list.exp: New file.
6434
fe1f56ee
TT
64352019-07-27 Tom Tromey <tom@tromey.com>
6436
6437 * gdb.tui/regs.exp: New file.
6438
f790b310
TT
64392019-07-27 Tom Tromey <tom@tromey.com>
6440
6441 * gdb.tui/basic.exp: Add "layout split" test.
6442
d95fc6ee
TT
64432019-07-27 Tom Tromey <tom@tromey.com>
6444
6445 * gdb.tui/basic.exp: Add "layout asm" test.
6446
c3786b3a
TT
64472019-07-27 Tom Tromey <tom@tromey.com>
6448
6449 * lib/tuiterm.exp: New file.
6450 * gdb.tui/basic.exp: New file.
6451
98a617f8
KB
64522019-07-27 Kevin Buettner <kevinb@redhat.com>
6453
6454 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6455 Enable tests associated with this flag. Adjust regex
6456 referencing "foo_low" to now refer to "foo_cold" instead.
6457
5c076da4
KB
64582019-07-27 Kevin Buettner <kevinb@redhat.com>
6459
6460 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6461 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6462 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6463 foo_cold. Revise comments to match.
6464 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6465 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6466 were wrapped into this proc; Call do_test in loop from outermost
6467 level.
6468 (foo_low): Rename all occurrences to "foo_cold".
6469 (backtrace from baz): New test.
6470 (x2/i foo_cold): New test.
6471 (info line *foo_cold): New test.
6472
1512d3b7
TV
64732019-07-26 Tom de Vries <tdevries@suse.de>
6474
6475 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6476
297989a1
TV
64772019-07-25 Tom de Vries <tdevries@suse.de>
6478
6479 PR testsuite/24830
6480 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6481 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6482 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6483 (skip_libstdcxx_probe_tests): ... here.
6484 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6485
b3b965fb
TV
64862019-07-24 Tom de Vries <tdevries@suse.de>
6487
6488 PR testsuite/24807
6489 * gdb.objc/basicclass.m: Include stdio.h.
6490 * gdb.objc/nondebug.m: Same.
6491 * gdb.objc/objcdecode.m: Same.
6492
4625b4d0
TV
64932019-07-24 Tom de Vries <tdevries@suse.de>
6494
6495 PR testsuite/24612
6496 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6497 additional_flags.
6498
024a5840
TV
64992019-07-24 Tom de Vries <tdevries@suse.de>
6500
6501 PR testsuite/24831
6502 * gdb.multi/tids.exp: Update error messages for info threads.
6503
c76ddaa3
TV
65042019-07-24 Tom de Vries <tdevries@suse.de>
6505
6506 * gdb.base/info-types.exp: Allow info types to print info for more than
6507 one file.
6508
9a618ef6
TV
65092019-07-23 Tom de Vries <tdevries@suse.de>
6510
6511 PR testsuite/24842
6512 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6513 gdb_spawn_with_cmdline_opts.
6514
40eadf04
SP
65152019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6516
6517 * gdb.arch/arm-cmse-sgstubs.c: New test.
6518 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6519
5ba29434
TV
65202019-07-23 Tom de Vries <tdevries@suse.de>
6521
6522 PR testsuite/24711
6523 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6524 issuing next command.
6525
a8e9d247
AB
65262019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6527
6528 * gdb.ada/info_auto_lang.exp: Update expected results.
6529 * gdb.base/info-types.c: Add additional types to check.
6530 * gdb.base/info-types.exp: Update expected results.
6531
eb86c5e2
AB
65322019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6533
6534 * gdb.base/info-types.c: New file.
6535 * gdb.base/info-types.exp: New file.
6536
01e175fe
AB
65372019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6538
6539 * gdb.arch/riscv-bp-infcall.c: New file.
6540 * gdb.arch/riscv-bp-infcall.exp: New file.
6541
6b78c3f8
AB
65422019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6543
6544 PR breakpoints/24541
6545 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6546
da738167
TV
65472019-07-14 Tom de Vries <tdevries@suse.de>
6548
6549 PR testsuite/24760
6550 * gdb.objc/basicclass.exp: Fix unterminated string.
6551
0d4e84ed
AB
65522019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6553 Andrew Burgess <andrew.burgess@embecosm.com>
6554
6555 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6556 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6557 negative bounds.
6558 * gdb.fortran/vla-value.exp: Print elements of an array with
6559 negative bounds.
6560 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6561 testing.
6562
021d8588
AB
65632019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6564
6565 * gdb.base/options.exp (expect_string): Dequote strings in
6566 results.
6567 (test-string): Test strings with different quoting and reindent.
6568
f06f1252
TT
65692019-07-10 Tom Tromey <tromey@adacore.com>
6570
6571 * gdb.ada/mi_ex_cond.exp: Update expected results.
6572 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6573 * gdb.ada/mi_catch_ex.exp: Update expected results.
6574 * gdb.ada/mi_catch_assert.exp: Update expected results.
6575 * gdb.ada/catch_ex.exp (catch_exception_info)
6576 (catch_exception_entry, catch_assert_entry)
6577 (catch_unhandled_entry): Update.
6578 * gdb.ada/catch_assert_if.exp: Update expected results.
6579
b863685d
RB
65802019-07-10 Richard Bunt <richard.bunt@arm.com>
6581 Stephen Roberts <stephen.roberts@arm.com>
6582
6583 * gdb.base/define.exp: Restore original prompt.
6584
cb1e4e32
PA
65852019-07-09 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6588 breakpoints" output.
6589 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6590 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6591 throw" creates breakpoint.
6592 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6593 'type="catchpoint"'.
6594
b58a68fe
PA
65952019-07-09 Pedro Alves <palves@redhat.com>
6596
6597 PR c++/15468
6598 * gdb.cp/except-multi-location-lib.cc: New.
6599 * gdb.cp/except-multi-location-main.cc: New.
6600 * gdb.cp/except-multi-location.exp: New.
6601
0826779b
PW
66022019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6603
6604 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6605 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6606 argument and update callers.
6607
5b0e2db4
AB
66082019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6609
6610 * gdb.arch/amd64-break-on-asm-line.S: New file.
6611 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6612
1f6f6e21
PW
66132019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6614
6615 * gdb.base/printcmds.exp: Test printing C string and
6616 C wide string convenience vars without transiting via the inferior.
6617 Also make test names unique.
6618
ea142fbf
AH
66192019-07-08 Alan Hayward <alan.hayward@arm.com>
6620
5862c886 6621 PR breakpoints/25011
ea142fbf
AH
6622 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6623
213fd9fa
PA
66242019-07-04 Pedro Alves <palves@redhat.com>
6625
6626 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6627 body returned ok(0), break(3) or continue(4).
6628 * gdb.testsuite/foreach_with_prefix.exp: New file.
6629
2b40fda7
AH
66302019-07-04 Alan Hayward <alan.hayward@arm.com>
6631
6632 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6633
a26c8de0
PA
66342019-07-03 Pedro Alves <palves@redhat.com>
6635
6636 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6637 "return -code".
6638
5f4ba3e7
PA
66392019-07-03 Pedro Alves <palves@redhat.com>
6640
6641 PR cli/24732
6642 * gdb.base/shell.exp: Load completion-support.exp.
6643 Adjust expected error output. Add completion tests.
6644
a994424f
PA
66452019-07-03 Pedro Alves <palves@redhat.com>
6646
6647 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6648 string_to_regexp.
6649
3d9be6f5
PA
66502019-07-03 Pedro Alves <palves@redhat.com>
6651
6652 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6653 (expect_integer): Adjust to expect "-string".
6654 (expect_string): New.
6655 (all_options): Expect "-string".
6656 (test-flag, test-boolean): Adjust to expect "-string".
6657 (test-string): New proc.
6658 (top level): Call it.
6659
41fc454c
PA
66602019-07-03 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6663 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6664 the expected output in the success.
6665
b2b2a215
PA
66662019-07-03 Pedro Alves <palves@redhat.com>
6667
6668 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6669 Split one gdb_test_multiple call in two to avoid a race.
6670
fdbc9870
PA
66712019-07-03 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.base/with.c: New file.
6674 * gdb.base/with.exp: New file.
6675
c6ac8931
PA
66762019-07-03 Pedro Alves <palves@redhat.com>
6677
6678 * gdb.base/settings.exp: Replace all references to "maint
6679 test-settings set" with references to "maint set test-settings",
6680 and all references to "maint test-settings show" with references
6681 to "maint show test-settings".
6682
970f9d09
PA
66832019-07-03 Pedro Alves <palves@redhat.com>
6684
6685 * gdb.base/settings.exp (test-string): Adjust expected out when
6686 testing "maint test-settings show filename"
6687
54d66006
PA
66882019-07-02 Pedro Alves <palves@redhat.com>
6689
6690 * gdb.base/options.exp (test-info-threads): New procedure.
6691 (top level): Call it.
6692
10d06d82
TT
66932019-06-28 Tom Tromey <tromey@adacore.com>
6694
6695 * gdb.dwarf2/ada-linkage-name.c: New file.
6696 * gdb.dwarf2/ada-linkage-name.exp: New file.
6697
3d507ff2
TT
66982019-06-27 Tom Tromey <tromey@adacore.com>
6699
d039f014 6700 PR c++/20020:
3d507ff2
TT
6701 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6702
8af58ffe
TV
67032019-06-26 Tom de Vries <tdevries@suse.de>
6704
6705 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6706
22e21752
TV
67072019-06-26 Tom de Vries <tdevries@suse.de>
6708
6709 * gdb.base/index-cache.exp: Add back missing debug option.
6710
b65b566c
PW
67112019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6712
6713 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6714
5c2c8c69
TV
67152019-06-25 Tom de Vries <tdevries@suse.de>
6716
6717 PR testsuite/24727
6718 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6719
164e3873
TV
67202019-06-24 Tom de Vries <tdevries@suse.de>
6721
6722 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6723
824eacee
TV
67242019-06-24 Tom de Vries <tdevries@suse.de>
6725
6726 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6727 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6728 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6729
385b97d3
TV
67302019-06-24 Tom de Vries <tdevries@suse.de>
6731
6732 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6733
c596f180
TV
67342019-06-21 Tom de Vries <tdevries@suse.de>
6735
6736 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6737
b13a7d03
TV
67382019-06-21 Tom de Vries <tdevries@suse.de>
6739
6740 PR testsuite/24518
6741 PR ada/24713
6742 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6743 index.
6744
899277ae
TT
67452019-06-19 Tom Tromey <tromey@adacore.com>
6746
6747 * gdb.ada/length_cond.exp: Add intro comment.
6748
680e1bee
TT
67492019-06-19 Tom Tromey <tromey@adacore.com>
6750
6751 * gdb.ada/length_cond.exp: New file.
6752 * gdb.ada/length_cond/length_cond.adb: New file.
6753 * gdb.ada/length_cond/pck.adb: New file.
6754 * gdb.ada/length_cond/pck.ads: New file.
6755
0ed4690a
TV
67562019-06-18 Tom de Vries <tdevries@suse.de>
6757
6758 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6759
d20ed5fd
TT
67602019-06-18 Tom Tromey <tromey@adacore.com>
6761
6762 * gdb.base/list0.h: Add comment explaining control character.
6763
86e04673
TV
67642019-06-18 Tom de Vries <tdevries@suse.de>
6765
6766 * boards/fission.exp: Break up long debug_flags line.
6767
c4973306
SM
67682019-06-16 Tom de Vries <tdevries@suse.de>
6769
6770 PR gdb/24445
6771 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6772 generated index.
6773
93cb9841
AB
67742019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 PR gdb/24686
6777 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6778 improve detection of bug gdb/24541.
6779
399aaebd
SM
67802019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6781
6782 PR gdb/24669
6783 * gdb.base/index-cache.exp (uses_readnow,
6784 expecting_index_cache_use): Define global variable.
6785 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6786 expecting_index_cache_use.
6787
584a927c
AB
67882019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6789 Andrew Burgess <andrew.burgess@embecosm.com>
6790
6791 * gdb.fortran/pointers.f90: New file.
6792 * gdb.fortran/print_type.exp: New file.
6793 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6794 * gdb.fortran/vla-type.exp: Likewise.
6795 * gdb.fortran/vla-value.exp: Likewise.
6796 * gdb.mi/mi-vla-fortran.exp: Likewise.
6797
30056ea0
AB
67982019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6799
6800 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6801 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6802 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6803 as a stop reason.
6804
ec8e2b6d
AB
68052019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6806
6807 * gdb.base/annota1.exp: Update expected results.
6808 * gdb.cp/annota2.exp: Likewise.
6809 * gdb.cp/annota3.exp: Likewise.
6810
09e4c4e1
AB
68112019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6812
6813 * gdb.base/style-logging.exp: Remove path from test name.
6814
0735b091
TT
68152019-06-14 Tom Tromey <tromey@adacore.com>
6816
6817 PR gdb/24502:
6818 * gdb.base/style-logging.exp: New file.
6819
f5686554
TT
68202019-06-14 Tom Tromey <tromey@adacore.com>
6821
6822 * gdb.base/symfile-warn.exp: New file.
6823 * gdb.base/symfile-warn.c: New file.
6824
a0c1ffed
TT
68252019-06-14 Tom Tromey <tromey@adacore.com>
6826
6827 * gdb.base/annotate-symlink.exp: New file.
6828
f411722c
TT
68292019-06-14 Tom Tromey <tromey@adacore.com>
6830
6831 * gdb.ada/set_wstr.exp: Add reassignment test.
6832
4268ec18
TT
68332019-06-14 Tom Tromey <tromey@adacore.com>
6834
6835 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6836 'unchecked_access and 'unrestricted_access as well.
6837
9a9e394b
TT
68382019-06-14 Tom Tromey <tromey@adacore.com>
6839
6840 PR ada/24539:
6841 * gdb.ada/vla.exp: Update tests.
6842 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6843 pragma.
6844
4c048731
PA
68452019-06-13 Pedro Alves <palves@redhat.com>
6846
6847 * gdb.base/settings.exp (test-integer): Test junk after
6848 "unlimited".
6849
6665660a
PA
68502019-06-13 Pedro Alves <palves@redhat.com>
6851
6852 * gdb.base/options.exp (test-thread-apply): New.
6853 (top level): Call it.
6854
5d707134
PA
68552019-06-13 Pedro Alves <palves@redhat.com>
6856
6857 * gdb.base/options.exp (test-frame-apply): New.
6858 (top level): Test print commands with different "frame apply"
6859 prefixes.
6860
e2a689da
PA
68612019-06-13 Pedro Alves <palves@redhat.com>
6862
e79be6e5 6863 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6864 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6865 'max_completions' parameter and handle it.
6866 (test_gdb_completion_offers_commands): New.
6867
90a1ef87
PA
68682019-06-13 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6871
d4c16835
PA
68722019-06-13 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.base/options.exp (test-backtrace): New.
6875 (top level): Call it.
6876
2daf894e
PA
68772019-06-13 Pedro Alves <palves@redhat.com>
6878
6879 * gdb.guile/scm-frame-args.exp: Use "set print
6880 raw-frame-arguments" instead of "set print raw frame-arguments".
6881 * gdb.python/py-frame-args.exp: Likewise.
6882
e6ed716c
PA
68832019-06-13 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.compile/compile.exp: Adjust expected output to option
6886 processing changes.
6887
7d8062de
PA
68882019-06-13 Pedro Alves <palves@redhat.com>
6889
6890 * gdb.base/options.exp: Build executable.
6891 (test-print): New procedure.
6892 (top level): Call it, once for "print" and another for "compile
6893 print".
6894
9d0faba9
PA
68952019-06-13 Pedro Alves <palves@redhat.com>
6896
6897 * gdb.base/options.c: New file.
6898 * gdb.base/options.exp: New file.
6899
dee7b4c8
PA
69002019-06-13 Pedro Alves <palves@redhat.com>
6901
6902 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6903 that "o" is ambiguous.
6904
dca0f6c0
PA
69052019-06-13 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.base/settings.c: New file.
6908 * gdb.base/settings.exp: New file.
6909
ccf46844
PA
69102019-06-13 Pedro Alves <palves@redhat.com>
6911
6912 * gdb.base/completion.exp: Fix comment typo.
6913
b9a3f842
PA
69142019-06-13 Pedro Alves <palves@redhat.com>
6915
6916 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6917 foo --1" test.
6918
d106773e
PA
69192019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6920
6921 * gdb.fortran/block-data.f: New.
6922 * gdb.fortran/block-data.exp: New.
6923
fea82da0
TV
69242019-06-11 Tom de Vries <tdevries@suse.de>
6925
6926 PR testsuite/24521
6927 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6928 message.
6929
8c2e74f1
TV
69302019-06-11 Tom de Vries <tdevries@suse.de>
6931
6932 PR testsuite/24521
6933 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6934
b49851c8
TV
69352019-06-11 Tom de Vries <tdevries@suse.de>
6936
6937 * boards/readnow.exp: New file.
6938
a7067863
AB
69392019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6940
6941 * gdb.fortran/vla-sizeof.exp: Update expected results.
6942
1a3da2cd
AB
69432019-06-06 Amos Bird <amosbird@gmail.com>
6944
6945 * gdb.base/annota1.exp (thread_switch): Add test for
6946 thread-exited annotation.
6947
3847a7bf
TT
69482019-06-06 Tom Tromey <tromey@adacore.com>
6949
6950 * gdb.base/maint.exp: Expect command started/finished output.
6951
0088ba59
AB
69522019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6953
6954 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6955 comment.
6956 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6957
312617a3
AB
69582019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6959
6960 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6961 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6962 * gdb.arch/riscv-unwind-long-insn.c: New file.
6963 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6964
e1f2e1a2
CB
69652019-06-04 Christian Biesinger <cbiesinger@google.com>
6966
d3238f7d 6967 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6968
206584bd
PW
69692019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6970
6971 * lib/gdb.exp (help_list_trailer): New regexp variable
6972 factorizing the help trailer message.
6973 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6974 arg to allow to better factorize various tests.
6975 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6976 (test_prefix_command_help): Use help_list_trailer.
6977 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6978 * gdb.guile/scm-cmd.exp: Likewise.
6979 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6980 * gdb.base/help.exp: Use test_user_defined_class_help.
6981 * gdb.base/style.exp: Add tests for styling of help and apropos.
6982 * lib/gdb-utils.exp (style): Add title and highlight styles.
6983
708dc93e
PW
69842019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6985
6986 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6987 $_shell_exitsignal.
6988 * gdb.base/default.exp: Update for new convenience variables.
6989
f49055a5
TT
69902019-05-29 Tom Tromey <tromey@adacore.com>
6991
6992 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6993 to "break complete ada" test case's regexp.
6994
4330d61d
TT
69952019-05-29 Tom Tromey <tromey@adacore.com>
6996
6997 PR c++/20020:
6998 * gdb.cp/constexpr-field.exp: New file.
6999 * gdb.cp/constexpr-field.cc: New file.
7000
000439d5
TT
70012019-05-29 Tom Tromey <tromey@adacore.com>
7002
7003 * gdb.base/finish.exp (finish_no_print): New proc.
7004 (finish_tests): Call it.
7005
5a01c34c
TV
70062019-05-24 Tom de Vries <tdevries@suse.de>
7007
7008 * gdb.dwarf2/gdb-add-index.exp: New file.
7009
18125b16
TT
70102019-05-22 Tom Tromey <tromey@adacore.com>
7011
7012 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7013 * gdb.base/style.exp: Use "style".
7014 * lib/gdb-utils.exp (style): New proc.
7015
af1a8d03
TV
70162019-05-22 Tom de Vries <tdevries@suse.de>
7017
7018 * gdb.base/align.exp: Require c++11.
7019
e7fe496b
TV
70202019-05-22 Tom de Vries <tdevries@suse.de>
7021
7022 PR testsuite/24586
7023 * gdb.python/py-mi-var-info-path-expression.exp: Call
7024 mi_skip_python_tests to check if python is supported.
7025
8fca4da0
AH
70262019-05-22 Alan Hayward <alan.hayward@arm.com>
7027
7028 * gdb.arch/aarch64-pauth.c: New test.
7029 * gdb.arch/aarch64-pauth.exp: New file.
7030
b7060614
AH
70312019-05-22 Alan Hayward <alan.hayward@arm.com>
7032
7033 * README (Re-running Tests Outside The Testsuite): New section.
7034
669d0468
TV
70352019-05-21 Tom de Vries <tdevries@suse.de>
7036
7037 * gdb.arch/amd64-eval.exp: Require c++11.
7038 * gdb.base/max-depth.exp: Same.
7039 * gdb.compile/compile-cplus-array-decay.exp: Same.
7040 * gdb.cp/meth-typedefs.exp: Same.
7041 * gdb.cp/subtypes.exp: Same.
7042 * gdb.cp/temargs.exp: Same.
7043
ce3ebcaa
AH
70442019-05-21 Alan Hayward <alan.hayward@arm.com>
7045
7046 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7047
34d11c68
AB
70482019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7049
7050 PR gdb/18644
7051 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7052 * gdb.fortran/printing-types.exp: Add new test.
7053 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7054 testing.
7055 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7056 setup_kfail call.
7057
87781e84
AH
70582019-05-17 Alan Hayward <alan.hayward@arm.com>
7059
7060 * README (Running the Testsuite): Change example.
7061 (Testsuite Parameters): Remove TRANSCRIPT.
7062 * lib/gdb.exp: Remove TRANSCRIPT check.
7063
b420b89e
AH
70642019-05-17 Alan Hayward <alan.hayward@arm.com>
7065
7066 * README (Testsuite Parameters): Add replay logging to
7067 GDBSERVER_DEBUG.
7068 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7069 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7070 as a comma separated list.
7071 (gdb_debug_init): Override procedure.
7072
408e9b8b
AH
70732019-05-17 Alan Hayward <alan.hayward@arm.com>
7074
7075 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7076 (gdb_write_cmd_file): New procedure.
7077 * lib/gdbserver-support.exp (gdbserver_start): Call
7078 gdbserver_write_cmd_file.
7079 (gdbserver_write_cmd_file): New procedure.
7080
f9e2e39d
AH
70812019-05-17 Alan Hayward <alan.hayward@arm.com>
7082
7083 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7084 (delete_breakpoints): Likewise.
7085 (gdb_run_cmd): Likewise.
7086 (gdb_start_cmd): Likewise.
7087 (gdb_starti_cmd): Likewise.
7088 (gdb_internal_error_resync): Likewise.
7089 (gdb_test_multiple): Likewise.
7090 (gdb_reinitialize_dir): Likewise.
7091 (default_gdb_exit): Likewise.
7092 (gdb_file_cmd): Mark kill as optional.
7093 (default_gdb_start): Call gdb_stdin_log_init.
7094 (send_gdb): Call gdb_stdin_log_write.
7095 (rerun_to_main): Mark Y as an answer.
7096 (gdb_stdin_log_init): New function.
7097 (gdb_stdin_log_write): Likewise.
7098
81f47ac2
AH
70992019-05-17 Alan Hayward <alan.hayward@arm.com>
7100
7101 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7102 * gdb.base/debug-expr.exp: Likewise.
7103 * gdb.base/foll-fork.exp: Likewise.
7104 * gdb.base/foll-vfork.exp: Likewise.
7105 * gdb.base/fork-print-inferior-events.exp: Likewise.
7106 * gdb.base/gdb-sigterm.exp: Likewise.
7107 * gdb.base/gdbinit-history.exp: Likewise.
7108 * gdb.base/osabi.exp: Likewise.
7109 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7110 * gdb.base/ui-redirect.exp: Likewise.
7111 * gdb.gdb/unittest.exp: Likewise.
7112 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7113 * gdb.mi/mi-watch.exp: Likewise.
7114 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7115 * gdb.mi/user-selected-context-sync.exp: Likewise.
7116 * gdb.python/python.exp: Disable debug test when debugging.
7117 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7118 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7119 Likewise.
7120 * gdb.threads/stepi-random-signal.exp: Likewise.
7121
29b52314
AH
71222019-05-17 Alan Hayward <alan.hayward@arm.com>
7123
7124 * Makefile.in: Pass through GDB_DEBUG.
7125 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7126 (gdb,debug): Add board setting.
7127 * lib/gdb.exp (default_gdb_start): Start debugging.
7128 (gdb_debug_enabled): New procedure.
7129 (gdb_debug_init): Likewise.
29b52314
AH
7130
71312019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7132
29b52314
AH
7133 * Makefile.in: Pass through GDB_DEBUG.
7134 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7135 (gdb,debug): Add board setting.
7136 * lib/gdb.exp (default_gdb_start): Start debugging.
7137 (gdb_debug_enabled): New procedure.
7138 (gdb_debug_init): Likewise.
29b52314 7139
ca1285d1
AH
71402019-05-17 Alan Hayward <alan.hayward@arm.com>
7141
7142 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7143
f3a09c80
AH
71442019-05-17 Alan Hayward <alan.hayward@arm.com>
7145
7146 * gdb.base/ui-redirect.exp: Test redirection.
7147
26648588
JV
71482019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7149
7150 * gdb.mi/mi-complete.exp: New file.
7151 * gdb.mi/mi-complete.cc: Likewise.
7152
14237686
AB
71532019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7154
7155 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7156 indexed and sliced arrays, and pointers to arrays.
7157
e7bd7fba
TT
71582019-05-14 Tom Tromey <tromey@adacore.com>
7159
7160 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7161 styling test.
7162
2764128d
TV
71632019-05-14 Tom de Vries <tdevries@suse.de>
7164
7165 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7166 selection entry encoding.
7167
71bed2db
TT
71682019-05-10 Tom Tromey <tromey@adacore.com>
7169
7170 * gdb.ada/info_exc.exp: Add "complete" test.
7171
63b667ad
TV
71722019-05-09 Tom de Vries <tdevries@suse.de>
7173
7174 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7175 CU-relative.
7176
9cfd2b89
TV
71772019-05-09 Tom de Vries <tdevries@suse.de>
7178
7179 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7180 CU-relative.
7181
2228ef77
XR
71822019-05-08 Joel Brobecker <brobecker@adacore.com>
7183
7184 * gdb.ada/frame_arg_lang.exp: New testcase.
7185 * gdb.ada/frame_arg_lang/bla.adb: New file.
7186 * gdb.ada/frame_arg_lang/pck.ads: New file.
7187 * gdb.ada/frame_arg_lang/pck.adb: New file.
7188 * gdb.ada/frame_arg_lang/foo.c: New file.
7189
80e55b13
TT
71902019-05-08 Tom Tromey <tromey@adacore.com>
7191
7192 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7193
9d3421af
TT
71942019-05-08 Tom Tromey <tromey@adacore.com>
7195
7196 * gdb.base/ptype-offsets.exp: Update tests.
7197
844333e2
TT
71982019-05-08 Tom Tromey <tromey@adacore.com>
7199
7200 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7201 cases.
7202 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7203 "short".
7204
988915ee
TT
72052019-05-08 Tom Tromey <tromey@adacore.com>
7206
7207 * gdb.ada/vla.exp: New file.
7208 * gdb.ada/vla/vla.adb: New file.
7209
7bd55dac
TV
72102019-05-07 Tom de Vries <tdevries@suse.de>
7211
7212 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7213
75f06e9d
TV
72142019-05-07 Tom de Vries <tdevries@suse.de>
7215
7216 PR testsuite/24522
7217 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7218 section.
7219
77e7aaa4
TV
72202019-05-07 Tom de Vries <tdevries@suse.de>
7221
7222 PR testsuite/24522
7223 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7224 .debug_aranges section.
7225
456ba0fa
TV
72262019-05-07 Tom de Vries <tdevries@suse.de>
7227
7228 PR testsuite/24159
7229 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7230
5a56d6a6
TV
72312019-05-06 Tom de Vries <tdevries@suse.de>
7232
7233 * lib/gdb.exp (exec_has_index_section): New proc.
7234 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7235 section.
7236
9d6d4be8
TV
72372019-05-04 Tom de Vries <tdevries@suse.de>
7238
7239 * boards/cc-with-debug-names.exp: New file.
7240
222a8d25
TT
72412019-05-03 Tom Tromey <tromey@adacore.com>
7242
7243 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7244 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7245 * gdb.ada/char_enum.exp: Add test.
7246
0fdfd794
TV
72472019-05-03 Tom de Vries <tdevries@suse.de>
7248
7249 * boards/cc-with-gdb-index.exp: New file.
7250
80062eb9
AB
72512019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7252
7253 * gdb.rust/simple.exp: Add new test case.
7254 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7255 (main): Initialise an instance of the new struct.
7256
4504bbde
TT
72572019-05-01 Tom Tromey <tromey@adacore.com>
7258
7259 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7260 record.
7261 (NPR): New variable.
7262 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7263 test.
7264
d48e62f4
TT
72652019-05-01 Tom Tromey <tromey@adacore.com>
7266
7267 * gdb.ada/packed_array_assign.exp: Add packed assignment
7268 regression test.
7269
f59f30f5
TV
72702019-05-01 Tom de Vries <tdevries@suse.de>
7271
7272 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7273
b70bfc54
TV
72742019-05-01 Tom de Vries <tdevries@suse.de>
7275
7276 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7277
15f18d14
AT
72782019-04-30 Ali Tamur <tamur@google.com>
7279
7280 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7281
2ff0a947
TT
72822019-04-30 Tom Tromey <tromey@adacore.com>
7283
7284 * lib/ada.exp (find_ada_tool): New proc.
7285 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7286 * gdb.ada/catch_ex_std.exp: New file.
7287 * gdb.ada/catch_ex_std/foo.adb: New file.
7288 * gdb.ada/catch_ex_std/some_package.adb: New file.
7289 * gdb.ada/catch_ex_std/some_package.ads: New file.
7290
a776957c
TT
72912019-04-30 Tom Tromey <tromey@adacore.com>
7292
7293 PR c++/24470:
7294 * gdb.cp/temargs.cc: Add test code from PR.
7295
bc68014d
AB
72962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7297
7298 * gdb.fortran/vla-datatypes.exp: Update expected results.
7299 * gdb.fortran/vla-ptype.exp: Likewise.
7300 * gdb.fortran/vla-type.exp: Likewise.
7301 * gdb.fortran/vla-value.exp: Likewise.
7302
f1fdc960
AB
73032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7304
7305 * gdb.fortran/ptr-indentation.exp: Update expected results.
7306 * gdb.fortran/ptype-on-functions.exp: Likewise.
7307 * gdb.fortran/vla-ptr-info.exp: Likewise.
7308 * gdb.fortran/vla-value.exp: Likewise.
7309
bf7a4de1
AB
73102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7311
7312 * gdb.fortran/ptype-on-functions.exp: New file.
7313 * gdb.fortran/ptype-on-functions.f90: New file.
7314
bbe75b9d
AB
73152019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7316
7317 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7318 case void string.
7319
1db455a7
AB
73202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7321
7322 * gdb.fortran/complex.exp: Expand.
7323 * gdb.fortran/complex.f: Renamed to...
7324 * gdb.fortran/complex.f90: ...this, and extended to add more
7325 complex values.
7326
b6d03bb2
AB
73272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7328
7329 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7330 MODULO, CMPLX.
7331
2e62ab40
AB
73322019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7333 Richard Bunt <richard.bunt@arm.com>
7334
7335 * gdb.base/max-depth.c: New file.
7336 * gdb.base/max-depth.exp: New file.
7337 * gdb.python/py-nested-maps.c: New file.
7338 * gdb.python/py-nested-maps.exp: New file.
7339 * gdb.python/py-nested-maps.py: New file.
7340 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7341 (test_all_common): Call test_max_depth.
7342 * gdb.fortran/max-depth.exp: New file.
7343 * gdb.fortran/max-depth.f90: New file.
7344 * gdb.go/max-depth.exp: New file.
7345 * gdb.go/max-depth.go: New file.
7346 * gdb.modula2/max-depth.exp: New file.
7347 * gdb.modula2/max-depth.c: New file.
7348 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7349
d2b584a5
TV
73502019-04-29 Tom de Vries <tdevries@suse.de>
7351
7352 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7353
136afab8
PW
73542019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7355
7356 * gdb.base/callexit.exp: Test may-call-functions off.
7357
725cbb63
KS
73582019-04-25 Keith Seitz <keiths@redhat.com>
7359
7360 PR c++/24367
7361 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7362 (another_incomplete_struct, test_incomplete): New definitions.
7363 (main): Use new definitions.
7364 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7365 functions.
7366
701adfb0
PA
73672019-04-25 Ali Tamur <tamur@google.com>
7368
7369 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7370
82433e3e
SDJ
73712019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7372
7373 PR corefiles/11608
7374 PR corefiles/18187
7375 * gdb.base/coredump-filter-build-id.exp: New file.
7376
dd06d4d6
AH
73772019-04-25 Alan Hayward <alan.hayward@arm.com>
7378
e79be6e5
SM
7379 * Makefile.in: Pass through GDBSERVER_DEBUG.
7380 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7381 (gdbserver,debug): Add board setting.
7382 * gdb.trace/tspeed.exp: Skip when debugging.
7383 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7384 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7385
1670072e
TT
73862019-04-24 Tom Tromey <tromey@adacore.com>
7387
7388 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7389 Rust.
7390
a59240a4
TT
73912019-04-24 Tom Tromey <tromey@adacore.com>
7392
7393 * gdb.arch/amd64-eval.exp: Test bitfield return.
7394 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7395 (class Foo) <return_bitfields>: New method.
7396 (main): Call it.
7397
b907456c
AB
73982019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7399
7400 * gdb.cp/many-args.cc: New file.
7401 * gdb.cp/many-args.exp: New file.
7402
5c565afd
TV
74032019-04-23 Tom de Vries <tdevries@suse.de>
7404
7405 PR gdb/24433
7406 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7407
ba22ff86
AH
74082019-04-23 Alan Hayward <alan.hayward@arm.com>
7409
7410 * gdb.trace/backtrace.exp: Use nopie flag.
7411 * gdb.trace/circ.exp: Likewise.
7412 * gdb.trace/collection.exp: Likewise.
7413 * gdb.trace/ftrace.exp: Likewise.
7414 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7415 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7416 * gdb.trace/qtro.exp: Likewise.
7417 * gdb.trace/read-memory.exp: Likewise.
7418 * gdb.trace/report.exp: Likewise.
7419 * gdb.trace/tfile.exp: Likewise.
7420 * gdb.trace/tfind.exp: Likewise.
7421 * gdb.trace/unavailable.exp: Likewise.
7422
7905fc35
PA
74232019-04-22 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.base/solib-probes-nosharedlibrary.c,
7426 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7427
8ecb59f8
TT
74282019-04-19 Tom Tromey <tromey@adacore.com>
7429
7430 * gdb.ada/ptype_union.c: New file.
7431 * gdb.ada/ptype_union.exp: New file.
7432
62160ec9
TT
74332019-04-19 Tom Tromey <tromey@adacore.com>
7434
7435 PR symtab/24423:
7436 * gdb.base/list0.h (foo): Add a control-l character.
7437
36cd4ba5
TV
74382019-04-18 Tom de Vries <tdevries@suse.de>
7439
7440 PR gdb/24433
7441 * boards/local-board.exp: Set sysroot to "".
7442
b73715df
TV
74432019-04-18 Tom de Vries <tdevries@suse.de>
7444 Pedro Alves <palves@redhat.com>
7445
7446 PR gdb/24454
7447 * gdb.threads/vfork-follow-child-exec.c: New file.
7448 * gdb.threads/vfork-follow-child-exec.exp: New file.
7449 * gdb.threads/vfork-follow-child-exit.c: New file.
7450 * gdb.threads/vfork-follow-child-exit.exp: New file.
7451
4aa866af
LS
74522019-04-15 Leszek Swirski <leszeks@google.com>
7453
7454 * gdb.arch/amd64-eval.cc: New file.
7455 * gdb.arch/amd64-eval.exp: New file.
7456
e5a1a79a
AH
74572019-04-11 Alan Hayward <alan.hayward@arm.com>
7458
7459 * gdb.server/sysroot.c: New test.
7460 * gdb.server/sysroot.exp: New file.
7461 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7462 matching param.
7463
41077b66
AB
74642019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7465
7466 * gdb.base/align.exp: Extend test to cover structures containing
7467 only static fields.
7468
c30391f8
TV
74692019-04-11 Tom de Vries <tdevries@suse.de>
7470
7471 * boards/cc-with-dwz-m.exp: New file.
7472 * boards/cc-with-dwz.exp: New file.
7473 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7474
e242fd12
SM
74752019-04-09 Simon Marchi <simon.marchi@efficios.com>
7476
7477 * gdb.base/start-cpp.exp: New file.
7478 * gdb.base/start-cpp.cc: New file.
7479
2b0c8b01
KB
74802019-04-08 Kevin Buettner <kevinb@redhat.com>
7481
7482 * gdb.python/py-thrhandle.exp: Adjust tests to call
7483 thread_from_handle instead of thread_from_thread_handle.
7484
947210e5
KB
74852019-04-08 Kevin Buettner <kevinb@redhat.com>
7486
7487 * gdb.python/py-thrhandle.exp: Add tests for
7488 gdb.InferiorThread.handle.
7489
d7df6549
AB
74902019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7491
7492 * gdb.python/py-function.exp: Check calling helper function from
7493 all languages.
7494 * lib/gdb.exp (gdb_supported_languages): New proc.
7495
8bdc1658
AB
74962019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7497
7498 * gdb.base/complex-parts.c: New file.
7499 * gdb.base/complex-parts.exp: New file.
7500
05caa1d2
TT
75012019-04-01 Tom Tromey <tromey@adacore.com>
7502
7503 PR symtab/23331:
7504 * gdb.dwarf2/dw2-ranges-main.c: New file.
7505 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7506 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7507
7734102d
EZ
75082019-03-30 Simon Marchi <simark@simark.ca>
7509
7510 * gdb.base/default.exp: Add values for $_gdb_major and
7511 $_gdb_minor.
7512
188e1fa9
TT
75132019-03-29 Tom Tromey <tromey@adacore.com>
7514
7515 * gdb.base/help.exp: Tighten apropos regexp.
7516
2880242d
KS
75172019-03-29 Keith Seitz <keiths@redhat.com>
7518
7519 * gdb.fortran/array-bounds.exp: New file.
7520 * gdb.fortran/array-bounds.f90: New file.
7521
077cad8e
PW
75222019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7523
7524 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7525
80047cfc
PW
75262019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7527
7528 * gdb.multi/hello.c (main): Increase alarm timer.
7529
f489207e
SL
75302019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7531
7532 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7533 factor when no hardware watchpoint support.
7534
c92df149
AH
75352019-03-28 Alan Hayward <alan.hayward@arm.com>
7536 Pedro Alves <palves@redhat.com>
7537
7538 * boards/local-board.exp: set sysroot to /.
7539
933aebfa
AH
75402019-03-27 Alan Hayward <alan.hayward@arm.com>
7541
7542 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7543 in child.
7544
9f9aa852
AB
75452019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7546
7547 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7548 field.
7549 (make_container): Initialise new field.
7550 * gdb.python/py-prettyprint.exp: Add new tests.
7551 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7552 <display_hint>: New method.
7553
3714a195
AB
75542019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7555
7556 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7557 gdb_continue_to_breakpoint more throughout this test.
7558 (run_lang_tests) Supply unique test names, and use
7559 gdb_test_no_output.
7560
18c77628
AB
75612019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7562
7563 * gdb.base/finish-pretty.exp: Update expected results.
7564 * gdb.base/pretty-print.c: New file.
7565 * gdb.base/pretty-print.exp: New file.
7566
9a93502f
PA
75672019-03-25 Pedro Alves <palves@redhat.com>
7568
7569 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7570 move comments outside list. Append '-i "" eof' section.
7571
968aa7ae
AH
75722019-03-22 Alan Hayward <alan.hayward@arm.com>
7573
34a7f2a4 7574 PR testsuite/25016
968aa7ae
AH
7575 * README: Add pie options.
7576 * gdb.base/break-interp.exp: Ensure pie is disabled.
7577 * gdb.base/dump.exp: Likewise.
7578 * lib/gdb.exp (gdb_compile): Add pie option.
7579
4c7d57e7
TT
75802019-03-19 Tom Tromey <tromey@adacore.com>
7581
7582 * gdb.mi/mi2-cli-display.c: New file.
7583 * gdb.mi/mi2-cli-display.exp: New file.
7584
bff8c71f
TT
75852019-03-18 Joel Brobecker <brobecker@adacore.com>
7586 Tom Tromey <tromey@adacore.com>
7587
7588 * gdb.ada/ptype_array/pck.adb: New file.
7589 * gdb.ada/ptype_array/pck.ads: New file.
7590 * gdb.ada/ptype_array/foo.adb: New file.
7591 * gdb.ada/ptype_array.exp: New file.
7592
d085f989
TT
75932019-03-14 Tom Tromey <tromey@adacore.com>
7594
7595 * gdb.base/style.exp: Add "set style sources" test.
7596
b4be1b06
SM
75972019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7598
7599 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7600 * mi-breakpoint-multiple-locations.exp: ... this.
7601 (make_breakpoints_pattern): New proc.
7602 (do_test): Add mi_version parameter, test -break-insert,
7603 -break-info and =breakpoint-created.
7604
7cde5fc2
AB
76052019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7606
7607 * config/default.exp: Remove 'load_lib gdb.exp'.
7608 * config/monitor.exp: Likewise.
7609 * config/sid.exp: Likewise.
7610 * config/sim.exp: Likewise.
7611 * config/slite.exp: Likewise.
7612 * config/unix.exp: Likewise.
7613 * gdb.base/default.exp: Remove unhelpful comment.
7614
efbecbc1
AB
76152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7616
7617 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7618
0841c79a
AB
76192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7620
7621 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7622
4a270568
AB
76232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7624
7625 * gdb.fortran/type-kinds.exp: Update expected results.
7626
067630bd
AB
76272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7628
7629 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7630
3be47f7a
AB
76312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7632
7633 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7634 function.
7635 (test_basic_parsing_of_type_kinds): Expand types tested.
7636 (test_parsing_invalid_type_kinds): New function.
7637
4d00f5d8
AB
76382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7639
7640 * gdb.fortran/intrinsics.exp: New file.
7641 * gdb.fortran/intrinsics.f90: New file.
7642 * gdb.fortran/type-kinds.exp: New file.
7643
c8f91604
AB
76442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7645
7646 * gdb.fortran/dot-ops.exp: New file.
7647
dd9f2c76
AB
76482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7649
7650 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7651 Check upper and lower case logical literals.
7652
84ec9724
AB
76532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7654
7655 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7656 Remove duplicate tests.
7657
c3734e09
AH
76582019-03-06 Alan Hayward <alan.hayward@arm.com>
7659
7660 * lib/gdb.exp (builtin_cd): rename of cd.
7661 (cd): Override builtin.
7662
aa3cfbda
RB
76632019-03-06 Richard Bunt <richard.bunt@arm.com>
7664
7665 * gdb.fortran/function-calls.exp: New file.
7666 * gdb.fortran/function-calls.f90: New test.
7667
7b63ad86
RB
76682019-03-04 Richard Bunt <richard.bunt@arm.com>
7669
7670 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7671 on user program standard output.
7672 * gdb.fortran/short-circuit-argument-list.f90: Record function
7673 calls.
7674
01abb042
AH
76752019-02-28 Alan Hayward <alan.hayward@arm.com>
7676
c3734e09
AH
7677 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7678 failure.
01abb042 7679
92137da0
RO
76802019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7681
7682 PR gdb/8527
7683 * gdb.base/interrupt-daemon-attach.c,
7684 gdb.base/interrupt-daemon-attach.exp: New test.
7685
5862844d
PA
76862019-02-27 Pedro Alves <palves@redhat.com>
7687
7688 * gdb.base/page.exp: Add tests for "set width/height -1".
7689
8ed25214
PA
76902019-02-27 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/page.exp: Add tests for "set/show width/height" with
7693 "infinite" values.
7694
6c28e44a
TT
76952019-02-27 Tom Tromey <tromey@adacore.com>
7696
7697 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7698 2.4.
7699 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7700 workaround.
7701
bf9a735e
AB
77022019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7703
7704 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7705 tests for structs with static members.
7706
8791793c
TT
77072019-02-26 Tom Tromey <tromey@adacore.com>
7708
7709 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7710 ValueError, not TypeError.
7711
bc2a507e
KB
77122019-02-26 Kevin Buettner <kevinb@redhat.com>
7713
7714 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7715 call from main program.
7716
e0e7d3bd
JB
77172019-02-23 Joel Brobecker <brobecker@adacore.com>
7718
7719 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7720 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7721 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7722 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7723 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7724
9600246d
KS
77252019-02-22 Keith Seitz <keiths@redhat.com>
7726
7727 PR symtab/23853
7728 * gdb.base/symlink-sourcefile.c: New file.
7729 * gdb.base/symlink-sourcefile.exp: New file.
7730
0c95f9ed
TT
77312019-02-20 Tom Tromey <tom@tromey.com>
7732
7733 * gdb.base/info_qt.exp: Update.
7734
6caa91b6
SM
77352019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7736
7737 * gdb.base/source.exp: Move "error in sourced script" code to
7738 the end.
7739 * gdb.base/source-error.gdb: Move contents to
7740 source-error-1.gdb. Add new code to source source-error-1.gdb.
7741 * gdb.base/source-error-1.gdb: New file, from previous
7742 source-error.gdb.
7743
6506371f
TT
77442019-02-17 Tom Tromey <tom@tromey.com>
7745
7746 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7747 for macro styling.
7748 * gdb.base/style.c (SOME_MACRO): New macro.
7749
a0087920
TT
77502019-02-17 Tom Tromey <tom@tromey.com>
7751
7752 * gdb.base/style.exp: Add line-wrapping tests.
7753 * gdb.base/page.exp: Add test for quitting during pagination.
7754
a2cd4f14
JB
77552019-02-17 Joel Brobecker <brobecker@adacore.com>
7756
7757 * gdb.ada/big_packed_array: New testcase.
7758 * gdb.ada/homonym.exp: Fix incorrect expected output for
7759 "break <homonym__get_value>" test.
7760
9d70ffbc
WP
77612019-02-13 Weimin Pan <weimin.pan@oracle.com>
7762
7763 PR breakpoints/21870
7764 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7765 and prepare_for_testing. Add comment.
7766 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7767 redundant cleanup call. Clean up comment.
7768
01c7ae81
WP
77692019-02-12 Weimin Pan <weimin.pan@oracle.com>
7770
7771 PR breakpoints/21870
7772 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7773 * gdb.arch/aarch64-dbreg-contents.c: New file.
7774
aff29d1c
JB
77752019-02-10 Joel Brobecker <brobecker@adacore.com>
7776
7777 * gdb.ada/mi_ref_changeable: New testcase.
7778
df0da8a2
AH
77792019-02-07 Alan Hayward <alan.hayward@arm.com>
7780
7781 * gdb.base/attach.exp: Add double attach test.
7782
bd447abb
SM
77832019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7784
7785 * lib/gdb.exp (default_gdb_start): Don't match pagination
7786 prompt.
7787 (gdb_init): Set stty_init.
7788
1dbc40b9
TT
77892019-01-27 Tom Tromey <tom@tromey.com>
7790
7791 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7792 skip_python_tests.
7793
353229bf
AH
77942019-01-24 Alan Hayward <alan.hayward@arm.com>
7795
7796 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7797 New structure.
7798 (struct struct_static_02_02): Likewise.
7799 (struct struct_static_02_03): Likewise.
7800 (struct struct_static_02_04): Likewise.
7801 (struct struct_static_04_01): Likewise.
7802 (struct struct_static_04_02): Likewise.
7803 (struct struct_static_04_03): Likewise.
7804 (struct struct_static_04_04): Likewise.
7805 (struct struct_static_06_01): Likewise.
7806 (struct struct_static_06_02): Likewise.
7807 (struct struct_static_06_03): Likewise.
7808 (struct struct_static_06_04): Likewise.
7809 (cmp_struct_static_02_01): Likewise.
7810 (cmp_struct_static_02_02): Likewise.
7811 (cmp_struct_static_02_03): Likewise.
7812 (cmp_struct_static_02_04): Likewise.
7813 (cmp_struct_static_04_01): Likewise.
7814 (cmp_struct_static_04_02): Likewise.
7815 (cmp_struct_static_04_03): Likewise.
7816 (cmp_struct_static_04_04): Likewise.
7817 (cmp_struct_static_06_01): Likewise.
7818 (cmp_struct_static_06_02): Likewise.
7819 (cmp_struct_static_06_03): Likewise.
7820 (cmp_struct_static_06_04): Likewise.
7821 (call_all): Test new structs.
7822 * gdb.base/infcall-nested-structs.exp: Likewise.
7823
73021deb
AH
78242019-01-21 Alan Hayward <alan.hayward@arm.com>
7825 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7826
fc65c7db
AH
78272019-01-21 Alan Hayward <alan.hayward@arm.com>
7828 * gdb.base/stack-protector.c: New test.
7829 * gdb.base/stack-protector.exp: New file.
7830 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7831 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7832 option.
7833 (gdb_compile): Remove stack protector for GCC and prevent
7834 recursion.
7835
c24bdb02
KS
78362019-01-16 Keith Seitz <keiths@redhat.com>
7837
7838 PR gdb/23773
7839 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7840
6f072a10
PFC
78412019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7842
7843 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7844 aliases.
7845 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7846 tests.
7847 * gdb.arch/powerpc-vector-regs.c: New file.
7848 * gdb.arch/powerpc-vector-regs.exp: New file.
7849
a7b8d682
PFC
78502019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7851
7852 * gdb.arch/altivec-regs.exp: Fix the list passed to
7853 gdb_expect_list when testing "info vector".
7854
6eb6fb67
AB
78552019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7856
7857 * gdb.base/style.exp: Don't include path in testname.
7858
b56f80d8
KS
78592019-01-10 Keith Seitz <keiths@redhat.com>
7860
7861 PR gdb/23712
7862 PR symtab/23010
7863 * gdb.dwarf2/multidictionary.exp: New file.
7864
041be526
SM
78652019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7866
7867 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7868 (test_gnuv3_style_demangling): ... this.
7869 (test_lucid_style_demangling): Remove.
7870 (test_arm_style_demangling): Remove.
7871 (test_hp_style_demangling): Remove.
7872 (do_tests): Remove calls to the above.
7873
d820d0c3
AB
78742019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7875
7876 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7877 case.
7878
f097f5ad
TT
78792019-01-06 Tom Tromey <tom@tromey.com>
7880
7881 PR gdb/28155:
7882 * gdb.dwarf2/typedef-void-finish.exp: New file.
7883
2cd8cc0b
TT
78842018-12-28 Tom Tromey <tom@tromey.com>
7885 Simon Marchi <simark@simark.ca>
7886
7887 * gdb.base/jit-exec.exp: New file.
7888 * gdb.base/jit-exec.c: New file.
7889 * gdb.base/jit-execd.c: New file.
7890
35fb8261
TT
78912018-12-28 Tom Tromey <tom@tromey.com>
7892
7893 * gdb.base/style.exp: Update test to check for address styling.
7894
47fd17cd
TT
78952018-12-28 Tom Tromey <tom@tromey.com>
7896
7897 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7898 message.
7899
d47032b7
TT
79002018-12-28 Tom Tromey <tom@tromey.com>
7901
7902 * gdb.base/style.exp: Add test for version number styling.
7903
af79b68d
TT
79042018-12-28 Tom Tromey <tom@tromey.com>
7905
7906 * gdb.base/style.exp: Add test for print_address_symbolic.
7907
0bb296cb
TT
79082018-12-28 Tom Tromey <tom@tromey.com>
7909
7910 * gdb.base/style.exp: Add test for breakpoint setting.
7911
80ae2043
TT
79122018-12-28 Tom Tromey <tom@tromey.com>
7913
7914 * gdb.base/style.exp: Add test for variable names.
7915
cbe56571
TT
79162018-12-28 Tom Tromey <tom@tromey.com>
7917
7918 * gdb.base/style.exp: New file.
7919 * gdb.base/style.c: New file.
7920
9162a27c
TT
79212018-12-28 Tom Tromey <tom@tromey.com>
7922
7923 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7924 "dumb".
7925 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7926 the TERM environment variable.
7927
bc543c90
TT
79282018-12-27 Tom Tromey <tom@tromey.com>
7929
7930 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7931 pagination test.
7932
6f0ffe50
AB
79332018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7934
7935 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7936 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7937
b5a1e557
PW
79382018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7939
7940 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7941 Filename a.adb changed to bp_fun_addr.adb.
7942 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7943
6e8b1ab2
JV
79442018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7945
7946 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7947 non-PIE executables.
7948 * README: Mention the gdb,nopie_flag board setting.
7949 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7950 non-PIE executable.
7951 * gdb.arch/amd64-entry-value.exp: Likewise.
7952 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7953 * gdb.arch/i386-float.exp: Likewise.
7954 * gdb.arch/i386-signal.exp: Likewise.
7955 * gdb.mi/mi-reg-undefined.exp: Likewise.
7956
d00a27c5
PM
79572018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7958
7959 PR gdb/23974
7960 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7961
161d081c
PW
79622018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7963
7964 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7965 Update order of results accordingly.
7966
b001de23
AB
79672018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7968
7969 * gdb.base/annota1.exp: Update a test regexp.
7970
99e1a184
AB
79712018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7974
7a81c1e2
PW
79752018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7976
7977 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7978 (reuse_time): Initialize to REUSE_TIME_CAP.
7979 (check_rc): New function.
7980 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7981 Check pthread_create rc.
7982 (spawner_thread_func): Check pthread_create and pthread_join rc.
7983
73e8dc90
PA
79842018-12-08 Pedro Alves <palves@redhat.com>
7985
7986 * gdb.base/list.exp (test_forward_search): Rename to ...
7987 (test_forward_reverse_search): ... this. Also test reverse-search
7988 and the forward-search alias.
7989
13f2ed32
AB
79902018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7991
7992 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7993 local timeout variable before return, and remove all local timeout
7994 variable entirely.
7995 (gdb_load): Likewise.
7996
64d27cfc
TV
79972018-12-01 Tom de Vries <tdevries@suse.de>
7998
7999 * gdb.base/gdb-caching-proc.exp: New file.
8000
f63c03b4
SDJ
80012018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8002
8003 * Makefile.in (TIMESTAMP): New variable.
8004 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8005 command.
8006 (check-single-racy): Likewise.
8007 (check/%.exp): Likewise.
8008 (check-racy/%.exp): Likewise.
8009 (workers/%.worker): Likewise.
8010 (build-perf): Likewise.
8011 (check-perf): Likewise.
8012 * README: Describe new "TS" and "TS_FORMAT" variables.
8013 * print-ts.py: New file.
8014
1c97054b
BF
80152018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8016
8017 PR python/23714
8018 * gdb.python/python.exp: Test command repetition after
8019 gdb.execute.
8020
1871a62d
AB
80212018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8022
8023 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8024 is correctly aligned.
8025
fb5e1ed9
PW
80262018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8027
8028 * gdb.ada/info_auto_lang.exp: New testcase.
8029 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8030 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8031 * gdb.ada/info_auto_lang/some_c.c: New file.
8032
43d397ca
PW
80332018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8034
8035 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8036 FUNC_lang language syntax.
8037
beddd671
PW
80382018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8039
8040 * gdb.base/info_minsym.c: New file.
8041 * gdb.base/info_minsym.exp: New file.
8042
73fc52c4
TT
80432018-11-19 Tom Tromey <tom@tromey.com>
8044
8045 PR rust/23625:
8046 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8047 * gdb.rust/expr.exp: Update expected output. Change one test.
8048
994b876a
TT
80492018-11-19 Tom Tromey <tom@tromey.com>
8050
8051 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8052
6769f276
PA
80532018-11-19 Pedro Alves <palves@redhat.com>
8054
8055 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8056 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8057 see the expected warning.
8058
38a72da0
AH
80592018-11-16 Alan Hayward <alan.hayward@arm.com>
8060
8061 PR gdb/22736:
8062 * gdb.cp/infcall-nodebug-lib.c: New test.
8063 * gdb.cp/infcall-nodebug-main.c: New test.
8064 * gdb.cp/infcall-nodebug.exp: New file.
8065
53a89d6e
SM
80662018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8067
8068 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8069 completer tests.
8070
9325300d
TV
80712018-11-09 Tom de Vries <tdevries@suse.de>
8072
8073 * gdb.base/msym-lang.c: New test.
8074 * gdb.base/msym-lang.exp: New file.
8075 * gdb.base/msym-lang-main.c: New test.
8076
20f0d60d
TT
80772018-11-08 Tom Tromey <tom@tromey.com>
8078
8079 PR gdb/23555:
8080 PR gdb/23838:
8081 * gdb.base/warning.exp: New file.
8082
b5420128
JB
80832018-11-08 Jan Beulich <jbeulich@suse.com>
8084
8085 * testsuite/gdb.arch/i386-avx512.c,
8086 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8087
cd115d61
AB
80882018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8089
8090 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8091 point hardware.
8092
35ee2dc2
AB
80932018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8094
8095 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8096 * gdb.dwarf2/missing-type-name.exp: New file.
8097
31aceee8
TV
80982018-11-06 Tom de Vries <tdevries@suse.de>
8099
8100 * gdb.base/many-headers.c: New test.
8101 * gdb.base/many-headers.exp: New file.
8102
109be305
JW
81032018-11-06 Jim Wilson <jimw@sifive.com>
8104
8105 * gdb.base/code_elim.exp: For riscv, set additional_flags
8106 to include -msmall-data-limit=0.
8107
e2b7af72
JB
81082018-11-01 Joel Brobecker <brobecker@adacore.com>
8109
8110 * gdb.ada/watch_minus_l: New testcase.
8111
cdcda965
SM
81122018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8113
8114 * gdb.arch/aix-sighandle.c: New file.
8115 * gdb.arch/aix-sighandle.exp: New file.
8116
92dcebf3
AB
81172018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8118
8119 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8120 registers being unions.
8121
68b9ac18
TV
81222018-10-31 Tom de Vries <tdevries@suse.de>
8123
8124 * lib/valgrind.exp: New file.
8125 (vgdb_start, vgdb_stop): New procs, factored out of ...
8126 * gdb.base/valgrind-bt.exp: ... here, ...
8127 * gdb.base/valgrind-disp-step.exp: ... here and ...
8128 * gdb.base/valgrind-infcall.exp: ... here.
8129
1443936e
TV
81302018-10-31 Tom de Vries <tdevries@suse.de>
8131
8132 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8133
eb77c9df
AB
81342018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8135
8136 * gdb.dwarf2/void-type.c: New file.
8137 * gdb.dwarf2/void-type.exp: New file.
8138
82b5e646
PW
81392018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8140
8141 * gdb.base/info_qt.c: New file.
8142 * gdb.base/info_qt.exp: New file.
8143
8d619c01
EBM
81442018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8145
8146 * gdb.arch/powerpc-htm-regs.c: New file.
8147 * gdb.arch/powerpc-htm-regs.exp: New file.
8148
f2cf6173
EBM
81492018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8150
8151 * gdb.arch/powerpc-tar.c: New file.
8152 * gdb.arch/powerpc-tar.exp: New file.
8153
7ca18ed6
EBM
81542018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8155
8156 * gdb.arch/powerpc-ppr-dscr.c: New file.
8157 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8158
bfcc0eba
TV
81592018-10-25 Tom de Vries <tdevries@suse.de>
8160
8161 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8162
fe1a5cad
TV
81632018-10-24 Tom de Vries <tdevries@suse.de>
8164
8165 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8166 longer exists error.
8167
a76dc3b7
TV
81682018-10-24 Tom de Vries <tdevries@suse.de>
8169
8170 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8171
4df46df7
TV
81722018-10-24 Tom de Vries <tdevries@suse.de>
8173
8174 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8175 --db-attach in valgrind.
8176
0dbfcfff
AB
81772018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8178
8179 * gdb.arch/riscv-reg-aliases.c: New file.
8180 * gdb.arch/riscv-reg-aliases.exp: New file.
8181
b04480b1
AH
81822018-10-19 Alan Hayward <alan.hayward@arm.com>
8183
8184 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8185
2c6ac8d7
AH
81862018-10-19 Alan Hayward <alan.hayward@arm.com>
8187
8188 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8189
2bc69f25
AH
81902018-10-19 Alan Hayward <alan.hayward@arm.com>
8191
8192 * gdb.cp/ovldbreak.exp: Fix regexps.
8193
1f1ae3a3
AH
81942018-10-19 Alan Hayward <alan.hayward@arm.com>
8195
8196 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8197
94c18618
SDJ
81982018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8199
8200 PR cli/23785
8201 * gdb.base/restore.exp: New test to check if "restore" with an
8202 invalid file doesn't segfault.
8203
812cd6eb
TV
82042018-10-18 Tom de Vries <tdevries@suse.de>
8205
8206 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8207 * gdb.ada/excep_handle.exp: Same.
8208 * gdb.ada/mi_string_access.exp: Same.
8209 * gdb.ada/mi_var_union.exp: Same.
8210 * gdb.arch/arc-analyze-prologue.exp: Same.
8211 * gdb.arch/arc-decode-insn.exp: Same.
8212 * gdb.base/readnever.exp: Same.
8213 * gdb.fortran/printing-types.exp: Same.
8214 * gdb.guile/scm-lazy-string.exp: Same.
8215
c4b90788
TV
82162018-10-16 Tom de Vries <tdevries@suse.de>
8217
8218 PR gdb/23730
8219 * gdb.base/catch-follow-exec.c: Add copyright notice.
8220 * gdb.base/catch-follow-exec.exp: Rewrite to use
8221 gdb_spawn_with_cmdline_opts. Require gdb-native.
8222
8bca2978
SL
82232018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8224
8225 * gdb.trace/actions-changed.exp: Check for arch support.
8226 * gdb.trace/actions.exp: Likewise.
8227 * gdb.trace/ax.exp: Likewise.
8228 * gdb.trace/backtrace.exp: Likewise.
8229 * gdb.trace/change-loc.exp: Likewise.
8230 * gdb.trace/deltrace.exp: Likewise.
8231 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8232 * gdb.trace/ftrace.exp: Likewise.
8233 * gdb.trace/infotrace.exp: Check for arch support.
8234 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8235 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8236 * gdb.trace/mi-tsv-changed.exp: Likewise.
8237 * gdb.trace/packetlen.exp: Likewise.
8238 * gdb.trace/passc-dyn.exp: Likewise.
8239 * gdb.trace/passcount.exp: Likewise.
8240 * gdb.trace/pending.exp: Likewise.
8241 * gdb.trace/range-stepping.exp: Check for shlib support.
8242 * gdb.trace/report.exp: Check for arch support.
8243 * gdb.trace/save-trace.exp: Likewise.
8244 * gdb.trace/signal.exp: Check for signal support.
8245 * gdb.trace/tfind.exp: Check for arch support.
8246 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8247 * gdb.trace/trace-common.h: Add comment.
8248 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8249 * gdb.trace/trace-enable-disable.exp: Likewise.
8250 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8251 * gdb.trace/tracecmd.exp: Check for arch support.
8252 * gdb.trace/tspeed.exp: Check for shlib and target support.
8253 * gdb.trace/tstatus.exp: Check for arch support.
8254 * gdb.trace/tsv.exp: Likewise.
8255 * gdb.trace/while-dyn.exp: Likewise.
8256 * gdb.trace/while-stepping.exp: Likewise.
8257 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8258
f9c49bff
SM
82592018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8260
8261 * gdb.trace/tspeed.exp: Remove nowarnings.
8262 (prepare_for_trace_test): Declare "global ipalib".
8263 * gdb.trace/tspeed.c: Include unistd.h.
8264 (main): Remove superfluous printf argument.
8265
d4330bde
SL
82662018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8267
8268 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8269 directory prefix on the filename.
8270
8ecfd7bd
SDJ
82712018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8272
8273 * gdb.gdb/unittest.exp: Update expected message informing that
8274 selftests have been disabled.
8275 * gdb.server/unittest.exp: Likewise.
8276
58bbcd02
TV
82772018-10-09 Tom de Vries <tdevries@suse.de>
8278
8279 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8280 with runto_main.
8281
9f6b697b
WP
82822018-10-08 Weimin Pan <weimin.pan@oracle.com>
8283
8284 PR c++/16841
8285 * gdb.cp/virtbase2.cc: New file.
8286 * gdb.cp/virtbase2.exp: New file.
8287
add5ded5
TT
82882018-10-06 Tom Tromey <tom@tromey.com>
8289
8290 PR python/19399:
8291 * gdb.python/py-inferior.exp: Add architecture test.
8292
f9e48344
TT
82932018-10-06 Tom Tromey <tom@tromey.com>
8294
8295 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8296 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8297
2a8be203
TT
82982018-10-06 Tom Tromey <tom@tromey.com>
8299
8300 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8301 of a "throw" catchpoint.
8302
e04caa70
SDJ
83032018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8304
8305 * gdb.base/info-proc.exp: Update string expected from "help info
8306 proc".
8307
5ca8c39f
TT
83082018-10-04 Tom Tromey <tom@tromey.com>
8309
8310 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8311 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8312 (test_initial_complaints, test_empty_complaints): Update.
8313 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8314
3453e7e4
TT
83152018-10-04 Tom Tromey <tom@tromey.com>
8316
8317 PR cli/19551:
8318 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8319 * lib/gdb.exp (gdb_file_cmd): Update.
8320 * gdb.stabs/weird.exp (print_weird_var): Update.
8321 * gdb.server/solib-list.exp: Update.
8322 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8323 * gdb.mi/mi-cli.exp: Update.
8324 * gdb.linespec/linespec.exp: Update.
8325 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8326 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8327 * gdb.cp/cp-relocate.exp: Update.
8328 * gdb.base/sym-file.exp: Update.
8329 * gdb.base/relocate.exp: Update.
8330 * gdb.base/readnever.exp: Update.
8331 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8332 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8333 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8334 * gdb.base/code_elim.exp: Update.
8335 * gdb.base/break-unload-file.exp (test_break): Update.
8336 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8337 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8338 Update.
8339 * gdb.base/attach.exp (do_attach_tests): Update.
8340 * gdb.base/sepdebug.exp: Update.
8341 * gdb.python/py-section-script.exp: Update.
8342
6afcf761
TT
83432018-10-04 Tom Tromey <tom@tromey.com>
8344
8345 PR cli/22234:
8346 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8347 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8348 output.
8349
fef1b293
TT
83502018-10-04 Tom Tromey <tom@tromey.com>
8351
8352 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8353 set width and height to 0.
8354 (test_command_line_attach_run): Use -quiet.
8355
ca98345e
SL
83562018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8357
8358 * lib/gdb.exp (skip_ifunc_tests): New.
8359 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8360 other compile failures.
8361 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8362
ff34e6ae
SM
83632018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8364
8365 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8366 is_amd64_regs_target.
8367
6bb8890e
AH
83682018-10-01 Alan Hayward <alan.hayward@arm.com>
8369
8370 * gdb.arch/aarch64-sighandler-regs.c: New test.
8371 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8372 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8373
224d30d3
MM
83742018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8375
8376 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8377 assembly.
8378
f67ffa6a
AB
83792018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8380
8381 * gdb.base/frame-selection.exp: New file.
8382 * gdb.base/frame-selection.c: New file.
8383
9fc3183f
AH
83842018-09-27 Alan Hayward <alan.hayward@arm.com>
8385
8386 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8387 pthread barrier.
8388 (main): Likewise.
8389
d354055e
AB
83902018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8391
8392 * gdb.base/large-frame-1.c: New file.
8393 * gdb.base/large-frame-2.c: New file.
8394 * gdb.base/large-frame.exp: New file.
8395 * gdb.base/large-frame.h: New file.
8396
db727370
JL
83972018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8398
8399 PR gdb/20948
8400 * gdb.base/write_mem.exp: New test.
8401 * gdb.base/write_mem.c: Likewise.
8402
ae778caf
TT
84032018-09-23 Tom Tromey <tom@tromey.com>
8404
8405 PR python/18852:
8406 * gdb.python/py-parameter.exp: Add test for parameter that throws
8407 on "set".
8408
fd3ba736
TT
84092018-09-23 Tom Tromey <tom@tromey.com>
8410
8411 PR python/17284:
8412 * gdb.python/py-template.exp (test_template_arg): Add test for
8413 negative template argument number.
8414
39a24317
TT
84152018-09-23 Tom Tromey <tom@tromey.com>
8416
8417 PR python/14062:
8418 * gdb.python/python.exp: Add test for post_event error.
8419
f5769a2c
TT
84202018-09-23 Tom Tromey <tom@tromey.com>
8421
8422 PR python/18170:
8423 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8424 convert pointers to int and long.
8425
1c1e54f6
TT
84262018-09-23 Tom Tromey <tom@tromey.com>
8427
8428 PR python/20126:
8429 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8430 signed-ness conversion tests.
8431
fb4fa946
TT
84322018-09-23 Tom Tromey <tom@tromey.com>
8433
8434 PR python/18352;
8435 * gdb.python/py-value.exp (test_float_conversion): New proc.
8436 Use it.
8437
a466edac
HAQ
84382018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8439
8440 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8441
4ee9b0c5
SL
84422018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8443
8444 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8445 no readline.
8446 * gdb.base/utf8-identifiers.exp: Likewise.
8447 * gdb.cp/cpcompletion.exp: Likewise.
8448 * gdb.linespec/cpcompletion.exp: Likewise.
8449 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8450 * gdb.linespec/cpls-ops.exp: Likewise.
8451
23be8da7
RB
84522018-09-19 Richard Bunt <richard.bunt@arm.com>
8453 Chris January <chris.january@arm.com>
8454
8455 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8456 * gdb.fortran/short-circuit-argument-list.exp: New file.
8457 * gdb.fortran/short-circuit-argument-list.f90: New test.
8458
5031d0ae
SDJ
84592018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8460
8461 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8462 "arch=" keyword when executing "-stack-list-frames".
8463
b4c0d1a4
SDJ
84642018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8465
8466 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8467 "arch=" keyword when executing "-stack-list-frames".
8468
7a6d2b45
SDJ
84692018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8470
8471 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8472 break ada".
8473
8588b356
SM
84742018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8475
8476 PR python/23669
8477 * gdb.python/python.exp: Test gdb.execute("show commands").
8478
65e65158
TT
84792018-09-16 Tom Tromey <tom@tromey.com>
8480
8481 * gdb.base/new-ui.exp (do_execution_tests): Update.
8482 * gdb.base/dbx.exp (test_breakpoints): Update.
8483
bf326452
AH
84842018-09-14 Alan Hayward <alan.hayward@arm.com>
8485
8486 * lib/gdb.exp (gdb_simple_compile): Add proc.
8487 (is_elf_target): Use gdb_simple_compile.
8488 (skip_altivec_tests): Likewise.
8489 (skip_vsx_tests): Likewise.
8490 (skip_tsx_tests): Likewise.
8491 (skip_btrace_tests): Likewise.
8492 (skip_btrace_pt_tests): Likewise.
8493 (gdb_can_simple_compile): Likewise.
8494 (gdb_has_argv0): Likewise.
8495 (gdb_target_symbol_prefix): Likewise.
8496 (target_supports_scheduler_locking): Likewise.
8497
2361b0fb
TT
84982018-09-13 Tom Tromey <tom@tromey.com>
8499
8500 * Makefile.in (TAGS): Recognize proc_with_prefix and
8501 gdb_caching_proc.
8502
0ae1a321
SM
85032018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8504
8505 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8506 method.
8507
a40bf0c2
SM
85082018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8509
8510 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8511 and a few other Inferior properties when the Inferior is no
8512 longer valid.
8513
4a3fe98f
TT
85142018-09-13 Tom Tromey <tom@tromey.com>
8515
8516 PR rust/23650:
8517 * gdb.rust/simple.exp: Add test for enum field access error.
8518
098b2108
TT
85192018-09-13 Tom Tromey <tom@tromey.com>
8520
8521 PR rust/23626:
8522 * gdb.rust/simple.rs (EmptyEnum): New type.
8523 (main): Use it.
8524 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8525
1256af7d
SM
85262018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8527
8528 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8529 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8530 * gdb.python/py-symtab.exp: Update test printing an objfile.
8531
4aa8e6c2
SM
85322018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8533
8534 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8535 object.
8536
c221b2f7
AH
85372018-09-12 Alan Hayward <alan.hayward@arm.com>
8538
8539 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8540 (support_complex_tests): Use gdb_can_simple_compile.
8541 (is_ilp32_target): Likewise.
8542 (is_lp64_target): Likewise.
8543 (is_64_target): Likewise.
8544 (is_amd64_regs_target): Likewise.
8545 (is_aarch32_target): Likewise.
8546 (gdb_int128_helper): Likewise.
8547
6f1107b5
JK
85482018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8549
8550 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8551
1f5d1570
JG
85522018-09-10 Jerome Guitton <guitton@adacore.com>
8553
8554 * gdb.ada/same_component_name: Add test for case of tagged record
8555 with variable-length fields.
8556
cc330e39
XR
85572018-09-10 Xavier Roirand <roirand@adacore.com>
8558
8559 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8560 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8561 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8562 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8563
b9c50e9a
XR
85642018-09-10 Xavier Roirand <roirand@adacore.com>
8565
8566 * gdb.ada/mi_string_access.exp: New testcase.
8567 * gdb.ada/mi_string_access/bar.adb: New file.
8568 * gdb.ada/mi_string_access/pck.adb: New file.
8569 * gdb.ada/mi_string_access/pck.asd: New file.
8570
2963898f
XR
85712018-09-10 Xavier Roirand <roirand@adacore.com>
8572
8573 * gdb.ada/mi_var_union.exp: New testcase.
8574 * gdb.ada/mi_var_union/bar.adb: New file.
8575 * gdb.ada/mi_var_union/pck.adb: New file.
8576 * gdb.ada/mi_var_union/pck.asd: New file.
8577
1aac008f
TT
85782018-09-08 Tom Tromey <tom@tromey.com>
8579
8580 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8581
332cf4c9
TT
85822018-09-08 Tom Tromey <tom@tromey.com>
8583
8584 PR python/16047:
8585 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8586 (register_pretty_printers): Register new printer.
8587 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8588 test.
8589 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8590 (an_int_type3): New global.
8591
424da6cf
JB
85922018-09-08 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.ada/expr_with_funcall: New testcase.
8595
2a62dfa9
JB
85962018-09-08 Joel Brobecker <brobecker@adacore.com>
8597
8598 * gdb.ada/packed_array_assign: New testcase.
8599
96b6697f
AB
86002018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8601
8602 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8603 names, and add test prefixes to make test names unique.
8604
e4a62c65
TV
86052018-09-05 Tom de Vries <tdevries@suse.de>
8606
8607 * gdb.dwarf2/varval.exp: Add test.
8608
dd083ee2
GB
86092018-09-04 Gary Benson <gbenson@redhat.com>
8610
8611 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8612 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8613
aef9346c
TT
86142018-08-31 Tom Tromey <tom@tromey.com>
8615
8616 * gdb.rust/simple.rs: Rename second variable "v".
8617
c67f2e15
AB
86182018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8619
8620 * gdb.base/funcargs.c (use_a): New function.
8621 (recurse): Call use_a.
8622
078a0207
KS
86232018-08-29 Keith Seitz <keiths@redhat.com>
8624
8625 * gdb.compile/compile-cplus-anonymous.cc: New file.
8626 * gdb.compile/compile-cplus-anonymous.exp: New file.
8627 * gdb.compile/compile-cplus-array-decay.cc: New file.
8628 * gdb.compile/compile-cplus-array-decay.exp: New file.
8629 * gdb.compile/compile-cplus-inherit.cc: New file.
8630 * gdb.compile/compile-cplus-inherit.exp: New file.
8631 * gdb.compile/compile-cplus-member.cc: New file.
8632 * gdb.compile/compile-cplus-member.exp: New file.
8633 * gdb.compile/compile-cplus-method.cc: New file.
8634 * gdb.compile/compile-cplus-method.exp: New file.
8635 * gdb.compile/compile-cplus-mod.c: "New" file.
8636 * gdb.compile/compile-cplus-namespace.cc: New file.
8637 * gdb.compile/compile-cplus-namespace.exp: New file.
8638 * gdb.compile/compile-cplus-nested.cc: New file.
8639 * gdb.compile/compile-cplus-nested.exp: New file.
8640 * gdb.compile/compile-cplus-print.c: "New" file.
8641 * gdb.compile/compile-cplus-print.exp: "New" file.
8642 * gdb.compile/compile-cplus-virtual.cc: New file.
8643 * gdb.compile/compile-cplus-virtual.exp: New file.
8644 * gdb.compile/compile-cplus.c: "New" file.
8645 * gdb.compile/compile-cplus.exp: "New" file.
8646 * lib/compile-support.exp: New file.
8647
b0f492b9
GB
86482018-08-16 Gary Benson <gbenson@redhat.com>
8649
8650 PR gdb/13000:
8651 * gdb.base/batch-exit-status.exp: New file.
8652 * gdb.base/batch-exit-status.good-commands: Likewise.
8653 * gdb.base/batch-exit-status.bad-commands: Likewise.
8654
36eb4c5f
AH
86552018-08-29 Alan Hayward <alan.hayward@arm.com>
8656
8657 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8658 (struct struct02): Likewise.
8659 (struct struct03): Likewise.
8660 (struct struct04): Likewise.
8661 (struct struct_01_01): New struct.
8662 (struct struct_01_02): Likewise.
8663 (struct struct_01_03): Likewise.
8664 (struct struct_01_04): Likewise.
8665 (struct struct_02_01): Likewise.
8666 (struct struct_02_02): Likewise.
8667 (struct struct_02_03): Likewise.
8668 (struct struct_02_04): Likewise.
8669 (struct struct_04_01): Likewise.
8670 (struct struct_04_02): Likewise.
8671 (struct struct_04_03): Likewise.
8672 (struct struct_04_04): Likewise.
8673 (struct struct_05_01): Likewise.
8674 (struct struct_05_02): Likewise.
8675 (struct struct_05_03): Likewise.
8676 (struct struct_05_04): Likewise.
8677 (cmp_struct01): Remove function.
8678 (cmp_struct02): Likewise.
8679 (cmp_struct03): Likewise.
8680 (cmp_struct04): Likewise.
8681 (cmp_struct_01_01): Add Function.
8682 (cmp_struct_01_02): Likewise.
8683 (cmp_struct_01_03): Likewise.
8684 (cmp_struct_01_04): Likewise.
8685 (cmp_struct_02_01): Likewise.
8686 (cmp_struct_02_02): Likewise.
8687 (cmp_struct_02_03): Likewise.
8688 (cmp_struct_02_04): Likewise.
8689 (cmp_struct_04_01): Likewise.
8690 (cmp_struct_04_02): Likewise.
8691 (cmp_struct_04_03): Likewise.
8692 (cmp_struct_04_04): Likewise.
8693 (cmp_struct_05_01): Likewise.
8694 (cmp_struct_05_02): Likewise.
8695 (cmp_struct_05_03): Likewise.
8696 (cmp_struct_05_04): Likewise.
8697 (call_all): Add new structs.
8698 * gdb.base/infcall-nested-structs.exp: Likewise.
8699
3bf9c013
JV
87002018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8701
8702 * gdb.python/py-framefilter-mi.exp: Update regexp to
8703 check for "arch" field in frame output.
8704
450d1e88
KB
87052018-08-23 Kevin Buettner <kevinb@redhat.com>
8706
8707 * gdb.dwarf2/dw2-ranges-func.c: New file.
8708 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8709
ae739fe7
SM
87102018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8711
8712 * gdb.base/term.exp: Compare terminal settings with values from
8713 the inferior.
8714 * gdb.base/term.c: Get and set terminal settings.
8715
6d52907e
JV
87162018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8717
8718 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8719 accommodate new "arch" field in frame output.
8720 * gdb.mi/mi-return.exp: Likewise.
8721 * gdb.mi/mi-stack.exp: Likewise.
8722 * gdb.mi/mi-syn-frame.exp: Likewise.
8723 * gdb.mi/user-selected-context-sync.exp: Likewise.
8724
be2d111a
MS
87252018-08-19 Michael Spang <spang@google.com>
8726
8727 PR gdb/11786
8728 * gdb.base/gcore-tls-pie.c: New file.
8729 * gdb.base/gcore-tls-pie.exp: New file.
8730
ae3a7c47
KB
87312018-08-18 Kevin Buettner <kevinb@redhat.com>
8732
8733 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8734 * gdb.dwarf2/varval.c: New file.
8735 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8736
2ecae92e
AH
87372018-08-17 Alan Hayward <alan.hayward@arm.com>
8738
8739 PR gdb/18931
8740 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8741
c1854f1d
KS
87422018-08-16 Keith Seitz <keiths@redhat.com>
8743
8744 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8745 tests expected to pass.
8746
26fb3983
JV
87472018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8748
8749 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8750 -data-disassemble -a.
8751 (test_disassembly_bogus_args): Likewise.
8752
67943c00
AB
87532018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8754
8755 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8756
5ff2bbae
AB
87572018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8758
8759 * gdb.base/vla-optimized-out.exp: Add new test.
8760
e5bbcd0f
AB
87612018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8762
8763 * gdb.base/vla-optimized-out-o3.exp: Delete.
8764 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8765 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8766 deleted tests.
8767
9d4a934c
AB
87682018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8769
8770 PR gdb/18050:
8771 * gdb.server/extended-remote-restart.c: New file.
8772 * gdb.server/extended-remote-restart.exp: New file.
8773
045cf012
SM
87742018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8775
8776 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8777 "set variable index = 42".
8778
87d6a7aa
SM
87792018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8780
8781 * boards/index-cache-gdb.exp: New file.
8782 * gdb.dwarf2/index-cache.exp: New file.
8783 * gdb.dwarf2/index-cache.c: New file.
8784 * gdb.base/maint.exp: Check if we are using the index cache.
8785
96d68bd4
RO
87862018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8787
8788 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8789 MAKEFLAGS.
8790
5a699617
RO
87912018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8792
8793 * dg-extract-results.sh: Move to toplevel contrib.
8794 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8795 * Makefile.in (check-parallel-racy): Likewise.
8796
5bd18990
AB
87972018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8798
8799 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8800 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8801 tests if the target supports scheduler locking.
8802
3fbbcf47
TV
88032018-08-04 Tom de Vries <tdevries@suse.de>
8804
8805 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8806
3e1d3d8c
TT
88072018-08-02 Tom Tromey <tom@tromey.com>
8808
8809 PR symtab/16842.
8810 * gdb.cp/temargs.exp: Test "info address" of a template
8811 parameter.
8812
5abe0f0c
JV
88132018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8814
8815 * gdb.python/py-mi-var-info-path-expression.c: New file.
8816 * gdb.python/py-mi-var-info-path-expression.py: New file.
8817 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8818
fb66cde8
SDJ
88192018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8820
8821 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8822 error after "cannot resolve name" string.
8823
c708f4d2
AB
88242018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8825
8826 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8827 started.
8828 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8829
37cc0cae
TV
88302018-07-28 Tom de Vries <tdevries@suse.de>
8831
8832 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8833
63b4ecf7
TV
88342018-07-26 Tom de Vries <tdevries@suse.de>
8835
8836 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8837
3c3bb058
AB
88382018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8839
8840 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8841 is visible.
8842
9e7f3bbb
TV
88432018-07-26 Tom de Vries <tdevries@suse.de>
8844
8845 PR breakpoints/23366
8846 * gdb.base/catch-follow-exec.c: New test.
8847 * gdb.base/catch-follow-exec.exp: New file.
8848
16f808ec
TV
88492018-07-25 Tom de Vries <tdevries@suse.de>
8850
8851 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8852 vla-optimized-out.c.
8853
d7154a8d
JV
88542018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8855
8856 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8857 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8858
232a0032
TV
88592018-07-20 Tom de Vries <tdevries@suse.de>
8860
8861 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8862 NOCLONE macro.
8863 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8864
fbb1d502
TV
88652018-07-19 Tom de Vries <tdevries@suse.de>
8866
8867 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8868 regular expression.
8869
42dc7699
TV
88702018-07-18 Tom de Vries <tdevries@suse.de>
8871
8872 * gdb.base/vla-optimized-out.c: New test.
8873 * gdb.base/vla-optimized-out.exp: New file.
8874
7f1f7e23
SDJ
88752018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8876
8877 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8878 message "No address associated with hostname" when gdbserver
8879 cannot resolve the hostname.
8880
5759ebb3
PW
88812018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8882
8883 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8884 Add some test prefixes to make tests unique.
8885
3606ccab
PW
88862018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8887
8888 * gdb.base/frameapply.c: New file.
8889 * gdb.base/frameapply.exp: New file.
8890
529c08b2
PW
88912018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8892
8893 * gdb.base/skip.exp: Update expected error message.
8894
c7ab0aef
SDJ
88952018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8896 Jan Kratochvil <jan.kratochvil@redhat.com>
8897 Paul Fertser <fercerpav@gmail.com>
8898 Tsutomu Seki <sekiriki@gmail.com>
8899
8900 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8901 parameter.
8902 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8903 by default.
8904 * boards/native-gdbserver.exp: Likewise.
8905 * gdb.server/run-without-local-binary.exp: Improve regexp used
8906 for detecting when a remote debugging connection succeeds.
8907 * gdb.server/server-connect.exp: New file.
8908 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8909 Do not prefix the port number with ":".
8910 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8911 support for detecting and using it. Add '$debughost_gdbserver'
8912 to the list of arguments used to start gdbserver. Handle case
8913 when gdbserver cannot resolve a network name.
8914
16ff70dd
SDJ
89152018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8916
8917 PR c++/23373
8918 * gdb.base/ptype-offsets.cc (struct static_member): New
8919 struct.
8920 (main) <stmember>: New variable.
8921 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8922 with a static member in it.
8923
3541979f
AB
89242018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8925
8926 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8927 watchpoints enabled and disabled.
8928
c8ad9b9a
AB
89292018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8930
8931 * gdb.base/examine-backward.exp: Still run tests around address
8932 0x0, even if address 0x0 is not readable. Update the pattern for
8933 matching address 0x0 in expected output.
8934
e0e5e971
AB
89352018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8936
8937 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8938 malloc/free.
8939
1ea5da02
TV
89402018-07-04 Tom de Vries <tdevries@suse.de>
8941
8942 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8943
471b9d15
MR
89442018-07-02 Maciej W. Rozycki <macro@mips.com>
8945
8946 PR tdep/8282
8947 * gdb.arch/mips-disassembler-options.exp: New test.
8948 * gdb.arch/mips-disassembler-options.s: New test source.
8949
75acb486
PA
89502018-06-29 Pedro Alves <palves@redhat.com>
8951
8952 * gdb.threads/names.exp: Adjust expected "info threads" output.
8953
cd2bb709
PA
89542018-06-29 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.opt/inline-break.exp (line number, address): Add "info
8957 break" tests.
8958
991ff292
PA
89592018-06-29 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8962 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8963 number and address and running to them.
8964
356819b6 89652018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8966
8967 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8968
2512d7ef
JK
89692018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8970
8971 * lib/compiler.c: Remove executable permission flag.
8972
be1b6474
RB
89732018-06-28 Richard Bunt <richard.bunt@arm.com>
8974
8975 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8976 code.
8977 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8978
291f9a96
PT
89792018-06-28 Petr Tesarik <ptesarik@suse.cz>
8980
8981 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8982
ed6dfe51
PT
89832018-06-28 Petr Tesarik <ptesarik@suse.cz>
8984
8985 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8986 address argument is omitted.
8987
d4d429d5
PT
89882018-06-28 Petr Tesarik <ptesarik@suse.cz>
8989
8990 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8991
7ab6656f
OJ
89922018-06-27 Omair Javaid <omair.javaid@linaro.org>
8993
8994 PR gdb/21695
8995 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8996 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8997
a33ccfc7
TT
89982018-06-26 Tom Tromey <tom@tromey.com>
8999
9000 PR rust/22574:
9001 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9002 * gdb.rust/simple.rs (struct SimpleLayout): New.
9003
6d72d289
SM
90042018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9005
9006 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9007 "info registers" output.
9008
8363f9d5
RB
90092018-06-21 Richard Bunt <richard.bunt@arm.com>
9010
9011 * gdb.base/watchpoint-hw-attach.c: New test.
9012 * gdb.base/watchpoint-hw-attach.exp: New file.
9013
f00674fe
SM
90142018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9015
9016 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9017 through /bin/sh.
9018 * boards/dwarf4-gdb-index.exp: Likewise.
9019 * boards/fission-dwp.exp: Likewise.
9020
1d554008
UW
90212018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9022
9023 * gdb.base/float128.exp: Add comment and improved fail message
9024 to the failure case of "print large128" test.
9025
d0ac1c44
SM
90262018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9027
9028 * configure.ac: Remove AC_PREREQ.
9029 * configure: Re-generate.
9030
61b04dd0
PA
90312018-06-19 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9034 (func_extern_caller): New.
9035 (main): Call func_extern_caller.
9036 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9037 logic change.
9038
f63b508a
SM
90392018-06-18 Weimin Pan <weimin.pan@oracle.com>
9040
9041 PR gdb/16841
9042 * gdb.cp/typedef-base.cc: New file.
9043 * gdb.cp/typedef-base.exp: New file.
9044
0fe3a558
TV
90452018-06-18 Tom de Vries <tdevries@suse.de>
9046
9047 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9048
7010835a
AB
90492018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9050 Richard Bunt <Richard.Bunt@arm.com>
9051
9052 * gdb.threads/attach-slow-waitpid.c: New file.
9053 * gdb.threads/attach-slow-waitpid.exp: New file.
9054 * gdb.threads/slow-waitpid.c: New file.
9055
14897d65
PA
90562018-06-14 Pedro Alves <palves@redhat.com>
9057
9058 * gdb.base/fork-running-state.c: Include <errno.h>.
9059 (exit_if_relative_exits): New.
9060 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9061 exits.
9062 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9063 child exits.
9064
5d9a0608
TV
90652018-06-14 Tom de Vries <tdevries@suse.de>
9066
9067 PR cli/22573
9068 * gdb.base/finish-pretty.c: New test.
9069 * gdb.base/finish-pretty.exp: New file.
9070
11ae5818
PA
90712018-06-14 Pedro Alves <palves@redhat.com>
9072
9073 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9074 gdb's expected startup output.
9075
1d39de44
PA
90762018-06-14 Pedro Alves <palves@redhat.com>
9077
9078 * lib/selftest-support.exp (selftest_setup): Remove inlined
9079 function handling.
9080
70ee0000
TV
90812018-06-14 Tom de Vries <tdevries@suse.de>
9082
9083 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9084 matching of breakpoint printing.
9085
11f4b608
TV
90862018-06-13 Tom de Vries <tdevries@suse.de>
9087
9088 PR testsuite/23269
9089 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9090 (fork_child): ... here, and ...
9091 (fork_parent): ... here.
9092
90932018-06-12 Tom de Vries <tdevries@suse.de>
9094
9095 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9096
9516f85a
AB
90972018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9098 Stephen Roberts <stephen.roberts@arm.com>
9099
9100 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9101 rewrite test to describe action performed, rather than possible
9102 failure.
9103
5045b3d7
GB
91042018-06-08 Gary Benson <gbenson@redhat.com>
9105
9106 * gdb.threads/check-libthread-db.exp: New file.
9107 * gdb.threads/check-libthread-db.c: Likewise.
9108
c61b06a1
TT
91092018-06-05 Tom Tromey <tom@tromey.com>
9110
9111 * gdb.base/default.exp: Update expected "show version" output.
9112
eb6af809
TT
91132018-06-05 Tom Tromey <tom@tromey.com>
9114
9115 PR cli/12326:
9116 * gdb.cp/static-print-quit.exp: Update.
9117 * lib/gdb.exp (pagination_prompt): Update.
9118 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9119 * gdb.python/python.exp: Update.
9120
178d6a63
JB
91212018-06-04 Joel Brobecker <brobecker@adacore.com>
9122
9123 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9124
8e817061
JB
91252018-06-01 Joel Brobecker <brobecker@adacore.com>
9126
9127 * gdb.ada/bp_fun_addr: New testcase.
9128
e86ca25f
TT
91292018-06-01 Tom Tromey <tom@tromey.com>
9130
9131 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9132 results.
9133 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9134 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9135 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9136 * gdb.base/maint.exp (maint_pass_if): Update.
9137
4b2dfa9d
MR
91382018-05-31 Maciej W. Rozycki <macro@mips.com>
9139
9140 * gdb.base/endian.exp: New test.
9141 * gdb.base/endian.c: New test source.
9142
45f25d6c
AB
91432018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9144
9145 PR gdb/23203
9146 * gdb.base/bt-selected-frame.c: New file.
9147 * gdb.base/bt-selected-frame.exp: New file.
9148 * lib/gdb.exp (get_current_frame_number): New function.
9149
d9f6d7f8
MR
91502018-05-24 Maciej W. Rozycki <macro@mips.com>
9151 Pedro Alves <palves@redhat.com>
9152
9153 * gdb.threads/tls-core.c: Include <stdlib.h>
9154 (thread_proc): Call `abort'.
9155 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9156 (tls_core_test): New procedure, bits factored out from ...
9157 (top level): ... here. Test both native cores and gcore cores.
9158
ff1cf532
TT
91592018-05-23 Tom Tromey <tom@tromey.com>
9160
9161 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9162
b98664d3
TT
91632018-05-23 Tom Tromey <tom@tromey.com>
9164
9165 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9166 symfile_complaints.
9167 (test_short_complaints): Likewise.
9168 (test_empty_complaints): Likewise.
9169 (test_initial_complaints): Update.
9170
4e9668d0
TT
91712018-05-23 Tom Tromey <tom@tromey.com>
9172
9173 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9174
43ba33c7
TT
91752018-05-23 Tom Tromey <tom@tromey.com>
9176
9177 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9178 (test_short_complaints): Update.
9179
035522c0
PA
91802018-05-22 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.base/remote.exp: Only gdb_start after compiling the
9183 testcase. Issue "disconnect" before testing "set remote" command
9184 defaults. Issue clean_restart before running to main.
9185
cc0be08f
PA
91862018-05-22 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.base/remote.exp: Adjust expected output of "show remote
9189 memory-write-packet-size". Add tests for "set remote
9190 memory-write-packet-size 0" and "set remote
9191 memory-write-packet-size fixed/limit".
9192
b1b60145
PA
91932018-05-22 Pedro Alves <palves@redhat.com>
9194
9195 PR gdb/22973
9196 * gdb.base/utf8-identifiers.c: New file.
9197 * gdb.base/utf8-identifiers.exp: New file.
9198
0ec848ad
PFC
91992018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9200
9201 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9202
2c3305f6
PFC
92032018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9204
9205 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9206
ce1e8424
TT
92072018-05-18 Tom Tromey <tom@tromey.com>
9208
9209 * gdb.base/ptype-offsets.exp: Update.
9210
ddfe970e
KS
92112018-05-17 Keith Seitz <keiths@redhat.com>
9212
9213 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9214 in expected breakpoint stop locations.
9215 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9216 move to proper scope to test variable values.
9217 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9218 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9219 New functions.
9220 (main): Call not_inline_func3.
9221 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9222 inline_func1, inline_func2, and inline_func3. Test that when each
9223 breakpoint is hit, GDB properly reports both the stop location
9224 and the backtrace. Repeat tests for temporary breakpoints.
9225
0726fcc6
MR
92262018-05-15 Maciej W. Rozycki <macro@mips.com>
9227
9228 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9229 rather then trying to access it in determining whether the PID
9230 of `gdbserver' could have been retrieved.
9231
8ee22052
AB
92322018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9233
9234 * gdb.arch/amd64-init-x87-values.S: New file.
9235 * gdb.arch/amd64-init-x87-values.exp: New file.
9236
7785df48
JK
92372018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9238
9239 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9240
56bcdbea
TT
92412018-05-04 Tom Tromey <tom@tromey.com>
9242
9243 PR python/22730:
9244 * gdb.python/python.exp: Test multi-line execute.
9245
a913fffb
TT
92462018-05-04 Tom Tromey <tom@tromey.com>
9247
9248 PR python/22731:
9249 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9250
7a2c85f2
TT
92512018-05-04 Tom Tromey <tom@tromey.com>
9252
9253 PR gdb/11750:
9254 * gdb.base/define.exp: Test defining a user command inside a user
9255 command.
9256 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9257
a3b60e45
JK
92582018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9259 Pedro Alves <palves@redhat.com>
9260
9261 PR breakpoints/19806 and support for PR external/20207.
9262 * gdb.base/watchpoint-unaligned.c: New file.
9263 * gdb.base/watchpoint-unaligned.exp: New file.
9264
45fe4a03
AB
92652018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9266
9267 * gdb.base/maint.exp: Make test names unique, use
9268 test_prefix_command_help to test 'help maint info', and remove
9269 repeated test of 'help maint'.
9270
9be2ae8f
TT
92712018-05-04 Tom Tromey <tom@tromey.com>
9272
9273 PR gdb/22619:
9274 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9275 behavior.
9276
11859c31
AB
92772018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9278
9279 * gdb.base/maint.exp: Process output from 'maint print registers'
9280 line at a time.
9281
089a9490
AB
92822018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9283
9284 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9285 timeout.
9286
9b0797e2
AB
92872018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9288
9289 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9290 filter pattern.
9291
f6ac5f3d
PA
92922018-05-02 Pedro Alves <palves@redhat.com>
9293
9294 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9295 to_log_command renames.
9296 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9297
77d3c63b
TT
92982018-05-02 Tom Tromey <tom@tromey.com>
9299
9300 * gdb.python/py-parameter.exp: Set test message.
9301
0489430a
TT
93022018-05-02 Tom Tromey <tom@tromey.com>
9303
9304 PR python/20084:
9305 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9306 PARAM_ZUINTEGER_UNLIMITED tests.
9307
1632f8ba
DR
93082018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9309
9310 PR rust/23124
9311 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9312 when casting.
9313
6d7bb824
TT
93142018-04-30 Tom Tromey <tom@tromey.com>
9315
9316 * gdb.python/py-type.exp: Check align attribute.
9317 * gdb.python/py-type.c: New "aligncheck" global.
9318
007e1530
TT
93192018-04-30 Tom Tromey <tom@tromey.com>
9320
9321 PR exp/17095:
9322 * gdb.dwarf2/dw2-align.exp: New file.
9323 * gdb.cp/align.exp: New file.
9324 * gdb.base/align.exp: New file.
9325 * lib/gdb.exp (gdb_int128_helper): New proc.
9326 (has_int128_c, has_int128_cxx): New caching procs.
9327
6873858b
TT
93282018-04-27 Tom Tromey <tom@tromey.com>
9329
9330 PR rust/22545:
9331 * gdb.rust/simple.exp: Add inclusive range tests.
9332
79188d8d
PA
93332018-04-26 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9336 ifunc breakpoint locations correctly of ifunc breakpoints set
9337 while the program resolves the ifunc.
9338
c7075ad5
PA
93392018-04-26 Pedro Alves <palves@redhat.com>
9340
9341 * gdb.base/gnu-ifunc-final.c: New file.
9342 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9343 * gdb.base/gnu-ifunc.exp (executable): Delete.
9344 (staticexecutable): Adjust.
9345 (lib_opts, exec_opts): Delete.
9346 (make_binsuffix, build, set-break): New procedures.
9347 (misc_tests): New, with tests factored out from the top level.
9348 (top level): Test different combinations of ifunc resolver name,
9349 resolver with and with debug info, and ifunc target with and
9350 without debug info. Wrap static tests with with_target_prefix.
9351
8388016d
PA
93522018-04-26 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9355 return type" warnings.
9356
249b5733
PA
93572018-04-25 Pedro Alves <palves@redhat.com>
9358
9359 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9360 killed".
9361 * gdb.base/kill-after-signal.exp: Likewise.
9362 * gdb.threads/kill.exp: Likewise.
9363
f67c0c91
SDJ
93642018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9365 Sergio Durigan Junior <sergiodj@redhat.com>
9366 Pedro Alves <palves@redhat.com>
9367
9368 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9369 regexps to expect for '[Inferior ... detached]' as well.
9370 * gdb.base/attach.exp: Likewise.
9371 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9372 "gdb_continue_to_end".
9373 (test_catch_syscall_with_wrong_args): Likewise.
9374 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9375 ']'. Don't set 'verbose' on.
9376 * gdb.base/foll-vfork.exp: Likewise.
9377 * gdb.base/fork-print-inferior-events.c: New file.
9378 * gdb.base/fork-print-inferior-events.exp: New file.
9379 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9380 '[Inferior ... has been killed]' message.
9381 * gdb.base/kill-after-signal.exp: Likewise.
9382 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9383 detach message.
9384 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9385 message.
9386 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9387 regexps to expect for '[Inferior ... detached]' as well.
9388 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9389
0a8ddac4
SM
93902018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9391
9392 PR gdb/23104
9393 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9394
701adfb0
PA
93952018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9396
9397 PR gdb/23095
9398 * gdb.base/break-probes.exp: Pass shlib_load to
9399 prepare_for_testing. Set normal_bp to r_debug_state if target is
9400 bsd.
9401
d27d16bf
RB
94022018-04-19 Richard Bunt <richard.bunt@arm.com>
9403
9404 * gdb.threads/multiple-successive-infcall.c: New test.
9405 * gdb.threads/multiple-successive-infcall.exp: New file.
9406
a037790e
TT
94072018-04-17 Tom Tromey <tom@tromey.com>
9408
9409 * gdb.rust/simple.rs (Union): New type.
9410 (main): New local "u".
9411 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9412
e3a91079
AA
94132018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9414
9415 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9416 number information in output of "whereis" command.
9417 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9418
b744723f
AA
94192018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9420
9421 * gdb.ada/info_types.exp: Adjust expected output to the line
9422 numbers now printed by "info var/func/type".
9423 * gdb.base/completion.exp: Likewise.
9424 * gdb.base/included.exp: Likewise.
9425 * gdb.cp/cp-relocate.exp: Likewise.
9426 * gdb.cp/cplusfuncs.exp: Likewise.
9427 * gdb.cp/namespace.exp: Likewise.
9428 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9429
4a4495d6
MM
94302018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9431
9432 * gdb.btrace/cpu.exp: New.
9433
1d509aa6
MM
94342018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9435
9436 * gdb.base/step-indirect-call-thunk.exp: New.
9437 * gdb.base/step-indirect-call-thunk.c: New.
9438 * gdb.reverse/step-indirect-call-thunk.exp: New.
9439 * gdb.reverse/step-indirect-call-thunk.c: New.
9440
6295b6da
SM
94412018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9442
9443 * gdb.base/pie-fork.c: New file.
9444 * gdb.base/pie-fork.exp: New file.
9445
50146e70
TT
94462018-04-11 Tom Tromey <tom@tromey.com>
9447
9448 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9449
f50d8a2e
PA
94502018-04-10 Pedro Alves <palves@redhat.com>
9451
9452 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9453 exits. Instead loop running forever.
9454 (fork_parent): Run forever too.
9455
a0be7a36
SM
94562018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9457
9458 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9459 mi_continue_to_line.
9460 * gdb.mi/mi-stack.c (callee4): Add comment.
9461
9b73db36
SM
94622018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9463
9464 * gdb.mi/mi-stack.exp: Fix indentation.
9465
c912f608
SM
94662018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9467
9468 PR gdb/22979
9469 * gdb.arch/amd64-osabi.exp: New file.
9470
26540402
SM
94712018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9472
9473 PR gdb/22980
9474 * gdb.base/osabi.exp: New file.
9475
121ad66c 94762018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9477
9478 * gdb.cp/static-typedef-print.exp: New file.
9479 * gdb.cp/static-typedef-print.cc: New file.
9480
3fcded8f
JB
94812018-03-27 Joel Brobecker <brobecker@adacore.com>
9482
9483 * gdb.ada/varsize_limit: New testcase.
9484
59cc4834
JB
94852018-03-27 Joel Brobecker <brobecker@adacore.com>
9486
9487 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9488
9489 * gdb.ada/notcplusplus: New testcase.
9490
9491 * gdb.base/c-linkage-name.c: New file.
9492 * gdb.base/c-linkage-name.exp: New testcase.
9493
4ca59a9f
TT
94942018-03-26 Tom Tromey <tom@tromey.com>
9495
9496 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9497 * gdb.python/py-framefilter.py (name_error): New global.
9498 (ErrorInName.function): Use name_error.
9499
978d6c75
TT
95002018-03-26 Tom Tromey <tom@tromey.com>
9501
9502 PR backtrace/15582:
9503 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9504
b7fee5a3
KS
95052018-03-23 Keith Seitz <keiths@redhat.com>
9506
9507 PR c++/22968
9508 * gdb.cp/subtypes.exp: New file.
9509 * gdb.cp/subtypes.h: New file.
9510 * gdb.cp/subtypes.cc: New file.
9511 * gdb.cp/subtypes-2.cc: New file.
9512
376be529
AB
95132018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9514
9515 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9516 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9517 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9518 -nostartfiles when compiling the test. Confirm that all registers
9519 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9520
066cfa98
AB
95212018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9522
9523 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9524 option, syntax was wrong anyway.
9525 * gdb.arch/arm-disp-step.exp: Likewise.
9526 * gdb.arch/sparc64-regs.exp: Likewise.
9527 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9528 option, syntax was wrong anyway, switch to use
9529 prepare_for_testing.
9530 * gdb.arch/i386-disp-step.exp: Likewise.
9531
079670b9
AA
95322018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9533
9534 * gdb.ada/exec_changed.exp: Replace "target_info exists
9535 use_gdb_stub" by "use_gdb_stub".
9536 * gdb.ada/start.exp: Likewise.
9537 * gdb.base/async-shell.exp: Likewise.
9538 * gdb.base/attach-pie-misread.exp: Likewise.
9539 * gdb.base/attach-wait-input.exp: Likewise.
9540 * gdb.base/break-entry.exp: Likewise.
9541 * gdb.base/break-interp.exp: Likewise.
9542 * gdb.base/dprintf-detach.exp: Likewise.
9543 * gdb.base/nostdlib.exp: Likewise.
9544 * gdb.base/solib-nodir.exp: Likewise.
9545 * gdb.base/statistics.exp: Likewise.
9546 * gdb.base/testenv.exp: Likewise.
9547 * gdb.mi/mi-exec-run.exp: Likewise.
9548 * gdb.mi/mi-start.exp: Likewise.
9549 * gdb.multi/dummy-frame-restore.exp: Likewise.
9550 * gdb.multi/multi-arch-exec.exp: Likewise.
9551 * gdb.multi/multi-arch.exp: Likewise.
9552 * gdb.multi/tids.exp: Likewise.
9553 * gdb.multi/watchpoint-multi.exp: Likewise.
9554 * gdb.python/py-events.exp: Likewise.
9555 * gdb.threads/attach-into-signal.exp: Likewise.
9556 * gdb.threads/attach-stopped.exp: Likewise.
9557 * gdb.threads/threadapply.exp: Likewise.
9558 * lib/selftest-support.exp: Likewise.
9559
26d6cec4
AA
95602018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9561
9562 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9563
4ee89e90
SR
95642018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9565
9566 * gdb.perf/template-breakpoints.cc: New file.
9567 * gdb.perf/template-breakpoints.exp: New file.
9568 * gdb.perf/template-breakpoints.py: New file.
9569
92630041
TT
95702018-03-19 Tom Tromey <tom@tromey.com>
9571
9572 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9573 y0.
9574 * gdb.rust/simple.exp: Test bare identifier form of struct
9575 initializer.
9576
76727919
TT
95772018-03-19 Tom Tromey <tom@tromey.com>
9578
9579 * gdb.gdb/observer.exp: Remove.
9580
194ed413
AA
95812018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9582
9583 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9584 "qualified" option when setting breakpoints.
9585 * gdb.trace/backtrace.exp: Likewise.
9586 * gdb.trace/circ.exp: Likewise.
9587 * gdb.trace/collection.exp: Likewise.
9588 * gdb.trace/disconnected-tracing.exp: Likewise.
9589 * gdb.trace/ftrace-lock.exp: Likewise.
9590 * gdb.trace/ftrace.exp: Likewise.
9591 * gdb.trace/infotrace.exp: Likewise.
9592 * gdb.trace/packetlen.exp: Likewise.
9593 * gdb.trace/passc-dyn.exp: Likewise.
9594 * gdb.trace/qtro.exp: Likewise.
9595 * gdb.trace/read-memory.exp: Likewise.
9596 * gdb.trace/report.exp: Likewise.
9597 * gdb.trace/signal.exp: Likewise.
9598 * gdb.trace/status-stop.exp: Likewise.
9599 * gdb.trace/strace.exp: Likewise.
9600 * gdb.trace/tfind.exp: Likewise.
9601 * gdb.trace/trace-break.exp: Likewise.
9602 * gdb.trace/trace-condition.exp: Likewise.
9603 * gdb.trace/trace-mt.exp: Likewise.
9604 * gdb.trace/tstatus.exp: Likewise.
9605 * gdb.trace/tsv.exp: Likewise.
9606 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9607 * gdb.trace/unavailable.exp: Likewise.
9608 * gdb.trace/while-dyn.exp: Likewise.
9609
8b067d2c
AA
96102018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9611
9612 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9613 that libinproctrace is copied to the target.
9614
3ae9ce5d
TT
96152018-03-14 Tom Tromey <tom@tromey.com>
9616
9617 PR cli/14977:
9618 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9619 a null pointer.
9620 * gdb.base/wchar.exp: Likewise.
9621
b8c2339b
TT
96222018-03-14 Tom Tromey <tom@tromey.com>
9623
9624 PR cli/19918:
9625 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9626 flag.
9627
4872dc46
SM
96282018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9629
9630 PR gdb/22841
9631 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9632 "target" to remote_exec.
9633
e4fe3756
SM
96342018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9635
9636 PR gdb/22841
9637 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9638 ${board}_upload): Remove.
9639
e95a97d4
AA
96402018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9641
9642 * gdb.cp/watch-cp.cc: New test.
9643 * gdb.cp/watch-cp.exp: New file.
9644
dbbb1059
AB
96452018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9646
9647 * gdb.base/infcall-nested-structs.exp: New file.
9648 * gdb.base/infcall-nested-structs.c: New file.
9649 * gdb.base/float.exp: Add riscv support.
9650
ecc054c0
TP
96512018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9652
9653 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9654 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9655
25e3c82c
SDJ
96562018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9657
9658 * gdb.server/abspath.exp: New file.
9659 * lib/gdb.exp (with_cwd): New procedure.
9660
3083294d
SM
96612018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9662
9663 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9664 use it.
9665 (gdb_is_target_remote_prompt): New proc.
9666 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9667 (gdb_is_target_native): Pass prompt parameter to
9668 gdb_is_target_1.
9669
3275ef47
SM
96702018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9671
9672 * gdb.base/load-command.c: New file.
9673 * gdb.base/load-command.exp: New file.
9674 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9675 (gdb_is_target_1): ...this, and generalize for other targets
9676 than just remote.
9677 (gdb_is_target_remote): Use gdb_is_target_1.
9678 (gdb_is_target_native): use gdb_is_target_1.
9679
6893c19a
TT
96802018-02-26 Tom Tromey <tom@tromey.com>
9681
9682 PR python/16497:
9683 * gdb.python/py-framefilter.exp: Update test.
9684
2ddeaf8a
TT
96852018-02-26 Tom Tromey <tom@tromey.com>
9686
9687 * gdb.dwarf2/variant.c: New file.
9688 * gdb.dwarf2/variant.exp: New file.
9689
c9317f21
TT
96902018-02-26 Tom Tromey <tom@tromey.com>
9691
9692 * gdb.rust/simple.exp: Accept more possible results in enum test.
9693
6f6d0c26
SM
96942018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9695
9696 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9697 parentheses.
9698
11b03145
MR
96992018-02-23 Maciej W. Rozycki <macro@mips.com>
9700
9701 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9702 name of a variable: $actual_linejj -> $actual_line.
9703
54a27fe5
JB
97042018-02-21 John Baldwin <jhb@FreeBSD.org>
9705
9706 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9707
de65820c
MM
97082018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9709
9710 * gdb.btrace/buffer-size.exp: Do not force BTS.
9711
980548fd
PA
97122018-02-14 Pedro Alves <palves@redhat.com>
9713
9714 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9715 getting a "Quit".
9716
c4e12631
MM
97172018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9718
9719 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9720 Fix test name.
9721
c2e0e465
SM
97222018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9723
9724 * gdb.cp/m-static.exp: Check type of optimized out static
9725 member.
9726
f7216783
AB
97272018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9728
9729 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9730 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9731
0625771b
LS
97322018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9733 Leszek Swirski <leszeks@google.com>
9734
9735 * gdb.python/py-prettyprint.c
9736 (struct to_string_returns_value_inner,
9737 struct to_string_returns_value_wrapper): New.
9738 (main): Add tsrvw variable.
9739 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9740 ToStringReturnsValueWrapper): New classes.
9741 (register_pretty_printers): Register new pretty-printers.
9742 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9743 recursive pretty printer.
9744 * gdb.python/py-mi.exp: Likewise.
9745
59498c30
LS
97462018-02-01 Leszek Swirski <leszeks@google.com>
9747
9748 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9749 functions with the same name as an include file are parsed
9750 correctly.
9751
d4d38844
YQ
97522018-02-01 Yao Qi <yao.qi@linaro.org>
9753
9754 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9755 "\[^\r\n\]*".
9756
07e5f5cf
NP
97572018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9758
9759 * gdb.arch/powerpc-prologue-frame.s: New file.
9760 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9761 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9762
929b5ad4
JB
97632018-01-31 Joel Brobecker <brobecker@adacore.com>
9764
9765 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9766
e671cd59
PA
97672018-01-30 Pedro Alves <palves@redhat.com>
9768
9769 PR gdb/13211
9770 * gdb.base/interrupt-daemon.c: New.
9771 * gdb.base/interrupt-daemon.exp: New.
9772 * gdb.multi/multi-term-settings.c: New.
9773 * gdb.multi/multi-term-settings.exp: New.
9774
fc413dc4
JB
97752018-01-30 Joel Brobecker <brobecker@adacore.com>
9776
9777 * gdb.base/break.exp: Save the location where the breakpoint
9778 on break.c:47 was actually inserted when debugging the version
9779 compiled at -O2 and use it in the expected output of the "info
9780 break" test performed soon after.
9781
5c319bb2
PA
97822018-01-22 Pedro Alves <palves@redhat.com>
9783 Sergio Durigan Junior <sergiodj@redhat.com>
9784
9785 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9786 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9787
a9e40818
JB
97882018-01-22 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.base/break-include.c, gdb.base/break-include.inc,
9791 gdb.base/break-include.exp: New files.
9792 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9793 line number now being the actual line number where the breakpoint
9794 was inserted.
9795 * gdb.mi/mi-break.exp: Likewise.
9796 * gdb.mi/mi-reverse.exp: Likewise.
9797 * gdb.mi/mi-simplerun.exp: Ditto.
9798
e707fc44
AB
97992018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9800
9801 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9802 varobj.
9803 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9804
ae451627
AB
98052018-01-21 Don Breazeal <donb@codesourcery.com>
9806 Andrew Burgess <andrew.burgess@embecosm.com>
9807
9808 * gdb.mi/basics.c: Add new global.
9809 * gdb.mi/mi-frame-regs.exp: New file.
9810 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9811 case.
9812
b1b189e0
AB
98132018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9814
9815 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9816 non-parameter, and on an unknown symbol.
9817
fcfcc376
TT
98182018-01-19 Tom Tromey <tom@tromey.com>
9819
9820 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9821 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9822
634c1c31
AA
98232018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9824
9825 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9826 setrlimit and chdir to int.
9827
d6ad07fd
AA
98282018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9829
9830 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9831 function.
9832 (my_tend): Likewise.
9833 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9834 rationale of avoiding FP- and vector instructions.
9835
adf8243b
RK
98362018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9837
9838 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9839 "info reg" with "\[ \t\]*".
9840 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9841 "\[ \t\]+".
9842 * gdb.arch/s390-multiarch.exp: Ditto.
9843 * gdb.base/pc-fp.exp: Ditto.
9844 * gdb.reverse/i386-precsave.exp: Ditto.
9845 * gdb.reverse/i386-reverse.exp: Ditto.
9846 * gdb.reverse/i387-env-reverse.exp: Ditto.
9847 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9848
dcc06925
AA
98492018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9850
9851 * lib/gdb.exp (gdb_compile): Re-enable use of
9852 universal_compile_options for languages other than Rust.
9853
25d4fd80
AA
98542018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9855
9856 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9857
ee7f689e 98582018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9859
9860 PR gdb/16577
9861 * gdb.base/solib-vanish.exp: New.
9862 * gdb.base/solib-vanish-main.c: New.
9863 * gdb.base/solib-vanish-lib1.c: New.
9864 * gdb.base/solib-vanish-lib2.c: New.
9865
d8447b6b
YQ
98662018-01-17 Yao Qi <yao.qi@linaro.org>
9867
9868 * gdb.compile/compile.exp: Match the address printed for
9869 frame in the output of command "bt".
9870
86d6a90c
TT
98712018-01-15 Tom Tromey <tom@tromey.com>
9872
9873 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9874 compute sp_reg.
9875
cbcdb1aa
AB
98762018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9877
9878 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9879 to prepare.
9880 (prepare): Return 0 on error, 1 on success.
9881
eea61984
PA
98822018-01-12 Pedro Alves <palves@redhat.com>
9883
9884 * gdb.base/continue-after-aborted-step-over.c: New.
9885 * gdb.base/continue-after-aborted-step-over.exp: New.
9886
6181e9c2
SM
98872018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9888
9889 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9890 options when not creating an executable.
9891
3cada740
PA
98922018-01-11 Pedro Alves <palves@redhat.com>
9893
9894 PR remote/22597
9895 * gdb.server/stop-reply-no-thread.c: New file.
9896 * gdb.server/stop-reply-no-thread.exp: New file.
9897
c63d3e8d
PA
98982018-01-10 Pedro Alves <palves@redhat.com>
9899
9900 PR gdb/22670
9901 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9902 functions too. Test setting breakpoints and printing C functions
9903 with no debug info too.
9904 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9905
d4c2a405
PA
99062018-01-10 Pedro Alves <palves@redhat.com>
9907
9908 PR gdb/22670
9909 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9910 a fail.
9911
8825213e
PA
99122018-01-10 Pedro Alves <palves@redhat.com>
9913
9914 PR gdb/22670
9915 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9916
605fd3c6
YQ
99172018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9918
9919 * gdb.server/unittest.exp: Match the output in non-development
9920 mode.
9921
1e5ded6c
YQ
99222018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9923
9924 * gdb.gdb/unittest.exp: Match output in non-development mode.
9925
30066b0b
JB
99262018-01-08 Joel Brobecker <brobecker@adacore.com>
9927
9928 * gdb.ada/access_tagged_param.exp: Relax expected output
9929 for value of "ObjL" in "continue" to pck.inspect breakpoint
9930 test.
9931
04bafb1e
XR
99322018-01-08 Joel Brobecker <brobecker@adacore.com>
9933
9f86398b
JB
9934 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9935 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9936
e379cee6
PA
99372018-01-05 Pedro Alves <palves@redhat.com>
9938
9939 PR gdb/18653
9940 * gdb.base/libsegfault.exp: New.
9941
de63c46b
PA
99422018-01-05 Joel Brobecker <brobecker@adacore.com>
9943
9944 PR gdb/22670
9945 * gdb.ada/access_tagged_param.exp: New file.
9946 * gdb.ada/access_tagged_param/foo.adb: New file.
9947
f98fc17b
PA
99482018-01-05 Pedro Alves <palves@redhat.com>
9949
9950 PR gdb/22670
9951 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9952 exercise lower case too, and to exercise both full matching and
9953 wild matching.
9954
342f8240
JB
99552018-01-05 Joel Brobecker <brobecker@adacore.com>
9956
9957 * gdb.ada/rename_subscript_param: New testcase.
9958
7150d33c
JG
99592018-01-05 Jerome Guitton <guitton@adacore.com>
9960
9961 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9962
cc0e770c
JB
99632018-01-05 Joel Brobecker <brobecker@adacore.com>
9964
9965 * gdb.ada/convvar_comp: New testcase.
9966
672a41aa 99672018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9968
9969 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9970 (My_Table): New global variable.
9971 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9972
7365ec2f
JB
99732018-01-04 Joel Brobecker <brobecker@adacore.com>
9974
9975 PR gdb/22670
9976 * gdb.ada/maint_with_ada: New testcase.
9977
289483b6
JB
99782018-01-04 Joel Brobecker <brobecker@adacore.com>
9979
9980 PR gdb/22670
9981 * gdb.ada/bp_c_mixed_case: New testcase.
9982
344420da
JB
99832018-01-04 Joel Brobecker <brobecker@adacore.com>
9984
9985 PR gdb/22670
9986 * gdb.ada/complete.exp: Add "complete break ada" test.
9987
66fc87a0
JB
99882018-01-04 Joel Brobecker <brobecker@adacore.com>
9989
9990 PR gdb/22670
9991 * gdb.ada/info_addr_mixed_case: New testcase.
9992
9f757bf7
XR
99932018-01-03 Xavier Roirand <roirand@adacore.com>
9994
9995 * gdb.ada/excep_handle.exp: New testcase.
9996 * gdb.ada/excep_handle/foo.adb: New file.
9997 * gdb.ada/excep_handle/pck.ads: New file.
9998
bd570f80
JB
99992018-01-03 Joel Brobecker <brobecker@adacore.com>
10000
10001 * gdb.base/step-line.c: Add extra empty line in copyright header.
10002 * gdb.base/step-line.inp: Likewise.
10003
9fe561ab
JB
100042018-01-02 Joel Brobecker <brobecker@adacore.com>
10005
10006 * gdb.ada/dyn_stride.exp: Add slice test.
10007
a405673c
JB
100082018-01-02 Joel Brobecker <brobecker@adacore.com>
10009
10010 * gdb.ada/dyn_stride: New testcase.
10011
cef0f868
SH
100122017-12-27 Stafford Horne <shorne@gmail.com>
10013
10014 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10015 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10016
b67d92b0
SH
100172017-12-27 Stafford Horne <shorne@gmail.com>
10018
10019 * gdb.base/reggroups.c: New file.
10020 * gdb.base/reggroups.exp: New file.
10021
eccab96d
JB
100222017-12-18 Joel Brobecker <brobecker@adacore.com>
10023
10024 * gdb.dwarf2/ada-valprint-error.c: New file.
10025 * gdb.dwarf2/ada-valprint-error.exp: New file.
10026
0e2da9f0
JB
100272017-12-18 Joel Brobecker <brobecker@adacore.com>
10028
10029 * gdb.ada/assign_arr: New testcase.
10030
cb923fcc
XR
100312017-12-18 Xavier Roirand <roirand@adacore.com>
10032
10033 * gdb.ada/funcall_ptr: New testcase.
10034
7c161838
SDJ
100352017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10036
10037 PR cli/16224
10038 * gdb.base/ptype-offsets.cc: New file.
10039 * gdb.base/ptype-offsets.exp: New file.
10040
1af17fd9
YQ
100412017-12-15 Yao Qi <yao.qi@linaro.org>
10042
10043 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10044 if XML is disabled.
10045
828d5846
XR
100462017-12-15 Xavier Roirand <roirand@adacore.com>
10047
10048 * gdb.ada/same_component_name: New testcase.
10049
79e8fcaa
JB
100502017-12-14 Joel Brobecker <brobecker@adacore.com>
10051
10052 * gdb.ada/str_binop_equal: New testcase.
10053
e05fa6f9
JB
100542017-12-14 Joel Brobecker <brobecker@adacore.com>
10055
10056 * gdb.ada/task_switch_in_core: New testcase.
10057
b89641ba
SM
100582017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10059
10060 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10061 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10062 call test_bkpt_qualified.
10063 (test_bkpt_qualified): New proc.
10064
6892d2e4
PA
100652017-12-13 Pedro Alves <palves@redhat.com>
10066
10067 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10068 Tighten regexp by matching with an anchor.
10069
a22ecf70
PA
100702017-12-13 Pedro Alves <palves@redhat.com>
10071
10072 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10073 ("expression with namespace"): New set of tests.
10074 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10075 (Nested::Test_NS::qux): New.
10076 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10077 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10078
9937536c
JB
100792017-12-13 Joel Brobecker <brobecker@adacore.com>
10080
10081 * gdb.base/server-del-break.c: New file.
10082 * gdb.base/server-del-break.exp: New file.
10083
fe49c6f5
SH
100842017-12-12 Stafford Horne <shorne@gmail.com>
10085
10086 * gdb.xml/tdesc-regs.exp: Add or1k support.
10087
c3d18620
SH
100882017-12-12 Stafford Horne <shorne@gmail.com>
10089
10090 * gdb.base/bp-permanent.c: Define nop of or1k.
10091
c5f9cfc8
JB
100922017-12-11 Joel Brobecker <brobecker@adacore.com>
10093
10094 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10095 output with components being reordered.
10096
a9c135fc
JB
100972017-12-11 Joel Brobecker <brobecker@adacore.com>
10098
10099 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10100 output with components being reordered.
10101
927aa2e7
JK
101022017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10103 Pedro Alves <palves@redhat.com>
10104
10105 * gdb.base/maint.exp (check for .gdb_index): Check also for
10106 .debug_names.
10107 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10108 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10109 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10110 (.gdb_index used after symbol reloading): Support also .debug_names.
10111 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10112
f17d9474
YQ
101132017-12-08 Yao Qi <yao.qi@linaro.org>
10114
10115 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10116 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10117
a0de8c21
YQ
101182017-12-08 Yao Qi <yao.qi@linaro.org>
10119
10120 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10121 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10122
a738ea1d
YQ
101232017-12-08 Yao Qi <yao.qi@linaro.org>
10124
10125 * gdb.arch/aarch64-tagged-pointer.c: New file.
10126 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10127
1cd9a73b
SDJ
101282017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10129
10130 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10131 "int".
10132
fa6eb693
KS
101332017-12-07 Keith Seitz <keiths@redhat.com>
10134
10135 PR breakpoints/22569
10136 * gdb.linespec/ls-errs.exp: Change expected result of "break
10137 -source this file has spaces.c -line 3".
10138 Check that an explicit source file followed by whitespace is
10139 identified as an invalid explicit location.
10140
883fd55a
KS
101412017-12-07 Keith Seitz <keiths@redhat.com>
10142
10143 * gdb.cp/nested-types.cc: New file.
10144 * gdb.cp/nested-types.exp: New file.
10145 * lib/cp-support.exp: Load data-structures.exp library.
10146 (debug_cp_test_ptype_class): New global.
10147 (cp_ptype_class_verbose, next_line): New procedures.
10148 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10149 Add and document new return value.
10150 Switch the list of lines to a queue.
10151 Add support for new `type' key for nested type definitions.
10152 Add debugging/troubleshooting messages.
10153 * lib/data-structures.exp: New file.
10154
ec72db3e
SM
101552017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10156
10157 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10158 with proc_with_prefix, don't use with_test_prefix.
10159
99598d71
TT
101602017-12-07 Tom Tromey <tom@tromey.com>
10161
10162 * gdb.base/break.exp: Add test for empty "commands".
10163
a8806230
YQ
101642017-12-07 Yao Qi <yao.qi@linaro.org>
10165
10166 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10167 malloc and catch syscall.
10168
824cc835
PM
101692017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10170
e79be6e5 10171 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10172 tests for explicit locations.
10173
7cc244de
PA
101742017-12-06 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10177 force-disabling XML descriptions.
10178
50a1fdd5
PA
101792017-12-04 Pedro Alves <palves@redhat.com>
10180
10181 PR gdb/22499
10182 * gdb.arch/amd64-disp-step-avx.S: New file.
10183 * gdb.arch/amd64-disp-step-avx.exp: New file.
10184
f0fb2488
PA
101852017-12-03 Pedro Alves <palves@redhat.com>
10186
10187 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10188 and <string.h>.
10189 (parent_function): Print distinct messages when waitpid fails, or
10190 the child exits with a signal, or the child exits for an unhandled
10191 reason.
10192 * gdb.threads/process-dies-while-detaching.exp
10193 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10194 it. Wait for both inferior output and GDB's prompt. Use an
10195 indirect spawn id list.
10196 (do_detach): New parameter 'child_exit'. Use it to compute
10197 expected inferior output.
10198 (test_detach, test_detach_watch, test_detach_killed_outside):
10199 Adjust to pass down the expected child exit kind.
10200
97cbe998
SDJ
102012017-12-01 Joel Brobecker <brobecker@adacore.com>
10202 Sergio Durigan Junior <sergiodj@redhat.com>
10203 Pedro Alves <palves@redhat.com>
10204
10205 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10206
40fc416f
SDJ
102072017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10208
10209 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10210 to 'symbol-file' and 'add-symbol-file' can be
10211 position-independent.
10212
1cc75e92
YQ
102132017-12-01 Yao Qi <yao.qi@linaro.org>
10214
10215 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10216 the URL in copyright header.
10217 * gdb.arch/aarch64-fp.exp: Likewise.
10218 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10219 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10220 * gdb.base/expand-psymtabs.exp: Likewise.
10221 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10222 * gdb.fortran/common-block.exp: Likewise.
10223 * gdb.fortran/common-block.f90: Likewise.
10224 * gdb.fortran/logical.exp: Likewise.
10225 * gdb.fortran/vla-datatypes.f90: Likewise.
10226 * gdb.fortran/vla-sub.f90: Likewise.
10227
875fb7a7
JB
102282017-11-30 Joel Brobecker <brobecker@adacore.com>
10229
10230 * gdb.ada/repeat_dyn: New testcase.
10231
6f14765f
UW
102322017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10233
10234 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10235 Update for changed thread numbering.
10236 * gdb.cell/bt.exp: Update for changed GDB output.
10237
f1af7b94
SM
102382017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10239
10240 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10241 setting isremote by hand.
10242 * boards/dwarf4-gdb-index.exp: Likewise.
10243 * boards/fission.exp: Likewise.
10244 * boards/stabs.exp: Likewise.
10245
e3919f3e
PA
102462017-11-30 Pedro Alves <palves@redhat.com>
10247
10248 * gdb.linespec/cpls-ops.exp
10249 (check_explicit_skips_function_argument): Extract the underlying
10250 type of size_t instead of hardcoding it.
10251
bd69330d
PA
102522017-11-29 Pedro Alves <palves@redhat.com>
10253
10254 PR c++/19436
10255 * gdb.linespec/cpls-abi-tag.cc: New file.
10256 * gdb.linespec/cpls-abi-tag.exp: New file.
10257
a20714ff
PA
102582017-11-29 Pedro Alves <palves@redhat.com>
10259
10260 * gdb.base/langs.exp: Use -qualified.
10261 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10262 it.
10263 * gdb.cp/namespace.exp: Use -qualified.
10264 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10265 (overload-3, template-overload, template-ret-type, const-overload)
10266 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10267 procedures.
10268 (test_driver): Call them.
10269 * gdb.cp/save-bp-qualified.cc: New.
10270 * gdb.cp/save-bp-qualified.exp: New.
10271 * gdb.linespec/explicit.exp: Test -qualified.
10272 * lib/completion-support.exp (completion::explicit_opts_list): Add
10273 "-qualified".
10274 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10275
f6f1d339
PM
102762017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10277
10278 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10279
02ca603a
TT
102802017-11-29 Tom Tromey <tom@tromey.com>
10281
10282 * gdb.base/relocate.exp: Update invalid argument test.
10283 Add new tests for invalid arguments.
10284
ed6c0bfb
TP
102852017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10286
10287 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10288 Return 0 as a long.
10289 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10290
f106e10e
TP
102912017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10292
10293 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10294 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10295 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10296 func ().
10297 * gdb.cp/shadow.cc (B.func): Return 0.
10298
10329bb2
JB
102992017-11-27 Joel Brobecker <brobecker@adacore.com>
10300
10301 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10302 expected output in gdb_expect call to allow the exception
10303 message to be present as well. Fix syntax confusion to avoid
10304 TCL thinking that exception_name is an array.
10305
617cd4bc
UW
103062017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10307
10308 * gdb.arch/spu-info.c: Include <unistd.h>.
10309 (do_signal_test): Fix broken calls to write.
10310 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10311 Fix checks for empty mailboxes. Update signal tests for corrected
10312 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10313 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10314 * gdb.cell/arch.exp: Use standard_output_file.
10315 * gdb.cell/break.exp: Likewise.
10316 * gdb.cell/bt.exp: Likewise.
10317 * gdb.cell/core.exp: Likewise.
10318 * gdb.cell/dwarfaddr.exp: Likewise.
10319 * gdb.cell/ea-cache.exp: Likewise.
10320 * gdb.cell/ea-standalone.exp: Likewise.
10321 * gdb.cell/f-regs.exp: Likewise.
10322 * gdb.cell/fork.exp: Likewise.
10323 * gdb.cell/gcore.exp: Likewise.
10324 * gdb.cell/mem-access.exp: Likewise.
10325 * gdb.cell/ptype.exp: Likewise.
10326 * gdb.cell/registers.exp: Likewise.
10327 * gdb.cell/sizeof.exp: Likewise.
10328 * gdb.cell/solib-symbol.exp: Likewise.
10329 * gdb.cell/solib.exp: Likewise.
617cd4bc 10330
a81aaca0
PA
103312017-11-25 Pedro Alves <palves@redhat.com>
10332
10333 * gdb.base/complete-empty.exp: New file.
10334 * gdb.base/completion.exp: Adjust.
10335
6a3c6ee4
PA
103362017-11-25 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.linespec/cpls-ops.cc: New file.
10339 * gdb.linespec/cpls-ops.exp: New file.
10340 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10341 factored out from ...
10342 (test_complete_prefix_range): ... this.
10343
8955eb2d
PA
103442017-11-24 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.linespec/cpcompletion.exp: New file.
10347 * gdb.linespec/cpls-hyphen.cc: New file.
10348 * gdb.linespec/cpls.cc: New file.
10349 * gdb.linespec/cpls2.cc: New file.
10350 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10351 test to use test_gdb_complete_unique. Add label completion,
10352 keyword completion and explicit location completion tests.
10353 * lib/completion-support.exp: New file.
10354
e547c119
JB
103552017-11-24 Joel Brobecker <brobecker@adacore.com>
10356
10357 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10358 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10359 when hitting an exception catchpoint.
10360
7c3c1aa8
YQ
103612017-11-22 Yao Qi <yao.qi@linaro.org>
10362
10363 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10364
41bd68f5
SM
103652017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10366
10367 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10368 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10369 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10370
1daad298
YQ
103712017-11-22 Yao Qi <yao.qi@linaro.org>
10372
10373 * gdb.base/info-os.exp: Pass pthreads.
10374 * gdb.multi/multi-attach.exp: Likewise.
10375
88465e87
YQ
103762017-11-22 Yao Qi <yao.qi@linaro.org>
10377
10378 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10379 compiler.
10380
dc196b23
YQ
103812017-11-22 Yao Qi <yao.qi@linaro.org>
10382
10383 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10384 * gdb.base/break-interp.exp: Likewise.
10385 * gdb.base/jit-attach-pie.exp: Likewise.
10386
2400729e
UW
103872017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10388
10389 * gdb.base/float128.c (large128): New variable.
10390 * gdb.base/float128.exp: Add test to print largest __float128 value.
10391
7a26362d
UW
103922017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10393
10394 * gdb.arch/vsx-regs.exp: Update register content checks.
10395
ed0f4273
UW
103962017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10397
10398 * gdb.arch/ppc-longdouble.exp: New file.
10399 * gdb.arch/ppc-longdouble.c: Likewise.
10400
a25d69c6
PA
104012017-11-21 Pedro Alves <palves@redhat.com>
10402
10403 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10404
73fcf641
PA
104052017-11-20 Pedro Alves <palves@redhat.com>
10406
10407 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10408 (long_double_typedef): New typedefs.
10409 Use DEF on double and long double.
10410 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10411 cases.
10412 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10413 and 'long_double_ptr_same_size' locals. Use them to decide
10414 whether cast from array/function to float is valid/invalid.
10415
71a3c369
TT
104162017-11-17 Tom Tromey <tom@tromey.com>
10417
10418 * gdb.rust/traits.rs: New file.
10419 * gdb.rust/traits.exp: New file.
10420
ced9779b
JB
104212017-11-17 Joel Brobecker <brobecker@adacore.com>
10422
10423 * gdb.ada/minsyms: New testcase.
10424
a0922d80
PA
104252017-11-16 Pedro Alves <palves@redhat.com>
10426
10427 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10428 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10429
ea04e54c
PA
104302017-11-16 Pedro Alves <palves@redhat.com>
10431
10432 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10433 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10434
e849ea89
PA
104352017-11-16 Pedro Alves <palves@redhat.com>
10436
10437 * gdb.server/reconnect-ctrl-c.c: New file.
10438 * gdb.server/reconnect-ctrl-c.exp: New file.
10439
d8ae99a7
PM
104402017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10441
10442 * gdb.python/py-rbreak.exp: New file.
10443 * gdb.python/py-rbreak.c: New file.
10444 * gdb.python/py-rbreak-func2.c: New file.
10445
968a13f8
PA
104462017-11-16 Pedro Alves <palves@redhat.com>
10447
10448 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10449 pattern.
10450 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10451 GDB.
10452
71774bc9
SM
104532017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10454
10455 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10456 regex.
10457
ddbb44cf
SM
104582017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10459
10460 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10461 test names.
10462
584a564f
PA
104632017-11-09 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10466 factored out from ...
10467 (top level): ... here, and adjusted to avoid expecting beyond the
10468 prompt in a single gdb_test_multiple.
10469
5ed7a928
PA
104702017-11-09 Pedro Alves <palves@redhat.com>
10471
10472 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10473 output.
10474 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10475 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10476 * gdb.server/ext-run.exp ("kill" test): Likewise.
10477 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10478
a60e0738
PA
104792017-11-09 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10482 match till end of line.
10483
2c88253f
PA
104842017-11-09 Pedro Alves <palves@redhat.com>
10485
10486 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10487
c7a38517
PA
104882017-11-09 Pedro Alves <palves@redhat.com>
10489
10490 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10491 New procedures, factored out from ...
10492 (top level): ... here, and adjusted to avoid expecting beyond the
10493 prompt in one go.
10494
f29f4b6b
PA
104952017-11-09 Pedro Alves <palves@redhat.com>
10496
10497 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10498 output. Fix '?' match.
10499
286acbb5
JB
105002017-11-08 Joel Brobecker <brobecker@adacore.com>
10501
10502 * gdb.ada/scoped_watch: New testcase.
10503 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10504 which is actually correct.
10505 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10506 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10507
62d7ae92
PA
105082017-11-08 Pedro Alves <palves@redhat.com>
10509
10510 * gdb.gdb/complaints.exp (test_initial_complaints)
10511 (test_serial_complaints, test_short_complaints): Call
10512 complaint_internal instead of complaint.
10513
280ca31f
DT
105142017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10515
10516 * gdb.threads/tls-core.c: New file.
10517 * gdb.threads/tls-core.exp: Likewise.
10518
b5ec771e
PA
105192017-11-08 Pedro Alves <palves@redhat.com>
10520
10521 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10522 (p Exported_Capitalized): New test.
10523 (p exported_capitalized): New test.
10524
a02b41a7
PA
105252017-11-07 Pedro Alves <palves@redhat.com>
10526
10527 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10528
95e95a6d
PA
105292017-11-07 Pedro Alves <palves@redhat.com>
10530
10531 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10532 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10533 (disable_invalid, disable_inverted, disable_negative): New
10534 procedures.
10535 ("bad numbers"): New set of tests.
10536
cee62dbd
PA
105372017-11-07 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.cp/ena-dis-br-range.exp: Add tests.
10540
cc638e86
PA
105412017-11-07 Pedro Alves <palves@redhat.com>
10542
10543 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10544
d0fe4701
XR
105452017-11-07 Xavier Roirand <roirand@adacore.com>
10546 Pedro Alves <palves@redhat.com>
10547
10548 * gdb.base/ena-dis-br.exp: Add reference to
10549 gdb.cp/ena-dis-br-range.exp.
10550 * gdb.cp/ena-dis-br-range.exp: New file.
10551 * gdb.cp/ena-dis-br-range.cc: New file.
10552
46f67f80
PA
105532017-11-06 Pedro Alves <palves@redhat.com>
10554
10555 * gdb.base/attach-non-pgrp-leader.c: New.
10556 * gdb.base/attach-non-pgrp-leader.exp: New.
10557
726e1356
PA
105582017-11-06 Pedro Alves <palves@redhat.com>
10559
10560 * configure.ac: No longer check for termio.h and sgtty.h.
10561 * configure: Regenerate.
10562 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10563 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10564 Remove termio and sgtty code.
10565
50ab6ace
YQ
105662017-11-03 Yao Qi <yao.qi@linaro.org>
10567
10568 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10569 in GDB is disabled.
10570
8e68731c
YQ
105712017-11-03 Yao Qi <yao.qi@linaro.org>
10572
10573 * gdb.python/py-thrhandle.exp: Skip it if python is not
10574 enabled.
10575
3a87ae65
SM
105762017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10577
10578 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10579 as a breakpoint command.
10580
484d8d36
MD
105812017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10582
10583 PR python/21213
10584 * gdb.python/py-infthread.exp: Test calling
10585 InferiorThread.inferior () multiple times in a row.
10586
4a27f119
KS
105872017-10-27 Keith Seitz <keiths@redhat.com>
10588
10589 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10590 Test "info break" for every inlined function breakpoint.
10591
bb11dd58
YQ
105922017-10-27 Yao Qi <yao.qi@linaro.org>
10593
10594 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10595
a43f3893
PF
105962017-10-26 Patrick Frants <osscontribute@gmail.com>
10597
10598 * gdb.cp/classes.exp (test_static_members): Test printing
10599 Outer::instance.
10600 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10601 (Inner::instance, Outer::instance): New.
10602
792ccf00
PA
106032017-10-24 Pedro Alves <palves@redhat.com>
10604
10605 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10606 extra console" test in two stages.
10607
eb2bfbad
PA
106082017-10-24 Pedro Alves <palves@redhat.com>
10609
10610 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10611
1f75a651
PA
106122017-10-24 Pedro Alves <palves@redhat.com>
10613
10614 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10615 loop.
10616
779990d9
PA
106172017-10-24 Pedro Alves <palves@redhat.com>
10618
10619 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10620 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10621
ad9b8f5d
PA
106222017-10-24 Pedro Alves <palves@redhat.com>
10623
10624 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10625 parameter and handle it. Don't output read value in test name.
10626
fee6da6e
PA
106272017-10-24 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10630 custom test name.
10631
10389c2c
PA
106322017-10-24 Pedro Alves <palves@redhat.com>
10633
10634 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10635 include the unstable output directory name in the test's name.
10636 (initial_setup_simple) <'set args'>: Use custom test name.
10637
a80e65a9
PA
106382017-10-24 Pedro Alves <palves@redhat.com>
10639
10640 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10641 with explicit test name.
10642
15763a09
PA
106432017-10-20 Pedro Alves <palves@redhat.com>
10644
10645 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10646 'wait -i'. Use gdb_assert and remote_close.
10647
49a4ce2e
AB
106482017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10649
10650 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10651 number from variable rather than hard-coded.
10652
a75868f5
PA
106532017-10-19 Pedro Alves <palves@redhat.com>
10654
10655 * gdb.base/long-inferior-output.c: New file.
10656 * gdb.base/long-inferior-output.exp: New file.
10657
c8ba13ad
KS
106582017-11-18 Keith Seitz <keiths@redhat.com>
10659
10660 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10661 method.
10662 (main): Call it.
10663 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10664 Add additional user-defined conversion operator tests.
10665
b27de576
PA
106662017-10-17 Pedro Alves <palves@redhat.com>
10667
10668 * boards/native-stdio-gdbserver.exp: Load "local-board".
10669
8484c955
PA
106702017-10-17 Pedro Alves <palves@redhat.com>
10671
10672 * gdb.base/quit-live.c: New file.
10673 * gdb.base/quit-live.exp: New file.
10674
83d5a34d
KS
106752017-10-16 Keith Seitz <keiths@redhat.com>
10676
10677 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10678 (class_with_protected_typedef, class_with_private_typedef)
10679 (struct_with_public_typedef, struct_with_protected_typedef)
10680 (struct_with_private_typedef): New classes/structs.
10681 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10682 typedefs and access specifiers.
10683
739b3f1d
PA
106842017-10-16 Pedro Alves <palves@redhat.com>
10685 Simon Marchi <simon.marchi@polymtl.ca>
10686
10687 * README (Local vs Remote vs Native): New section.
10688 * boards/local-board.exp: New file, with bits factored out from
10689 ...
10690 * boards/native-extended-gdbserver.exp: ... here. Load
10691 "local-board".
10692 * boards/native-gdbserver.exp: Load "local-board".
10693 (${board}_spawn, ${board}_exec): Delete.
10694 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10695 ...
10696 * boards/stdio-gdbserver-base.exp: ... this new file.
10697 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10698 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10699 procedure.
10700 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10701 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10702 stdio_gdbserver_command.
10703 (${board}_get_remote_address, ${board}_get_comm_port)
10704 (${board}_download, ${board}_upload): Delete.
10705 (get_target_remote_pipe_cmd): New.
10706
fe68b953
SM
107072017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10708
10709 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10710 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10711 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10712 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10713 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10714 remove with_test_prefix.
10715
300b6685
PA
107162017-10-13 Pedro Alves <palves@redhat.com>
10717
10718 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10719 * gdb.base/annota1.exp: Use it instead of is_remote.
10720 * gdb.base/annota3.exp: Use it instead of is_remote.
10721 * gdb.cp/annota2.exp: Use it instead of is_remote.
10722 * gdb.cp/annota3.exp: Use it instead of is_remote.
10723 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10724
50500caf
PA
107252017-10-13 Pedro Alves <palves@redhat.com>
10726
10727 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10728 (test_num_test_vars, run_and_count_vars, find_env)
10729 (test_set_unset_env, test_inherit_env_var): New procedures.
10730 (top level): Use them.
10731
dad0c6d2
PA
107322017-10-13 Pedro Alves <palves@redhat.com>
10733
10734 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10735 also skip on stub-like targets.
10736
8b0553c1
PA
107372017-10-13 Pedro Alves <palves@redhat.com>
10738
10739 PR gdb/22293
10740 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10741 (top level): Move some tests to ...
10742 (test_not_found): ... this new procedure.
10743 (top level): Call it.
10744
7594f623
PA
107452017-10-13 Pedro Alves <palves@redhat.com>
10746
10747 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10748 expect different "info terminal" output if testing with a
10749 non-native target.
10750
ebe3b402
PA
107512017-10-13 Pedro Alves <palves@redhat.com>
10752 Simon Marchi <simon.marchi@polymtl.ca>
10753
10754 PR python/12966
10755 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10756
42f1b161
PA
107572017-10-13 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10760 already.
10761
8d6ef72b
PA
107622017-10-13 Pedro Alves <palves@redhat.com>
10763
10764 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10765 is_remote.
10766
d7bcd5b8
PA
107672017-10-13 Pedro Alves <palves@redhat.com>
10768
10769 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10770 is_remote.
10771
df479dc6
PA
107722017-10-13 Pedro Alves <palves@redhat.com>
10773
10774 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10775 is set.
10776 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10777 instead of is_remote.
10778
23fb630a
PA
107792017-10-13 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10782 (top level): Add comment.
10783
cc77b1dc
PA
107842017-10-13 Pedro Alves <palves@redhat.com>
10785
10786 * gdb.base/remote.exp (top level): Fix comment typo and add
10787 missing return.
10788
27c9e813
PA
107892017-10-13 Pedro Alves <palves@redhat.com>
10790 Simon Marchi <simon.marchi@polymtl.ca>
10791
10792 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10793 calls and add comments. Skip test if use_gdb_stub is set.
10794 (top level): Use "set cwd" command instead of "cd" command.
10795
5e830d98
PA
107962017-10-13 Pedro Alves <palves@redhat.com>
10797
10798 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10799 is_remote target check.
10800
f5ca0032
PA
108012017-10-13 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.base/scope.exp: Use build_executable + clean_restart +
10804 gdb_file_cmd instead of prepare_for_testing and no longer skip
10805 "before run" tests on is_remote target boards. Update comments.
10806 * boards/native-extended-gdbserver.exp
10807 (extended_gdbserver_load_last_file): New, factored out from ...
10808 (gdb_load): ... this. Move further below and add comment.
10809 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10810
8aed1c0d
PA
108112017-10-12 Pedro Alves <palves@redhat.com>
10812
10813 * gdb.base/attach.exp: Remove references to gdb64.
10814 * gdb.base/dbx.exp: Remove references to gdb64.
10815
cfa34c87
SM
108162017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10817 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.base/label.exp: Remove is_remote target check.
10820
9192b7de
PA
108212017-10-12 Pedro Alves <palves@redhat.com>
10822
10823 * gdb.base/auvx.exp (coredir): Update comment.
10824 (top level) <core_works>: Use "set cwd" command instead of "cd"
10825 command.
10826
6bf0052d
PA
108272017-10-12 Pedro Alves <palves@redhat.com>
10828 Simon Marchi <simon.marchi@polymtl.ca>
10829
10830 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10831 target boards.
10832
e48ef82d
PA
108332017-10-12 Pedro Alves <palves@redhat.com>
10834 Simon Marchi <simon.marchi@polymtl.ca>
10835
10836 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10837 Instead skip if there's any gdb_protocol set.
10838
8d7aea57
SM
108392017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10840 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10843
30440677
PA
108442017-10-12 Pedro Alves <palves@redhat.com>
10845 Simon Marchi <simon.marchi@polymtl.ca>
10846
10847 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10848 instead of on dejagnu remote boards.
10849
4e04f045 108502017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10851 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10852
10853 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10854 checks. Use build_executable + clean_restart instead of
10855 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10856 of enabling non-stop after starting gdb.
10857
871a186e
PA
108582017-10-12 Pedro Alves <palves@redhat.com>
10859
10860 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10861 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10862 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10863 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10864
56d704da
AK
108652017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10866
10867 * gdb.arch/arc-tdesc-cpu.exp: New file.
10868 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10869
2f20e312
SM
108702017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10871
10872 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10873
65630365
PA
108742017-10-10 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10877 expect CLI output.
10878
bf469271
PA
108792017-10-10 Pedro Alves <palves@redhat.com>
10880
10881 * lib/selftest-support.exp (selftest_setup): Update for
10882 captured_command_loop's prototype change.
10883
777a42f1
PA
108842017-10-09 Pedro Alves <palves@redhat.com>
10885
10886 Test both arch1=>arch2 and arch2=>arch1.
10887
10888 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10889 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10890 factored out to...
10891 (append_arch1_options, append_arch2_options, append_arch_options)
10892 (build_executables): New procedures.
10893 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10894 local.
10895 (top level): Add new 'first_arch' testing axis.
10896
cbd2b4e3
PA
108972017-10-09 Pedro Alves <palves@redhat.com>
10898
10899 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10900 (barrier): New.
10901 (thread_start, all_started): New functions.
10902 (main): Spawn new thread and wait until it is scheduled.
10903 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10904 option.
10905 (do_test): Add 'selected_thread' parameter. Run to all_started
10906 instead of main. Explicitly set the breakpoint at main. Switch
10907 to the SELECTED_THREAD thread.
10908 (top level): Test handling the exec event with either the main
10909 thread or the second thread selected.
10910
5c9e4427
PA
109112017-10-09 Pedro Alves <palves@redhat.com>
10912
10913 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10914 logic. Move STOP marker after the value checks.
10915 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10916 regexp.
10917
b3b7c423
SL
109182017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10919
10920 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10921
3b4b2f16
UW
109222017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10923
10924 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10925 integer-to-dfp conversion.
10926 * gdb.base/dfp-test.exp: Likewise.
10927
5cd63fda
PA
109282017-10-04 Pedro Alves <palves@redhat.com>
10929
10930 * gdb.multi/hangout.c: Include <unistd.h>.
10931 (hangout_loop): New function.
10932 (main): Call alarm. Call hangout_loop in a loop.
10933 * gdb.multi/hello.c: Include <unistd.h>.
10934 (hello_loop): New function.
10935 (main): Call alarm. Call hangout_loop in a loop.
10936 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10937 inferior with the other selected.
10938
4c71c105
SM
109392017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10940
10941 * gdb.mi/list-thread-groups-available.exp: New file.
10942 * gdb.mi/list-thread-groups-available.c: New file.
10943
bc3b087d
SDJ
109442017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10945
10946 * gdb.base/set-cwd.exp: Make it available on
10947 native-extended-gdbserver.
10948
d092c5a2
SDJ
109492017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10950
10951 * gdb.base/set-cwd.c: New file.
10952 * gdb.base/set-cwd.exp: Likewise.
10953
45320ffa
TT
109542017-10-02 Tom Tromey <tom@tromey.com>
10955
10956 PR rust/22236:
10957 * gdb.rust/simple.rs (main): New variable "fslice".
10958 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10959
b3e3859b
TT
109602017-10-02 Tom Tromey <tom@tromey.com>
10961
10962 * gdb.rust/simple.exp: Test ptype of a slice.
10963
01af5e0d
TT
109642017-10-02 Tom Tromey <tom@tromey.com>
10965
10966 * gdb.rust/simple.exp: Test index of slice.
10967
a9bbfbd8
TT
109682017-09-27 Tom Tromey <tom@tromey.com>
10969
10970 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10971
df8899e5
TP
109722017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10973 Pedro Alves <palves@redhat.com>
10974
10975 * gdb.base/compare-sections.exp (get value of read-only section): Read
10976 as unsigned value.
10977 (corrupt read-only section): Likewise and don't set written if patching
10978 failed.
10979
757bf54b
KB
109802017-09-21 Kevin Buettner <kevinb@redhat.com>
10981
10982 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10983 files.
10984
06871ae8
PA
109852017-09-20 Pedro Alves <palves@redhat.com>
10986
10987 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10988 symbol names in gdb's output.
10989 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10990
e5f25bc5
PA
109912017-09-20 Pedro Alves <palves@redhat.com>
10992
10993 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10994 Rename to ...
10995 (test_list_ambiguous_symbol): ... this and add a symbol name
10996 parameter. Adjust.
10997 (test_list_ambiguous_function): Reimplement on top of
10998 test_list_ambiguous_symbol and also test listing ambiguous
10999 variables.
11000 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11001 (ambiguous_fun): ... this.
11002 (ambiguous_var): New.
11003 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11004 (ambiguous_fun): ... this.
11005 (ambiguous_var): New.
11006
4e5a4f58
JB
110072017-09-19 John Baldwin <jhb@FreeBSD.org>
11008
11009 * gdb.base/starti.c: New file.
11010 * gdb.base/starti.exp: New file.
11011 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11012
26e53f3e
PA
110132017-09-14 Pedro Alves <palves@redhat.com>
11014
11015 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11016 (top level): Use it instead of runto.
11017
cb791d59
TT
110182017-09-11 Tom Tromey <tom@tromey.com>
11019
11020 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11021
7c96f8c1
TT
110222017-09-11 Tom Tromey <tom@tromey.com>
11023
11024 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11025 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11026
469412dd
CW
110272017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11028
11029 * gdb.fortran/printing-types.exp: New file.
11030 * gdb.fortran/printing-types.exp: New file.
11031
e0f86435
BH
110322017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11033
11034 * gdb.fortran/vla-ptype.exp: Fix typos.
11035 * gdb.fortran/vla-value.exp: Same.
11036
9e9af4be
BH
110372017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11038
11039 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11040 * gdb.mi/mi-var-child-f.exp: Likewise.
11041 * gdb.mi/mi-vla-fortran.exp: Likewise.
11042
a5ad232b 110432017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11044 Christoph Weinmann <christoph.t.weinmann@intel.com>
11045 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11046
11047 * gdb.fortran/ptr-indentation.f90: New file.
11048 * gdb.fortran/ptr-indentation.exp: New file.
11049
5aec60eb
TT
110502017-09-05 Tom Tromey <tom@tromey.com>
11051
11052 PR gdb/22010:
11053 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11054
8f8f8152
TP
110552017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11056
11057 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11058
fbd1b771
JK
110592017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11060
11061 * gdb.threads/tls-nodebug-pie.c: New file.
11062 * gdb.threads/tls-nodebug-pie.exp: New file.
11063
5eb5f850
TT
110642017-09-05 Tom Tromey <tom@tromey.com>
11065
11066 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11067 for rust.
11068
ae780a21
SM
110692017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11070
11071 * gdb.multi/multi-arch-exec.exp: Test with different
11072 "follow-exec-mode" settings.
11073 (do_test): New procedure.
11074
3693fdb3
PA
110752017-09-04 Pedro Alves <palves@redhat.com>
11076
11077 * gdb.base/func-static.c (S::method const, S::method volatile)
11078 (S::method volatile const): New methods.
11079 (c_s, v_s, cv_s): New instances.
11080 (main): Call method() on them.
11081 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11082 (cannot_resolve): New procedure.
11083 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11084 print-quote-unquoted columns.
11085 (do_test): Test printing each scope too.
11086
e68cb8e0
PA
110872017-09-04 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/local-static.exp: Also test with
11090 class::method::variable wholly quoted.
11091 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11092
858be34c
PA
110932017-09-04 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.base/local-static.c: New.
11096 * gdb.base/local-static.cc: New.
11097 * gdb.base/local-static.exp: New.
11098
46a4882b
PA
110992017-09-04 Pedro Alves <palves@redhat.com>
11100
11101 * gdb.asm/asm-source.exp: Add casts to int.
11102 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11103 (dataglobal64_1, dataglobal64_2): New globals.
11104 * gdb.base/nodebug.exp: Test different expressions involving the
11105 new globals, with print, whatis and ptype. Add casts to int.
11106 * gdb.base/solib-display.exp: Add casts to int.
11107 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11108 * gdb.cp/m-static.exp: Add cast to int.
11109 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11110 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11111 tls variable with no debug info without a cast. Test with a cast
11112 to int too.
11113 * gdb.trace/entry-values.exp: Add casts.
11114
2c5a2be1
PA
111152017-09-04 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.base/nodebug.exp: Test that ptype's error about functions
11118 with unknown return type includes the function name too.
11119
7022349d
PA
111202017-09-04 Pedro Alves <palves@redhat.com>
11121
11122 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11123 return type of munmap in infcall.
11124 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11125 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11126 type of ftell in infcall.
11127 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11128 type of getpid in infcall.
11129 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11130 infcall.
11131 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11132 Bail on failure to extract the pid.
11133 * gdb.base/nodebug.c: #include <stdint.h>.
11134 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11135 New functions.
11136 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11137 Change expected output of print/whatis/ptype with functions with
11138 no debug info. Test all supported languages. Call
11139 test_call_promotion.
11140 * gdb.compile/compile.exp: Adjust expected output to expect
11141 warning.
11142 * gdb.threads/siginfo-threads.exp: Likewise.
11143
54990598
PA
111442017-09-04 Pedro Alves <palves@redhat.com>
11145
11146 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11147 "prototypes". Test calling float functions via prototyped and
11148 unprototyped function pointers.
11149 (perform_all_tests): New parameter "prototypes". Pass it down.
11150 (top level): Pass down "prototypes" parameter to
11151 perform_all_tests.
11152
34d16ea2
SM
111532017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11154
11155 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11156 Test with nested loops.
11157
9521ecda
SM
111582017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11159
11160 * gdb.base/commands.exp: Call the new procedures.
11161 (loop_break_test, loop_continue_test): New procedures.
11162
80a65e9b
SM
111632017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11164
11165 * gdb.base/commands.exp: Call new procedure.
11166 (define_if_without_arg_test): New procedure.
11167
e439fa14
PA
111682017-09-04 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.base/list-ambiguous.exp: New file.
11171 * gdb.base/list-ambiguous0.c: New file.
11172 * gdb.base/list-ambiguous1.c: New file.
11173 * gdb.base/list.exp (test_list_range): Adjust expected output.
11174
0a2dde4a
SDJ
111752017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11176
11177 * gdb.base/share-env-with-gdbserver.c: New file.
11178 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11179
5e89eb3a
SM
111802017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11181
11182 * gdb.base/commands.exp (gdbvar_simple_if_test,
11183 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11184 progvar_simple_if_test, progvar_simple_while_test,
11185 progvar_complex_if_while_test, user_defined_command_test,
11186 user_defined_command_args_eval,
11187 user_defined_command_args_stack_test,
11188 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11189 temporary_breakpoint_commands,
11190 gdb_test_no_prompt, redefine_hook_test,
11191 redefine_backtrace_test): Remove "global gdb_prompt".
11192
fd437cbc
SM
111932017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11194
11195 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11196 New proc, call it from toplevel.
11197
87215ad1
SDJ
111982017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11199
11200 PR remote/21852
11201 * gdb.server/normal.c: New file, copied from gdb.base.
11202 * gdb.server/run-without-local-binary.exp: New file.
11203
58afddc6
WP
112042017-08-07 Weimin Pan <weimin.pan@oracle.com>
11205
11206 * gdb.arch/sparc64-adi.exp: New file.
11207 * gdb.arch/sparc64-adi.c: New file.
11208
5277199a
PA
112092017-08-22 Pedro Alves <palves@redhat.com>
11210
11211 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11212 (top level): Add "list all overloads" tests.
11213
14278e1f
TT
112142017-08-22 Tom Tromey <tom@tromey.com>
11215
11216 * gdb.gdb/xfullpath.exp: Remove.
11217
bf223d3e
PA
112182017-08-21 Pedro Alves <palves@redhat.com>
11219
11220 PR gdb/19487
11221 * gdb.base/symbol-alias.c: New.
11222 * gdb.base/symbol-alias2.c: New.
11223 * gdb.base/symbol-alias.exp: New.
11224
c973d0aa
PA
112252017-08-21 Pedro Alves <palves@redhat.com>
11226
11227 * gdb.base/dfp-test.c
11228 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11229 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11230 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11231 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11232 * gdb.base/whatis-ptype-typedefs.c: New.
11233 * gdb.base/whatis-ptype-typedefs.exp: New.
11234 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11235 (an_int, an_int_type, an_int_type2): New globals.
11236 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11237 involving typedefs and cast expressions.
11238 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11239 (lookup_typedefs_function): New.
11240 (typedefs_pretty_printers_dict): New.
11241 (top level): Register lookup_typedefs_function in
11242 gdb.pretty_printers.
11243
6d580b63
YQ
112442017-08-18 Yao Qi <yao.qi@linaro.org>
11245
11246 * gdb.server/unittest.exp: New.
11247
206726fb
SDJ
112482017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11249
11250 PR gdb/21954
11251 * gdb.base/environ.exp: Add test to check if 'unset environment'
11252 works.
11253
bf0ec4c2
AA
112542017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11255
11256 * lib/gdb.exp (universal_compile_options): New caching proc.
11257 (gdb_compile): Suppress GCC's coloring of messages.
11258
d6382fff
TT
112592017-08-14 Tom Tromey <tom@tromey.com>
11260
11261 PR gdb/21675:
11262 * gdb.base/printcmds.exp (test_radices): New function.
11263 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11264 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11265 * lib/gdb.exp (get_integer_valueof): Use p/d.
11266
c2c2dd9f
SM
112672017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11268
11269 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11270 characters.
11271
fdffd6f4
TT
112722017-08-05 Tom Tromey <tom@tromey.com>
11273
11274 * gdb.rust/simple.exp: Allow String to appear in a different
11275 namespace.
11276
27d41eac
YQ
112772017-07-26 Yao Qi <yao.qi@linaro.org>
11278
11279 * gdb.gdb/unittest.exp: Invoke command
11280 "maintenance check xml-descriptions".
11281
031ed05d
AA
112822017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11283
11284 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11285 calling context.
11286 (hex128): Drop erroneous calculation of parameters.
11287
dcd27ddf
SM
112882017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11289
11290 * gdb.python/py-unwind.exp: Disable stack protection when
11291 building test file.
11292
47e77640
PA
112932017-07-20 Pedro Alves <palves@redhat.com>
11294
11295 * gdb.base/default.exp (set language): Adjust expected output.
11296
62d2a18a
PA
112972017-07-20 Pedro Alves <palves@redhat.com>
11298
11299 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11300 (test_minsym): ... this, and make static.
11301 (get_pck__foo__bar__minsym): Rename to ...
11302 (get_test_minsym): ... this.
11303 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11304 symbol names and comments.
11305 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11306 (get_test_minsym): ... this.
11307 (pck__foo__bar__minsym__2): Rename to ...
11308 (test_minsym): ... this.
11309 (main): Adjust.
11310
c45ec17c
PA
113112017-07-17 Pedro Alves <palves@redhat.com>
11312
11313 * gdb.base/completion.exp: Adjust expected output.
11314 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11315 the completer works.
11316
c6756f62
PA
113172017-07-17 Pedro Alves <palves@redhat.com>
11318
11319 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11320
5bd68487
AB
113212017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11322
11323 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11324
8880f2a9
TT
113252017-07-14 Tom Tromey <tom@tromey.com>
11326
11327 PR rust/21764:
11328 * gdb.rust/simple.exp: Add tests.
11329
65547233
TT
113302017-07-14 Tom Tromey <tom@tromey.com>
11331
11332 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11333
8f14146e
PA
113342017-07-14 Pedro Alves <palves@redhat.com>
11335
11336 * gdb.linespec/base/one/thefile.cc (z1): New function.
11337 * gdb.linespec/base/two/thefile.cc (z2): New function.
11338 * gdb.linespec/linespec.exp: Add tests.
11339
b4365d02
AB
113402017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11341
11342 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11343 to mi_create_breakpoint.
11344
5d2cbaa5
AB
113452017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11346
11347 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11348 mi_create_breakpoint.
11349
11cb5716
IB
113502017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11351
11352 * gdb.dlang/demangle.exp: Update for demangling changes.
11353
03278692
TT
113542017-07-09 Tom Tromey <tom@tromey.com>
11355
11356 * gdb.dwarf2/shortpiece.exp: New file.
11357
33c5cd75
DB
113582017-07-06 David Blaikie <dblaikie@gmail.com>
11359
11360 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11361 built from fissiont-multi-cu{1,2}.c.
11362 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11363 except putting 'main' and 'func' in separate CUs in the same DWO file.
11364 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11365 test.
11366 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11367 test.
11368
8455d262
PA
113692017-07-06 Pedro Alves <palves@redhat.com>
11370
11371 * gdb.python/py-unwind.exp: Test flushregs.
11372
dc4bde35
SDJ
113732017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11374
11375 PR cli/21688
11376 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11377 tests for alias commands and trailing whitespace.
11378
51ed89aa
SDJ
113792017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11380
11381 PR cli/21688
11382 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11383 procedure. Call it.
11384
eb17d413
PA
113852017-06-29 Pedro Alves <palves@redhat.com>
11386
11387 * gdb.base/printcmds.exp: Add tests.
11388
41664b45
DG
113892017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11390
11391 PR gdb/21337
11392 * gdb.base/reread-readsym.exp: New file.
11393 * gdb.base/reread-readsym.c: New file.
11394
75312ae3
KB
113952017-06-21 Kevin Buettner <kevinb@redhat.com>
11396
11397 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11398 subpattern.
11399
66953522
PB
114002017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11401
11402 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11403 extended mnemonic.
11404 * gdb.arch/powerpc-power9.s: Likewise.
11405
5524b525
AA
114062017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11407
11408 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11409 on 32-bit x86 targets. Exploit is_*_target macros where
11410 appropriate.
11411
03c8af18
AA
114122017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11413
11414 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11415 register pieces.
11416
3bf31011
AA
114172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11418
11419 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11420 located in one or more DWARF pieces.
11421
805acca0
AA
114222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11423
11424 * lib/gdb.exp (get_endianness): New proc.
11425 * gdb.arch/aarch64-fp.exp: Use it.
11426 * gdb.arch/altivec-regs.exp: Likewise.
11427 * gdb.arch/e500-regs.exp: Likewise.
11428 * gdb.arch/vsx-regs.exp: Likewise.
11429 * gdb.base/dump.exp: Likewise.
11430 * gdb.base/funcargs.exp: Likewise.
11431 * gdb.base/gnu_vector.exp: Likewise.
11432 * gdb.dwarf2/formdata16.exp: Likewise.
11433 * gdb.dwarf2/implptrpiece.exp: Likewise.
11434 * gdb.dwarf2/nonvar-access.exp: Likewise.
11435 * gdb.python/py-inferior.exp: Likewise.
11436 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11437
e9352324
AA
114382017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11439
11440 PR gdb/21226
11441 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11442 stack value pieces are taken from the LSB end.
11443
d5d1163e
AA
114442017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11445
11446 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11447 variable at nonzero offset.
11448
0567c986
AA
114492017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11450
11451 * gdb.dwarf2/var-access.c: New file.
11452 * gdb.dwarf2/var-access.exp: New test.
11453 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11454
973e9aab
TT
114552017-06-12 Tom Tromey <tom@tromey.com>
11456
11457 * gdb.dwarf2/formdata16.exp: Add tests.
11458
d9109c80
TT
114592017-06-12 Tom Tromey <tom@tromey.com>
11460
11461 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11462
30a25466
TT
114632017-06-12 Tom Tromey <tom@tromey.com>
11464
11465 PR exp/16225:
11466 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11467 * gdb.arch/vsx-regs.exp: Update tests.
11468 * gdb.arch/s390-vregs.exp (hex128): New proc.
11469 Update test.
11470 * gdb.arch/altivec-regs.exp: Update tests.
11471
aefd8b33
SDJ
114722017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11473
11474 * gdb.base/startup-with-shell.c: New file.
11475 * gdb.base/startup-with-shell.exp: Likewise.
11476
2090129c
SDJ
114772017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11478
11479 * gdb.server/non-existing-program.exp: Update regex in order to
11480 reflect the fact that gdbserver is now using fork_inferior (with a
11481 shell) to startup the inferior.
11482
8e86a419
SM
114832017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11484
11485 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11486 support function calls from GDB.
11487
e6cf65f2
TT
114882017-05-21 Tom Tromey <tom@tromey.com>
11489
11490 PR rust/21466:
11491 * gdb.rust/unsized.exp: New file.
11492 * gdb.rust/unsized.rs: New file.
11493
43cc5389
TT
114942017-05-19 Tom Tromey <tom@tromey.com>
11495
11496 PR rust/21484:
11497 * gdb.rust/watch.exp: New file.
11498 * gdb.rust/watch.rs: New file.
11499
ec8df234
TT
115002017-05-18 Tom Tromey <tom@tromey.com>
11501
11502 * gdb.rust/simple.exp: Allow Box to be qualified.
11503
3e3e7fae
TP
115042017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11505
11506 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11507
59cc050d
PA
115082017-05-18 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.base/fileio.c (test_write, test_read, test_close)
11511 (test_fstat): Don't print 'ret' in the fail path.
11512
c8f6abd1
PA
115132017-05-18 Pedro Alves <palves@redhat.com>
11514
11515 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11516 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11517 (test_system, test_rename, test_unlink, test_time): Change
11518 prototypes.
11519 * gdb.base/fileio.exp (stop_msg): Adjust.
11520
d2a03b77
PA
115212017-05-18 Pedro Alves <palves@redhat.com>
11522
11523 * gdb.base/fileio.c (null_str): New global.
11524 (test_stat): Use it.
11525 * gdb.base/fileio.exp: Remove nowarnings.
11526
0d5c6999
YQ
115272017-05-17 Yao Qi <yao.qi@linaro.org>
11528
11529 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11530
21873064
YQ
115312017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11532
11533 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11534 argument command.
11535 (top-level): Invoke test_set_inferior_tty.
11536
d512d31c
PA
115372017-05-04 Pedro Alves <palves@redhat.com>
11538
11539 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11540 Add parens to print call for Python 3.
11541
90cef2ed
KS
115422017-05-03 Keith Seitz <keiths@redhat.com>
11543
11544 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11545 (main): Call it.
11546
14f819c8
TW
115472017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11548
11549 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11550 to prev and next.
11551
913aeadd
TW
115522017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11553
11554 * gdb.python/py-record-btrace.exp: Remove test for
11555 gdb.BtraceInstruction.error.
11556
a3be24ad
TW
115572017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11558
11559 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11560
ae20e79a
TW
115612017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11562
11563 * gdb.python/py-record-btrace-threads.c: New file.
11564 * gdb.python/py-record-btrace-threads.exp: New file.
11565
45ce1b47
SDJ
115662017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11567
11568 PR testsuite/8595
11569 * gdb.base/environ.exp: Make test available in all architectures.
11570 Move bits related to "info program" testing to
11571 gdb.base/info-program.exp. Rewrite tests to use the two new
11572 procedures mentione below.
11573 (test_set_show_env_var) New procedure.
11574 (test_set_show_env_var_equal): Likewise.
11575 * gdb.base/info-program.exp: New file.
11576
e15c3eb4
KS
115772017-04-27 Keith Seitz <keiths@redhat.com>
11578
11579 * gdb.cp/oranking.cc (test15): New function.
11580 (main): Call test15 and declare additional variables for testing.
11581 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11582 "p foo101('abc')" tests.
11583 Add tests for cv qualifier overloads.
11584 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11585 "lvalue reference overload" test.
11586 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11587 "print value of f1 on Child&& in f2" test.
11588
3a3fd0fd
PA
115892017-04-19 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11592 procedure.
11593 (top level): Call it.
11594 * lib/gdb.exp (gdb_define_cmd): New procedure.
11595
53375380
PA
115962017-04-12 Pedro Alves <palves@redhat.com>
11597
11598 PR gdb/21323
11599 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11600 (wchar): New global.
11601 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11602 (do_test_wide_char, wide_char_types_no_program, top level): Add
11603 wchar_t testing.
11604
53e710ac
PA
116052017-04-12 Pedro Alves <palves@redhat.com>
11606
11607 PR c++/21323
11608 * gdb.cp/wide_char_types.c: New file.
11609 * gdb.cp/wide_char_types.exp: New file.
11610
0ad9d8c7
SDJ
116112017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11612
11613 PR gdb/21352
11614 * gdb.trace/tsv.exp: Add test for "tsave -r".
11615
b1b45502
IB
116162017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11617
11618 * gdb.dlang/watch-loc.c: New file.
11619 * gdb.dlang/watch-loc.exp: New file.
11620
ec13808e
JK
116212017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11622
11623 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11624
fe5f7374
AK
116252017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11626
11627 * gdb.arch/arc-analyze-prologue.S: New file.
11628 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11629
eea78757
AK
116302017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11631
11632 * gdb.arch/arc-decode-insn.S: New file.
11633 * gdb.arch/arc-decode-insn.exp: Likewise.
11634
5badf10a
IR
116352017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11636
11637 PR tdep/20928
11638 * gdb.arch/sparc64-regs.exp: New file.
11639 * gdb.arch/sparc64-regs.S: Likewise.
11640
cee59b3f
TW
116412017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11642
11643 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11644 and memory view on Python 3.
11645
c0f55cc6
AV
116462017-03-20 Artemiy Volkov <artemiyv@acm.org>
11647 Keith Seitz <keiths@redhat.com>
11648
11649 PR gdb/14441
11650 * gdb.cp/demangle.exp: Add rvalue reference tests.
11651 * gdb.cp/rvalue-ref-casts.cc: New file.
11652 * gdb.cp/rvalue-ref-casts.exp: New file.
11653 * gdb.cp/rvalue-ref-overload.cc: New file.
11654 * gdb.cp/rvalue-ref-overload.exp: New file.
11655 * gdb.cp/rvalue-ref-params.cc: New file.
11656 * gdb.cp/rvalue-ref-params.exp: New file.
11657 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11658 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11659 * gdb.cp/rvalue-ref-types.cc: New file.
11660 * gdb.cp/rvalue-ref-types.exp: New file.
11661 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11662 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11663
51457a05
MAL
116642017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11665
11666 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11667 New procedure.
11668
5b291c04
MAL
116692017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11670
11671 * lib/mi-support.exp (mi_gdb_test): Add additional message
11672 for unexpected output.
11673
59a56148
AA
116742017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11675
11676 * gdb.base/examine-backward.c (Barrier): New character array
11677 constant, to ensure that TestStrings is preceded by a string
11678 terminator.
11679
7942e96e
AA
116802017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11681
11682 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11683 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11684 and implicit pointer into such a location.
11685
6ebac3fb
DE
116862017-03-16 Doug Evans <dje@google.com>
11687
11688 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11689
ec3b243d
TP
116902017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11691
11692 * gdb.cp/m-static.exp: Fix expectation for prototype of
11693 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11694
116952017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11696
11697 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11698 * gdb.guile/scm-lazy-string.c: New file.
11699 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11700 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11701 for pointer, array, typedef lazy strings.
11702
2cc36e25 117032017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11704
11705 PR python/17728, python/18439, python/18779
11706 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11707 * gdb.python/py-lazy-string.c (pointer): New typedef.
11708 (main): New locals ptr, array, typedef_ptr.
11709 * gdb.python/py-value.exp: Move lazy string tests to ...
11710 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11711 array, typedef lazy strings.
ec3b243d 11712
0efcde63
AK
117132017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11714
11715 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11716 Add optional 'test' parameter.
11717
7978d7c3
SM
117182017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11719
11720 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11721 Skip for versions of DejaGnu < 1.5.
11722
896c0c1e
SM
117232017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11724
11725 * lib/gdb.exp (dejagnu_version): New proc.
11726 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11727 Use dejagnu_version.
11728
5f4d1085
KS
117292017-03-10 Keith Seitz <keiths@redhat.com>
11730
11731 PR c++/8128
11732 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11733 type from destructor regexps.
11734 Add a branch which actually passes the test.
11735 Adjust "ptype t5i" test names.
11736
1de05205
PA
117372017-03-08 Pedro Alves <palves@redhat.com>
11738
11739 * gdb.base/step-over-exit.exp: Add explicit test message.
11740
c65d6b55
PA
117412017-03-08 Pedro Alves <palves@redhat.com>
11742
11743 PR gdb/18360
11744 * gdb.threads/interrupt-while-step-over.c: New file.
11745 * gdb.threads/interrupt-while-step-over.exp: New file.
11746
2e86a283
PA
117472017-03-08 Pedro Alves <palves@redhat.com>
11748
11749 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11750 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11751
25dcbff6
PA
117522017-03-08 Pedro Alves <palves@redhat.com>
11753
11754 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11755 PKRU as not supported as a PASS.
11756
dc9366eb
PA
117572017-03-08 Pedro Alves <palves@redhat.com>
11758
11759 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11760 prefix instead of $binfile1/$binfile2.
11761 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11762 in test message.
11763 * gdb.python/py-completion.exp: Use "load python file" as test
11764 messages instead of unstable path names.
11765
6e5d74e7
PA
117662017-03-08 Pedro Alves <palves@redhat.com>
11767 Jan Kratochvil <jan.kratochvil@redhat.com>
11768
11769 PR cli/21218
11770 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11771 New proc.
11772 (top level): Call it.
11773
9753a2f6
PA
117742017-03-08 Pedro Alves <palves@redhat.com>
11775
11776 PR tui/21216
11777 * gdb.tui/tui-nl-filtered-output.exp: New file.
11778
1a4dd9dd
PA
117792017-03-08 Pedro Alves <palves@redhat.com>
11780
11781 * gdb.base/completion.exp: Move TUI completion tests to ...
11782 * gdb.tui/completion.exp: ... this new file.
11783
7cbbff33
PA
117842017-03-08 Pedro Alves <palves@redhat.com>
11785
11786 * gdb.base/tui-disasm-long-lines.c,
11787 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11788 gdb.base/tui-layout.exp: Move to ...
11789 * gdb.tui/: ... this new directory.
11790
5f6fd321
PA
117912017-03-07 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.base/tui-layout.c: New file.
11794 * gdb.base/tui-layout.exp: New file.
11795
44959fa8
PA
117962017-03-07 Pedro Alves <palves@redhat.com>
11797
11798 * gdb.base/tui-layout.c: Rename to ...
11799 * gdb.base/tui-disasm-long-lines.c: ... this.
11800 * gdb.base/tui-layout.exp: Rename to ...
11801 * gdb.base/tui-disasm-long-lines.exp: ... this.
11802
f8c4e718
PA
118032017-03-07 Pedro Alves <palves@redhat.com>
11804
11805 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11806
6dbb839a 118072017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11808
11809 * i386-mpx-call.c: New file.
11810 * i386-mpx-call.exp: New file.
11811
65b48a81
PB
118122017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11813
11814 * gdb.arch/powerpc-power.exp: Delete test.
11815 * gdb.arch/powerpc-power.s: Likewise.
11816 * gdb.disasm/disassembler-options.exp: New test.
11817 * gdb.arch/powerpc-altivec.exp: Likewise.
11818 * gdb.arch/powerpc-altivec.s: Likewise.
11819 * gdb.arch/powerpc-altivec2.exp: Likewise.
11820 * gdb.arch/powerpc-altivec2.s: Likewise.
11821 * gdb.arch/powerpc-altivec3.exp: Likewise.
11822 * gdb.arch/powerpc-altivec3.s: Likewise.
11823 * gdb.arch/powerpc-power7.exp: Likewise.
11824 * gdb.arch/powerpc-power7.s: Likewise.
11825 * gdb.arch/powerpc-power8.exp: Likewise.
11826 * gdb.arch/powerpc-power8.s: Likewise.
11827 * gdb.arch/powerpc-power9.exp: Likewise.
11828 * gdb.arch/powerpc-power9.s: Likewise.
11829 * gdb.arch/powerpc-vsx.exp: Likewise.
11830 * gdb.arch/powerpc-vsx.s: Likewise.
11831 * gdb.arch/powerpc-vsx2.exp: Likewise.
11832 * gdb.arch/powerpc-vsx2.s: Likewise.
11833 * gdb.arch/powerpc-vsx3.exp: Likewise.
11834 * gdb.arch/powerpc-vsx3.s: Likewise.
11835 * gdb.arch/arm-disassembler-options.exp: Likewise.
11836 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11837 * gdb.arch/s390-disassembler-options.exp: Likewise.
11838
17cd4947
LM
118392017-02-23 Luis Machado <lgustavo@codesourcery.com>
11840
11841 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11842 (check_supported_features): ... this. Changed return type to void.
11843 (supports_rdseed): New static global.
11844 (rdseed): Check supports_rdseed.
11845 (initialize): Call check_supported_features.
11846
2039d74e
EBM
118472017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11848
11849 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11850 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11851 and lqarx/stqcx.
11852 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11853 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11854
a51d7ecf
EBM
118552017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11856
11857 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11858 uppercase.
11859
0224619f
JK
118602017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11861
11862 * gdb.dwarf2/formdata16.c: New file.
11863 * gdb.dwarf2/formdata16.exp: New file.
11864 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11865
216f72a1
JK
118662017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11867
11868 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11869 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11870 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11871 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11872 DW_AT_GNU_*.
11873
43988095
JK
118742017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11875
11876 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11877
99e8a4f9
SDJ
118782017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11879
11880 PR gdb/21164
11881 * gdb.base/maint.exp: Add testcases for when the commands do
11882 not have arguments.
11883
b58a8c0c
TP
118842017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11885
11886 * gdb.cp/chained-calls.exp: Use p instead of P.
11887
4e746bb6
TW
118882017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11889
11890 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11891 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11892
3f77c769
TT
118932017-02-14 Tom Tromey <tom@tromey.com>
11894
11895 PR python/13598:
11896 * gdb.python/py-events.exp: Add before_prompt event tests.
11897
075beec0
AA
118982017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11899
11900 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11901
bf5f525c
LM
119022017-02-13 Luis Machado <lgustavo@codesourcery.com>
11903
11904 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11905 (main): Call my_unique_function_name.
11906 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11907 completion of patterns with a single match.
11908 Add missing -re switches to gdb_test_multiple calls.
11909
13a66184
LM
119102017-02-13 Luis Machado <lgustavo@codesourcery.com>
11911
11912 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11913 return if core file is not recognized.
11914
26a06916
SM
119152017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11916
11917 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11918 and extra UIs.
11919
b761ca9e
SM
119202017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11921
11922 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11923 proc_with_prefix.
11924
b964bee0
TT
119252017-02-10 Tom Tromey <tom@tromey.com>
11926
11927 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11928
18da0c51
MG
119292017-02-10 Martin Galvan <martingalvan@sourceware.org>
11930
11931 PR gdb/21122
11932 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11933
604c4576
JG
119342017-02-08 Jerome Guitton <guitton@adacore.com>
11935
11936 * gdb.base/define.exp: Add test for command abbreviations
11937 in define.
11938
20b477a7
LM
119392017-02-06 Luis Machado <lgustavo@codesourcery.com>
11940
11941 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11942 * gdb.reverse/insn-reverse-x86.c: New file.
11943
3f7b46f2
IR
119442017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11945
11946 PR tdep/20936
11947 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11948
f0fd41c1
TT
119492017-02-03 Tom Tromey <tom@tromey.com>
11950
11951 PR rust/21097:
11952 * gdb.rust/simple.exp: Add new tests.
11953
5be5dbf0
PA
119542017-02-02 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11957 tests.
11958
7346ef59
AA
119592017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11960
11961 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11962 taking a 2-byte value out of a 4-byte DWARF implicit value on
11963 big-endian targets.
11964 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11965 logic. Add test cases for DW_OP_implicit.
11966
787f0025
MM
119672017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11968
11969 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11970
68777c29
MM
119712017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11972
11973 * gdb.btrace/enable.exp: Call gdb_exit before
11974 skip_gdbserver_tests.
11975
0a1c7e28
MM
119762017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11977
11978 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11979 GDBFLAGS.
11980
b5ac99b0
MM
119812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11982
11983 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11984 the test is skipped.
11985 * gdb.btrace/data.exp: Likewise.
11986 * gdb.btrace/delta.exp: Likewise.
11987 * gdb.btrace/dlopen.exp: Likewise.
11988 * gdb.btrace/enable-running.exp: Likewise.
11989 * gdb.btrace/enable.exp: Likewise.
11990 * gdb.btrace/exception.exp: Likewise.
11991 * gdb.btrace/function_call_history.exp: Likewise.
11992 * gdb.btrace/gcore.exp: Likewise.
11993 * gdb.btrace/instruction_history.exp: Likewise.
11994 * gdb.btrace/multi-thread-step.exp: Likewise.
11995 * gdb.btrace/nohist.exp: Likewise.
11996 * gdb.btrace/non-stop.exp: Likewise.
11997 * gdb.btrace/reconnect.exp: Likewise.
11998 * gdb.btrace/record_goto-step.exp: Likewise.
11999 * gdb.btrace/record_goto.exp: Likewise.
12000 * gdb.btrace/rn-dl-bind.exp: Likewise.
12001 * gdb.btrace/segv.exp: Likewise.
12002 * gdb.btrace/step.exp: Likewise.
12003 * gdb.btrace/stepi.exp: Likewise.
12004 * gdb.btrace/tailcall-only.exp: Likewise.
12005 * gdb.btrace/tailcall.exp: Likewise.
12006 * gdb.btrace/tsx.exp: Likewise.
12007 * gdb.btrace/unknown_functions.exp: Likewise.
12008 * gdb.btrace/vdso.exp: Likewise.
12009
cd4007e4
MM
120102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12011
12012 * gdb.btrace/enable-running.c: New.
12013 * gdb.btrace/enable-running.exp: New.
12014
2735833d
WT
120152017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12016
12017 * gdb.arch/amd64-gs_base.c: New file.
12018 * gdb.arch/amd64-gs_base.exp: New file.
12019
b51e1e94
LM
120202017-01-26 Luis Machado <lgustavo@codesourcery.com>
12021
12022 * lib/memory.exp: Remove spurious empty newlines.
12023
72ca0410
SM
120242017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12025
12026 * gdb.python/py-bad-printers.exp: Load python file using "source".
12027 * gdb.python/py-events.exp: Likewise.
12028 * gdb.python/py-evsignal.exp: Likewise.
12029 * gdb.python/py-evthreads.exp: Likewise.
12030 * gdb.python/py-frame-args.exp: Likewise.
12031 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12032 * gdb.python/py-framefilter-mi.exp: Likewise.
12033 * gdb.python/py-framefilter.exp: Likewise.
12034 * gdb.python/py-mi.exp: Likewise.
12035 * gdb.python/py-pp-maint.exp: Likewise.
12036 * gdb.python/py-pp-registration.exp: Likewise.
12037 * gdb.python/py-prettyprint.exp: Likewise.
12038 (run_lang_tests): Likewise.
12039 * gdb.python/py-typeprint.exp: Likewise.
12040
e309aa65
LM
120412017-01-26 Luis Machado <lgustavo@codesourcery.com>
12042
12043 * lib/memory.exp: New file.
12044 * lib/gdb.exp: Load memory.exp.
12045 * gdb.base/memattr.exp (delete_memory): Move proc to
12046 lib/memory.exp and rename to delete_memory_regions.
12047 Replace delete_memory with delete_memory_regions.
12048 Cleanup memory regions before tests.
12049 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12050 before tests.
12051
515aff23
LM
120522017-01-26 Luis Machado <lgustavo@codesourcery.com>
12053
12054 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12055 files.
12056 (initialize): New function conditionally defined.
12057 (testcases): Move within conditional block.
12058 (main): Call initialize.
12059 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12060 of gdb.reverse/insn-reverse.c.
12061 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12062 gdb.reverse/insn-reverse.c.
12063
d8b49cf0
YQ
120642017-01-26 Yao Qi <yao.qi@linaro.org>
12065
12066 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12067 disassemble on address 0.
12068
f13a9a0c
YQ
120692017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12070 Yao Qi <yao.qi@linaro.org>
12071
12072 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12073 * gdb.dwarf2/implptr-64bit.S: Remove.
12074 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12075 variables in caller's context. Add DW_OP_implicit_value.
12076
5ac95241
YQ
120772017-01-25 Yao Qi <yao.qi@linaro.org>
12078
12079 * lib/dwarf.exp (Dwarf::_location): Handle
12080 DW_OP_GNU_implicit_pointer with proper size.
12081
23e82930
LM
120822017-01-20 Luis Machado <lgustavo@codesourcery.com>
12083
12084 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12085 and add untested calls.
12086
d334ae25
LM
120872017-01-20 Luis Machado <lgustavo@codesourcery.com>
12088
12089 * gdb.python/python.exp: Check line number against what GDB thinks
12090 the line number is for func1.
12091
f5e6296e
IB
120922017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12093
12094 * gdb.dlang/debug-expr.exp: New file.
12095
5b362f04
LM
120962016-12-23 Luis Machado <lgustavo@codesourcery.com>
12097
12098 Fix test names for the following files:
12099
12100 * gdb.ada/exec_changed.exp
12101 * gdb.ada/info_types.exp
12102 * gdb.arch/aarch64-atomic-inst.exp
12103 * gdb.arch/aarch64-fp.exp
12104 * gdb.arch/altivec-abi.exp
12105 * gdb.arch/altivec-regs.exp
12106 * gdb.arch/amd64-byte.exp
12107 * gdb.arch/amd64-disp-step.exp
12108 * gdb.arch/amd64-dword.exp
12109 * gdb.arch/amd64-entry-value-inline.exp
12110 * gdb.arch/amd64-entry-value-param.exp
12111 * gdb.arch/amd64-entry-value-paramref.exp
12112 * gdb.arch/amd64-entry-value.exp
12113 * gdb.arch/amd64-i386-address.exp
12114 * gdb.arch/amd64-invalid-stack-middle.exp
12115 * gdb.arch/amd64-invalid-stack-top.exp
12116 * gdb.arch/amd64-optimout-repeat.exp
12117 * gdb.arch/amd64-prologue-skip.exp
12118 * gdb.arch/amd64-prologue-xmm.exp
12119 * gdb.arch/amd64-stap-special-operands.exp
12120 * gdb.arch/amd64-stap-wrong-subexp.exp
12121 * gdb.arch/amd64-tailcall-cxx.exp
12122 * gdb.arch/amd64-tailcall-noret.exp
12123 * gdb.arch/amd64-tailcall-ret.exp
12124 * gdb.arch/amd64-tailcall-self.exp
12125 * gdb.arch/amd64-word.exp
12126 * gdb.arch/arm-bl-branch-dest.exp
12127 * gdb.arch/arm-disp-step.exp
12128 * gdb.arch/arm-neon.exp
12129 * gdb.arch/arm-single-step-kernel-helper.exp
12130 * gdb.arch/avr-flash-qualifier.exp
12131 * gdb.arch/disp-step-insn-reloc.exp
12132 * gdb.arch/e500-abi.exp
12133 * gdb.arch/e500-regs.exp
12134 * gdb.arch/ftrace-insn-reloc.exp
12135 * gdb.arch/i386-avx512.exp
12136 * gdb.arch/i386-bp_permanent.exp
12137 * gdb.arch/i386-byte.exp
12138 * gdb.arch/i386-cfi-notcurrent.exp
12139 * gdb.arch/i386-disp-step.exp
12140 * gdb.arch/i386-dr3-watch.exp
12141 * gdb.arch/i386-float.exp
12142 * gdb.arch/i386-gnu-cfi.exp
12143 * gdb.arch/i386-mpx-map.exp
12144 * gdb.arch/i386-mpx-sigsegv.exp
12145 * gdb.arch/i386-mpx-simple_segv.exp
12146 * gdb.arch/i386-mpx.exp
12147 * gdb.arch/i386-permbkpt.exp
12148 * gdb.arch/i386-prologue.exp
12149 * gdb.arch/i386-signal.exp
12150 * gdb.arch/i386-size-overlap.exp
12151 * gdb.arch/i386-unwind.exp
12152 * gdb.arch/i386-word.exp
12153 * gdb.arch/mips-fcr.exp
12154 * gdb.arch/powerpc-d128-regs.exp
12155 * gdb.arch/powerpc-stackless.exp
12156 * gdb.arch/ppc64-atomic-inst.exp
12157 * gdb.arch/s390-stackless.exp
12158 * gdb.arch/s390-tdbregs.exp
12159 * gdb.arch/s390-vregs.exp
12160 * gdb.arch/sparc-sysstep.exp
12161 * gdb.arch/thumb-bx-pc.exp
12162 * gdb.arch/thumb-singlestep.exp
12163 * gdb.arch/thumb2-it.exp
12164 * gdb.arch/vsx-regs.exp
12165 * gdb.asm/asm-source.exp
12166 * gdb.base/a2-run.exp
12167 * gdb.base/advance.exp
12168 * gdb.base/all-bin.exp
12169 * gdb.base/anon.exp
12170 * gdb.base/args.exp
12171 * gdb.base/arithmet.exp
12172 * gdb.base/async-shell.exp
12173 * gdb.base/async.exp
12174 * gdb.base/attach-pie-noexec.exp
12175 * gdb.base/attach-twice.exp
12176 * gdb.base/auto-load.exp
12177 * gdb.base/bang.exp
12178 * gdb.base/bitfields.exp
12179 * gdb.base/break-always.exp
12180 * gdb.base/break-caller-line.exp
12181 * gdb.base/break-entry.exp
12182 * gdb.base/break-inline.exp
12183 * gdb.base/break-on-linker-gcd-function.exp
12184 * gdb.base/break-probes.exp
12185 * gdb.base/break.exp
12186 * gdb.base/breakpoint-shadow.exp
12187 * gdb.base/call-ar-st.exp
12188 * gdb.base/call-sc.exp
12189 * gdb.base/call-signal-resume.exp
12190 * gdb.base/call-strs.exp
12191 * gdb.base/callfuncs.exp
12192 * gdb.base/catch-fork-static.exp
12193 * gdb.base/catch-gdb-caused-signals.exp
12194 * gdb.base/catch-load.exp
12195 * gdb.base/catch-signal-fork.exp
12196 * gdb.base/catch-signal.exp
12197 * gdb.base/catch-syscall.exp
12198 * gdb.base/charset.exp
12199 * gdb.base/checkpoint.exp
12200 * gdb.base/chng-syms.exp
12201 * gdb.base/code-expr.exp
12202 * gdb.base/code_elim.exp
12203 * gdb.base/commands.exp
12204 * gdb.base/completion.exp
12205 * gdb.base/complex.exp
12206 * gdb.base/cond-expr.exp
12207 * gdb.base/condbreak.exp
12208 * gdb.base/consecutive.exp
12209 * gdb.base/continue-all-already-running.exp
12210 * gdb.base/coredump-filter.exp
12211 * gdb.base/corefile.exp
12212 * gdb.base/dbx.exp
12213 * gdb.base/debug-expr.exp
12214 * gdb.base/define.exp
12215 * gdb.base/del.exp
12216 * gdb.base/disabled-location.exp
12217 * gdb.base/disasm-end-cu.exp
12218 * gdb.base/disasm-optim.exp
12219 * gdb.base/display.exp
12220 * gdb.base/duplicate-bp.exp
12221 * gdb.base/ena-dis-br.exp
12222 * gdb.base/ending-run.exp
12223 * gdb.base/enumval.exp
12224 * gdb.base/environ.exp
12225 * gdb.base/eu-strip-infcall.exp
12226 * gdb.base/eval-avoid-side-effects.exp
12227 * gdb.base/eval-skip.exp
12228 * gdb.base/exitsignal.exp
12229 * gdb.base/expand-psymtabs.exp
12230 * gdb.base/filesym.exp
12231 * gdb.base/find-unmapped.exp
12232 * gdb.base/finish.exp
12233 * gdb.base/float.exp
12234 * gdb.base/foll-exec-mode.exp
12235 * gdb.base/foll-exec.exp
12236 * gdb.base/foll-fork.exp
12237 * gdb.base/fortran-sym-case.exp
12238 * gdb.base/freebpcmd.exp
12239 * gdb.base/func-ptr.exp
12240 * gdb.base/func-ptrs.exp
12241 * gdb.base/funcargs.exp
12242 * gdb.base/gcore-buffer-overflow.exp
12243 * gdb.base/gcore-relro-pie.exp
12244 * gdb.base/gcore-relro.exp
12245 * gdb.base/gcore.exp
12246 * gdb.base/gdb1090.exp
12247 * gdb.base/gdb11530.exp
12248 * gdb.base/gdb11531.exp
12249 * gdb.base/gdb1821.exp
12250 * gdb.base/gdbindex-stabs.exp
12251 * gdb.base/gdbvars.exp
12252 * gdb.base/hbreak.exp
12253 * gdb.base/hbreak2.exp
12254 * gdb.base/included.exp
12255 * gdb.base/infcall-input.exp
12256 * gdb.base/inferior-died.exp
12257 * gdb.base/infnan.exp
12258 * gdb.base/info-macros.exp
12259 * gdb.base/info-os.exp
12260 * gdb.base/info-proc.exp
12261 * gdb.base/info-shared.exp
12262 * gdb.base/info-target.exp
12263 * gdb.base/infoline.exp
12264 * gdb.base/interp.exp
12265 * gdb.base/interrupt.exp
12266 * gdb.base/jit-reader.exp
12267 * gdb.base/jit-simple.exp
12268 * gdb.base/kill-after-signal.exp
12269 * gdb.base/kill-detach-inferiors-cmd.exp
12270 * gdb.base/label.exp
12271 * gdb.base/langs.exp
12272 * gdb.base/ldbl_e308.exp
12273 * gdb.base/line-symtabs.exp
12274 * gdb.base/linespecs.exp
12275 * gdb.base/list.exp
12276 * gdb.base/long_long.exp
12277 * gdb.base/longest-types.exp
12278 * gdb.base/maint.exp
12279 * gdb.base/max-value-size.exp
12280 * gdb.base/memattr.exp
12281 * gdb.base/mips_pro.exp
12282 * gdb.base/morestack.exp
12283 * gdb.base/moribund-step.exp
12284 * gdb.base/multi-forks.exp
12285 * gdb.base/nested-addr.exp
12286 * gdb.base/nextoverexit.exp
12287 * gdb.base/noreturn-finish.exp
12288 * gdb.base/noreturn-return.exp
12289 * gdb.base/nostdlib.exp
12290 * gdb.base/offsets.exp
12291 * gdb.base/opaque.exp
12292 * gdb.base/pc-fp.exp
12293 * gdb.base/permissions.exp
12294 * gdb.base/print-symbol-loading.exp
12295 * gdb.base/prologue-include.exp
12296 * gdb.base/psymtab.exp
12297 * gdb.base/ptype.exp
12298 * gdb.base/random-signal.exp
12299 * gdb.base/randomize.exp
12300 * gdb.base/range-stepping.exp
12301 * gdb.base/readline-ask.exp
12302 * gdb.base/recpar.exp
12303 * gdb.base/recurse.exp
12304 * gdb.base/relational.exp
12305 * gdb.base/restore.exp
12306 * gdb.base/return-nodebug.exp
12307 * gdb.base/return.exp
12308 * gdb.base/run-after-attach.exp
12309 * gdb.base/save-bp.exp
12310 * gdb.base/scope.exp
12311 * gdb.base/sect-cmd.exp
12312 * gdb.base/set-lang-auto.exp
12313 * gdb.base/set-noassign.exp
12314 * gdb.base/setvar.exp
12315 * gdb.base/sigall.exp
12316 * gdb.base/sigbpt.exp
12317 * gdb.base/siginfo-addr.exp
12318 * gdb.base/siginfo-infcall.exp
12319 * gdb.base/siginfo-obj.exp
12320 * gdb.base/siginfo.exp
12321 * gdb.base/signals-state-child.exp
12322 * gdb.base/signest.exp
12323 * gdb.base/sigstep.exp
12324 * gdb.base/sizeof.exp
12325 * gdb.base/skip.exp
12326 * gdb.base/solib-corrupted.exp
12327 * gdb.base/solib-nodir.exp
12328 * gdb.base/solib-search.exp
12329 * gdb.base/stack-checking.exp
12330 * gdb.base/stale-infcall.exp
12331 * gdb.base/stap-probe.exp
12332 * gdb.base/start.exp
12333 * gdb.base/step-break.exp
12334 * gdb.base/step-bt.exp
12335 * gdb.base/step-line.exp
12336 * gdb.base/step-over-exit.exp
12337 * gdb.base/step-over-syscall.exp
12338 * gdb.base/step-resume-infcall.exp
12339 * gdb.base/step-test.exp
12340 * gdb.base/store.exp
12341 * gdb.base/structs3.exp
12342 * gdb.base/sym-file.exp
12343 * gdb.base/symbol-without-target_section.exp
12344 * gdb.base/term.exp
12345 * gdb.base/testenv.exp
12346 * gdb.base/ui-redirect.exp
12347 * gdb.base/until.exp
12348 * gdb.base/unwindonsignal.exp
12349 * gdb.base/value-double-free.exp
12350 * gdb.base/vla-datatypes.exp
12351 * gdb.base/vla-ptr.exp
12352 * gdb.base/vla-sideeffect.exp
12353 * gdb.base/volatile.exp
12354 * gdb.base/watch-cond-infcall.exp
12355 * gdb.base/watch-cond.exp
12356 * gdb.base/watch-non-mem.exp
12357 * gdb.base/watch-read.exp
12358 * gdb.base/watch-vfork.exp
12359 * gdb.base/watchpoint-cond-gone.exp
12360 * gdb.base/watchpoint-delete.exp
12361 * gdb.base/watchpoint-hw-hit-once.exp
12362 * gdb.base/watchpoint-hw.exp
12363 * gdb.base/watchpoint-stops-at-right-insn.exp
12364 * gdb.base/watchpoints.exp
12365 * gdb.base/wchar.exp
12366 * gdb.base/whatis-exp.exp
12367 * gdb.btrace/buffer-size.exp
12368 * gdb.btrace/data.exp
12369 * gdb.btrace/delta.exp
12370 * gdb.btrace/dlopen.exp
12371 * gdb.btrace/enable.exp
12372 * gdb.btrace/exception.exp
12373 * gdb.btrace/function_call_history.exp
12374 * gdb.btrace/gcore.exp
12375 * gdb.btrace/instruction_history.exp
12376 * gdb.btrace/nohist.exp
12377 * gdb.btrace/reconnect.exp
12378 * gdb.btrace/record_goto-step.exp
12379 * gdb.btrace/record_goto.exp
12380 * gdb.btrace/rn-dl-bind.exp
12381 * gdb.btrace/segv.exp
12382 * gdb.btrace/step.exp
12383 * gdb.btrace/stepi.exp
12384 * gdb.btrace/tailcall-only.exp
12385 * gdb.btrace/tailcall.exp
12386 * gdb.btrace/tsx.exp
12387 * gdb.btrace/unknown_functions.exp
12388 * gdb.btrace/vdso.exp
12389 * gdb.compile/compile-ifunc.exp
12390 * gdb.compile/compile-ops.exp
12391 * gdb.compile/compile-print.exp
12392 * gdb.compile/compile-setjmp.exp
12393 * gdb.cp/abstract-origin.exp
12394 * gdb.cp/ambiguous.exp
12395 * gdb.cp/annota2.exp
12396 * gdb.cp/annota3.exp
12397 * gdb.cp/anon-ns.exp
12398 * gdb.cp/anon-struct.exp
12399 * gdb.cp/anon-union.exp
12400 * gdb.cp/arg-reference.exp
12401 * gdb.cp/baseenum.exp
12402 * gdb.cp/bool.exp
12403 * gdb.cp/breakpoint.exp
12404 * gdb.cp/bs15503.exp
12405 * gdb.cp/call-c.exp
12406 * gdb.cp/casts.exp
12407 * gdb.cp/chained-calls.exp
12408 * gdb.cp/class2.exp
12409 * gdb.cp/classes.exp
12410 * gdb.cp/cmpd-minsyms.exp
12411 * gdb.cp/converts.exp
12412 * gdb.cp/cp-relocate.exp
12413 * gdb.cp/cpcompletion.exp
12414 * gdb.cp/cpexprs.exp
12415 * gdb.cp/cplabel.exp
12416 * gdb.cp/cplusfuncs.exp
12417 * gdb.cp/cpsizeof.exp
12418 * gdb.cp/ctti.exp
12419 * gdb.cp/derivation.exp
12420 * gdb.cp/destrprint.exp
12421 * gdb.cp/dispcxx.exp
12422 * gdb.cp/enum-class.exp
12423 * gdb.cp/exception.exp
12424 * gdb.cp/exceptprint.exp
12425 * gdb.cp/expand-psymtabs-cxx.exp
12426 * gdb.cp/expand-sals.exp
12427 * gdb.cp/extern-c.exp
12428 * gdb.cp/filename.exp
12429 * gdb.cp/formatted-ref.exp
12430 * gdb.cp/fpointer.exp
12431 * gdb.cp/gdb1355.exp
12432 * gdb.cp/gdb2495.exp
12433 * gdb.cp/hang.exp
12434 * gdb.cp/impl-this.exp
12435 * gdb.cp/infcall-dlopen.exp
12436 * gdb.cp/inherit.exp
12437 * gdb.cp/iostream.exp
12438 * gdb.cp/koenig.exp
12439 * gdb.cp/local.exp
12440 * gdb.cp/m-data.exp
12441 * gdb.cp/m-static.exp
12442 * gdb.cp/mb-ctor.exp
12443 * gdb.cp/mb-inline.exp
12444 * gdb.cp/mb-templates.exp
12445 * gdb.cp/member-name.exp
12446 * gdb.cp/member-ptr.exp
12447 * gdb.cp/meth-typedefs.exp
12448 * gdb.cp/method.exp
12449 * gdb.cp/method2.exp
12450 * gdb.cp/minsym-fallback.exp
12451 * gdb.cp/misc.exp
12452 * gdb.cp/namelessclass.exp
12453 * gdb.cp/namespace-enum.exp
12454 * gdb.cp/namespace-nested-import.exp
12455 * gdb.cp/namespace.exp
12456 * gdb.cp/nextoverthrow.exp
12457 * gdb.cp/no-dmgl-verbose.exp
12458 * gdb.cp/non-trivial-retval.exp
12459 * gdb.cp/noparam.exp
12460 * gdb.cp/nsdecl.exp
12461 * gdb.cp/nsimport.exp
12462 * gdb.cp/nsnested.exp
12463 * gdb.cp/nsnoimports.exp
12464 * gdb.cp/nsrecurs.exp
12465 * gdb.cp/nsstress.exp
12466 * gdb.cp/nsusing.exp
12467 * gdb.cp/operator.exp
12468 * gdb.cp/oranking.exp
12469 * gdb.cp/overload-const.exp
12470 * gdb.cp/overload.exp
12471 * gdb.cp/ovldbreak.exp
12472 * gdb.cp/ovsrch.exp
12473 * gdb.cp/paren-type.exp
12474 * gdb.cp/parse-lang.exp
12475 * gdb.cp/pass-by-ref.exp
12476 * gdb.cp/pr-1023.exp
12477 * gdb.cp/pr-1210.exp
12478 * gdb.cp/pr-574.exp
12479 * gdb.cp/pr10687.exp
12480 * gdb.cp/pr12028.exp
12481 * gdb.cp/pr17132.exp
12482 * gdb.cp/pr17494.exp
12483 * gdb.cp/pr9067.exp
12484 * gdb.cp/pr9167.exp
12485 * gdb.cp/pr9631.exp
12486 * gdb.cp/printmethod.exp
12487 * gdb.cp/psmang.exp
12488 * gdb.cp/psymtab-parameter.exp
12489 * gdb.cp/ptype-cv-cp.exp
12490 * gdb.cp/ptype-flags.exp
12491 * gdb.cp/re-set-overloaded.exp
12492 * gdb.cp/ref-types.exp
12493 * gdb.cp/rtti.exp
12494 * gdb.cp/scope-err.exp
12495 * gdb.cp/shadow.exp
12496 * gdb.cp/smartp.exp
12497 * gdb.cp/static-method.exp
12498 * gdb.cp/static-print-quit.exp
12499 * gdb.cp/temargs.exp
12500 * gdb.cp/templates.exp
12501 * gdb.cp/try_catch.exp
12502 * gdb.cp/typedef-operator.exp
12503 * gdb.cp/typeid.exp
12504 * gdb.cp/userdef.exp
12505 * gdb.cp/using-crash.exp
12506 * gdb.cp/var-tag.exp
12507 * gdb.cp/virtbase.exp
12508 * gdb.cp/virtfunc.exp
12509 * gdb.cp/virtfunc2.exp
12510 * gdb.cp/vla-cxx.exp
12511 * gdb.disasm/t01_mov.exp
12512 * gdb.disasm/t02_mova.exp
12513 * gdb.disasm/t03_add.exp
12514 * gdb.disasm/t04_sub.exp
12515 * gdb.disasm/t05_cmp.exp
12516 * gdb.disasm/t06_ari2.exp
12517 * gdb.disasm/t07_ari3.exp
12518 * gdb.disasm/t08_or.exp
12519 * gdb.disasm/t09_xor.exp
12520 * gdb.disasm/t10_and.exp
12521 * gdb.disasm/t11_logs.exp
12522 * gdb.disasm/t12_bit.exp
12523 * gdb.disasm/t13_otr.exp
12524 * gdb.dlang/circular.exp
12525 * gdb.dwarf2/arr-stride.exp
12526 * gdb.dwarf2/arr-subrange.exp
12527 * gdb.dwarf2/atomic-type.exp
12528 * gdb.dwarf2/bad-regnum.exp
12529 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12530 * gdb.dwarf2/callframecfa.exp
12531 * gdb.dwarf2/clztest.exp
12532 * gdb.dwarf2/corrupt.exp
12533 * gdb.dwarf2/data-loc.exp
12534 * gdb.dwarf2/dup-psym.exp
12535 * gdb.dwarf2/dw2-anon-mptr.exp
12536 * gdb.dwarf2/dw2-anonymous-func.exp
12537 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12538 * gdb.dwarf2/dw2-bad-unresolved.exp
12539 * gdb.dwarf2/dw2-basic.exp
12540 * gdb.dwarf2/dw2-canonicalize-type.exp
12541 * gdb.dwarf2/dw2-case-insensitive.exp
12542 * gdb.dwarf2/dw2-common-block.exp
12543 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12544 * gdb.dwarf2/dw2-compressed.exp
12545 * gdb.dwarf2/dw2-const.exp
12546 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12547 * gdb.dwarf2/dw2-cu-size.exp
12548 * gdb.dwarf2/dw2-dup-frame.exp
12549 * gdb.dwarf2/dw2-entry-value.exp
12550 * gdb.dwarf2/dw2-icycle.exp
12551 * gdb.dwarf2/dw2-ifort-parameter.exp
12552 * gdb.dwarf2/dw2-inline-break.exp
12553 * gdb.dwarf2/dw2-inline-param.exp
12554 * gdb.dwarf2/dw2-intercu.exp
12555 * gdb.dwarf2/dw2-intermix.exp
12556 * gdb.dwarf2/dw2-lexical-block-bare.exp
12557 * gdb.dwarf2/dw2-linkage-name-trust.exp
12558 * gdb.dwarf2/dw2-minsym-in-cu.exp
12559 * gdb.dwarf2/dw2-noloc.exp
12560 * gdb.dwarf2/dw2-op-call.exp
12561 * gdb.dwarf2/dw2-op-out-param.exp
12562 * gdb.dwarf2/dw2-opt-structptr.exp
12563 * gdb.dwarf2/dw2-param-error.exp
12564 * gdb.dwarf2/dw2-producer.exp
12565 * gdb.dwarf2/dw2-ranges-base.exp
12566 * gdb.dwarf2/dw2-ref-missing-frame.exp
12567 * gdb.dwarf2/dw2-reg-undefined.exp
12568 * gdb.dwarf2/dw2-regno-invalid.exp
12569 * gdb.dwarf2/dw2-restore.exp
12570 * gdb.dwarf2/dw2-restrict.exp
12571 * gdb.dwarf2/dw2-single-line-discriminators.exp
12572 * gdb.dwarf2/dw2-strp.exp
12573 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12574 * gdb.dwarf2/dw2-unresolved.exp
12575 * gdb.dwarf2/dw2-var-zero-addr.exp
12576 * gdb.dwarf2/dw4-sig-types.exp
12577 * gdb.dwarf2/dwz.exp
12578 * gdb.dwarf2/dynarr-ptr.exp
12579 * gdb.dwarf2/enum-type.exp
12580 * gdb.dwarf2/gdb-index.exp
12581 * gdb.dwarf2/implptr-64bit.exp
12582 * gdb.dwarf2/implptr-optimized-out.exp
12583 * gdb.dwarf2/implptr.exp
12584 * gdb.dwarf2/implref-array.exp
12585 * gdb.dwarf2/implref-const.exp
12586 * gdb.dwarf2/implref-global.exp
12587 * gdb.dwarf2/implref-struct.exp
12588 * gdb.dwarf2/mac-fileno.exp
12589 * gdb.dwarf2/main-subprogram.exp
12590 * gdb.dwarf2/member-ptr-forwardref.exp
12591 * gdb.dwarf2/method-ptr.exp
12592 * gdb.dwarf2/missing-sig-type.exp
12593 * gdb.dwarf2/nonvar-access.exp
12594 * gdb.dwarf2/opaque-type-lookup.exp
12595 * gdb.dwarf2/pieces-optimized-out.exp
12596 * gdb.dwarf2/pieces.exp
12597 * gdb.dwarf2/pr10770.exp
12598 * gdb.dwarf2/pr13961.exp
12599 * gdb.dwarf2/staticvirtual.exp
12600 * gdb.dwarf2/subrange.exp
12601 * gdb.dwarf2/symtab-producer.exp
12602 * gdb.dwarf2/trace-crash.exp
12603 * gdb.dwarf2/typeddwarf.exp
12604 * gdb.dwarf2/valop.exp
12605 * gdb.dwarf2/watch-notconst.exp
12606 * gdb.fortran/array-element.exp
12607 * gdb.fortran/charset.exp
12608 * gdb.fortran/common-block.exp
12609 * gdb.fortran/complex.exp
12610 * gdb.fortran/derived-type-function.exp
12611 * gdb.fortran/derived-type.exp
12612 * gdb.fortran/logical.exp
12613 * gdb.fortran/module.exp
12614 * gdb.fortran/multi-dim.exp
12615 * gdb.fortran/nested-funcs.exp
12616 * gdb.fortran/print-formatted.exp
12617 * gdb.fortran/subarray.exp
12618 * gdb.fortran/vla-alloc-assoc.exp
12619 * gdb.fortran/vla-datatypes.exp
12620 * gdb.fortran/vla-history.exp
12621 * gdb.fortran/vla-ptr-info.exp
12622 * gdb.fortran/vla-ptype-sub.exp
12623 * gdb.fortran/vla-ptype.exp
12624 * gdb.fortran/vla-sizeof.exp
12625 * gdb.fortran/vla-type.exp
12626 * gdb.fortran/vla-value-sub-arbitrary.exp
12627 * gdb.fortran/vla-value-sub-finish.exp
12628 * gdb.fortran/vla-value-sub.exp
12629 * gdb.fortran/vla-value.exp
12630 * gdb.fortran/whatis_type.exp
12631 * gdb.go/chan.exp
12632 * gdb.go/handcall.exp
12633 * gdb.go/hello.exp
12634 * gdb.go/integers.exp
12635 * gdb.go/methods.exp
12636 * gdb.go/package.exp
12637 * gdb.go/strings.exp
12638 * gdb.go/types.exp
12639 * gdb.go/unsafe.exp
12640 * gdb.guile/scm-arch.exp
12641 * gdb.guile/scm-block.exp
12642 * gdb.guile/scm-breakpoint.exp
12643 * gdb.guile/scm-cmd.exp
12644 * gdb.guile/scm-disasm.exp
12645 * gdb.guile/scm-equal.exp
12646 * gdb.guile/scm-frame-args.exp
12647 * gdb.guile/scm-frame-inline.exp
12648 * gdb.guile/scm-frame.exp
12649 * gdb.guile/scm-iterator.exp
12650 * gdb.guile/scm-math.exp
12651 * gdb.guile/scm-objfile.exp
12652 * gdb.guile/scm-ports.exp
12653 * gdb.guile/scm-symbol.exp
12654 * gdb.guile/scm-symtab.exp
12655 * gdb.guile/scm-value-cc.exp
12656 * gdb.guile/types-module.exp
12657 * gdb.linespec/break-ask.exp
12658 * gdb.linespec/cpexplicit.exp
12659 * gdb.linespec/explicit.exp
12660 * gdb.linespec/keywords.exp
12661 * gdb.linespec/linespec.exp
12662 * gdb.linespec/ls-dollar.exp
12663 * gdb.linespec/ls-errs.exp
12664 * gdb.linespec/skip-two.exp
12665 * gdb.linespec/thread.exp
12666 * gdb.mi/mi-async.exp
12667 * gdb.mi/mi-basics.exp
12668 * gdb.mi/mi-break.exp
12669 * gdb.mi/mi-catch-load.exp
12670 * gdb.mi/mi-cli.exp
12671 * gdb.mi/mi-cmd-param-changed.exp
12672 * gdb.mi/mi-console.exp
12673 * gdb.mi/mi-detach.exp
12674 * gdb.mi/mi-disassemble.exp
12675 * gdb.mi/mi-eval.exp
12676 * gdb.mi/mi-file-transfer.exp
12677 * gdb.mi/mi-file.exp
12678 * gdb.mi/mi-fill-memory.exp
12679 * gdb.mi/mi-inheritance-syntax-error.exp
12680 * gdb.mi/mi-linespec-err-cp.exp
12681 * gdb.mi/mi-logging.exp
12682 * gdb.mi/mi-memory-changed.exp
12683 * gdb.mi/mi-read-memory.exp
12684 * gdb.mi/mi-record-changed.exp
12685 * gdb.mi/mi-reg-undefined.exp
12686 * gdb.mi/mi-regs.exp
12687 * gdb.mi/mi-return.exp
12688 * gdb.mi/mi-reverse.exp
12689 * gdb.mi/mi-simplerun.exp
12690 * gdb.mi/mi-solib.exp
12691 * gdb.mi/mi-stack.exp
12692 * gdb.mi/mi-stepi.exp
12693 * gdb.mi/mi-syn-frame.exp
12694 * gdb.mi/mi-until.exp
12695 * gdb.mi/mi-var-block.exp
12696 * gdb.mi/mi-var-child.exp
12697 * gdb.mi/mi-var-cmd.exp
12698 * gdb.mi/mi-var-cp.exp
12699 * gdb.mi/mi-var-display.exp
12700 * gdb.mi/mi-var-invalidate.exp
12701 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12702 * gdb.mi/mi-vla-fortran.exp
12703 * gdb.mi/mi-watch.exp
12704 * gdb.mi/mi2-var-child.exp
12705 * gdb.mi/user-selected-context-sync.exp
12706 * gdb.modula2/unbounded-array.exp
12707 * gdb.multi/dummy-frame-restore.exp
12708 * gdb.multi/multi-arch-exec.exp
12709 * gdb.multi/multi-arch.exp
12710 * gdb.multi/tids.exp
12711 * gdb.multi/watchpoint-multi.exp
12712 * gdb.opencl/callfuncs.exp
12713 * gdb.opencl/convs_casts.exp
12714 * gdb.opencl/datatypes.exp
12715 * gdb.opencl/operators.exp
12716 * gdb.opencl/vec_comps.exp
12717 * gdb.opt/clobbered-registers-O2.exp
12718 * gdb.opt/inline-break.exp
12719 * gdb.opt/inline-bt.exp
12720 * gdb.opt/inline-cmds.exp
12721 * gdb.opt/inline-locals.exp
12722 * gdb.pascal/case-insensitive-symbols.exp
12723 * gdb.pascal/floats.exp
12724 * gdb.pascal/gdb11492.exp
12725 * gdb.python/lib-types.exp
12726 * gdb.python/py-arch.exp
12727 * gdb.python/py-as-string.exp
12728 * gdb.python/py-bad-printers.exp
12729 * gdb.python/py-block.exp
12730 * gdb.python/py-breakpoint-create-fail.exp
12731 * gdb.python/py-breakpoint.exp
12732 * gdb.python/py-caller-is.exp
12733 * gdb.python/py-cmd.exp
12734 * gdb.python/py-explore-cc.exp
12735 * gdb.python/py-explore.exp
12736 * gdb.python/py-finish-breakpoint.exp
12737 * gdb.python/py-finish-breakpoint2.exp
12738 * gdb.python/py-frame-args.exp
12739 * gdb.python/py-frame-inline.exp
12740 * gdb.python/py-frame.exp
12741 * gdb.python/py-framefilter-mi.exp
12742 * gdb.python/py-infthread.exp
12743 * gdb.python/py-lazy-string.exp
12744 * gdb.python/py-linetable.exp
12745 * gdb.python/py-mi-events.exp
12746 * gdb.python/py-mi-objfile.exp
12747 * gdb.python/py-mi.exp
12748 * gdb.python/py-objfile.exp
12749 * gdb.python/py-pp-integral.exp
12750 * gdb.python/py-pp-maint.exp
12751 * gdb.python/py-pp-re-notag.exp
12752 * gdb.python/py-pp-registration.exp
12753 * gdb.python/py-recurse-unwind.exp
12754 * gdb.python/py-strfns.exp
12755 * gdb.python/py-symbol.exp
12756 * gdb.python/py-symtab.exp
12757 * gdb.python/py-sync-interp.exp
12758 * gdb.python/py-typeprint.exp
12759 * gdb.python/py-unwind-maint.exp
12760 * gdb.python/py-unwind.exp
12761 * gdb.python/py-value-cc.exp
12762 * gdb.python/py-xmethods.exp
12763 * gdb.reverse/amd64-tailcall-reverse.exp
12764 * gdb.reverse/break-precsave.exp
12765 * gdb.reverse/break-reverse.exp
12766 * gdb.reverse/consecutive-precsave.exp
12767 * gdb.reverse/consecutive-reverse.exp
12768 * gdb.reverse/finish-precsave.exp
12769 * gdb.reverse/finish-reverse-bkpt.exp
12770 * gdb.reverse/finish-reverse.exp
12771 * gdb.reverse/fstatat-reverse.exp
12772 * gdb.reverse/getresuid-reverse.exp
12773 * gdb.reverse/i386-precsave.exp
12774 * gdb.reverse/i386-reverse.exp
12775 * gdb.reverse/i386-sse-reverse.exp
12776 * gdb.reverse/i387-env-reverse.exp
12777 * gdb.reverse/i387-stack-reverse.exp
12778 * gdb.reverse/insn-reverse.exp
12779 * gdb.reverse/machinestate-precsave.exp
12780 * gdb.reverse/machinestate.exp
12781 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12782 * gdb.reverse/pipe-reverse.exp
12783 * gdb.reverse/readv-reverse.exp
12784 * gdb.reverse/recvmsg-reverse.exp
12785 * gdb.reverse/rerun-prec.exp
12786 * gdb.reverse/s390-mvcle.exp
12787 * gdb.reverse/step-precsave.exp
12788 * gdb.reverse/step-reverse.exp
12789 * gdb.reverse/time-reverse.exp
12790 * gdb.reverse/until-precsave.exp
12791 * gdb.reverse/until-reverse.exp
12792 * gdb.reverse/waitpid-reverse.exp
12793 * gdb.reverse/watch-precsave.exp
12794 * gdb.reverse/watch-reverse.exp
12795 * gdb.rust/generics.exp
12796 * gdb.rust/methods.exp
12797 * gdb.rust/modules.exp
12798 * gdb.rust/simple.exp
12799 * gdb.server/connect-with-no-symbol-file.exp
12800 * gdb.server/ext-attach.exp
12801 * gdb.server/ext-restart.exp
12802 * gdb.server/ext-wrapper.exp
12803 * gdb.server/file-transfer.exp
12804 * gdb.server/server-exec-info.exp
12805 * gdb.server/server-kill.exp
12806 * gdb.server/server-mon.exp
12807 * gdb.server/wrapper.exp
12808 * gdb.stabs/exclfwd.exp
12809 * gdb.stabs/gdb11479.exp
12810 * gdb.threads/clone-new-thread-event.exp
12811 * gdb.threads/corethreads.exp
12812 * gdb.threads/current-lwp-dead.exp
12813 * gdb.threads/dlopen-libpthread.exp
12814 * gdb.threads/gcore-thread.exp
12815 * gdb.threads/sigstep-threads.exp
12816 * gdb.threads/watchpoint-fork.exp
12817 * gdb.trace/actions-changed.exp
12818 * gdb.trace/backtrace.exp
12819 * gdb.trace/change-loc.exp
12820 * gdb.trace/circ.exp
12821 * gdb.trace/collection.exp
12822 * gdb.trace/disconnected-tracing.exp
12823 * gdb.trace/ftrace.exp
12824 * gdb.trace/mi-trace-frame-collected.exp
12825 * gdb.trace/mi-trace-unavailable.exp
12826 * gdb.trace/mi-traceframe-changed.exp
12827 * gdb.trace/mi-tsv-changed.exp
12828 * gdb.trace/no-attach-trace.exp
12829 * gdb.trace/passc-dyn.exp
12830 * gdb.trace/qtro.exp
12831 * gdb.trace/range-stepping.exp
12832 * gdb.trace/read-memory.exp
12833 * gdb.trace/save-trace.exp
12834 * gdb.trace/signal.exp
12835 * gdb.trace/status-stop.exp
12836 * gdb.trace/tfile.exp
12837 * gdb.trace/trace-break.exp
12838 * gdb.trace/trace-buffer-size.exp
12839 * gdb.trace/trace-condition.exp
12840 * gdb.trace/tracefile-pseudo-reg.exp
12841 * gdb.trace/tstatus.exp
12842 * gdb.trace/unavailable.exp
12843 * gdb.trace/while-dyn.exp
12844 * gdb.trace/while-stepping.exp
12845
34c41c68
DE
128462016-12-22 Doug Evans <xdje42@gmail.com>
12847
12848 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12849 and msymbols.
12850
16e69324
YQ
128512016-12-19 Yao Qi <yao.qi@linaro.org>
12852
12853 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12854 (test_with_self): Don't call do_steps_and_nexts, and remove
12855 code about stepping into xmalloc.
12856
f94f411b
YQ
128572016-12-09 Yao Qi <yao.qi@linaro.org>
12858
12859 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12860
128612016-12-09 Yao Qi <yao.qi@linaro.org>
12862
12863 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12864
f1b5deee
PA
128652016-12-09 Pedro Alves <palves@redhat.com>
12866
12867 * gdb.base/all-architectures-0.exp: New file.
12868 * gdb.base/all-architectures-1.exp: New file.
12869 * gdb.base/all-architectures-2.exp: New file.
12870 * gdb.base/all-architectures-3.exp: New file.
12871 * gdb.base/all-architectures-4.exp: New file.
12872 * gdb.base/all-architectures-5.exp: New file.
12873 * gdb.base/all-architectures-6.exp: New file.
12874 * gdb.base/all-architectures-7.exp: New file.
12875 * gdb.base/all-architectures.exp.in: New file.
12876
364ca42e
YQ
128772016-12-09 Yao Qi <yao.qi@linaro.org>
12878
12879 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12880
107c2d62
LM
128812016-12-02 Luis Machado <lgustavo@codesourcery.com>
12882
12883 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12884 possible.
12885 Remove useless pattern-matching code.
12886
df3ee9ca
PA
128872016-12-02 Pedro Alves <palves@redhat.com>
12888
12889 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12890 procedure.
12891 (top level): Call it.
12892
ec835369
PA
128932016-12-02 Pedro Alves <palves@redhat.com>
12894
12895 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12896 New procedure.
12897 (top level): Call it.
12898
01770bbd
PA
128992016-12-02 Pedro Alves <palves@redhat.com>
12900
12901 PR cli/20559
12902 * gdb.base/commands.exp (user_defined_command_args_eval): New
12903 procedure.
12904 (top level): Call it.
12905
008459ea
LM
129062016-12-02 Luis Machado <lgustavo@codesourcery.com>
12907
12908 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12909 timeout handling.
12910
0c1b455e
TT
129112016-12-02 Tom Tromey <tom@tromey.com>
12912
12913 * gdb.dwarf2/main-subprogram.c: New file.
12914 * gdb.dwarf2/main-subprogram.exp: New file.
12915
018572b8
LM
129162016-12-01 Luis Machado <lgustavo@codesourcery.com>
12917
12918 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12919 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12920 gdb_test_no_output for a couple of cases.
12921 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12922
84c93cd5
LM
129232016-12-01 Luis Machado <lgustavo@codesourcery.com>
12924
12925 Fix test names and standardize compilation error messages throughout
12926 the following files:
12927
12928 * gdb.ada/start.exp
12929 * gdb.arch/alpha-step.exp
12930 * gdb.arch/e500-prologue.exp
12931 * gdb.arch/ftrace-insn-reloc.exp
12932 * gdb.arch/gdb1291.exp
12933 * gdb.arch/gdb1431.exp
12934 * gdb.arch/gdb1558.exp
12935 * gdb.arch/i386-dr3-watch.exp
12936 * gdb.arch/i386-sse-stack-align.exp
12937 * gdb.arch/ia64-breakpoint-shadow.exp
12938 * gdb.arch/pa-nullify.exp
12939 * gdb.arch/powerpc-aix-prologue.exp
12940 * gdb.arch/thumb-bx-pc.exp
12941 * gdb.base/annota1.exp
12942 * gdb.base/annota3.exp
12943 * gdb.base/arrayidx.exp
12944 * gdb.base/assign.exp
12945 * gdb.base/attach.exp
12946 * gdb.base/auxv.exp
12947 * gdb.base/bang.exp
12948 * gdb.base/bfp-test.exp
12949 * gdb.base/bigcore.exp
12950 * gdb.base/bitfields2.exp
12951 * gdb.base/break-fun-addr.exp
12952 * gdb.base/break-probes.exp
12953 * gdb.base/call-rt-st.exp
12954 * gdb.base/callexit.exp
12955 * gdb.base/catch-fork-kill.exp
12956 * gdb.base/charset.exp
12957 * gdb.base/checkpoint.exp
12958 * gdb.base/comprdebug.exp
12959 * gdb.base/constvars.exp
12960 * gdb.base/coredump-filter.exp
12961 * gdb.base/cursal.exp
12962 * gdb.base/cvexpr.exp
12963 * gdb.base/detach.exp
12964 * gdb.base/display.exp
12965 * gdb.base/dmsym.exp
12966 * gdb.base/dprintf-pending.exp
12967 * gdb.base/dso2dso.exp
12968 * gdb.base/dtrace-probe.exp
12969 * gdb.base/dump.exp
12970 * gdb.base/enum_cond.exp
12971 * gdb.base/exe-lock.exp
12972 * gdb.base/exec-invalid-sysroot.exp
12973 * gdb.base/execl-update-breakpoints.exp
12974 * gdb.base/exprs.exp
12975 * gdb.base/fileio.exp
12976 * gdb.base/find.exp
12977 * gdb.base/finish.exp
12978 * gdb.base/fixsection.exp
12979 * gdb.base/foll-vfork.exp
12980 * gdb.base/frame-args.exp
12981 * gdb.base/gcore.exp
12982 * gdb.base/gdb1250.exp
12983 * gdb.base/global-var-nested-by-dso.exp
12984 * gdb.base/gnu-ifunc.exp
12985 * gdb.base/hashline1.exp
12986 * gdb.base/hashline2.exp
12987 * gdb.base/hashline3.exp
12988 * gdb.base/hbreak-in-shr-unsupported.exp
12989 * gdb.base/huge.exp
12990 * gdb.base/infcall-input.exp
12991 * gdb.base/info-fun.exp
12992 * gdb.base/info-shared.exp
12993 * gdb.base/jit-simple.exp
12994 * gdb.base/jit-so.exp
12995 * gdb.base/jit.exp
12996 * gdb.base/jump.exp
12997 * gdb.base/label.exp
12998 * gdb.base/lineinc.exp
12999 * gdb.base/logical.exp
13000 * gdb.base/longjmp.exp
13001 * gdb.base/macscp.exp
13002 * gdb.base/miscexprs.exp
13003 * gdb.base/new-ui-echo.exp
13004 * gdb.base/new-ui-pending-input.exp
13005 * gdb.base/new-ui.exp
13006 * gdb.base/nodebug.exp
13007 * gdb.base/nofield.exp
13008 * gdb.base/offsets.exp
13009 * gdb.base/overlays.exp
13010 * gdb.base/pending.exp
13011 * gdb.base/pointers.exp
13012 * gdb.base/pr11022.exp
13013 * gdb.base/printcmds.exp
13014 * gdb.base/prologue.exp
13015 * gdb.base/ptr-typedef.exp
13016 * gdb.base/realname-expand.exp
13017 * gdb.base/relativedebug.exp
13018 * gdb.base/relocate.exp
13019 * gdb.base/remote.exp
13020 * gdb.base/reread.exp
13021 * gdb.base/return2.exp
13022 * gdb.base/savedregs.exp
13023 * gdb.base/sep.exp
13024 * gdb.base/sepdebug.exp
13025 * gdb.base/sepsymtab.exp
13026 * gdb.base/set-inferior-tty.exp
13027 * gdb.base/setshow.exp
13028 * gdb.base/shlib-call.exp
13029 * gdb.base/sigaltstack.exp
13030 * gdb.base/siginfo-addr.exp
13031 * gdb.base/signals.exp
13032 * gdb.base/signull.exp
13033 * gdb.base/sigrepeat.exp
13034 * gdb.base/so-impl-ld.exp
13035 * gdb.base/solib-display.exp
13036 * gdb.base/solib-overlap.exp
13037 * gdb.base/solib-search.exp
13038 * gdb.base/solib-symbol.exp
13039 * gdb.base/structs.exp
13040 * gdb.base/structs2.exp
13041 * gdb.base/symtab-search-order.exp
13042 * gdb.base/twice.exp
13043 * gdb.base/unload.exp
13044 * gdb.base/varargs.exp
13045 * gdb.base/watchpoint-solib.exp
13046 * gdb.base/watchpoint.exp
13047 * gdb.base/whatis.exp
13048 * gdb.base/wrong_frame_bt_full.exp
13049 * gdb.btrace/dlopen.exp
13050 * gdb.cell/ea-standalone.exp
13051 * gdb.cell/ea-test.exp
13052 * gdb.cp/dispcxx.exp
13053 * gdb.cp/gdb2384.exp
13054 * gdb.cp/method2.exp
13055 * gdb.cp/nextoverthrow.exp
13056 * gdb.cp/pr10728.exp
13057 * gdb.disasm/am33.exp
13058 * gdb.disasm/h8300s.exp
13059 * gdb.disasm/mn10300.exp
13060 * gdb.disasm/sh3.exp
13061 * gdb.dwarf2/dw2-dir-file-name.exp
13062 * gdb.fortran/complex.exp
13063 * gdb.fortran/library-module.exp
13064 * gdb.guile/scm-pretty-print.exp
13065 * gdb.guile/scm-symbol.exp
13066 * gdb.guile/scm-type.exp
13067 * gdb.guile/scm-value.exp
13068 * gdb.linespec/linespec.exp
13069 * gdb.mi/gdb701.exp
13070 * gdb.mi/gdb792.exp
13071 * gdb.mi/mi-breakpoint-changed.exp
13072 * gdb.mi/mi-dprintf-pending.exp
13073 * gdb.mi/mi-dprintf.exp
13074 * gdb.mi/mi-exit-code.exp
13075 * gdb.mi/mi-pending.exp
13076 * gdb.mi/mi-solib.exp
13077 * gdb.mi/new-ui-mi-sync.exp
13078 * gdb.mi/pr11022.exp
13079 * gdb.mi/user-selected-context-sync.exp
13080 * gdb.opt/solib-intra-step.exp
13081 * gdb.python/py-events.exp
13082 * gdb.python/py-finish-breakpoint.exp
13083 * gdb.python/py-mi.exp
13084 * gdb.python/py-prettyprint.exp
13085 * gdb.python/py-shared.exp
13086 * gdb.python/py-symbol.exp
13087 * gdb.python/py-template.exp
13088 * gdb.python/py-type.exp
13089 * gdb.python/py-value.exp
13090 * gdb.reverse/solib-precsave.exp
13091 * gdb.reverse/solib-reverse.exp
13092 * gdb.server/solib-list.exp
13093 * gdb.stabs/weird.exp
13094 * gdb.threads/reconnect-signal.exp
13095 * gdb.threads/stepi-random-signal.exp
13096 * gdb.trace/actions.exp
13097 * gdb.trace/ax.exp
13098 * gdb.trace/backtrace.exp
13099 * gdb.trace/change-loc.exp
13100 * gdb.trace/deltrace.exp
13101 * gdb.trace/ftrace-lock.exp
13102 * gdb.trace/ftrace.exp
13103 * gdb.trace/infotrace.exp
13104 * gdb.trace/mi-tracepoint-changed.exp
13105 * gdb.trace/packetlen.exp
13106 * gdb.trace/passcount.exp
13107 * gdb.trace/pending.exp
13108 * gdb.trace/range-stepping.exp
13109 * gdb.trace/report.exp
13110 * gdb.trace/stap-trace.exp
13111 * gdb.trace/tfind.exp
13112 * gdb.trace/trace-break.exp
13113 * gdb.trace/trace-condition.exp
13114 * gdb.trace/trace-enable-disable.exp
13115 * gdb.trace/trace-mt.exp
13116 * gdb.trace/tracecmd.exp
13117 * gdb.trace/tspeed.exp
13118 * gdb.trace/tsv.exp
13119 * lib/perftest.exp
13120
fb9feb35
LM
131212016-12-01 Luis Machado <lgustavo@codesourcery.com>
13122
13123 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13124 with gdb_test_no_output.
13125 Use command as test name.
13126
cd2ddb6c
LM
131272016-12-01 Luis Machado <lgustavo@codesourcery.com>
13128
13129 Fix test names starting with uppercase throughout the files.
13130
13131 * gdb.ada/assign_1.exp
13132 * gdb.ada/boolean_expr.exp
13133 * gdb.base/arrayidx.exp
13134 * gdb.base/del.exp
13135 * gdb.base/gcore-buffer-overflow.exp
13136 * gdb.base/testenv.exp
13137 * gdb.compile/compile.exp
13138 * gdb.python/py-framefilter-invalidarg.exp
13139 * gdb.python/py-framefilter.exp
13140
bb95117e
LM
131412016-12-01 Luis Machado <lgustavo@codesourcery.com>
13142
13143 Fix test names starting with uppercase throughout the files.
13144
13145 * gdb.ada/array_return.exp
13146 * gdb.ada/expr_delims.exp
13147 * gdb.ada/mi_dyn_arr.exp
13148 * gdb.ada/mi_interface.exp
13149 * gdb.ada/mi_var_array.exp
13150 * gdb.ada/watch_arg.exp
13151 * gdb.arch/alpha-step.exp
13152 * gdb.arch/altivec-regs.exp
13153 * gdb.arch/e500-regs.exp
13154 * gdb.arch/powerpc-d128-regs.exp
13155 * gdb.base/arrayidx.exp
13156 * gdb.base/break.exp
13157 * gdb.base/checkpoint.exp
13158 * gdb.base/debug-expr.exp
13159 * gdb.base/dmsym.exp
13160 * gdb.base/radix.exp
13161 * gdb.base/sepdebug.exp
13162 * gdb.base/testenv.exp
13163 * gdb.base/watch_thread_num.exp
13164 * gdb.base/watchpoint-cond-gone.exp
13165 * gdb.cell/break.exp
13166 * gdb.cell/ea-cache.exp
13167 * gdb.compile/compile.exp
13168 * gdb.cp/gdb2495.exp
13169 * gdb.gdb/selftest.exp
13170 * gdb.gdb/xfullpath.exp
13171 * gdb.go/hello.exp
13172 * gdb.go/integers.exp
13173 * gdb.objc/basicclass.exp
13174 * gdb.pascal/hello.exp
13175 * gdb.pascal/integers.exp
13176 * gdb.python/py-breakpoint.exp
13177 * gdb.python/py-cmd.exp
13178 * gdb.python/py-linetable.exp
13179 * gdb.python/py-xmethods.exp
13180 * gdb.python/python.exp
13181 * gdb.reverse/consecutive-precsave.exp
13182 * gdb.reverse/finish-precsave.exp
13183 * gdb.reverse/i386-precsave.exp
13184 * gdb.reverse/machinestate-precsave.exp
13185 * gdb.reverse/sigall-precsave.exp
13186 * gdb.reverse/solib-precsave.exp
13187 * gdb.reverse/step-precsave.exp
13188 * gdb.reverse/until-precsave.exp
13189 * gdb.reverse/watch-precsave.exp
13190 * gdb.threads/leader-exit.exp
13191 * gdb.threads/pthreads.exp
13192 * gdb.threads/wp-replication.exp
13193 * gdb.trace/actions.exp
13194 * gdb.trace/mi-tsv-changed.exp
13195 * gdb.trace/tsv.exp
13196
de97fdd4
LM
131972016-12-01 Luis Machado <lgustavo@codesourcery.com>
13198
13199 Fix test names starting with uppercase throughout the files.
13200
13201 * gdb.arch/i386-bp_permanent.exp
13202 * gdb.arch/i386-gnu-cfi.exp
13203 * gdb.base/disasm-end-cu.exp
13204 * gdb.base/macscp.exp
13205 * gdb.base/pending.exp
13206 * gdb.base/watch_thread_num.exp
13207 * gdb.cp/exception.exp
13208 * gdb.cp/gdb2495.exp
13209 * gdb.cp/local.exp
13210 * gdb.python/py-evsignal.exp
13211 * gdb.python/python.exp
13212 * gdb.trace/tracecmd.exp
13213
9f058c10
LM
132142016-12-01 Luis Machado <lgustavo@codesourcery.com>
13215
13216 Fix test names starting with uppercase throughout the files.
13217
13218 * gdb.base/charset.exp
13219 * gdb.base/eval.exp
13220 * gdb.base/multi-forks.exp
13221 * gdb.guile/scm-progspace.exp
13222 * gdb.opencl/datatypes.exp
13223 * gdb.python/py-block.exp
13224 * gdb.python/py-function.exp
13225 * gdb.python/py-symbol.exp
13226 * gdb.python/py-symtab.exp
13227 * gdb.python/py-xmethods.exp
13228 * gdb.reverse/break-precsave.exp
13229 * gdb.reverse/break-reverse.exp
13230 * gdb.reverse/consecutive-precsave.exp
13231 * gdb.reverse/consecutive-reverse.exp
13232 * gdb.reverse/finish-precsave.exp
13233 * gdb.reverse/finish-reverse-bkpt.exp
13234 * gdb.reverse/finish-reverse.exp
13235 * gdb.reverse/fstatat-reverse.exp
13236 * gdb.reverse/getresuid-reverse.exp
13237 * gdb.reverse/i386-precsave.exp
13238 * gdb.reverse/i386-reverse.exp
13239 * gdb.reverse/i386-sse-reverse.exp
13240 * gdb.reverse/i387-stack-reverse.exp
13241 * gdb.reverse/insn-reverse.exp
13242 * gdb.reverse/machinestate-precsave.exp
13243 * gdb.reverse/machinestate.exp
13244 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13245 * gdb.reverse/pipe-reverse.exp
13246 * gdb.reverse/readv-reverse.exp
13247 * gdb.reverse/recvmsg-reverse.exp
13248 * gdb.reverse/rerun-prec.exp
13249 * gdb.reverse/s390-mvcle.exp
13250 * gdb.reverse/sigall-precsave.exp
13251 * gdb.reverse/sigall-reverse.exp
13252 * gdb.reverse/solib-precsave.exp
13253 * gdb.reverse/solib-reverse.exp
13254 * gdb.reverse/step-precsave.exp
13255 * gdb.reverse/step-reverse.exp
13256 * gdb.reverse/time-reverse.exp
13257 * gdb.reverse/until-precsave.exp
13258 * gdb.reverse/until-reverse.exp
13259 * gdb.reverse/waitpid-reverse.exp
13260 * gdb.reverse/watch-precsave.exp
13261 * gdb.reverse/watch-reverse.exp
13262
cdc7edd7
LM
132632016-12-01 Luis Machado <lgustavo@codesourcery.com>
13264
13265 Fix test names starting with uppercase throughout the files.
13266
13267 * gdb.arch/i386-mpx-simple_segv.exp
13268 * gdb.arch/i386-mpx.exp
13269 * gdb.arch/i386-permbkpt.exp
13270 * gdb.arch/pa-nullify.exp
13271 * gdb.arch/powerpc-d128-regs.exp
13272 * gdb.arch/vsx-regs.exp
13273 * gdb.base/bfp-test.exp
13274 * gdb.base/break.exp
13275 * gdb.base/breakpoint-shadow.exp
13276 * gdb.base/callfuncs.exp
13277 * gdb.base/charset.exp
13278 * gdb.base/commands.exp
13279 * gdb.base/completion.exp
13280 * gdb.base/dfp-test.exp
13281 * gdb.base/echo.exp
13282 * gdb.base/ending-run.exp
13283 * gdb.base/eval.exp
13284 * gdb.base/expand-psymtabs.exp
13285 * gdb.base/float128.exp
13286 * gdb.base/floatn.exp
13287 * gdb.base/foll-exec-mode.exp
13288 * gdb.base/gdb1056.exp
13289 * gdb.base/gdb11531.exp
13290 * gdb.base/kill-after-signal.exp
13291 * gdb.base/multi-forks.exp
13292 * gdb.base/overlays.exp
13293 * gdb.base/pending.exp
13294 * gdb.base/sepdebug.exp
13295 * gdb.base/testenv.exp
13296 * gdb.base/valgrind-db-attach.exp
13297 * gdb.base/watch_thread_num.exp
13298 * gdb.base/watchpoint-cond-gone.exp
13299 * gdb.base/watchpoint.exp
13300 * gdb.base/watchpoints.exp
13301 * gdb.cp/arg-reference.exp
13302 * gdb.cp/baseenum.exp
13303 * gdb.cp/operator.exp
13304 * gdb.cp/shadow.exp
13305 * gdb.dwarf2/dw2-op-out-param.exp
13306 * gdb.dwarf2/dw2-reg-undefined.exp
13307 * gdb.go/chan.exp
13308 * gdb.go/hello.exp
13309 * gdb.go/integers.exp
13310 * gdb.go/methods.exp
13311 * gdb.go/package.exp
13312 * gdb.guile/scm-parameter.exp
13313 * gdb.guile/scm-progspace.exp
13314 * gdb.guile/scm-value.exp
13315 * gdb.mi/mi-pending.exp
13316 * gdb.mi/user-selected-context-sync.exp
13317 * gdb.multi/multi-attach.exp
13318 * gdb.multi/tids.exp
13319 * gdb.opt/clobbered-registers-O2.exp
13320 * gdb.pascal/floats.exp
13321 * gdb.pascal/integers.exp
13322 * gdb.python/py-block.exp
13323 * gdb.python/py-events.exp
13324 * gdb.python/py-parameter.exp
13325 * gdb.python/py-symbol.exp
13326 * gdb.python/py-symtab.exp
13327 * gdb.python/py-type.exp
13328 * gdb.python/py-value.exp
13329 * gdb.python/py-xmethods.exp
13330 * gdb.python/python.exp
13331 * gdb.reverse/break-precsave.exp
13332 * gdb.reverse/consecutive-precsave.exp
13333 * gdb.reverse/finish-precsave.exp
13334 * gdb.reverse/i386-precsave.exp
13335 * gdb.reverse/machinestate-precsave.exp
13336 * gdb.reverse/sigall-precsave.exp
13337 * gdb.reverse/solib-precsave.exp
13338 * gdb.reverse/step-precsave.exp
13339 * gdb.reverse/until-precsave.exp
13340 * gdb.reverse/watch-precsave.exp
13341 * gdb.server/ext-attach.exp
13342 * gdb.server/ext-restart.exp
13343 * gdb.server/ext-run.exp
13344 * gdb.server/ext-wrapper.exp
13345 * gdb.stabs/gdb11479.exp
13346 * gdb.stabs/weird.exp
13347 * gdb.threads/attach-many-short-lived-threads.exp
13348 * gdb.threads/kill.exp
13349 * gdb.threads/watchpoint-fork.exp
13350
bc6c7af4
LM
133512016-12-01 Luis Machado <lgustavo@codesourcery.com>
13352
13353 Fix test names starting with uppercase throughout all the files below.
13354
13355 * gdb.ada/array_return.exp
13356 * gdb.ada/catch_ex.exp
13357 * gdb.ada/info_exc.exp
13358 * gdb.ada/mi_catch_ex.exp
13359 * gdb.ada/mi_dyn_arr.exp
13360 * gdb.ada/mi_ex_cond.exp
13361 * gdb.ada/mi_exc_info.exp
13362 * gdb.ada/mi_interface.exp
13363 * gdb.ada/mi_task_arg.exp
13364 * gdb.ada/mi_task_info.exp
13365 * gdb.ada/mi_var_array.exp
13366 * gdb.arch/alpha-step.exp
13367 * gdb.arch/amd64-disp-step.exp
13368 * gdb.arch/arm-disp-step.exp
13369 * gdb.arch/disp-step-insn-reloc.exp
13370 * gdb.arch/e500-prologue.exp
13371 * gdb.arch/ftrace-insn-reloc.exp
13372 * gdb.arch/gdb1558.exp
13373 * gdb.arch/i386-bp_permanent.exp
13374 * gdb.arch/i386-disp-step.exp
13375 * gdb.arch/i386-float.exp
13376 * gdb.arch/i386-gnu-cfi.exp
13377 * gdb.arch/ia64-breakpoint-shadow.exp
13378 * gdb.arch/mips16-thunks.exp
13379 * gdb.arch/pa-nullify.exp
13380 * gdb.arch/powerpc-aix-prologue.exp
13381 * gdb.arch/powerpc-power.exp
13382 * gdb.arch/ppc-dfp.exp
13383 * gdb.arch/s390-tdbregs.exp
13384 * gdb.arch/spu-info.exp
13385 * gdb.arch/spu-ls.exp
13386 * gdb.arch/thumb-bx-pc.exp
13387 * gdb.base/advance.exp
13388 * gdb.base/annota-input-while-running.exp
13389 * gdb.base/arrayidx.exp
13390 * gdb.base/asmlabel.exp
13391 * gdb.base/async.exp
13392 * gdb.base/attach-wait-input.exp
13393 * gdb.base/auto-connect-native-target.exp
13394 * gdb.base/batch-preserve-term-settings.exp
13395 * gdb.base/bfp-test.exp
13396 * gdb.base/bigcore.exp
13397 * gdb.base/bp-permanent.exp
13398 * gdb.base/break-always.exp
13399 * gdb.base/break-fun-addr.exp
13400 * gdb.base/break-idempotent.exp
13401 * gdb.base/break-main-file-remove-fail.exp
13402 * gdb.base/break-probes.exp
13403 * gdb.base/break-unload-file.exp
13404 * gdb.base/break.exp
13405 * gdb.base/call-ar-st.exp
13406 * gdb.base/call-rt-st.exp
13407 * gdb.base/call-sc.exp
13408 * gdb.base/call-signal-resume.exp
13409 * gdb.base/call-strs.exp
13410 * gdb.base/callexit.exp
13411 * gdb.base/callfuncs.exp
13412 * gdb.base/catch-gdb-caused-signals.exp
13413 * gdb.base/catch-signal-siginfo-cond.exp
13414 * gdb.base/catch-syscall.exp
13415 * gdb.base/compare-sections.exp
13416 * gdb.base/cond-eval-mode.exp
13417 * gdb.base/condbreak-call-false.exp
13418 * gdb.base/consecutive-step-over.exp
13419 * gdb.base/cursal.exp
13420 * gdb.base/disabled-location.exp
13421 * gdb.base/disasm-end-cu.exp
13422 * gdb.base/display.exp
13423 * gdb.base/double-prompt-target-event-error.exp
13424 * gdb.base/dprintf-bp-same-addr.exp
13425 * gdb.base/dprintf-detach.exp
13426 * gdb.base/dprintf-next.exp
13427 * gdb.base/dprintf-non-stop.exp
13428 * gdb.base/dprintf-pending.exp
13429 * gdb.base/dso2dso.exp
13430 * gdb.base/ending-run.exp
13431 * gdb.base/enum_cond.exp
13432 * gdb.base/examine-backward.exp
13433 * gdb.base/exe-lock.exp
13434 * gdb.base/exec-invalid-sysroot.exp
13435 * gdb.base/execl-update-breakpoints.exp
13436 * gdb.base/execution-termios.exp
13437 * gdb.base/fileio.exp
13438 * gdb.base/fixsection.exp
13439 * gdb.base/foll-exec-mode.exp
13440 * gdb.base/foll-exec.exp
13441 * gdb.base/fork-running-state.exp
13442 * gdb.base/frame-args.exp
13443 * gdb.base/fullpath-expand.exp
13444 * gdb.base/func-ptr.exp
13445 * gdb.base/gcore-relro-pie.exp
13446 * gdb.base/gdb1090.exp
13447 * gdb.base/gdb1555.exp
13448 * gdb.base/global-var-nested-by-dso.exp
13449 * gdb.base/gnu-ifunc.exp
13450 * gdb.base/hbreak-in-shr-unsupported.exp
13451 * gdb.base/hbreak-unmapped.exp
13452 * gdb.base/hook-stop.exp
13453 * gdb.base/infcall-input.exp
13454 * gdb.base/info-fun.exp
13455 * gdb.base/info-shared.exp
13456 * gdb.base/interrupt-noterm.exp
13457 * gdb.base/jit-so.exp
13458 * gdb.base/jit.exp
13459 * gdb.base/line-symtabs.exp
13460 * gdb.base/list.exp
13461 * gdb.base/longjmp.exp
13462 * gdb.base/macscp.exp
13463 * gdb.base/max-value-size.exp
13464 * gdb.base/nodebug.exp
13465 * gdb.base/nofield.exp
13466 * gdb.base/overlays.exp
13467 * gdb.base/paginate-after-ctrl-c-running.exp
13468 * gdb.base/paginate-bg-execution.exp
13469 * gdb.base/paginate-inferior-exit.exp
13470 * gdb.base/pending.exp
13471 * gdb.base/pr11022.exp
13472 * gdb.base/printcmds.exp
13473 * gdb.base/ptr-typedef.exp
13474 * gdb.base/ptype.exp
13475 * gdb.base/randomize.exp
13476 * gdb.base/range-stepping.exp
13477 * gdb.base/realname-expand.exp
13478 * gdb.base/relativedebug.exp
13479 * gdb.base/remote.exp
13480 * gdb.base/savedregs.exp
13481 * gdb.base/sepdebug.exp
13482 * gdb.base/set-noassign.exp
13483 * gdb.base/shlib-call.exp
13484 * gdb.base/shreloc.exp
13485 * gdb.base/sigaltstack.exp
13486 * gdb.base/sigbpt.exp
13487 * gdb.base/siginfo-addr.exp
13488 * gdb.base/siginfo-obj.exp
13489 * gdb.base/siginfo-thread.exp
13490 * gdb.base/signest.exp
13491 * gdb.base/signull.exp
13492 * gdb.base/sigrepeat.exp
13493 * gdb.base/skip.exp
13494 * gdb.base/so-impl-ld.exp
13495 * gdb.base/solib-corrupted.exp
13496 * gdb.base/solib-disc.exp
13497 * gdb.base/solib-display.exp
13498 * gdb.base/solib-overlap.exp
13499 * gdb.base/solib-search.exp
13500 * gdb.base/solib-symbol.exp
13501 * gdb.base/source-execution.exp
13502 * gdb.base/sss-bp-on-user-bp-2.exp
13503 * gdb.base/sss-bp-on-user-bp.exp
13504 * gdb.base/stack-checking.exp
13505 * gdb.base/stale-infcall.exp
13506 * gdb.base/step-break.exp
13507 * gdb.base/step-line.exp
13508 * gdb.base/step-over-exit.exp
13509 * gdb.base/step-test.exp
13510 * gdb.base/structs.exp
13511 * gdb.base/sym-file.exp
13512 * gdb.base/symtab-search-order.exp
13513 * gdb.base/term.exp
13514 * gdb.base/type-opaque.exp
13515 * gdb.base/unload.exp
13516 * gdb.base/until-nodebug.exp
13517 * gdb.base/until.exp
13518 * gdb.base/unwindonsignal.exp
13519 * gdb.base/watch-cond.exp
13520 * gdb.base/watch-non-mem.exp
13521 * gdb.base/watch_thread_num.exp
13522 * gdb.base/watchpoint-reuse-slot.exp
13523 * gdb.base/watchpoint-solib.exp
13524 * gdb.base/watchpoint.exp
13525 * gdb.btrace/dlopen.exp
13526 * gdb.cell/arch.exp
13527 * gdb.cell/break.exp
13528 * gdb.cell/bt.exp
13529 * gdb.cell/core.exp
13530 * gdb.cell/data.exp
13531 * gdb.cell/dwarfaddr.exp
13532 * gdb.cell/ea-cache.exp
13533 * gdb.cell/ea-standalone.exp
13534 * gdb.cell/ea-test.exp
13535 * gdb.cell/f-regs.exp
13536 * gdb.cell/fork.exp
13537 * gdb.cell/gcore.exp
13538 * gdb.cell/mem-access.exp
13539 * gdb.cell/ptype.exp
13540 * gdb.cell/registers.exp
13541 * gdb.cell/sizeof.exp
13542 * gdb.cell/solib-symbol.exp
13543 * gdb.cell/solib.exp
13544 * gdb.compile/compile-tls.exp
13545 * gdb.cp/exception.exp
13546 * gdb.cp/gdb2495.exp
13547 * gdb.cp/local.exp
13548 * gdb.cp/mb-inline.exp
13549 * gdb.cp/mb-templates.exp
13550 * gdb.cp/pr10687.exp
13551 * gdb.cp/pr9167.exp
13552 * gdb.cp/scope-err.exp
13553 * gdb.cp/templates.exp
13554 * gdb.cp/virtfunc.exp
13555 * gdb.dwarf2/dw2-dir-file-name.exp
13556 * gdb.dwarf2/dw2-single-line-discriminators.exp
13557 * gdb.fortran/complex.exp
13558 * gdb.fortran/library-module.exp
13559 * gdb.guile/guile.exp
13560 * gdb.guile/scm-cmd.exp
13561 * gdb.guile/scm-frame-inline.exp
13562 * gdb.guile/scm-objfile.exp
13563 * gdb.guile/scm-pretty-print.exp
13564 * gdb.guile/scm-symbol.exp
13565 * gdb.guile/scm-type.exp
13566 * gdb.guile/scm-value.exp
13567 * gdb.linespec/keywords.exp
13568 * gdb.linespec/ls-errs.exp
13569 * gdb.linespec/macro-relative.exp
13570 * gdb.linespec/thread.exp
13571 * gdb.mi/mi-breakpoint-changed.exp
13572 * gdb.mi/mi-dprintf-pending.exp
13573 * gdb.mi/mi-fullname-deleted.exp
13574 * gdb.mi/mi-logging.exp
13575 * gdb.mi/mi-pending.exp
13576 * gdb.mi/mi-solib.exp
13577 * gdb.mi/new-ui-mi-sync.exp
13578 * gdb.mi/user-selected-context-sync.exp
13579 * gdb.multi/dummy-frame-restore.exp
13580 * gdb.multi/multi-arch-exec.exp
13581 * gdb.multi/remove-inferiors.exp
13582 * gdb.multi/watchpoint-multi-exit.exp
13583 * gdb.opt/solib-intra-step.exp
13584 * gdb.perf/backtrace.exp
13585 * gdb.perf/single-step.exp
13586 * gdb.perf/skip-command.exp
13587 * gdb.perf/skip-prologue.exp
13588 * gdb.perf/solib.exp
13589 * gdb.python/lib-types.exp
13590 * gdb.python/py-as-string.exp
13591 * gdb.python/py-bad-printers.exp
13592 * gdb.python/py-block.exp
13593 * gdb.python/py-breakpoint.exp
13594 * gdb.python/py-cmd.exp
13595 * gdb.python/py-events.exp
13596 * gdb.python/py-evthreads.exp
13597 * gdb.python/py-finish-breakpoint.exp
13598 * gdb.python/py-finish-breakpoint2.exp
13599 * gdb.python/py-frame-inline.exp
13600 * gdb.python/py-frame.exp
13601 * gdb.python/py-inferior.exp
13602 * gdb.python/py-infthread.exp
13603 * gdb.python/py-mi.exp
13604 * gdb.python/py-objfile.exp
13605 * gdb.python/py-pp-maint.exp
13606 * gdb.python/py-pp-registration.exp
13607 * gdb.python/py-prettyprint.exp
13608 * gdb.python/py-recurse-unwind.exp
13609 * gdb.python/py-shared.exp
13610 * gdb.python/py-symbol.exp
13611 * gdb.python/py-symtab.exp
13612 * gdb.python/py-template.exp
13613 * gdb.python/py-type.exp
13614 * gdb.python/py-unwind-maint.exp
13615 * gdb.python/py-unwind.exp
13616 * gdb.python/py-value.exp
13617 * gdb.python/python.exp
13618 * gdb.reverse/finish-reverse-bkpt.exp
13619 * gdb.reverse/insn-reverse.exp
13620 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13621 * gdb.reverse/solib-precsave.exp
13622 * gdb.reverse/solib-reverse.exp
13623 * gdb.stabs/gdb11479.exp
13624 * gdb.stabs/weird.exp
13625 * gdb.threads/fork-child-threads.exp
13626 * gdb.threads/fork-plus-threads.exp
13627 * gdb.threads/fork-thread-pending.exp
13628 * gdb.threads/forking-threads-plus-breakpoint.exp
13629 * gdb.threads/hand-call-in-threads.exp
13630 * gdb.threads/interrupted-hand-call.exp
13631 * gdb.threads/linux-dp.exp
13632 * gdb.threads/local-watch-wrong-thread.exp
13633 * gdb.threads/next-while-other-thread-longjmps.exp
13634 * gdb.threads/non-ldr-exit.exp
13635 * gdb.threads/pending-step.exp
13636 * gdb.threads/print-threads.exp
13637 * gdb.threads/process-dies-while-detaching.exp
13638 * gdb.threads/process-dies-while-handling-bp.exp
13639 * gdb.threads/pthreads.exp
13640 * gdb.threads/queue-signal.exp
13641 * gdb.threads/reconnect-signal.exp
13642 * gdb.threads/signal-command-handle-nopass.exp
13643 * gdb.threads/signal-command-multiple-signals-pending.exp
13644 * gdb.threads/signal-delivered-right-thread.exp
13645 * gdb.threads/signal-sigtrap.exp
13646 * gdb.threads/sigthread.exp
13647 * gdb.threads/staticthreads.exp
13648 * gdb.threads/stepi-random-signal.exp
13649 * gdb.threads/thread-unwindonsignal.exp
13650 * gdb.threads/thread_check.exp
13651 * gdb.threads/thread_events.exp
13652 * gdb.threads/tid-reuse.exp
13653 * gdb.threads/tls-nodebug.exp
13654 * gdb.threads/tls-shared.exp
13655 * gdb.threads/tls-so_extern.exp
13656 * gdb.threads/tls.exp
13657 * gdb.threads/wp-replication.exp
13658 * gdb.trace/actions-changed.exp
13659 * gdb.trace/actions.exp
13660 * gdb.trace/backtrace.exp
13661 * gdb.trace/change-loc.exp
13662 * gdb.trace/collection.exp
13663 * gdb.trace/deltrace.exp
13664 * gdb.trace/disconnected-tracing.exp
13665 * gdb.trace/entry-values.exp
13666 * gdb.trace/ftrace-lock.exp
13667 * gdb.trace/ftrace.exp
13668 * gdb.trace/infotrace.exp
13669 * gdb.trace/mi-trace-frame-collected.exp
13670 * gdb.trace/mi-trace-unavailable.exp
13671 * gdb.trace/mi-traceframe-changed.exp
13672 * gdb.trace/mi-tracepoint-changed.exp
13673 * gdb.trace/mi-tsv-changed.exp
13674 * gdb.trace/no-attach-trace.exp
13675 * gdb.trace/packetlen.exp
13676 * gdb.trace/passc-dyn.exp
13677 * gdb.trace/passcount.exp
13678 * gdb.trace/pending.exp
13679 * gdb.trace/pr16508.exp
13680 * gdb.trace/qtro.exp
13681 * gdb.trace/range-stepping.exp
13682 * gdb.trace/read-memory.exp
13683 * gdb.trace/report.exp
13684 * gdb.trace/save-trace.exp
13685 * gdb.trace/signal.exp
13686 * gdb.trace/stap-trace.exp
13687 * gdb.trace/status-stop.exp
13688 * gdb.trace/strace.exp
13689 * gdb.trace/tfile.exp
13690 * gdb.trace/tfind.exp
13691 * gdb.trace/trace-break.exp
13692 * gdb.trace/trace-condition.exp
13693 * gdb.trace/trace-enable-disable.exp
13694 * gdb.trace/trace-mt.exp
13695 * gdb.trace/tracecmd.exp
13696 * gdb.trace/tracefile-pseudo-reg.exp
13697 * gdb.trace/tspeed.exp
13698 * gdb.trace/tstatus.exp
13699 * gdb.trace/tsv.exp
13700 * gdb.trace/unavailable.exp
13701 * gdb.trace/while-dyn.exp
13702 * gdb.trace/while-stepping.exp
13703 * lib/gdb-guile.exp
13704 * lib/gdb.exp
13705 * lib/mi-support.exp
13706 * lib/pascal.exp
13707 * lib/perftest.exp
13708 * lib/prelink-support.exp
13709 * lib/selftest-support.exp
13710
ad02e4fe
SM
137112016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13712
13713 * Makefile.in: Include disable-implicit-rules.mk.
13714
22347e55
AA
137152016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13716
13717 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13718 non-byte-aligned bit fields.
13719
da5b30da
AA
137202016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13721
13722 PR gdb/12616
13723 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13724 respects the DW_AT_data_bit_offset attribute.
13725
b593ecca
SM
137262016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13727
13728 * gdb.base/default.exp: Fix output of "set language".
13729
3b165252
SM
137302016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13731
13732 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13733 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13734 make.
13735 * configure.ac: Remove checks for the make program.
13736 * configure: Re-generate.
13737
1a2f3d7f
KB
137382016-11-16 Kevin Buettner <kevinb@redhat.com>
13739
13740 * gdb.python/py-recurse-unwind.c (main): Add loop.
13741 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13742 to read_register() and gdb.parse_and_eval(). Make each code
13743 call a separate case that can be individually tested.
13744 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13745 proc. Call cont_and_backtrace for each of the code paths that
13746 we want to test in the unwinder.
13747
b7f38fda
AA
137482016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13749
13750 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13751 the definition of struct S.
13752
1f8db343
CM
137532016-11-11 Catherine Moore <clm@codesourcery.com>
13754
13755 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13756
fad0c9fb
PA
137572016-11-09 Pedro Alves <palves@redhat.com>
13758
13759 * gdb.base/commands.exp (runto_or_return): New procedure.
13760 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13761 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13762 (progvar_simple_while_test, progvar_complex_if_while_test)
13763 (if_while_breakpoint_command_test)
13764 (infrun_breakpoint_command_test, breakpoint_command_test)
13765 (user_defined_command_test, watchpoint_command_test)
13766 (test_command_prompt_position, redefine_hook_test)
13767 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13768 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13769 multi_line_input and multi_line. Remove gdb_expect and
13770 gdb_stop_suppressing_tests uses.
13771 * lib/gdb.exp (valnum_re): New global.
13772 (multi_line_input): New procedure.
13773
8354c62c
SM
137742016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13775
13776 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13777 Remove.
13778 (test_setup): Define with proc_with_prefix.
13779 (test_cli_inferior): Likewise.
13780 (test_cli_thread): Likewise.
13781 (test_cli_frame): Likewise.
13782 (test_cli_select_frame): Likewise.
13783 (test_cli_up_down): Likewise.
13784 (test_mi_thread_select): Likewise.
13785 (test_mi_stack_select_frame): Likewise.
13786 (test_cli_in_mi_inferior): Likewise.
13787 (test_cli_in_mi_thread): Likewise.
13788 (test_cli_in_mi_frame): Likewise.
13789 (top level): Do not use with_test_prefix_procname.
13790
64f367a2
PA
137912016-11-09 Pedro Alves <palves@redhat.com>
13792
13793 * gdb.base/commands.exp (gdbvar_simple_if_test)
13794 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13795 (progvar_simple_if_test, progvar_simple_while_test)
13796 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13797 (infrun_breakpoint_command_test, breakpoint_command_test)
13798 (user_defined_command_test, watchpoint_command_test)
13799 (test_command_prompt_position, deprecated_command_test)
13800 (bp_deleted_in_command, temporary_breakpoint_commands)
13801 (stray_arg0_test, source_file_with_indented_comment)
13802 (recursive_source_test, if_commands_test)
13803 (error_clears_commands_left, redefine_hook_test)
13804 (redefine_backtrace_test): Use proc_with_prefix.
13805 * lib/gdb.exp (proc_with_prefix): New proc.
13806
0bb65f1e
AA
138072016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13808
13809 * gdb.base/tui-layout.c: New file.
13810 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13811 disassembly window contains very long lines.
13812
7353f247
TT
138132016-11-08 Tom Tromey <tom@tromey.com>
13814
13815 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13816 depend on Python 2.
13817
30a7bb83
TT
138182016-11-08 Tom Tromey <tom@tromey.com>
13819
13820 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13821 New method.
13822
cdf5a07c
MG
138232016-10-29 Manish Goregaokar <manish@mozilla.com>
13824
2806dc7e 13825 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13826
51a789c3
MG
138272016-10-27 Manish Goregaokar <manish@mozilla.com>
13828
2806dc7e
PA
13829 * gdb.rust/simple.rs: Add test for univariant enums without
13830 discriminants and for encoded struct-like enums.
51a789c3 13831
f610ab6d
PA
138322016-10-28 Pedro Alves <palves@redhat.com>
13833
13834 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13835 gdb_test_multiple, tighten regexps and match symtabs and line
13836 tables incrementally.
13837
b129b0ca
LM
138382016-10-28 Luis Machado <lgustavo@codesourcery.com>
13839
13840 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13841 general.
13842
ecf45d2c
SL
138432016-10-25 Luis Machado <lgustavo@codesourcery.com>
13844
13845 * gdb.base/exec-invalid-sysroot.exp: New file.
13846
b8d38ee4
JK
138472016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13848
13849 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13850
f90fd8c2
JK
138512016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13852
13853 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13854
2d2476aa
MR
138552016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13856
2806dc7e
PA
13857 * gdb.base/killed-outside.exp: Remove $options from a call to
13858 `prepare_for_testing'.
2d2476aa 13859
e42b25a0
SM
138602016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13861
13862 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13863 Change test message.
13864
3ccdb432
SM
138652016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13866
13867 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13868 Update comment.
13869
5bad3170
SM
138702016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13871
13872 * gdb.trace/mi-trace-save.exp: New file.
13873
5ad9dba7
YQ
138742016-10-13 Yao Qi <yao.qi@linaro.org>
13875
13876 * gdb.base/code_elim.exp (get_var_address): Remove.
13877 * gdb.base/relocate.exp: Likewise.
13878 * gdb.base/shreloc.exp: Likewise.
13879 * lib/gdb.exp (get_var_address): New.
13880
62df7e21
YQ
138812016-10-13 Yao Qi <yao.qi@linaro.org>
13882
13883 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13884 floating point tests if $skip_float_test is false.
13885
4dac951e
LM
138862016-10-12 Luis Machado <lgustavo@codesourcery.com>
13887
13888 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13889 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13890 argc values.
13891 Add 1 to argc so we guarantee distinct initial/modified argc values.
13892
8f1a8fc4
JK
138932016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13894
13895 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13896
16c85b5d
JK
138972016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13898
13899 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13900 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13901 * gdb.arch/vsx-regs.exp: Likewise.
13902
1d0e042a
YQ
139032016-10-07 Yao Qi <yao.qi@linaro.org>
13904
13905 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13906
68dadef5
MM
139072016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13908
13909 * gdb.python/python.exp: Test decode_line("*0").
13910
33fa2c6e
DE
139112016-10-06 Doug Evans <dje@google.com>
13912
13913 * gdb.python/py-value.exp (test_value_creation): Add test for large
13914 unsigned 64-bit value.
13915
9c37b5ae
TT
139162016-10-06 Tom Tromey <tom@tromey.com>
13917
13918 * gdb.compile/compile.exp: Change java tests to rust.
13919 * gdb.base/setshow.exp: Change java tests to rust.
13920 * gdb.base/default.exp: Remove java from language list.
13921 * README (Examples): Update language example.
13922 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13923 test.
13924 * lib/gdb.exp (skip_java_tests): Remove.
13925 * lib/java.exp: Remove.
13926 * gdb.java: Remove.
13927
78b86327
MR
139282016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13929
13930 * gdb.arch/mips-fcr.exp: New test.
13931 * gdb.arch/mips-fcr.c: Source for the new test.
13932
7470adbb
MR
139332016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13934
13935 * gdb.base/solib-disc.exp: Use `standard_output_file'
13936 throughout.
13937
4a556533
PA
139382016-10-06 Pedro Alves <palves@redhat.com>
13939
13940 * gdb.base/jit-simple-dl.c: New file.
13941 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13942 * gdb.base/jit-simple.c: ... this.
13943 * gdb.base/jit-simple.exp (jit_run): Delete.
13944 (build_jit): New proc.
13945 (jit_test_reread): Recompile either the main program or the shared
13946 library, depending on what is being tested. Skip changing address
13947 if caller wants to. Compare before/after addresses. If testing
13948 standalone, explicitly load the binary. Test "maint info
13949 breakpoints".
13950 (top level): Add "standalone vs shared lib" and "change address"
13951 vs "same address" axes.
13952
5a122fbc
PA
139532016-10-06 Pedro Alves <palves@redhat.com>
13954
13955 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13956 call.
13957 (jit_run): Delete.
13958 (jit_test_reread): Use with_test_prefix. Reload the main binary
13959 explicitly. Compare the before/after addresses of the JIT
13960 descriptor.
13961
ee8da4b8
DE
139622016-08-15 Doug Evans <dje@google.com>
13963
13964 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13965 for single bitfields is bool.
13966 * gdb.xml/tdesc-regs.exp: Ditto.
13967
f389f6fe
JK
139682016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13969
13970 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13971
fdebf1a4
YQ
139722016-10-05 Yao Qi <yao.qi@linaro.org>
13973
13974 * lib/gdb.exp (support_complex_tests): Return zero if
13975 gdb_skip_float_test return true.
13976
9c36d954 139772016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13978 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13979
13980 PR gdb/20487
13981 * gdb.mi/user-selected-context-sync.exp: New file.
13982 * gdb.mi/user-selected-context-sync.c: New file.
13983
4034d0ff 139842016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13985 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13986
13987 PR gdb/20487
13988 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13989 =thread-select-event check.
13990
a4297203
PB
139912016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13992
13993 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13994 the compulsory L operand changes.
13995 * gdb.arch/powerpc-power.s: Likewise.
13996
bb805577
JK
139972016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13998
13999 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14000 * gdb.base/jit-attach-pie.c: New file.
14001 * gdb.base/jit-attach-pie.exp: New file.
14002
6d61dee5
PA
140032016-09-28 Pedro Alves <palves@redhat.com>
14004
14005 * gdb.base/infcall-input.c: New file.
14006 * gdb.base/infcall-input.exp: New file.
14007
f73842fc
YQ
140082016-09-22 Yao Qi <yao.qi@linaro.org>
14009
14010 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14011 (gdb_exit): Rename it to ...
14012 (gdbserver_gdb_exit): ... Close GDBserver.
14013 (gdb_exit): New proc, call gdbserver_gdb_exit.
14014 (mi_gdb_exit): Likewise.
14015
90681dab
YQ
140162016-09-22 Yao Qi <yao.qi@linaro.org>
14017
14018 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14019 path.
14020 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14021 Remove duplication.
14022
9c211fd8
YQ
140232016-09-22 Yao Qi <yao.qi@linaro.org>
14024
14025 * lib/gdbserver-support.exp: Check the existence of
14026 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14027
ad0a504f
AK
140282016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14029
14030 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14031
36cf1806
TT
140322016-09-21 Tom Tromey <tom@tromey.com>
14033
14034 PR gdb/20604:
14035 * gdb.base/quit.exp: New file.
14036
74172ecf
SM
140372016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14038
14039 * .gitignore: New file.
14040
3d0ec882
MR
140412016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14042
14043 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14044 throughout.
14045
8193adea
AA
140462016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14047
14048 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14049
d41a5c09
JK
140502016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14051
14052 * gdb.cp/casts.cc (decltype): Move it ...
14053 (main): ... with its call to ...
14054 * gdb.cp/casts03.cc: ... a new file.
14055 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14056
d2dfe700
JK
140572016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14058
14059 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14060
e2a92b16
PB
140612016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14062
14063 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14064 and sync up the test with tests in gas/testsuite/gas/ppc.
14065 * gdb.arch/powerpc-power.exp: Likewise.
14066
49b4de64
JK
140672016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14068
14069 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14070
2c29df25
SDJ
140712016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14072 Jan Kratochvil <jan.kratochvil@redhat.com>
14073
14074 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14075 make m1's definition to be different from m2's. Use 'dummy' as an
14076 argument for probe 'two'.
14077
cc3c2846
JB
140782016-09-10 Jon Beniston <jon@beniston.com>
14079
14080 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14081 for sim target.
14082
e1b2624a
AA
140832016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14084
14085 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14086 variable declaration.
14087 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14088 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14089 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14090 received HWCAP as its argument.
14091
4295e285
PA
140922016-09-06 Pedro Alves <palves@redhat.com>
14093
14094 * gdb.base/new-ui-pending-input.c: New file.
14095 * gdb.base/new-ui-pending-input.exp: New file.
14096 * gdb.exp (clear_gdb_spawn_id): New procedure.
14097 (with_spawn_id): Check whether gdb_spawn_id exists before
14098 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14099 on exit.
14100
00d5215e
UW
141012016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14102
14103 * gdb.base/float128.c: New file.
14104 * gdb.base/float128.exp: Likewise.
14105 * gdb.base/floatn.c: Likewise.
14106 * gdb.base/floatn.exp: Likewise.
14107
a9ff5f12
UW
141082016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14109
14110 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14111
f245535c
PA
141122016-09-05 Pedro Alves <palves@redhat.com>
14113
14114 PR backtrace/19927
14115 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14116 unwinders are immediately called as side effect of "source" or
14117 "disable unwinder" commands.
14118 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14119
ae9cf263
YQ
141202016-09-02 Yao Qi <yao.qi@linaro.org>
14121
14122 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14123 is true and $type is "float" or "double".
14124
27aba047
YQ
141252016-09-02 Yao Qi <yao.qi@linaro.org>
14126
14127 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14128 true.
14129 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14130 * gdb.base/call-rt-st.exp: Likewise.
14131 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14132 return value instead of gdb,skip_float_test.
14133 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14134 (do_function_calls): Use its return value instead of
14135 gdb,skip_float_test.
14136 * gdb.base/finish.exp: Likewise.
14137 * gdb.base/funcargs.exp: Likewise.
14138 * gdb.base/return.exp: Likewise.
14139 * gdb.base/return2.exp: Likewise.
14140 * gdb.base/varargs.exp: Likewise.
14141 * lib/gdb.exp (gdb_skip_float_test): Change it to
14142 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14143
5af962df
AA
141442016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14145
14146 * gdb.multi/tids.exp: Test "thread apply all".
14147
7fac6910
JK
141482016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14149
14150 * gdb.base/default.exp (tty): Remove.
14151
bb1fe4ac
KB
141522016-08-24 Kevin Buettner <kevinb@redhat.com>
14153
2806dc7e
PA
14154 * gdb.python/py-recurse-unwind.c: New file.
14155 * gdb.python/py-recurse-unwind.py: New file.
14156 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14157
0a1ddfa6
SM
141582016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14159
14160 * gdb.base/set-inferior-tty.exp: New file.
14161 * gdb.base/set-inferior-tty.c: New file.
14162
d9de1fe3
PA
141632016-08-23 Pedro Alves <palves@redhat.com>
14164
14165 PR gdb/20494
14166 * gdb.base/new-ui-echo.c: New file.
14167 * gdb.base/new-ui-echo.exp: New file.
14168
e9d9abd7
YQ
141692016-08-23 Yao Qi <yao.qi@linaro.org>
14170
14171 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14172 gdbserver_spawn.
14173 * gdb.server/connect-without-multi-process.exp (do_test):
14174 Likewise.
14175
3589529e
YQ
141762016-08-23 Yao Qi <yao.qi@linaro.org>
14177
14178 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14179 standalone_txt. Delete gdb_txt and standalone_txt on host
14180 and target. Spawn the binary on target. Copy files from
14181 target to host.
14182
6bb90213
PA
141832016-08-22 Pedro Alves <palves@redhat.com>
14184
14185 PR gdb/20505
14186 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14187 with_test_prefix. Factor out bits to ...
14188 (test_no_vdso): ... this new procedure.
14189
20c2c024
CL
141902016-08-19 Carl Love <cel@us.ibm.com>
14191
14192 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14193 maintaining separate logic for constructing the output path.
14194 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14195 * gdb.arch/ppc-dfp.exp: Likewise.
14196 * gdb.arch/ppc-fp.exp: Likewise.
14197 * gdb.arch/vsx-regs.exp: Likewise.
14198 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14199 binprefix for generating the additional binary files.
14200
0646e07d
PA
142012016-08-19 Pedro Alves <palves@redhat.com>
14202
14203 * gdb.trace/mi-trace-frame-collected.exp
14204 (test_trace_frame_collected): On x32, expect two registers.
14205
46da9242
CL
142062016-08-18 Carl Love <cel@us.ibm.com>
14207
14208 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14209 and sync up the test with tests in gas/testsuite/gas/ppc.
14210 * gdb.arch/powerpc-power.exp: Likewise.
14211
eb2332d7
SM
142122016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14213
14214 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14215 expected error message.
14216
63c61e04
SM
142172016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14218
14219 * gdb.multi/remove-inferiors.exp: New file.
14220 * gdb.multi/remove-inferiors.c: New file.
14221
7b17065f
YQ
142222016-08-12 Yao Qi <yao.qi@linaro.org>
14223
14224 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14225 argument list.
14226
01d3dedf
PA
142272016-08-10 Pedro Alves <palves@redhat.com>
14228
14229 PR gdb/19187
14230 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14231 setup_kfails.
14232
3eb7562a
PA
142332016-08-09 Pedro Alves <palves@redhat.com>
14234 Simon Marchi <simon.marchi@ericsson.com>
14235
14236 PR gdb/20418
14237 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14238 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14239
80614914
PA
142402016-08-09 Pedro Alves <palves@redhat.com>
14241
14242 PR mi/20431
14243 * gdb.mi/mi-cmd-error.exp: New file.
14244
f348d89a
PA
142452016-08-09 Pedro Alves <palves@redhat.com>
14246
14247 PR gdb/18653
14248 * gdb.base/signals-state-child.c: New file.
14249 * gdb.base/signals-state-child.exp: New file.
14250 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14251
e5ca03b4
PA
142522016-08-09 Pedro Alves <palves@redhat.com>
14253
14254 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14255
282a0691
TT
142562016-08-03 Tom Tromey <tom@tromey.com>
14257
14258 PR python/18565:
14259 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14260
41bfcd63
YQ
142612016-08-01 Yao Qi <yao.qi@linaro.org>
14262
14263 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14264 variable mode to "multi-process" if $multi_process is 1, otherwise
14265 set it to "single-process".
14266
e3465b24
YQ
142672016-08-01 Yao Qi <yao.qi@linaro.org>
14268
14269 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14270 * gdb.cp/cpexprs.exp: Likewise.
14271 * gdb.cp/m-static.exp: Likewise.
14272
0b31a4bc
TT
142732016-07-26 Tom Tromey <tom@tromey.com>
14274
14275 PR python/20190:
14276 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14277 test.
14278
e0461dbb
MM
142792016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14280
14281 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14282 selecting assembly source files.
14283 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14284 assembly source files.
14285 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14286 assembly source files.
14287 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14288 selecting assembly source files.
14289
8194e927
SM
142902016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14291
14292 * gdb.base/new-ui.exp (do_test_invalid_args): New
14293 procedure.
14294
c0272db5
TW
142952016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14296
14297 * gdb.btrace/reconnect.c: New file.
14298 * gdb.btrace/reconnect.exp: New file.
14299
e3487908
GKB
143002016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14301
14302 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14303 to test_catch_syscall_group.
14304 (test_catch_syscall_group): New.
14305
12df5c00
TT
143062016-07-21 Tom Tromey <tom@tromey.com>
14307
14308 * gdb.rust/simple.rs (main): Use empty struct expression.
14309 * gdb.rust/simple.exp: Add tests for empty struct expression.
14310
bae62ee2
YQ
143112016-07-21 Yao Qi <yao.qi@linaro.org>
14312
14313 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14314 if gdb_skip_xml_test is true on some targets.
14315
b1b53fb3
YQ
143162016-07-21 Yao Qi <yao.qi@linaro.org>
14317
14318 * gdb.server/solib-list.exp: Unset last_loaded_file.
14319
027d97f8
JK
143202016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14321
14322 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14323 "step into captured_main (args)".
14324
7674d381
JK
143252016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14326
14327 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14328
72b5d099
JK
143292016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14330
14331 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14332
1f960ced
PA
143332016-07-19 Pedro Alves <palves@redhat.com>
14334
14335 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14336 * gdb.opt/inline-bt.exp: Likewise.
14337 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14338 additional_flags=-Winline.
14339 * gdb.opt/inline-locals.exp: Likewise.
14340 * gdb.opt/inline-markers.c (ATTR): Define.
14341 (inlined_fn): Use it.
14342
f25827c1
YQ
143432016-07-19 Yao Qi <yao.qi@linaro.org>
14344
14345 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14346 (test_with_self): Remove some code. Remove argument executable.
14347 (top-level): Use do_self_tests.
14348
37539ebe
DB
143492016-07-15 Zachary Welch <zwelch@codesourcery.com>
14350 Don Breazeal <donb@codesourcery.com>
14351
14352 * gdb.base/maint.exp: Escape paths used in regular expressions.
14353 * gdb.stabs/weird.exp: Likewise.
14354
dac790e1
TT
143552016-07-13 Tom Tromey <tom@tromey.com>
14356
14357 PR python/15620, PR python/18620:
14358 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14359 (test_bkpt_events): New procs.
14360
93daf339
TT
143612016-07-13 Tom Tromey <tom@tromey.com>
14362
14363 PR python/17698:
14364 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14365 test.
14366 (test_watchpoints): Likewise.
14367 (test_bkpt_pending): New proc.
14368
6571a381
TT
143692016-07-13 Tom Tromey <tom@tromey.com>
14370
14371 PR cli/18053:
14372 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14373 completion test.
14374
e8732474
JK
143752016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14376
14377 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14378 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14379 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14380 f_label.
14381 (g): Rename g_end_lbl to g_label.
14382 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14383 low_pc and high_pc.
14384 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14385
e0f3fd7c
TT
143862016-07-12 Tom Tromey <tom@tromey.com>
14387
14388 PR python/19293:
14389 * gdb.python/py-unwind-maint.exp: Update tests.
14390
3cfe46b6
YQ
143912016-07-12 Yao Qi <yao.qi@linaro.org>
14392
14393 * lib/selftest-support.exp (selftest_setup): Match the output
14394 when captured_main is inlined.
14395
4f19a0e6
WT
143962016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14397
14398 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14399 New variables.
14400 (print this%a, print this%b, print this): New tests.
14401 * gdb.fortran/derived-types.f90 (this): New object and
14402 initialization.
14403
986cf455
SM
144042016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14405
14406 * gdb.ada/arraydim.exp: Remove extra directory level in build
14407 directory.
14408
f0464b23
SM
144092016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14410
14411 * lib/ada.exp: Remove extra directory level in build directory.
14412 * gdb.ada/cond_lang.exp: Likewise.
14413 * gdb.ada/exec_changed.exp: Likewise.
14414 * gdb.ada/lang_switch.exp: Likewise.
14415
42d94011
MG
144162016-07-06 Manish Goregaokar <manish@mozilla.com>
14417
2806dc7e
PA
14418 * simple.rs: Add test for raw pointer subscripting.
14419 * simple.exp: Add test expectations.
42d94011 14420
647c264c
YQ
144212016-07-05 Yao Qi <yao.qi@linaro.org>
14422
14423 * gdb.mi/mi-reverse.exp: Match =record-started output.
14424
20aa2c60
PA
144252016-07-01 Pedro Alves <palves@redhat.com>
14426
14427 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14428 procedure.
14429 (jit_reader_test): Test the jit reader's unwinder.
14430 * gdb.base/jithost.c (jit_function_00_code): New global.
14431 (main): Use memcpy to fill in the mmapped code, instead of poking
14432 bytes manually here.
14433 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14434 value.
14435 (read_debug_info): Save the function's range.
14436 (read_sp): New function.
14437 (unwind_frame): Use it. Also unwind RBP.
14438 (get_frame_id): Use read_sp.
14439 (gdb_init_reader): Use calloc instead of malloc.
14440 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14441 parameter. Use gdb_test_multiple.
14442
ced2dffb
PA
144432016-07-01 Pedro Alves <palves@redhat.com>
14444 Antoine Tremblay <antoine.tremblay@ericsson.com>
14445
14446 * gdb.threads/process-dies-while-detaching.c: New file.
14447 * gdb.threads/process-dies-while-detaching.exp: New file.
14448
63000888
PA
144492016-07-01 Pedro Alves <palves@redhat.com>
14450
14451 * gdb.multi/watchpoint-multi-exit.c: New file.
14452 * gdb.multi/watchpoint-multi-exit.exp: New file.
14453
038d4868
PA
144542016-06-30 Pedro Alves <palves@redhat.com>
14455
14456 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14457 unset inferior_spawn_id.
14458
994e9c83
PA
144592016-06-30 Pedro Alves <palves@redhat.com>
14460
14461 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14462 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14463
e5653468
YQ
144642016-06-29 Yao Qi <yao.qi@linaro.org>
14465
14466 * gdb.base/return.c: Add copyright header.
14467
803b47e5
TT
144682016-06-29 Tom Tromey <tom@tromey.com>
14469
14470 PR python/20129:
14471 * gdb.python/py-framefilter.exp: Add tests for setting priority
14472 and disabling of non-existent frame filter.
14473
28244707
YQ
144742016-06-29 Yao Qi <yao.qi@linaro.org>
14475
14476 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14477 0x0f07ff.
14478
a31d2f06
YQ
144792016-06-28 Yao Qi <yao.qi@linaro.org>
14480
14481 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14482 triplets. Start gdb, execute catch syscall, and continue. Check
14483 gdb's output to determine catch syscall is supported.
14484
921d8f54
MG
144852016-06-27 Manish Goregaokar <manish@mozilla.com>
14486
25d49b86
PA
14487 * gdb.rust/simple.rs: Add test for returning unit in a function.
14488 * gdb.rust/simple.exp: Add expectation for functions returning
14489 unit.
921d8f54 14490
f4952523
PMR
144912016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14492
14493 * gdb.python/py-breakpoint-create-fail.c,
14494 gdb.python/py-breakpoint-create-fail.exp,
14495 gdb.python/py-breakpoint-create-fail.py: New testcase.
14496
fccb08f8
MG
144972016-06-25 Manish Goregaokar <manish@mozilla.com>
14498
14499 PR gdb/20239
14500 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14501 * gdb.rust/simple.exp: Add test expectations for new NonZero
14502 tests.
fccb08f8 14503
6b850546
DT
145042016-06-24 David Taylor <dtaylor@emc.com>
14505
14506 * gdb.base/offsets.exp: New file.
14507 * gdb.base/offsets.c: New file.
14508
17621150
TT
145092016-06-23 Tom Tromey <tom@tromey.com>
14510
14511 PR gdb/16483:
14512 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14513 before any filters are loaded.
14514
04d59df6
WT
145152016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14516
14517 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14518 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14519 structs.
14520 * gdb.fortran/derived-type-function.exp: New file.
14521 * gdb.fortran/derived-type-function.f90: New file.
14522
14523
ac69f786
PA
145242016-06-21 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.base/new-ui.exp: New file.
14527 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14528 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14529 (with_spawn_id): New procedure.
14530
49940788
PA
145312016-06-21 Pedro Alves <palves@redhat.com>
14532
14533 * gdb.mi/mi-exec-run.exp: New file.
14534
ef274d26
PA
145352016-06-21 Pedro Alves <palves@redhat.com>
14536
14537 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14538 breakpoint command's output on the main UI.
14539 (test_break): New procedure, factored out from calls in the top
14540 level.
14541 (top level): Use foreach_with_prefix to test MI as main UI and as
14542 separate UI.
14543
468afe6c
PA
145442016-06-21 Pedro Alves <palves@redhat.com>
14545
14546 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14547 (test_awatch_creation_and_listing)
14548 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14549 Remove 'type' parameter.
14550 (test_watchpoint_all): New parameter mi_mode. Remove
14551 with_test_prefix.
14552 (top level): Use foreach_with_prefix, and add main/separate UI MI
14553 testing axis.
14554
51f77c37
PA
145552016-06-21 Pedro Alves <palves@redhat.com>
14556
14557 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14558 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14559 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14560 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14561 (gdb_main_spawn_id, mi_spawn_id): Declare and
14562 comment.
14563 (mi_create_inferior_pty): New procedure,
14564 factored out from default_mi_gdb_start.
14565 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14566 procedures.
14567 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14568 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14569 Use mi_create_inferior_pty.
14570 (mi_gdb_start): Use eval to pass down args list.
14571
8980e177
PA
145722016-06-21 Pedro Alves <palves@redhat.com>
14573
14574 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14575 * gdb.opt/inline-cmds.exp: Add MI tests.
14576
f38d3ad1
PA
145772016-06-21 Pedro Alves <palves@redhat.com>
14578
14579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14580
45db7c09
PA
145812016-06-21 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14584 (top level): Use it instead of mi_execute_to.
14585
5a069ab3
PA
145862016-06-21 Pedro Alves <palves@redhat.com>
14587
14588 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14589 (cont_handler_str): New.
14590 (signal_stop_handler): Set stop_handler_str instead of printing to
14591 stdout.
14592 (continue_handler): Set cont_handler_str instead of printing to
14593 stdout.
14594 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14595 mi_send_resuming_command. Print stop_handler_str and
14596 cont_handler_str instead of expecting the python events print
14597 directly.
14598
2838cc1d
SD
145992016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14600
14601 * gdb.base/jit-reader.exp: New file.
14602 * gdb.base/jithost.c: New file.
14603 * gdb.base/jithost.h: New file.
14604 * gdb.base/jitreader.c : New file.
14605 * gdb.base/jit-protocol.h: New file.
14606
21a77091
YQ
146072016-06-17 Yao Qi <yao.qi@linaro.org>
14608
14609 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14610 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14611 and detach-on-fork. Adjust tests.
14612 (top level): Invoke break_cond_on_syscall with combinations of
14613 syscall, follow-fork-mode and detach-on-fork.
14614
f50bf8e5
YQ
146152016-06-17 Yao Qi <yao.qi@linaro.org>
14616
14617 * gdb.base/step-over-exit.c: New.
14618 * gdb.base/step-over-exit.exp: New.
14619
a28d8e50
YTL
146202016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14621
14622 * gdb.base/float.exp: Add target check for nds32*-*-*.
14623 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14624
cad8e26d
AB
146252016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14626
14627 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14628 for unsupported target features.
14629 * gdb.base/call-rt-st.exp: Likewise.
14630 * gdb.base/call-sc.exp: Likewise.
14631 * gdb.base/call-signal-resume.exp: Likewise.
14632 * gdb.base/call-strs.exp: Likewise.
14633 * gdb.base/callexit.exp: Likewise.
14634 * gdb.base/callfuncs.exp: Likewise.
14635 * gdb.base/nodebug.exp: Likewise.
14636 * gdb.base/printcmds.exp: Likewise.
14637 * gdb.base/ptype.exp: Likewise.
14638 * gdb.base/structs.exp: Likewise.
14639 * gdb.base/unwindonsignal.exp: Likewise.
14640 * gdb.cp/gdb2495.exp: Likewise.
14641 * gdb.cp/templates.exp: Likewise.
14642 * gdb.cp/virtfunc.exp: Likewise.
14643 * gdb.threads/hand-call-in-threads.exp: Likewise.
14644 * gdb.threads/interrupted-hand-call.exp: Likewise.
14645 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14646
347dc102
TT
146472016-06-10 Tom Tromey <tom@tromey.com>
14648
14649 PR rust/20110:
14650 * gdb.rust/expr.exp: Add test for integer constant larger than
14651 i32.
14652
5e13cf25
BH
146532016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14654
14655 * gdb.fortran/nested-funcs.exp: New.
14656 * gdb.fortran/nested-funcs.f90: New.
14657
bb556f1f
TK
146582016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14659
14660 * gdb.base/examine-backward.c: New file.
14661 * gdb.base/examine-backward.exp: New file.
14662
38b022b4
SM
146632016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14664
14665 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14666 matching.
14667
1b40ec05
TT
146682016-06-02 Tom Tromey <tom@tromey.com>
14669
14670 PR python/18984:
14671 * gdb.python/py-shared.exp: Add solib_name test.
14672
193bd378
SM
146732016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14674
14675 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14676
3326303b
MG
146772016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14678
14679 PR c++/19893
14680 * gdb.dwarf2/implref.exp: Rename to...
14681 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14682 * gdb.dwarf2/implref-array.c: New file.
14683 * gdb.dwarf2/implref-array.exp: Likewise.
14684 * gdb.dwarf2/implref-global.c: Likewise.
14685 * gdb.dwarf2/implref-global.exp: Likewise.
14686 * gdb.dwarf2/implref-struct.c: Likewise.
14687 * gdb.dwarf2/implref-struct.exp: Likewise.
14688
825c8ef2
AT
146892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14690
14691 * gdb.trace/trace-condition.exp: Add 64bit tests.
14692
2320162a
AT
146932016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14694
14695 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14696 bits types.
14697 (main): Adapt to 8 to 64 bits types.
14698 * gdb.trace/trace-condition.exp: Add new tests.
14699
a7818233
AT
147002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14701
14702 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14703
0d336466
AT
147042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14705
14706 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14707 Move condition tests...
14708 * gdb.trace/trace-condition.exp: Here.
14709
7faeb45a
AT
147102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14711
14712 * gdb.trace/trace-condition.exp: Add counter-case tests.
14713
e385593e
JK
147142016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14715
14716 PR c++/15231
14717 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14718 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14719
744608cc
PA
147202016-05-27 Pedro Alves <palves@redhat.com>
14721
14722 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14723 New procedure.
14724 (top level): Call it, and bail out of DejaGnu is known to be bad.
14725
ac775bf4
AB
147262016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14727
14728 * gdb.base/whatis.c: Extend the test case.
14729 * gdb.base/whatis.exp: Add additional tests.
14730
2bbad2ea
BH
147312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14732
14733* gdb.fortran/type.f90: Add pointer variable.
14734* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14735
8b70175d
BH
147362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14737
14738 * gdb.fortran/vla-type.exp: Fix testcase name.
14739
86d8a848
BH
147402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14741
14742 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14743
e188eb36
BH
147442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14745
14746 * gdb.fortran/type.f90: Add nested structures.
14747 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14748 * gdb.fortran/derived-type.exp: Adapt expected output.
14749 * gdb.fortran/vla-type.exp: Adapt expected output.
14750
9b2db1fd
BH
147512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14752
14753 * gdb.fortran/whatis_type.exp: Adapt expected output.
14754
72b17055
BH
147552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14756
14757 * gdb.fortran/print_type.exp: Fix expected output.
14758 * gdb.fortran/whatis_type.exp: Fix expected output.
14759
3cd81d8d
BH
147602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14761
14762 * gdb.fortran/whatis_type.exp: Use multi_line.
14763
ddae9462
TT
147642016-05-24 Tom Tromey <tom@tromey.com>
14765
14766 PR python/17386:
14767 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14768 use value as an index.
14769
1957f6b8
TT
147702016-05-23 Tom Tromey <tom@tromey.com>
14771
14772 PR python/17981:
14773 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14774 no-breakpoint case.
14775
026a9174
PA
147762016-05-24 Pedro Alves <palves@redhat.com>
14777
14778 PR gdb/19828
14779 * gdb.threads/clone-attach-detach.c: New file.
14780 * gdb.threads/clone-attach-detach.exp: New file.
14781
e70a7231
FR
147822016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14783
14784 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14785
0f6ed0e0
TT
147862016-05-23 Tom Tromey <tom@tromey.com>
14787
14788 PR python/19438, PR python/18393:
14789 * gdb.python/py-progspace.exp: Add "dir" test.
14790 * gdb.python/py-objfile.exp: Add "dir" test.
14791
ffd19d61
YQ
147922016-05-23 Yao Qi <yao.qi@linaro.org>
14793
14794 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14795 * gdb.arch/thumb2-it.exp: Likewise.
14796
9e8f9b05
SM
147972016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14798
14799 * gdb.mi/mi-threads-interrupt.c: New file.
14800 * gdb.mi/mi-threads-interrupt.exp: New file.
14801
61c6156d
SM
148022016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14803
14804 PR gdb/18077
14805 * gdb.mi/mi-async-run.exp: New file.
14806 * gdb.mi/mi-async-run.c: New file.
14807
67218854
TT
148082016-05-17 Tom Tromey <tom@tromey.com>
14809 Manish Goregaokar <manishsmail@gmail.com>
14810
14811 * lib/rust-support.exp: New file.
14812 * lib/gdb.exp (skip_rust_tests): New proc.
14813 (build_executable_from_specs): Handle rust.
14814 * lib/future.exp (gdb_find_rustc): New proc.
14815 (gdb_default_target_compile): Handle rust.
14816 * gdb.rust/expr.exp: New file.
14817 * gdb.rust/generics.exp: New file.
14818 * gdb.rust/generics.rs: New file.
14819 * gdb.rust/methods.exp: New file.
14820 * gdb.rust/methods.rs: New file.
14821 * gdb.rust/modules.exp: New file.
14822 * gdb.rust/modules.rs: New file.
14823 * gdb.rust/simple.exp: New file.
14824 * gdb.rust/simple.rs: New file.
14825
c44af4eb
TT
148262016-05-17 Tom Tromey <tom@tromey.com>
14827
14828 * gdb.base/default.exp (set language): Add rust.
14829
dcd1f979
TT
148302016-05-17 Tom Tromey <tom@tromey.com>
14831
14832 * gdb.gdb/unittest.exp: New file.
14833
155b7f57
YQ
148342016-05-16 Yao Qi <yao.qi@linaro.org>
14835
14836 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14837 shell_prompt. Update shell_prompt_re.
14838
8ddd5a6c
DE
148392016-05-12 Doug Evans <dje@google.com>
14840
14841 PR symtab/19999
14842 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14843 $options when building executable.
14844 * gdb.dwarf2/fission-loclists-pie.S: New file.
14845 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14846
02e370d9
SM
148472016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14848
14849 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14850 of [is_remote target],
14851
8929ad8b
SM
148522016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14853
14854 * lib/gdb.exp (use_gdb_stub): New procedure.
14855
6c447423
DE
148562016-05-03 Yunlian Jiang <yunlian@google.com>
14857 Doug Evans <dje@google.com>
14858
14859 PR symtab/19914
14860 * gdb.dwarf2/dwp-sepdebug.c: New file.
14861 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14862
444e826c
SM
148632016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14864
14865 * gdb.base/detach.exp: Remove is_remote check.
14866
740feeaa
SM
148672016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14868
14869 * gdb.base/annota-input-while-running.exp: Don't check for
14870 [is_remote target]. Enable annotations after running to main.
14871 Remove unused "set test..." line.
14872
9080ac9d
SM
148732016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14874
14875 * gdb.trace/trace-enable-disable.exp: New file.
14876 * gdb.trace/trace-enable-disable.c: New file.
14877
952ebca5
SM
148782016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14879
14880 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14881 use it in info sharedlibrary test.
14882 * gdb.trace/ftrace-lock.exp: Likewise.
14883 * gdb.trace/ftrace.exp: Likewise.
14884 * gdb.trace/range-stepping.exp: Likewise.
14885 * gdb.trace/trace-break.exp: Likewise.
14886 * gdb.trace/trace-condition.exp: Likewise.
14887 * gdb.trace/trace-mt.exp: Likewise.
14888
d9019901
SM
148892016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14890
14891 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14892 (gdb_load_shlib): ... this.
14893 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14894 gdb_load_shlib.
14895 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14896 * gdb.base/ctxobj.exp: Likewise.
14897 * gdb.base/dprintf-pending.exp: Likewise.
14898 * gdb.base/dso2dso.exp: Likewise.
14899 * gdb.base/fixsection.exp: Likewise.
14900 * gdb.base/gcore-relro.exp: Likewise.
14901 * gdb.base/gdb1555.exp: Likewise.
14902 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14903 * gdb.base/gnu-ifunc.exp: Likewise.
14904 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14905 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14906 * gdb.base/pending.exp: Likewise.
14907 * gdb.base/print-file-var.exp: Likewise.
14908 * gdb.base/print-symbol-loading.exp: Likewise.
14909 * gdb.base/shlib-call.exp: Likewise.
14910 * gdb.base/shreloc.exp: Likewise.
14911 * gdb.base/so-impl-ld.exp: Likewise.
14912 * gdb.base/solib-disc.exp: Likewise.
14913 * gdb.base/solib-nodir.exp: Likewise.
14914 * gdb.base/solib-overlap.exp: Likewise.
14915 * gdb.base/solib-symbol.exp: Likewise.
14916 * gdb.base/solib-weak.exp (do_test): Likewise.
14917 * gdb.base/sym-file.exp: Likewise.
14918 * gdb.base/symtab-search-order.exp: Likewise.
14919 * gdb.base/type-opaque.exp: Likewise.
14920 * gdb.base/unload.exp: Likewise.
14921 * gdb.base/watchpoint-solib.exp: Likewise.
14922 * gdb.compile/compile.exp: Likewise.
14923 * gdb.cp/gdb2384.exp: Likewise.
14924 * gdb.cp/infcall-dlopen.exp: Likewise.
14925 * gdb.cp/re-set-overloaded.exp: Likewise.
14926 * gdb.fortran/library-module.exp: Likewise.
14927 * gdb.opt/solib-intra-step.exp: Likewise.
14928 * gdb.python/py-finish-breakpoint.exp: Likewise.
14929 * gdb.python/py-shared.exp: Likewise.
14930 * gdb.reverse/solib-precsave.exp: Likewise.
14931 * gdb.reverse/solib-reverse.exp: Likewise.
14932 * gdb.server/solib-list.exp: Likewise.
14933 * gdb.threads/dlopen-libpthread.exp: Likewise.
14934 * gdb.threads/tls-shared.exp: Likewise.
14935 * gdb.threads/tls-so_extern.exp: Likewise.
14936 * gdb.trace/change-loc.exp: Likewise.
14937 * gdb.trace/ftrace-lock.exp: Likewise.
14938 * gdb.trace/ftrace.exp: Likewise.
14939 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14940 * gdb.trace/pending.exp: Likewise.
14941 * gdb.trace/range-stepping.exp: Likewise.
14942 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14943 (strace_info_marker): Likewise.
14944 (strace_probe_marker): Likewise.
14945 (strace_trace_on_same_addr): Likewise.
14946 (strace_trace_on_diff_addr): Likewise.
14947 * gdb.trace/trace-break.exp: Likewise.
14948 * gdb.trace/trace-condition.exp: Likewise.
14949 * gdb.trace/trace-mt.exp: Likewise.
14950
fca4cfd9
SM
149512016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14952
14953 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14954 result of gdb_remote_download.
14955 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14956 * gdb.base/dso2dso.exp: Likewise.
14957 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14958 * gdb.base/print-file-var.exp: Likewise.
14959 * gdb.base/shlib-call.exp: Likewise.
14960 * gdb.base/shreloc.exp: Likewise.
14961 * gdb.base/solib-overlap.exp: Likewise.
14962 * gdb.base/solib-weak.exp (do_test): Likewise.
14963 * gdb.base/unload.exp: Likewise.
14964
11cf4ffb
YQ
149652016-04-27 Yao Qi <yao.qi@linaro.org>
14966
14967 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14968 exists.
14969
3e2e34f8
KB
149702016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14971
14972 * vla-type.exp: Print structure from toplevel.
14973
8f07e298
BH
149742016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14975
14976 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14977 of dynamic types.
14978 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14979 of dynamic types.
14980
9920b434
BH
149812016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14982
14983 * gdb.fortran/vla-type.f90: New file.
14984 * gdb.fortran/vla-type.exp: New file.
14985
f3abeff5
YQ
149862016-04-25 Yao Qi <yao.qi@linaro.org>
14987
14988 * gdb.base/branch-to-self.c: New file.
14989 * gdb.base/branch-to-self.exp: New file.
14990
0a5d52f0
YQ
149912016-04-22 Yao Qi <yao.qi@linaro.org>
14992
14993 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14994 more after $hex.
14995
495346f6
YQ
149962016-04-22 Yao Qi <yao.qi@linaro.org>
14997
14998 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14999 * gdb.base/annota3.exp: Likewise.
15000
4a7e075c
YQ
150012016-04-22 Yao Qi <yao.qi@linaro.org>
15002
15003 * gdb.reverse/step-precsave.exp: Do one step and test program
15004 stops in "callee" and do multiple steps until program goes out
15005 of "callee".
15006 * gdb.reverse/step-reverse.exp: Likewise.
15007
5b061e98
YQ
150082016-04-22 Yao Qi <yao.qi@linaro.org>
15009
15010 * gdb.trace/signal.exp: Also pass if
15011 $tracepoint_hits($i) > $iterations.
15012
5c5dc57f
YQ
150132016-04-22 Yao Qi <yao.qi@linaro.org>
15014
15015 * gdb.trace/signal.c: New file.
15016 * gdb.trace/signal.exp: New file.
15017
a55411b9
DE
150182016-04-19 Doug Evans <xdje42@gmail.com>
15019
15020 * gdb.base/bad-file.exp: New file.
15021
a22df60a
MG
150222016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15023
15024 * gdb.dwarf2/implref.exp: New file.
15025
0c13f7e5
BH
150262016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15027
15028 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15029 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15030 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15031 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15032 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15033 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15034 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15035 * lib/fortran.exp (fortran_int4): New procedure.
15036 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15037 (fortran_logical4): Likewise.
15038
9b9b09e9
BH
150392016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15040
15041 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15042
a14d1f4d
BH
150432016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15044
15045 * lib/compiler.c: Add Intel specific preprocessor macros.
15046 * lib/compiler.cc: Likewise.
25d49b86 15047
7d49b1d0
LM
150482016-04-13 Luis Machado <lgustavo@codesourcery.com>
15049
15050 * gdb.server/connect-with-no-symbol-file.c: New file.
15051 * gdb.server/connect-with-no-symbol-file.exp: New file.
15052
8392fa22
SM
150532016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15054
15055 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15056
8c4c4aeb
SM
150572016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15058
15059 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15060 standard output directory.
15061
45e3745e
AT
150622016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15063
15064 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15065
e26b7e41
MM
150662016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15067
15068 * gdb.btrace/instruction_history.c (loop): Add declaration.
15069
8ce09462
AT
150702016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15071
15072 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15073
2e88a1ea
SM
150742016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15075
15076 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15077 parentheses to print.
15078 (continue_handler): Likewise.
15079
f48e22e3
SM
150802016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15081
15082 * gdb.server/solib-list.exp: Remove is_remote check.
15083 Pass shlib= to gdb_compile. Don't link shared library with
15084 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15085 Run binary filename through "readlink -f" on the target.
15086
096be756
PA
150872016-04-08 Pedro Alves <palves@redhat.com>
15088
15089 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15090 interpreter filename as argument to gdbserver_spawn.
15091 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15092 Return empty if $last_loaded_file does not exist.
15093
06500533
JK
150942016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15095
15096 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15097 * gdb.base/jit-main.c: Use exit after usage.
15098
2d35e871
JK
150992016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15100
15101 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15102 GDBHISTSIZE prior to the tests.
15103 * gdb.base/gdbinit-history.exp: Likewise.
15104
151052016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15106
15107 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15108 instead of build_executable. Use gdb_load_shlibs.
15109
c8064e7e
YQ
151102016-04-07 Yao Qi <yao.qi@linaro.org>
15111
15112 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15113 Execute "si" command.
15114
bde47561
YQ
151152016-04-07 Yao Qi <yao.qi@linaro.org>
15116
15117 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15118 number instead of the comments on some line.
15119
b16f8a3b
DB
151202016-04-06 Don Breazeal <donb@codesourcery.com>
15121
15122 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15123 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15124
c2f901df
SM
151252016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15126
15127 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15128 standard_output_file. Remove unused binfile variable.
15129
ac17fda0
CU
151302016-04-05 Catalin Udma <catalin.udma@freescale.com>
15131
15132 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15133 * gdb.python/py-mi-objfile.exp: Match "list main" output
15134 in console format.
15135
03a8c4df
SM
151362016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15137
15138 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15139 absolute.
15140
6e774b13
SM
151412016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15142
15143 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15144 absolute.
15145 * gdb.trace/ftrace.exp: Likewise.
15146 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15147 targets as well.
15148 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15149 (gdb_load_shlibs): Copy libraries to test directory when testing
15150 natively. Only set solib-search-path if testing remotely.
15151 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15152
7817ea46
SM
151532016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15154
15155 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15156 gdb_download. Use it even if the target is not remote.
15157 * gdb.base/jit.exp (compile_jit_test): Likewise.
15158 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15159 output directory if the destination board is local, otherwise use
15160 the standard remote_download from DejaGnu.
15161 (gdb_download): Remove.
15162 (gdb_load_shlibs): Use gdb_remote_download instead of
15163 gdb_download.
15164 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15165 Use gdb_remote_download instead of gdb_download. Use it even if
15166 the target is not remote.
15167 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15168 instead of gdb_download.
15169
7beb7f68
SM
151702016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15171
15172 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15173 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15174 run.
15175
cc63428a
AV
151762016-04-01 Artemiy Volkov <artemiyv@acm.org>
15177
15178 PR gdb/19820
15179 * gdb.base/printcmds.exp: Add artificial arrays tests.
15180
64cdf930
PA
151812016-03-31 Pedro Alves <palves@redhat.com>
15182
15183 PR gdb/19858
15184 * gdb.base/jit-main.c: Include unistd.h.
15185 (ATTACH): Define to 0 if not already defined.
15186 (wait_for_gdb, mypid): New globals.
15187 (WAIT_FOR_GDB): New macro.
15188 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15189 some breakpoint locations.
15190 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15191 New procedures.
15192 (one_jit_test): Add REATTACH parameter, and handle it. Use
15193 continue_to_test_location.
15194 (top level): Test attach, and adjusts calls to one_jit_test.
15195
40dea8cb
PA
151962016-03-31 Pedro Alves <palves@redhat.com>
15197
15198 PR gdb/19858
15199 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15200 BINSUFFIX parameter, and handle it.
15201 (top level): Adjust calls compile_jit_test.
15202
e7ea3ec7
CU
152032016-03-31 Catalin Udma <catalin.udma@freescale.com>
15204
15205 PR python/19743
15206 * gdb.python/py-mi-events-gdb.py: New file.
15207 * gdb.python/py-mi-events.c: New file.
15208 * gdb.python/py-mi-events.exp: New file.
15209
e6359af3
YQ
152102016-03-30 Yao Qi <yao.qi@linaro.org>
15211
15212 * gdb.reverse/until-precsave.exp: Match function name only.
15213 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15214 Move malloc to a condition block.
15215 * gdb.reverse/until-reverse.exp: Match function name only.
15216
a4105d04
MK
152172016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15218
15219 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15220 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15221 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15222 variable for GPR 0 instead of assuming it is register 0.
15223 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15224 * lib/trace-support.exp: Add s390 registers.
15225
bfa6adb9
YQ
152262016-03-29 Yao Qi <yao.qi@linaro.org>
15227
15228 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15229
1e6697ea
YQ
152302016-03-24 Yao Qi <yao.qi@linaro.org>
15231
15232 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15233 test message.
15234
64bcd522
AA
152352016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15236
15237 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15238 maintaining separate logic for constructing the output path.
15239
7868401b
DB
152402016-03-16 Don Breazeal <donb@codesourcery.com>
15241
15242 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15243 Retry fork and waitpid on interrupted system call errors.
15244 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15245 Use with_timeout_factor to increase timeout by factor of 10.
15246
1cafadb4
DB
152472016-03-15 Don Breazeal <donb@codesourcery.com>
15248
15249 * gdb.cp/scope-err.cc: New test program.
15250 * gdb.cp/scope-err.exp: New test script.
15251 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15252 lines and "set breakpoint here" comment.
15253 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15254 Fixed some whitespace and format issues.
15255 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15256 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15257
81516450
DE
152582016-03-15 Doug Evans <dje@google.com>
15259
15260 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15261 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15262 All callers updated. Add tests for enums, mixed flags register.
15263
aa52b601
DE
152642016-03-15 Doug Evans <dje@google.com>
15265
15266 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15267 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15268
fa4ff313
SM
152692016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15270
15271 * gdb.base/default.exp: Add $_as_string to the list of expected
15272 convenience functions.
15273
f2403c39
AB
152742016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15275
15276 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15277
f2f3ccb9
SM
152782016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15279
15280 * gdb.python/py-as-string.exp: New file.
15281 * gdb.python/py-as-string.c: New file.
15282
00dbd492
PA
152832016-03-09 Pedro Alves <palves@redhat.com>
15284
15285 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15286 signal" -> "Thread NN received signal" output change.
15287 * gdb.threads/ia64-sigill.exp: Likewise.
15288 * gdb.threads/linux-dp.exp: Likewise.
15289 * gdb.threads/manythreads.exp: Likewise.
15290 * gdb.threads/pending-step.exp: Likewise.
15291 * gdb.threads/print-threads.exp: Likewise.
15292 * gdb.threads/sigstep-threads.exp: Likewise.
15293 * gdb.threads/staticthreads.exp: Likewise.
15294 * gdb.threads/tls.exp: Likewise.
15295
1e6697ea
YQ
152962016-03-09 Pedro Alves <palves@redhat.com>
15297
15298 * gdb.base/command-line-input.exp: New file.
15299
b04fd3be
MK
153002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15301
15302 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15303 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15304 * gdb.trace/pending.exp: Accept leading dot before function name.
15305 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15306 * lib/trace-support.exp: Set registers for ppc.
15307
98fa59e9
MK
153082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15309
15310 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15311 use it for disassembly; accept .main in addition to main in backtrace.
15312
f77198c8
MK
153132016-03-09 Wei-cheng Wang <cole945@gmail.com>
15314 Marcin Kościelnicki <koriakin@0x04.net>
15315
15316 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15317 (gdb_recursion_test_ptr): New global variable.
15318 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15319 gdb_recursion_test.
15320 (gdb_c_test): Ditto.
15321
ba84e0da
MK
153222016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15323
15324 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15325 ordering.
15326
4366d36e
MK
153272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15328
15329 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15330 (bar): Add bar_start_lbl label.
15331 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15332 of foo/bar for emitting DWARF and tracing.
15333
5eb264df
SDJ
153342016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15335
15336 * analyze-racy-logs.py: Set executable bit.
15337
fb6a751f
SDJ
153382016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15339
15340 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15341 (CHECK_TARGET_TMP): Likewise.
15342 (check-single-racy): New rule.
15343 (check-parallel-racy): Likewise.
15344 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15345 (do-check-parallel-racy): New rule.
15346 (check-racy/%.exp): Likewise.
15347 * README (Racy testcases): New section.
15348 * analyze-racy-logs.py: New file.
15349
bdf7e230
DE
153502016-03-03 Doug Evans <dje@google.com>
15351
15352 * gdb.base/skip.exp: Use with_test_prefix.
15353
4719d415
YQ
153542016-03-03 Yao Qi <yao.qi@linaro.org>
15355
15356 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15357 Invoke step_over_syscall "clone" and break_cond_on_syscall
15358 "clone".
15359 * gdb.base/step-over-clone.c: New file.
15360
ea507862
YQ
153612016-03-03 Yao Qi <yao.qi@linaro.org>
15362
15363 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15364 code format.
15365
8fc8cbda
YQ
153662016-03-03 Yao Qi <yao.qi@linaro.org>
15367
15368 * gdb.base/disp-step-fork.c: Rename to ...
15369 * gdb.base/step-over-fork.c: ... it. New file.
15370 * gdb.base/disp-step-vfork.c: Rename to ...
15371 * gdb.base/step-over-vfork.c: ... it. New file.
15372 * gdb.base/disp-step-syscall.exp: Rename to ...
15373 * gdb.base/step-over-syscall.exp: ... it. New file.
15374 (disp_step_cross_syscall): Rename to ...
15375 (step_over_syscall): ... it.
15376
92fa70b0
YQ
153772016-03-03 Yao Qi <yao.qi@linaro.org>
15378
15379 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15380 If target supports condition evaluation on target, invoke
15381 break_cond_on_syscall for fork and vfork.
15382
e197ad3c
YQ
153832016-03-03 Yao Qi <yao.qi@linaro.org>
15384
15385 * gdb.base/disp-step-syscall.exp: Don't invoke
15386 support_displaced_stepping.
15387 (disp_step_cross_syscall): Test with displaced stepping off and
15388 on if supported.
15389
0b47da9f
YQ
153902016-03-03 Yao Qi <yao.qi@linaro.org>
15391
15392 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15393 proc.
15394 (setup): New proc.
15395 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15396 and setup.
15397
065ab6dc
BH
153982016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15399
15400 * gdb.fortran/vla-history.exp: Remove breakpoint.
15401
07e448ad 154022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15403
25d49b86
PA
15404 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15405 exceeds timeout.
07e448ad 15406
9ac2d526 154072016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15408
25d49b86
PA
15409 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15410 breakpoint.
9ac2d526 15411
17807369
BH
154122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15413
15414 * gdb.mi/vla.f90: Nullify pointer after declaration.
15415
86e501af
PA
154162016-03-01 Pedro Alves <palves@redhat.com>
15417
15418 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15419
1e903e32
PA
154202016-03-01 Pedro Alves <palves@redhat.com>
15421
15422 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15423 before anything else.
15424 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15425 _GNU_SOURCE here.
15426 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15427 before anything else.
15428 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15429
6ccb54e2
PA
154302016-03-01 Pedro Alves <palves@redhat.com>
15431
15432 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15433
30ca9da1
YQ
154342016-03-01 Yao Qi <yao.qi@linaro.org>
15435
15436 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15437 prepare_for_testing.
15438
dc856b38
YQ
154392016-03-01 Yao Qi <yao.qi@linaro.org>
15440
15441 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15442
4a932159
AA
154432016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15444
15445 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15446 manually constructing the output path.
15447
f2489477
AA
154482016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15449
15450 * gdb.arch/s390-stackless.S: New.
15451 * gdb.arch/s390-stackless.exp: New.
15452
38899f16
IB
154532016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15454
15455 * gdb.dlang/circular.c: New file.
15456 * gdb.dlang/circular.exp: New file.
15457
9fde51ed
YQ
154582016-02-26 Yao Qi <yao.qi@linaro.org>
15459
15460 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15461 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15462 (testcases): Update.
15463
ce90fefe
YQ
154642016-02-26 Yao Qi <yao.qi@linaro.org>
15465
15466 * gdb.reverse/aarch64.c: Rename to ...
15467 * gdb.reverse/insn-reverse.c: ... it.
15468 * gdb.reverse/aarch64.exp: Rename to ...
15469 * gdb.reverse/insn-reverse.exp: ... it.
15470
3263bceb
YQ
154712016-02-26 Yao Qi <yao.qi@linaro.org>
15472
15473 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15474 (testcase_ftype): New.
15475 (testcases): New array.
15476 (n_testcases): New.
15477 (main): Call each element in testcases.
15478 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15479 (read_testcase): New.
15480 Do the tests in a loop.
15481
6cb59ff1
YQ
154822016-02-25 Yao Qi <yao.qi@linaro.org>
15483
15484 * gdb.base/branches.c: Remove.
15485
ae91f625
MK
154862016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15487
15488 PR gdb/13808
15489 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15490
678b48b7
MK
154912016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15492
15493 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15494
7337a6f2
MK
154952016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15496
15497 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15498 change x86_64 call_insn to 'callq'.
15499
861ca91f
AT
155002016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15501
15502 * gdb.trace/tfile-avx.c: Move to...
15503 * gdb.trace/tracefile-pseudo-reg.c: Here.
15504 * gdb.trace/tfile-avx.exp: Move to...
15505 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15506
bf74e428
GB
155072016-02-24 Gary Benson <gbenson@redhat.com>
15508
15509 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15510 message on attach.
15511
cce0e923
DE
155122016-02-23 Doug Evans <dje@google.com>
15513
15514 * gdb.base/skip.c (test_skip): New function.
15515 (end_test_skip_file_and_function): New function.
15516 (test_skip_file_and_function): New function.
15517 * gdb.base/skip1.c (test_skip): New function.
15518 (skip1_test_skip_file_and_function): New function.
15519 * gdb.base/skip.exp: Add tests for new skip options.
15520 * gdb.base/skip-solib.exp: Update expected output.
15521 * gdb.perf/skip-command.cc: New file.
15522 * gdb.perf/skip-command.exp: New file.
15523 * gdb.perf/skip-command.py: New file.
15524
4000e47e
MK
155252016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15526
15527 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15528 info registers pattern.
15529
24f75ead
IB
155302016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15531
15532 * lib/future.exp: Add D support.
15533 (gdb_find_gdc): New proc.
15534 (gdb_default_target_compile): Add D support.
15535
fbb7bcbe
WW
155362016-02-18 Wei-cheng Wang <cole945@gmail.com>
15537
15538 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15539 user+system time.
15540 (trace_speed_test): Determine the iteration count for a time
15541 between 15..30 seconds.
15542
012b3a21
WT
155432016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15544
15545 * gdb.arch/i386-mpx-sigsegv.c: New file.
15546 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15547 * gdb.arch/i386-mpx-simple_segv.c: New file.
15548 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15549
2d5189bd
YQ
155502016-02-18 Yao Qi <yao.qi@linaro.org>
15551
15552 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15553 Don't call setup_kfail.
15554
40fb20d0
YQ
155552016-02-18 Yao Qi <yao.qi@linaro.org>
15556
15557 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15558 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15559
21b1f8d2
DE
155602016-02-16 Doug Evans <dje@google.com>
15561
15562 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15563 * gdb.base/skip1.c: Ditto.
15564 * gdb.base/skip.exp: Whitespace cleanup.
15565
4041ed77
DB
155662016-02-16 Don Breazeal <donb@codesourcery.com>
15567
15568 PR remote/19496
15569 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15570 Remove kfail for PR remote/19496.
15571
c4ef31bf
SM
155722016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15573
15574 * lib/gdb.exp (standard_temp_file): Return a path specific to
15575 the runtest invocation.
15576
266b65b3
SM
155772016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15578
15579 * gdb.trace/save-trace.exp: Change relative path to be in the
15580 standard output directory.
15581
a7a0a6a9
JK
155822016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15583
15584 * gdb.arch/i386-prologue.c: Add missing prototypes.
15585
c99dbb42
JK
155862016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15587
15588 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15589 * gdb.arch/i386-prologue.exp: Likewise.
15590 * gdb.arch/i386-size.exp: Likewise.
15591
aa480355
SM
155922016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15593
15594 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15595 define object file path.
15596 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15597 file path.
15598 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15599 standard_output_file to define binfile.
15600
ba881f50
JK
156012016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15602
15603 Fix compatibility with recent gfortran-5.3.1.
15604 * gdb.fortran/vla-history.exp (print vla1 allocated)
15605 (print vla2 allocated, print $2, print $3): Remove
15606 (print $4): Rename to ...
15607 (print $2): ... here.
15608 (print $9): Rename to ...
15609 (print $5): ... here.
15610 (print $10): Rename to ...
15611 (print $6): ... here.
15612 * gdb.fortran/vla.f90: Add pvla initialization.
15613
e9fb005c
JK
156142016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15615
15616 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15617 New test.
15618 * gdb.fortran/vla-value-sub.exp: Likewise.
15619
e44e00ff
MK
156202016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15621
15622 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15623
97e94151
SM
156242016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15625
15626 * i386-biarch-core.exp: Define corefile using
15627 standard_output_file.
15628
01113bc1
YQ
156292016-02-12 Yao Qi <yao.qi@linaro.org>
15630
15631 * gdb.arch/arm-single-step-kernel-helper.c: New.
15632 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15633
33b4777c
MM
156342016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15635
15636 * gdb.btrace/tailcall-only.exp: New.
15637 * gdb.btrace/tailcall-only.c: New.
15638 * gdb.btrace/x86_64-tailcall-only.S: New.
15639 * gdb.btrace/i686-tailcall-only.S: New.
15640
acc23c11
PA
156412016-02-11 Pedro Alves <palves@redhat.com>
15642
15643 * README (Parallel testing): Add missing double quotes.
15644
e352bf0a
PA
156452016-02-11 Pedro Alves <palves@redhat.com>
15646
15647 * README (Parallel testing): New section.
15648 (GDB_PARALLEL): Rewrite.
15649 (FORCE_PARALLEL): Document.
15650
9f5fed78
MK
156512016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15652
15653 * gdb.trace/tfile-avx.c: New test.
15654 * gdb.trace/tfile-avx.exp: New test.
15655
9ef9e6a6
KS
156562016-02-09 Keith Seitz <keiths@redhat.com>
15657
15658 PR breakpoints/19546
15659 * gdb.base/infcall-exec.c: New file.
15660 * gdb.base/infcall-exec2.c: New file.
15661 * gdb.base/infcall-exec.exp: New file.
15662
a96e36da
KS
156632016-02-09 Keith Seitz <keiths@redhat.com>
15664
15665 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15666 (toplevel): Call test_bkpt_address.
15667
9f61929f
KS
156682016-02-09 Keith Seitz <keiths@redhat.com>
15669
15670 PR python/19506
15671 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15672 (toplevel): Call test_bkpt_address.
15673
1e94266c
SM
156742016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15675
15676 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15677 to AC_OUTPUT.
15678 * configure: Regenerate.
15679
2a7f3dff
PA
156802016-02-09 Pedro Alves <palves@redhat.com>
15681
15682 PR breakpoints/19548
15683 * gdb.base/execl-update-breakpoints.c (some_function): New
15684 function.
15685 (main): Call it.
15686 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15687 Tighten expected GDB output.
15688
2151ccc5
SM
156892016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15690
15691 * Makefile.in (ALL_SUBDIRS): Remove.
15692 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15693 (distclean maintainer-clean realclean): Likewise.
15694 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15695 * configure: Regenerate.
15696 * gdb.ada/Makefile.in: Delete.
15697 * gdb.arch/Makefile.in: Likewise.
15698 * gdb.asm/Makefile.in: Likewise.
15699 * gdb.base/Makefile.in: Likewise.
15700 * gdb.btrace/Makefile.in: Likewise.
15701 * gdb.cell/Makefile.in: Likewise.
15702 * gdb.compile/Makefile.in: Likewise.
15703 * gdb.cp/Makefile.in: Likewise.
15704 * gdb.disasm/Makefile.in: Likewise.
15705 * gdb.dlang/Makefile.in: Likewise.
15706 * gdb.dwarf2/Makefile.in: Likewise.
15707 * gdb.fortran/Makefile.in: Likewise.
15708 * gdb.gdb/Makefile.in: Likewise.
15709 * gdb.go/Makefile.in: Likewise.
15710 * gdb.guile/Makefile.in: Likewise.
15711 * gdb.java/Makefile.in: Likewise.
15712 * gdb.linespec/Makefile.in: Likewise.
15713 * gdb.mi/Makefile.in: Likewise.
15714 * gdb.modula2/Makefile.in: Likewise.
15715 * gdb.multi/Makefile.in: Likewise.
15716 * gdb.objc/Makefile.in: Likewise.
15717 * gdb.opencl/Makefile.in: Likewise.
15718 * gdb.opt/Makefile.in: Likewise.
15719 * gdb.pascal/Makefile.in: Likewise.
15720 * gdb.perf/Makefile.in: Likewise.
15721 * gdb.python/Makefile.in: Likewise.
15722 * gdb.reverse/Makefile.in: Likewise.
15723 * gdb.server/Makefile.in: Likewise.
15724 * gdb.stabs/Makefile.in: Likewise.
15725 * gdb.threads/Makefile.in: Likewise.
15726 * gdb.trace/Makefile.in: Likewise.
15727 * gdb.xml/Makefile.in: Likewise.
15728 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15729 GDB_PARALLEL.
15730 (standard_output_file): Remove check for GDB_PARALLEL, always
15731 return path in outputs/$subdir/$testname.
15732
437277d4
SM
157332016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15734
15735 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15736 (site.exp): Assign abs_srcdir to tcl's srcdir.
15737
31d913c7
YQ
157382016-02-04 Yao Qi <yao.qi@linaro.org>
15739
15740 * gdb.base/foll-exec-mode.c: Include limits.h.
15741 (main): Add parameters argc and argv. Get directory from
15742 argv[0].
15743 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15744 compilation.
15745 * gdb.base/foll-exec.c: Include limits.h.
15746 (main): Add parameters argc and argv.
15747 Get directory from argv[0].
15748 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15749 Adjust tests on the number of lines as source code changed.
15750 * gdb.base/foll-vfork-exit.c: Include limits.h.
15751 (main): Add one line of statement before vfork.
15752 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15753 (main): Add parameters argc and argv. Get directory from
15754 argv[0].
15755 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15756 (setup_gdb): Set tbreak to skip some source lines.
15757 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15758 (main): Add parameters argc and argv. Get directory from
15759 argv[0].
15760 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15761 compilation.
15762 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15763 (main): Add parameters argc and argv. Get directory from
15764 argv[0].
15765 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15766 compilation.
15767
9482b9fb
DE
157682016-02-01 Doug Evans <dje@google.com>
15769
15770 * gdb.base/skip.exp: Clean up multiple references to same test name.
15771
6b2e4f10
PA
157722016-02-01 Pedro Alves <palves@redhat.com>
15773
ccb6afd6 15774 PR remote/19496
6b2e4f10
PA
15775 * gdb.threads/forking-threads-plus-breakpoint.exp
15776 (displaced_stepping_supported): New global.
15777 (probe_displaced_stepping_support): New procedure.
15778 (do_test): Add 'displaced' parameter, and use it.
15779 (top level): Check for displaced stepping support. Add displaced
15780 stepping on/off testing axis.
15781
37a8db1a
AB
157822016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15783
15784 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15785 pointer. Don't perform further tests on the unassociated pointer
15786 if the first test fails.
15787
5fdf6324
AB
157882016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15789
15790 * gdb.base/max-value-size.c: New file.
15791 * gdb.base/max-value-size.exp: New file.
15792 * gdb.base/huge.exp: Disable max-value-size for this test.
15793
935c6144
IB
157942016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15795
15796 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15797
7fe8399d
YQ
157982016-01-28 Yao Qi <yao.qi@linaro.org>
15799
15800 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15801
a2077e25
PA
158022016-01-25 Pedro Alves <palves@redhat.com>
15803
15804 PR threads/19461
15805 * gdb.base/fork-running-state.c: New file.
15806 * gdb.base/fork-running-state.exp: New file.
15807
1d2736d4
PA
158082016-01-25 Pedro Alves <palves@redhat.com>
15809
15810 PR gdb/19494
15811 * gdb.base/catch-fork-kill.c: New file.
15812 * gdb.base/catch-fork-kill.exp: New file.
15813
f1da4b11
PA
158142016-01-25 Pedro Alves <palves@redhat.com>
15815
15816 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15817 Delete, moved to lib/gdb.exp.
15818 * gdb.threads/forking-threads-plus-breakpoint.exp
15819 (foreach_with_prefix): Likewise.
15820 * gdb.threads/process-dies-while-handling-bp.exp
15821 (foreach_with_prefix): Likewise.
15822 * lib/gdb.exp (foreach_with_prefix): New procedure.
15823
45f38546
MK
158242016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15825
15826 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15827 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15828
dc29a1ce
MK
158292016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15830
15831 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15832 endian targets.
15833
092127d7
JK
158342016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15835 Pedro Alves <palves@redhat.com>
15836
15837 Fix testsuite compatibility with Guile.
15838 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15839 number.
15840
31d765d3
JK
158412016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15842
15843 Fix testsuite compatibility with Guile.
15844 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15845 (thread 1): New test for backtrace through signal handler.
15846
1ac78c04
YQ
158472016-01-22 Yao Qi <yao.qi@linaro.org>
15848
15849 PR testsuite/19491
15850 * gdb.base/multi-forks.c: Include
15851 ../lib/unbuffer_output.c
15852 (main): Call gdb_unbuffer_output.
15853
4f5946a8
DE
158542016-01-21 Doug Evans <dje@google.com>
15855
15856 * lib/ada.exp (gdb_compile_ada): Fix typo.
15857
305e13e6
JB
158582016-01-21 Joel Brobecker <brobecker@adacore.com>
15859
15860 * gdb.base/break-fun-addr.exp: New file.
15861 * gdb.base/break-fun-addr1.c: New file.
15862 * gdb.base/break-fun-addr2.c: New file.
15863
5f5dfff6
SM
158642016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15865
15866 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15867 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15868 enum flag values.
15869
fd356fa2
AA
158702016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15871
15872 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15873 when GDB can not set the vector return value. Add more comments
15874 for clarification.
15875
9df22175
AT
158762016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15877
15878 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15879 command.
15880
41d1845e
SM
158812016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15882
15883 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15884
01ac6840
SM
158852016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15886
15887 * Makefile.in (check-single): Pass --status to runtest.
15888 (check/%.exp): Likewise.
15889
158902016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15891
15892 * Makefile.in (check-parallel): Propagate return code from make
15893 do-check-parallel.
15894
bd0a71fa
MK
158952016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15896
15897 * gdb.trace/ftrace.exp: Fix expected message on continue.
15898 * gdb.trace/pending.exp: Fix expected message on continue.
15899 * gdb.trace/trace-break.exp: Fix expected message on continue.
15900
8bcbad33
SM
159012016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15902
15903 * lib/gdb.exp (gdb_test): Remove unused global references.
15904
f303dbd6
PA
159052016-01-18 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.base/async-shell.exp: Adjust expected output.
15908 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15909 * gdb.base/siginfo-thread.exp: Adjust expected output.
15910 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15911 * gdb.java/jnpe.exp: Adjust expected output.
15912 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15913 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15914 * gdb.threads/leader-exit.exp: Adjust expected output.
15915 * gdb.threads/manythreads.exp: Adjust expected output.
15916 * gdb.threads/pthreads.exp: Adjust expected output.
15917 * gdb.threads/schedlock.exp: Adjust expected output.
15918 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15919 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15920 expected output.
15921 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15922 output.
15923 * gdb.threads/sigthread.exp: Adjust expected output.
15924 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15925
b2789696
YQ
159262016-01-18 Yao Qi <yao.qi@linaro.org>
15927
15928 * gdb.guile/scm-section-script.c: Replace @progbits with
15929 %progbits.
15930 * gdb.python/py-section-script.c: Likewise.
15931
71ef29a8
PA
159322016-01-15 Pedro Alves <palves@redhat.com>
15933
15934 * gdb.multi/tids.exp: Test star wildcard ranges.
15935
3f5b7598
PA
159362016-01-15 Pedro Alves <palves@redhat.com>
15937
15938 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15939 command from "thread apply" invocation.
15940 (thr_apply_info_thr_invalid): Default the expected output to the
15941 input tid list.
15942 (top level): Add tests that use convenience variables. Add tests
15943 for "thread apply" with a valid TID list, but missing the command.
15944
663f6d42
PA
159452016-01-13 Pedro Alves <palves@redhat.com>
15946
15947 * gdb.base/default.exp: Expect $_gthread as well.
15948 * gdb.multi/tids.exp: Test $_gthread.
15949 * gdb.threads/thread-specific.exp: Test $_gthread.
15950
c84f6bbf
PA
159512016-01-13 Pedro Alves <palves@redhat.com>
15952
15953 * gdb.multi/tids.exp: Test "info threads -gid".
15954
22a02324
PA
159552016-01-13 Pedro Alves <palves@redhat.com>
15956
15957 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15958 Breakpoint.thread.
15959 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15960
5d5658a1
PA
159612016-01-07 Pedro Alves <palves@redhat.com>
15962
15963 * gdb.base/break.exp: Adjust to output changes.
15964 * gdb.base/hbreak2.exp: Likewise.
15965 * gdb.base/sepdebug.exp: Likewise.
15966 * gdb.base/watch_thread_num.exp: Likewise.
15967 * gdb.linespec/keywords.exp: Likewise.
15968 * gdb.multi/info-threads.exp: Likewise.
15969 * gdb.threads/thread-find.exp: Likewise.
15970 * gdb.multi/tids.c: New file.
15971 * gdb.multi/tids.exp: New file.
15972
84654457
PA
159732016-01-13 Pedro Alves <palves@redhat.com>
15974
15975 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15976
e3940304
PA
159772016-01-13 Pedro Alves <palves@redhat.com>
15978
15979 * gdb.base/default.exp: Expect $_inferior as well.
15980 * gdb.multi/base.exp: Test $_inferior.
15981
a911d87a
PA
159822016-01-13 Pedro Alves <palves@redhat.com>
15983
15984 PR breakpoints/19388
15985 * gdb.base/catch-signal-siginfo-cond.c: New file.
15986 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15987
82075af2
JS
159882016-01-12 Josh Stone <jistone@redhat.com>
15989 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15990
15991 * gdb.base/catch-syscall.c (do_execve): New variable.
15992 (main): Conditionally trigger an execve.
15993 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15994 (test_catch_syscall_execve): New, check entry/return across execve.
15995 (do_syscall_tests): Call test_catch_syscall_execve.
15996
e46eeedd
PA
159972016-01-12 Pedro Alves <palves@redhat.com>
15998
15999 * gdb.base/random-signal.exp (do_test): New procedure, with body
16000 of testcase moved in.
16001
01d8c27e
JK
160022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16003 Pedro Alves <palves@redhat.com>
16004
16005 * gdb.base/funcargs.exp (finish from indirectly called function):
16006 Reintroduce the case for 'First'.
16007
9a706302
JK
160082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16009 Pedro Alves <palves@redhat.com>
16010
16011 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16012 (tcatch_vfork_then_child_follow_exec)
16013 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16014 identification.
16015
c0ecb95f
JK
160162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16017
16018 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16019 and repeats to unlimited.
16020 * gdb.python/py-value.exp: Likewise.
16021 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16022 and repeats to unlimited.
16023
6cfc1fcb
JK
160242016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16025
16026 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16027 and reordering the functions.
16028 * gdb.multi/hangout.c: Likewise.
16029 * gdb.multi/hello.c: Likewise.
16030
582a1b00
SM
160312016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16032
16033 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16034 absolute.
16035 (SingleStatisticTestResult.report): Use dict.keys instead of
16036 dict.iterkeys.
16037
79bc59cb
PA
160382016-01-06 Pedro Alves <palves@redhat.com>
16039
16040 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16041
43368e1d
MM
160422016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16043
16044 * gdb.btrace/dlopen.exp: New.
16045 * gdb.btrace/dlopen.c: New.
16046 * gdb.btrace/dlopen-dso.c: New.
16047
79fad5b8
SL
160482015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16049
16050 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16051 PATTERN argument is optional.
16052
ab8314b3
JB
160532015-12-24 Joel Brobecker <brobecker@adacore.com>
16054
16055 * lib/ada.exp (target_compile_ada_from_dir): New function.
16056 (gdb_compile_ada): Reimplement avoiding the use of project files.
16057 * gdb.ada/gnat_ada.gpr: Delete.
16058 * gdb.ada/cond_lang.exp: Adjust test to make path before
16059 filename optional.
16060 * gdb.ada/small_reg_param.exp: Likewise.
16061
fe33faff
SM
160622015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16063
16064 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16065
6d265cb4
TP
160662015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16067
16068 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16069 case.
16070
10125099
SM
160712015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16072
16073 * gdb.base/break.exp: Remove dead code.
16074 * gdb.base/sepdebug.exp: Likewise.
16075
3ca22649
SM
160762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16077
16078 * gdb.asm/asm-source.exp: Remove HP-UX references.
16079 * gdb.base/annota1.exp: Likewise.
16080 * gdb.base/annota3.exp: Likewise.
16081 * gdb.base/attach.exp: Likewise.
16082 * gdb.base/bigcore.exp: Likewise.
16083 * gdb.base/break.exp: Likewise.
16084 * gdb.base/call-ar-st.exp: Likewise.
16085 * gdb.base/callfuncs.exp: Likewise.
16086 * gdb.base/catch-fork-static.exp: Likewise.
16087 * gdb.base/display.exp: Likewise.
16088 * gdb.base/foll-exec-mode.exp: Likewise.
16089 * gdb.base/foll-exec.exp: Likewise.
16090 * gdb.base/foll-fork.exp: Likewise.
16091 * gdb.base/foll-vfork.exp: Likewise.
16092 * gdb.base/funcargs.exp: Likewise.
16093 * gdb.base/hbreak2.exp: Likewise.
16094 * gdb.base/inferior-died.exp: Likewise.
16095 * gdb.base/interrupt.exp: Likewise.
16096 * gdb.base/multi-forks.exp: Likewise.
16097 * gdb.base/nodebug.exp: Likewise.
16098 * gdb.base/sepdebug.exp: Likewise.
16099 * gdb.base/solib1.c: Likewise.
16100 * gdb.base/step-test.exp: Likewise.
16101 * gdb.mi/non-stop.c: Likewise.
16102 * gdb.mi/pthreads.c: Likewise.
16103 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16104 * gdb.threads/pthreads.c: Likewise.
16105 * gdb.threads/staticthreads.exp: Likewise.
16106 * lib/future.exp: Likewise.
16107 * lib/gdb.exp: Likewise.
16108 * gdb.base/so-indr-cl.c: Remove.
16109 * gdb.base/so-indr-cl.exp: Likewise.
16110 * gdb.base/solib.c: Likewise.
16111 * gdb.base/solib.exp: Likewise.
16112 * gdb.base/solib2.c: Likewise.
16113
b6304613
SM
161142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16115
16116 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16117 * gdb.base/call-ar-st.exp: Likewise.
16118 * gdb.base/callfuncs.exp: Likewise.
16119 * gdb.base/condbreak.exp: Likewise.
16120 * gdb.base/constvars.exp: Likewise.
16121 * gdb.base/hbreak2.exp: Likewise.
16122 * gdb.base/langs.exp: Likewise.
16123 * gdb.base/list.exp: Likewise.
16124 * gdb.base/long_long.exp: Likewise.
16125 * gdb.base/ptype.exp: Likewise.
16126 * gdb.base/scope.exp: Likewise.
16127 * gdb.base/signals.exp: Likewise.
16128 * gdb.base/so-impl-ld.exp: Likewise.
16129 * gdb.base/varargs.exp: Likewise.
16130 * gdb.base/volatile.exp: Likewise.
16131 * gdb.base/whatis.exp: Likewise.
16132 * gdb.cp/cplusfuncs.exp: Likewise.
16133 * gdb.cp/inherit.exp: Likewise.
16134 * gdb.cp/local.exp: Likewise.
16135 * gdb.cp/member-ptr.exp: Likewise.
16136 * gdb.cp/method.exp: Likewise.
16137 * gdb.cp/overload.exp: Likewise.
16138 * gdb.cp/templates.exp: Likewise.
16139 * gdb.stabs/weird.exp: Likewise.
16140 * lib/compiler.c: Likewise.
16141 * lib/compiler.cc: Likewise.
16142 * lib/cp-support.exp: Likewise.
16143 * lib/gdb.exp: Likewise.
16144
bf401b07
SM
161452015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16146
16147 * configure.ac: Remove HP-UX case.
16148 * configure: Regenerate.
16149
aff9c0f8
SM
161502015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16151
16152 * lib/gdb.exp (gdb_compile): Add function doc.
16153
a6904d5a
PA
161542015-12-17 Pedro Alves <palves@redhat.com>
16155
16156 PR threads/19354
16157 * gdb.multi/info-threads.exp: New file.
16158
a22279dd
YQ
161592015-12-15 Yao Qi <yao.qi@linaro.org>
16160
16161 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16162 is aarch64*-*-*.
16163
0588c796
SL
161642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16165
16166 * gdb.base/history-duplicates.exp: Skip if no readline support.
16167
5d978e17
SL
161682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16169
16170 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16171
7e763b86
SL
161722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16173
16174 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16175
87a3a92c
SL
161762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16177
16178 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16179 ctrl-C if nointerrupts target property is set.
16180 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16181 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16182 * gdb.base/paginate-bg-execution.exp: Likewise.
16183 * gdb.base/paginate-execution-startup.exp: Likewise.
16184 * gdb.base/random-signal.exp: Likewise.
16185 * gdb.base/range-stepping.exp: Likewise.
16186 * gdb.cp/annota2.exp: Likewise.
16187 * gdb.cp/annota3.exp: Likewise.
16188 * gdb.gdb/selftest.exp: Likewise.
16189 * gdb.threads/continue-pending-status.exp: Likewise.
16190 * gdb.threads/leader-exit.exp: Likewise.
16191 * gdb.threads/manythreads.exp: Likewise.
16192 * gdb.threads/pthreads.exp: Likewise.
16193 * gdb.threads/schedlock.exp: Likewise.
16194 * gdb.threads/sigthread.exp: Likewise.
16195
a8f077dc
DB
161962015-12-11 Don Breazeal <donb@codesourcery.com>
16197
16198 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16199 remote.
16200 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16201 * gdb.base/foll-exec.exp (main): Enable for target remote.
16202 * gdb.base/foll-fork.exp (main): Likewise.
16203 * gdb.base/foll-vfork.exp (main): Likewise.
16204 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16205 (proc continue_to_exit_bp_loc): Use clean_restart.
16206 * gdb.base/pie-execl.exp (main): Disable for target remote.
16207 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16208 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16209 * gdb.threads/execl.exp (main): Likewise.
16210 * gdb.threads/fork-child-threads.exp (main): Likewise.
16211 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16212 remote.
16213 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16214 remote.
16215 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16216 pid.tid style ptids, instead of just tid.
16217 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16218 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16219 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16220 ptids, instead of just tid.
16221
3b2464a8
AB
162222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16223
16224 * gdb.base/list.exp (test_list_forward): Add end of file error
16225 test.
16226 (test_repeat_list_command): Add end of file error test.
16227 (test_list_backwards): Add beginning of file error test.
16228
a0def019
AB
162292015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16230
16231 * gdb.base/list.exp (test_list_invalid_args): New function,
16232 defined, and called.
16233
5c000dff
AB
162342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16235
16236 * gdb.base/list.exp (test_list): Make test names unique.
16237
f1637ebe
YQ
162382015-12-11 Yao Qi <yao.qi@linaro.org>
16239
16240 * gdb.base/coremaker2.c: Remove.
16241
36d6fc0a
PA
162422015-12-10 Pedro Alves <palves@redhat.com>
16243
16244 * gdb.multi/base.exp: Remove stale "spaces" references.
16245
762f7747
PA
162462015-12-10 Pedro Alves <palves@redhat.com>
16247
16248 * gdb.multi/base.exp: Don't use nowarnings.
16249 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16250 * gdb.multi/hangout.c: Include stdio.h.
16251 * gdb.multi/hello.c: Include stdlib.h.
16252 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16253 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16254 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16255
28d2bfb9
AB
162562015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16257
16258 * gdb.dwarf2/dw2-ranges-base.c: New file.
16259 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16260 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16261 support additional line table, and debug ranges generation.
16262 (Dwarf::ranges): New function, generate .debug_ranges.
16263 (Dwarf::lines): Support generating simple line table programs.
16264 (Dwarf::assemble): Initialise new namespace variables.
16265
5fc2beac
KB
162662015-12-09 Kevin Buettner <kevinb@redhat.com>
16267
16268 * gdb.base/async.exp (proc test_background): Add case for
16269 asynchronous execution not supported.
16270
1c35a88f
LM
162712015-12-09 Luis Machado <lgustavo@codesourcery.com>
16272
16273 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16274 format and change test names to make them unique.
16275
b593e3d9
RK
162762015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16277 Pedro Alves <pedro@redhat.com>
16278
16279 PR gdb/18702
16280 Add checking of floatformats setup on x86_64 hosts.
16281 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16282 (smallval, bigval): New labels/constants.
16283 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16284 float" after loading bigval and smallval.
16285
d72413e6
PMR
162862015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16287
16288 * gdb.ada/fun_overload_menu.exp: New testcase.
16289 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16290
ece66d65
JS
162912015-12-04 Josh Stone <jistone@redhat.com>
16292
16293 * gdb.base/catch-fork-static.exp: New.
16294
41d0efca
YQ
162952015-12-03 Yao Qi <yao.qi@linaro.org>
16296
16297 * gdb.base/sizeof.c: Don't include stdio.h and
16298 ../lib/unbuffer_output.c.
16299 (main): New variable 'size' and 'value'. Remove printf and
16300 gdb_unbuffer_output. Assign return value to size and value.
16301 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16302 at the beginning.
16303 (check_sizeof): Check the result by printing variable 'size'.
16304 (check_valueof): Check the result by printing variable 'value'.
16305
99fd02d9
YQ
163062015-12-01 Yao Qi <yao.qi@linaro.org>
16307
16308 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16309 for aarch64*-*-linux* target.
16310
f2faf941
PA
163112015-11-30 Pedro Alves <palves@redhat.com>
16312
16313 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16314
04bf20c5
PA
163152015-11-30 Pedro Alves <palves@redhat.com>
16316
16317 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16318 Handle non-stop mode vCont replies.
16319
09df4675
PA
163202015-11-30 Pedro Alves <palves@redhat.com>
16321
16322 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16323 prepare_for_testing. Start gdb with "set non-stop on" appended to
16324 GDBFLAGS. Lax expected stop output.
16325
58b584af
YQ
163262015-11-27 Yao Qi <yao.qi@linaro.org>
16327
16328 * gdb.arch/arm-neon.exp: New.
16329 * gdb.arch/arm-neon.c: New.
16330
dfcb77a8
YQ
163312015-11-27 Yao Qi <yao.qi@linaro.org>
16332
16333 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16334
88e8ec1b
YQ
163352015-11-27 Yao Qi <yao.qi@linaro.org>
16336
16337 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16338 frames-invalid annotation.
16339
bfde72c2
YQ
163402015-11-27 Yao Qi <yao.qi@linaro.org>
16341
16342 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16343
f6512a69
SM
163442015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16345
16346 * gdb.threads/names.exp: New file.
16347 * gdb.threads/names.c: New file.
16348 * README: Mention gdb,no_thread_names.
16349
46a3515b
MM
163502015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16351
16352 PR 19297
16353 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16354 support" error.
16355
62147a22
PA
163562015-11-24 Pedro Alves <palves@redhat.com>
16357
16358 PR 17539
16359 * gdb.base/display.exp: Expect displays to be sorted in ascending
16360 order. Use multi_line.
16361 * gdb.base/solib-display.exp: Likewise.
16362
2f341b6e
PA
163632015-11-24 Pedro Alves <palves@redhat.com>
16364
16365 PR 17539
25d49b86
PA
16366 * gdb.base/display.exp: Expect displays to be sorted in ascending
16367 order. Use multi_line.
16368 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16369
7e0aa6aa
PA
163702015-11-24 Pedro Alves <palves@redhat.com>
16371
16372 PR 17539
16373 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16374 threads in ascending order.
16375 * gdb.base/foll-fork.exp: Likewise.
16376 * gdb.base/foll-vfork.exp: Likewise.
16377 * gdb.base/multi-forks.exp: Likewise.
16378 * gdb.mi/mi-nonstop.exp: Likewise.
16379 * gdb.mi/mi-nsintrall.exp: Likewise.
16380 * gdb.multi/base.exp: Likewise.
16381 * gdb.multi/multi-arch.exp: Likewise.
16382 * gdb.python/py-inferior.exp: Likewise.
16383 * gdb.threads/break-while-running.exp: Likewise.
16384 * gdb.threads/execl.exp: Likewise.
16385 * gdb.threads/gcore-thread.exp: Likewise.
16386 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16387 * gdb.threads/kill.exp: Likewise.
16388 * gdb.threads/linux-dp.exp: Likewise.
16389 * gdb.threads/multiple-step-overs.exp: Likewise.
16390 * gdb.threads/next-bp-other-thread.exp: Likewise.
16391 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16392 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16393 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16394 * gdb.threads/thread-find.exp: Likewise.
16395 * gdb.threads/tls.exp: Likewise.
16396 * lib/mi-support.exp (mi_reverse_list): Delete.
16397 (mi_check_thread_states): No longer reverse list.
16398
2cc57ad8
PA
163992015-11-24 Pedro Alves <palves@redhat.com>
16400
16401 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16402 use lowercase.
16403
c93e8391
SM
164042015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16405
16406 * gdb.trace/actions.c: Include trace-common.h.
16407 (main): Add a location for a fast tracepoint.
16408 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16409 the normal tracepoints.
16410 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16411
045ccf91
SM
164122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16413
16414 * save-trace.exp: Factor out code to these...
16415 (gdb_save_tracepoints): New.
16416 (gdb_load_tracepoints): New.
16417 (do_save_load_test): New.
16418
5506f9f6
KB
164192015-11-23 Kevin Buettner <kevinb@redhat.com>
16420
16421 * gdb.base/asmlabel.exp: New test.
16422 * gdb.base/asmlabel.c: New test case.
16423
16c3b12f
JB
164242015-11-23 Joel Brobecker <brobecker@adacore.com>
16425
16426 * gdb.base/wrong_frame_bt_full-main.c: New file.
16427 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16428 * gdb.base/wrong_frame_bt_full.exp: New file.
16429
155bfbd3
JB
164302015-11-23 Joel Brobecker <brobecker@adacore.com>
16431
16432 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16433
bb097445
JM
164342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16435
206853a0 16436 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16437 pstate register when comparing registers values in
16438 sparc64-*-linux-gnu targets to avoid spurious differences.
16439
9c88ed8f
JM
164402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16441
206853a0 16442 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16443
96161e25
SL
164442015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16445
16446 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16447 as type argument to gdb_compile.
16448 * gdb.base/nested-subp2.exp: Likewise.
16449 * gdb.base/nested-subp3.exp: Likewise.
16450
340c2830
DV
164512015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16452
16453 * lib/dwarf.exp (_note): Fix left shift of negative value.
16454 * gdb.trace/trace-condition.exp: Likewise.
16455
c1862d0f
YQ
164562015-11-13 Yao Qi <yao.qi@linaro.org>
16457
16458 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16459 comments about d10v.
16460 (test_scalar_returns): Likewise.
16461 * gdb.base/d10v.ld: Remove.
16462 * gdb.base/overlays.exp: Remove the target triplet checking for
16463 d10v-*-*.
16464 * gdb.base/structs.exp (test_struct_returns): Remove the
16465 comments about d10v.
16466 (test_struct_calls): Likewise.
16467
77ae9c19
YQ
164682015-11-13 Yao Qi <yao.qi@linaro.org>
16469
16470 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16471 * gdb.base/gnu_vector.c: Don't include stdio.h.
16472 (main): Don't print res and call add_some_intvecs.
16473
430e004e
MK
164742015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16475
16476 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16477 macro.
16478 (func5): Removed.
16479 (func4): Use FAST_TRACEPOINT_LABEL.
16480 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16481 macro.
16482 (func): Removed.
16483 (thread_function): Use FAST_TRACEPOINT_LABEL.
16484 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16485 (func): Remove.
16486 (marker): Use FAST_TRACEPOINT_LABEL.
16487 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16488 (pendfunc1): Remove.
16489 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16490 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16491 (foo): Remove.
16492 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16493 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16494 macro.
16495 (func): Remove.
16496 (marker): Use FAST_TRACEPOINT_LABEL.
16497 * gdb.trace/trace-common.h: New header.
16498 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16499 macro.
16500 (func): Remove.
16501 (marker): Use FAST_TRACEPOINT_LABEL.
16502 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16503 (func): Remove.
16504 (thread_function): Use FAST_TRACEPOINT_LABEL.
16505
6e7675a7
MK
165062015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16507
16508 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16509 in front.
16510 * gdb.trace/change-loc.exp: Use global pcreg definition.
16511 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16512 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16513 in front.
16514 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16515 * gdb.trace/pending.exp: Likewise.
16516 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16517 * gdb.trace/trace-break.exp: Likewise.
16518 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16519 in front.
16520 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16521 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16522 in front.
16523 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16524
dddc0e16
JB
165252015-11-09 Joel Brobecker <brobecker@adacore.com>
16526
16527 * gdb.ada/fin_fun_out: New testcase.
16528
c6f0b406
KB
165292015-11-07 Kevin Buettner <kevinb@redhat.com>
16530
16531 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16532 value associated with DW_AT_byte_size.
16533 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16534 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16535 DW_AT_upper_bound.
16536
f01dcfd9
KB
165372015-11-07 Kevin Buettner <kevinb@redhat.com>
16538
16539 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16540 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16541 version.
16542 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16543 gdb.dwarf2/dw2-canonicalize-type.exp,
16544 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16545 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16546 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16547 provided by gdb_target_symbol_prefix_flags_asm.
16548 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16549 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16550 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16551 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16552 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16553 macros where needed). Use this macro for symbols which require
16554 the prefix provided by SYMBOL_PREFIX.
16555
2223449a
KB
165562015-11-05 Kevin Buettner <kevinb@redhat.com>
16557
16558 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16559 New procs.
16560 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16561 representing expressions, of more than one list element.
16562 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16563 to prepend linker symbol prefix to f.
16564 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16565 table_1 and table_2.
16566 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16567 Likewise, for f and g.
16568 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16569 for ptr.
16570 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16571 for main.
16572 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16573 table_1_ptr and table_2_ptr.
16574
6f2f1a3a
JK
165752015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16576 Joel Brobecker <brobecker@adacore.com>
16577
16578 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16579
566c56c9
MK
165802015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16581
16582 * gdb.reverse/s390-mvcle.c: New test.
16583 * gdb.reverse/s390-mvcle.exp: New file.
16584 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16585
d5f0636b
MK
165862015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16587
16588 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16589
7ad8b86c
MK
165902015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16591
16592 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16593 reaching marker2.
16594 * gdb.reverse/getresuid-reverse.exp: Likewise.
16595 * gdb.reverse/pipe-reverse.exp: Likewise.
16596 * gdb.reverse/readv-reverse.exp: Likewise.
16597 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16598 * gdb.reverse/time-reverse.exp: Likewise.
16599 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16600
4081c0f1
YQ
166012015-10-30 Yao Qi <yao.qi@linaro.org>
16602
16603 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16604 (empty_cycle): Remove.
16605 (main): Don't call empty_cycle. Don't use watch_count_done.
16606 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16607 empty_cycle. Rewrite the code counting HW watchpoints.
16608
452b4ba5
MK
166092015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16610
16611 * gdb.reverse/fstatat-reverse.c: New test.
16612 * gdb.reverse/fstatat-reverse.exp: New file.
16613 * gdb.reverse/getresuid-reverse.c: New test.
16614 * gdb.reverse/getresuid-reverse.exp: New file.
16615 * gdb.reverse/pipe-reverse.c: New test.
16616 * gdb.reverse/pipe-reverse.exp: New file.
16617 * gdb.reverse/readv-reverse.c: New test.
16618 * gdb.reverse/readv-reverse.exp: New file.
16619 * gdb.reverse/recvmsg-reverse.c: New test.
16620 * gdb.reverse/recvmsg-reverse.exp: New file.
16621 * gdb.reverse/time-reverse.c: New test.
16622 * gdb.reverse/time-reverse.exp: New file.
16623 * gdb.reverse/waitpid-reverse.c: New test.
16624 * gdb.reverse/waitpid-reverse.exp: New file.
16625
5e2e7507
JK
166262015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16627
16628 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16629
0fde2c53
DE
166302015-10-26 Doug Evans <dje@google.com>
16631
16632 PR symtab/17391
16633 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16634 * gdb.dwarf2/bad-regnum.c: New file.
16635 * gdb.dwarf2/bad-regnum.exp: New file.
16636
1a70ae97
DE
166372015-10-26 Doug Evans <dje@google.com>
16638
16639 PR python/18938
16640 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16641 file.
16642
27dc26ab
JK
166432015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16644
16645 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16646 for a change by "Mention language in compile error message".
16647
bed91f4d
SM
166482015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16649
16650 PR python/18073
16651 * gdb.python/py-type.c (C::a_method): New.
16652 (C::a_const_method): New.
16653 (C::a_static_method): New.
16654 (a_function): New.
16655 * gdb.python/py-type.exp (test_fields): Test getting fields
16656 from function and method.
16657
3f2f83dd
KB
166582015-10-21 Keven Boell <keven.boell@intel.com>
16659
16660 * gdb.fortran/vla-alloc-assoc.exp: New file.
16661 * gdb.fortran/vla-datatypes.exp: New file.
16662 * gdb.fortran/vla-datatypes.f90: New file.
16663 * gdb.fortran/vla-history.exp: New file.
16664 * gdb.fortran/vla-ptype-sub.exp: New file.
16665 * gdb.fortran/vla-ptype.exp: New file.
16666 * gdb.fortran/vla-sizeof.exp: New file.
16667 * gdb.fortran/vla-sub.f90: New file.
16668 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16669 * gdb.fortran/vla-value-sub-finish.exp: New file.
16670 * gdb.fortran/vla-value-sub.exp: New file.
16671 * gdb.fortran/vla-value.exp: New file.
16672 * gdb.fortran/vla-ptr-info.exp: New file.
16673 * gdb.mi/mi-vla-fortran.exp: New file.
16674 * gdb.mi/vla.f90: New file.
16675
27145d50
SL
166762015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16677
16678 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16679 of hardwired timeout value.
16680
5f3ff4f8
JK
166812015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16682 Pedro Alves <palves@redhat.com>
16683
16684 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16685 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16686
bfd09d20
JS
166872015-10-19 Josh Stone <jistone@redhat.com>
16688
16689 * gdb.base/catch-syscall.c: Include <sched.h>.
16690 (unknown_syscall): New variable.
16691 (main): Trigger a vfork and an unknown syscall.
16692 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16693 (unknown_syscall_number): Likewise.
16694 (check_call_to_syscall): Accept an optional syscall pattern.
16695 (check_return_from_syscall): Likewise.
16696 (check_continue): Likewise.
16697 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16698 (test_catch_syscall_skipping_return): New test toggling off 'catch
16699 syscall' to step over the syscall return, then toggling back on.
16700 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16701 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16702 (do_syscall_tests): Call test_catch_syscall_without_args and
16703 test_catch_syscall_mid_vfork.
16704 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16705 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16706
b32b93c6
AS
167072015-10-19 Andrew Stubbs <ams@codesourcery.com>
16708
16709 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16710 print g_vE): Add new pass patterns.
16711 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16712 print various symbol names for vptr fields.
16713
9d622bda
AB
167142015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16715
16716 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16717 results.
16718
0fd8ac1c
YQ
167192015-10-12 Yao Qi <yao.qi@linaro.org>
16720
16721 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16722
34240514
YQ
167232015-10-12 Yao Qi <yao.qi@linaro.org>
16724
16725 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16726 is aarch64*-*-linux*.
16727
8240f442
YQ
167282015-10-12 Yao Qi <yao.qi@linaro.org>
16729
16730 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16731 (can_relocate_bcond_true): ... it.
16732 (can_relocate_bcond_false): New function.
16733 (foo): Likewise.
16734 (can_relocate_bl): Likewise.
16735 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16736 can_relocate_bl.
16737
2520f728
PMR
167382015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16739
16740 * gdb.base/nested-addr.c: New file.
16741 * gdb.base/nested-addr.exp: New testcase.
16742
abcef95a
MM
167432015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16744
16745 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16746 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16747 its output. Ignore the output of "record goto begin" and instead
16748 check that GDB is replaying.
16749
145e3ddb
PA
167502015-10-09 Pedro Alves <palves@redhat.com>
16751
16752 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16753 (top level): Use it in the run with no args test.
16754
d5d8c4e1
IB
167552015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16756
16757 * gdb.dlang/properties.exp: New file.
16758
06e635ef
SL
167592015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16760
16761 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16762 whether or not address 0x1000 is mapped on the target.
16763
e019fd1d
SM
167642015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16765
16766 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16767 build.
16768
77ba2a67
MM
167692015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16770
16771 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16772 instruction-history test.
16773
c60eb31f
DE
167742015-09-28 Doug Evans <dje@google.com>
16775
16776 * gdb.base/gcore.c (array_func): Add reference to static_array.
16777
9a3c8263
SM
167782015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16779
16780 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16781 source line.
16782
9720e656
SL
167832015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16784
16785 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16786 short or char as base type.
16787
938d3bf2
SL
167882015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16789
16790 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16791 to allow any size enum.
16792
e6c2c623
PMR
167932015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16794
16795 * gdb.ada/array_ptr_renaming.exp: New testcase.
16796 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16797 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16798
06da0f77
PL
167992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16800
16801 * gdb.trace/ftrace-lock.c: New file.
16802 * gdb.trace/ftrace-lock.exp: New file.
16803
4f51c22a
PL
168042015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16805
16806 * gdb.arch/insn-reloc.c: New file.
16807 * gdb.arch/ftrace-insn-reloc.exp: New file.
16808
7041adf4
PL
168092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16810
16811 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16812 instruction.
16813 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16814 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16815 * gdb.trace/range-stepping.c: Likewise.
16816 * gdb.trace/trace-break.c: Likewise.
16817 * gdb.trace/trace-mt.c (thread_function): Likewise.
16818 * gdb.trace/ftrace.c (marker): Likewise.
16819 * gdb.trace/trace-condition.c (marker): Likewise.
16820 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16821 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16822 is_aarch64_target.
16823
015d2e7e
DE
168242015-09-18 Doug Evans <xdje42@gmail.com>
16825
16826 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16827 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16828
26b188a2
SL
168292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16830
16831 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16832 the breakpoint.
16833
79dc332b
SL
168342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16835
16836 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16837 the pending breakpoint. Remove timeout override for "Run till
16838 MI pending breakpoint on pendfunc3 on thread 2" test.
16839
f57929f2
SL
168402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16841
16842 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16843 filename pattern.
16844
3f469b17
SL
168452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16846
16847 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16848 in breakpoint filename pattern.
16849
515b89b3
SL
168502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16851
7800dbe4
SL
16852 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16853
168542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16855
515b89b3
SL
16856 * gdb.linespec/explicit.exp: Check for readline support for
16857 tab-completion tests. Fix obvious typo.
16858
d2939ba2
MM
168592015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16860
16861 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16862 and replay.
16863
cbb55fa7
MM
168642015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16865
16866 * gdb.btrace/non-stop.c: New.
16867 * gdb.btrace/non-stop.exp: New.
16868
43691ca1
PL
168692015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16870 Yao Qi <yao.qi@linaro.org>
16871
16872 * gdb.trace/trace-condition.c: New file.
16873 * gdb.trace/trace-condition.exp: New file.
16874
d78908cf
WW
168752015-09-16 Wei-cheng Wang <cole945@gmail.com>
16876
16877 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16878 for testing bytecode compilation.
16879
1ed415e2
PA
168802015-09-16 Pedro Alves <palves@redhat.com>
16881 Sandra Loosemore <sandra@codesourcery.com>
16882
16883 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16884 (SECONDS): Redefine.
16885 (main): Call pthread_kill and alarm early.
16886 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16887 support.
16888 (test): If the target can't hardware step and doesn't support
16889 displaced stepping, increase the timeout.
16890
d136eff5
PA
168912015-09-16 Pedro Alves <palves@redhat.com>
16892
16893 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16894 (enable_debug): New procedures.
16895 (test): Use them. Bail out if waiting for threads fails.
16896 (top level): Bail out if a test fails.
16897
991f019c
YQ
168982015-09-16 Yao Qi <yao.qi@linaro.org>
16899
16900 * gdb.asm/asm-source.exp: Set asm-arch for
16901 aarch64*-*-* target.
16902 * gdb.asm/aarch64.inc: New file.
16903
bfca584f
PMR
169042015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16905
16906 * gdb.ada/array_of_variable_length.exp: New testcase.
16907 * gdb.ada/array_of_variable_length/foo.adb: New file.
16908 * gdb.ada/array_of_variable_length/pck.adb: New file.
16909 * gdb.ada/array_of_variable_length/pck.ads: New file.
16910
b326e587
DE
169112015-09-15 Doug Evans <dje@google.com>
16912
16913 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16914 of function static local variable.
16915
5382cfab
PW
169162015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16917
16918 * gdb.threads/tls-so_extern.exp: New test file.
16919 * gdb.threads/tls-so_extern.c: New test file.
16920 * gdb.threads/tls-so_extern_main.c: New test file.
16921
141c5cc4
JK
169222015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16923
16924 * gdb.opt/solib-intra-step-lib.c: New file.
16925 * gdb.opt/solib-intra-step-main.c: New file.
16926 * gdb.opt/solib-intra-step.exp: New file.
16927
d15dcecd
PA
169282015-09-15 Pedro Alves <palves@redhat.com>
16929
16930 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16931 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16932
4c2f2a79
PA
169332015-09-14 Pedro Alves <palves@redhat.com>
16934
16935 * gdb.base/hook-stop-continue.c: Delete.
16936 * gdb.base/hook-stop-continue.exp: Delete.
16937 * gdb.base/hook-stop-frame.c: Delete.
16938 * gdb.base/hook-stop-frame.exp: Delete.
16939 * gdb.base/hook-stop.c: New file.
16940 * gdb.base/hook-stop.exp: New file.
16941
919e6dbe
PMR
169422015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16943
16944 * gdb.ada/access_to_packed_array.exp: New testcase.
16945 * gdb.ada/access_to_packed_array/foo.adb: New file.
16946 * gdb.ada/access_to_packed_array/pack.adb: New file.
16947 * gdb.ada/access_to_packed_array/pack.ads: New file.
16948
157280a4
MM
169492015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16950
16951 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16952 buffer size test.
16953
2fd33e94
DB
169542015-09-11 Don Breazeal <donb@codesourcery.com>
16955
16956 * gdb.base/foll-exec.c: Add copyright header. Fix
16957 formatting issues.
16958 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16959 (do_exec_tests): Use clean_restart in place of zap_session,
16960 and for test initialization. Fix formatting issues. Use
16961 fail in place of perror.
16962 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16963 an expect statement to match an expression with output from
16964 the program under debug.
16965 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16966 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16967 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16968 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16969 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16970
e70b6e8e
DE
169712015-09-09 Doug Evans <dje@google.com>
16972
16973 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16974
7a551a51
DE
169752015-09-09 Doug Evans <dje@google.com>
16976
16977 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16978
4c666f84
DE
169792015-09-09 Doug Evans <dje@google.com>
16980
16981 * gdb.base/savedregs.exp: Fix typo.
16982
243a9253
PA
169832015-09-09 Pedro Alves <palves@redhat.com>
16984
16985 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16986
c0fa8fbd
SL
169872015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16988
16989 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16990 command actually switches threads. Give up on remaining
16991 tests if target fails to stop at breakpoint.
16992
cd7c1778
PMR
169932015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16994
16995 * gdb.ada/funcall_char.exp: New testcase.
16996 * gdb.ada/funcall_char/foo.adb: New file.
16997
dc5c8746
PMR
169982015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16999
17000 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17001 expected outputs. Add two testcases for completing ambiguous
17002 functions.
17003 * gdb.ada/complete/aux_pck.adb: New file.
17004 * gdb.ada/complete/aux_pck.ads: New file.
17005 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17006 Ambiguous_Func functions.
17007 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17008 * gdb.ada/complete/pck.adb: Likewise.
17009
4e83a1e7
UW
170102015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17011
17012 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17013 failures to run the test program under GDB.
17014
8ce74153
LM
170152015-08-26 Luis Machado <lgustavo@codesourcery.com>
17016
17017 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17018 to C.
17019
e9756d52
PP
170202015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17021
17022 * gdb.base/run-after-attach.exp: New test file.
17023 * gdb.base/run-after-attach.c: New test file.
17024
8d37573b
DB
170252015-08-26 Don Breazeal <donb@codesourcery.com>
17026
17027 * gdb.base/foll-exec-2.c: New test program.
17028 * gdb.base/foll-exec-2.exp: New test.
17029
63e43d3a
PMR
170302015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17031
17032 * gdb.base/nested-subp1.exp: New file.
17033 * gdb.base/nested-subp1.c: New file.
17034 * gdb.base/nested-subp2.exp: New file.
17035 * gdb.base/nested-subp2.c: New file.
17036 * gdb.base/nested-subp3.exp: New file.
17037 * gdb.base/nested-subp3.c: New file.
17038
3d40fbb5
PA
170392015-08-24 Pedro Alves <palves@redhat.com>
17040
17041 * gdb.server/connect-without-multi-process.c: New file.
17042 * gdb.server/connect-without-multi-process.exp: New file.
17043
4422ac93
LM
170442015-08-24 Luis Machado <lgustavo@codesourcery.com>
17045
17046 * gdb.opt/inline-markers.c: Make z int.
17047
91dddb86
LM
170482015-08-24 Luis Machado <lgustavo@codesourcery.com>
17049
17050 * gdb.opt/inline-markers.c: Make z volatile.
17051
a48847ee
LM
170522015-08-24 Luis Machado <lgustavo@codesourcery.com>
17053
17054 * gdb.opt/inline-bt.c: New volatile global z.
17055 * gdb.opt/inline-cmds.c: Likewise.
17056 * gdb.opt/inline-locals.c: Likewise.
17057 * gdb.opt/inline-markers.c: New extern global z.
17058 (marker): Use z.
17059 (inline_fn): Likewise.
17060
0ebbc52b
PA
170612015-08-24 Pedro Alves <palves@redhat.com>
17062
17063 * config/m32r-stub.exp: Remove file.
17064 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17065 * gdb.base/call-rt-st.exp: Likewise.
17066 * gdb.base/call-strs.exp: Likewise.
17067 * gdb.base/default.exp: Remove references to h8300-*-hms and
17068 *-*-udi*.
17069 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17070
77c365df
AA
170712015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17072
17073 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17074 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17075 and "return" use KFAIL when GDB can not read/write the vector
17076 return value.
17077
4313b8c0
GB
170782015-08-21 Gary Benson <gbenson@redhat.com>
17079
17080 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17081
0e433b32
PA
170822015-08-20 Pedro Alves <palves@redhat.com>
17083
17084 * gdb.server/solib-list.exp: No longer expect an interior stop in
17085 non-stop mode.
17086
221e1a37
PA
170872015-08-20 Pedro Alves <palves@redhat.com>
17088
17089 * gdb.server/connect-stopped-target.c: New file.
17090 * gdb.server/connect-stopped-target.exp: New file.
17091
40e3ad0e
PA
170922015-08-20 Pedro Alves <palves@redhat.com>
17093
17094 * gdb.dwarf2/comp-unit-lang.exp: New file.
17095 * gdb.dwarf2/comp-unit-lang.c: New file.
17096
af39b327
PMR
170972015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17098
17099 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17100 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17101
7d45c7c3 171022015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17103
7d45c7c3
KB
17104 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17105 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17106
4d6cceb4
DE
171072015-08-18 Doug Evans <dje@google.com>
17108 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17109
17110 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17111 skip_python_tests. New arg prompt_regexp.
17112 (skip_python_tests): New function.
17113 * lib/mi-support.exp (mi_skip_python_tests): New function.
17114 * gdb.python/py-mi-objfile-gdb.py: New file.
17115 * gdb.python/py-mi-objfile.c: New file.
17116 * gdb.python/py-mi-objfile.exp: New file.
17117
ad89c2aa
KS
171182015-08-17 Keith Seitz <keiths@redhat.com>
17119
17120 * gdb.linespec/explicit.exp: Move strace test from here ...
17121 * gdb.trace/strace.exp: ... to here.
17122
e3ae3c43
PP
171232015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17124
17125 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17126 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17127
604b2636
DE
171282015-08-14 Doug Evans <xdje42@gmail.com>
17129
17130 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17131 inferior before selecting a new file.
17132
6ff0ba5f
DE
171332015-08-14 Doug Evans <xdje42@gmail.com>
17134
17135 * gdb.mi/mi-disassemble.exp: Update.
17136 * gdb.base/disasm-optim.S: New file.
17137 * gdb.base/disasm-optim.c: New file.
17138 * gdb.base/disasm-optim.h: New file.
17139 * gdb.base/disasm-optim.exp: New file.
17140
9ca98f92
KS
171412015-08-14 Keith Seitz <keiths@redhat.com>
17142
17143 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17144 "evaluated-by".
17145
52bbc560
JB
171462015-08-13 Joel Brobecker <brobecker@adacore.com>
17147
17148 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17149
5d8c3ed3
PMR
171502015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17151
17152 * gdb.ada/fun_renaming.exp: New testcase.
17153 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17154 * gdb.ada/fun_renaming/pack.adb: New file.
17155 * gdb.ada/fun_renaming/pack.ads: New file.
17156
ea8812bc
KS
171572015-08-12 Keith Seitz <keiths@redhat.com>
17158
17159 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17160 gdb_get_line_number.
17161
4dafcdeb
JB
171622015-08-12 Joel Brobecker <brobecker@adacore.com>
17163
17164 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17165 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17166 gdb.base/dso2dso.exp: New files.
17167
5ba32597
SDJ
171682015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17169 Pedro Alves <palves@redhat.com>
17170 Keith Seitz <keiths@redhat.com>
17171
17172 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17173 GDBFLAGS.
17174
b6dafabf
PP
171752015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17176
17177 * gdb.base/gdbhistsize-history.exp
17178 (test_histsize_history_setting): Use save_vars.
17179 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17180 Use save_vars.
17181 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17182 * gdb.base/readline.exp: Use save_vars.
17183
abe8e607
PP
171842015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17185
17186 * lib/gdb.exp (save_vars): New proc.
17187
629500fa
KS
171882015-08-11 Keith Seitz <keiths@redhat.com>
17189
17190 * gdb.base/help.exp: Update help_breakpoint_text.
17191
eb8c4e2e
KS
171922015-08-11 Keith Seitz <keiths@redhat.com>
17193
17194 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17195 (at toplevel): Call test_explicit_breakpoints.
17196 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17197 breakpoints.
17198 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17199 breakpoint conditions, "-cond".
17200
87f0e720
KS
172012015-08-11 Keith Seitz <keiths@redhat.com>
17202
17203 * gdb.linespec/3explicit.c: New file.
17204 * gdb.linespec/cpexplicit.cc: New file.
17205 * gdb.linespec/cpexplicit.exp: New file.
17206 * gdb.linespec/explicit.c: New file.
17207 * gdb.linespec/explicit.exp: New file.
17208 * gdb.linespec/explicit2.c: New file.
17209 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17210 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17211 before using in the matching pattern.
17212 Clarify that `prefix' is a regular expression.
17213
f00aae0f
KS
172142015-08-11 Keith Seitz <keiths@redhat.com>
17215
17216 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17217 test.
17218 Add tests for missing ",FMT" and ",".
17219
e27852be
DE
172202015-08-10 Doug Evans <dje@google.com>
17221 Keith Seitz <keiths@redhat.com>
17222
17223 PR gdb/17960
17224 * gdb.base/completion.exp: Add location completer tests.
17225
7f03bd92
PA
172262015-08-07 Pedro Alves <palves@redhat.com>
17227
17228 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17229 tests here.
17230 (top level): Run do_test with and without displaced stepping.
17231
3fc8eb30
PA
172322015-08-07 Pedro Alves <palves@redhat.com>
17233
17234 * gdb.base/valgrind-disp-step.c: New file.
17235 * gdb.base/valgrind-disp-step.exp: New file.
17236
d4569d7b
PA
172372015-08-07 Pedro Alves <palves@redhat.com>
17238
17239 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17240 Delete function.
17241 (main): Add alarm. Run an infinite loop instead of calling
17242 wait_threads.
17243 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17244 comment.
17245 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17246 Delete function.
17247 (main): Add alarm. Run an infinite loop instead of calling
17248 wait_threads.
17249 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17250 comment.
17251
e1316e60
PA
172522015-08-07 Pedro Alves <palves@redhat.com>
17253
17254 * gdb.base/checkpoint-ns.exp: New file.
17255 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17256 standard_testfile.
17257
da8c46d2
MM
172582015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17259
17260 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17261 * gdb.btrace/instruction_history.exp: Update.
17262 * gdb.btrace/tsx.exp: New.
17263 * gdb.btrace/tsx.c: New.
17264
de1c2c52
PA
172652015-08-06 Pedro Alves <palves@redhat.com>
17266
17267 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17268 increase timeout.
17269 * gdb.reverse/until-precsave.exp: Bump timeouts.
17270
782e0bf4
PA
172712015-08-06 Pedro Alves <palves@redhat.com>
17272
17273 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17274
83e97ed0
PA
172752015-08-06 Pedro Alves <palves@redhat.com>
17276
17277 PR gdb/18749
17278 * gdb.threads/process-dies-while-handling-bp.c: New file.
17279 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17280
863d01bd
PA
172812015-08-06 Pedro Alves <palves@redhat.com>
17282
17283 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17284 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17285
0a39bb32
PA
172862015-08-05 Pedro Alves <palves@redhat.com>
17287
17288 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17289 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17290
ee2d2b10
SL
172912015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17292
17293 * gdb.base/bp-permanent.exp: Report test as unsupported if
17294 the target cannot stop at the permanent breakpoint.
17295
4e1bdb00
DE
172962015-08-03 Doug Evans <dje@google.com>
17297
17298 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17299 10000.
17300
3d338901
DE
173012015-08-03 Doug Evans <dje@google.com>
17302
17303 * Makefile.in (workers/%.worker, build-perf): New rule.
17304 (GDB_PERFTEST_MODE): New variable.
17305 (check-perf): Use it.
17306 (clean): Clean up gdb.perf parallel build subdirs.
17307 * lib/build-piece.exp: New file.
17308 * lib/gdb.exp (make_gdb_parallel_path): New function
17309 (standard_output_file, standard_temp_file): Call it.
17310 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17311 of $GDB_PARALLEL.
17312 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17313
af061d3e
DE
173142015-08-03 Doug Evans <dje@google.com>
17315
8e1afc81 17316 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17317 (LOG_FILE_NAME): New global.
17318 (TextReporter.__init__): Initialize self.txt_sum.
17319 (TextReporter.report): Add support for multiple data-points.
17320 Move report to perftest.sum, put raw data in perftest.log.
17321 (TextReporter.start): Open sum and log files.
17322 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17323 * gdb.perf/lib/perftest/testresult.py
17324 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17325
2c8c5d37
PA
173262015-07-31 Pedro Alves <palves@redhat.com>
17327
17328 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17329 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17330 kill_wait_spawned_process instead of explicit "kill -9".
17331 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17332 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17333 kill_wait_spawned_process.
17334 * gdb.base/attach-twice.exp: Likewise.
17335 * gdb.base/attach.exp: Likewise.
17336 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17337 gdb_test_multiple.
17338 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17339 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17340 kill_wait_spawned_process.
17341 * gdb.base/valgrind-infcall.exp: Likewise.
17342 * gdb.multi/multi-attach.exp: Likewise.
17343 * gdb.python/py-prompt.exp: Likewise.
17344 * gdb.python/py-sync-interp.exp: Likewise.
17345 * gdb.server/ext-attach.exp: Likewise.
17346 * gdb.threads/attach-into-signal.exp (corefunc): Use
17347 spawn_wait_for_attach, spawn_id_get_pid and
17348 kill_wait_spawned_process.
17349 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17350 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17351 spawn_id_get_pid and kill_wait_spawned_process.
17352 * gdb.threads/attach-stopped.exp (corefunc): Use
17353 spawn_wait_for_attach, spawn_id_get_pid and
17354 kill_wait_spawned_process.
17355 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17356 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17357 kill_wait_spawned_process instead of explicit "kill -9".
17358 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17359 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17360 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17361 processes. Don't map cygwin/windows pids here. Now returns a
17362 spawn id list.
17363
032a0fca
SL
173642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17365
17366 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17367 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17368 correct patch.
17369
61a934ca
SL
173702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17371
17372 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17373
4bc4d428
SL
173742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17375
17376 Reapply:
17377 2014-05-21 Mark Wielaard <mjw@redhat.com>
17378
17379 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17380
998d452a
PA
173812015-07-30 Pedro Alves <palves@redhat.com>
17382
17383 * linux-low.c (handle_extended_wait): Set the child's last
17384 reported status to TARGET_WAITKIND_STOPPED.
17385
69dde7dc
PA
173862015-07-30 Pedro Alves <palves@redhat.com>
17387
17388 PR threads/18600
17389 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17390 only shows inferior 1.
17391
4dd63d48
PA
173922015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17393 Pedro Alves <palves@redhat.com>
17394
17395 PR threads/18600
17396 * gdb.threads/fork-plus-threads.c: New file.
17397 * gdb.threads/fork-plus-threads.exp: New file.
17398
d618e4c5
PP
173992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17400
17401 * gdb.base/batch-preserve-term-settings.exp
17402 (test_terminal_settings_preserved_after_cli_exit): Use
17403 send_quit_command.
17404
1eef6428
PA
174052015-07-29 Pedro Alves <palves@redhat.com>
17406 Don Breazeal <donb@codesourcery.com>
17407
17408 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17409 output from both inferior_spawn_id and gdb_spawn_id.
17410
7da5b897
SDJ
174112015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17412
17413 * gdb.threads/attach-into-signal.exp (corefunc): Use
17414 with_test_prefix on nested loops, uniquefying the test messages.
17415
dac804df
SDJ
174162015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17417
17418 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17419 commit.
17420
06265e53
PP
174212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17422
17423 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17424 New proc.
17425 (test_terminal_settings_preserved_after_sigterm): New test.
17426
18206ca3
PP
174272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17428
17429 * gdb.base/batch-preserve-term-settings.exp
17430 (test_terminal_settings_preserved_after_cli_exit): New test.
17431
90074d11
PP
174322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17433
17434 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17435 manipulation of saved_gdbflags.
17436 (test_terminal_settings_preserved): Remove global declaration of
17437 the unused variable pagination_prompt. Remove manipulation of
17438 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17439 GDBFLAGS.
17440
eb1a7902
PA
174412015-07-29 Pedro Alves <palves@redhat.com>
17442
17443 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17444
8b75dd3b
PA
174452015-07-29 Pedro Alves <palves@redhat.com>
17446
17447 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17448 at the top.
17449
dedad4e3
PA
174502015-07-29 Pedro Alves <palves@redhat.com>
17451
17452 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17453 (main): Call gdb_unbuffer_output.
17454 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17455 (main): Call gdb_unbuffer_output.
17456 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17457 (main): Call gdb_unbuffer_output.
17458 * gdb.base/call-strs.exp: Adjust to step over the
17459 gdb_unbuffer_output call.
17460 * gdb.base/catch-gdb-caused-signals.c: Include
17461 "../lib/unbuffer_output.c".
17462 (main): Call gdb_unbuffer_output.
17463 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17464 (main): Call gdb_unbuffer_output.
17465 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17466 (main): Call gdb_unbuffer_output.
17467 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17468 (main): Call gdb_unbuffer_output.
17469 * gdb.base/shlib-call.exp: Adjust to step over the
17470 gdb_unbuffer_output call.
17471 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17472 (main): Call gdb_unbuffer_output.
17473 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17474 (main): Call gdb_unbuffer_output.
17475 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17476 (main): Rename to ...
17477 (test): ... this.
17478 (main): Reimplement.
17479 * gdb.base/varargs.exp: Run to test instead of to main.
17480 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17481 (main): Call gdb_unbuffer_output.
17482
58789a91
PA
174832015-07-29 Pedro Alves <palves@redhat.com>
17484
17485 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17486 factore out from mi_continue_dprintf. For call-style dprintfs,
17487 expect dprintf output out of $inferior_spawn_id.
17488 (mi_continue_dprintf): Use mi_expect_dprintf.
17489 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17490 (main): Call gdb_unbuffer_output.
17491
e8376742
PA
174922015-07-29 Pedro Alves <palves@redhat.com>
17493
17494 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17495 (default_mi_gdb_start): Set inferior_spawn_id instead of
17496 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17497 gdb_spawn_id.
17498 (mi_gdb_test): Always expect inferior output from both
17499 $inferior_spawn_id and $gdb_spawn_id.
17500
08280010
PA
175012015-07-29 Pedro Alves <palves@redhat.com>
17502
17503 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17504 send_inferior and $inferior_spawn_id.
17505
4d30e432
PA
175062015-07-29 Pedro Alves <palves@redhat.com>
17507
17508 * gdb.gdb/complaints.exp (test_initial_complaints)
17509 (test_serial_complaints, test_short_complaints): Use
17510 gdb_test_stdio.
17511 (test_empty_complaint): Handle $inferior_spawn_id !=
17512 $gdb_spawn_id.
17513
0d30a335
PA
175142015-07-29 Pedro Alves <palves@redhat.com>
17515
17516 * gdb.base/varargs.exp: Use gdb_test_stdio.
17517
39413b29
PA
175182015-07-29 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17521
7cb000a9
PA
175222015-07-29 Pedro Alves <palves@redhat.com>
17523
17524 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17525
d7b8ac82
PA
175262015-07-29 Pedro Alves <palves@redhat.com>
17527
17528 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17529 parameter into two new parameters, "inf_result" and "gdb_result".
17530 Expect inferior output and gdb output from $inferior_spawn_id and
17531 $gdb_spawn_id, respectively. Adjust all callers.
17532
789c3a0c
PA
175332015-07-29 Pedro Alves <palves@redhat.com>
17534
17535 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17536 of gdb_test_sequence.
17537
77e760c3
PA
175382015-07-29 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17541 (saw_spurious_output): Expect inferior output from
17542 $inferior_spawn_id. Use gdb_test_stdio.
17543
8396d2cd
PA
175442015-07-29 Pedro Alves <palves@redhat.com>
17545
17546 * gdb.base/dprintf.exp: Use standard_testfile. Change
17547 prepare_for_testing call.
17548 (srcfile): Don't set.
17549 (restart): New procedure.
17550 (test_dprintf): New procecure, use to continue over dprintfs.
17551 (test_call, test_agent): New procedures, tests moved here.
17552 Restart gdb and recreate dprintfs. Adjust expected output.
17553
2051d61f
PA
175542015-07-29 Pedro Alves <palves@redhat.com>
17555
17556 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17557
452397af
PA
175582015-07-29 Pedro Alves <palves@redhat.com>
17559
17560 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17561
8aed9555
PA
175622015-07-29 Pedro Alves <palves@redhat.com>
17563
17564 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17565 gdb_test_stdio.
17566
188a61b4
PA
175672015-07-29 Pedro Alves <palves@redhat.com>
17568
17569 * lib/gdb.exp (gdb_test_stdio): New procedure.
17570
12264a45
PA
175712015-07-29 Pedro Alves <palves@redhat.com>
17572
17573 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17574
23ffc893
PA
175752015-07-29 Pedro Alves <palves@redhat.com>
17576
17577 * gdb.base/call-signal-resume.exp: Remove check for
17578 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17579 * gdb.base/unwindonsignal.exp: Likewise.
17580 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17581 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17582
65566918
PA
175832015-07-29 Pedro Alves <palves@redhat.com>
17584
17585 * gdb.base/siginfo-addr.c (pass): New function.
17586 (handler): Call it iff si_addr is correct.
17587 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17588 Set a breakpoint at "pass" and continue to it.
17589
d60a9221
SDJ
175902015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17591
17592 * gdb.python/py-objfile.exp: Make some tests have unique names.
17593 * gdb.python/py-pp-registration.exp: Likewise.
17594
bde40b8f
PA
175952015-07-28 Pedro Alves <palves@redhat.com>
17596
17597 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17598
13e1dec8
SM
175992015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17600
17601 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17602
da33c9a7
SM
176032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17604
17605 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17606
077836f7
PP
176072015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17608
17609 * gdb.base/gdb-sigterm-2.exp: New test.
17610
b8cc7b2e
DE
176112015-07-25 Doug Evans <xdje42@gmail.com>
17612
17613 Revert:
17614 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17615 (workers/%.worker, build-perf): New rule.
17616 (GDB_PERFTEST_MODE): New variable.
17617 (check-perf): Use it.
17618 (clean): Clean up gdb.perf parallel build subdirs.
17619 * lib/build-piece.exp: New file.
17620 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17621 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17622 name.
17623 (standard_temp_file): Ditto.
17624 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17625 of $GDB_PARALLEL.
17626
c8bd4544
DE
176272015-07-24 Doug Evans <dje@google.com>
17628
17629 * gdb.perf/lib/perftest/utils.py: New file.
17630 * gdb.perf/gm-hello.cc: New file.
17631 * gdb.perf/gm-pervasive-typedef.cc: New file.
17632 * gdb.perf/gm-pervasive-typedef.h: New file.
17633 * gdb.perf/gm-std.cc: New file.
17634 * gdb.perf/gm-std.h: New file.
17635 * gdb.perf/gm-use-cerr.cc: New file.
17636 * gdb.perf/gm-utils.h: New file.
17637 * gdb.perf/gmonster-null-lookup.py: New file.
17638 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17639 * gdb.perf/gmonster-print-cerr.py: New file.
17640 * gdb.perf/gmonster-ptype-string.py: New file.
17641 * gdb.perf/gmonster-runto-main.py: New file.
17642 * gdb.perf/gmonster-select-file.py: New file.
17643 * gdb.perf/gmonster1-null-lookup.exp: New file.
17644 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17645 * gdb.perf/gmonster1-print-cerr.exp: New file.
17646 * gdb.perf/gmonster1-ptype-string.exp: New file.
17647 * gdb.perf/gmonster1-runto-main.exp: New file.
17648 * gdb.perf/gmonster1-select-file.exp: New file.
17649 * gdb.perf/gmonster1.cc: New file.
17650 * gdb.perf/gmonster1.exp: New file.
17651 * gdb.perf/gmonster2-null-lookup.exp: New file.
17652 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17653 * gdb.perf/gmonster2-print-cerr.exp: New file.
17654 * gdb.perf/gmonster2-ptype-string.exp: New file.
17655 * gdb.perf/gmonster2-runto-main.exp: New file.
17656 * gdb.perf/gmonster2-select-file.exp: New file.
17657 * gdb.perf/gmonster2.cc: New file.
17658 * gdb.perf/gmonster2.exp: New file.
17659
6eab34f3
DE
176602015-07-24 Doug Evans <dje@google.com>
17661
17662 * gdb.perf/README: New file.
17663 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17664 * lib/gen-perf-test.exp: New file.
17665
63738bfd
DE
176662015-07-24 Doug Evans <dje@google.com>
17667
17668 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17669 (PerfTest::startup): New function.
17670 (PerfTest::run): Return result of calling body.
17671 (PerfTest::assemble): Rewrite.
17672 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17673 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17674 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17675 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17676 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17677
7b606f95
DE
176782015-07-24 Doug Evans <dje@google.com>
17679
17680 * lib/gdb.exp (clean_restart): Make executable optional.
17681
a97b16b8
DE
176822015-07-24 Doug Evans <dje@google.com>
17683
17684 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17685 compiler_info references.
17686 * gdb.cp/temargs.exp: Ditto.
17687 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17688 (get_compiler_info): Early exit if already computed. Set compiler_info
17689 to "unknown" if there was a problem.
17690 (test_compiler_info): Add function comment. Call get_compiler_info.
17691
35baa57f
DE
176922015-07-24 Doug Evans <dje@google.com>
17693
17694 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17695 (workers/%.worker, build-perf): New rule.
17696 (GDB_PERFTEST_MODE): New variable.
17697 (check-perf): Use it.
17698 (clean): Clean up gdb.perf parallel build subdirs.
17699 * lib/build-piece.exp: New file.
17700 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17701 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17702 name.
17703 (standard_temp_file): Ditto.
17704 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17705 of $GDB_PARALLEL.
17706
6ebea266
DE
177072015-07-24 Doug Evans <dje@google.com>
17708
17709 * lib/future.exp (gdb_default_target_compile): New option
17710 "early_flags".
17711 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17712 --as-needed.
17713
1e76a7e9
SDJ
177142015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17715
17716 * gdb.base/catch-syscall.exp: Call gdb_exit before
17717 gdb_skip_xml_test.
17718
5068630a
PA
177192015-07-24 Pedro Alves <palves@redhat.com>
17720
17721 * gdb.python/py-events.exp: Accept output between the stop event
17722 and the prompt.
17723 * gdb.python/py-evsignal.exp: Likewise.
17724 * gdb.python/py-evthreads.exp: Likewise.
17725
77598427
PA
177262015-07-24 Pedro Alves <palves@redhat.com>
17727
17728 PR gdb/18717
17729 * gdb.threads/non-ldr-exit.c: New file.
17730 * gdb.threads/non-ldr-exit.exp: New file.
17731
11e6c98f
YQ
177322015-07-24 Yao Qi <yao.qi@linaro.org>
17733
17734 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17735 restarting process.
17736
51aee833
YQ
177372015-07-24 Yao Qi <yao.qi@linaro.org>
17738
17739 * gdb.server/ext-restart.exp: New file.
17740
8cfe207c
YQ
177412015-07-24 Yao Qi <yao.qi@linaro.org>
17742
17743 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17744 argument options.
17745 * gdb.server/ext-wrapper.exp: New file.
17746
cc12ce38
DE
177472015-07-23 Doug Evans <dje@google.com>
17748
17749 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17750 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17751
d0d84780
PMR
177522015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17753
17754 * gdb.ada/var_arr_typedef.exp: New testcase.
17755 * gdb.ada/var_arr_typedef/pack.adb: New file.
17756 * gdb.ada/var_arr_typedef/pack.ads: New file.
17757 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17758
8b558f79
JB
177592015-07-20 Joel Brobecker <brobecker@adacore.com>
17760
17761 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17762
775a3298
JK
177632015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17764
17765 * gdb.arch/i386-biarch-core.exp: Replace istarget
17766 by "complete set gnutarget". Remove expectation for the "core-file"
17767 command.
17768
db1ff28b
JK
177692015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17770
17771 Revert the previous commit:
17772 Tests for validate symbol file using build-id.
17773
0a94970d
JK
177742015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17775
17776 Tests for validate symbol file using build-id.
17777 * gdb.base/solib-mismatch-lib.c: New file.
17778 * gdb.base/solib-mismatch-libmod.c: New file.
17779 * gdb.base/solib-mismatch.c: New file.
17780 * gdb.base/solib-mismatch.exp: New file.
17781
03346981
SL
177822015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17783
17784 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17785 nios2-*-linux*.
17786 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17787 * gdb.base/siginfo.exp: Likewise.
17788 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17789
42422cc7
PL
177902015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17791
17792 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17793 Move it to ...
17794 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17795 ... here.
17796 * gdb.trace/range-stepping.exp: Check that the target supports
17797 range stepping.
17798
cfa68bae
JK
177992015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17800
17801 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17802
8ffdba26
PA
178032015-07-14 Pedro Alves <palves@redhat.com>
17804
17805 * gdb.base/killed-outside.exp: New file.
17806 * gdb.base/killed-outside.c: New file.
17807
218a5a11
JK
178082015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17809
17810 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17811 (n at main): New.
17812 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17813
e03ed3c6
AA
178142015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17815
17816 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17817 infcall tests instead of setting up for KFAIL.
17818
485668e5
MM
178192015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17820
17821 * gdb.btrace/record_goto-step.exp: New.
17822
08464196
JK
178232015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17824
17825 PR compile/18484
17826 * gdb.compile/compile.c (struct struct_type): Add volatile to
17827 selffield's type.
17828 * gdb.compile/compile.exp
17829 (compile code struct_object.selffield = &struct_object): Skip further
17830 struct_object tests if this one xfails.
17831
bcf5c1d9
RC
178322015-07-08 Robert O'Callahan <robert@ocallahan.org>
17833
17834 PR exp/18617
17835 * gdb.trace/ax.exp: Add test.
17836
4931af25
YQ
178372015-07-07 Yao Qi <yao.qi@linaro.org>
17838
17839 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17840 instead of istarget "aarch64*-*-*".
17841 * gdb.arch/aarch64-fp.exp: Likewise.
17842 * gdb.base/float.exp: Likewise.
17843 * gdb.reverse/aarch64.exp: Likewise.
17844 * lib/gdb.exp (is_aarch64_target): New proc.
17845
9fcf688e
YQ
178462015-07-07 Yao Qi <yao.qi@linaro.org>
17847
17848 * lib/gdb.exp (is_aarch32_target): New proc.
17849 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17850 instead of "istarget "arm*-*-*"".
17851 * gdb.arch/arm-disp-step.exp: Likewise.
17852 * gdb.arch/thumb-bx-pc.exp: Likewise.
17853 * gdb.arch/thumb-prologue.exp: Likewise.
17854 * gdb.arch/thumb-singlestep.exp: Likewise.
17855 * gdb.base/disp-step-syscall.exp: Likewise.
17856 * gdb.base/float.exp: Likewise.
17857
fbd8d50d
YQ
178582015-07-07 Yao Qi <yao.qi@linaro.org>
17859
17860 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17861 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17862
71be1fdc
YQ
178632015-07-07 Yao Qi <yao.qi@linaro.org>
17864
17865 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17866 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17867 if it exists.
17868 * gdb.multi/multi-arch.exp: Likewise.
17869
3e221d36
SM
178702015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17871
17872 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17873 print.
17874
d441430b
YQ
178752015-07-07 Yao Qi <yao.qi@linaro.org>
17876
17877 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17878
06f810bd
MG
178792015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17880
17881 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17882 '[' and ']' characters.
17883
5e61e7c0
IB
178842015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17885
17886 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17887
28bf096c
PA
178882015-06-29 Pedro Alves <palves@redhat.com>
17889
17890 PR threads/18127
17891 * gdb.threads/hand-call-new-thread.c: New file.
17892 * gdb.threads/hand-call-new-thread.c: New file.
17893
ee93cd5e
KS
178942015-06-26 Keith Seitz <keiths@redhat.com>
17895 Doug Evans <dje@google.com>
17896
17897 PR 16253
17898 * gdb.cp/var-tag-2.cc: New file.
17899 * gdb.cp/var-tag-3.cc: New file.
17900 * gdb.cp/var-tag-4.cc: New file.
17901 * gdb.cp/var-tag.cc: New file.
17902 * gdb.cp/var-tag.exp: New file.
17903
fc637f04
PP
179042015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17905
17906 * gdb.base/history-duplicates.exp: New test.
17907
2e52ae68
PP
179082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17909
17910 * gdb.base/completion.exp: Test the completion of the "focus"
17911 command.
17912
6e22494e
JK
179132015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17914
17915 * gdb.arch/amd64-prologue-skip.S: New file.
17916 * gdb.arch/amd64-prologue-skip.exp: New file.
17917
bf7b9cd9
SM
179182015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17919
17920 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17921 is_address_zero_readable check.
17922
201e8dfd
PB
179232015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17924
17925 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17926 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17927
5cd867b4
YQ
179282015-06-24 Yao Qi <yao.qi@linaro.org>
17929
17930 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17931 linux targets.
17932
4d7be007
YQ
179332015-06-24 Yao Qi <yao.qi@linaro.org>
17934
17935 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17936 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17937 * gdb.base/siginfo-thread.exp: Likewise.
17938
07fcd301
YQ
179392015-06-22 Yao Qi <yao.qi@linaro.org>
17940
17941 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17942
52042a00
YQ
179432015-06-22 Yao Qi <yao.qi@linaro.org>
17944
17945 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17946 aarch64*-*-*.
17947 (skip_hw_watchpoint_tests): Likewise.
17948
74bd41ce
PP
179492015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17950
17951 * gdb.base/gdbinit-history.exp: Test the interaction between
17952 setting GDBHISTSIZE and setting the history size via .gdbinit.
17953
bc460514
PP
179542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17955
17956 PR gdb/16999
17957 * gdb.base/gdbhistsize-history.exp: New test.
17958
b58c513b
PP
179592015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17960
17961 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17962 with GDBHISTSIZE.
17963 * gdb.base/readline.exp: Likewise.
17964
92046791
YQ
179652015-06-17 Yao Qi <yao.qi@linaro.org>
17966
17967 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17968 line.
17969
2093d2d3
PP
179702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17971
17972 * gdb.base/gdbinit-history.exp: Add test case to check that
17973 an unlimited history file does not get truncated on exit.
17974
e6c693af
AA
179752015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17976
17977 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17978 (VECTOR): New macro. Use it...
17979 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17980 ...for these typedefs.
17981 (int8, char1, int1, double1): New typedefs.
17982 (struct just_int2, struct two_int2): New structures.
17983 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17984 (add_structvecs, add_singlevecs): New functions.
17985 (main): Call add_some_intvecs twice.
17986 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17987 the compile and exit upon failure. Try compiling for the "native"
17988 architecture. Test inferior function calls with vector arguments
17989 and vector return value handling with "finish" and "return".
17990
c74f7d1c
JT
179912015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17992
17993 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17994 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17995 PE file.
17996 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17997
98aa42ee
AT
179982015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17999
18000 PR breakpoints/16465
18001 * gdb.mi/mi-dprintf-pending.c: New file.
18002 * gdb.mi/mi-dprintf-pending.exp: New test.
18003 * gdb.mi/mi-dprintf-pendshr.c: New file.
18004
7d73c23c 180052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18006 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18007
18008 * gdb.arch/i386-mpx-map.c: New file.
18009 * gdb.arch/i386-mpx-map.exp: New File.
18010
180112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18012
18013 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18014 * gdb.arch/i386-mpx.exp: Indentation fixed.
18015
180162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18017
18018 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18019 function and improved indentation.
18020 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18021 gdb_test_multiple. Added additional tests to skip the test.
18022
180232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18024
18025 * gdb.arch/i386-avx512.c: Change path in include file.
18026 * gdb.arch/i386-avx512.exp: Change include dir path
18027 compilation flag.
18028 * gdb.arch/i386-mpx.c: Change path in include file.
18029 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18030 flag.
18031
d5eba19a
JK
180322015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18033
18034 * gdb.compile/compile-print.exp (compile print *vararray@3)
18035 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18036
7f361056
JK
180372015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18038
18039 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18040 (do not keep jit in memory): ... this.
18041 (expect 5): Change it to ...
18042 (expect no 5): ... this.
18043
3b462ec2
SM
180442015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18045
18046 PR gdb/15564
18047 * gdb.mi/mi-detach.exp: New file.
18048
e0619de6
JK
180492015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18050
18051 PR symtab/18392
18052 * gdb.arch/amd64-tailcall-self.S: New file.
18053 * gdb.arch/amd64-tailcall-self.c: New file.
18054 * gdb.arch/amd64-tailcall-self.exp: New file.
18055
e970cb34
DB
180562015-05-28 Don Breazeal <donb@codesourcery.com>
18057
18058 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18059 tests for remote targets by checking is_target_gdbserver.
18060
b2e2f908
DE
180612015-05-27 Doug Evans <dje@google.com>
18062
18063 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18064 * gdb.dwarf2/opaque-type-lookup.c: New file.
18065 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18066
82c7be31
DE
180672015-05-26 Doug Evans <dje@google.com>
18068
18069 * gdb.cp/iostream.cc: New file.
18070 * gdb.cp/iostream.exp: New file.
18071
b4f54984
DE
180722015-05-26 Doug Evans <dje@google.com>
18073
18074 * gdb.dwarf2/dw2-op-call.exp: Update.
18075 * gdb.dwarf2/dw4-sig-types.exp: Update.
18076 * gdb.dwarf2/implptr.exp: Update.
18077 * gdb.mi/mi-cmd-param-changed.exp: Update.
18078
4ea6efe9
DE
180792015-05-26 Doug Evans <dje@google.com>
18080
18081 * gdb.python/py-lazy-string.c: New file.
18082 * gdb.python/py-lazy-string.exp: New file.
18083 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18084 (main): Update. Add estring3.
18085 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18086 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18087
f6bb7db3
YQ
180882015-05-26 Omair Javaid <omair.javaid@linaro.org>
18089 Yao Qi <yao.qi@linaro.org>
18090
18091 * gdb.reverse/aarch64.c: New.
18092 * gdb.reverse/aarch64.exp: New.
18093
a81bfbd0
OJ
180942015-05-26 Omair Javaid <omair.javaid@linaro.org>
18095
25d49b86
PA
18096 * lib/gdb.exp (supports_process_record): Return true for
18097 aarch64*-linux*.
a81bfbd0
OJ
18098 (supports_reverse): Likewise.
18099
158bf1b4
PP
181002015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18101
18102 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18103 Use with_test_prefix.
18104
a0145030
AB
181052015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18106
18107 * gdb.base/completion.exp: Add test for completion of layout
18108 names.
18109
ebe3b578
AB
181102015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18111
18112 * lib/gdb.exp (skip_tui_tests): New proc.
18113 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18114
84204ed7
PA
181152015-05-19 Pedro Alves <palves@redhat.com>
18116
18117 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18118 Save the whole env array instead of just HOME. Unset HISTSIZE in
18119 the environment while testing. Restore whole environment
18120 afterwards.
18121
37442ce1
DE
181222015-05-16 Doug Evans <xdje42@gmail.com>
18123
18124 * gdb.guile/scm-ports.c: New file.
18125 * gdb.guile/scm-ports.exp: Add memory port tests.
18126
36de76f9
JK
181272015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18128
18129 * gdb.compile/compile-print.c: New file.
18130 * gdb.compile/compile-print.exp: New file.
18131
3a9558c4
JK
181322015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18133
18134 * gdb.compile/compile-ops.exp: Cast param to void.
18135 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18136 (compile code struct_object.selffield = &struct_object): Add xfail.
18137
aa715135
JG
181382015-05-15 Joel Brobecker <brobecker@adacore.com>
18139
18140 * gdb.ada/arr_enum_with_gap: New testcase.
18141
931e5bc3
JG
181422015-05-15 Joel Brobecker <brobecker@adacore.com>
18143
18144 * gdb.ada/byte_packed_arr: New testcase.
18145
9cd4d857
JB
181462015-05-15 Joel Brobecker <brobecker@adacore.com>
18147
18148 * gdb.ada/pckd_neg: New testcase.
18149
ebfd00d2
PP
181502015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18151
18152 PR gdb/17820
18153 * gdb.base/gdbinit-history.exp: New test.
18154 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18155 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18156
4c082a81
SC
181572015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18158
18159 * gdb.python/py-xmethods.cc: Enhance test case.
18160 * gdb.python/py-xmethods.exp: New tests.
18161 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18162 function.
18163 (B_indexoper): Likewise.
18164 (global_dm_list) : Add new xmethod worker functions.
18165
f7797074
SDJ
181662015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18167
18168 * gdb.base/coredump-filter.exp: Correctly unset
18169 "coredump_var_addr" array.
18170
a4674e4e
PA
181712015-05-08 Pedro Alves <palves@redhat.com>
18172
18173 * gdb.server/non-existing-program.exp: Unset spawn_id.
18174
df2eb078
SC
181752015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18176
18177 PR python/18291
18178 * gdb.python/py-xmethods.exp: Add tests.
18179
422349a3
YQ
181802015-05-08 Yao Qi <yao.qi@linaro.org>
18181
18182 PR gdb/18208
18183 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18184 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18185 function set_coredump_filter, and remove remote_exec call.
18186 Remove argument ipid. Callers update.
18187 (top level): Don't get inferior's PID.
18188
63fc80ce
AA
181892015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18190
18191 * gdb.base/watch_thread_num.exp: Skip test on targets without
18192 access watchpoints.
18193
80ad801e
PA
181942015-05-06 Pedro Alves <palves@redhat.com>
18195
18196 PR server/18081
18197 * gdb.server/non-existing-program.exp: New file.
18198
0fa7fe50
JB
181992015-05-05 Joel Brobecker <brobecker@adacore.com>
18200
18201 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18202
3ea89b92
PMR
182032015-05-05 Joel Brobecker <brobecker@adacore.com>
18204
18205 * gdb.ada/out_of_line_in_inlined: New testcase.
18206
87b8eff0
JB
182072015-05-05 Joel Brobecker <brobecker@adacore.com>
18208
18209 * gdb.ada/var_rec_arr: New testcase.
18210
5fccc635
YQ
182112015-04-30 Yao Qi <yao.qi@linaro.org>
18212
18213 * gdb.base/break-idempotent.exp: If
18214 skip_hw_watchpoint_multi_tests returns true, skip the tests
18215 on "rwatch" and "awatch".
18216
42d38f42
YQ
182172015-04-30 Yao Qi <yao.qi@linaro.org>
18218
18219 * gdb.base/relativedebug.exp: Invoke gdb command
18220 "info sharedlibrary", and if libc.so doesn't have debug info,
18221 skip the test.
18222
2ce1cdbf
DE
182232015-04-29 Doug Evans <dje@google.com>
18224
18225 * gdb.python/py-xmethods.exp: Add ptype tests.
18226 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18227 get_result_type method.
18228
f24a38c5
LM
182292015-04-29 Luis Machado <lgustavo@codesourcery.com>
18230
18231 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18232 the target does not support hardware watchpoints.
18233
ecbf2b3c
LM
182342015-04-29 Luis Machado <lgustavo@codesourcery.com>
18235
18236 * gdb.base/break-always.exp: Abort testing if writing to memory
18237 causes an error.
18238
34f5f757
DE
182392015-04-28 Doug Evans <dje@google.com>
18240
18241 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18242 * gdb.python/py-pp-registration.exp: ... here. New file.
18243 * gdb.python/py-pp-registration.c: New file.
18244 * gdb.python/py-pp-registration.py: New file.
18245
69b4374a
DE
182462015-04-28 Doug Evans <dje@google.com>
18247
18248 * gdb.python/py-bad-printers.c: New file.
18249 * gdb.python/py-bad-printers.py: New file.
18250 * gdb.python/py-bad-printers.exp: New file.
18251
59fb7612
SS
182522015-04-28 Sasha Smundak <asmundak@google.com>
18253
18254 * gdb.python/py-type.exp: New test.
18255
2631b16a
AW
182562015-04-28 Andy Wingo <wingo@igalia.com>
18257
18258 * gdb.python/py-parameter.exp:
18259 * gdb.guile/scm-parameter.exp: Escape the path that we are
18260 matching against, as it might contain characters that are special
18261 to regular expressions.
18262
460efde1
JB
182632015-04-27 Joel Brobecker <brobecker@adacore.com>
18264
18265 * gdb.ada/rec_comp: New testcase.
18266
2d369d8e
SDJ
182672015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18268
18269 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18270 before using it.
18271
cf75d6c3
AB
182722015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18273
18274 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18275 new tests for verilog output.
18276
8dbe7ca5
YQ
182772015-04-24 Yao Qi <yao.qi@linaro.org>
18278
18279 * boards/remote-gdbserver-on-localhost.exp: New file.
18280
4ef9fb2f
PA
182812015-04-23 Pedro Alves <palves@redhat.com>
18282
18283 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18284 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18285 "end of file", remove $inferior_spawn_id from the indirect list.
18286
0a803169
PA
182872015-04-23 Pedro Alves <palves@redhat.com>
18288
18289 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18290
749ef8f8
PA
182912015-04-23 Pedro Alves <palves@redhat.com>
18292
18293 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18294 on $any_spawn_id instead of only on $gdb_spawn_id.
18295
8aae4344
PM
182962015-04-21 Pierre Muller <muller@sourceware.org>
18297
18298 PR pascal/17815
18299 * lib/pascal.exp (gpc_compile): Add new option "class".
18300 (fpc_compile): Likewise.
18301 * gdb.pascal/case-insensitive-symbols.pas: New file.
18302 * gdb.pascal/case-insensitive-symbols.exp: New file.
18303
1586c8fb
GB
183042015-04-20 Gary Benson <gbenson@redhat.com>
18305
18306 * gdb.base/attach.exp: Fix three extended remote failures.
18307
1b6e6f5c
GB
183082015-04-17 Gary Benson <gbenson@redhat.com>
18309
18310 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18311 the main executable over the remote protocol.
18312
e797481d
PA
183132015-04-16 Pedro Alves <palves@redhat.com>
18314
18315 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18316 a new gdbserver if gdbserver_reconnect_p is set.
18317
1ca99c42
PA
183182015-04-16 Pedro Alves <palves@redhat.com>
18319
18320 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18321 is set, don't exit gdbserver.
18322
af9fd6f8
AA
183232015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18324
18325 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18326 appropriate .insn, such that an older assembler can be used.
18327 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18328 the z/Architecture instruction set on 31-bit targets as well.
18329
04ff1e61
AA
183302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18331
18332 * gdb.go/handcall.exp: Remove all logic related to the first
18333 breakpoint and rely on go_runto_main instead.
18334 * gdb.go/strings.exp: Likewise.
18335 * gdb.go/unsafe.exp: Likewise.
18336 * gdb.go/hello.exp: Likewise. Also rename the remaining
18337 breakpoint marker to "breakpoint 1".
18338 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18339 * gdb.go/strings.go: Likewise.
18340 * gdb.go/unsafe.go: Likewise.
18341 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18342 "set breakpoint 2 here" and rename the remaining breakpoint marker
18343 to "breakpoint 1".
18344
40d2f8d6
SM
183452015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18346
18347 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18348 if itertools.imap is not present.
18349 * gdb.python/py-objfile.exp: Add parentheses.
18350 * gdb.python/py-type.exp: Same.
18351 * gdb.python/py-unwind-maint.py: Same.
18352
8cbc97c6
YQ
183532015-04-15 Yao Qi <yao.qi@linaro.org>
18354
18355 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18356 of ":$ptr_size" and set its form explicitly.
18357
45fd756c
YQ
183582015-04-15 Pedro Alves <palves@redhat.com>
18359 Yao Qi <yao.qi@linaro.org>
18360
18361 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18362 timeout by factor of 4.
18363 (test_regular_watch): Likewise.
18364 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18365 * gdb.reverse/sigall-reverse.exp: Likewise.
18366 * gdb.reverse/until-precsave.exp: Likewise.
18367 * lib/gdb.exp (with_timeout_factor): New proc.
18368 (gdb_expect): Move some code to ...
18369 (get_largest_timeout): ... here. New procedure.
18370
9e811bc3
LM
183712015-04-14 Luis Machado <lgustavo@codesourcery.com>
18372
18373 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18374
0ff6fcb2
LM
183752015-04-13 Luis Machado <lgustavo@codesourcery.com>
18376
18377 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18378 to write to the .text section.
18379
7578d5f7
LM
183802015-04-13 Luis Machado <lgustavo@codesourcery.com>
18381
18382 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18383 Handle the case of targets that do not provide PID information.
18384
2efe15c4
YQ
183852015-04-13 Yao Qi <yao.qi@linaro.org>
18386
18387 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18388 and use expect instead of gdb_expect.
18389
8cd8f2f8
SDJ
183902015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18391
18392 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18393 "coredump_var_addr" to avoid naming conflict with other testcases.
18394
9ee41772
PA
183952015-04-10 Pedro Alves <palves@redhat.com>
18396
18397 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18398 gdb_test_sequence and gdb_assert.
18399
07473109
PA
184002015-04-10 Pedro Alves <palves@redhat.com>
18401
18402 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18403 test messages that don't include the breakpoint address.
18404
de3db44c
YQ
184052015-04-10 Yao Qi <yao.qi@linaro.org>
18406
18407 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18408 false for some offset and width combinations which aren't
18409 supported by linux kernel.
18410
c79d856c
PA
184112015-04-10 Pedro Alves <palves@redhat.com>
18412
18413 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18414 procedure, factored out from ...
18415 (top level): ... here. Add "set displaced-stepping" testing axis.
18416 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18417 parameter "displaced". Use it.
18418 (top level): Use foreach and add "set displaced-stepping" testing
18419 axis.
18420
ebc90b50
PA
184212015-04-10 Pedro Alves <palves@redhat.com>
18422
18423 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18424 Remove comment.
18425 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18426 both the address of the instruction that triggers the watchpoint
18427 and the address of the instruction immediately after, and use
18428 those addresses for the test. Fix comment.
18429
8f572e5c
PA
184302015-04-10 Pedro Alves <palves@redhat.com>
18431
18432 * gdb.base/sigstep.exp (breakpoint_to_handler)
18433 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18434 Test "backtrace" in handler.
18435 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18436 (top level): Add new "displaced" test axis to
18437 breakpoint_to_handler, breakpoint_to_handler_entry and
18438 breakpoint_over_handler.
18439
8d707a12
PA
184402015-04-10 Pedro Alves <palves@redhat.com>
18441
18442 PR gdb/18216
18443 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18444
ef713951
YQ
184452015-04-10 Yao Qi <yao.qi@linaro.org>
18446
18447 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18448 (test_add_rn_pc): New function.
18449 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18450 (top level): Invoke test_add_rn_pc.
18451
906d60cf
PA
184522015-04-10 Pedro Alves <palves@redhat.com>
18453
18454 PR gdb/13858
18455 * gdb.base/step-over-no-symbols.exp: New file.
18456
f2983cc3
AW
184572015-04-09 Andy Wingo <wingo@igalia.com>
18458
18459 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18460 after the Python tests.
18461
6d62641c
SDJ
184622015-04-08 Keith Seitz <keiths@redhat.com>
18463
18464 PR python/16699
18465 * gdb.python/py-completion.exp: New tests for completion.
18466 * gdb.python/py-completion.py (CompleteLimit1): New class.
18467 (CompleteLimit2): Likewise.
18468 (CompleteLimit3): Likewise.
18469 (CompleteLimit4): Likewise.
18470 (CompleteLimit5): Likewise.
18471 (CompleteLimit6): Likewise.
18472 (CompleteLimit7): Likewise.
18473
f3770638
PA
184742015-04-08 Pedro Alves <palves@redhat.com>
18475
18476 PR gdb/18214
18477 PR gdb/18216
18478 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18479 function.
18480 (main): Install it as SIGUSR1 handler.
18481 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18482 parameter. Always use "setup" as prefix. Toggle "set
18483 displaced-stepping" off/on depending on global. Don't switch to
18484 thread 1 here.
18485 (top level): Add displaced stepping "off/on" test axis. Update
18486 "setup" calls. Wrap each subtest with with_test_prefix. Test
18487 continuing with a queued signal in each thread.
18488
4496bed7
PA
184892015-04-08 Pedro Alves <palves@redhat.com>
18490
18491 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18492 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18493 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18494 Return early if running to main fails.
18495 * gdb.trace/while-stepping.exp: Likewise.
18496
b97fde92
PA
184972015-04-07 Pedro Alves <palves@redhat.com>
18498
18499 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18500 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18501 interact with inferior program.
18502
f71c18e7
PA
185032015-04-07 Pedro Alves <palves@redhat.com>
18504
18505 * lib/gdb.exp (inferior_spawn_id): New global.
18506 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18507 spawn id after processing the user code.
18508 (default_gdb_start): Set inferior_spawn_id.
18509 (send_inferior): New procedure.
18510 * lib/gdbserver-support.exp (gdbserver_start): Set
18511 inferior_spawn_id.
18512 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18513
6423214f
PA
185142015-04-07 Pedro Alves <palves@redhat.com>
18515
18516 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18517 * lib/gdbserver-support.exp (gdbserver_start): Make
18518 $server_spawn_id global.
18519 (gdbserver_start): Don't wait for gdbserver's spawn id with
18520 expect_background.
18521 (close_gdbserver): New procedure.
18522 (gdb_exit): Rename the default version and reimplement.
18523
71c0ee8c
PA
185242015-04-07 Pedro Alves <palves@redhat.com>
18525
72f4393d 18526 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18527 append the substituted item, not the original item.
18528
203bc29b
PA
185292015-04-07 Pedro Alves <palves@redhat.com>
18530
18531 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18532 gdb_expect.
18533
508a3ddf
PA
185342015-04-07 Pedro Alves <palves@redhat.com>
18535
18536 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18537 output appearing once only.
18538
9f6dbe2b
PA
185392015-04-07 Pedro Alves <palves@redhat.com>
18540
18541 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18542 that doesn't expect anything. Return early if running to main
18543 fails.
18544
337532fa
YQ
185452015-04-07 Yao Qi <yao.qi@linaro.org>
18546
18547 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18548 (child_function): Call alarm.
18549 (main): Move call to alarm into the loop.
18550 * gdb.threads/non-stop-fair-events.exp: Build program with
18551 -DTIMEOUT=$timeout.
18552
01b622d4
DE
185532015-04-06 Doug Evans <xdje42@gmail.com>
18554
18555 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18556 Fix dest parameter to board_info.
18557 (fpc_compile): Ditto.
18558 (gdb_compile_pascal): Rename dest arg to destfile.
18559
961f4160
PMR
185602015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18561
18562 * gdb.ada/funcall_ref.exp: New file.
18563 * gdb.ada/funcall_ref/foo.adb: New file.
18564
cafda597
YQ
185652015-04-02 Yao Qi <yao.qi@linaro.org>
18566
18567 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18568 is remote.
18569
fed040c6
GB
185702015-04-02 Gary Benson <gbenson@redhat.com>
18571
18572 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18573
d11916aa
SS
185742015-04-01 Sasha Smundak <asmundak@google.com>
18575
18576 * gdb.python/py-unwind-maint.c: New file.
18577 * gdb.python/py-unwind-maint.exp: New test.
18578 * gdb.python/py-unwind-maint.py: New file.
18579 * gdb.python/py-unwind.c: New file.
18580 * gdb.python/py-unwind.exp: New test.
18581 * gdb.python/py-unwind.py: New test.
18582
a1471180
PA
185832015-04-01 Pedro Alves <palves@redhat.com>
18584
18585 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18586 to fail instead of non-existent $test.
18587
0bbeccb1
PA
185882015-04-01 Pedro Alves <palves@redhat.com>
18589
18590 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18591 GDBFLAGS if not empty.
18592
3c724c8c
PMR
185932015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18594
18595 * gdb.ada/complete.exp: Remove "multi_line".
18596 * gdb.ada/info_exc.exp: Remove "multi_line".
18597 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18598 * gdb.ada/ptype_field.exp: Remove "multi_line".
18599 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18600 * gdb.ada/tagged.exp: Remove "multi_line".
18601 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18602 [multi_line ...]
18603 * gdb.btrace/delta.exp: Likewise.
18604 * gdb.btrace/exception.exp: Likewise.
18605 * gdb.btrace/function_call_history.exp: Likewise.
18606 * gdb.btrace/instruction_history.exp: Likewise.
18607 * gdb.btrace/nohist.exp: Likewise.
18608 * gdb.btrace/record_goto.exp: Likewise.
18609 * gdb.btrace/segv.exp: Likewise.
18610 * gdb.btrace/stepi.exp: Likewise.
18611 * gdb.btrace/tailcall.exp: Likewise.
18612 * gdb.btrace/unknown_functions.exp: Likewise.
18613 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18614 * lib/gdb.exp: Add the "multi_line" helper.
18615
4eec2deb
PA
186162015-04-01 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.threads/tid-reuse.c: New file.
18619 * gdb.threads/tid-reuse.exp: New file.
18620
df8411da
SDJ
186212015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18622
18623 PR corefiles/16092
18624 * gdb.base/coredump-filter.c: New file.
18625 * gdb.base/coredump-filter.exp: Likewise.
18626
6ef37366
PM
186272015-03-27 Petr Machata <pmachata@redhat.com>
18628
18629 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18630 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18631 (Dwarf::assemble): Initialize them.
18632 (Dwarf::lines): New function.
18633
7ec911b0
JT
186342015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18635
18636 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18637 SYMBOL_PREFIX for x86_64-*-cygwin.
18638
ff908ebf
AW
186392015-03-26 Andy Wingo <wingo@igalia.com>
18640
18641 PR symtab/18148
18642 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18643 const_value but not a location.
18644 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18645 location defined in non-main CUs are visible.
18646
6d5f0679
YQ
186472015-03-26 Yao Qi <yao.qi@linaro.org>
18648
18649 PR testsuite/18139
18650 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18651 Add a line number entry for the same line.
18652 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18653 Add a line number entry for the same line.
18654
2898689b
YQ
186552015-03-26 Yao Qi <yao.qi@linaro.org>
18656
18657 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18658 .int 0.
18659 (func): Likewise. Add .Lfunc_1 label.
18660 Use .Lfunc_1 label.
18661 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18662 .int 0.
18663 (func): Likewise.
18664 Use .Lfunc_1 label.
18665
85180498
YQ
186662015-03-26 Yao Qi <yao.qi@linaro.org>
18667
18668 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18669 Call gdb_compile instead to compile each .s files without debug
18670 information.
18671
8aa08a8d
YQ
186722015-03-26 Yao Qi <yao.qi@linaro.org>
18673
18674 * gdb.base/savedregs.exp (process_saved_regs): Make
18675 "Saved registers:" optional in the pattern.
18676
66849923
MM
186772015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18678
18679 * gdb.btrace/next.exp: Merged into step.exp.
18680 * gdb.btrace/finish.exp: Merged into step.exp.
18681 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18682 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18683 "record goto" and checking the exact replay position.
18684 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18685 check for "Recording format" in "info record" output.
18686 * gdb.btrace/record_goto.exp: Choose test file based on target.
18687 * gdb.btrace/x86-record_goto.S: Renamed into ...
18688 * gdb.btrace/x86_64-record_goto.S: ... this.
18689 * gdb.btrace/i686-record_goto.S: New.
18690 * gdb.btrace/x86-tailcall.S: Renamed into ...
18691 * gdb.btrace/x86_64-tailcall.S: ... this.
18692 * gdb.btrace/i686-tailcall.S: New.
18693 * gdb.btrace/x86-tailcall.c: Renamed into ...
18694 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18695 separate statements. Update test.
18696 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18697 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18698 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18699 * gdb.btrace/tailcall.exp: Choose test file based on target.
18700 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18701
11cc1b74
MM
187022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18703
18704 * gdb.btrace/exception.exp: Increase BTS buffer size.
18705
a25d8bf9
PA
187062015-03-24 Pedro Alves <palves@redhat.com>
18707
18708 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18709
856e7dd6
PA
187102015-03-24 Pedro Alves <palves@redhat.com>
18711
18712 * gdb.threads/schedlock.exp (test_step): No longer expect that
18713 "set scheduler-locking step" with "next" over a function call runs
18714 threads unlocked.
18715
ad235a41
AT
187162015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18717
18718 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18719
15630549
AT
187202015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18721
18722 PR breakpoints/16466
18723 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18724 * gdb.mi/mi-pending.c (thread_func): New function.
18725 (int main): Add threading support required.
18726 * gdb.mi/mi-pending.exp: Add tests for this issue.
18727 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18728 (pendfunc2): Remove stdio dependency.
18729 * gdb.mi/mi-pendshr2.c: New file.
18730
693dca06
KS
187312015-03-23 Keith Seitz <keiths@redhat.com>
18732
18733 * gdb.linespec/keywords.c: New file.
18734 * gdb.linespec/keywords.exp: New file.
18735
7e993ebf
KS
187362015-03-23 Keith Seitz <keiths@redhat.com>
18737
18738 PR gdb/18021
18739 * gdb.dwarf2/staticvirtual.exp: New test.
18740
bc23328c
JK
187412015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18742
18743 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18744 * README: Remove HP-UX and gdb.hp.
18745 (configuration):
18746 * configure: Regenerate.
18747 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18748 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18749 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18750 gdb.hp/gdb.defects/Makefile.
18751 * gdb.hp/Makefile.in: File deleted.
18752 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18753 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18754 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18755 * gdb.hp/gdb.aCC/run.c: File deleted.
18756 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18757 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18758 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18759 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18760 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18761 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18762 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18763 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18764 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18765 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18766 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18767 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18768 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18769 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18770 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18771 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18772 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18773 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18774 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18775 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18776 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18777 * gdb.hp/gdb.compat/average.c: File deleted.
18778 * gdb.hp/gdb.compat/sum.c: File deleted.
18779 * gdb.hp/gdb.compat/xdb.c: File deleted.
18780 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18781 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18782 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18783 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18784 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18785 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18786 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18787 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18788 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18789 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18790 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18791 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18792 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18793 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18794 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18795 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18796 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18797 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18798 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18799 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18800 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18801 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18802 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18803 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18804 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18805 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18806 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18807 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18808 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18809 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18810 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18811 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18812 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18813 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18814 * gdb.hp/tools/odump: File deleted.
18815
8bf3b159
PA
188162015-03-19 Pedro Alves <palves@redhat.com>
18817
18818 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18819 (saw_thread_3): New globals.
18820 (top level): Increment them when an event for the corresponding
18821 thread is seen.
18822 (no thread starvation): New test.
18823
eb54c8bf
PA
188242015-03-19 Pedro Alves <palves@redhat.com>
18825
18826 * gdb.threads/continue-pending-status.c: New file.
18827 * gdb.threads/continue-pending-status.exp: New file.
18828
32d2e5d6
PA
188292015-03-18 Pedro Alves <palves@redhat.com>
18830
18831 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18832 Use gdb_is_target_remote instead of is_remote. Use
18833 gdb_test_multiple instead of gdb_expect. Exit early if
18834 gdb_test_multiple hits its internal matches. Tighten stepi tests
18835 expected output. Fail on exit with any signal, instead of just
18836 SIGILL.
18837
f68f11b7
YQ
188382015-03-18 Yao Qi <yao.qi@linaro.org>
18839
18840 PR tdep/18107
18841 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18842 variable.
18843 * gdb.base/catch-syscall.exp: Don't skip it on
18844 aarch64*-*-linux* target. Remove elements in all_syscalls.
18845 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18846 target.
18847 (setup_all_syscalls): New proc.
18848
ca5fd19b
YQ
188492015-03-16 Yao Qi <yao.qi@linaro.org>
18850
18851 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18852 (top level): Skip tests if valid_addr_p returns false for
18853 $cmd1 or $cmd2.
18854
85642ba0
AW
188552015-03-11 Andy Wingo <wingo@igalia.com>
18856
18857 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18858
e03f9645
YQ
188592015-03-11 Yao Qi <yao.qi@linaro.org>
18860
18861 * gdb.base/catch-syscall.exp: Fix typo in comments.
18862
5d0962b2
YQ
188632015-03-11 Yao Qi <yao.qi@linaro.org>
18864
18865 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18866
b2df3cef
PA
188672015-03-09 Pedro Alves <palves@redhat.com>
18868
18869 * dg-extract-results.py: Delete.
18870
ef878e53
PA
188712015-03-09 Pedro Alves <palves@redhat.com>
18872
18873 Merge dg-extract-results.sh from GCC upstream (r218843).
18874
18875 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18876 * dg-extract-results.sh: Use --text with grep to avoid issues with
18877 binary files. Fall back to cat -v, if that doesn't work.
18878
9494d219
PA
188792015-03-05 Pedro Alves <palves@redhat.com>
18880
18881 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18882
a8d9763a
SM
188832015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18884
18885 * lib/mi-support.exp (mi_expect_interrupt): Accept
18886 alternative event for when in all-stop mode.
18887
be9957b8
PA
188882015-03-04 Pedro Alves <palves@redhat.com>
18889
18890 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18891
d57be0f4 188922015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18893
18894 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18895
c214c7cf
AA
188962015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18897
18898 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18899 regexps for GDB's current line display, accept a hex address
18900 preceding the line number.
18901
6d74a497
AA
189022015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18903
18904 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18905 the 'arch1' variable for "s390*-linux*" targets.
18906
511aee7c
PA
189072015-03-04 Pedro Alves <palves@redhat.com>
18908
18909 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18910 (main): Pass missing retval argument to pthread_join call.
18911
95e50b27
PA
189122015-03-02 Pedro Alves <palves@redhat.com>
18913
18914 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18915 (top level): Call do_test with non-stop as well.
18916
28054d69
PA
189172015-03-02 Pedro Alves <palves@redhat.com>
18918
18919 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18920 -1.
18921
4fa5d7b4
AA
189222015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18923
18924 * gdb.arch/s390-vregs.exp: New test.
18925 * gdb.arch/s390-vregs.S: New file.
18926
97c18565
PA
189272015-02-27 Pedro Alves <palves@redhat.com>
18928
18929 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18930 call to catch_command_errors.
18931 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18932 catch_command_errors.
18933
a37bfa30
PA
189342015-02-27 Pedro Alves <palves@redhat.com>
18935
18936 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18937 "true" for boolean result.
18938 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18939 prototype of main.
18940
6f98576f
PA
189412015-02-27 Pedro Alves <palves@redhat.com>
18942
18943 * lib/unbuffer_output.c: New file.
18944 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18945 (main): Call gdb_unbuffer_output.
18946
eba5ab56
YQ
189472015-02-27 Yao Qi <yao.qi@linaro.org>
18948
18949 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18950 target.
18951
0def5aaa
DE
189522015-02-26 Doug Evans <dje@google.com>
18953
18954 * gdb.cp/class2.cc (Dbase, D): New classes.
18955 (main): New local delta.
18956 * gdb.cp/class2.exp: Test printing delta.
18957 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18958 (dynbar): New global.
18959 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18960
081a1c2c
JK
189612015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18962
18963 * gdb.compile/compile-ifunc.c: New file.
18964 * gdb.compile/compile-ifunc.exp: New file.
18965
2f41223f
AT
189662015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18967
18968 * gdb.base/structs.exp: Check for correct struct on finish.
18969
03eddd80
YQ
189702015-02-26 Yao Qi <yao.qi@linaro.org>
18971
18972 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18973 is zero.
18974
80c57053
JK
189752015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18976
18977 * gdb.arch/cordic.ko.bz2: New file.
18978 * gdb.arch/cordic.ko.debug.bz2: New file.
18979 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18980
21613c12
YQ
189812015-02-25 Yao Qi <yao.qi@linaro.org>
18982
18983 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18984 aarch64*-*-* target.
18985
d8b901ed
PA
189862015-02-23 Pedro Alves <palves@redhat.com>
18987
18988 * lib/gdb.exp (delete_breakpoints): Rewrite using
18989 gdb_test_multiple.
18990
e5b85ead
PA
189912015-02-23 Pedro Alves <palves@redhat.com>
18992
18993 * gdb.base/info-os.c: Include stdlib.h.
18994
85c3a371
DE
189952015-02-22 Doug Evans <xdje42@gmail.com>
18996
18997 PR symtab/17855
18998 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18999 is read after symbols have been re-read.
19000 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19001 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19002
96553a0c
DE
190032015-02-21 Doug Evans <dje@google.com>
19004
19005 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19006
97a0c697
JK
190072015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19008
19009 PR corefiles/17808
19010 * gdb.arch/i386-biarch-core.core.bz2: New file.
19011 * gdb.arch/i386-biarch-core.exp: New file.
19012
a47cd6e9
PA
190132015-02-21 Pedro Alves <palves@redhat.com>
19014
19015 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19016 runto_main fails.
19017
c5facdc4
PA
190182015-02-20 Pedro Alves <palves@redhat.com>
19019
19020 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19021 info probes.
19022
2db9a427
PA
190232015-02-20 Pedro Alves <palves@redhat.com>
19024
19025 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19026
60fb7e9e
PA
190272015-02-20 Pedro Alves <palves@redhat.com>
19028
19029 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19030 clean_restart before gdb_target_supports_trace.
19031
5c5019c2
PA
190322015-02-20 Pedro Alves <palves@redhat.com>
19033
19034 PR threads/18006
19035 * gdb.threads/clone-thread_db.c: New file.
19036 * gdb.threads/clone-thread_db.exp: New file.
19037
c9587f88
AT
190382015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19039
19040 PR breakpoints/16812
19041 * gdb.base/catch-gdb-caused-signals.c: New file.
19042 * gdb.base/catch-gdb-caused-signals.exp: New file.
19043
f6a88844
JM
190442015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19045
19046 * configure: Regenerated.
19047 * configure.ac: Use GDB_AC_TRANSFORM.
19048 * aclocal.m4: sinclude ../transform.m4.
19049
497c491b
JM
190502015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19051
19052 * lib/dtrace.exp: New file.
19053 * gdb.base/dtrace-probe.exp: Likewise.
19054 * gdb.base/dtrace-probe.d: Likewise.
19055 * gdb.base/dtrace-probe.c: Likewise.
19056 * lib/pdtrace.in: Likewise.
19057 * configure.ac: Output variables with the transformed names of
19058 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19059 * configure: Regenerated.
19060
03e98035
JM
190612015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19062
19063 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19064 expected message when trying to access $_probe_* convenience
19065 variables while not on a probe.
19066
63cc30e9
JK
190672015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19068
19069 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19070
0703599a
PA
190712015-02-11 Pedro Alves <pedro@codesourcery.com>
19072
19073 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19074 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19075
7e60a48e
DE
190762015-02-10 Doug Evans <xdje42@gmail.com>
19077
19078 * lib/gdb.exp (gdb_load): Always return a result.
19079
01b088bc
PA
190802015-02-10 Pedro Alves <palves@redhat.com>
19081
19082 * gdb.threads/signal-sigtrap.c: New file.
19083 * gdb.threads/signal-sigtrap.exp: New file.
19084
b05ec7a5
AT
190852015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19086
19087 * gdb.trace/no-attach-trace.c: New file.
19088 * gdb.trace/no-attach-trace.exp: New file.
19089
a2c2acaf
MW
190902015-02-09 Mark Wielaard <mjw@redhat.com>
19091
19092 * gdb.dwarf2/atomic.c: New file.
19093 * gdb.dwarf2/atomic-type.exp: Likewise.
19094
31fd9caa
MM
190952015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19096
19097 * gdb.btrace/buffer-size.exp: Update "info record" output.
19098 * gdb.btrace/delta.exp: Update "info record" output.
19099 * gdb.btrace/enable.exp: Update "info record" output.
19100 * gdb.btrace/finish.exp: Update "info record" output.
19101 * gdb.btrace/instruction_history.exp: Update "info record" output.
19102 * gdb.btrace/next.exp: Update "info record" output.
19103 * gdb.btrace/nexti.exp: Update "info record" output.
19104 * gdb.btrace/step.exp: Update "info record" output.
19105 * gdb.btrace/stepi.exp: Update "info record" output.
19106 * gdb.btrace/nohist.exp: Update "info record" output.
19107
d33501a5
MM
191082015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19109
19110 * gdb.btrace/buffer-size: New.
19111
f4abbc16
MM
191122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19113
19114 * gdb.btrace/delta.exp: Update "info record" output.
19115 * gdb.btrace/enable.exp: Update "info record" output.
19116 * gdb.btrace/finish.exp: Update "info record" output.
19117 * gdb.btrace/instruction_history.exp: Update "info record" output.
19118 * gdb.btrace/next.exp: Update "info record" output.
19119 * gdb.btrace/nexti.exp: Update "info record" output.
19120 * gdb.btrace/step.exp: Update "info record" output.
19121 * gdb.btrace/stepi.exp: Update "info record" output.
19122 * gdb.btrace/nohist.exp: Update "info record" output.
19123
b9d61307
SM
191242015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19125
19126 PR gdb/15678
19127 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19128
e584fdbc
PA
191292015-02-06 Pedro Alves <palves@redhat.com>
19130
19131 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19132 macro.
19133 (seconds_left, again): New globals.
19134 (main): Wait seconds_left in a 1-second sleep loop instead of
19135 sleeping 180 seconds. If 'again' is set, reset the seconds
19136 counter.
19137 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19138 'again' in the inferior before detaching. Print the seconds left.
19139 (options): New global.
19140 (top level): Build program with -DTIMEOUT=$timeout.
19141
77f41761
PA
191422015-02-06 Pedro Alves <palves@redhat.com>
19143
19144 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19145 determine how many seconds to pass to 'alarm'.
19146 * gdb.base/gdb-sigterm.exp (top level): Build program with
19147 -DTIMEOUT=$timeout.
19148 (do_test): Return success/failure indication. Add more verbose
19149 logging. Don't fail if 200 single steps are seen. Instead, fail
19150 when the test times out.
19151 (passes): New global.
19152 (top level): Break the testing loop if testing fails on any
19153 iteration. Use gdb_assert.
19154
b9394193
DB
191552015-02-04 Don Breazeal <donb@codesourcery.com>
19156
19157 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19158 and initialize them.
19159 (ipc_cleanup): New function.
19160 (main): Don't declare shmid, semid, and msqid. Add a call to
19161 atexit so that we call ipc_cleanup on exit.
19162
42d9e528
PA
191632015-02-04 Pedro Alves <palves@redhat.com>
19164
19165 * boards/native-extended-gdbserver.exp: Remove any target variant
19166 specifications from the board name before clearing the isremote
19167 flag from board_info.
19168
ae6ae975
DE
191692015-01-31 Doug Evans <xdje42@gmail.com>
19170
19171 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19172
cfb069a8
GB
191732015-01-31 Gary Benson <gbenson@redhat.com>
19174
19175 * gdb.base/completion.exp: Disable completion limiting for
19176 existing tests. Add new tests to check completion limiting.
19177 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19178
5dd31d79
DE
191792015-01-31 Doug Evans <xdje42@gmail.com>
19180
19181 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19182
9f050062
DE
191832015-01-31 Doug Evans <xdje42@gmail.com>
19184
19185 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19186 entries. Duplicate file section script entries.
19187 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19188 inlined entries. Add test for safe-path rejection.
19189 * gdb.python/py-section-script.c: Add duplicate inlined section script
19190 entries. Duplicate file section script entries.
19191 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19192 inlined entries. Add test for safe-path rejection.
19193
df25ebbd
JB
191942015-01-29 Joel Brobecker <brobecker@adacore.com>
19195
19196 * gdb.ada/disc_arr_bound: New testcase.
19197
4a0ca9ec
JB
191982015-01-29 Joel Brobecker <brobecker@adacore.com>
19199
19200 * gdb.ada/mi_var_array: New testcase.
19201
3a8b707a
DE
192022015-01-27 Doug Evans <dje@google.com>
19203
19204 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19205 Add test for objfile.filename, objfile.username after objfile
19206 has been unloaded.
19207
f8313f6e
JB
192082015-01-26 Joel Brobecker <brobecker@adacore.com>
19209
19210 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19211 the second test to print the name attribute of value
19212 returned by the call to gdb.lookup_type, and adjust
19213 the expected output accordingly.
19214
37bc665e
MW
192152015-01-25 Mark Wielaard <mjw@redhat.com>
19216
19217 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19218 * gdb.base/disp-step-fork.c: Include unistd.h.
19219 * gdb.base/siginfo-obj.c: Include stdio.h.
19220 * gdb.base/siginfo-thread.c: Likewise.
19221 * gdb.mi/non-stop.c: Include unistd.h.
19222 * gdb.mi/nsthrexec.c: Include stdio.h.
19223 * gdb.mi/pthreads.c: Include unistd.h.
19224 * gdb.modula2/unbounded1.c (main): Declare returns int.
19225 * gdb.reverse/consecutive-reverse.c: Likewise.
19226 * gdb.threads/create-fail.c: Include unistd.h.
19227 * gdb.threads/killed.c: Likewise.
19228 * gdb.threads/linux-dp.c: Likewise.
19229 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19230 * gdb.threads/non-ldr-exc-2.c: Likewise.
19231 * gdb.threads/non-ldr-exc-3.c: Likewise.
19232 * gdb.threads/non-ldr-exc-4.c: Likewise.
19233 * gdb.threads/pthreads.c: Include unistd.h.
19234 (main): Declare returns int.
19235 * gdb.threads/tls-main.c (foo): New declaration.
19236 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19237
f7e5394d
SM
192382015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19239
19240 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19241 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19242
743649fd
MW
192432015-01-15 Mark Wielaard <mjw@redhat.com>
19244
19245 * gdb.base/noreturn-return.c: New file.
19246 * gdb.base/noreturn-return.exp: New file.
19247 * gdb.base/noreturn-finish.c: New file.
19248 * gdb.base/noreturn-finish.exp: New file.
19249
198297aa
PA
192502015-01-23 Pedro Alves <palves@redhat.com>
19251
19252 * gdb.threads/continue-pending-after-query.c: New file.
19253 * gdb.threads/continue-pending-after-query.exp: New file.
19254
717cf30c
AG
192552015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19256 Simon Marchi <simon.marchi@ericsson.com>
19257
19258 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19259 * gdb.base/valgrind-db-attach.exp: Same.
19260 * gdb.base/valgrind-infcall.exp: Same.
19261 * lib/mi-support.exp (default_mi_gdb_start): Same.
19262 * lib/prompt.exp (default_prompt_gdb_start): Same.
19263 * lib/gdb.exp (default_gdb_spawn): Same.
19264 (gdb_interact): New.
19265
19266
4b62a76e
JK
192672015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19268
19269 * gdb.compile/compile.exp (pointer to jit function): New test.
19270
b4cdae6f
WW
192712015-01-17 Wei-cheng Wang <cole945@gmail.com>
19272
19273 * lib/gdb.exp (supports_process_record): Return true for
19274 powerpc*-*-linux*.
19275 (supports_reverse): Likewise.
19276
d221e7ef
DB
192772015-01-15 Don Breazeal <donb@codesourcery.com>
19278
19279 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19280 instead of checking whether the target board is remote and
19281 use spawn_wait_for_attach instead of exec/sleep.
19282 * gdb.base/attach-twice.exp: Likewise.
19283
bafffb51
JB
192842015-01-15 Joel Brobecker <brobecker@adacore.com>
19285
19286 * gdb.ada/var_arr_attrs: New testcase.
19287
5589af0e
PA
192882015-01-14 Pedro Alves <palves@redhat.com>
19289 Joel Brobecker <brobecker@adacore.com>
19290
19291 PR gdb/17525
19292 * gdb.base/bp-cmds-execution-x-script.c: New file.
19293 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19294 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19295
6c400b59
PA
192962015-01-14 Pedro Alves <palves@redhat.com>
19297
19298 PR cli/17828
19299 * gdb.base/batch-preserve-term-settings.c: New file.
19300 * gdb.base/batch-preserve-term-settings.exp: New file.
19301
e02c96a7
DE
193022015-01-13 Doug Evans <dje@google.com>
19303
19304 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19305 binary.
19306
576fd14c
JB
193072015-01-13 Joel Brobecker <brobecker@adacore.com>
19308
19309 * Makefile.in (clean mostlyclean): Do not delete *.py.
19310
04dccad0
JB
193112015-01-13 Joel Brobecker <brobecker@adacore.com>
19312
19313 * gdb.python/py-lookup-type.exp: New file.
19314
3d230f71
PA
193152015-01-12 Pedro Alves <palves@redhat.com>
19316
19317 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19318 restore GDBFLAGS before returning.
19319
7e67715d
JK
193202015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19321
19322 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19323 is_amd64_regs_target and is_x86_like_target.
19324
f2e0d4b4
DE
193252015-01-11 Doug Evans <xdje42@gmail.com>
19326
19327 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19328 is given without an explicit form.
19329 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19330 attributes.
19331 * gdb.dwarf/corrupt.exp: Ditto.
19332 * gdb.dwarf2/enum-type.exp: Ditto.
19333 * gdb.trace/entry-values.exp: Ditto.
19334 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19335
439250fb
DE
193362015-01-11 Doug Evans <xdje42@gmail.com>
19337
19338 PR gdb/15830
19339 * gdb.base/maint.exp: Remove references to "maint demangle".
19340 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19341 Add tests for explicitly specifying language to demangle.
19342 * gdb.dlang/demangle.exp: Ditto.
19343
ede9f622
PA
193442015-01-09 Pedro Alves <palves@redhat.com>
19345
19346 * gdb.threads/non-stop-fair-events.c: New file.
19347 * gdb.threads/non-stop-fair-events.exp: New file.
19348
a7b796db
PA
193492015-01-09 Pedro Alves <palves@redhat.com>
19350
19351 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19352 the global scope. Set a breakpoint after all threads are started
19353 rather than stepping over two source lines. Expect the prompt.
19354 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19355 global.
19356 (NUM): Now 15.
19357 (main): Use threads_started_barrier to wait for all threads to
19358 start. Main thread no longer calls thread_function. Exit after
19359 180 seconds.
19360 (loop): New function.
19361 (thread_function): Wait on threads_started_barrier barrier. Call
19362 'loop' at each iteration.
19363 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19364 threads have started, instead of hardcoding number of "next"
19365 steps. Use an access watchpoint instead of a write watchpoint.
19366
9665ffdd
PA
193672015-01-09 Pedro Alves <palves@redhat.com>
19368
19369 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19370 (thread_func): Wait on barrier.
19371 (main): Wait for all threads to start before stopping GDB.
19372 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19373 global.
19374 (thread1_func, thread2_func): Wait on barrier.
19375 (main): Wait for all threads to start before stopping GDB.
19376 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19377 New global.
19378 (thread1_func, thread2_func): Wait on barrier.
19379 (main): Wait for all threads to start before stopping GDB.
19380
c945a99f
PA
193812015-01-09 Pedro Alves <palves@redhat.com>
19382
19383 * gdb.threads/attach-many-short-lived-threads.c: New file.
19384 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19385
c1a747c1
PA
193862014-01-09 Pedro Alves <palves@redhat.com>
19387
19388 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19389 instead of to thread 2.
19390 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19391 Add barrier around each pthread_create call instead of around all
19392 calls.
19393 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19394 Set a break on thread_function and have the child threads hit it
19395 one at at a time.
19396
60b3033e
PA
193972015-01-09 Pedro Alves <palves@redhat.com>
19398
19399 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19400 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19401 false.
19402 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19403 checking whether the target board is remote.
19404 * gdb.multi/multi-attach.exp: Likewise.
19405 * gdb.python/py-sync-interp.exp: Likewise.
19406 * gdb.server/ext-attach.exp: Likewise.
19407 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19408 tests that need to attach, instead of checking whether the target
19409 board is remote at the top of the file.
19410
acc018ac
YQ
194112015-01-08 Yao Qi <yao@codesourcery.com>
19412
19413 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19414
50a18af8
JK
194152015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19416
19417 Fix testcase compilation.
19418 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19419
8503d6e1
JB
194202015-01-06 Joel Brobecker <brobecker@adacore.com>
19421
19422 * gdb.python/py-type.exp: Add a couple test about empty
19423 array creation, and negative-length array creation.
19424
cc73dbcc
DE
194252015-01-02 Doug Evans <xdje42@gmail.com>
19426
19427 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19428
0300bbc7
DE
194292015-01-02 Doug Evans <dje@google.com>
19430
19431 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19432
9d85a0ec
YQ
194332014-12-29 Yao Qi <yao@codesourcery.com>
19434
19435 * gdb.trace/entry-values.exp: Update comments. Rename variable
19436 bar_call_foo to returned_from_foo.
19437
87186c6a
MMN
194382014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19439
19440 PR gdb/17394
19441 * gdb.linespec/break-asm-file.c: New file.
19442 * gdb.linespec/break-asm-file.exp: New file.
19443 * gdb.linespec/break-asm-file0.s: New file.
19444 * gdb.linespec/break-asm-file1.s: New file.
19445
1bab7383
YQ
194462014-12-18 Nigel Stephens <nigel@mips.com>
19447 Maciej W. Rozycki <macro@codesourcery.com>
19448
19449 * gdb.base/float.exp: Handle the new output from "info float" on
19450 MIPS targets.
19451
1bc1068a
JK
194522014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19453
19454 Fix MinGW compilation.
19455 * gdb.compile/compile-ops.exp: Update untested message if
19456 !skip_compile_feature_tests.
19457 * gdb.compile/compile-setjmp.exp: Likewise.
19458 * gdb.compile/compile-tls.exp: Likewise.
19459 * gdb.compile/compile.exp: Likewise.
19460 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19461 supported on this host".
19462
b6615d10
DE
194632014-12-16 Doug Evans <xdje42@gmail.com>
19464
19465 * boards/stabs.exp: New file.
19466
25dda427
AA
194672014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19468
19469 * gdb.base/completion.exp: Adjust to format changes of "maint
19470 print user-registers".
19471
bf330350
CU
194722014-12-16 Catalin Udma <catalin.udma@freescale.com>
19473
19474 PR server/17457
19475 * gdb.arch/aarch64-fp.c: New file.
19476 * gdb.arch/aarch64-fp.exp: New file.
19477
395cf596
SDJ
194782014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19479
19480 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19481 r210637, r210913, r211666, r215400, r215817).
19482
19483 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19484 * dg-extract-results.py: New file.
19485 * dg-extract-results.sh: Use it if the environment seems
19486 suitable.
19487
19488 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19489
19490 * dg-extract-results.py (parse_run): Handle warnings that
19491 are printed before a test harness is run.
19492
19493 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19494
19495 * dg-extract-results.py (Named): Remove __cmp__ method.
19496 (output_variation): Use a key to sort variation.harnesses.
19497
19498 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19499
19500 * dg-extract-results.py: For Python 3, force sys.stdout to
19501 handle surrogate escape sequences.
19502 (safe_open): New function.
19503 (output_segment, main): Use it.
19504
19505 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19506
19507 * dg-extract-results.py (Prog.result_re): Include options
19508 in test name.
19509
19510 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19511
19512 * dg-extract-results.py (output_variation): Always sort if
19513 do_sum.
19514
e882ef3c
SM
195152014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19516
19517 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19518 as long as we get pagination notifications.
19519
4992aa20
JM
195202014-12-15 Jason Merrill <jason@redhat.com>
19521
19522 * Makefile.in (check-gdb.%): Restore.
19523 * README: Mention it.
19524
c1b5a1a6
JB
195252014-12-13 Joel Brobecker <brobecker@adacore.com>
19526
19527 * gdb.ada/str_uninit: New testcase.
19528
5537b577
JK
195292014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19530
19531 PR symtab/17642
19532 * gdb.base/vla-stub-define.c: New file.
19533 * gdb.base/vla-stub.c: New file.
19534 * gdb.base/vla-stub.exp: New file.
19535
bb2ec1b3
TT
195362014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19537 Jan Kratochvil <jan.kratochvil@redhat.com>
19538 Tom Tromey <tromey@redhat.com>
19539
19540 * configure.ac: Add gdb.compile/.
19541 * configure: Regenerate.
19542 * gdb.compile/Makefile.in: New file.
19543 * gdb.compile/compile-ops.exp: New file.
19544 * gdb.compile/compile-ops.c: New file.
19545 * gdb.compile/compile-tls.c: New file.
19546 * gdb.compile/compile-tls.exp: New file.
19547 * gdb.compile/compile-constvar.S: New file.
19548 * gdb.compile/compile-constvar.c: New file.
19549 * gdb.compile/compile-mod.c: New file.
19550 * gdb.compile/compile-nodebug.c: New file.
19551 * gdb.compile/compile-setjmp-mod.c: New file.
19552 * gdb.compile/compile-setjmp.c: New file.
19553 * gdb.compile/compile-setjmp.exp: New file.
19554 * gdb.compile/compile-shlib.c: New file.
19555 * gdb.compile/compile.c: New file.
19556 * gdb.compile/compile.exp: New file.
19557 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19558
4ff709eb
TT
195592014-12-12 Tom Tromey <tromey@redhat.com>
19560
19561 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19562 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19563
6dddd6a5
DE
195642014-12-12 Doug Evans <dje@google.com>
19565
19566 * lib/gdb-python.exp (get_python_valueof): New function.
19567 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19568
71c24708
AA
195692014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19570
19571 * gdb.base/completion.exp: Add test for completion of "info
19572 registers ".
19573
3e29f34a
MR
195742014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19575
19576 * gdb.base/func-ptrs.c: New file.
19577 * gdb.base/func-ptrs.exp: New file.
19578
fc126975
SM
195792014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19580
19581 PR breakpoints/17012
19582 * gdb.base/dprintf-detach.c: New file.
19583 * gdb.base/dprintf-detach.exp: New file.
19584
0a46d518
SM
195852014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19586
19587 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19588 * lib/gdb.exp (target_is_gdbserver): New procedure.
19589
a0be3e44
DE
195902014-12-08 Doug Evans <dje@google.com>
19591
19592 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19593
df1b803a
YQ
195942014-12-05 Yao Qi <yao@codesourcery.com>
19595
19596 * gdb.guile/scm-error.exp: Remove the third argument to
19597 gdb_remote_download.
19598 * gdb.guile/scm-frame-args.exp: Likewise.
19599 * gdb.guile/scm-section-script.exp: Likewise.
19600
ddb9f679
YQ
196012014-12-05 Yao Qi <yao@codesourcery.com>
19602
19603 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19604
86e4ed39
DE
196052014-12-04 Doug Evans <dje@google.com>
19606
19607 * gdb.python/py-objfile.exp: Add tests for
19608 objfile.add_separate_debug_file.
19609
7c50a931
DE
196102014-12-04 Doug Evans <dje@google.com>
19611
19612 * lib/gdb.exp (get_build_id): New function.
19613 (build_id_debug_filename_get): Rewrite to use it.
19614 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19615
621661e3
MR
196162014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19617
19618 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19619 `method(long)', not just 0x0.
19620 * gdb.cp/nsalias.exp: Align code labels to 4.
19621 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19622 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19623 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19624 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19625 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19626 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19627
29f0c3b7
DE
196282014-12-02 Doug Evans <dje@google.com>
19629
e1e061e7 19630 PR symtab/17602
29f0c3b7 19631 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19632 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19633 * gdb.cp/anon-ns.exp: Update.
19634
162078c8
NB
196352014-12-02 Nick Bull <nicholaspbull@gmail.com>
19636
19637 * gdb.python/py-events.py (inferior_call_handler): New.
19638 (register_changed_handler, memory_changed_handler): New.
19639 (test_events.invoke): Register new handlers.
19640 * gdb.python/py-events.exp: Add tests for inferior call,
19641 memory_changed and register_changed events.
19642
fdb09caf
AA
196432014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19644
19645 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19646 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19647 if the linker doesn't understand this.
19648
55cfb2c4
SM
196492014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19650
19651 * gdb.python/python.exp: Change expected reply to help().
19652
9e8cd6df
YQ
196532014-12-01 Yao Qi <yao@codesourcery.com>
19654
19655 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19656 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19657 * configure: Re-generated.
19658
6c659fc2
SC
196592014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19660
19661 * gdb.cp/chained-calls.cc: New file.
19662 * gdb.cp/chained-calls.exp: New file.
19663 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19664
d7fc3181
SM
196652014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19666
19667 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19668 * gdb.dwarf2/symtab-producer.exp: Same.
19669 * gdb.gdb/python-interrupts.exp: Same.
19670 * gdb.gdb/python-selftest.exp: Same.
19671 * gdb.python/py-linetable.exp: Same.
19672 * gdb.python/py-type.exp: Same.
19673 * gdb.python/py-value-cc.exp: Same.
19674 * gdb.python/py-value.exp: Same.
19675
10e79639
YQ
196762014-11-28 Yao Qi <yao@codesourcery.com>
19677
19678 * gdb.base/break-probes.exp: Match library name prefixed with
19679 sysroot.
19680
f28a0564
SM
196812014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19682
19683 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19684 test expected output. Add parentheses for the call to print.
19685 Remove L suffix from integers.
19686
3fe1ce1d
DE
196872014-11-26 Doug Evans <dje@google.com>
19688
19689 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19690
84429e27
YQ
196912014-11-22 Yao Qi <yao@codesourcery.com>
19692
19693 * gdb.trace/entry-values.c: Remove asms.
19694 (foo): Add foo_label.
19695 (bar): Add bar_label.
19696 * gdb.trace/entry-values.exp: Remove code computing foo's
19697 length and bar's length.
19698 (Dwarf::assemble): Invoke function_range for bar and use
19699 MACRO_AT_func for foo.
19700
26741859
YQ
197012014-11-22 Yao Qi <yao@codesourcery.com>
19702
19703 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19704 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19705 Use .Lgcc43_procstart instead of gcc43.
19706
45e44d27
JB
197072014-11-21 Joel Brobecker <brobecker@adacore.com>
19708
19709 * gdb.ada/n_arr_bound: New testcase.
19710
458c8db8
SDJ
197112014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19712
19713 PR breakpoints/10737
19714 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19715 test_catch_syscall_multi_arch.
19716 (test_catch_syscall_multi_arch): New function.
19717
43f3e411
DE
197182014-11-20 Doug Evans <xdje42@gmail.com>
19719
19720 * gdb.base/maint.exp: Update expected output.
19721
0d7b2549
AA
197222014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19723
19724 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19725 4-byte instruction on S390.
19726
8908fca5
JB
197272014-11-19 Joel Brobecker <brobecker@adacore.com>
19728
19729 * gdb.ada/arr_arr: New testcase.
19730
4a46959e
JB
197312014-11-19 Joel Brobecker <brobecker@adacore.com>
19732
19733 * gdb.ada/pkd_arr_elem: New Testcase.
19734
470e2f4e
LM
197352014-11-18 Luis Machado <lgustavo@codesourcery.com>
19736
19737 * gdb.reverse/break-precsave: Expect completion message for
19738 core file reads.
19739 * gdb.reverse/consecutive-precsave.exp: Likewise.
19740 * gdb.reverse/finish-precsave.exp: Likewise.
19741 * gdb.reverse/i386-precsave.exp: Likewise.
19742 * gdb.reverse/machinestate-precsave.exp: Likewise.
19743 * gdb.reverse/sigall-precsave.exp: Likewise.
19744 * gdb.reverse/solib-precsave.exp: Likewise.
19745 * gdb.reverse/step-precsave.exp: Likewise.
19746 * gdb.reverse/until-precsave.exp: Likewise.
19747 * gdb.reverse/watch-precsave.exp: Likewise.
19748
a267f3ad
AA
197492014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19750
19751 * gdb.base/bp-permanent.c: Include unistd.h.
19752 * gdb.python/py-framefilter-mi.c (main): Add return type.
19753 * gdb.python/py-framefilter.c (main): Likewise.
19754 * gdb.trace/actions-changed.c (main): Likewise.
19755
12084a9a
AA
197562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19757
19758 * gdb.mi/until.c: Add eye-catchers.
19759 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19760 line numbers.
19761
dc7e1a77
AA
197622014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19763
19764 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19765 function header variants in break1.c.
19766 * gdb.base/ena-dis-br.exp: Likewise.
19767 * gdb.base/hbreak2.exp: Likewise.
19768 * gdb.reverse/until-precsave.exp: Drop references to removed
19769 non-prototype function header variants in ur1.c.
19770 * gdb.reverse/until-reverse.exp: Likewise.
19771
41c77605
PM
197722014-11-17 Petr Machata <pmachata@redhat.com>
19773
19774 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19775 ${_cu_offset_size} bytes abbrev offset.
19776
34248c3a
DE
197772014-11-15 Doug Evans <xdje42@gmail.com>
19778
19779 PR symtab/17559
19780 * gdb.base/line-symtabs.exp: New file.
19781 * gdb.base/line-symtabs.c: New file.
19782 * gdb.base/line-symtabs.h: New file.
19783
646da059
YQ
197842014-11-14 Yao Qi <yao@codesourcery.com>
19785
19786 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19787 (func): Add label func_label.
19788 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19789 Replace low_pc and high_pc with MACRO_AT_range.
19790 Replace name, low_pc and high_pc with MACRO_AT_func.
19791
9301ebe6
YQ
197922014-11-14 Yao Qi <yao@codesourcery.com>
19793
19794 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19795 Replace name, low_pc and high_pc with MACRO_AT_func.
19796
f166b542
YQ
197972014-11-14 Yao Qi <yao@codesourcery.com>
19798
19799 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19800 produce debug information.
19801 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19802
0f6e71e3
YQ
198032014-11-14 Yao Qi <yao@codesourcery.com>
19804
19805 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19806 object and get function length.
19807 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19808 with MACRO_AT_func.
19809 (top-level): Replace gdb_compile and clean_restart with
19810 prepare_for_testing.
19811 * gdb.dwarf2/main.c (main): Add label main_label.
19812
876c4df9
YQ
198132014-11-14 Yao Qi <yao@codesourcery.com>
19814
19815 * lib/dwarf.exp (function_range): New procedure.
19816 (Dwarf::_handle_macro_at_func): New procedure.
19817 (Dwarf::_handle_macro_at_range): New procedure.
19818 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19819
02ad9cf1
YQ
198202014-11-14 Yao Qi <yao@codesourcery.com>
19821
19822 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19823 (_handle_attribute): New procedure.
19824
a59add0c
AA
198252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19826
19827 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19828 * gdb.base/call-sc.c (zed): Likewise.
19829 * gdb.base/checkpoint.c (main): Likewise.
19830 * gdb.base/dump.c (main): Likewise.
19831 * gdb.base/gcore.c (main): Likewise.
19832 * gdb.base/huge.c (main): Likewise.
19833 * gdb.base/multi-forks.c (main): Likewise.
19834 * gdb.base/pr10179-a.c (main): Likewise.
19835 * gdb.base/savedregs.c (main): Likewise.
19836 * gdb.base/sigaltstack.c (main): Likewise.
19837 * gdb.base/siginfo.c (main): Likewise.
19838 * gdb.base/structs.c (zed): Likewise.
19839 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19840 * gdb.mi/mi-syn-frame.c (main): Likewise.
19841 * gdb.mi/until.c (foo, main): Likewise.
19842 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19843 * gdb.base/solib-weak.c (foo): Declare.
19844 * gdb.base/attach-twice.c: Include stdio.h.
19845 * gdb.base/weaklib1.c: Likewise.
19846 * gdb.base/weaklib2.c: Likewise.
19847 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19848 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19849 unistd.h.
19850 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19851 * gdb.mi/mi-exit-code.c: Likewise.
19852 * gdb.base/break-interp-lib.c: Include string.h.
19853 * gdb.base/coremaker.c: Likewise.
19854 * gdb.base/testenv.c: Likewise.
19855 * gdb.python/py-finish-breakpoint.c: Likewise.
19856 * gdb.base/inferior-died.c: Include sys/wait.h.
19857 * gdb.base/fileio.c: Include time.h.
19858 * gdb.base/async-shell.c: Include unistd.h.
19859 * gdb.base/dprintf-non-stop.c: Likewise.
19860 * gdb.base/info-os.c: Likewise.
19861 * gdb.mi/mi-console.c: Likewise.
19862 * gdb.mi/watch-nonstop.c: Likewise.
19863 * gdb.python/py-events.c: Likewise.
19864 * gdb.base/async.c (baz): Move up before its invocation.
19865 * gdb.base/code_elim2.c (my_global_func): Likewise.
19866 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19867 * gdb.base/advance.c (func2): Likewise.
19868
3b5d5997
AA
198692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19870
19871 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19872 variant.
19873 * gdb.base/annota3.c: Likewise.
19874 * gdb.base/async.c: Likewise.
19875 * gdb.base/average.c: Likewise.
19876 * gdb.base/call-ar-st.c: Likewise.
19877 * gdb.base/call-rt-st.c: Likewise.
19878 * gdb.base/call-sc.c: Likewise.
19879 * gdb.base/call-strs.c: Likewise.
19880 * gdb.base/ending-run.c: Likewise.
19881 * gdb.base/execd-prog.c: Likewise.
19882 * gdb.base/exprs.c: Likewise.
19883 * gdb.base/foll-exec.c: Likewise.
19884 * gdb.base/foll-fork.c: Likewise.
19885 * gdb.base/foll-vfork.c: Likewise.
19886 * gdb.base/funcargs.c: Likewise.
19887 * gdb.base/gcore.c: Likewise.
19888 * gdb.base/jump.c: Likewise.
19889 * gdb.base/langs0.c: Likewise.
19890 * gdb.base/langs1.c: Likewise.
19891 * gdb.base/langs2.c: Likewise.
19892 * gdb.base/mips_pro.c: Likewise.
19893 * gdb.base/nodebug.c: Likewise.
19894 * gdb.base/opaque0.c: Likewise.
19895 * gdb.base/opaque1.c: Likewise.
19896 * gdb.base/recurse.c: Likewise.
19897 * gdb.base/run.c: Likewise.
19898 * gdb.base/scope0.c: Likewise.
19899 * gdb.base/scope1.c: Likewise.
19900 * gdb.base/setshow.c: Likewise.
19901 * gdb.base/setvar.c: Likewise.
19902 * gdb.base/shmain.c: Likewise.
19903 * gdb.base/shr1.c: Likewise.
19904 * gdb.base/shr2.c: Likewise.
19905 * gdb.base/sigall.c: Likewise.
19906 * gdb.base/signals.c: Likewise.
19907 * gdb.base/so-indr-cl.c: Likewise.
19908 * gdb.base/solib2.c: Likewise.
19909 * gdb.base/structs.c: Likewise.
19910 * gdb.base/sum.c: Likewise.
19911 * gdb.base/vforked-prog.c: Likewise.
19912 * gdb.base/watchpoint.c: Likewise.
19913 * gdb.reverse/shr2.c: Likewise.
19914 * gdb.reverse/until-reverse.c: Likewise.
19915 * gdb.reverse/ur1.c: Likewise.
19916 * gdb.reverse/watch-reverse.c: Likewise.
19917
066a77c5
AA
199182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19919
19920 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19921 variant.
19922 * gdb.base/sepdebug.exp: Drop references to removed code.
19923
4f204ea5
AA
199242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19925
19926 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19927 variant. Preserve original line numbering.
19928 * gdb.base/list1.c: Likewise.
19929
3b377a3a
AA
199302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19931
19932 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19933 variant.
19934 * gdb.base/break1.c: Likewise.
19935 * gdb.base/break.exp: Drop references to removed code.
19936
e444df73
AA
199372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19938
19939 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19940 variant.
19941
8008f2a7
AA
199422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19943
19944 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19945
a5a06887
AA
199462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19947
19948 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19949 logic into perform_all_tests() and invoke it with and without
19950 function header prototypes.
19951 (do_function_calls): Remove conditional XFAIL for PR 5318.
19952 (rerun_and_prepare): Remove duplicate code.
19953 (perform_all_tests): New. Main logic moved here.
19954
44dba9b9
AA
199552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19956
19957 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19958 code guarded by #ifdef NO_PROTOTYPES.
19959 (t_double_many_args): Likewise.
19960 (DEF_FUNC_MANY_ARGS_1): Likewise.
19961 (DEF_FUNC_VALUES_1): Likewise.
19962 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19963 guarded by #ifdef PROTOTYPES.
19964
d1fbcd56
AA
199652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19966
19967 * gdb.mi/mi-console.c: Add eye-catcher.
19968 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19969 instead of literal line number.
19970
b0e59b8f
AA
199712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19972
19973 * gdb.base/shr2.c: Add eye-catcher.
19974 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19975 line number.
19976
78f98cca
AA
199772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19978
19979 * gdb.base/jump.c: Add eye-catchers.
19980 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19981 numbers.
19982
58fa2af0
AA
199832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19984
19985 * gdb.base/execd-prog.c: Add eye-catchers.
19986 * gdb.base/foll-exec.c: Likewise.
19987 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19988 line numbers.
19989
04e5059b
AA
199902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19991
19992 * gdb.base/ending-run.c: Add eye-catchers.
19993 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19994 literal line numbers.
19995
dbfdb174
AA
199962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19997
19998 * gdb.base/call-rt-st.c: Add eye-catchers.
19999 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20000 literal line numbers.
20001
888a2ade
AA
200022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20003
20004 * gdb.base/call-ar-st.c: Add eye-catchers.
20005 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20006 literal line numbers.
20007
6acc2dde
AA
200082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20009
20010 * gdb.base/average.c: Add eye-catchers.
20011 * gdb.base/sum.c: Likewise.
20012 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20013 regexps dynamically.
20014
9ecfcd1d
AA
200152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20016
20017 * gdb.base/solib1.c: Add eye-catchers.
20018 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20019 literal line numbers.
20020
78708b7c
PA
200212014-11-12 Pedro Alves <palves@redhat.com>
20022
20023 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20024 leader has exited.
20025
af48d08f
PA
200262014-11-12 Pedro Alves <palves@redhat.com>
20027
20028 * gdb.arch/i386-bp_permanent.c: New file.
20029 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20030 (srcfile): Set to i386-bp_permanent.c.
20031 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20032 that stepi does not execute the 'leave' instruction, instead of
20033 testing it does execute.
20034 * gdb.base/bp-permanent.c: New file.
20035 * gdb.base/bp-permanent.exp: New file.
20036
af3768e9
DE
200372014-11-10 Doug Evans <xdje42@gmail.com>
20038
20039 PR symtab/17564
20040 * gdb.base/symtab-search-order.exp: New file.
20041 * gdb.base/symtab-search-order.c: New file.
20042 * gdb.base/symtab-search-order-1.c: New file.
20043 * gdb.base/symtab-search-order-shlib-1.c: New file.
20044
9de00a4a
PA
200452014-11-07 Pedro Alves <palves@redhat.com>
20046
20047 PR gdb/17511
20048 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20049 i?86-*-linux*.
20050
e0f52461
SC
200512014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20052
20053 PR c++/17494
20054 * gdb.cp/pr17494.cc: New file.
20055 * gdb.cp/pr17494.exp: New file.
20056
6ce8c980
YQ
200572014-11-02 Yao Qi <yao@codesourcery.com>
20058
20059 * gdb.python/python.exp: Get working directory and match the
20060 output of "set extended-prompt \\w " with it.
20061
02be9a71
DE
200622014-10-30 Doug Evans <dje@google.com>
20063
20064 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20065 in objfiles.
20066 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20067 in progspaces.
20068
3bdff46b
LM
200692014-10-30 Janis Johnson <janisjo@codesourcery.com>
20070
20071 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20072 * gdb.base/realname-expand.exp: Likewise.
20073 * gdb.linespec/macro-relative.exp: Likewise.
20074
ab917dfb
PA
200752014-10-29 Pedro Alves <palves@redhat.com>
20076
20077 PR gdb/17408
20078 * gdb.threads/schedlock.c (some_function): New function.
20079 (call_function): New global.
20080 (MAYBE_CALL_SOME_FUNCTION): New macro.
20081 (thread_function): Call it.
20082 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20083 and use it instead of a global counter. Adjust all callers.
20084 (get_current_thread): Use "find current thread" for test message
20085 here rather than having all callers pass down the same string.
20086 (goto_loop): New procedure, factored out from ...
20087 (my_continue): ... this.
20088 (step_ten_loops): Change parameter from test message to command to
20089 use. Adjust.
20090 (list_count): Delete global.
20091 (check_result): New procedure, factored out from duplicate top
20092 level code.
20093 (continue tests): Wrap in with_test_prefix.
20094 (test_step): New procedure, factored out from duplicate top level
20095 code.
20096 (top level): Test "step" in combination with all scheduler-locking
20097 modes. Test "next" in combination with all scheduler-locking
20098 modes, and in combination with stepping over a function call or
20099 not.
20100 * gdb.threads/next-bp-other-thread.c: New file.
20101 * gdb.threads/next-bp-other-thread.exp: New file.
20102
d3d4baed
PA
201032014-10-29 Pedro Alves <palves@redhat.com>
20104
20105 PR python/17372
20106 * gdb.python/python.exp: Test a multi-line command that spawns
20107 interactive Python.
20108 * gdb.base/multi-line-starts-subshell.exp: New file.
20109
563e8d85
YQ
201102014-10-29 Yao Qi <yao@codesourcery.com>
20111
20112 * gdb.base/fileio.exp: Make directories on host.
20113
0ea4d52e
YQ
201142014-10-29 Yao Qi <yao@codesourcery.com>
20115
20116 * gdb.base/fileio.c (test_write): Close the file.
20117
7f5ef605
PA
201182014-10-28 Pedro Alves <palves@redhat.com>
20119
20120 PR gdb/12623
20121 * gdb.base/sigstep.c (no_handler): New global.
20122 (main): If 'no_handler is true, set the signal handlers to
20123 SIG_IGN.
20124 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20125 with_sw_watch and no_handler parameters. Handle them.
20126 (top level) <stepping over handler when stopped at a breakpoint
20127 test>: Add a test axis for testing with a software watchpoint, and
20128 another for testing with the signal handler set to SIG_IGN.
20129 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20130 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20131
abbdbd03
PA
201322014-10-28 Pedro Alves <palves@redhat.com>
20133
20134 PR gdb/17511
20135 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20136 * gdb.base/sigstep.exp (other_handler_location): New global.
20137 (advance): Support stepping into the signal handler, and running
20138 commands while in the handler.
20139 (in_handler_map): New global.
20140 (top level): In the advance test, add combinations for getting
20141 into the handler with stepping commands, and for running commands
20142 in the handler. Add comment descripting the advancei tests.
20143
1df4399f
PA
201442014-10-28 Pedro Alves <palves@redhat.com>
20145
20146 * gdb.base/sigstep.exp: Use build_executable instead of
20147 prepare_for_testing.
20148 (top level): Move code that starts GDB, runs to main and creates a
20149 display to ...
20150 (restart): ... this new procedure.
20151 (top level): Move backtrace from signal handler test to ...
20152 (validate_backtrace): ... this new procedure.
20153 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20154 with_test_prefix. Always restart GDB.
20155 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20156 with_test_prefix. Always restart GDB. No need to delete
20157 breakpoints after the test.
20158 (test_skip_handler): Remove prefix parameter.
20159 (skip_over_handler, breakpoint_to_handler)
20160 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20161 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20162 restart GDB. No need to delete breakpoints after the test.
20163 (top level): Use foreach to call the test procedures with
20164 different commands.
20165
a5b6e449
PA
201662014-10-28 Pedro Alves <palves@redhat.com>
20167
20168 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20169 instead of GNATS numbers.
20170 * gdb.base/sigbpt.exp: Likewise.
20171 * gdb.base/siginfo.exp: Likewise.
20172 * gdb.base/sigstep.exp: Likewise.
20173
e5f8a7cc
PA
201742014-10-27 Pedro Alves <palves@redhat.com>
20175
20176 * gdb.base/sigstep.c (dummy): New global.
20177 (main): Issue a couple writes to the new global.
20178 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20179 procedures.
20180 (skip_over_handler): Use test_skip_handler.
20181 (top level): Call skip_over_handler for stepi and nexti too.
20182 (breakpoint_over_handler): Use test_skip_handler.
20183 (top level): Call breakpoint_over_handler for stepi and nexti too.
20184
763905a3
YQ
201852014-10-27 Yao Qi <yao@codesourcery.com>
20186
20187 * gdb.trace/tfile.c (adjust_function_address)
20188 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20189 function descriptor.
20190
6f259a23
DB
201912014-10-24 Don Breazeal <donb@codesourcery.com>
20192
20193 * gdb.base/foll-fork.exp (test_follow_fork,
20194 catch_fork_child_follow): Check for updated fork messages emitted
20195 from infrun.c.
20196 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20197 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20198 vfork_and_exec_child_follow_through_step): Check for updated vfork
20199 messages emitted from infrun.c.
20200
09dd9a69
PA
202012014-10-24 Pedro Alves <palves@redhat.com>
20202
20203 * gdb.base/corefile.exp: Remove references to ultrix.
20204 * gdb.base/interrupt.exp: Likewise.
20205 * gdb.base/whatis.exp: Likewise.
20206 * gdb.gdb/selftest.exp: Likewise.
20207 * gdb.threads/manythreads.exp: Likewise.
20208 * gdb.threads/print-threads.exp: Likewise.
20209 * gdb.threads/pthreads.exp:: Likewise.
20210 * gdb.threads/schedlock.exp: Likewise.
20211
3433cfa5
SC
202122014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20213
20214 * gdb.cp/non-trivial-retval.cc: Add a test case.
20215 * gdb.cp/non-trivial-retval.exp: Add a test.
20216
092f880b
YQ
202172014-10-20 Yao Qi <yao@codesourcery.com>
20218
20219 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20220 * gdb.python/py-objfile-script-gdb.py: New file.
20221 * gdb.python/py-objfile-script.exp: Update reference to
20222 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20223 of remote_download. Remove the dest file.
20224
acbdb7f3
YQ
202252014-10-20 Yao Qi <yao@codesourcery.com>
20226
20227 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20228 * gdb.base/step-line.exp: Likewise.
20229 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20230 * gdb.dwarf2/dw2-basic.exp: Likewise.
20231 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20232 * gdb.dwarf2/dw2-filename.exp: Likewise.
20233 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20234 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20235 * gdb.dwarf2/dw2-producer.exp: Likewise.
20236 * gdb.dwarf2/mac-fileno.exp: Likewise.
20237 * gdb.python/py-frame-args.exp: Likewise.
20238 * gdb.python/py-framefilter.exp: Likewise.
20239 * gdb.python/py-mi.exp: Likewise.
20240 * gdb.python/py-objfile-script.exp: Likewise
20241 * gdb.python/py-pp-integral.exp: Likewise.
20242 * gdb.python/py-pp-re-notag.exp: Likewise.
20243 * gdb.python/py-prettyprint.exp: Likewise.
20244 * gdb.python/py-section-script.exp: Likewise.
20245 * gdb.python/py-typeprint.exp: Likewise.
20246 * gdb.python/py-xmethods.exp: Likewise.
20247 * gdb.stabs/weird.exp: Likewise.
20248 * gdb.xml/tdesc-regs.exp: Likewise.
20249
bd286a29
KCY
202502014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20251
20252 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20253 (out_cu): Use addr_len for the size of addresses.
20254 (out_line): Likewise. Size DW_LNE_set_address instruction
20255 according to addr_len.
20256 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20257 (FUNC): Add START_INSNS to definition.
20258
673dc4a0
YQ
202592014-10-18 Yao Qi <yao@codesourcery.com>
20260
20261 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20262 gdb_has_argv0 return true.
20263 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20264 check [target_info exists noargs], check [gdb_has_argv0]
20265 instead.
20266 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20267 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20268 procedures.
20269
4ffbba72
DE
202702014-10-17 Doug Evans <dje@google.com>
20271
20272 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20273 event.
20274 * gdb.python/py-events.py: Add clear_objfiles event.
20275
d096d8c1
DE
202762014-10-17 Doug Evans <dje@google.com>
20277
20278 * gdb.python/py-objfile.exp: Test progspace attribute.
20279
a80db015
LM
202802014-10-17 Luis Machado <lgustavo@codesourcery.com>
20281
20282 * gdb.guile/scm-breakpoint.exp: Do not assume any
20283 directory separators when matching source file paths.
20284 * gdb.python/py-breakpoint.exp: Likewise.
20285 * gdb.reverse/break-precsave.exp: Likewise.
20286 * gdb.reverse/break-reverse.exp: Likewise.
20287 * gdb.reverse/consecutive-precsave.exp: Likewise.
20288 * gdb.reverse/finish-precsave.exp: Likewise.
20289 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20290 * gdb.reverse/finish-reverse.exp: Likewise.
20291 * gdb.reverse/i386-precsave.exp: Likewise.
20292 * gdb.reverse/i387-env-reverse.exp: Likewise.
20293 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20294 * gdb.reverse/machinestate-precsave.exp: Likewise.
20295 * gdb.reverse/machinestate.exp: Likewise.
20296 * gdb.reverse/sigall-precsave.exp: Likewise.
20297 * gdb.reverse/solib-precsave.exp: Likewise.
20298 * gdb.reverse/step-precsave.exp: Likewise.
20299 * gdb.reverse/until-precsave.exp: Likewise.
20300 * gdb.reverse/watch-precsave.exp: Likewise.
20301 * gdb.reverse/watch-reverse.exp: Likewise.
20302
b22089ab
YQ
203032014-10-17 Yao Qi <yao@codesourcery.com>
20304
20305 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20306 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20307
6c4486e6
PA
203082014-10-17 Pedro Alves <palves@redhat.com>
20309
20310 PR gdb/17471
20311 * gdb.base/bg-execution-repeat.c: New file.
20312 * gdb.base/bg-execution-repeat.exp: New file.
20313
0ff33695
PA
203142014-10-17 Pedro Alves <palves@redhat.com>
20315
20316 PR gdb/17300
20317 * gdb.base/continue-all-already-running.c: New file.
20318 * gdb.base/continue-all-already-running.exp: New file.
20319
6fdebc3d
PA
203202014-10-17 Pedro Alves <palves@redhat.com>
20321
20322 PR gdb/17472
20323 * gdb.base/annota-input-while-running.c: New file.
20324 * gdb.base/annota-input-while-running.exp: New file.
20325
32a8097b
PA
203262014-10-17 Pedro Alves <palves@redhat.com>
20327
20328 * gdb.base/callfuncs.exp: emove references to osf.
20329 * gdb.base/sigall.exp: Likewise.
20330 * gdb.gdb/selftest.exp: Likewise.
20331 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20332 * gdb.mi/non-stop.c: Likewise.
20333 * gdb.mi/pthreads.c: Likewise.
20334 * gdb.reverse/sigall-precsave.exp: Likewise.
20335 * gdb.reverse/sigall-reverse.exp: Likewise.
20336 * gdb.threads/pthreads.c: Likewise.
20337 * gdb.threads/pthreads.exp: Likewise.
20338
7a3517ff
YQ
203392014-10-17 Yao Qi <yao@codesourcery.com>
20340
20341 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20342 check 'target_info exists noargs'.
20343 (test_command_prompt_position): Likewise.
20344 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20345 Remove "set args".
20346 (progvar_simple_while_test): Likewise.
20347 (progvar_complex_if_while_test): Likewise.
20348 (if_while_breakpoint_command_test): Likewise.
20349 (infrun_breakpoint_command_test): Likewise.
20350 (breakpoint_command_test): Likewise.
20351 (watchpoint_command_test): Likewise.
20352 (bp_deleted_in_command_test): Likewise.
20353 (temporary_breakpoint_commands): Likewise.
20354
bb99c472
YQ
203552014-10-16 Yao Qi <yao@codesourcery.com>
20356
20357 * gdb.base/remotetimeout.exp: Remove noargs checking.
20358
7c16b83e
PA
203592014-10-15 Pedro Alves <palves@redhat.com>
20360
20361 PR breakpoints/9649
20362 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20363 * gdb.base/breakpoint-in-ro-region.exp
20364 (probe_target_hardware_step): New procedure.
20365 (top level): Probe hardware stepping and hardware breakpoint
20366 support. Test stepping through a read-only region, with both
20367 "breakpoint auto-hw" on and off and both "always-inserted" on and
20368 off.
20369
35a49624
IB
203702014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20371
20372 * gdb.dlang/demangle.exp: Update for demangling changes.
20373
2d1c107c
SC
203742014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20375
20376 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20377 * gdb.cp/non-trivial-retval.exp: Add new tests.
20378
778811d5
SC
203792014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20380
20381 PR c++/13403
20382 PR c++/15154
20383 * gdb.cp/non-trivial-retval.cc: New file.
20384 * gdb.cp/non-trivial-retval.exp: New file.
20385
10c5f0a8
YQ
203862014-10-15 Yao Qi <yao@codesourcery.com>
20387
20388 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20389 remote host.
20390
65d7b369
YQ
203912014-10-15 Yao Qi <yao@codesourcery.com>
20392
20393 * gdb.python/py-symbol.exp: Match file base name if host is
20394 remote, otherwise match file name with dir name.
20395 * gdb.python/py-symtab.exp: Likewise.
20396 * gdb.python/python.exp: Likewise.
20397
46dc1394
YQ
203982014-10-15 Yao Qi <yao@codesourcery.com>
20399
20400 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20401 pattern.
20402 * gdb.python/py-symtab.exp: Likewise.
20403 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20404 locationn.
20405
c40cc657
JB
204062014-10-14 Joel Brobecker <brobecker@adacore.com>
20407
20408 * gdb.ada/addr_arith: New testcase.
20409
2abf49e1
MR
204102014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20411
20412 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20413 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20414 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20415 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20416
f7088df3
SDJ
204172014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20418
20419 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20420 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20421 * gdb.arch/stap-eval-lang-ada.exp: New file.
20422
4dc06805
YQ
204232014-10-14 Yao Qi <yao@codesourcery.com>
20424
20425 * gdb.mi/mi-var-child.c (nothing1): New function.
20426 (nothing2): New function.
20427 (do_children_tests): Set function pointers by nothing1 and
20428 nothing2.
20429 * gdb.mi/mi-var-child.exp: Step over new added statements.
20430 Update test to match the new output.
20431 * gdb.mi/var-cmd.c (nothing1): New function.
20432 (nothing2): New function.
20433 (do_children_tests): Set function pointers by nothing1 and
20434 nothing2.
20435 * gdb.mi/mi-var-display.exp: Update test to match output.
20436 Step to the line specified by $line_dct_nothing.
20437 Increase the number of lines to step.
20438
46a93de2
YQ
204392014-10-14 Yao Qi <yao@codesourcery.com>
20440
20441 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20442 tests.
20443 * gdb.mi/mi2-var-child.exp: Likewise.
20444
14ea52ee
DE
204452014-10-13 Doug Evans <dje@google.com>
20446
20447 * gdb.python/py-objfile.exp: Change name of file name test.
20448
e5c6e92b
DE
204492014-10-13 Doug Evans <dje@google.com>
20450
20451 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20452 from the start of the CU.
20453
c780cc2f
JK
204542014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20455 Yao Qi <yao@codesourcery.com>
20456
20457 Fix "save breakpoints" for "catch" command.
20458 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20459 Remove -nonewline. Match also the added "main" line.
20460
99894e11
JK
204612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20462
20463 Fix "save breakpoints" for "disable $bpnum" command.
20464 * gdb.base/save-bp.c (main): Add label.
20465 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20466
6e1ac5a3
JK
204672014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20468
20469 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20470
754dd2b0
YQ
204712014-10-11 Yao Qi <yao@codesourcery.com>
20472
20473 * gdb.server/server-kill.exp: Execute command
20474 "set remote trace-status-packet on" before "tstatus".
20475
f90183d7
YQ
204762014-10-11 Yao Qi <yao@codesourcery.com>
20477
20478 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20479 (main): Call getppid.
20480 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20481 and continue to it. Read variable "server_pid".
20482
bf40a607
YQ
204832014-10-11 Yao Qi <yao@codesourcery.com>
20484
20485 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20486
052ca370
YQ
204872014-10-11 Yao Qi <yao@codesourcery.com>
20488
20489 * gdb.threads/thread-find.exp: Don't execute command
20490 "info threads".
20491 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20492 * gdb.threads/linux-dp.exp: Don't check the condition
20493 $threads_created equals to zero.
20494
3831839c
PA
204952014-10-10 Pedro Alves <palves@redhat.com>
20496
20497 * gdb.base/bigcore.exp: Remove references to IRIX.
20498 * gdb.base/funcargs.exp: Likewise.
20499 * gdb.base/interrupt.exp: Likewise.
20500 * gdb.base/mips_pro.exp: Likewise.
20501 * gdb.base/nodebug.exp: Likewise.
20502 * gdb.base/setvar.exp: Likewise.
20503 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20504
8b9a549d
PA
205052014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20506 Pedro Alves <palves@redhat.com>
20507
20508 PR symtab/14466
20509 * gdb.base/vdso-warning.c: New file.
20510 * gdb.base/vdso-warning.exp: New file.
20511
d48ba5e8
DE
205122014-10-02 Doug Evans <dje@google.com>
20513
20514 * gdb.base/structs.c (main): Don't run forever.
20515
2278c276
PA
205162014-10-02 Pedro Alves <palves@redhat.com>
20517
20518 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20519 (top level) <stop threads 1, stop threads 2>: Use it.
20520
b57bacec
PA
205212014-10-02 Pedro Alves <palves@redhat.com>
20522
20523 * gdb.threads/break-while-running.exp (test): Add new
20524 'update_thread_list' argument. Skip "info threads" if false.
20525 (top level): Add new 'update_thread_list' axis.
20526
13fd3ff3
PA
205272014-10-02 Pedro Alves <palves@redhat.com>
20528
20529 PR breakpoints/17431
20530 * gdb.base/execl-update-breakpoints.c: New file.
20531 * gdb.base/execl-update-breakpoints.exp: New file.
20532
0fec99e8
PA
205332014-10-01 Pedro Alves <palves@redhat.com>
20534
20535 * gdb.base/breakpoint-in-ro-region.c: New file.
20536 * gdb.base/breakpoint-in-ro-region.exp: New file.
20537
2ddf4301
SM
205382014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20539
20540 * gdb.mi/mi-exit-code.exp: New file.
20541 * gdb.mi/mi-exit-code.c: New file.
20542
6a5f3f43
YQ
205432014-09-30 Yao Qi <yao@codesourcery.com>
20544
20545 * lib/prelink-support.exp (build_executable_own_libs): Error if
20546 the target isn't native.
20547
345bcc73
YQ
205482014-09-30 Yao Qi <yao@codesourcery.com>
20549
20550 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20551 false.
20552
a25a5a45
PA
205532014-09-22 Pedro Alves <palves@redhat.com>
20554
20555 * gdb.threads/break-while-running.exp: New file.
20556 * gdb.threads/break-while-running.c: New file.
20557
00ba3162
YQ
205582014-09-19 Yao Qi <yao@codesourcery.com>
20559
20560 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20561 Invoke test. Restart GDB with --readnow and invoke test again.
20562
c3b7b696
YQ
205632014-09-19 Yao Qi <yao@codesourcery.com>
20564
20565 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20566 proc set_breakpoint_on_gcd_function. Invoke
20567 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20568 invoke set_breakpoint_on_gcd_function again.
20569
2b4fd423
DE
205702014-09-18 Doug Evans <dje@google.com>
20571
20572 * gdb.dwarf2/symtab-producer.exp: New file.
20573
a5947601
SDJ
205742014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20575
20576 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20577 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20578 * gdb.base/global-var-nested-by-dso.c: Likewise.
20579 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20580
91c19059
SDJ
205812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20582 Pedro Alves <palves@redhat.com>
20583
20584 * gdb.base/watch-bitfields.exp: Pass string other than test file
20585 name to prepare_for_testing.
20586 (watch): New procedure.
20587 (expect_watchpoint): Use with_test_prefix.
20588 (top level): Factor out tests to ...
20589 (test_watch_location, test_regular_watch): ... these new
20590 procedures, and use with_test_prefix and gdb_continue_to_end.
20591
bb9d5f81
PP
205922014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20593
20594 PR breakpoints/12526
20595 * gdb.base/watch-bitfields.exp: New file.
20596 * gdb.base/watch-bitfields.c: New file.
20597
635856f5
PA
205982014-09-16 Pedro Alves <palves@redhat.com>
20599
20600 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20601 software and hardware addresses, not software address against
20602 itself.
20603
7280ceea
PA
206042014-09-16 Pedro Alves <palves@redhat.com>
20605
20606 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20607 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20608
428b16bd
PA
206092014-09-16 Pedro Alves <palves@redhat.com>
20610
20611 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20612 files.
20613 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20614 "*-*-vxworks*" throughout.
20615 * gdb.base/break.exp: Likewise.
20616 * gdb.base/default.exp: Likewise.
20617 * gdb.base/scope.exp: Likewise.
20618 * gdb.base/sepdebug.exp: Likewise.
20619 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20620 throughout.
20621 * gdb.base/run.c: Likewise.
20622 * gdb.base/sepdebug.c: Likewise.
20623 * gdb.hp/gdb.aCC/run.c: Likewise.
20624 * gdb.reverse/until-reverse.c: Likewise.
20625 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20626
666d413c
YQ
206272014-09-16 Yao Qi <yao@codesourcery.com>
20628
20629 * boards/local-remote-host-native.exp: New file.
20630
57cbd724
DE
206312014-09-14 Doug Evans <xdje42@gmail.com>
20632
20633 * gdb.threads/queue-signal.c (thread_count): New variable.
20634 (thread_count_mutex, thread_count_condvar): New variables.
20635 (incr_thread_count, wait_all_threads_running): New functions.
20636 (main): Wait for all threads to be in their thread functions.
20637
81219e53
DE
206382014-09-13 Doug Evans <xdje42@gmail.com>
20639
20640 * gdb.threads/queue-signal.c: New file.
20641 * gdb.threads/queue-signal.exp: New file.
20642
3714cea7
DE
206432014-09-13 Doug Evans <xdje42@gmail.com>
20644
20645 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20646 be consistent with what default_gdb_init uses.
20647 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20648 the plain text of the prompt. Add some logging printfs.
20649 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20650
fa43b1d7
PA
206512014-09-12 Pedro Alves <palves@redhat.com>
20652
20653 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20654 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20655 * gdb.arch/i386-size-overlap.exp: Likewise.
20656 * gdb.arch/i386-size.exp: Likewise.
20657 * gdb.arch/i386-unwind.exp: Likewise.
20658 * gdb.base/a2-run.exp: Likewise.
20659 * gdb.base/break.exp: Likewise.
20660 * gdb.base/charset.exp: Likewise.
20661 * gdb.base/chng-syms.exp: Likewise.
20662 * gdb.base/commands.exp: Likewise.
20663 * gdb.base/dbx.exp: Likewise.
20664 * gdb.base/find.exp: Likewise.
20665 * gdb.base/funcargs.exp: Likewise.
20666 * gdb.base/jit-simple.exp: Likewise.
20667 * gdb.base/reread.exp: Likewise.
20668 * gdb.base/sepdebug.exp: Likewise.
20669 * gdb.base/step-bt.exp: Likewise.
20670 * gdb.cp/mb-inline.exp: Likewise.
20671 * gdb.cp/mb-templates.exp: Likewise.
20672 * gdb.objc/basicclass.exp: Likewise.
20673 * gdb.threads/killed.exp: Likewise.
20674
9d9bf2df
EBM
206752014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20676
20677 PR tdep/17379
20678 * gdb.arch/powerpc-stackless.S: New file.
20679 * gdb.arch/powerpc-stackless.exp: New file.
20680
1cf2f1b0
JK
206812014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20682
20683 * gdb.base/attach.c: Include unistd.h.
20684 (main): Call alarm. Add label postloop.
20685 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20686 gdb_breakpoint, gdb_continue_to_breakpoint.
20687 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20688
98880d46
PA
206892014-09-11 Pedro Alves <palves@redhat.com>
20690
20691 PR gdb/17347
20692 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20693 * gdb.base/attach.exp (test_command_line_attach_run): New
20694 procedure.
20695 (top level): Call it.
20696
4c92ff2c
PA
206972014-09-11 Pedro Alves <palves@redhat.com>
20698
20699 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20700 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20701 (do_command_attach_tests): Use spawn_wait_for_attach.
20702 * gdb.base/solib-overlap.exp: Likewise.
20703 * gdb.multi/multi-attach.exp: Likewise.
20704 * gdb.python/py-prompt.exp: Likewise.
20705 * gdb.python/py-sync-interp.exp: Likewise.
20706 * gdb.server/ext-attach.exp: Likewise.
20707
3adc1a7d
GKB
207082014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20709
20710 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20711 command in testcase. Simplify testcase.
20712
96334934
JB
207132014-09-10 Joel Brobecker <brobecker@adacore.com>
20714
20715 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20716
eb479039
JB
207172014-09-10 Joel Brobecker <brobecker@adacore.com>
20718
20719 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20720
deede10c
JB
207212014-09-10 Joel Brobecker <brobecker@adacore.com>
20722
20723 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20724
7828a5f5
JB
207252014-09-10 Joel Brobecker <brobecker@adacore.com>
20726
20727 * gdb.dwarf2/dynarr-ptr.c: New file.
20728 * gdb.dwarf2/dynarr-ptr.exp: New file.
20729
33aeebcf
MR
207302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20731
20732 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20733 of 30 rather than hardcoding 120 for a slow test case. Take the
20734 `gdb,timeout' target setting into account for this calculation.
20735 Don't extend the timeout for the test cases that don't need it.
20736
7b415901
MR
207372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20738
20739 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20740 a factor of 2 for a slow test case. Take the `gdb,timeout'
20741 target setting into account for this calculation.
20742 * gdb.reverse/until-precsave.exp: Increase the timeout by
20743 a factor of 15 and 3 respectively rather than adding 120
20744 for a pair of slow test cases. Take the `gdb,timeout'
20745 target setting into account for this calculation.
20746
4a40f85a
MR
207472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20748
20749 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20750 timeout, don't pass one down to gdb_expect.
20751 (gdb_expect): Rework timeout selection.
20752
09635af7
MR
207532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20754
20755 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20756 exception on timeout.
20757 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20758 (gdbserver_start_extended): Catch any `gdbserver_start' error
20759 exceptions.
20760 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20761 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20762 `gdbserver_gdb_load' error exceptions.
20763
2bdd10b7
MR
207642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20765
20766 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20767 120 on waiting for the TCP socket to open.
20768
316935f0
DE
207692014-09-09 Doug Evans <xdje42@gmail.com>
20770
20771 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20772 _caller_matches, _any_caller_is, _any_caller_matches.
20773
83740597
DE
207742014-09-09 Doug Evans <xdje42@gmail.com>
20775
20776 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20777
4c122fc3
YQ
207782014-09-09 Yao Qi <yao@codesourcery.com>
20779
20780 * gdb.mi/mi-var-display.exp: Set print symbol off.
20781
a9f116cb
GKB
207822014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20783
20784 PR gdb/17035
20785 * gdb.base/commands.exp: Add tests to verify user-defined
20786 commands with empty bodies.
20787 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20788 python commands in `show user command`.
20789 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20790 scheme commands in `show user command`.
20791
c75bd3a2
JK
207922014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20793
20794 PR python/17355
20795 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20796 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20797 * gdb.python/py-framefilter-invalidarg.exp: New file.
20798 * gdb.python/py-framefilter-invalidarg.py: New file.
20799
faa42425
DE
208002014-09-06 Doug Evans <xdje42@gmail.com>
20801
20802 PR 15276
20803 * gdb.python/py-caller-is.c: New file.
20804 * gdb.python/py-caller-is.exp: New file.
20805
474ca4f6
SDJ
208062014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20807
20808 PR gdb/17235
20809 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20810 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20811
eb0b0463
SDJ
208122014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20813
20814 PR fortran/17237
20815 * gdb.fortran/print-formatted.exp: New file.
20816 * gdb.fortran/print-formatted.f90: Likewise.
20817
5f3b99cf
SS
208182014-09-03 Sasha Smundak <asmundak@google.com>
20819
20820 * gdb.python/py-frame.exp: Test Frame.read_register.
20821
7d793aa9
SDJ
208222014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20823
20824 PR python/16699
20825 * gdb.python/py-completion.exp: New file.
20826 * gdb.python/py-completion.py: Likewise.
20827
fb0576e9
DE
208282014-08-28 Doug Evans <dje@google.com>
20829
20830 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20831 eax,etc. are live with values set by gdb and thus the compiler can't
20832 use them.
20833 * gdb.arch/i386-pseudo.c (main): Ditto.
20834
ee92b0dd
DE
208352014-08-27 Doug Evans <dje@google.com>
20836
20837 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20838
6649db35
DE
208392014-08-25 Doug Evans <dje@google.com>
20840
20841 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20842 (main): Ditto.
20843
564b7600
DE
208442014-08-25 Doug Evans <dje@google.com>
20845
20846 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20847
3881fb67
YQ
208482014-08-24 Yao Qi <yao@codesourcery.com>
20849
20850 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20851 symbol off.
20852 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20853
a05a36a5
DE
208542014-08-22 Doug Evans <dje@google.com>
20855
20856 PR 17276
20857 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20858 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20859 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20860
7c343b48
YQ
208612014-08-22 Yao Qi <yao@codesourcery.com>
20862
20863 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20864 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20865 * gdb.python/python.exp: Likewise. Use .py file on the host
20866 instead of the build.
20867
22fd09ae
JK
208682014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20869
20870 * gdb.threads/gcore-stale-thread.c: New file.
20871 * gdb.threads/gcore-stale-thread.exp: New file.
20872
a8454a7c
PA
208732014-08-21 Pedro Alves <palves@redhat.com>
20874
20875 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20876 * gdb.base/gcore-relro-pie.exp: Likewise.
20877 * gdb.base/gcore-relro.exp: Likewise.
20878 * gdb.base/gcore.exp: Likewise.
20879 * gdb.base/print-symbol-loading.exp: Likewise.
20880 * gdb.threads/gcore-thread.exp: Likewise.
20881 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20882
2a31c623
PA
208832014-08-20 Pedro Alves <palves@redhat.com>
20884 Jan Kratochvil <jan.kratochvil@redhat.com>
20885
20886 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20887 configure.
20888 (EXPECT): Handle READ1 being set.
20889 (all): Depend on EXTRA_RULES.
20890 (check-read1, expect-read1, read1.so, read1): New rules.
20891 * README (Testsuite Parameters): Document the READ1 make variable.
20892 (Race detection): New section.
20893 * configure: Regenerate.
20894 * configure.ac: If build==host==target, and running under a
20895 GNU/glibc system, add read1 to the extra Makefile rules.
20896 (EXTRA_RULES): AC_SUBST it.
20897 * lib/read1.c: New file.
20898
d36430db
JB
208992014-08-20 Joel Brobecker <brobecker@adacore.com>
20900
20901 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20902 the handling of variables declared as a typedef to an array
20903 which a DW_AT_data_location attribute.
20904
9a0dc9e3
PA
209052014-08-19 Andrew Burgess <aburgess@broadcom.com>
20906 Pedro Alves <palves@redhat.com>
20907
20908 PR symtab/14604
20909 PR symtab/14605
20910 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20911 gdb_test.
20912
0718a8da
PA
209132014-08-19 Pedro Alves <palves@redhat.com>
20914
20915 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20916
13b448cd
YQ
209172014-08-19 Yao Qi <yao@codesourcery.com>
20918
20919 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20920 right line.
20921
1cbf5077
DB
209222014-08-18 David Blaikie <dblaikie@gmail.com>
20923
20924 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20925
bf0fae19
JB
209262014-08-18 Joel Brobecker <brobecker@adacore.com>
20927
20928 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20929 attribute in array range.
20930
3c8c5dcc
JB
209312014-08-18 Joel Brobecker <brobecker@adacore.com>
20932
20933 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20934
e66d4446
SC
209352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20936
20937 PR c++/17132
20938 * gdb.cp/pr17132.cc: New file.
20939 * gdb.cp/pr17132.exp: New file.
20940
940df408
SC
209412014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20942
20943 * gdb.python/py-xmethods.py (A_getarrayind)
20944 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20945 Use 'print' with function call syntax.
20946 (E_method_matcher.match): Fix tab vs space indentation mixup.
20947
ebcc6c3a
YQ
209482014-08-15 Yao Qi <yao@codesourcery.com>
20949
20950 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20951 false.
20952
775e0f04
YQ
209532014-08-15 Yao Qi <yao@codesourcery.com>
20954
20955 * gdb.cp/casts.exp: Set print symbol off.
20956 * gdb.cp/class2.exp: Likewise.
20957 * gdb.cp/overload.exp: Likewise.
20958 * gdb.cp/templates.exp: Likewise.
20959
d769e349
DE
209602014-08-11 Doug Evans <dje@google.com>
20961
20962 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20963 (test_load_shlib): Update.
20964
20c6f1e1
YQ
209652014-08-09 Yao Qi <yao@codesourcery.com>
20966
20967 * gdb.base/display.exp: Invoke is_address_zero_readable.
20968 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20969 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20970 * gdb.base/hbreak-unmapped.exp: Return if
20971 is_address_zero_readable returns true.
20972 * gdb.base/signest.exp: Likewise.
20973 * gdb.base/signull.exp: Likewise.
20974 * gdb.base/sigbpt.exp: Likewise.
20975 * gdb.guile/scm-disasm.exp: Do the test if
20976 is_address_zero_readable returns false.
20977 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20978 * gdb.python/py-arch.exp: Likewise.
20979 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20980 * lib/gdb.exp (is_address_zero_readable): New proc.
20981
5792e8e3
YQ
209822014-08-09 Yao Qi <yao@codesourcery.com>
20983
20984 PR testsuite/13443
20985 * gdb.mi/mi-var-display.exp: Make test messages unique.
20986
3cecbbbe
TT
209872014-08-04 Tom Tromey <tromey@redhat.com>
20988
20989 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20990 target 0".
20991
00b51ff5
TT
209922014-08-04 Tom Tromey <tromey@redhat.com>
20993
20994 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20995 "target_resume".
20996
6908c509
JB
209972014-08-01 Joel Brobecker <brobecker@adacore.com>
20998
20999 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21000 inner_vla_struct_object_size.
21001 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21002 as xfail.
21003
cc6563d2
PA
210042014-07-30 Pedro Alves <palves@redhat.com>
21005
21006 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21007 comment.
21008
7e09a223
YQ
210092014-07-29 Yao Qi <yao@codesourcery.com>
21010
21011 PR gdb/17206
21012 * gdb.base/until-nodebug.exp: New.
21013
7ebdbe92
DE
210142014-07-28 Doug Evans <xdje42@gmail.com>
21015
21016 PR guile/17203
21017 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21018 previously existing parameter, and previously ambiguously spelled
21019 parameter.
21020
fdb1adc6
WN
210212014-07-28 Will Newton <will.newton@linaro.org>
21022
21023 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21024
186fcde0
DE
210252014-07-26 Ludovic Courtès <ludo@gnu.org>
21026 Doug Evans <xdje42@gmail.com>
21027
21028 PR guile/17146
21029 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21030
70509625
PA
210312014-07-25 Pedro Alves <palves@redhat.com>
21032
21033 * gdb.threads/signal-command-handle-nopass.c: New file.
21034 * gdb.threads/signal-command-handle-nopass.exp: New file.
21035 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21036 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21037 * gdb.threads/signal-delivered-right-thread.c: New file.
21038 * gdb.threads/signal-delivered-right-thread.exp: New file.
21039
c3f814a1
PA
210402014-07-25 Pedro Alves <palves@redhat.com>
21041
21042 * gdb.base/double-prompt-target-event-error.exp
21043 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21044 match.
21045 (cancel_pagination_in_target_event): Rework double prompt
21046 detection.
21047 * gdb.base/paginate-after-ctrl-c-running.exp
21048 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21049 <return>' match.
21050 * gdb.base/paginate-bg-execution.exp
21051 (test_bg_execution_pagination_return)
21052 (test_bg_execution_pagination_cancel): Remove '-notransfer
21053 <return>' matches.
21054 * gdb.base/paginate-execution-startup.exp
21055 (test_fg_execution_pagination_return)
21056 (test_fg_execution_pagination_cancel): Remove '-notransfer
21057 <return>' matches.
21058 * gdb.base/paginate-inferior-exit.exp
21059 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21060 match.
21061 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21062 * lib/gdb.exp (pagination_prompt): Run text through
21063 string_to_regexp.
21064 (gdb_test_multiple): Match $pagination_prompt instead of
21065 "<return>".
21066 (string_to_regexp): Move to lib/gdb-utils.exp.
21067
e214cf6c
JK
210682014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21069
21070 * gdb.arch/amd64-entry-value-paramref.S: New file.
21071 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21072 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21073 * gdb.arch/amd64-optimout-repeat.S: New file.
21074 * gdb.arch/amd64-optimout-repeat.c: New file.
21075 * gdb.arch/amd64-optimout-repeat.exp: New file.
21076
17d0c5c8
JK
210772014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21078
21079 PR gdb/17170
21080 * gdb.base/statistics.exp: New file.
21081
b8b8facf
DE
210822014-07-17 Doug Evans <dje@google.com>
21083
74b49205 21084 PR gdb/17170
b8b8facf
DE
21085 * gdb.base/maint.exp: Update testing of per-command stats.
21086
1b5d0ab3
PA
210872014-07-16 Pedro Alves <palves@redhat.com>
21088
21089 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21090 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21091 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21092 (tfile_write_buf): New functions.
21093 (add_memory_block): Rewrite using the above.
21094 (adjust_function_address): New function.
21095 (FUNCTION_ADDRESS): New macro.
21096 (write_basic_trace_file): Remove short_x local, and use
21097 tfile_write_16. Change type of func_addr local to unsigned long
21098 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21099 here. Cast argument of add_memory_block to char pointer.
21100 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21101 (main): Remove parameters.
21102 * gdb.trace/tfile.exp: Remove nowarnings.
21103
4d974e88
SM
211042014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21105
21106 * gdb.base/debug-expr.exp: Test string evaluation with
21107 "debug expression" on.
21108
41e99568
PA
211092014-07-15 Pedro Alves <palves@redhat.com>
21110
21111 * gdb.base/reread.exp: Use clean_restart.
21112
487d9753
PL
211132014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21114
21115 * gdb.arch/avr-flash-qualifer.c: New.
21116 * gdb.arch/avr-flash-qualifer.exp: New.
21117
cc1c52ad
PA
211182014-07-14 Pedro Alves <palves@redhat.com>
21119
21120 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21121 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21122
1e973570
PA
211232014-07-14 Pedro Alves <palves@redhat.com>
21124
21125 * gdb.base/double-prompt-target-event-error.c: New file.
21126 * gdb.base/double-prompt-target-event-error.exp: New file.
21127
93d6eb10
PA
211282014-07-14 Pedro Alves <palves@redhat.com>
21129
21130 PR gdb/17072
21131 * gdb.base/paginate-inferior-exit.c: New file.
21132 * gdb.base/paginate-inferior-exit.exp: New file.
21133
0017922d
PA
211342014-07-14 Pedro Alves <palves@redhat.com>
21135
21136 PR gdb/17072
21137 * gdb.base/paginate-bg-execution.c: New file.
21138 * gdb.base/paginate-bg-execution.exp: New file.
21139
94696ad3
PA
211402014-07-14 Pedro Alves <palves@redhat.com>
21141
21142 PR gdb/17072
21143 * gdb.base/paginate-execution-startup.c: New file.
21144 * gdb.base/paginate-execution-startup.exp: New file.
21145 * lib/gdb.exp (pagination_prompt): New global.
21146 (default_gdb_spawn): New procedure, factored out from
21147 default_gdb_spawn.
21148 (default_gdb_start): Adjust to call default_gdb_spawn.
21149 (gdb_spawn): New procedure.
21150
bd293940
PA
211512014-07-14 Pedro Alves <palves@redhat.com>
21152
21153 * lib/gdb.exp (gdb_assert): New procedure.
21154 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21155
c933f875
PA
211562014-07-14 Pedro Alves <palves@redhat.com>
21157
21158 * gdb.base/execution-termios.c: New file.
21159 * gdb.base/execution-termios.exp: New file.
21160
d98b7a16
TT
211612014-07-14 Tom Tromey <tromey@redhat.com>
21162
21163 * gdb.cp/vla-cxx.cc: New file.
21164 * gdb.cp/vla-cxx.exp: New file.
21165
548740d6
TT
211662014-07-14 Tom Tromey <tromey@redhat.com>
21167
21168 * gdb.reverse/rerun-prec.c: New file.
21169 * gdb.reverse/rerun-prec.exp: New file.
21170
a25eb028
MR
211712014-07-12 Maciej W. Rozycki <macro@mips.com>
21172 Maciej W. Rozycki <macro@codesourcery.com>
21173
21174 * lib/gdb-utils.exp: New file.
21175 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21176 inline `gdb_init_command' processing.
21177 (gdb_start_cmd): Likewise.
21178 * lib/mi-support.exp (mi_run_cmd): Likewise.
21179 * README: Document `gdb_init_command' and `gdb_init_commands'.
21180
218c2655
JK
211812014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21182
21183 Fix false FAIL running under a very long directory name.
21184 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21185 and "set print elements 10000". Twice.
21186
5401fde3
YQ
211872014-07-11 Yao Qi <yao@codesourcery.com>
21188
21189 * gdb.base/exprs.exp: "set print symbol off".
21190
e76126e8
PA
211912014-07-11 Pedro Alves <palves@redhat.com>
21192
21193 * gdb.threads/kill.c: New file.
21194 * gdb.threads/kill.exp: New file.
21195
2d6f0de6
YQ
211962014-07-10 Yao Qi <yao@codesourcery.com>
21197
21198 * gdb.trace/tfile.c (write_basic_trace_file)
21199 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21200 address written to trace file.
21201
7180e04a
PA
212022014-07-09 Pedro Alves <palves@redhat.com>
21203
21204 * gdb.base/attach-wait-input.exp: New file.
21205 * gdb.base/attach-wait-input.c: New file.
21206
9a9a7608
AB
212072014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21208
21209 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21210 setting up test structures.
21211 (main): Call new test function.
21212 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21213 test function, continue into test function and walk test
21214 structures.
21215
161ac41e
YQ
212162014-07-02 Yao Qi <yao@codesourcery.com>
21217
21218 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21219 'bar_start' at the beginning of functions 'foo' and 'bar'
21220 respectively.
21221 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21222 instead of 'foo' and 'bar'.
21223
1f267ae3
MM
212242014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21225
21226 * gdb.btrace/segv.exp: New.
21227 * gdb.btrace/segv.c: New.
21228
2b239efb
LM
212292014-07-02 Luis Machado <lgustavo@codesourcery.com>
21230
21231 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21232 instruction.
21233
cf363f18
MW
212342014-06-30 Mark Wielaard <mjw@redhat.com>
21235
21236 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21237 vulture, vilify, villar): New volatile array constants.
21238 (vindictive, vegetation): New const volatile array constants.
21239 * gdb.base/volatile.exp: Test volatile and const volatile array
21240 types.
21241
aebf9d24
AA
212422014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21243
21244 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21245 target lacks support for awatch, rwatch, or hbreak.
21246
b67a2c6f
YQ
212472014-06-27 Yao Qi <yao@codesourcery.com>
21248
21249 * gdb.multi/dummy-frame-restore.exp: New.
21250 * gdb.multi/dummy-frame-restore.c: New.
21251
aef92902
MM
212522014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21253
21254 * gdb.btrace/gcore.exp: New.
21255
8e9db26e
PA
212562014-06-23 Pedro Alves <palves@redhat.com>
21257
21258 * gdb.base/watchpoint-reuse-slot.c: New file.
21259 * gdb.base/watchpoint-reuse-slot.exp: New file.
21260
70afc5b7
SC
212612014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21262
21263 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21264 progspace's filename in 'info', 'enable' and 'disable' command
21265 tests.
21266
b972bd9c
JK
212672014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21268
21269 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21270 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21271 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21272
125f8a3d
GB
212732014-06-20 Gary Benson <gbenson@redhat.com>
21274
21275 * gdb.arch/i386-avx.exp: Fix include file location.
21276 * gdb.arch/i386-sse.exp: Likewise.
21277
3ed9baed
IB
212782014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21279
21280 * gdb.dlang/expression.exp: New file.
21281
034f788c
PA
212822014-06-19 Pedro Alves <palves@redhat.com>
21283
21284 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21285 out from ...
21286 (top level): ... here. Iterate running tests under different
21287 scheduler-locking settings.
21288
45371d0c
LM
212892014-06-18 Luis Machado <lgustavo@codesourcery.com>
21290
21291 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21292 to DW_FORM_addr and use non-zero addresses.
21293
5d376983
SC
212942014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21295
21296 PR gdb/17017
21297 * gdb.python/py-xmethods.cc: Add global function call counters and
21298 increment them in their respective functions. Remove "cout"
21299 statements.
21300 * gdb.python/py-xmethods.exp: Make tests check the global function
21301 call counters instead of depending on inferior IO.
21302
a1aa2221
LM
213032014-06-18 Don Breazeal <donb@codesourcery.com>
21304
21305 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21306 Deleted procedure.
21307 (explicit_fork_parent_follow): Deleted procedure.
21308 (explicit_fork_child_follow): Deleted procedure.
21309 (test_follow_fork): New procedure.
21310 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21311 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21312 procedure calls.
21313
0fc05997
YQ
213142014-06-17 Yao Qi <yao@codesourcery.com>
21315
21316 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21317 CP1252.
21318
70795c52
LM
213192014-06-17 Luis Machado <lgustavo@codesourcery.com>
21320
21321 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21322 Initialize ptr and S explicitly.
21323 (skip_type_update_when_not_use_rtti_test): Likewise.
21324
6be47f0c
KS
213252014-06-16 Keith Seitz <keiths@redhat.com>
21326
21327 PR mi/15863
21328 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21329 the inferior is started.
21330
d03de421
PA
213312014-06-16 Pedro Alves <palves@redhat.com>
21332
21333 * gdb.base/break-main-file-remove-fail.c: New file.
21334 * gdb.base/break-main-file-remove-fail.exp: New file.
21335 * gdb.base/break-unload-file.exp: Use build_executable instead of
21336 prepare_for_testing.
21337 (test_break): New parameter "initial_load". Handle it.
21338 (top level): Add initial_load cmdline/file axis.
21339
f9579b99
TT
213402014-06-12 Tom Tromey <tromey@redhat.com>
21341
21342 * gdb.base/completion.exp: Don't use directory name in test.
21343
3657956b
GB
213442014-06-09 Gary Benson <gbenson@redhat.com>
21345
21346 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21347 separate the always-available ANSI-standard signals from the
21348 signals that require checking.
21349 (main): Likewise.
21350 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21351 Likewise.
21352 (main): Likewise.
21353
4186eb54
KS
213542014-06-07 Keith Seitz <keiths@redhat.com>
21355
21356 Revert:
21357 PR c++/16253
21358 * gdb.cp/var-tag.cc: New file.
21359 * gdb.cp/var-tag.exp: New file.
21360 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21361 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21362 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21363 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21364
25326a28 213652014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21366
21367 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21368
829155c9
PA
213692014-06-06 Pedro Alves <palves@redhat.com>
21370
21371 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21372 in target debug output instead of looking at RSP packets,
21373 disabling the test on any target that uses hardware stepping.
21374 Update comments.
21375
61c8d22e
PA
213762014-06-06 Pedro Alves <palves@redhat.com>
21377
21378 * gdb.base/break-unload-file.exp: Fix typo.
21379
d9a47287
YQ
213802014-06-06 Yao Qi <yao@codesourcery.com>
21381
21382 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21383 from "jit_function" to "^jit_function".
21384
e5e01dbf
YQ
213852014-06-06 Yao Qi <yao@codesourcery.com>
21386
21387 * gdb.base/async.c (foo): Add one statement.
21388 * gdb.base/async.exp: Get the next instruction address and
21389 match the output of "nexti" by instruction address. Match
21390 the hex address in the output of "finish".
21391
73ba372c
GB
213922014-06-06 Gary Benson <gbenson@redhat.com>
21393
21394 * gdb.base/call-signals.c: Remove preprocessor conditionals
21395 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21396 SIGSEGV and SIGTERM.
21397 * gdb.base/sigall.c: Likewise.
21398 * gdb.base/unwindonsignal.c: Likewise.
21399 * gdb.reverse/sigall-reverse.c: Likewise.
21400
831517df
YQ
214012014-06-06 Yao Qi <yao@codesourcery.com>
21402
21403 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21404 readable, skip the test.
21405
b8b91e98
YQ
214062014-06-06 Yao Qi <yao@codesourcery.com>
21407
21408 * gdb.threads/staticthreads.c (thread_function): Move the line
21409 setting breakpoint on forward.
21410 * gdb.threads/staticthreads.exp: Update comments.
21411
fb934770
LC
214122014-06-05 Ludovic Courtès <ludo@gnu.org>
21413
21414 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21415 "history-append! type error".
21416
6ef284bd
SM
214172014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21418
21419 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21420 erroneous dprintf expected input.
21421
a872e241
DE
214222014-06-04 Doug Evans <xdje42@gmail.com>
21423
21424 * gdb.guile/scm-generics.exp: Delete.
21425
16f691fb
DE
214262014-06-04 Doug Evans <xdje42@gmail.com>
21427
21428 * gdb.guile/scm-breakpoint.exp: Update.
21429 Add tests for breakpoint registration.
21430
012370f6
TT
214312014-06-04 Tom Tromey <tromey@redhat.com>
21432
21433 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21434 VLA-in-union.
21435 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21436 inner_vla_struct, vla_union types. Initialize objects of those
21437 types and compute their sizes.
21438
9f5a4cef
HZ
214392014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21440 Hui Zhu <hui@codesourcery.com>
21441
21442 * gdb.base/fileio.exp: Add test for shell not available as well as
21443 available.
21444 * gdb.base/fileio.c (test_system): Check for shell twice.
21445
90a45c4d
YQ
214462014-06-04 Yao Qi <yao@codesourcery.com>
21447
21448 * gdb.base/auto-connect-native-target.exp: Remove redundant
21449 space from the regexp pattern.
21450
70017e41
YQ
214512014-06-04 Yao Qi <yao@codesourcery.com>
21452
21453 * gdb.base/default.exp: Replace "child" with "native" in
21454 regexp pattern.
21455
883964a7
SC
214562014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21457
21458 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21459 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21460 * gdb.python/py-xmethods.py: Python script supporting the
21461 new testcase and tests.
21462
ef370185
JB
214632014-06-03 Joel Brobecker <brobecker@adacore.com>
21464 Pedro Alves <palves@redhat.com>
21465
21466 PR breakpoints/17000
21467 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21468 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21469
1e2ccb61
BM
214702014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21471
21472 * gdb.base/subst.exp: Add tests to verify partial path matching
21473 output.
21474
c6ec5ab2
PA
214752014-06-03 Pedro Alves <palves@redhat.com>
21476
21477 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21478 target that doesn't use software single-stepping.
21479
835c559f
PA
214802014-06-03 Pedro Alves <palves@redhat.com>
21481
21482 PR breakpoints/17000
21483 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21484 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21485
06eb1586
DE
214862014-06-02 Doug Evans <xdje42@gmail.com>
21487
21488 * gdb.guile/scm-parameter.exp: New file.
21489
e698b8c4
DE
214902014-06-02 Doug Evans <xdje42@gmail.com>
21491
21492 * gdb.guile/scm-cmd.c: New file.
21493 * gdb.guile/scm-cmd.exp: New file.
21494
ded03782
DE
214952014-06-02 Doug Evans <xdje42@gmail.com>
21496
21497 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21498 pretty-printer lookup.
21499 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21500 (make-pp_s-printer): Call it.
21501 (make-pretty-printer-from-dict): New function.
21502 (lookup-pretty-printer-maker-from-dict): New function.
21503 (*pretty-printer*): Simplify.
21504 (make-objfile-pp_s-printer): New function.
21505 (install-objfile-pretty-printers!): New function.
21506 (make-progspace-pp_s-printer): New function.
21507 (install-progspace-pretty-printers!): New function.
21508 * gdb.guile/scm-progspace.c: New file.
21509 * gdb.guile/scm-progspace.exp: New file.
21510
41fac0cf
PA
215112014-06-02 Pedro Alves <palves@redhat.com>
21512
21513 * gdb.base/dprintf-bp-same-addr.c: New file.
21514 * gdb.base/dprintf-bp-same-addr.exp: New file.
21515
96ae5695
EBM
215162014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21517
21518 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21519 * gdb.arch/powerpc-power.s: Likewise.
21520
da02b3a8
JB
215212014-06-02 Joel Brobecker <brobecker@adacore.com>
21522
21523 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21524
c72b2e7b
YQ
215252014-06-01 Yao Qi <yao@codesourcery.com>
21526
21527 * gdb.base/watchpoint.exp (test_watch_location): Check null
21528 pointer can be dereferenced. If not, do the test, otherwise
21529 skip it.
21530
53e8a631
AB
215312014-05-30 Andrew Burgess <aburgess@broadcom.com>
21532
21533 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21534 results.
21535 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21536
938f0e2f
AB
215372014-05-30 Andrew Burgess <aburgess@broadcom.com>
21538
21539 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21540 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21541 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21542 * gdb.arch/amd64-invalid-stack-top.c: New file.
21543 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21544
9ba6657a
PA
215452014-05-30 Pedro Alves <palves@redhat.com>
21546
21547 PR breakpoints/17000
21548 * gdb.base/sss-bp-on-user-bp.c: New file.
21549 * gdb.base/sss-bp-on-user-bp.exp: New file.
21550
522c09bf
DB
215512014-05-30 David Blaikie <dblaikie@gmail.com>
21552
21553 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21554 gnu_inline semantics via attribute.
21555 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21556 source explicitly specifies the required semantics.
21557
bf4ef81e
MR
215582014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21559
21560 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21561
329ea579
PA
215622014-05-29 Pedro Alves <palves@redhat.com>
21563 Tom Tromey <tromey@redhat.com>
21564
21565 * gdb.base/async-shell.exp: Don't enable target-async.
21566 * gdb.base/async.exp
21567 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21568 parameter. Adjust.
21569 (top level): Don't test with "target-async".
21570 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21571 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21572 * gdb.base/inferior-died.exp: Don't enable target-async.
21573 * gdb.base/interrupt-noterm.exp: Likewise.
21574 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21575 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21576 * gdb.mi/mi-nonstop.exp: Likewise.
21577 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21578 * gdb.mi/mi-nsintrall.exp: Likewise.
21579 * gdb.mi/mi-nsmoribund.exp: Likewise.
21580 * gdb.mi/mi-nsthrexec.exp: Likewise.
21581 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21582 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21583 * gdb.python/py-evsignal.exp: Don't enable target-async.
21584 * gdb.python/py-evthreads.exp: Likewise.
21585 * gdb.python/py-prompt.exp: Likewise.
21586 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21587 * gdb.server/solib-list.exp: Don't enable target-async.
21588 * gdb.threads/thread-specific-bp.exp: Likewise.
21589 * lib/mi-support.exp: Adjust to use mi-async.
21590
fd664c91
PA
215912014-05-29 Pedro Alves <palves@redhat.com>
21592
21593 PR gdb/13860
21594 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21595 reason, even in sync mode.
21596
251bde03
PA
215972014-05-29 Pedro Alves <palves@redhat.com>
21598 Hui Zhu <hui@codesourcery.com>
21599
21600 PR PR15693
21601 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21602 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21603 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21604 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21605
7f3c0343
JB
216062014-05-28 Joel Brobecker <brobecker@adacore.com>
21607
21608 * config/monitor.exp (gdb_target_monitor): Replace use of
21609 "set remotebaud" by "set serial baud".
21610
b2715b27
AW
216112014-05-26 Andy Wingo <wingo@igalia.com>
21612
21613 * gdb.guile/scm-breakpoint.exp:
21614 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21615 properties instead of gdb-object-properties.
21616
498a4489
YQ
216172014-05-26 Yao Qi <yao@codesourcery.com>
21618
21619 * gdb.server/no-thread-db.exp: Specify source file name
21620 explicitly when setting a breakpoint.
21621
589fdceb
MM
216222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21623
21624 * gdb.btrace/vdso.c: New.
21625 * gdb.btrace/vdso.exp: New.
21626
e9089e05
MM
216272014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21628
21629 * gdb.base/gcore.exp (capture_command_output): Move ...
21630 * lib/gdb.exp (capture_command_output): ... here.
21631
67b5c0c1
MM
216322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21633
21634 * gdb.btrace/data.exp: Test memory access during btrace replay.
21635
a2199296
SM
216362014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21637
21638 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21639
17b2616c
PA
216402014-05-21 Pedro Alves <palves@redhat.com>
21641
21642 PR gdb/13860
21643 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21644 (top level): Test that output related to execution commands is
21645 sent to the console with CLI commands, but not with MI commands.
21646 Test that breakpoint events are always mirrored to the console.
21647 Also expect the new source line to be output after a "next" in
21648 async mode too. Make it a pass/fail test.
21649 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21650 output.
21651 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21652
5166082f
PA
216532014-05-21 Pedro Alves <palves@redhat.com>
21654
21655 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21656 Use them to test variations of "list" after reaching a breakpoint.
21657 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21658 Test "list" with listsize 10 after reaching a breakpoint.
21659 * gdb.python/python.exp (decode_line current location line
21660 number): Adjust expected line number.
21661
2f25d70f
SM
216622014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21663
21664 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21665 behavior for $args, pass it directly to "run".
21666
ff604a67
MR
216672014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21668
21669 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21670 30000 to 65536.
21671
6a3cb8e8
PA
216722014-05-21 Pedro Alves <palves@redhat.com>
21673
21674 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21675 auto-connect-native-target off".
21676 * gdb.base/auto-connect-native-target.c: New file.
21677 * gdb.base/auto-connect-native-target.exp: New file.
21678
4ebfc96e
PA
216792014-05-21 Pedro Alves <palves@redhat.com>
21680
21681 * gdb.base/default.exp: Test "target native" instead of "target
21682 child".
21683
36d46afb
MW
216842014-05-21 Mark Wielaard <mjw@redhat.com>
21685
21686 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21687
5876f503
JK
216882014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21689
21690 Fix TLS access for -static -pthread.
21691 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21692 <HAVE_TLS> (thread_function, main): Initialize it.
21693 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21694 Add clean_restart.
21695 <$have_tls != "">: Check TLSVAR.
21696
0256a6ac
PA
216972014-05-21 Pedro Alves <palves@redhat.com>
21698
21699 * gdb.base/dcache-line-read-error.c: New.
21700 * gdb.base/dcache-line-read-error.exp: New.
21701
936d2992
PA
217022014-05-20 Pedro Alves <palves@redhat.com>
21703
21704 * gdb.base/compare-sections.c: New file.
21705 * gdb.base/compare-sections.exp: New file.
21706
802e8e6d
PA
217072014-05-20 Pedro Alves <palves@redhat.com>
21708
21709 * gdb.base/break-idempotent.c: New file.
21710 * gdb.base/break-idempotent.exp: New file.
21711
e59fa00f
MM
217122014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21713
21714 * gdb.btrace/nohist.exp: New.
21715
8b696e31
YQ
217162014-05-20 Yao Qi <yao@codesourcery.com>
21717
21718 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21719 gdb.reverse directory and gdb_reverse_timeout exists in board
21720 setting.
21721 * README: Document gdb_reverse_timeout.
21722
73c9764f
YQ
217232014-05-20 Yao Qi <yao@codesourcery.com>
21724
21725 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21726 'test_file_name'. Treat args as a string instead of a list.
21727 (gdb_init): Rename argument 'args' by 'test_file_name'.
21728
f1f4348a
JK
217292014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21730
21731 * gdb.arch/powerpc-power.exp: New file.
21732 * gdb.arch/powerpc-power.s: New file.
21733
0dbe70ce
DE
217342014-05-16 Doug Evans <dje@google.com>
21735
21736 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21737 * gdb.base/completion.exp: Check that all expected files exist
21738 before doing file completion.
0dbe70ce 21739
8d551b02
DE
217402014-05-16 Doug Evans <dje@google.com>
21741
21742 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21743 Update.
21744 (do_syscall_tests_without_xml): Update.
21745
73eb7709
PA
217462014-05-16 Pedro Alves <palves@redhat.com>
21747
21748 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21749 instead of "unknown output after running".
21750
3fae92fc
YQ
217512014-05-16 Yao Qi <yao@codesourcery.com>
21752
21753 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21754 file1.txt from host at the end.
21755 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21756
c2b2ccc5
DE
217572014-05-15 Doug Evans <dje@google.com>
21758
21759 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21760 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21761 loading file. Add test for TU lookup.
21762
8c217a4b
SM
217632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21764
21765 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21766 calling "-exec-arguments" or "set args" before running the
21767 inferior.
21768
3deb39c6
SM
217692014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21770
21771 * lib/mi-support.exp (mi_expect_stop): Expect message for
21772 inferiors that exit with non-zero exit code.
21773
71a79f8c
YQ
217742014-05-14 Yao Qi <yao@codesourcery.com>
21775
21776 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21777 match absolute path on remote host.
21778 (test_file_list_exec_source_files): Remove "/" from the
21779 pattern.
21780
f23fcd46
YQ
217812014-05-14 Yao Qi <yao@codesourcery.com>
21782
21783 * boards/local-remote-host-notty.exp (${board}_file): New
21784 proc.
21785
9404b58f
KM
217862014-05-07 Kyle McMartin <kyle@redhat.com>
21787
21788 Pushed by Joel Brobecker <brobecker@adacore.com>.
21789 * gdb.arch/aarch64-atomic-inst.c: New file.
21790 * gdb.arch/aarch64-atomic-inst.exp: New file.
21791
5e45f04c
YQ
217922014-05-07 Yao Qi <yao@codesourcery.com>
21793
21794 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21795 in current context" too.
21796
c888a17d
KS
217972014-05-05 Keith Seitz <keiths@redhat.com>
21798
21799 * gdb.linespec/ls-dollar.exp: Add test for linespec
21800 file:convenience_variable.
21801
290a839c
YQ
218022014-05-05 Yao Qi <yao@codesourcery.com>
21803
21804 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21805 traceframes into tfile and ctf trace files. Read data from
21806 trace file and test collected data.
21807 (gdb_collect_locals_test): Likewise.
21808 (gdb_unavailable_registers_test): Likewise.
21809 (gdb_unavailable_floats): Likewise.
21810 (gdb_collect_globals_test): Likewise.
21811 (top-level): Append "ctf" to trace_file_targets if GDB
21812 supports.
21813
b5262cd0
YQ
218142014-05-05 Yao Qi <yao@codesourcery.com>
21815
21816 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21817 code to ...
21818 (gdb_collect_args_test_1): ... it. New proc.
21819 (gdb_collect_locals_test): Move some code to ...
21820 (gdb_collect_locals_test_1): ... it. New proc.
21821 (gdb_unavailable_registers_test): Move some code to ...
21822 (gdb_unavailable_registers_test_1): ... it. New proc.
21823 (gdb_unavailable_floats): Move some code to ...
21824 (gdb_unavailable_floats_1): ... it. New proc.
21825
30a1e6cc
SDJ
218262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21827
21828 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21829 probes to test for bitness recognition.
21830 * gdb.arch/amd64-stap-optional-prefix.exp
21831 (test_probe_value_without_reg): New procedure.
21832 Add code to test for different kinds of bitness.
21833
f33da99a
SDJ
218342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21835
21836 PR breakpoints/16889
21837 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21838 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21839
5b80f00d
PA
218402014-05-01 Pedro Alves <palves@redhat.com>
21841
21842 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21843 gdb_file_cmd if no file is specified.
21844 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21845 last_loaded_file to set the remote exec-file.
21846
f8c2a73c
PA
218472014-05-01 Pedro Alves <palves@redhat.com>
21848
21849 * boards/local-remote-host.exp: New file.
21850
be6e8ac7
PA
218512014-05-01 Pedro Alves <palves@redhat.com>
21852
21853 * boards/local-remote-host.exp: Rename to ...
21854 * boards/local-remote-host-notty.exp: ... this.
21855
cac0dc8f
JB
218562014-04-28 Joel Brobecker <brobecker@adacore.com>
21857
21858 * gdb.ada/dyn_arrayidx: New testcase.
21859
9730e6cc
YQ
218602014-04-26 Yao Qi <yao@codesourcery.com>
21861
21862 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21863 and compute the length of function main. Save it in
21864 $main_length.
21865 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21866 (top-level): Use gdb_compile to compile objects into
21867 executable and restart GDB. Remove invocation to
21868 prepare_for_testing.
21869
7ae1a6a6
PA
218702014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21871 Pedro Alves <palves@redhat.com>
21872
21873 PR server/16255
21874 * gdb.multi/multi-attach.c: New file.
21875 * gdb.multi/multi-attach.exp: New file.
21876
4082afcc
PA
218772014-04-25 Pedro Alves <palves@redhat.com>
21878
21879 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21880 user.
21881 (top level): Test that "set remote conditional-breakpoints-packet
21882 off" works as intended.
21883 * gdb.base/dprintf.exp: Test that "set remote
21884 breakpoint-commands-packet off" works as intended.
21885 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21886 New function.
21887 (top level): Call it.
21888 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21889 remote fast-tracepoints-packet off" works as intended.
21890 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21891 * lib/gdb.exp (gdb_is_target_remote): ... here.
21892
2abc3f8d
DB
218932014-04-24 David Blaikie <dblaikie@gmail.com>
21894
21895 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21896 ensure clang would not discard them.
21897 * gdb.base/gdbvars.c: Ditto.
21898 * gdb.base/memattr.c: Ditto.
21899 * gdb.base/whatis.c: Ditto.
21900 * gdb.python/py-prettyprint.c: Ditto.
21901 * gdb.trace/actions.c: Ditto.
21902 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21903 ensure clang would not discard it.
21904
bfd39632
DB
219052014-04-24 David Blaikie <dblaikie@gmail.com>
21906
21907 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21908 clang to emit the full definition of type required by the test
21909 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21910
22842ff6
DB
219112014-04-24 David Blaikie <dblaikie@gmail.com>
21912
21913 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21914 coax Clang into emitting the definition of the type.
21915 * gdb.cp/pr10728-x.h (y): Ditto.
21916 * gdb.cp/pr10728-y.cc (y): Ditto.
21917
c2e827ad
DB
219182014-04-24 David Blaikie <dblaikie@gmail.com>
21919
21920 * gdb.base/label.exp: XFAIL label related tests under Clang.
21921 * gdb.cp/cplabel.exp: Ditto.
21922 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21923 under Clang those using labels.
21924
4c2d33e7
YQ
219252014-04-25 Yao Qi <yao@codesourcery.com>
21926
21927 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21928 double_label.
21929 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21930 partial_label and double_label.
21931
56083b99
DB
219322014-04-24 David Blaikie <dblaikie@gmail.com>
21933
21934 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21935
25d4e99d
DB
219362014-04-24 David Blaikie <dblaikie@gmail.com>
21937
21938 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21939 of the function to work across GCC and Clang.
21940 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21941 pointer types (const void ** const V void **).
21942
01f9f808
MS
219432014-04-24 Michael Sturm <michael.sturm@mintel.com>
21944 Walfred Tedeschi <walfred.tedeschi@intel.com>
21945
21946 * Makefile.in (EXECUTABLES): Added i386-avx512.
21947 * gdb.arch/i386-avx512.c: New file.
21948 * gdb.arch/i386-avx512.exp: Likewise.
21949
4b48d439
KS
219502014-04-23 Keith Seitz <keiths@redhat.com>
21951
21952 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21953 (mi_make_breakpoint_table): New procedure.
21954 (mi_create_breakpoint): Use mi_make_breakpoint
21955 and return the result.
21956 (mi_make_breakpoint): New procedure.
21957 (mi_build_kv_pairs): New procedure.
21958
21959 * gdb.mi/mi-break.exp: Remove unused globals,
21960 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21961 All callers updated.
21962 * gdb.mi/mi-dprintf.exp: Use variable to track command
21963 number.
21964 Update all callers of mi_create_breakpoint and use
21965 mi_make_breakpoint_table.
21966 Remove any unused global variables.
21967 * gdb.mi/mi-nonstop.exp: Likewise.
21968 * gdb.mi/mi-nsintrall.exp: Likewise.
21969 * gdb.mi/mi-nsmoribund.exp: Likewise.
21970 * gdb.mi/mi-nsthrexec.exp: Likewise.
21971 * gdb.mi/mi-reverse.exp: Likewise.
21972 * gdb.mi/mi-simplerun.exp: Likewise.
21973 * gdb.mi/mi-stepn.exp: Likewise.
21974 * gdb.mi/mi-syn-frame.exp: Likewise.
21975 * gdb.mi/mi-until.exp: Likewise.
21976 * gdb.mi/mi-var-cp.exp: Likewise.
21977 * gdb.mi/mi-var-display.exp: Likewise.
21978 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21979 * gdb.mi/mi2-var-child.exp: Likewise.
21980 * gdb.mi/mi-vla-c99.exp: Likewise.
21981 * lib/mi-support.exp: Likewise.
21982
21983 From Ian Lance Taylor <iant@cygnus.com>:
21984 * lib/gdb.exp (parse_args): New procedure.
21985
08351840
PA
219862014-04-23 Pedro Alves <palves@redhat.com>
21987
21988 * gdb.base/break-unload-file.c: New file.
21989 * gdb.base/break-unload-file.exp: New file.
21990 * gdb.base/sym-file-lib.c (baz): New function.
21991 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21992 field.
21993 (load): Store the segment's mapped size.
21994 (unload): New function.
21995 (unload_shlib): New function.
21996 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21997 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21998 set a breakpoint at baz, and call it.
21999 * gdb.base/sym-file.exp: New tests for stale breakpoint
22000 instructions.
22001
076855f9
PA
220022014-04-23 Pedro Alves <palves@redhat.com>
22003
22004 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22005 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22006 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22007 * gdb.base/hbreak-unmapped.c: New file.
22008 * gdb.base/hbreak-unmapped.exp: New file.
22009 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22010 * lib/gdb.exp (gdb_is_target_remote): ... here.
22011
483805cf
PA
220122014-04-22 Pedro Alves <palves@redhat.com>
22013
22014 * gdb.base/consecutive-step-over.c: New file.
22015 * gdb.base/consecutive-step-over.exp: New file.
22016
06d97543
PA
220172014-04-22 Pedro Alves <palves@redhat.com>
22018
22019 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22020 instead of send_gdb/gdb_expect.
22021
b4429ea2
YQ
220222014-04-22 Yao Qi <yao@codesourcery.com>
22023
22024 * lib/trace-support.exp (generate_tracefile): New procedure.
22025 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22026 return 0.
22027 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22028 if generate_tracefile returns 1.
22029
51d48146
PA
220302014-04-18 Tom Tromey <palves@redhat.com>
22031 Pedro alves <tromey@redhat.com>
22032
22033 PR backtrace/15558
22034 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22035 with a backtrace limit.
22036 * gdb.python/py-frame-inline.exp: Test running to an inline
22037 function with a backtrace limit, and printing the newest frame.
22038 * gdb.python/py-frame-inline.c (main): Call f.
22039
bd1dce5f
MS
220402014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22041
22042 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22043
40d1a503
MS
220442014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22045
22046 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22047 Drop prefix from unsupported source file path.
22048
389b98f7
YQ
220492014-04-17 Yao Qi <yao@codesourcery.com>
22050
22051 * lib/gdb.exp (with_target_charset): New proc.
22052 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22053 with_target_charset.
22054 (test_print_strings): Likewise.
22055 (test_repeat_bytes): Likewise.
22056 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22057 for some tests.
22058
22869d73
KS
220592014-04-16 Keith Seitz <keiths@redhat.com>
22060
22061 PR gdb/15827
22062 * gdb.dwarf2/corrupt.c: New file.
22063 * gdb.dwarf2/corrupt.exp: New file.
22064
c4f87ca6
KS
220652014-04-16 Keith Seitz <keiths@redhat.com>
22066
22067 PR c++/16597
22068 * gdb.cp/namelessclass.cc: New file.
22069 * gdb.cp/namelessclass.exp: New file.
22070 * gdb.cp/namelessclass.S: New file.
22071
ab19de87
DE
220722014-04-16 Doug Evans <dje@google.com>
22073
22074 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22075 Add comment.
22076 (gdbserver_default_get_comm_port): New function.
22077 (gdbserver_start): Check if board file provided
22078 "gdbserver,get_comm_port" and use it if so.
22079 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22080 (gdb,socketport): Set to "stdio".
22081 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22082 (stdio_gdbserver_template): Delete.
22083 (${board}_get_remote_address): Update.
22084 (${board}_build_remote_cmd): Delete.
22085 (${board}_get_comm_port): New function.
22086 (${board}_spawn): Update.
22087 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22088 Delete.
22089 (${board}_get_remote_address): Update.
22090 (${board}_get_comm_port): New function.
22091
fc98a809
AB
220922014-04-16 Andrew Burgess <aburgess@broadcom.com>
22093
22094 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22095 appearing in any order.
22096
87fd9e6e
DE
220972014-04-15 Doug Evans <dje@google.com>
22098
22099 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22100 uninitialized value of "description".
22101
099fc3ea
KS
221022014-04-15 Keith Seitz <keiths@redhat.com>
22103
22104 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22105 Remove unused globals.
22106 (test_running_the_program): Likewise.
22107 (test_controlled_execution): Likewise.
22108 (test_controlling_breakpoints): Likewise.
22109 (test_program_termination): Likewise.
22110
5da151d4
KS
221112014-04-15 Keith Seitz <keiths@redhat.com>
22112
22113 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22114 unused globals.
22115 (test_rbreak_creation_and_listing): Likewise.
22116 (test_ignore_count): Likewise.
22117 (test_error): Likewise.
22118
35e5d2f0
PA
221192014-04-15 Pedro Alves <palves@redhat.com>
22120
22121 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22122 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22123 sym-file-loader.c.
22124 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22125 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22126 to sym-file-loader.c.
22127 (struct library): Forward declare.
22128 (load_shlib, lookup_function): Change prototypes.
22129 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22130 (translate_offset): Remove declarations.
22131 (get_text_addr): New declaration.
22132 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22133 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22134 sym-file-loader.h.
22135 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22136 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22137 here from sym-file-loader.h.
22138 (struct library): New structure.
22139 (load_shlib, lookup_function): Change prototypes and adjust to
22140 work with a struct library.
22141 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22142 (translate_offset): Make static.
22143 (get_text_addr): New function.
22144 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22145
eb4c1710
PA
221462014-04-15 Pedro Alves <palves@redhat.com>
22147
22148 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22149
2d1baf52
PA
221502014-04-15 Pedro Alves <palves@redhat.com>
22151
22152 * gdb.base/sym-file-loader.c: Include <limits.h>.
22153 (SELF_LINK): New define.
22154 (get_origin): New function.
22155 (load_shlib): Use it.
22156 * gdb.base/sym-file.exp: Don't early return if the target is
22157 remote. Use runto_main, and issue fail is that fails. Use
22158 gdb_load_shlibs.
22159 (shlib_name): Delete.
22160 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22161
7dd6df01
PA
221622014-04-15 Pedro Alves <palves@redhat.com>
22163
22164 * gdb.base/sym-file.exp: Remove regex characters from test
22165 message. Don't refer to breakpoint numbers in test messages.
22166
b50c8614
KS
221672014-04-14 Keith Seitz <keiths@redhat.com>
22168
22169 PR c++/16253
22170 * gdb.cp/var-tag.cc: New file.
22171 * gdb.cp/var-tag.exp: New file.
22172 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22173 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22174 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22175 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22176
3d567982
TT
221772014-04-14 Tom Tromey <tromey@redhat.com>
22178
22179 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22180 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22181 type.
22182 * gdb.cp/enum-class.exp: New file.
22183 * gdb.cp/enum-class.cc: New file.
22184
0626fc76
TT
221852014-04-14 Tom Tromey <tromey@redhat.com>
22186
22187 * gdb.dwarf2/enum-type.exp: New file.
22188
dca325b3
SA
221892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22190
22191 * gdb.mi/mi-vla-c99.exp: New file.
22192 * gdb.mi/vla.c: New file.
22193
5854b38a
SA
221942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22195
22196 * gdb.base/vla-datatypes.c: New file.
22197 * gdb.base/vla-datatypes.exp: New file.
22198
463bb957
SA
221992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22200
22201 * gdb.base/vla-ptr.c: New file.
22202 * gdb.base/vla-ptr.exp: New file.
22203
3dd170be
SA
222042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22205
22206 * gdb.dwarf2/count.exp: New file.
22207
5ecaaa66
SA
222082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22209
22210 * gdb.base/vla-sideeffect.c: New file.
22211 * gdb.base/vla-sideeffect.exp: New file.
22212
41f1ada5
DB
222132014-04-14 David Blaikie <dblaikie@gmail.com>
22214
22215 * gdb.mi/non-stop.c: Add return value for non-void function return
22216 statement.
22217 * gdb.threads/staticthreads.c: Ditto.
22218
0be03e84
DE
222192014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22220 Doug Evans <xdje42@gmail.com>
22221
22222 * gdb.guile/scm-value.c: Improve test case.
22223 * gdb.guile/scm-value.exp: Add new test.
22224
f180a1fb
DB
222252014-04-11 David Blaikie <dblaikie@gmail.com>
22226
22227 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22228 override Clang's default.
22229
6b662e19
JB
222302014-04-11 Joel Brobecker <brobecker@adacore.com>
22231
22232 Revert the following changes (regressions):
22233
22234 * gdb.base/vla-sideeffect.c: New file.
22235 * gdb.base/vla-sideeffect.exp: New file.
22236
22237 * gdb.dwarf2/count.exp: New file.
22238
22239 * gdb.base/vla-multi.c: New file.
22240 * gdb.base/vla-multi.exp: New file.
22241
22242 * gdb.base/vla-ptr.c: New file.
22243 * gdb.base/vla-ptr.exp: New file.
22244
22245 * gdb.base/vla-datatypes.c: New file.
22246 * gdb.base/vla-datatypes.exp: New file.
22247
22248 * gdb.mi/mi-vla-c99.exp: New file.
22249 * gdb.mi/vla.c: New file.
22250
245a5f0b
KS
222512014-04-11 Keith Seitz <keiths@redhat.com>
22252
22253 PR c++/16675
22254 * gdb.cp/cpsizeof.exp: New file.
22255 * gdb.cp/cpsizeof.cc: New file.
22256
58a84dcf
SA
222572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22258
191a8a90
JB
22259 * gdb.mi/mi-vla-c99.exp: New file.
22260 * gdb.mi/vla.c: New file.
58a84dcf 22261
c8655f75
SA
222622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22263
22264 * gdb.base/vla-datatypes.c: New file.
22265 * gdb.base/vla-datatypes.exp: New file.
22266
024e13b4
SA
222672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22268
22269 * gdb.base/vla-ptr.c: New file.
22270 * gdb.base/vla-ptr.exp: New file.
22271
1a237e0e
SA
222722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22273
22274 * gdb.base/vla-multi.c: New file.
22275 * gdb.base/vla-multi.exp: New file.
22276
504f3432
SA
222772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22278
22279 * gdb.dwarf2/count.exp: New file.
22280
3bce8237
SA
222812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22282
191a8a90
JB
22283 * gdb.base/vla-sideeffect.c: New file.
22284 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22285
322f9c21
YQ
222862014-04-11 Yao Qi <yao@codesourcery.com>
22287
22288 * gdb.base/completion.exp: Check file exists before running tests
22289 on file completion.
22290
d708bcd1
PA
222912014-04-10 Pedro Alves <palves@redhat.com>
22292
22293 * gdb.base/cond-eval-mode.c: New file.
22294 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22295 prepare_for_testing to build the new file. Check result of
22296 runto_main.
22297 (test_break, test_watch): New procedures.
22298 (top level): Use them.
22299
ae1d2761
PM
223002014-04-08 Pierre Muller <muller@sourceware.org>
22301
22302 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22303 Ctrl-V use for mingw hosts.
22304
7af389b8
SC
223052014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22306
22307 * gdb.python/py-value.c: Improve test case.
22308 * gdb.python/py-value.exp: Add new test.
22309
5e703181
DE
223102014-04-07 David Blaikie <dblaikie@gmail.com>
22311
22312 * lib/compiler.c: Identify the clang compiler.
22313 * lib/compiler.cc: Ditto.
22314
9810b410
YQ
223152014-04-03 Yao Qi <yao@codesourcery.com>
22316
22317 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22318
98d1b8dc
AB
223192014-04-01 Anton Blanchard <anton@samba.org>
22320
22321 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22322 messages unique.
22323
3114cea1
AB
223242014-04-01 Anton Blanchard <anton@samba.org>
22325
22326 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22327 prepare_for_testing.
22328
62f7182c
AB
223292014-04-01 Anton Blanchard <anton@samba.org>
22330
22331 * gdb.arch/ppc64-atomic-inst.c: Remove.
22332 * gdb.arch/ppc64-atomic-inst.S: New file.
22333 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22334
770e7fc7
DE
223352014-03-31 Doug Evans <dje@google.com>
22336
22337 * gdb.base/print-symbol-loading-lib.c: New file.
22338 * gdb.base/print-symbol-loading-main.c: New file.
22339 * gdb.base/print-symbol-loading.exp: New file.
22340
46e2bafa
YQ
223412014-03-31 Yao Qi <yao@codesourcery.com>
22342
22343 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22344
8776cfe9
JB
223452014-03-28 Joel Brobecker <brobecker@adacore.com>
22346
22347 * gdb.ada/mi_dyn_arr: New testcase.
22348
5d1ef361
DE
223492014-03-27 Doug Evans <dje@google.com>
22350
22351 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22352
b5bee914
YQ
223532014-03-27 Yao Qi <yao@codesourcery.com>
22354
22355 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22356 if target is nios2-*-*.
22357
0d4d0e77
YQ
223582014-03-26 Yao Qi <yao@codesourcery.com>
22359
22360 * lib/gdb.exp (readline_is_used): New proc.
22361 * gdb.base/completion.exp: Move tests on command complete up.
22362 Skip the rest of tests if readline is not used.
22363 * gdb.ada/complete.exp: Skp the test if readline is not
22364 used.
22365 * gdb.base/filesym.exp: Likewise.
22366 * gdb.base/macscp.exp: Likewise.
22367 * gdb.base/readline-ask.exp: Likewise.
22368 * gdb.base/readline.exp: Likewise.
22369 * gdb.python/py-cmd.exp: Likewise.
22370 * gdb.trace/tfile.exp: Likewise.
22371
29361eee
YQ
223722014-03-26 Yao Qi <yao@codesourcery.com>
22373
22374 * gdb.base/macscp.exp: Fix code format issues.
22375
bc9a5525
UW
223762014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22377
22378 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22379 * gdb.asm/powerpc64le.inc: New file.
22380
d3839ede
PA
223812014-03-25 Pedro Alves <palves@redhat.com>
22382 Doug Evans <dje@google.com>
22383
22384 * gdb.base/source-execution.c: New file.
22385 * gdb.base/source-execution.exp: New file.
22386 * gdb.base/source-execution.gdb: New file.
22387
01672a57
DE
223882014-03-24 Doug Evans <dje@google.com>
22389
22390 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22391 using fission.
22392
88bbeca9
HZ
223932014-03-24 Hui Zhu <hui@codesourcery.com>
22394 Pedro Alves <palves@redhat.com>
22395
22396 PR breakpoints/16101
22397 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22398 test pass/fail messages. Detect missing support for dprintf when
22399 breakpoints are actually inserted.
22400 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22401 breakpoints are actually inserted.
22402 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22403 fails.
22404
d2348791
JK
224052014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22406
22407 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22408
feef67ab
DE
224092014-03-22 Doug Evans <xdje42@gmail.com>
22410
22411 * gdb.python/python.exp (python not supported): Verify multi-line
22412 python command issues an error.
25d743f9 22413 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22414 guile command issues an error.
feef67ab 22415
ecebef6a
MR
224162014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22417
22418 * gdb.threads/thread-specific.exp: Handle the lack of usable
22419 $this_breakpoint and $this_thread.
22420
ccdd1909
HZ
224212014-03-21 Hui Zhu <hui@codesourcery.com>
22422
22423 * gdb.base/attach.exp (do_command_attach_tests): New.
22424
beb460e8
PA
224252014-03-20 Tom Tromey <tromey@redhat.com>
22426 Pedro Alves <palves@redhat.com>
22427
22428 PR cli/15718
22429 * gdb.base/condbreak-call-false.c: New file.
22430 * gdb.base/condbreak-call-false.exp: New file.
22431
40acf43a
PA
224322014-03-20 Pedro Alves <palves@redhat.com>
22433
22434 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22435 Delete.
22436 (block_signals, unblock_signals): Delete.
22437 (child_function_2, main): Remove references to deleted variable
22438 and functions.
22439
9f5e1e02
PA
224402014-03-20 Pedro Alves <palves@redhat.com>
22441
22442 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22443 Use pthread_kill to signal thread 2.
22444 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22445 Adjust to make the test send itself a signal rather than using the
22446 host's "kill" command.
22447
99619bea
PA
224482014-03-20 Pedro Alves <palves@redhat.com>
22449
22450 * gdb.threads/multiple-step-overs.c: New file.
22451 * gdb.threads/multiple-step-overs.exp: New file.
22452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22453 Adjust expected infrun debug output.
22454
2adfaa28
PA
224552014-03-20 Pedro Alves <palves@redhat.com>
22456
22457 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22458 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22459
31e77af2
PA
224602014-03-20 Pedro Alves <palves@redhat.com>
22461
22462 PR breakpoints/7143
22463 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22464 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22465 of gdb_test_multiple.
22466 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22467 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22468
b9f437de
PA
224692014-03-20 Pedro Alves <palves@redhat.com>
22470
22471 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22472 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22473
05adc73e
PA
224742014-03-19 Pedro Alves <palves@redhat.com>
22475
22476 * gdb.base/async.exp: Remove early return.
22477
6048b950
PA
224782014-03-19 Pedro Alves <palves@redhat.com>
22479
22480 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22481
8bcfb00a
PA
224822014-03-19 Pedro Alves <palves@redhat.com>
22483
22484 * gdb.base/async.exp (test_background): Expect \r\n after
22485 "completed." in the fail pattern.
22486
884e37dc
PA
224872014-03-19 Pedro Alves <palves@redhat.com>
22488
22489 * gdb.base/async.exp (test_background): New procedure.
22490 Use it for all background execution command tests.
22491
148e57e2
PA
224922014-03-19 Pedro Alves <palves@redhat.com>
22493
22494 * gdb.base/async.exp: Use prepare_for_testing.
22495
f48088c7
PA
224962014-03-19 Pedro Alves <palves@redhat.com>
22497
22498 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22499 the same line.
22500
e2f6c966
PA
225012014-03-19 Pedro Alves <palves@redhat.com>
22502
22503 * gdb.base/async.c (main): Add "jump here" and "until here" line
22504 marker comments.
22505 * gdb.base/async.exp (jump_here): New global.
22506 (jump& test): Use it.
22507 (until_here): New global.
22508 (until& test): Use it.
22509
c30568d4
PA
225102014-03-19 Pedro Alves <palves@redhat.com>
22511
22512 * gdb.base/async.exp: Don't frob gdb_protocol.
22513
0172b6a7
DE
225142014-03-18 Doug Evans <xdje42@gmail.com>
22515
22516 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22517 Fix spelling of exec-done-display.
22518
06c868a8
JK
225192014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22520
22521 PR gdb/15358
22522 * gdb.base/gdb-sigterm.c: New file.
22523 * gdb.base/gdb-sigterm.exp: New file.
22524
0c7e1a46
PA
225252014-03-18 Pedro Alves <palves@redhat.com>
22526
22527 PR gdb/13860
22528 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22529 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22530 solib-event.
22531
f7c77d93
JB
225322014-03-17 Joel Brobecker <brobecker@adacore.com>
22533
22534 * gdb.ada/pckd_arr_ren: New testcase.
22535
5a1e8c7a
DE
225362014-03-13 Doug Evans <xdje42@gmail.com>
22537
22538 PR guile/16612
22539 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22540 collect after discarding symbols.
22541
350e1a76
DE
225422014-03-13 Ludovic Courtès <ludo@gnu.org>
22543 Doug Evans <xdje42@gmail.com>
22544
22545 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22546 to history survives a gc.
22547
a69900ae
PA
225482014-03-13 Pedro Alves <palves@redhat.com>
22549
22550 * gdb.base/default.exp: Don't test "target procfs".
22551
5db9f0bd
PA
225522014-03-13 Pedro Alves <palves@redhat.com>
22553
22554 * gdb.base/default.exp: Update "target child" and "target procfs"
22555 tests to not expect "Unix".
22556
b3ccfe11
TT
225572014-03-12 Tom Tromey <tromey@redhat.com>
22558
22559 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22560 New procs. Add target-async tests.
22561 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22562 Add target-async tests.
22563
646f4417
AA
225642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22565
22566 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22567 'func_start' and 'func_end' for the beginning and end of the
22568 function code, respectively.
22569 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22570 'func_end' instead of 'func' and 'main'.
22571
288c211f
AA
225722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22573
22574 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22575 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22576 generate the debug info assembler source.
22577
e0c0f156
AA
225782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22579
22580 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22581 * gdb.dwarf2/arr-subrange.exp: Likewise.
22582 * gdb.dwarf2/dwz.exp: Likewise.
22583 * gdb.dwarf2/method-ptr.exp: Likewise.
22584 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22585 * gdb.dwarf2/subrange.exp: Likewise.
22586 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22587 * gdb.dwarf2/implptrpiece.exp: Likewise.
22588 * gdb.dwarf2/nostaticblock.exp: Likewise.
22589
0e5c4555
AA
225902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22591
22592 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22593 directory to absolute path name arguments.
22594
5ec18f2b
JG
225952014-03-10 Joel Brobecker <brobecker@adacore.com>
22596
22597 * gdb.ada/tagged_access: New testcase.
22598
847fc4f2
MM
225992014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22600
22601 * gdb.btrace/data.exp: Update expected output.
22602
cc3da688
YQ
226032014-03-06 Yao Qi <yao@codesourcery.com>
22604
22605 * gdb.trace/pr16508.exp: New file.
22606
0f26cec1
PA
226072014-03-05 Pedro Alves <palves@redhat.com>
22608
22609 PR gdb/16575
22610 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22611 procedure.
22612 (top level): Adjust to use it. Add tests that exercise breakpoint
22613 interaction with the code-cache.
22614
7a5a839f
LC
226152014-02-26 Ludovic Courtès <ludo@gnu.org>
22616
22617 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22618 test for 'history-append!'.
22619
31aa7e4e
JB
226202014-02-26 Joel Brobecker <brobecker@adacore.com>
22621
22622 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22623 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22624 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22625 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22626 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22627 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22628
1b588015
JB
226292014-02-26 Joel Brobecker <brobecker@adacore.com>
22630
22631 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22632 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22633 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22634
55426c9d
JB
226352014-02-26 Joel Brobecker <brobecker@adacore.com>
22636
22637 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22638
dc53a7ad
JB
226392014-02-26 Joel Brobecker <brobecker@adacore.com>
22640
22641 * gdb.dwarf2/arr-stride.c: New file.
22642 * gdb.dwarf2/arr-stride.exp: New file.
22643
12ab52e9
PA
226442014-02-26 Pedro Alves <palves@redhat.com>
22645
22646 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22647 that won't ever trigger. Make sure that GDB reports the correct
22648 breakpoint that caused the stop.
22649
849c862e
JK
226502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22651
22652 PR gdb/16626
22653 * gdb.base/auto-load-script: New file.
22654 * gdb.base/auto-load.c: New file.
22655 * gdb.base/auto-load.exp: New file.
22656
71b7d793
JK
22657 PR gdb/16626
22658 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22659
e2f0d509
JK
226602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22661
22662 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22663 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22664
50cc37c8
DE
226652014-02-24 Doug Evans <dje@google.com>
22666
22667 * lib/gdb.exp (run_on_host): Log error output if program fails.
22668
ea4758f2
PA
226692014-02-21 Pedro Alves <palves@redhat.com>
22670
22671 * gdb.threads/step-after-sr-lock.c: Rename to ...
22672 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22673 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22674 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22675 ... this.
22676
d7b30f67
SDJ
226772014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22678
22679 PR tdep/16397
22680 * gdb.arch/amd64-stap-special-operands.exp: New file.
22681 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22682 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22683 * gdb.arch/amd64-stap-triplet.S: Likewise.
22684 * gdb.arch/amd64-stap-triplet.c: Likewise.
22685
83deb43f
JB
226862014-02-20 Joel Brobecker <brobecker@adacore.com>
22687
22688 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22689 in .section pseudo-op.
22690
adde2bff
DE
226912014-02-20 lin zuojian <manjian2006@gmail.com>
22692 Joel Brobecker <brobecker@adacore.com>
22693 Doug Evans <xdje42@gmail.com>
22694
22695 PR symtab/16581
22696 * gdb.dwarf2/dw2-icycle.S: New file.
22697 * gdb.dwarf2/dw2-icycle.c: New file.
22698 * gdb.dwarf2/dw2-icycle.exp: New file.
22699
f7bd0f78
SC
227002014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22701
22702 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22703 operations on gdb.Value objects.
22704 * gdb.python/py-value-cc.exp: Add new test to test operations on
22705 gdb.Value objects.
22706
c17ef0d5
DE
227072014-02-18 Doug Evans <dje@google.com>
22708
22709 * Makefile.in (TESTS): New variable.
22710 (expanded_tests, expanded_tests_or_none): New variables
22711 (check-single): Pass $(expanded_tests_or_none) to runtest.
22712 (check-parallel): Only run tests in $(TESTS) if non-empty.
22713 (check/no-matching-tests-found): New rule.
22714 * README: Document TESTS makefile variable.
22715
5dd3176f
DE
227162014-02-18 Doug Evans <dje@google.com>
22717
22718 * Makefile.in (check-parallel): rm -rf outputs temp.
22719
0b10be4f
JK
227202014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22721
22722 Fix "ERROR: no fileid for" in the testsuite.
22723 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22724
85f224e7
DE
227252014-02-12 Doug Evans <dje@google.com>
22726
22727 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22728 (MISCELLANEOUS): New variable.
22729 (clean): rm -rf $(MISCELLANEOUS).
22730 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22731 dwp live in the same directory as symlinks, with each symlink pointed
22732 to a differently named file in a different directory.
22733
149b30ff
DE
227342014-02-11 Doug Evans <dje@google.com>
22735
22736 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22737 of Tcl file commands.
22738
1dfdac32
MK
227392014-02-10 Mark Kettenis <kettenis@gnu.org>
22740
22741 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22742 "kill -SIGUSR1 -1".
22743
aa4fb036
JB
227442014-02-10 Joel Brobecker <brobecker@adacore.com>
22745
22746 * gdb.ada/tick_length_array_enum_idx: New testcase.
22747
ed3ef339
DE
227482014-02-10 Doug Evans <xdje42@gmail.com>
22749
22750 * configure.ac (AC_OUTPUT): Add gdb.guile.
22751 * configure: Regenerate.
22752 * lib/gdb-guile.exp: New file.
22753 * lib/gdb.exp (get_target_charset): New function.
22754 * gdb.base/help.exp: Update expected output from "apropos apropos".
22755 * gdb.guile/Makefile.in: New file.
22756 * gdb.guile/guile.exp: New file.
22757 * gdb.guile/scm-arch.c: New file.
22758 * gdb.guile/scm-arch.exp: New file.
22759 * gdb.guile/scm-block.c: New file.
22760 * gdb.guile/scm-block.exp: New file.
22761 * gdb.guile/scm-breakpoint.c: New file.
22762 * gdb.guile/scm-breakpoint.exp: New file.
22763 * gdb.guile/scm-disasm.c: New file.
22764 * gdb.guile/scm-disasm.exp: New file.
22765 * gdb.guile/scm-equal.c: New file.
22766 * gdb.guile/scm-equal.exp: New file.
22767 * gdb.guile/scm-error.exp: New file.
22768 * gdb.guile/scm-error.scm: New file.
22769 * gdb.guile/scm-frame-args.c: New file.
22770 * gdb.guile/scm-frame-args.exp: New file.
22771 * gdb.guile/scm-frame-args.scm: New file.
22772 * gdb.guile/scm-frame-inline.c: New file.
22773 * gdb.guile/scm-frame-inline.exp: New file.
22774 * gdb.guile/scm-frame.c: New file.
22775 * gdb.guile/scm-frame.exp: New file.
22776 * gdb.guile/scm-generics.exp: New file.
22777 * gdb.guile/scm-gsmob.exp: New file.
22778 * gdb.guile/scm-iterator.c: New file.
22779 * gdb.guile/scm-iterator.exp: New file.
22780 * gdb.guile/scm-math.c: New file.
22781 * gdb.guile/scm-math.exp: New file.
22782 * gdb.guile/scm-objfile-script-gdb.in: New file.
22783 * gdb.guile/scm-objfile-script.c: New file.
22784 * gdb.guile/scm-objfile-script.exp: New file.
22785 * gdb.guile/scm-objfile.c: New file.
22786 * gdb.guile/scm-objfile.exp: New file.
22787 * gdb.guile/scm-ports.exp: New file.
22788 * gdb.guile/scm-pretty-print.c: New file.
22789 * gdb.guile/scm-pretty-print.exp: New file.
22790 * gdb.guile/scm-pretty-print.scm: New file.
22791 * gdb.guile/scm-section-script.c: New file.
22792 * gdb.guile/scm-section-script.exp: New file.
22793 * gdb.guile/scm-section-script.scm: New file.
22794 * gdb.guile/scm-symbol.c: New file.
22795 * gdb.guile/scm-symbol.exp: New file.
22796 * gdb.guile/scm-symtab-2.c: New file.
22797 * gdb.guile/scm-symtab.c: New file.
22798 * gdb.guile/scm-symtab.exp: New file.
22799 * gdb.guile/scm-type.c: New file.
22800 * gdb.guile/scm-type.exp: New file.
22801 * gdb.guile/scm-value-cc.cc: New file.
22802 * gdb.guile/scm-value-cc.exp: New file.
22803 * gdb.guile/scm-value.c: New file.
22804 * gdb.guile/scm-value.exp: New file.
22805 * gdb.guile/source2.scm: New file.
22806 * gdb.guile/types-module.cc: New file.
22807 * gdb.guile/types-module.exp: New file.
22808
7026a7c1
YQ
228092014-02-10 Yao Qi <yao@codesourcery.com>
22810
22811 PR testsuite/16543
22812 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22813 * configure: Regenerated.
22814 * Makefile.in: New file.
22815
6c466447
AS
228162014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22817
22818 * gdb.python/py-framefilter.exp: Fix typo.
22819
6e854735
YQ
228202014-02-08 Yao Qi <yao@codesourcery.com>
22821
22822 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22823 that no =breakpoint-modified is emitted when breakpoints are
22824 modified through MI commands.
22825
d137e6dc
PA
228262014-02-07 Pedro Alves <pedro@codesourcery.com>
22827 Pedro Alves <palves@redhat.com>
22828
22829 * gdb.threads/step-after-sr-lock.c: New file.
22830 * gdb.threads/step-after-sr-lock.exp: New file.
22831
b5ee5a50
PA
228322014-02-07 Pedro Alves <palves@redhat.com>
22833
22834 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22835
3c77faf3
JK
228362014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22837
22838 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22839 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22840
6dddc817
DE
228412014-02-06 Doug Evans <xdje42@gmail.com>
22842
22843 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22844 output.
22845
22846 * gdb.gdb/python-interrupts.exp: New file.
22847
de7b2893
YQ
228482014-02-05 Yao Qi <yao@codesourcery.com>
22849
22850 * gdb.trace/report.exp (use_collected_data): Test the output
22851 of "info threads" and "info inferiors".
22852
66d032ac
YQ
228532014-02-05 Yao Qi <yao@codesourcery.com>
22854
22855 Revert this patch:
22856
22857 2013-05-24 Yao Qi <yao@codesourcery.com>
22858
22859 * gdb.trace/tfile.exp: Test inferior and thread.
22860
591a12a1
UW
228612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22862
22863 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22864 on a function.
22865 * gdb.base/step-bt.c: Call hello via function pointer to make
22866 sure its first instruction is executed on powerpc64le-linux.
22867
0ff3e01f
UW
228682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22869
22870 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22871
084ee545
UW
228722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22873
22874 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22875 of the test patterns for use on little-endian systems.
22876
6ed14ff3
UW
228772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22878
22879 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22880 (decimal_vector): Fix for little-endian.
22881
401e27fd
JM
228822014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22883
22884 * gdb.arch/sparc-sysstep.exp: New file.
22885 * gdb.arch/sparc-sysstep.c: Likewise.
22886
22887 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22888
8b924729
EBM
228892014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22890
22891 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22892
fb151210
JB
228932014-01-23 Tom Tromey <tromey@redhat.com>
22894
22895 * gdb.ada/array_char_idx: New testcase.
22896
0740f8d8
TT
228972014-01-23 Tom Tromey <tromey@redhat.com>
22898
22899 PR python/16487:
22900 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22901 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22902 classes.
22903
21909fa1
TT
229042014-01-23 Tom Tromey <tromey@redhat.com>
22905
22906 PR python/16491:
22907 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22908 string from an inferior frame.
22909 * gdb.python/py-framefilter-mi.exp: Update.
22910
87ce2a04
DE
229112014-01-22 Doug Evans <dje@google.com>
22912
22913 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22914
237b092b
AA
229152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22916
22917 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22918
d674a709
AA
229192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22920
22921 * gdb.trace/entry-values.exp: Remove excess space character from
22922 regex patterns. Handle s390 call instruction.
22923
20fa3390
AA
229242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22925
22926 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22927 define "*_start" label. Make "name" static.
22928 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22929 ${name} by references to ${name}_start.
22930
78466714
AA
229312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22932
22933 * gdb.base/info-macros.exp: Remove "debug" from the compile
22934 options.
22935
ec9f644a
IB
229362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22937
22938 * gdb.dlang/demangle.exp: New file.
22939
94b1b47e
IB
229402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22941
22942 * gdb.dlang/primitive-types.exp: New file.
22943
7f420862
IB
229442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22945
22946 * configure.ac: Create gdb.dlang/Makefile.
22947 * configure: Regenerate.
22948 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22949 * gdb.dlang/Makefile.in: New file.
22950 * lib/d-support.exp: New file.
22951 * lib/gdb.exp (skip_d_tests): New proc.
22952
52834460
MM
229532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22954
22955 * gdb.btrace/delta.exp: Check reverse stepi.
22956 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22957 * gdb.btrace/finish.exp: New.
22958 * gdb.btrace/next.exp: New.
22959 * gdb.btrace/nexti.exp: New.
22960 * gdb.btrace/record_goto.c: Add comments.
22961 * gdb.btrace/step.exp: New.
22962 * gdb.btrace/stepi.exp: New.
22963 * gdb.btrace/multi-thread-step.c: New.
22964 * gdb.btrace/multi-thread-step.exp: New.
22965 * gdb.btrace/rn-dl-bind.c: New.
22966 * gdb.btrace/rn-dl-bind.exp: New.
22967 * gdb.btrace/data.c: New.
22968 * gdb.btrace/data.exp: New.
22969 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22970
6e07b1d2
MM
229712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22972
22973 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22974 * gdb.btrace/exception.exp: Update.
22975 * gdb.btrace/instruction_history.exp: Update.
22976 * gdb.btrace/record_goto.exp: Update.
22977 * gdb.btrace/tailcall.exp: Update.
22978 * gdb.btrace/unknown_functions.exp: Update.
22979 * gdb.btrace/delta.exp: New.
22980
0b722aec
MM
229812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22982
22983 * gdb.btrace/record_goto.exp: Add backtrace test.
22984 * gdb.btrace/tailcall.exp: Add backtrace test.
22985
066ce621
MM
229862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22987
22988 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22989 * gdb.btrace/record_goto.c: New.
22990 * gdb.btrace/record_goto.exp: New.
22991 * gdb.btrace/x86-record_goto.S: New.
22992
0688d04e
MM
229932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22994
22995 * gdb.btrace/function_call_history.exp: Update tests.
22996 * gdb.btrace/instruction_history.exp: Update tests.
22997
8710b709
MM
229982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22999
23000 * gdb.btrace/function_call_history.exp: Fix expected field
23001 order for "record function-call-history".
23002 Add new tests for "record function-call-history /c".
23003 * gdb.btrace/exception.cc: New.
23004 * gdb.btrace/exception.exp: New.
23005 * gdb.btrace/tailcall.exp: New.
23006 * gdb.btrace/x86-tailcall.S: New.
23007 * gdb.btrace/x86-tailcall.c: New.
23008 * gdb.btrace/unknown_functions.c: New.
23009 * gdb.btrace/unknown_functions.exp: New.
23010 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23011
5de9129b
MM
230122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23013
23014 * gdb.btrace/instruction_history.exp: Update.
23015 * gdb.btrace/function_call_history.exp: Update.
23016
23a7fe75
MM
230172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23018
23019 * gdb.btrace/function_call_history.exp: Fix expected function
23020 trace.
23021 * gdb.btrace/instruction_history.exp: Initialize traced.
23022 Remove traced_functions.
23023
724c7dd8
MM
230242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23025
23026 * gdb.btrace/function_call_history.exp: Update
23027 * gdb.btrace/instruction_history.exp: Update.
23028
6d78d93b
MM
230292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23030
23031 * gdb.btrace/enable.exp: Update expected text.
23032
93a360cc
OJ
230332014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23034
23035 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23036 bytes.
23037
3772b53f
MR
230382014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23039
23040 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23041
596662fa
OJ
230422014-01-15 Omair Javaid <omair.javaid@linaro.org>
23043
23044 * lib/gdb.exp (supports_process_record): Return true for
23045 arm*-linux*. (supports_reverse): Likewise.
23046
b5b08fb4
SC
230472014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23048
23049 PR python/15464
23050 PR python/16113
23051 * gdb.python/py-type.c: Enhance test case.
23052 * gdb.python/py-value-cc.cc: Likewise
23053 * gdb.python/py-type.exp: Add new tests.
23054 * gdb.python/py-value-cc.exp: Likewise
23055
52d7fb13
AA
230562014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23057 Pedro Alves <palves@redhat.com>
23058
23059 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23060 Make "name" extern.
23061 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23062 references to ${name}_start by references to ${name}.
23063
a2cd8cfe
JB
230642014-01-10 Joel Brobecker <brobecker@adacore.com>
23065
23066 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23067
4e23fced
JB
230682014-01-10 Joel Brobecker <brobecker@adacore.com>
23069
23070 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23071
c6a9e42c
PA
230722014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23073 Pedro Alves <palves@redhat.com>
23074
23075 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23076 mi_gdb_target_load.
c6a9e42c 23077
b7ea362b
PA
230782014-01-08 Pedro Alves <palves@redhat.com>
23079
23080 * gdb.threads/reconnect-signal.c: New file.
23081 * gdb.threads/reconnect-signal.exp: New file.
23082
5e3f4fab
EBM
230832014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23084
23085 * gdb.base/source-dir.exp: New file.
23086
79301218
JB
230872014-01-07 Joel Brobecker <brobecker@adacore.com>
23088
23089 * gdb.ada/mi_interface: New testcase.
23090
8e355c5d
JB
230912014-01-07 Joel Brobecker <brobecker@adacore.com>
23092
23093 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23094 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23095 gdb.ada/pp-rec-component/pck.ads: New files.
23096
c0d48811
JB
230972014-01-07 Joel Brobecker <brobecker@adacore.com>
23098
23099 * gdb.python/py-pp-integral.c: New file.
23100 * gdb.python/py-pp-integral.py: New file.
23101 * gdb.python/py-pp-integral.exp: New file.
23102
17b609c3 23103For older changes see ChangeLog-1993-2013.
c906108c 23104\f
8d8cb839
EZ
23105;; Local Variables:
23106;; mode: change-log
23107;; left-margin: 8
23108;; fill-column: 74
23109;; version-control: never
23110;; End:
902f2ccb 23111
3666a048 23112 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23113 Copying and distribution of this file, with or without modification,
23114 are permitted provided the copyright notice and this notice are preserved.