]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/testsuite/ChangeLog
testsuite, gdb.btrace: fix 32-bit PIE false positives
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/exception.exp: Build with nopie.
4 * gdb.btrace/function_call_history.exp: Likewise.
5 * gdb.btrace/unknown_functions.exp: Likewise.
6
72020-12-21 Markus Metzger <markus.t.metzger@intel.com>
8
9 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
10
112020-12-21 Markus Metzger <markus.t.metzger@intel.com>
12
13 * gdb.python/py-record-btrace.exp: Make test names unique.
14 * gdb.python/py-record-full.exp: Likewise.
15
162020-12-21 Markus Metzger <markus.t.metzger@intel.com>
17
18 * gdb.btrace/data.exp: Make test names unique.
19 * gdb.btrace/delta.exp: Likewise.
20 * gdb.btrace/enable.exp: Likewise.
21 * gdb.btrace/function_call_history.exp: Likewise.
22 * gdb.btrace/nohist.exp: Likewise.
23 * gdb.btrace/non-stop.exp: Likewise.
24 * gdb.btrace/rn-dl-bind.exp: Likewise.
25 * gdb.btrace/step.exp: Likewise.
26 * gdb.btrace/stepi.exp: Likewise.
27 * gdb.btrace/tailcall.exp: Likewise.
28
292020-12-21 Markus Metzger <markus.t.metzger@intel.com>
30
31 * gdb.btrace/enable.exp: Update error message.
32 * gdb.btrace/multi-inferior.exp: Likewise.
33 * gdb.btrace/reconnect.exp: Likewise.
34 * gdb.python/py-record-btrace.exp: Likewise.
35 * gdb.python/py-record-full.exp: Likewise.
36
372020-12-20 Tom de Vries <tdevries@suse.de>
38
39 * lib/gdb.exp (save_target_board_info): New proc.
40 (gdb_compile_shlib): Use save_target_board_info.
41
422020-12-19 Tom de Vries <tdevries@suse.de>
43
44 * lib/gdb.exp (supports_scalar_storage_order_attribute)
45 (supports_gnuc): New proc.
46 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
47 test_compiler_info calls. Add unsupported message.
48 * gdb.base/endianity.c: Use TEST_SSO.
49
502020-12-19 Hannes Domani <ssbssa@yahoo.de>
51
52 PR exp/27070
53 * gdb.python/compare-enum-type-a.c: New test.
54 * gdb.python/compare-enum-type-b.c: New test.
55 * gdb.python/compare-enum-type.exp: New file.
56 * gdb.python/compare-enum-type.h: New test.
57
582020-12-18 Hannes Domani <ssbssa@yahoo.de>
59
60 * gdb.python/py-format-string.exp: Add tests for address keyword.
61
622020-12-18 Hannes Domani <ssbssa@yahoo.de>
63
64 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
65
662020-12-18 Tom Tromey <tromey@adacore.com>
67
68 * gdb.ada/fixed_points.exp: Also run with
69 -fgnat-encodings=minimal. Update expected output.
70
712020-12-16 Simon Marchi <simon.marchi@efficios.com>
72
73 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
74 * gdb.base/continue-all-already-running.exp: Likewise.
75 * gdb.base/moribund-step.exp: Likewise.
76 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
77
782020-12-16 Tom de Vries <tdevries@suse.de>
79
80 * gdb.base/batch-preserve-term-settings.exp:
81
822020-12-16 Tom de Vries <tdevries@suse.de>
83
84 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
85 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
86
872020-12-16 Luis Machado <luis.machado@linaro.org>
88
89 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
90 pointer-based memory accesses.
91 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
92 hw watchpoint cases.
93
942020-12-15 Rae Kim <rae.kim@gmail.com>
95
96 * gdb.base/document.exp: New test.
97
982020-12-15 Tom Tromey <tromey@adacore.com>
99
100 * gdb.base/style.exp: Add deprecation tests.
101
1022020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
103
104 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
105
1062020-12-14 Mark Wielaard <mark@klomp.org>
107
108 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
109 specially, set attr_form_comment to the actual FORM string used.
110
1112020-12-14 Mark Wielaard <mark@klomp.org>
112
113 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
114 _constants(SPECIAL_expr) here, but set it...
115 (Dwarf::cu): ...here based on _cu_version.
116
1172020-12-14 Tom de Vries <tdevries@suse.de>
118
119 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
120 pass -fPIC.
121 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
122 * gdb.base/break-probes.exp: Same.
123 * gdb.base/ctxobj.exp: Same.
124 * gdb.base/dso2dso.exp: Same.
125 * gdb.base/global-var-nested-by-dso.exp: Same.
126 * gdb.base/info-shared.exp: Same.
127 * gdb.base/jit-reader-simple.exp: Same.
128 * gdb.base/print-file-var.exp: Same.
129 * gdb.base/skip-solib.exp: Same.
130 * gdb.btrace/dlopen.exp: Same.
131
1322020-12-14 Tom de Vries <tdevries@suse.de>
133
134 PR testsuite/26963
135 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
136
1372020-12-14 Tom de Vries <tdevries@suse.de>
138
139 PR testsuite/26962
140 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
141 cast it to its declared type".
142
1432020-12-14 Tom de Vries <tdevries@suse.de>
144
145 PR testsuite/26951
146 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
147 shell prompt.
148
1492020-12-14 Tom Tromey <tromey@adacore.com>
150
151 * gdb.ada/nested.exp: Add new tests.
152 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
153
1542020-12-14 Tom Tromey <tromey@adacore.com>
155
156 * gdb.dwarf2/ada-thick-pointer.exp: New file.
157
1582020-12-14 Tom Tromey <tromey@adacore.com>
159
160 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
161
1622020-12-13 Tom de Vries <tdevries@suse.de>
163
164 PR testsuite/26953
165 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
166 attribute support if compiler doesn't support it.
167
1682020-12-13 Tom de Vries <tdevries@suse.de>
169
170 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
171 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
172 source to shared lib. Add ada to options.
173
1742020-12-13 Tom de Vries <tdevries@suse.de>
175
176 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
177 calling gnatbind and gnatlink.
178
1792020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.base/dcache-flush.c: New file.
182 * gdb.base/dcache-flush.exp: New file.
183
1842020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
187 commands.
188 * gdb.base/killed-outside.exp: Likewise.
189 * gdb.opt/inline-bt.exp: Likewise.
190 * gdb.perf/gmonster-null-lookup.py: Likewise.
191 * gdb.perf/gmonster-print-cerr.py: Likewise.
192 * gdb.perf/gmonster-ptype-string.py: Likewise.
193 * gdb.python/py-unwind.exp: Likewise.
194
1952020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 * gdb.base/commands.exp: Update expected results.
198
1992020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 PR cli/15104
202 * gdb.base/commands.exp: Add additional tests.
203 * gdb.base/completion.exp: Add additional tests.
204
2052020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * gdb.base/completion.exp: Add additional tests.
208
2092020-12-11 Tom de Vries <tdevries@suse.de>
210
211 PR testsuite/26991
212 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
213 violations by setting bounds registers if the bounds are passed in the
214 Bounds Table.
215
2162020-12-11 Tom de Vries <tdevries@suse.de>
217
218 PR testsuite/26954
219 * gdb.base/float128.exp: Detect and handle no mpfr support.
220
2212020-12-10 Simon Marchi <simon.marchi@efficios.com>
222
223 PR gdb/24694
224 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
225 calls.
226
2272020-12-10 Tom de Vries <tdevries@suse.de>
228
229 PR testsuite/26947
230 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
231 braces for tcl 8.5 and earlier.
232
2332020-12-09 Simon Marchi <simon.marchi@efficios.com>
234
235 PR 26875, PR 26901
236 * gdb.base/flexible-array-member.c: New test.
237 * gdb.base/flexible-array-member.exp: New test.
238
2392020-12-08 Tom de Vries <tdevries@suse.de>
240
241 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
242 using is_amd64_regs_target.
243
2442020-12-08 Tom de Vries <tdevries@suse.de>
245
246 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
247 self_id.
248
2492020-12-07 Pedro Alves <pedro@palves.net>
250
251 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
252 'additional_flags' variable.
253
2542020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
255
256 * gdb.linespec/explicit.exp: Extend with a test to check completing
257 '-' after seemingly complete options.
258
2592020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
260
261 * gdb.linespec/keywords.exp: Add tests to check positional
262 flexibility of "-force-condition".
263
2642020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
265
266 * gdb.base/bp-cmds-run-with-ex.c: New file.
267 * gdb.base/bp-cmds-run-with-ex.exp: New file.
268 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
269 * gdb.gdb/python-interrupts.exp: Update the call to
270 'catch_command_errors' with the new argument.
271 * gdb.gdb/python-selftest.exp: Ditto.
272
2732020-12-04 Simon Marchi <simon.marchi@efficios.com>
274
275 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
276 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
277 * gdb.threads/non-stop-fair-events.exp: Likewise.
278
2792020-12-04 Simon Marchi <simon.marchi@efficios.com>
280
281 * gdb.threads/step-over-exec.exp: New.
282 * gdb.threads/step-over-exec.c: New.
283 * gdb.threads/step-over-exec-execd.c: New.
284 * lib/my-syscalls.S: New.
285 * lib/my-syscalls.h: New.
286
2872020-12-04 Simon Marchi <simon.marchi@efficios.com>
288
289 * lib/dwarf.exp (declare_labels): Use name as text if text is
290 not provided.
291
2922020-12-04 Tom de Vries <tdevries@suse.de>
293
294 PR testsuite/26990
295 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
296 are unsupported.
297
2982020-12-04 Tom de Vries <tdevries@suse.de>
299
300 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
301 clause.
302
3032020-12-04 Tom de Vries <tdevries@suse.de>
304
305 * gdb.reverse/insn-reverse.exp: Fix count handling.
306
3072020-12-04 Tom de Vries <tdevries@suse.de>
308
309 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
310 __x86_64__.
311
3122020-12-04 Tom de Vries <tdevries@suse.de>
313
314 * gdb.reverse/insn-reverse.c (test_nr): New var.
315 (usage, parse_args): New function.
316 (main): Call parse_args. Only run test for test_nr.
317 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
318 and bail out. Run subtests individually, using an inferior arg
319 specifying the subtest.
320
3212020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
324
3252020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
328 update test to use this.
329
3302020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
331
332 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
333
3342020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
335
336 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
337 (do_test): Don't use with_test_prefix.
338 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
339 (do_test): Don't use with_test_prefix.
340 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
341 (do_test): Don't use with_test_prefix.
342 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
343 (do_test): Don't use with_test_prefix.
344
3452020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
346
347 * gdb.threads/non-ldr-exit.exp: Fix comment.
348
3492020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 * gdb.xml/maint-xml-dump-03.xml: New file.
352
3532020-11-30 Tom de Vries <tdevries@suse.de>
354
355 PR symtab/26905
356 * gdb.dwarf2/count.exp: Remove kfails.
357
3582020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
359
360 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
361 indices.
362
3632020-11-24 Joel Brobecker <brobecker@adacore.com>
364
365 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
366 the "ptype pck__fp1_range_var" test for the module-2 and pascal
367 languages. Remove the associated setup_xfail.
368
3692020-11-23 Simon Marchi <simon.marchi@efficios.com>
370
371 * lib/gdb.exp (gdb_assert): Show error message on error.
372
3732020-11-23 Tom de Vries <tdevries@suse.de>
374
375 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
376 * gdb.ada/mod_from_name.exp: Same.
377 * gdb.ada/pckd_arr_ren.exp: Same.
378
3792020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
380
381 * gdb.base/template.exp: New.
382 * gdb.base/template.c: New.
383
3842020-11-22 Gary Benson <gbenson@redhat.com>
385
386 PR gdb/26905
387 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
388 is defined using a DW_AT_count which references another DIE.
389
3902020-11-21 Tom de Vries <tdevries@suse.de>
391
392 * gdb.base/vla-ptr.exp: Add XFAIL.
393
3942020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.fortran/array-slices-bad.exp: New file.
397 * gdb.fortran/array-slices-bad.f90: New file.
398 * gdb.fortran/array-slices-sub-slices.exp: New file.
399 * gdb.fortran/array-slices-sub-slices.f90: New file.
400 * gdb.fortran/array-slices.exp: Rewrite tests.
401 * gdb.fortran/array-slices.f90: Rewrite tests.
402 * gdb.fortran/vla-sizeof.exp: Correct expected results.
403
4042020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
405
406 * gdb.base/completion.exp: Add new completion tests.
407
4082020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
409
410 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
411 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
412 * gdb.mi/mi-nsintrall.exp: Likewise.
413 * gdb.mi/mi-nsmoribund.exp: Likewise.
414 * gdb.mi/mi-nsthrexec.exp: Likewise.
415 * gdb.mi/mi-watch-nonstop.exp: Likewise.
416
4172020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
418
419 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
420 of perror.
421
4222020-11-18 Joseph Myers <joseph@codesourcery.com>
423
424 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
425 $arg.exe exists but $arg does not.
426
4272020-11-17 Gary Benson <gbenson@redhat.com>
428
429 * gdb.trace/trace-common.h (x86_trace_dummy): Add
430 __attribute__ ((used)).
431
4322020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
433
434 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
435
4362020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.base/completion.exp: Add new tests.
439
4402020-11-16 Tom Tromey <tromey@adacore.com>
441
442 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
443 tests.
444
4452020-11-15 Joel Brobecker <brobecker@adacore.com>
446
447 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
448 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
449 (main): Add reference to pck__fp1_var2.
450 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
451
4522020-11-15 Joel Brobecker <brobecker@adacore.com>
453
454 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
455
4562020-11-15 Joel Brobecker <brobecker@adacore.com>
457
458 * gdb.ada/fixed_points.exp: Add ptype tests.
459 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
460
4612020-11-15 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
464
4652020-11-15 Joel Brobecker <brobecker@adacore.com>
466
467 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
468 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
469 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
470 New files.
471 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
472
473 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
474 New files.
475
4762020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 PR cli/26879
479 * gdb.fortran/completion.exp: New file.
480 * gdb.fortran/completion.f90: New file.
481
4822020-11-12 Joseph Myers <joseph@codesourcery.com>
483
484 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
485 but $arg does not.
486
4872020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
488
489 * gdb.fortran/types.exp: Add more tests.
490
4912020-11-12 Tom Tromey <tom@tromey.com>
492
493 PR rust/26799:
494 * gdb.rust/traits.exp: Remove kfails.
495
4962020-11-12 Gary Benson <gbenson@redhat.com>
497
498 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
499 statement.
500
5012020-11-11 Simon Marchi <simon.marchi@efficios.com>
502
503 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
504 always-inserted" axis.
505 (do_test): Add breakpoint_always_inserted parameter.
506
5072020-11-10 Tom Tromey <tromey@adacore.com>
508
509 * gdb.ada/bias.exp: Update.
510 * gdb.ada/bias/bias.adb (X): Change value.
511
5122020-11-10 Gary Benson <gbenson@redhat.com>
513
514 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
515 regexp fragment in parentheses to prevent false matching.
516
5172020-11-10 Gary Benson <gbenson@redhat.com>
518
519 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
520
5212020-11-10 Gary Benson <gbenson@redhat.com>
522
523 * gdb.cp/step-and-next-inline.exp: Only require
524 -gstatement-frontiers when building with GCC.
525 Only setup KFAIL's for GCC issues when using
526 a GCC-built executable.
527
5282020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.base/debug-expr.c: Add extra function to allow for an
531 additional test.
532 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
533 to this proc with gdb_test_debug_expr. Add an extra test.
534 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
535 to this proc with gdb_test_debug_expr, give the tests names
536 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
537 calls to this proc with gdb_test_debug_expr, give the tests names
538 * gdb.fortran/debug-expr.exp: New file.
539 * gdb.fortran/debug-expr.f90: New file.
540 * lib/gdb.exp (gdb_test_debug_expr): New proc.
541
5422020-11-06 Simon Marchi <simon.marchi@efficios.com>
543
544 * lib/dwarf.exp (ranges): Handle "base" and "range" as
545 proceduresu.
546 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
547 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
548 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
549 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
550 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
551 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
552 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
553 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
554
5552020-11-04 Tom Tromey <tromey@adacore.com>
556
557 * gdb.ada/funcall_ref.exp: Update.
558 * gdb.ada/var_rec_arr.exp: Update.
559
5602020-11-04 Tom Tromey <tromey@adacore.com>
561
562 * gdb.ada/rec_ptype.exp: New file.
563 * gdb.ada/rec_ptype/main.adb: New file.
564 * gdb.ada/rec_ptype/p.ads: New file.
565
5662020-11-04 Tom Tromey <tromey@adacore.com>
567
568 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
569 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
570 (PT_Full): New variable.
571 * gdb.ada/tick_length_array_enum_idx/pck.adb
572 (Full_PT): New type.
573
5742020-11-04 Tom Tromey <tromey@adacore.com>
575
576 * gdb.ada/array_of_variant.exp: New file.
577 * gdb.ada/array_of_variant/p.adb: New file.
578 * gdb.ada/array_of_variant/pck.ads: New file.
579 * gdb.ada/array_of_variant/pck.adb: New file.
580
5812020-11-04 Tom Tromey <tromey@adacore.com>
582
583 * gdb.ada/enum_idx_packed.exp: Add test.
584 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
585 New variable.
586 * gdb.ada/enum_idx_packed/pck.ads (Short)
587 (Multi_Dimension, Multi_Dimension_Access): New types.
588
5892020-11-04 Tom Tromey <tromey@adacore.com>
590
591 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
592
5932020-11-04 Tom Tromey <tromey@adacore.com>
594
595 * gdb.ada/set_pckd_arr_elt.exp: Also test
596 -fgnat-encodings=minimal. Add tests.
597 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
598 Call Update_Small a second time.
599 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
600 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
601 (Variant_Access): New types.
602 (New_Variant): Declare.
603
6042020-11-04 Tom Tromey <tromey@adacore.com>
605
606 * gdb.ada/mod_from_name.exp: Test printing slice.
607
6082020-11-04 Tom Tromey <tromey@adacore.com>
609
610 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
611 values.
612 * gdb.ada/access_to_unbounded_array.exp: Test different
613 -fgnat-encodings values.
614 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
615 values.
616 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
617 values.
618 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
619 values.
620 * gdb.ada/array_of_variable_length.exp: Test different
621 -fgnat-encodings values.
622 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
623 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
624 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
625 change.
626 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
627 values.
628 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
629 * gdb.ada/out_of_line_in_inlined.exp: Test different
630 -fgnat-encodings values.
631 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
632 values.
633 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
634 values.
635 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
636 -fgnat-encodings values.
637 * gdb.ada/variant_record_packed_array.exp: Test different
638 -fgnat-encodings values.
639
6402020-11-04 Tom Tromey <tromey@adacore.com>
641
642 * gdb.ada/enum_idx_packed.exp: Add tests.
643 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
644 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
645 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
646 declarations.
647
6482020-11-03 Tom de Vries <tdevries@suse.de>
649
650 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
651 terminator comments.
652 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
653 terminator.
654
6552020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
656
657 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
658 integer format test with regexp.
659
6602020-11-02 Gary Benson <gbenson@redhat.com>
661
662 * gdb.base/print-file-var.exp (test): Separate compiler and
663 linker options, and build using build_executable_from_specs
664 to accommodate this.
665
6662020-11-02 Gary Benson <gbenson@redhat.com>
667
668 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
669 for .c files compiled as C++ with Clang if any shared
670 libraries are specified.
671
6722020-11-02 Gary Benson <gbenson@redhat.com>
673
674 * lib/attributes.h: New header.
675 * gdb.base/backtrace.c: Include the above. Replace
676 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
677 * gdb.base/infcall-nested-structs.c: Likewise.
678 * gdb.base/vla-optimized-out.c: Likewise.
679
6802020-11-02 Tom de Vries <tdevries@suse.de>
681
682 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
683
6842020-11-01 Joel Brobecker <brobecker@adacore.com>
685
686 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
687 System.Min_Int and System.Max_Int with smaller hardcoded
688 constants.
689
6902020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
691
692 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
693 * configure: Re-generate.
694
6952020-10-30 Simon Marchi <simon.marchi@efficios.com>
696
697 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
698 expected output.
699
7002020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
701
702 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
703 behavior.
704 * gdb.base/paginate-bg-execution.exp: Ditto.
705 * gdb.base/paginate-inferior-exit.exp: Ditto.
706 * gdb.base/double-prompt-target-event-error.c: Remove.
707 * gdb.base/double-prompt-target-event-error.exp: Remove.
708
7092020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
710
711 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
712 inferiors' and 'detach inferiors' do not change the current
713 inferior.
714
7152020-10-29 Tom de Vries <tdevries@suse.de>
716
717 * gdb.threads/tls.exp: Fix DUPLICATEs.
718
7192020-10-28 Tom de Vries <tdevries@suse.de>
720
721 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
722
7232020-10-28 Tom de Vries <tdevries@suse.de>
724
725 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
726 * gdb.base/reread.exp: Same.
727
7282020-10-28 Tom de Vries <tdevries@suse.de>
729
730 * lib/gdb.exp (readnow): Handle arg.
731 * gdb.rust/traits.exp: Add KFAILs for -readnow.
732
7332020-10-28 Tom de Vries <tdevries@suse.de>
734
735 * gdb.base/relocate.exp: Update regexp for -readnow.
736
7372020-10-28 Tom de Vries <tdevries@suse.de>
738
739 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
740 -readnow.
741
7422020-10-28 Tom de Vries <tdevries@suse.de>
743
744 PR symtab/26772
745 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
746 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
747
7482020-10-28 Tom de Vries <tdevries@suse.de>
749
750 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
751 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
752 complaint during file command for -readnow.
753
7542020-10-28 Tom de Vries <tdevries@suse.de>
755
756 * gdb.cp/nsalias.exp: Fix typo in test name.
757
7582020-10-28 Tom de Vries <tdevries@suse.de>
759
760 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
761
7622020-10-28 Tom de Vries <tdevries@suse.de>
763
764 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
765 -readnow.
766
7672020-10-27 Tom de Vries <tdevries@suse.de>
768
769 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
770
7712020-10-27 Tom de Vries <tdevries@suse.de>
772
773 * gdb.base/maint.exp: Update for -readnow.
774
7752020-10-27 Tom de Vries <tdevries@suse.de>
776
777 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
778 -readnow.
779
7802020-10-14 Gary Benson <gbenson@redhat.com>
781
782 * gdb.python/py-format-string.exp (test_deref_refs): Treat
783 "_vptr$Base" as correct, in addition to "_vptr.Base".
784 (test_mixed): Likewise.
785
7862020-10-27 Gary Benson <gbenson@redhat.com>
787
788 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
789 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
790
7912020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
792
793 * gdb.base/condbreak.exp: Update the completion tests to
794 consider the '-force' flag.
795
7962020-10-27 Tom de Vries <tdevries@suse.de>
797
798 * gdb.base/list-ambiguous-readnow.exp: New file.
799
8002020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
801
802 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
803 the condition.
804 * gdb.linespec/cpcompletion.exp: Update to consider the
805 '-force-condition' keyword.
806 * gdb.linespec/explicit.exp: Ditto.
807 * lib/completion-support.exp: Ditto.
808
8092020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
810
811 * gdb.base/condbreak-multi-context.cc: New file.
812 * gdb.base/condbreak-multi-context.exp: New file.
813
8142020-10-26 Tom Tromey <tom@tromey.com>
815
816 * lib/mi-support.exp (default_mi_gdb_start): Call
817 gdb_stdin_log_init.
818 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
819 subtract one from gdb_instances.
820 (gdb_stdin_log_write): Flush in_file.
821
8222020-10-26 Tom de Vries <tdevries@suse.de>
823
824 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
825
8262020-10-26 Tom Tromey <tromey@adacore.com>
827
828 * gdb.ada/unsigned_range/foo.adb: New file.
829 * gdb.ada/unsigned_range/pack.adb: New file.
830 * gdb.ada/unsigned_range/pack.ads: New file.
831 * gdb.ada/unsigned_range.exp: New file.
832
8332020-10-26 Tom de Vries <tdevries@suse.de>
834
835 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
836
8372020-10-26 Tom de Vries <tdevries@suse.de>
838
839 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
840 for CU.
841 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
842
8432020-10-23 Tom de Vries <tdevries@suse.de>
844
845 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
846 DW_FORM_string.
847 (Dwarf::_default_form): New proc.
848 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
849 guessed.
850
8512020-10-23 Tom de Vries <tdevries@suse.de>
852
853 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
854 * gdb.dwarf2/atomic-type.exp: Same.
855 * gdb.dwarf2/bad-regnum.exp: Same.
856 * gdb.dwarf2/cpp-linkage-name.exp: Same.
857 * gdb.dwarf2/dw2-align.exp: Same.
858 * gdb.dwarf2/dw2-bad-elf.exp: Same.
859 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
860 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
861 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
862 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
863 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
864 * gdb.dwarf2/enum-type.exp: Same.
865 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
866 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
867 * gdb.dwarf2/main-subprogram.exp: Same.
868 * gdb.dwarf2/missing-type-name.exp: Same.
869 * gdb.dwarf2/nonvar-access.exp: Same.
870 * gdb.dwarf2/typedef-void-finish.exp: Same.
871 * gdb.dwarf2/var-access.exp: Same.
872 * gdb.dwarf2/void-type.exp: Same.
873
8742020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
875
876 PR gdb/26693
877 * gdb.dwarf2/template-specification-full-name.exp: New test.
878
8792020-10-22 Luis Machado <luis.machado@linaro.org>
880
881 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
882 expected an offset from the function.
883 * gdb.base/msym-bp.exp (test): Likewise.
884
8852020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 * gdb.fortran/array-slices.exp: Add a new test.
888
8892020-10-21 Gary Benson <gbenson@redhat.com>
890
891 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
892 fullname test with Clang. Also expand comments generally.
893
8942020-10-20 Tom de Vries <tdevries@suse.de>
895
896 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
897
8982020-10-20 Tom de Vries <tdevries@suse.de>
899
900 * gdb.dwarf2/arr-stride.c: Remove.
901 * gdb.dwarf2/arr-stride.exp: Use main.c.
902 * gdb.dwarf2/arr-subrange.c: Remove.
903 * gdb.dwarf2/arr-subrange.exp: Use main.c.
904 * gdb.dwarf2/bad-regnum.c: Remove.
905 * gdb.dwarf2/bad-regnum.exp: Use main.c.
906 * gdb.dwarf2/corrupt.c: Remove.
907 * gdb.dwarf2/corrupt.exp: Use main.c.
908 * gdb.dwarf2/dw2-bad-elf.c: Remove.
909 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
910 * gdb.dwarf2/dw2-icycle.c: Remove.
911 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
912 * gdb.dwarf2/formdata16.c: Remove.
913 * gdb.dwarf2/formdata16.exp: Use main.c.
914 * gdb.dwarf2/implptrconst.c: Remove.
915 * gdb.dwarf2/implptrconst.exp: Use main.c.
916 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
917 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
918 * gdb.dwarf2/opaque-type-lookup.c: Remove.
919 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
920
9212020-10-20 Tom de Vries <tdevries@suse.de>
922
923 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
924 file.
925 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
926
9272020-10-20 Tom de Vries <tdevries@suse.de>
928
929 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
930 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
931 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
932 * gdb.dwarf2/dw2-ranges-base.exp: Same.
933 * gdb.dwarf2/dw2-ranges.exp: Same.
934 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
935 * gdb.dwarf2/var-access.exp: Same.
936
9372020-10-19 Tom Tromey <tromey@adacore.com>
938
939 PR tui/26719
940 * gdb.tui/list.exp: Check source window contents after focus
941 change.
942
9432020-10-17 Tom de Vries <tdevries@suse.de>
944
945 PR symtab/26317
946 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
947
9482020-10-17 Tom de Vries <tdevries@suse.de>
949
950 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
951 as suffix.
952 * gdb.dwarf2/atomic.c: Rename to ...
953 * gdb.dwarf2/atomic-type.c: ... this.
954 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
955 * gdb.dwarf2/dw2-ranges-2.c: ... this.
956 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
957 * gdb.dwarf2/dw2-ranges-3.c: ... this.
958 * gdb.dwarf2/fission-mix2.c: Rename to ...
959 * gdb.dwarf2/fission-mix-2.c: ... this.
960 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
961 standard_testfile.
962 * gdb.dwarf2/ada-valprint-error.exp: Same.
963 * gdb.dwarf2/arr-stride.exp: Same.
964 * gdb.dwarf2/arr-subrange.exp: Same.
965 * gdb.dwarf2/atomic-type.exp: Same.
966 * gdb.dwarf2/bad-regnum.exp: Same.
967 * gdb.dwarf2/break-inline-psymtab.exp: Same.
968 * gdb.dwarf2/clang-debug-names-2.exp: Same.
969 * gdb.dwarf2/clang-debug-names.exp: Same.
970 * gdb.dwarf2/comp-unit-lang.exp: Same.
971 * gdb.dwarf2/corrupt.exp: Same.
972 * gdb.dwarf2/count.exp: Same.
973 * gdb.dwarf2/cpp-linkage-name.exp: Same.
974 * gdb.dwarf2/data-loc.exp: Same.
975 * gdb.dwarf2/dw2-align.exp: Same.
976 * gdb.dwarf2/dw2-bad-elf.exp: Same.
977 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
978 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
979 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
980 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
981 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
982 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
983 * gdb.dwarf2/dw2-inline-param.exp: Same.
984 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
985 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
986 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
987 * gdb.dwarf2/dw2-is-stmt.exp: Same.
988 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
989 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
990 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
991 * gdb.dwarf2/dw2-param-error.exp: Same.
992 * gdb.dwarf2/dw2-ranges-base.exp: Same.
993 * gdb.dwarf2/dw2-ranges.exp: Same.
994 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
995 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
996 * gdb.dwarf2/dw4-sig-types.exp: Same.
997 * gdb.dwarf2/dynarr-ptr.exp: Same.
998 * gdb.dwarf2/enum-type.exp: Same.
999 * gdb.dwarf2/fission-mix.exp: Same.
1000 * gdb.dwarf2/formdata16.exp: Same.
1001 * gdb.dwarf2/implptrconst.exp: Same.
1002 * gdb.dwarf2/implptrpiece.exp: Same.
1003 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1004 * gdb.dwarf2/main-subprogram.exp: Same.
1005 * gdb.dwarf2/method-ptr.exp: Same.
1006 * gdb.dwarf2/missing-sig-type.exp: Same.
1007 * gdb.dwarf2/nonvar-access.exp: Same.
1008 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1009 * gdb.dwarf2/shortpiece.exp: Same.
1010 * gdb.dwarf2/staticvirtual.exp: Same.
1011 * gdb.dwarf2/subrange.exp: Same.
1012 * gdb.dwarf2/symtab-producer.exp: Same.
1013 * gdb.dwarf2/typedef-void-finish.exp: Same.
1014 * gdb.dwarf2/var-access.exp: Same.
1015 * gdb.dwarf2/variant.exp: Same.
1016 * gdb.dwarf2/void-type.exp: Same.
1017 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1018 dw2-ranges-main.c.
1019 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1020
10212020-10-16 Tom de Vries <tdevries@suse.de>
1022
1023 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1024
10252020-10-16 Tom de Vries <tdevries@suse.de>
1026
1027 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1028
10292020-10-14 Tom de Vries <tdevries@suse.de>
1030
1031 PR testsuite/26732
1032 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1033 scenario 2.
1034 * gdb.ada/mi_catch_ex_hand.exp: Same.
1035
10362020-10-13 Pedro Alves <pedro@palves.net>
1037
1038 * lib/mi-support.exp (mi_clean_restart): New.
1039 (mi_run_to_main): Delete.
1040 All callers adjust to use mi_clean_restart / mi_runto_main.
1041
10422020-10-13 Pedro Alves <pedro@palves.net>
1043
1044 * config/monitor.exp: Use "list -q".
1045 * gdb.arch/gdb1558.exp: Use "break -q".
1046 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1047 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1048 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1049 * gdb.base/commands.exp: Use "break -q".
1050 * gdb.base/condbreak.exp: Use "break -q".
1051 * gdb.base/ctf-ptype.exp: Use "list -q".
1052 * gdb.base/define.exp: Use "break -q".
1053 * gdb.base/del.exp: Use "break -q".
1054 * gdb.base/fullname.exp: Use "break -q".
1055 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1056 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1057 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1058 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1059 "hbreak -q".
1060 * gdb.base/included.exp: Use "list -q".
1061 * gdb.base/label.exp: Use "break -q".
1062 * gdb.base/lineinc.exp: Use "break -q".
1063 * gdb.base/list.exp: Use "list -q".
1064 * gdb.base/macscp.exp: Use "list -q".
1065 * gdb.base/pending.exp: Use "break -q".
1066 * gdb.base/prologue-include.exp: Use "break -q".
1067 * gdb.base/ptype.exp: Use "list -q".
1068 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1069 * gdb.base/server-del-break.exp: Use "break -q".
1070 * gdb.base/style.exp: Use "break -q".
1071 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1072 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1073 * gdb.cp/exception.exp: Use "tbreak -q".
1074 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1075 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1076 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1077 * gdb.dwarf2/pr13961.exp: Use "break -q".
1078 * gdb.linespec/explicit.exp: Use "list -q".
1079 * gdb.linespec/linespec.exp: Use "break -q".
1080 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1081 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1082 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1083 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1084 * gdb.trace/change-loc.exp: Use "break -q".
1085 * gdb.trace/pending.exp: Use "break -q".
1086 * gdb.tui/basic.exp: Use "list -q".
1087 * gdb.tui/list-before.exp: Use "list -q".
1088 * gdb.tui/list.exp: Use "list -q".
1089 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1090
10912020-10-13 Pedro Alves <pedro@palves.net>
1092
1093 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1094 saved breakpoints file.
1095 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1096 inspecting breakpoint list.
1097 * lib/gdb.exp (runto_main): Add "qualified" to options.
1098 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1099 and handle it.
1100 (mi_runto_main): Pass 1 as qualified argument.
1101
11022020-10-13 Pedro Alves <pedro@palves.net>
1103
1104 * lib/mi-support.exp (mi_runto_main): New proc.
1105 (mi_run_to_main): Use it.
1106 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1107 * gdb.mi/mi-var-cmd.exp: Likewise.
1108 * gdb.mi/mi-var-invalidate.exp: Likewise.
1109 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1110 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1111 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1112 * gdb.mi/user-selected-context-sync.exp: Likewise.
1113 * gdb.opt/inline-cmds.exp: Likewise.
1114 * gdb.python/py-framefilter-mi.exp: Likewise.
1115 * gdb.python/py-mi.exp: Likewise.
1116
11172020-10-13 Pedro Alves <pedro@palves.net>
1118
1119 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1120 "runto main".
1121 * gdb.ada/small_reg_param.exp: Likewise.
1122 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1123 * gdb.base/annota1.exp: Likewise.
1124 * gdb.base/anon.exp: Likewise.
1125 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1126 * gdb.base/dprintf-non-stop.exp: Likewise.
1127 * gdb.base/dprintf.exp: Likewise.
1128 * gdb.base/gdb11530.exp: Likewise.
1129 * gdb.base/gdb11531.exp: Likewise.
1130 * gdb.base/gnu_vector.exp: Likewise.
1131 * gdb.base/interrupt-noterm.exp: Likewise.
1132 * gdb.base/memattr.exp: Likewise.
1133 * gdb.base/step-over-syscall.exp: Likewise.
1134 * gdb.base/watch-cond-infcall.exp: Likewise.
1135 * gdb.base/watch-read.exp: Likewise.
1136 * gdb.base/watch-vfork.exp: Likewise.
1137 * gdb.base/watch_thread_num.exp: Likewise.
1138 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1139 * gdb.guile/scm-frame-inline.exp: Likewise.
1140 * gdb.linespec/explicit.exp: Likewise.
1141 * gdb.opt/inline-break.exp: Likewise.
1142 * gdb.python/py-frame-inline.exp: Likewise.
1143 * gdb.reverse/break-precsave.exp: Likewise.
1144 * gdb.reverse/break-reverse.exp: Likewise.
1145 * gdb.reverse/consecutive-precsave.exp: Likewise.
1146 * gdb.reverse/consecutive-reverse.exp: Likewise.
1147 * gdb.reverse/finish-precsave.exp: Likewise.
1148 * gdb.reverse/finish-reverse.exp: Likewise.
1149 * gdb.reverse/fstatat-reverse.exp: Likewise.
1150 * gdb.reverse/getresuid-reverse.exp: Likewise.
1151 * gdb.reverse/i386-precsave.exp: Likewise.
1152 * gdb.reverse/i386-reverse.exp: Likewise.
1153 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1154 * gdb.reverse/i387-env-reverse.exp: Likewise.
1155 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1156 * gdb.reverse/insn-reverse.exp: Likewise.
1157 * gdb.reverse/machinestate-precsave.exp: Likewise.
1158 * gdb.reverse/machinestate.exp: Likewise.
1159 * gdb.reverse/pipe-reverse.exp: Likewise.
1160 * gdb.reverse/readv-reverse.exp: Likewise.
1161 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1162 * gdb.reverse/rerun-prec.exp: Likewise.
1163 * gdb.reverse/s390-mvcle.exp: Likewise.
1164 * gdb.reverse/solib-precsave.exp: Likewise.
1165 * gdb.reverse/solib-reverse.exp: Likewise.
1166 * gdb.reverse/step-precsave.exp: Likewise.
1167 * gdb.reverse/step-reverse.exp: Likewise.
1168 * gdb.reverse/time-reverse.exp: Likewise.
1169 * gdb.reverse/until-precsave.exp: Likewise.
1170 * gdb.reverse/until-reverse.exp: Likewise.
1171 * gdb.reverse/waitpid-reverse.exp: Likewise.
1172 * gdb.reverse/watch-precsave.exp: Likewise.
1173 * gdb.reverse/watch-reverse.exp: Likewise.
1174 * gdb.threads/kill.exp: Likewise.
1175 * gdb.threads/tid-reuse.exp: Likewise.
1176
11772020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1178
1179 PR gdb/26642
1180 * gdb.base/maint-target-async-off.c: New test.
1181 * gdb.base/maint-target-async-off.exp: New test.
1182
11832020-10-13 Alan Modra <amodra@gmail.com>
1184
1185 * gdb.arch/powerpc-altivec.s,
1186 * gdb.arch/powerpc-power7.s,
1187 * gdb.arch/powerpc-power8.s,
1188 * gdb.arch/powerpc-power9.s,
1189 * gdb.arch/powerpc-vsx.s,
1190 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1191 * gdb.arch/powerpc-altivec.exp,
1192 * gdb.arch/powerpc-power7.exp,
1193 * gdb.arch/powerpc-power8.exp,
1194 * gdb.arch/powerpc-power9.exp,
1195 * gdb.arch/powerpc-vsx.exp,
1196 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1197 disassembly of mfvsrd/mtvsrd.
1198
11992020-10-13 Alan Modra <amodra@gmail.com>
1200
1201 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1202 "target architecture" output.
1203 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1204 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1205 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1206 * gdb.arch/s390-disassembler-options.exp: Likewise.
1207
12082020-10-12 Pedro Alves <pedro@palves.net>
1209
1210 PR exp/26602
1211 PR c++/26550
1212 * gdb.cp/ambiguous.cc (marker1): Delete.
1213 (main): Initialize all the fields of the locals. Replace marker1
1214 call with a "set breakpoint here" marker.
1215 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1216 instead of running to marker1. Add tests printing all the
1217 variables and all the fields of the variables.
1218 (test_ambiguous): New proc, expecting the new GDB output when a
1219 field access is ambiguous. Change all "warning: X ambiguous"
1220 tests to use it.
1221
12222020-10-12 Gary Benson <gbenson@redhat.com>
1223
1224 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1225 * gdb.base/msym-bp-2.c (foo): Likewise.
1226 * gdb.base/msym-lang.c (foo): Likewise.
1227 * gdb.base/msym-lang-main.c (foo): Likewise.
1228 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1229 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1230 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1231 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1232 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1233 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1234 * gdb.python/py-objfile.c (static_var): Likewise.
1235 * gdb.python/py-symbol.c (rr): Likewise.
1236 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1237 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1238
12392020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1240
1241 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1242 output of backtrace.
1243
12442020-10-09 Tom Tromey <tromey@adacore.com>
1245
1246 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1247 (Rec): Add field. Fix range.
1248 * gdb.ada/scalar_storage.exp: Update.
1249
12502020-10-09 Hannes Domani <ssbssa@yahoo.de>
1251
1252 PR exp/26714
1253 * gdb.base/printcmds.exp: Add tests for void results.
1254
12552020-10-09 Jan Vrany <jan.vrany@labware.com>
1256
1257 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1258 is emmited for both 'set directories' and 'directory' commands.
1259
12602020-10-08 Tom Tromey <tom@tromey.com>
1261
1262 * gdb.base/style.exp: Check that "main"'s name is styled.
1263
12642020-10-07 Tom Tromey <tromey@adacore.com>
1265
1266 * gdb.base/find.exp: Rename some tests.
1267
12682020-10-06 Gary Benson <gbenson@redhat.com>
1269
1270 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1271 * gdb.base/list1.c (unused): Likewise.
1272
12732020-10-06 Gary Benson <gbenson@redhat.com>
1274
1275 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1276 __attribute__ ((used)).
1277 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1278
12792020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1280
1281 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1282 make use of regions throughout.
1283 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1284 not {...}.
1285 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1286
12872020-10-05 Hannes Domani <ssbssa@yahoo.de>
1288
1289 * gdb.base/call-sc.c: Fix return struct on stack test case.
1290 * gdb.base/call-sc.exp: Likewise.
1291
12922020-10-02 Gary Benson <gbenson@redhat.com>
1293
1294 * README: Fix "paralell".
1295
12962020-09-30 Gary Benson <gbenson@redhat.com>
1297
1298 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1299 Convert directive to lowercase.
1300 (.Labbrev1_begin): Add missing label.
1301 (abbrev code 0x1): Remove DW_AT_stmt_list.
1302 (.Ldie_b): Likewise.
1303
13042020-09-27 Tom Tromey <tom@tromey.com>
1305
1306 * gdb.tui/new-layout.exp: Use with_test_prefix.
1307
13082020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1309
1310 PR python/26586
1311 * gdb.python/python.exp: add test cases for the from_tty
1312 argument to gdb.execute.
1313
13142020-09-25 Gary Benson <gbenson@redhat.com>
1315
1316 * gdb.base/infcall-nested-structs.exp.tcl: Add
1317 additional_flags=-Wno-tautological-compare for C++
1318 tests when compiling using Clang.
1319
13202020-09-25 Gary Benson <gbenson@redhat.com>
1321
1322 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1323 for .c files.
1324
13252020-09-24 Tom Tromey <tromey@adacore.com>
1326
1327 PR tui/26638:
1328 * gdb.tui/list.exp: Check output of "focus next".
1329
13302020-09-23 Tom Tromey <tom@tromey.com>
1331
1332 * gdb.dwarf2/intbits.exp: New file.
1333 * gdb.dwarf2/intbits.c: New file.
1334
13352020-09-20 Pedro Alves <pedro@palves.net>
1336
1337 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1338 spawn_id before calling remote_close. Close secondary MI channel.
1339
13402020-09-20 Pedro Alves <pedro@palves.net>
1341
1342 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1343 fails.
1344
13452020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.fortran/array-slices.exp: Update expected results.
1348 * gdb.fortran/class-allocatable-array.exp: Likewise.
1349 * gdb.fortran/multi-dim.exp: Likewise.
1350 * gdb.fortran/vla-type.exp: Likewise.
1351 * gdb.mi/mi-vla-fortran.exp: Likewise.
1352
13532020-09-18 Victor Collod <vcollod@nvidia.com>
1354
1355 PR gdb/26635
1356 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1357 compatible with i386, and move it to...
1358 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1359 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1360 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1361
13622020-09-18 Pedro Alves <pedro@palves.net>
1363
1364 PR gdb/26631
1365 * gdb.multi/multi-target-thread-find.exp: New file.
1366
13672020-09-18 Pedro Alves <pedro@palves.net>
1368
1369 * gdb.multi/multi-target-continue.exp: New file, factored out from
1370 multi-target.exp.
1371 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1372 multi-target.exp.
1373 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1374 multi-target.exp.
1375 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1376 multi-target.exp.
1377 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1378 multi-target.exp.
1379 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1380 multi-target.exp.
1381 * gdb.multi/multi-target.exp: Delete.
1382
13832020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1384
1385 * gdb.fortran/array-slices.exp: Add missing message data.
1386
13872020-09-17 Pedro Alves <pedro@palves.net>
1388
1389 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1390
13912020-09-17 Pedro Alves <pedro@palves.net>
1392
1393 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1394 full prototype.
1395
13962020-09-17 Pedro Alves <pedro@palves.net>
1397
1398 * gdb.python/py-as-string.c: Add cast.
1399
14002020-09-17 Pedro Alves <pedro@palves.net>
1401
1402 * gdb.base/sizeof.c (fill): Add cast.
1403
14042020-09-17 Pedro Alves <pedro@palves.net>
1405
1406 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1407
14082020-09-17 Pedro Alves <pedro@palves.net>
1409
1410 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1411 linkage name.
1412 * gdb.base/prologue.exp: Use print /d.
1413 * gdb.base/symbol-alias.exp: Handle C++ output.
1414 * gdb.base/symbol-alias2.c: Handle C++ output.
1415 [__cplusplus] (func): Explicitly specify linkage name.
1416
14172020-09-17 Pedro Alves <pedro@palves.net>
1418
1419 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1420 (struct my_key_t): ... this. Adjust all references.
1421 (struct value_t): Rename to ...
1422 (struct my_value_t): ... this. Adjust all references.
1423 (create_map, add_map_element, create_map_map)
1424 (add_map_map_element): Add casts.
1425
14262020-09-17 Pedro Alves <pedro@palves.net>
1427
1428 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1429 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1430
14312020-09-17 Pedro Alves <pedro@palves.net>
1432
1433 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1434
14352020-09-17 Pedro Alves <pedro@palves.net>
1436
1437 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1438 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1439 (charfoo, intfoo): Define full prototype.
1440 * gdb.base/ptype1.c (charfoo): Define full prototype.
1441 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1442 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1443
14442020-09-17 Pedro Alves <pedro@palves.net>
1445
1446 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1447 Don't define.
1448 (utf_32_string): Compile for both C and C++.
1449 * gdb.base/charset.exp: Use "print /d".
1450
14512020-09-17 Pedro Alves <pedro@palves.net>
1452
1453 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1454 (nullptr): Rename to ...
1455 (null_ptr): ... this.
1456 * gdb.base/watchpoint.exp: Adjust to rename.
1457
14582020-09-17 Pedro Alves <pedro@palves.net>
1459
1460 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1461 (three_not_flag): Add casts.
1462
14632020-09-17 Pedro Alves <pedro@palves.net>
1464
1465 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1466 char array.
1467 (main): Add references to Barrier, TestStrings, TestStringsH and
1468 TestStringsW.
1469 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1470 and expect a full prototype in C++.
1471
14722020-09-17 Pedro Alves <pedro@palves.net>
1473
1474 * gdb.base/nested-addr.c (main): Add cast.
1475 * gdb.base/nested-addr.exp: Use "print /d".
1476
14772020-09-17 Pedro Alves <pedro@palves.net>
1478
1479 * gdb.base/break.exp (func): New. Use it throughout when
1480 expecting a function name.
1481
14822020-09-17 Pedro Alves <pedro@palves.net>
1483
1484 * gdb.base/display.exp: Issue "set print asm-demangle on".
1485
14862020-09-17 Pedro Alves <pedro@palves.net>
1487
1488 * gdb.base/find.c: Include <string.h>.
1489 (init_bufs): Add cast.
1490 * gdb.base/find.exp: Issue "set print asm-demangle on".
1491
14922020-09-16 Tom Tromey <tromey@adacore.com>
1493
1494 PR gdb/26598:
1495 * gdb.base/skipcxx.exp: New file.
1496 * gdb.base/skipcxx.cc: New file.
1497
14982020-09-16 Tom de Vries <tdevries@suse.de>
1499
1500 PR testsuite/26617
1501 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1502 WITH_DEBUG_SECTIONS is defined.
1503 (xstr, str): New macro.
1504 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1505 to get start and size of _Dmain.
1506 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1507 using additional_flags.
1508
15092020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1510
1511 * gdb.base/bp-cmds-sourced-script.c: New file.
1512 * gdb.base/bp-cmds-sourced-script.exp: New test.
1513 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1514
15152020-09-16 Tom de Vries <tdevries@suse.de>
1516
1517 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1518 get the gdb prompt after issuing "monitor exit".
1519
15202020-09-16 Tom de Vries <tdevries@suse.de>
1521
1522 PR testsuite/26624
1523 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1524
15252020-09-16 Tom de Vries <tdevries@suse.de>
1526
1527 PR testsuite/26618
1528 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1529
15302020-09-15 Tom Tromey <tromey@adacore.com>
1531
1532 PR rust/26197:
1533 * lib/rust-support.exp (rust_llvm_version): New proc.
1534 * gdb.rust/simple.exp: Check rust_llvm_version.
1535
15362020-09-14 Tom de Vries <tdevries@suse.de>
1537
1538 * gdb.rust/traits.exp: Fix PATH warning.
1539
15402020-09-13 Pedro Alves <pedro@palves.net>
1541
1542 * gdb.base/catch-follow-exec.c (main): Add explicit return
1543 statement.
1544 * gdb.base/catch-signal.c (main): Likewise.
1545 * gdb.base/condbreak-call-false.c (main): Likewise.
1546 * gdb.base/consecutive.c (main): Add explicit return
1547 statement and return type.
1548 * gdb.base/cursal.c (main): Add explicit return statement.
1549 * gdb.base/cvexpr.c (main): Likewise.
1550 * gdb.base/display.c (main): Add explicit return statement and
1551 return type.
1552 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1553 * gdb.base/endianity.c (main): Likewise.
1554 * gdb.base/execd-prog.c (main): Likewise.
1555 * gdb.base/gdb1090.c (main): Likewise.
1556 * gdb.base/info_qt.c (main): Likewise.
1557 * gdb.base/lineinc.c (main): Likewise.
1558 * gdb.base/load-command.c (main): Likewise.
1559 * gdb.base/macscp1.c (main): Likewise.
1560 * gdb.base/pr10179-a.c (main): Likewise.
1561 * gdb.base/quit-live.c (main): Likewise.
1562 * gdb.base/scope0.c (main): Likewise.
1563 * gdb.base/settings.c (main): Likewise.
1564 * gdb.base/stack-checking.c (main): Return int.
1565 * gdb.base/varargs.c (main): Add explicit return statement.
1566 * gdb.cp/ambiguous.cc (main): Likewise.
1567 * gdb.cp/anon-struct.cc (main): Likewise.
1568 * gdb.cp/anon-union.cc (main): Likewise.
1569 * gdb.cp/bool.cc (main): Likewise.
1570 * gdb.cp/bs15503.cc (main): Likewise.
1571 * gdb.cp/cplusfuncs.cc (main): Likewise.
1572 * gdb.cp/cttiadd.cc (main): Likewise.
1573 * gdb.cp/extern-c.cc (main): Likewise.
1574 * gdb.cp/filename.cc (main): Likewise.
1575 * gdb.cp/formatted-ref.cc (main): Likewise.
1576 * gdb.cp/mb-ctor.cc (main): Likewise.
1577 * gdb.cp/member-ptr.cc (main): Likewise.
1578 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1579 * gdb.cp/overload-const.cc (main): Likewise.
1580 * gdb.cp/paren-type.cc (main): Likewise.
1581 * gdb.cp/parse-lang.cc (main): Likewise.
1582 * gdb.cp/pr-1023.cc (main): Likewise.
1583 * gdb.cp/psmang1.cc (main): Likewise.
1584 * gdb.cp/readnow-language.cc (main): Likewise.
1585 * gdb.cp/ref-params.cc (main): Likewise.
1586 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1587 * gdb.cp/virtbase2.cc (main): Likewise.
1588 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1589 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1590 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1591 * gdb.mi/mi-console.c (main): Likewise.
1592 * gdb.mi/mi-read-memory.c (main): Likewise.
1593 * gdb.modula2/multidim.c (main): Likewise.
1594 * gdb.opt/inline-small-func.c (main): Likewise.
1595 * gdb.python/py-rbreak.c (main): Likewise.
1596 * gdb.stabs/exclfwd1.c (main): Likewise.
1597 * gdb.trace/qtro.c (main): Likewise.
1598
15992020-09-13 Pedro Alves <pedro@palves.net>
1600
1601 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1602 instead of getenv.
1603
16042020-09-13 Pedro Alves <pedro@palves.net>
1605
1606 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1607 instead of spawning GDB with remote_spawn.
1608 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1609 gdb_spawn instead of spawning GDB with remote_spawn.
1610
16112020-09-13 Pedro Alves <pedro@palves.net>
1612
1613 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1614 file and add calls to first and second.
1615 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1616 add call to f.
1617
16182020-09-13 Pedro Alves <pedro@palves.net>
1619
1620 * gdb.mi/mi-break-qualified.cc: New file.
1621 * gdb.mi/mi-break-qualified.exp: New file.
1622 * lib/mi-support.exp (mi_create_breakpoint_multi)
1623 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1624 procedures.
1625 (mi_create_breakpoint_1): New, factored out from
1626 mi_create_breakpoint.
1627
16282020-09-13 Pedro Alves <pedro@palves.net>
1629
1630 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1631 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1632 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1633 (register_class): Delete.
1634 (main): Don't call register_class.
1635
16362020-09-13 Pedro Alves <pedro@palves.net>
1637
1638 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1639 (do_tests): Remove "calling method for small class" test.
1640 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1641 (register_class): Delete.
1642 (main): Don't call register_class.
1643 * gdb.cp/call-method-register.exp: New file, based on bits removed
1644 from classes.exp.
1645 * gdb.cp/call-method-register.cc: New file, based on bits removed
1646 from classes.cc.
1647
16482020-09-13 Pedro Alves <pedro@palves.net>
1649
1650 * gdb.base/msym-bp-2.c: New.
1651 * gdb.base/msym-bp-shl-lib.c: New file.
1652 * gdb.base/msym-bp-shl-main-2.c: New file.
1653 * gdb.base/msym-bp-shl-main.c: New file.
1654 * gdb.base/msym-bp-shl.exp: New file.
1655 * gdb.base/msym-bp.c: New file.
1656 * gdb.base/msym-bp.exp: New file.
1657
16582020-09-13 Joel Brobecker <brobecker@adacore.com>
1659
1660 * gdb.base/default.exp: Change $_gdb_major to 11.
1661
16622020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1663 Felix Willgerodt <Felix.Willgerodt@intel.com>
1664
1665 * x86-avx512bf16.c: New file.
1666 * x86-avx512bf16.exp: Likewise.
1667 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1668
16692020-09-11 Tom de Vries <tdevries@suse.de>
1670
1671 PR exp/26602
1672 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1673
16742020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1675
1676 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1677
16782020-09-10 Alan Modra <amodra@gmail.com>
1679
1680 PR 26597
1681 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1682
16832020-09-08 Tom de Vries <tdevries@suse.de>
1684
1685 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1686 after gdb_starti_cmd.
1687
16882020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1689
1690 * lib/fortran.exp (fortran_complex8): New proc.
1691 (fortran_complex16): New proc.
1692 * gdb.fortran/complex.exp: Use routines from fortran.exp
1693 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1694 * gdb.fortran/vla-ptr-info.exp: Likewise.
1695
16962020-09-03 Tom de Vries <tdevries@suse.de>
1697
1698 PR breakpoint/26546
1699 * gdb.base/label-without-address.exp: Runto main first.
1700
17012020-09-02 Tom Tromey <tromey@adacore.com>
1702
1703 * gdb.ada/mi_var_access.exp: Test children of access variable.
1704 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1705 * gdb.ada/mi_var_array.exp: Update.
1706
17072020-08-31 Kevin Buettner <kevinb@redhat.com>
1708
1709 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1710 on docker w/ AUFS storage driver.
1711
17122020-08-31 Kevin Buettner <kevinb@redhat.com>
1713
1714 * gdb.base/corefile2.exp (renamed binfile): New tests.
1715
17162020-08-31 Simon Marchi <simon.marchi@efficios.com>
1717
1718 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1719
17202020-08-31 Simon Marchi <simon.marchi@efficios.com>
1721
1722 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1723 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1724
17252020-08-31 Simon Marchi <simon.marchi@efficios.com>
1726
1727 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1728 output, printing a "not saved" value from history and printing a
1729 convenience variable created from a "not saved" value.
1730
17312020-08-31 Tom de Vries <tdevries@suse.de>
1732
1733 * gdb.base/eh_return.exp: Use nopie.
1734
17352020-08-28 Pedro Alves <pedro@palves.net>
1736
1737 * gdb.base/advance-until-multiple-locations.exp
1738 (advance_overload, until_overload): Adjust to match the
1739 frame/function header instead of the source line text.
1740
17412020-08-28 Tom de Vries <tdevries@suse.de>
1742
1743 * gdb.base/label-without-address.c: New test.
1744 * gdb.base/label-without-address.exp: New file.
1745
17462020-08-27 Pedro Alves <pedro@palves.net>
1747
1748 PR gdb/26523
1749 PR gdb/26524
1750 * gdb.base/advance-until-multiple-locations.cc: New.
1751 * gdb.base/advance-until-multiple-locations.exp: New.
1752
17532020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1754
1755 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1756
17572020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1758
1759 * gdb.arch/amd64-byte.exp: Make test names unique, use
1760 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1761 * gdb.arch/amd64-dword.exp: Likewise.
1762 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1763 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1764 unique.
1765 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1766 * gdb.arch/amd64-word.exp: Make test names unique, use
1767 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1768 * gdb.arch/i386-byte.exp: Make test names unique, use
1769 gdb_breakpoint.
1770 * gdb.arch/i386-word.exp: Likewise.
1771
17722020-08-25 Shahab Vahedi <shahab@synopsys.com>
1773
1774 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1775
17762020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1777
1778 PR gdb/26532
1779 * gdb.threads/stepi-random-signal.exp: Update pattern.
1780
17812020-08-25 Simon Marchi <simon.marchi@efficios.com>
1782
1783 PR gdb/26532
1784 * gdb.base/ui-redirect.exp: Update pattern.
1785
17862020-08-25 Gary Benson <gbenson@redhat.com>
1787
1788 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1789 when compiling with clang.
1790 * gdb.dwarf2/dw2-restore.exp: Likewise.
1791
17922020-08-25 Gary Benson <gbenson@redhat.com>
1793
1794 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1795 Add additional_flags=-Wno-inaccessible-base when compiling
1796 with GCC >= 10.1 or clang. Add additional_flags=-w when
1797 compiling with GCC < 10.
1798
17992020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1800
1801 PR m2/26372
1802 * gdb.modula2/multidim.c: New file.
1803 * gdb.modula2/multidim.exp: New file.
1804
18052020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1806
1807 * lib/gdb.exp (runto): Always emit fail on internal error.
1808
18092020-08-24 Simon Marchi <simon.marchi@efficios.com>
1810
1811 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1812 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1813 Likewise.
1814 * gdb.threads/stepi-random-signal.exp: Likewise.
1815
18162020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1817
1818 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1819 * gdb.trace/strace.exp: Ditto.
1820
18212020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1822
1823 * gdb.fortran/vla-type.exp: Skip commands not required for
1824 the Flang compiled binaries after prologue fix.
1825
18262020-08-17 Tom de Vries <tdevries@suse.de>
1827 Tom Tromey <tromey@adacore.com>
1828
1829 PR rust/26197:
1830 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1831
18322020-08-17 Tom Tromey <tromey@adacore.com>
1833
1834 * gdb.ada/mi_var_access.exp: New file.
1835 * gdb.ada/mi_var_access/mi_access.adb: New file.
1836 * gdb.ada/mi_var_access/pck.adb: New file.
1837 * gdb.ada/mi_var_access/pck.ads: New file.
1838
18392020-08-16 Tom de Vries <tdevries@suse.de>
1840
1841 PR gdb/25350
1842 * gdb.base/eh_return.c: New test.
1843 * gdb.base/eh_return.exp: New file.
1844
18452020-08-15 Tom de Vries <tdevries@suse.de>
1846
1847 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1848 (mixed_func_1d_): Use fortran_charlen_t in decl.
1849
18502020-08-15 Tom de Vries <tdevries@suse.de>
1851
1852 PR backtrace/26390
1853 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1854 Update expected pattern.
1855
18562020-08-13 Pedro Alves <pedro@palves.net>
1857
1858 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1859 * gdb.fortran/library-module.exp: Likewise.
1860 * gdb.fortran/logical.exp: Likewise.
1861 * gdb.fortran/module.exp: Likewise.
1862 * gdb.fortran/print_type.exp: Likewise.
1863 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1864 * gdb.fortran/vla-datatypes.exp: Likewise.
1865 * gdb.fortran/vla-history.exp: Likewise.
1866 * gdb.fortran/vla-ptr-info.exp: Likewise.
1867 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1868 * gdb.fortran/vla-ptype.exp: Likewise.
1869 * gdb.fortran/vla-sizeof.exp: Likewise.
1870 * gdb.fortran/vla-type.exp: Likewise.
1871 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1872 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1873 * gdb.fortran/vla-value-sub.exp: Likewise.
1874 * gdb.fortran/vla-value.exp: Likewise.
1875
18762020-08-13 Pedro Alves <pedro@palves.net>
1877
1878 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1879 * gdb.ada/access_to_packed_array.exp: Likewise.
1880 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1881 * gdb.ada/addr_arith.exp: Likewise.
1882 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1883 * gdb.ada/arr_arr.exp: Likewise.
1884 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1885 * gdb.ada/array_bounds.exp: Likewise.
1886 * gdb.ada/array_of_variable_length.exp: Likewise.
1887 * gdb.ada/array_ptr_renaming.exp: Likewise.
1888 * gdb.ada/array_subscript_addr.exp: Likewise.
1889 * gdb.ada/arraydim.exp: Likewise.
1890 * gdb.ada/arrayparam.exp: Likewise.
1891 * gdb.ada/arrayptr.exp: Likewise.
1892 * gdb.ada/assign_1.exp: Likewise.
1893 * gdb.ada/assign_arr.exp: Likewise.
1894 * gdb.ada/atomic_enum.exp: Likewise.
1895 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1896 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1897 * gdb.ada/bias.exp: Likewise.
1898 * gdb.ada/boolean_expr.exp: Likewise.
1899 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1900 * gdb.ada/bp_enum_homonym.exp: Likewise.
1901 * gdb.ada/bp_inlined_func.exp: Likewise.
1902 * gdb.ada/bp_on_var.exp: Likewise.
1903 * gdb.ada/bp_range_type.exp: Likewise.
1904 * gdb.ada/bp_reset.exp: Likewise.
1905 * gdb.ada/call_pn.exp: Likewise.
1906 * gdb.ada/catch_assert_if.exp: Likewise.
1907 * gdb.ada/catch_ex.exp: Likewise.
1908 * gdb.ada/catch_ex_std.exp: Likewise.
1909 * gdb.ada/char_enum.exp: Likewise.
1910 * gdb.ada/char_param.exp: Likewise.
1911 * gdb.ada/complete.exp: Likewise.
1912 * gdb.ada/cond_lang.exp: Likewise.
1913 * gdb.ada/convvar_comp.exp: Likewise.
1914 * gdb.ada/dgopt.exp: Likewise.
1915 * gdb.ada/disc_arr_bound.exp: Likewise.
1916 * gdb.ada/display_nested.exp: Likewise.
1917 * gdb.ada/dot_all.exp: Likewise.
1918 * gdb.ada/dyn_loc.exp: Likewise.
1919 * gdb.ada/dyn_stride.exp: Likewise.
1920 * gdb.ada/excep_handle.exp: Likewise.
1921 * gdb.ada/expr_delims.exp: Likewise.
1922 * gdb.ada/expr_with_funcall.exp: Likewise.
1923 * gdb.ada/exprs.exp: Likewise.
1924 * gdb.ada/fin_fun_out.exp: Likewise.
1925 * gdb.ada/fixed_cmp.exp: Likewise.
1926 * gdb.ada/formatted_ref.exp: Likewise.
1927 * gdb.ada/frame_arg_lang.exp: Likewise.
1928 * gdb.ada/frame_args.exp: Likewise.
1929 * gdb.ada/fullname_bp.exp: Likewise.
1930 * gdb.ada/fun_addr.exp: Likewise.
1931 * gdb.ada/fun_in_declare.exp: Likewise.
1932 * gdb.ada/fun_overload_menu.exp: Likewise.
1933 * gdb.ada/fun_renaming.exp: Likewise.
1934 * gdb.ada/funcall_char.exp: Likewise.
1935 * gdb.ada/funcall_param.exp: Likewise.
1936 * gdb.ada/funcall_ptr.exp: Likewise.
1937 * gdb.ada/funcall_ref.exp: Likewise.
1938 * gdb.ada/homonym.exp: Likewise.
1939 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1940 * gdb.ada/info_auto_lang.exp: Likewise.
1941 * gdb.ada/info_exc.exp: Likewise.
1942 * gdb.ada/info_types.exp: Likewise.
1943 * gdb.ada/int_deref.exp: Likewise.
1944 * gdb.ada/interface.exp: Likewise.
1945 * gdb.ada/iwide.exp: Likewise.
1946 * gdb.ada/lang_switch.exp: Likewise.
1947 * gdb.ada/length_cond.exp: Likewise.
1948 * gdb.ada/maint_with_ada.exp: Likewise.
1949 * gdb.ada/mi_catch_assert.exp: Likewise.
1950 * gdb.ada/mi_catch_ex.exp: Likewise.
1951 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1952 * gdb.ada/mi_dyn_arr.exp: Likewise.
1953 * gdb.ada/mi_ex_cond.exp: Likewise.
1954 * gdb.ada/mi_exc_info.exp: Likewise.
1955 * gdb.ada/mi_interface.exp: Likewise.
1956 * gdb.ada/mi_prot.exp: Likewise.
1957 * gdb.ada/mi_ref_changeable.exp: Likewise.
1958 * gdb.ada/mi_string_access.exp: Likewise.
1959 * gdb.ada/mi_task_arg.exp: Likewise.
1960 * gdb.ada/mi_task_info.exp: Likewise.
1961 * gdb.ada/mi_var_array.exp: Likewise.
1962 * gdb.ada/mi_var_union.exp: Likewise.
1963 * gdb.ada/mi_variant.exp: Likewise.
1964 * gdb.ada/minsyms.exp: Likewise.
1965 * gdb.ada/mod_from_name.exp: Likewise.
1966 * gdb.ada/nested.exp: Likewise.
1967 * gdb.ada/null_array.exp: Likewise.
1968 * gdb.ada/optim_drec.exp: Likewise.
1969 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1970 * gdb.ada/packed_array_assign.exp: Likewise.
1971 * gdb.ada/packed_tagged.exp: Likewise.
1972 * gdb.ada/pp-rec-component.exp: Likewise.
1973 * gdb.ada/print_chars.exp: Likewise.
1974 * gdb.ada/print_pc.exp: Likewise.
1975 * gdb.ada/ptr_typedef.exp: Likewise.
1976 * gdb.ada/ptype_arith_binop.exp: Likewise.
1977 * gdb.ada/ptype_array.exp: Likewise.
1978 * gdb.ada/ptype_field.exp: Likewise.
1979 * gdb.ada/ptype_tagged_param.exp: Likewise.
1980 * gdb.ada/ptype_union.exp: Likewise.
1981 * gdb.ada/py_range.exp: Likewise.
1982 * gdb.ada/py_taft.exp: Likewise.
1983 * gdb.ada/rdv_wait.exp: Likewise.
1984 * gdb.ada/rec_comp.exp: Likewise.
1985 * gdb.ada/rec_return.exp: Likewise.
1986 * gdb.ada/ref_param.exp: Likewise.
1987 * gdb.ada/ref_tick_size.exp: Likewise.
1988 * gdb.ada/rename_subscript_param.exp: Likewise.
1989 * gdb.ada/repeat_dyn.exp: Likewise.
1990 * gdb.ada/same_component_name.exp: Likewise.
1991 * gdb.ada/same_enum.exp: Likewise.
1992 * gdb.ada/scalar_storage.exp: Likewise.
1993 * gdb.ada/set_wstr.exp: Likewise.
1994 * gdb.ada/small_reg_param.exp: Likewise.
1995 * gdb.ada/str_binop_equal.exp: Likewise.
1996 * gdb.ada/str_ref_cmp.exp: Likewise.
1997 * gdb.ada/str_uninit.exp: Likewise.
1998 * gdb.ada/sub_variant.exp: Likewise.
1999 * gdb.ada/sym_print_name.exp: Likewise.
2000 * gdb.ada/taft_type.exp: Likewise.
2001 * gdb.ada/tagged.exp: Likewise.
2002 * gdb.ada/tagged_access.exp: Likewise.
2003 * gdb.ada/task_bp.exp: Likewise.
2004 * gdb.ada/task_switch_in_core.exp: Likewise.
2005 * gdb.ada/tasks.exp: Likewise.
2006 * gdb.ada/tick_last_segv.exp: Likewise.
2007 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2008 * gdb.ada/type_coercion.exp: Likewise.
2009 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2010 * gdb.ada/unchecked_union.exp: Likewise.
2011 * gdb.ada/uninitialized_vars.exp: Likewise.
2012 * gdb.ada/var_arr_attrs.exp: Likewise.
2013 * gdb.ada/var_arr_typedef.exp: Likewise.
2014 * gdb.ada/var_rec_arr.exp: Likewise.
2015 * gdb.ada/variant-record.exp: Likewise.
2016 * gdb.ada/variant.exp: Likewise.
2017 * gdb.ada/variant_record_packed_array.exp: Likewise.
2018 * gdb.ada/varsize_limit.exp: Likewise.
2019 * gdb.ada/whatis_array_val.exp: Likewise.
2020 * gdb.ada/widewide.exp: Likewise.
2021 * gdb.ada/win_fu_syms.exp: Likewise.
2022
20232020-08-12 Gary Benson <gbenson@redhat.com>
2024
2025 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2026
20272020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2028
2029 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2030 unset the array variable.
2031
20322020-08-03 Tom de Vries <tdevries@suse.de>
2033
2034 PR symtab/26333
2035 * lib/dwarf.exp (DW_LNE_user): New proc.
2036 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2037 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2038
20392020-07-31 Kevin Buettner <kevinb@redhat.com>
2040
2041 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2042 to 'uintptr_t'
2043 (inttypes.h): Include.
2044
20452020-07-31 Kevin Buettner <kevinb@redhat.com>
2046
2047 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2048 (C5_24k): Delete.
2049 (C5_8k, C5_64k, C5_256k): New macros.
2050 (buf_ro): Allocate 256 KiB of initialized data.
2051
20522020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2053
2054 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2055 that attempt to overwrite an existing condition with a condition
2056 that fails parsing and also with a condition that parses fine
2057 but contains junk at the end.
2058
20592020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2060
2061 * gdb.base/condbreak-bad.c: New test.
2062 * gdb.base/condbreak-bad.exp: New file.
2063
20642020-07-30 Tom de Vries <tdevries@suse.de>
2065
2066 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2067 out of ...
2068 (GDBInfoModuleSymbols::check_entry): ... here.
2069 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2070 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2071 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2072
20732020-07-30 Tom de Vries <tdevries@suse.de>
2074
2075 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2076 "__class_some_module_Number_t" optional.
2077
20782020-07-29 Tom de Vries <tdevries@suse.de>
2079
2080 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2081 multiple locations.
2082
20832020-07-29 Tom de Vries <tdevries@suse.de>
2084
2085 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2086 rather than function name.
2087
20882020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2089
2090 PR symtab/26270:
2091 * gdb.cp/disasm-func-name.cc: New file.
2092 * gdb.cp/disasm-func-name.exp: New file.
2093
20942020-07-28 Tom Tromey <tromey@adacore.com>
2095
2096 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2097 'varval' location.
2098
20992020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2100
2101 * gdb.python/py-unwind.py: Update to make use of a register
2102 descriptor.
2103
21042020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2105
2106 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2107
21082020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 PR fortran/23051
2111 PR fortran/26139
2112 * gdb.fortran/class-allocatable-array.exp: New file.
2113 * gdb.fortran/class-allocatable-array.f90: New file.
2114 * gdb.fortran/pointer-to-pointer.exp: New file.
2115 * gdb.fortran/pointer-to-pointer.f90: New file.
2116
21172020-07-25 Tom de Vries <tdevries@suse.de>
2118
2119 PR symtab/26243
2120 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2121 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2122
21232020-07-24 Tom de Vries <tdevries@suse.de>
2124
2125 PR testsuite/26293
2126 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2127
21282020-07-23 Pedro Alves <pedro@palves.net>
2129
2130 * gdb.server/server-kill.exp (prepare): New, factored out from the
2131 top level.
2132 (kill_server): New.
2133 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2134 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2135
21362020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2137
2138 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2139
21402020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2141
2142 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2143 Initialize to empty string at top level.
2144 (gdb_wrapper_init): Revert check for file existence on build.
2145 Build the wrapper in its default place, not a build-specific
2146 location. When host == build, make the pathname absolute.
2147 (gdb_compile): Delete leftover declaration of
2148 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2149 string instead of uninitialized.
2150
21512020-07-22 Kevin Buettner <kevinb@redhat.com>
2152
2153 * gdb.base/corefile2.exp: New file.
2154 * gdb.base/coremaker2.exp: New file.
2155
21562020-07-22 Kevin Buettner <kevinb@redhat.com>
2157
2158 * gdb.base/coredump-filter.exp: Add second
2159 non-Private-Shared-Anon-File test.
2160 (test_disasm): Rename binfile for test which is expected
2161 to fail.
2162
21632020-07-22 Kevin Buettner <kevinb@redhat.com>
2164
2165 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2166 data in core file".
2167 * gdb.base/coremaker.c (buf2ro): New global.
2168 (mmapdata): Add a read-only mmap mapping.
2169
21702020-07-22 Kevin Buettner <kevinb@redhat.com>
2171
2172 PR corefiles/25631
2173 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2174 New test.
2175 * gdb.base/coremaker.c (buf3): New global.
2176 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2177 flags.
2178
21792020-07-22 Kevin Buettner <kevinb@redhat.com>
2180
2181 * gdb.base/coremaker.c (filler_ro): New global constant.
2182
21832020-07-22 Tom Tromey <tromey@adacore.com>
2184
2185 * gdb.ada/mi_prot.exp: New file.
2186 * gdb.ada/mi_prot/pkg.adb: New file.
2187 * gdb.ada/mi_prot/pkg.ads: New file.
2188 * gdb.ada/mi_prot/prot.adb: New file.
2189
21902020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2191
2192 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2193 loads two JITers.
2194
21952020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2198
21992020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 * gdb.python/py-arch-reg-names.exp: Additional tests.
2202
22032020-07-21 Tom de Vries <tdevries@suse.de>
2204
2205 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2206 breakpoint locations".
2207 * gdb.reverse/solib-reverse.exp: Same.
2208
22092020-07-21 Tom de Vries <tdevries@suse.de>
2210
2211 * gdb.reverse/step-reverse.c (callee): Merge statements.
2212
22132020-07-21 Tom de Vries <tdevries@suse.de>
2214
2215 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2216 line numbers for some variables.
2217
22182020-07-21 Tom de Vries <tdevries@suse.de>
2219
2220 * gdb.opt/inline-locals.c (init_array): New func.
2221 (func1): Use init_array.
2222 * gdb.opt/inline-locals.exp: Update pattern.
2223
22242020-07-21 Tom de Vries <tdevries@suse.de>
2225
2226 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2227 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2228
22292020-07-20 Ludovic Courtès <ludo@gnu.org>
2230
2231 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2232 * gdb.guile/types-module.exp: Remove "ERROR:" from
2233 regexps since Guile 3.0 no longer prints that.
2234
22352020-07-20 Ludovic Courtès <ludo@gnu.org>
2236
2237 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2238 error regexp to match on Guile 2.2.
2239
22402020-07-20 Gary Benson <gbenson@redhat.com>
2241
2242 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2243 with clang.
2244
22452020-07-20 Tom de Vries <tdevries@suse.de>
2246
2247 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2248 (omp_set_lock_in_order): New function.
2249 (single_scope, multi_scope, nested_func, nested_parallel): Use
2250 omp_set_lock_in_order and omp_unset_lock.
2251 (main): Init and destroy lock and lock2.
2252
22532020-07-20 Tom de Vries <tdevries@suse.de>
2254
2255 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2256
22572020-07-20 Tom de Vries <tdevries@suse.de>
2258
2259 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2260
22612020-07-17 Tom de Vries <tdevries@suse.de>
2262
2263 * gdb.base/valgrind-infcall-2.c: New test.
2264 * gdb.base/valgrind-infcall-2.exp: New file.
2265 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2266
22672020-07-17 Tom de Vries <tdevries@suse.de>
2268
2269 * gdb.dlang/circular.c (found): Use found_label as label name.
2270 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2271 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2272 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2273 * gdb.dwarf2/ada-linkage-name.exp: Same.
2274 * gdb.dwarf2/arr-subrange.exp: Same.
2275 * gdb.dwarf2/atomic-type.exp: Same.
2276 * gdb.dwarf2/comp-unit-lang.exp: Same.
2277 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2278 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2279 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2280 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2281 * gdb.dwarf2/implptr-64bit.exp: Same.
2282 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2283 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2284 * gdb.dwarf2/imported-unit.exp: Same.
2285 * gdb.dwarf2/main-subprogram.exp: Same.
2286 * gdb.dwarf2/missing-type-name.exp: Same.
2287 * gdb.dwarf2/nonvar-access.exp: Same.
2288 * gdb.dwarf2/struct-with-sig.exp: Same.
2289 * gdb.dwarf2/typedef-void-finish.exp: Same.
2290 * gdb.dwarf2/void-type.exp: Same.
2291
22922020-07-17 Tom de Vries <tdevries@suse.de>
2293
2294 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2295 src parameter.
2296 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2297 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2298 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2299 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2300 * gdb.dwarf2/dwz.exp: Same.
2301 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2302 * gdb.dwarf2/implref-array.exp: Same.
2303 * gdb.dwarf2/implref-const.exp: Same.
2304 * gdb.dwarf2/implref-global.exp: Same.
2305 * gdb.dwarf2/implref-struct.exp: Same.
2306 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2307 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2308 * gdb.dwarf2/var-access.exp: Same.
2309 * gdb.dwarf2/varval.exp: Same.
2310 * gdb.trace/entry-values.exp: Same.
2311
23122020-07-17 Tom de Vries <tdevries@suse.de>
2313
2314 * lib/dwarf.exp (Dwarf::extern): Remove.
2315 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2316 * gdb.dlang/circular.exp: Same.
2317 * gdb.dwarf2/comp-unit-lang.exp: Same.
2318 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2319 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2320 * gdb.dwarf2/dwz.exp: Same.
2321 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2322 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2323 * gdb.dwarf2/imported-unit.exp: Same.
2324 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2325
23262020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2327
2328 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2329 Use double quotes instead of single quotes.
2330
23312020-07-16 Caroline Tice <cmtice@google.com>
2332
2333 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2334 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2335
23362020-07-16 Tom de Vries <tdevries@suse.de>
2337
2338 * lib/dwarf.exp (program): Initialize _line.
2339 (DW_LNE_end_sequence): Reinitialize _line.
2340 (DW_LNS_advance_line): Update _line.
2341 (line): New proc.
2342 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2343 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2344 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2345 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2346 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2347 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2348
23492020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2352 generic.
2353
23542020-07-15 Tom de Vries <tdevries@suse.de>
2355
2356 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2357 is_amd64_regs_target.
2358
23592020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2360
2361 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2362 * gdb.fortran/ptype-on-functions.f90: Likewise.
2363
23642020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2365
2366 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2367 values in documentation for addr_size to 4 and 8.
2368
23692020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2370
2371 * gdb.arch/amd64-osabi.exp: Update.
2372 * gdb.arch/arm-disassembler-options.exp: Update.
2373 * gdb.arch/powerpc-disassembler-options.exp: Update.
2374 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2375 * gdb.arch/s390-disassembler-options.exp: Update.
2376 * gdb.base/all-architectures.exp.tcl: Update.
2377 * gdb.base/attach-pie-noexec.exp: Update.
2378 * gdb.base/catch-syscall.exp: Update.
2379 * gdb.xml/tdesc-arch.exp: Update.
2380
23812020-07-14 Tom de Vries <tdevries@suse.de>
2382
2383 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2384 (local_gettid): ... this.
2385 (fn): Update.
2386
23872020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2388
2389 * gdb.base/info_sources.exp: Skip directory match tests on
2390 remote hosts.
2391
23922020-07-13 Gary Benson <gbenson@redhat.com>
2393
2394 * gdb.base/savedregs.exp (caller): Use parentheses to
2395 make expected expression evaluation ordering explicit.
2396
23972020-07-13 Gary Benson <gbenson@redhat.com>
2398
2399 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2400
24012020-07-13 Gary Benson <gbenson@redhat.com>
2402
2403 * gdb.base/bigcore.c (main): Use a volatile pointer when
2404 attempting to trigger a SIGSEGV.
2405 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2406 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2407 * gdb.base/savedregs.c (thrower): Likewise.
2408 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2409
24102020-07-13 Gary Benson <gbenson@redhat.com>
2411
2412 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2413 defining and using VLA structure fields into...
2414 * gdb.base/vla-struct-fields.c: New file.
2415 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2416 tests into...
2417 * gdb.base/vla-struct-fields.exp: New file.
2418
24192020-07-13 Tom de Vries <tdevries@suse.de>
2420
2421 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2422 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2423 * gdb.base/gold-gdb-index.exp: Same.
2424 * gdb.base/morestack.exp: Same.
2425
24262020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2427
2428 PR rust/26121
2429 * gdb.rust/modules.rs: Prevent linker from discarding test
2430 symbol.
2431
24322020-07-10 Pedro Alves <pedro@palves.net>
2433
2434 PR gdb/26199
2435 * gdb.multi/multi-target.c (exit_thread): New.
2436 (thread_start): Break loop if EXIT_THREAD.
2437 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2438 (top level) Call test_no_resumed.
2439
24402020-07-08 Tom Tromey <tromey@adacore.com>
2441
2442 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2443 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2444
24452020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2446
2447 PR python/22748
2448 * gdb.opt/inline-frame-tailcall.c: New file.
2449 * gdb.opt/inline-frame-tailcall.exp: New file.
2450 * gdb.python/py-unwind-inline.c: New file.
2451 * gdb.python/py-unwind-inline.exp: New file.
2452 * gdb.python/py-unwind-inline.py: New file.
2453
24542020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.python/py-arch-reg-groups.exp: New file.
2457
24582020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2459
2460 * gdb.python/py-arch-reg-names.exp: New file.
2461
24622020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2463
2464 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2465 gdb.PendingFrame.architecture method.
2466
24672020-07-06 Tom de Vries <tdevries@suse.de>
2468
2469 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2470
24712020-07-03 Pedro Alves <palves@redhat.com>
2472
2473 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2474 explicitly write negative numbers.
2475 * gdb.base/structs2.exp: Adjust expected output.
2476
24772020-07-03 Pedro Alves <palves@redhat.com>
2478
2479 * gdb.base/charset.c (init_string): Change all char parameters to
2480 unsigned char parameters.
2481
24822020-07-03 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.base/call-sc.exp (start_scalars_test): Use
2485 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2486 * gdb.base/overlays.c: Remove references to PARAMS.
2487 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2488 * gdb.base/reread.exp: Don't set 'prototypes' global.
2489 * gdb.base/structs.exp (start_structs_test): Use
2490 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2491 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2492 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2493 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2494 call.
2495 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2496
24972020-07-03 Pedro Alves <palves@redhat.com>
2498
2499 * gdb.base/m32rovly.c: Delete.
2500 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2501
25022020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2503
2504 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2505 of gdb_py_test_multiple.
2506 * gdb.python/py-cmd.exp: Likewise.
2507 * gdb.python/py-events.exp: Likewise.
2508 * gdb.python/py-function.exp: Likewise.
2509 * gdb.python/py-inferior.exp: Likewise.
2510 * gdb.python/py-infthread.exp: Likewise.
2511 * gdb.python/py-linetable.exp: Likewise.
2512 * gdb.python/py-parameter.exp: Likewise.
2513 * gdb.python/py-value.exp: Likewise.
2514
25152020-06-30 Tom de Vries <tdevries@suse.de>
2516
2517 PR testsuite/26175
2518 * lib/future.exp (gdb_default_target_compile): Detect and handle
2519 early_flags.
2520
25212020-06-29 Simon Marchi <simon.marchi@efficios.com>
2522
2523 * boards/simavr.exp (gdb_load): Catch errors when closing
2524 previous connection. Close connection, wait for process and
2525 unset simavr_spawn_id on failure.
2526
25272020-06-29 Tom de Vries <tdevries@suse.de>
2528
2529 * lib/gdb.exp (unknown): Make test-case unresolved.
2530
25312020-06-29 Tom de Vries <tdevries@suse.de>
2532
2533 PR gdb/25475
2534 * gdb.server/solib-list.exp: Verify that the symbol reload
2535 confirmation question is asked.
2536
25372020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2538
2539 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2540 have a input seq nr in each pass message.
2541 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
2542 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2543 * gdb.python/python.exp: Make test names unique,
2544 use gdb_test_multiline instead of gdb_py_test_multiple,
2545 use $gdb_test_name.
2546 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2547
25482020-06-26 Nick Alcock <nick.alcock@oracle.com>
2549
2550 * configure.ac: Add --enable-libctf.
2551 * aclocal.m4: sinclude ../config/enable.m4.
2552 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2553 * lib/gdb.exp (skip_ctf_tests): Use it.
2554 * gdb.base/ctf-constvars.exp: Error message tweak.
2555 * gdb.base/ctf-ptype.exp: Likewise.
2556 * configure: Regenerate.
2557
25582020-06-26 Gary Benson <gbenson@redhat.com>
2559
2560 * gdb.cp/try_catch.cc: Include string.h.
2561 (main): Replace comparison against string literal with
2562 strcmp, avoiding build failure with -Wstring-compare.
2563 Add "marker test-complete".
2564 * gdb.cp/try_catch.exp: Run the test to the above marker,
2565 then verify that the value of "test" is still true.
2566
25672020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2568
2569 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2570
25712020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2572
2573 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2574
25752020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2576
2577 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2578 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2579 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2580 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2581 * gdb.arch/riscv-tdesc-loading.exp: New file.
2582
25832020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2586
25872020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2590 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2591 * gdb.arch/riscv-tdesc-regs.c: New file.
2592 * gdb.arch/riscv-tdesc-regs.exp: New file.
2593
25942020-06-24 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.arch/amd64-entry-value-paramref.exp: Use
2597 prepare_for_testing_full and don't pass "c++" for the .S file
2598 build spec.
2599 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2600 $options, since it's an assembly file. Remove -Wno-deprecated.
2601 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2602 compiling C++ programs.
2603
26042020-06-24 Pedro Alves <palves@redhat.com>
2605
2606 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2607 Clang, add "-Wno-unknown-warning-option" to the options.
2608
26092020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2610
2611 * gdb.xml/tdesc-reload.c: New file.
2612 * gdb.xml/tdesc-reload.exp: New file.
2613 * gdb.xml/maint-xml-dump-01.xml: New file.
2614 * gdb.xml/maint-xml-dump-02.xml: New file.
2615 * gdb.xml/maint-xml-dump.exp: New file.
2616
26172020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2618
2619 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2620 Adjust for omitted commands when TUI is disabled.
2621
26222020-06-23 Gary Benson <gbenson@redhat.com>
2623 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2626 * gdb.cp/nsimport.cc: Likewise.
2627 * gdb.cp/nsnested.cc: Likewise.
2628 * gdb.cp/nsnoimports.cc: Likewise.
2629 * gdb.cp/nsusing.cc: Likewise.
2630 * gdb.cp/smartp.cc: Likewise.
2631 * gdb.python/py-pp-integral.c: Likewise.
2632 * gdb.python/py-pp-re-notag.c: Likewise.
2633
26342020-06-23 Gary Benson <gbenson@redhat.com>
2635
2636 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2637 * gdb.cp/nsimport.cc: Likewise.
2638 * gdb.cp/nsnested.cc: Likewise.
2639 * gdb.cp/nsnoimports.cc: Likewise.
2640 * gdb.cp/nsusing.cc: Likewise.
2641 * gdb.cp/smartp.cc: Likewise.
2642 * gdb.python/py-pp-integral.c: Likewise.
2643 * gdb.python/py-pp-re-notag.c: Likewise.
2644
26452020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2646
2647 * gdb.base/default-args.exp: New test.
2648 * gdb.base/default-args.c: New file.
2649 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2650 * gdb.base/default.exp: Update to new help text.
2651 * gdb.base/help.exp: Likewise.
2652 * gdb.base/page.exp: Likewise.
2653 * gdb.base/style.exp: Likewise.
2654 * gdb.guile/guile.exp: Likewise.
2655 * gdb.python/python.exp: Likewise.
2656
26572020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2658
2659 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2660 remote host. Fix search path syntax on Windows host.
2661
26622020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2663
2664 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2665 over 'exec-file-mismatch'.
2666 * gdb.base/attach.c: Mark should_exit volatile.
2667 * gdb.base/attach2.c: Likewise. Add a comment explaining
2668 why the sleep cannot be big.
2669 * gdb.base/attach3.c: New file.
2670
26712020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2672
2673 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2674 prefix optional.
2675
26762020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2677
2678 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2679 for remote host.
2680
26812020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2682 Hafiz Abid Qadeer <abidh@codesourcery.com>
2683
2684 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2685 file sent to remote host.
2686 (top level): Allow int32_t as type of 32-bit register.
2687
26882020-06-19 Tom de Vries <tdevries@suse.de>
2689
2690 * lib/gdb.exp (gdb_note): New proc.
2691 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2692 (gdb_default_target_compile): ... here. Only call
2693 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2694 (use_gdb_compile): Change to array.
2695 (toplevel): Update sets of use_gdb_compile to specify language.
2696 Warn about default_target_compile override. Store dejagnu's version
2697 of default_target_compile in dejagnu_default_target_compile.
2698
26992020-06-18 Tom de Vries <tdevries@suse.de>
2700
2701 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2702 (default_gdb_init): ... here.
2703
27042020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2705
2706 Fix TUI support checks in gdb.tui tests.
2707
2708 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2709 just say UNSUPPORTED.
2710 * gdb.tui/corefile-run.exp: Likewise.
2711 * gdb.tui/empty.exp: Likewise.
2712 * gdb.tui/list-before.exp: Likewise.
2713 * gdb.tui/list.exp: Likewise.
2714 * gdb.tui/main.exp: Likewise.
2715 * gdb.tui/regs.exp: Likewise.
2716 * gdb.tui/resize.exp: Likewise.
2717 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2718 * gdb.tui/tui-layout-asm.exp: Likewise.
2719 * gdb.tui/tui-missing-src.exp: Likewise.
2720 * gdb.tui/winheight.exp: Likewise.
2721 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2722
27232020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2724
2725 Fix TCL error in gdb.python/py-format-string.exp.
2726
2727 * gdb.python/py-format-string.exp: Move test for python support
2728 earlier, out of function body.
2729
27302020-06-15 Simon Marchi <simon.marchi@efficios.com>
2731
2732 * gdb.base/index-cache-load-twice.c: New.
2733 * gdb.base/index-cache-load-twice.exp: New.
2734
27352020-06-17 Keith Seitz <keiths@redhat.com>
2736
2737 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
2738 when executing "gdb --configuration".
2739
27402020-06-17 Tom de Vries <tdevries@suse.de>
2741
2742 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2743 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2744 conditional on presence of gdb_tcl_unknown.
2745 (gdb_finish): Make override undo conditional on presence of
2746 gdb_tcl_unknown.
2747
27482020-06-16 Tom Tromey <tom@tromey.com>
2749
2750 * gdb.python/tui-window.py (failwin): New function. Register it
2751 as a TUI window type.
2752 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2753
27542020-06-16 Gary Benson <gbenson@redhat.com>
2755
2756 * gdb.python/py-nested-maps.c (create_map): Add missing return
2757 value.
2758 (create_map_map): Likewise.
2759
27602020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2761
2762 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2763 variable.
2764 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2765 and use the already-defined 'options' variable.
2766
27672020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2768 Tom de Vries <tdevries@suse.de>
2769
2770 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2771 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2772 (gdb_setup_known_globals): New proc.
2773 (gdb_cleanup_globals): New proc.
2774 * lib/gdb.exp (load_lib): New override proc.
2775 (gdb_stdin_log_init): Set var in_file as persistent global.
2776 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2777 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2778 fpc_compiler as persistent global.
2779
27802020-06-12 Tom de Vries <tdevries@suse.de>
2781
2782 * lib/tuiterm.exp (spawn): Rename to ...
2783 (tui_spawn): ... this.
2784 (toplevel): Move rename of spawn ...
2785 (gdb_init_tuiterm): ... here. New proc.
2786 (gdb_finish_tuiterm): New proc.
2787 * lib/gdb.exp (gdb_finish_hooks): New global var.
2788 (gdb_finish): Handle gdb_finish_hooks.
2789 (tuiterm_env): New proc.
2790 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2791 tuiterm_env.
2792 * gdb.tui/basic.exp: Same.
2793 * gdb.tui/corefile-run.exp: Same.
2794 * gdb.tui/empty.exp: Same.
2795 * gdb.tui/list-before.exp: Same.
2796 * gdb.tui/list.exp: Same.
2797 * gdb.tui/main.exp: Same.
2798 * gdb.tui/new-layout.exp: Same.
2799 * gdb.tui/regs.exp: Same.
2800 * gdb.tui/resize.exp: Same.
2801 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2802 * gdb.tui/tui-layout-asm.exp: Same.
2803 * gdb.tui/tui-missing-src.exp: Same.
2804 * gdb.tui/winheight.exp: Same.
2805
28062020-06-12 Tom de Vries <tdevries@suse.de>
2807
2808 PR testsuite/26110
2809 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2810 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2811
28122020-06-11 Tom Tromey <tom@tromey.com>
2813
2814 PR gdb/18318:
2815 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2816 floating point tests.
2817
28182020-06-11 Keith Seitz <keiths@redhat.com>
2819
2820 PR gdb/21356
2821 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2822 vla_struct.
2823 Add new struct vla_typedef and union vla_typedef_union and
2824 corresponding instantiation objects.
2825 Initialize new objects.
2826 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2827 and vla_typedef_union_object.
2828 Fixup type for vla_struct_object.
2829
28302020-06-11 Tom de Vries <tdevries@suse.de>
2831
2832 * lib/gdb.exp (with_override): New proc, factored out of ...
2833 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2834
28352020-06-10 Tom de Vries <tdevries@suse.de>
2836
2837 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2838
28392020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2840
2841 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2842 parameter, update callers.
2843
28442020-06-04 Simon Marchi <simon.marchi@efficios.com>
2845
2846 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2847 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2848 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2849
28502020-06-04 Tom de Vries <tdevries@suse.de>
2851
2852 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2853
28542020-06-04 Tom de Vries <tdevries@suse.de>
2855
2856 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2857 exp_continue.
2858
28592020-06-04 Tom de Vries <tdevries@suse.de>
2860
2861 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2862
28632020-06-03 Tom de Vries <tdevries@suse.de>
2864
2865 PR symtab/26046
2866 * gdb.cp/breakpoint-locs-2.cc: New test.
2867 * gdb.cp/breakpoint-locs.cc: New test.
2868 * gdb.cp/breakpoint-locs.exp: New file.
2869 * gdb.cp/breakpoint-locs.h: New test.
2870
28712020-06-03 Tom de Vries <tdevries@suse.de>
2872
2873 PR testsuite/25609
2874 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2875 value of global verbose.
2876 * gdb.base/jit-elf.exp: Same.
2877 * gdb.base/jit-reader.exp: Same.
2878
28792020-06-02 Tom de Vries <tdevries@suse.de>
2880
2881 * gdb.dwarf2/multidictionary.exp: Don't use
2882 gdb_spawn_with_cmdline_opts.
2883
28842020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2885
2886 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2887 use_header case.
2888 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2889 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2890 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2891 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2892 * gdb.dwarf2/dw2-inline-header.c: New file.
2893 * gdb.dwarf2/dw2-inline-header.h: New file.
2894
28952020-05-30 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2898 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2899
29002020-05-29 Gary Benson <gbenson@redhat.com>
2901
2902 * gdb.compile/compile-cplus.exp (additional_flags): Also
2903 set when building with clang.
2904 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2905 when building with clang.
2906
29072020-05-29 Gary Benson <gbenson@redhat.com>
2908
2909 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2910 building with clang.
2911 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2912
29132020-05-29 Gary Benson <gbenson@redhat.com>
2914
2915 * gdb.cp/koenig.exp (prepare_for_testing): Add
2916 additional_flags=-Wno-unused-comparison.
2917 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2918
29192020-05-28 Gary Benson <gbenson@redhat.com>
2920
2921 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2922 statement.
2923
29242020-05-28 Gary Benson <gbenson@redhat.com>
2925
2926 * gdb.cp/classes.exp (prepare_for_testing): Add
2927 additional_flags=-Wno-deprecated-register.
2928 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2929 * gdb.cp/misc.exp: Likewise.
2930
29312020-05-28 Gary Benson <gbenson@redhat.com>
2932
2933 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2934 (test_op_new::operator new): Add return statement.
2935 (test_op_new_array::operator new[]): Likewise.
2936
29372020-05-27 Pedro Alves <palves@redhat.com>
2938
2939 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2940 check. Use test_gdb_complete_unique instead of
2941 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2942 test_gdb_complete_multiple instead of
2943 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2944
29452020-05-27 Luis Machado <luis.machado@linaro.org>
2946
2947 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2948 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2949 * gdb.arch/arm-disassembler-options.exp: Likewise.
2950 * gdb.arch/arm-disp-step.exp: Likewise.
2951 * gdb.arch/thumb-prologue.exp: Likewise.
2952 * gdb.base/async.exp: Likewise.
2953 * gdb.base/auxv.exp: Likewise.
2954 * gdb.base/complex-parts.exp: Likewise.
2955 * gdb.base/ena-dis-br.exp: Likewise.
2956 * gdb.base/foll-exec.exp: Likewise.
2957 * gdb.base/permissions.exp: Likewise.
2958 * gdb.base/relocate.exp: Likewise.
2959 * gdb.base/return2.exp: Likewise.
2960 * gdb.base/sigbpt.exp: Likewise.
2961 * gdb.base/siginfo-obj.exp: Likewise.
2962 * gdb.cp/converts.exp: Likewise.
2963 * gdb.cp/exceptprint.exp: Likewise.
2964 * gdb.cp/inherit.exp: Likewise.
2965 * gdb.cp/nsnoimports.exp: Likewise.
2966 * gdb.cp/virtbase2.exp: Likewise.
2967 * gdb.mi/mi-var-cmd.exp: Likewise.
2968 * gdb.mi/var-cmd.c: Likewise.
2969
29702020-05-26 Tom Tromey <tromey@adacore.com>
2971
2972 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2973
29742020-05-26 Tom Tromey <tromey@adacore.com>
2975
2976 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2977 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2978 type.
2979 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2980 variable.
2981
29822020-05-26 Christian Biesinger <cbiesinger@google.com>
2983
2984 * Makefile.in: Use = instead of == for the test command
2985 for portability.
2986
29872020-05-26 Tom de Vries <tdevries@suse.de>
2988
2989 * gdb.base/gold-gdb-index-2.c: New test.
2990 * gdb.base/gold-gdb-index.c: New test.
2991 * gdb.base/gold-gdb-index.exp: New file.
2992 * gdb.base/gold-gdb-index.h: New test.
2993
29942020-05-25 Tom de Vries <tdevries@suse.de>
2995
2996 * boards/gold-gdb-index.exp: New file.
2997
29982020-05-25 Simon Marchi <simon.marchi@efficios.com>
2999
3000 * boards/simavr.exp: New file.
3001
30022020-05-25 Simon Marchi <simon.marchi@efficios.com>
3003
3004 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3005 * gdb.base/inferior-args.exp: New file.
3006 * gdb.base/inferior-args.c: New file.
3007
30082020-05-25 Simon Marchi <simon.marchi@efficios.com>
3009
3010 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3011 inferior_args. Pass it to gdb_reload.
3012 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3013 inferior_args.
3014 (gdb_reload): Add inferior_args argument.
3015 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3016 pass it to gdbserver_run.
3017 * boards/native-gdbserver.exp: Do not set noargs.
3018 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3019 inferior_args argument.
3020 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3021 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3022 * gdb.base/args.exp: Likewise.
3023
30242020-05-25 Tom de Vries <tdevries@suse.de>
3025
3026 * lib/gdb.exp (exec_is_pie): Add comment.
3027
30282020-05-25 Tom de Vries <tdevries@suse.de>
3029
3030 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3031 instead of $binfile in the untested message.
3032
30332020-05-25 Tom de Vries <tdevries@suse.de>
3034
3035 PR testsuite/26031
3036 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3037
30382020-05-25 Tom de Vries <tdevries@suse.de>
3039
3040 * boards/gold.exp: New file.
3041
30422020-05-23 Tom Tromey <tom@tromey.com>
3043
3044 * gdb.base/style.exp: Remove completion styling test.
3045 * lib/gdb-utils.exp (style): Remove completion styles.
3046
30472020-05-23 Tom Tromey <tom@tromey.com>
3048
3049 * gdb.base/style.exp: Add completion styling test.
3050 * lib/gdb-utils.exp (style): Add completion styles.
3051
30522020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3053
3054 * gdb.base/annota1.exp: Update expected results.
3055 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3056 test name.
3057 * gdb.cp/annota3.exp: Update expected results.
3058
30592020-05-20 Simon Marchi <simon.marchi@efficios.com>
3060
3061 PR gdb/26016
3062 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3063 against MAP_FAILED.
3064 * gdb.base/coremaker.c (mmapdata): Likewise.
3065 * gdb.base/jit-reader-host.c (main): Likewise.
3066 * gdb.base/sym-file-loader.c (load): Likewise.
3067 (load_shlib): Likewise.
3068
30692020-05-20 Tom Tromey <tromey@adacore.com>
3070
3071 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3072
30732020-05-20 Tom de Vries <tdevries@suse.de>
3074
3075 PR symtab/25833
3076 * gdb.base/with-mf-inc.c: New test.
3077 * gdb.base/with-mf-main.c: New test.
3078 * gdb.base/with-mf.exp: New file.
3079
30802020-05-19 Tom Tromey <tromey@adacore.com>
3081
3082 * gdb.rust/simple.exp: Restore missing test result.
3083
30842020-05-19 Tom de Vries <tdevries@suse.de>
3085
3086 * gdb.base/gdb-caching-proc.exp: Fix typo.
3087
30882020-05-19 Tom Tromey <tromey@adacore.com>
3089
3090 * gdb.rust/simple.exp: Add some test descriptions.
3091 (test_one_slice): Use with_test_prefix.
3092
30932020-05-18 Tom de Vries <tdevries@suse.de>
3094
3095 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3096
30972020-05-17 Pedro Alves <palves@redhat.com>
3098
3099 PR gdb/25741
3100 * gdb.base/hw-sw-break-same-address.exp: New file.
3101
31022020-05-16 Pedro Alves <palves@redhat.com>
3103
3104 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3105 LAST_LOADED_FILE accordingly.
3106
31072020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3108
3109 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3110
31112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3112
3113 * gdb.base/help.exp: Test apropos and help for commands
3114 having aliases. Fixed comments not starting with an
3115 upper-case letter or not finishing with a dot.
3116
31172020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3118
3119 * gdb.base/alias.exp: Update help output check.
3120
31212020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3122
3123 * gdb.base/default.exp: Update output following fixes.
3124
31252020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3126
3127 * gdb.base/alias.exp: Test aliases starting with a prefix of
3128 another alias.
3129
31302020-05-15 Gary Benson <gbenson@redhat.com>
3131
3132 * gdb.base/info-os.c (main): Add return statement.
3133 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3134 * gdb.base/large-frame-2.c (func): Likewise.
3135 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3136 * gdb.base/pr10179-b.c (foo2): Likewise.
3137 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3138 * gdb.base/watch-cond.c (func): Likewise.
3139 * gdb.multi/goodbye.c (verylongfun): Likewise.
3140 * gdb.multi/hello.c (commonfun): Likewise.
3141 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3142 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3143 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3144 Likewise.
3145 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3146 * gdb.threads/interrupt-while-step-over.c (child_function):
3147 Likewise.
3148 * gdb.trace/actions-changed.c (end): Likewise.
3149
31502020-05-15 Gary Benson <gbenson@redhat.com>
3151
3152 * gdb.opencl/callfuncs.exp: Report when test skipped.
3153 * gdb.opencl/convs_casts.exp: Likewise.
3154 * gdb.opencl/datatypes.exp: Likewise.
3155 * gdb.opencl/operators.exp: Likewise.
3156 * gdb.opencl/vec_comps.exp: Likewise.
3157
31582020-05-15 Tom de Vries <tdevries@suse.de>
3159
3160 * gdb.base/align.exp.in: Rename to ...
3161 * gdb.base/align.exp.tcl: ... this.
3162 * gdb.base/align-c++.exp: Update.
3163 * gdb.base/align-c.exp: Update.
3164 * gdb.base/all-architectures.exp.in: Rename to ...
3165 * gdb.base/all-architectures.exp: ... this.
3166 * gdb.base/all-architectures-0.exp: Update.
3167 * gdb.base/all-architectures-1.exp: Update.
3168 * gdb.base/all-architectures-2.exp: Update.
3169 * gdb.base/all-architectures-3.exp: Update.
3170 * gdb.base/all-architectures-4.exp: Update.
3171 * gdb.base/all-architectures-5.exp: Update.
3172 * gdb.base/all-architectures-6.exp: Update.
3173 * gdb.base/all-architectures-7.exp: Update.
3174 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3175 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3176 * gdb.base/infcall-nested-structs-c++.exp: Update.
3177 * gdb.base/infcall-nested-structs-c.exp: Update.
3178 * gdb.base/info-types.exp.in: Rename to ...
3179 * gdb.base/info-types.exp.tcl: ... this.
3180 * gdb.base/info-types-c++.exp: Update.
3181 * gdb.base/info-types-c.exp: Update.
3182 * gdb.base/max-depth.exp.in: Rename to ...
3183 * gdb.base/max-depth.exp.tcl: ... this.
3184 * gdb.base/max-depth-c++.exp: Update.
3185 * gdb.base/max-depth-c.exp: Update.
3186 * gdb.cp/cpexprs.exp.in: Rename to ...
3187 * gdb.cp/cpexprs.exp.tcl: ... this.
3188 * gdb.cp/cpexprs-debug-types.exp: Update.
3189 * gdb.cp/cpexprs.exp: Update.
3190 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3191 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3192 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3193 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3194 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3195 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3196 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3197 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3198 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3199 * gdb.dwarf2/clang-debug-names.exp: Update.
3200
32012020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * lib/check-test-names.exp: Remove code that prevents this file
3204 loading when tests are run in parallel.
3205
32062020-05-15 Pedro Alves <palves@redhat.com>
3207
3208 * gdb.multi/multi-kill.exp (start_inferior): Remove
3209 'testpid' parameter. Refer to namespace variable directly.
3210 (testpid): Declare as namespace variable.
3211
32122020-05-15 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.multi/multi-kill.exp: Wrap in namespace.
3215 (start_inferior): Add TESTPID parameter. Use it instead of the
3216 testpid global.
3217 (top level): Define empty TESTPID array, and pass it down to
3218 start_inferior.
3219
32202020-05-14 Tom de Vries <tdevries@suse.de>
3221
3222 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3223 output.
3224
32252020-05-14 Tom de Vries <tdevries@suse.de>
3226
3227 * gdb.base/align.exp: Split into ...
3228 * gdb.base/align.exp.in: ...
3229 * gdb.base/align-c++.exp: ...
3230 * gdb.base/align-c.exp: ... these.
3231 * gdb.base/infcall-nested-structs.exp: Split into ...
3232 * gdb.base/infcall-nested-structs.exp.in: ...
3233 * gdb.base/infcall-nested-structs-c++.exp: ...
3234 * gdb.base/infcall-nested-structs-c.exp: ... these.
3235 * gdb.base/info-types.exp: Split into ...
3236 * gdb.base/info-types.exp.in: ...
3237 * gdb.base/info-types-c++.exp: ...
3238 * gdb.base/info-types-c.exp: ... these.
3239 * gdb.base/max-depth.exp: Split into ...
3240 * gdb.base/max-depth.exp.in: ...
3241 * gdb.base/max-depth-c++.exp: ...
3242 * gdb.base/max-depth-c.exp: ... these.
3243 * gdb.cp/infcall-nodebug.exp: Split into ...
3244 * gdb.cp/infcall-nodebug.exp.in: ...
3245 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3246 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3247 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3248 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3249
32502020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3251 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.multi/multi-exit.c: New file.
3254 * gdb.multi/multi-exit.exp: New file.
3255 * gdb.multi/multi-kill.c: New file.
3256 * gdb.multi/multi-kill.exp: New file.
3257
32582020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3259
3260 * gdb.base/annota1.exp: Update the expected output.
3261 * gdb.cp/annota2.exp: Ditto.
3262
32632020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * lib/check-test-names.exp: Disable when testing is being run in
3266 parallel.
3267
32682020-05-12 Tom de Vries <tdevries@suse.de>
3269
3270 * gdb.base/jit-elf.exp: Fix string concat.
3271
32722020-05-12 Tom de Vries <tdevries@suse.de>
3273
3274 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3275 messages.
3276
32772020-05-12 Tom de Vries <tdevries@suse.de>
3278
3279 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3280
32812020-05-12 Tom de Vries <tdevries@suse.de>
3282
3283 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3284 * gdb.ada/mi_catch_ex.exp: Same.
3285 * gdb.ada/mi_catch_ex_hand.exp: Same.
3286
32872020-05-12 Tom de Vries <tdevries@suse.de>
3288
3289 * gdb.fortran/complex.exp: Use with_test_prefix.
3290
32912020-05-12 Tom de Vries <tdevries@suse.de>
3292
3293 * gdb.trace/passcount.exp: Fix test-names.
3294
32952020-05-12 Tom de Vries <tdevries@suse.de>
3296
3297 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3298
32992020-05-12 Tom de Vries <tdevries@suse.de>
3300
3301 * gdb.gdb/complaints.exp: Use with_test_prefix.
3302 * gdb.xml/tdesc-regs.exp: Same.
3303 * gdb.opt/inline-locals.exp: Fix test name.
3304
33052020-05-12 Tom de Vries <tdevries@suse.de>
3306
3307 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3308 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3309 * gdb.dwarf2/implref-struct.exp: Same.
3310 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3311 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3312
33132020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3314
3315 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3316
33172020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3318
3319 * lib/check-test-names.exp (all_test_names): New module variable.
3320 (counts): Add 'duplicates' field.
3321 (_check_duplicates): New procedure.
3322 (check): Also check for duplicates.
3323 (do_log_summary): Print duplicates count.
3324 (do_reset_vars): Reset counter for duplicate test names, and
3325 discard all know test names.
3326
33272020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3328
3329 * lib/gdb.exp: Include check-test-names.exp library.
3330 * lib/check-test-names.exp: New file.
3331
33322020-05-11 Tom de Vries <tdevries@suse.de>
3333
3334 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3335
33362020-05-11 Keith Seitz <keiths@redhat.com>
3337
3338 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3339
33402020-05-11 Tom de Vries <tdevries@suse.de>
3341
3342 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3343 * gdb.cp/cpexprs.exp.in: .. here.
3344 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3345 cpexprs.exp.
3346
33472020-05-11 Keith Seitz <keiths@redhat.com>
3348
3349 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3350 test names.
3351 * gdb.ada/arrayptr.exp: Likewise.
3352 * gdb.ada/assign_arr.exp: Likewise.
3353 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3354 * gdb.ada/bp_on_var.exp: Likewise.
3355 * gdb.ada/call_pn.exp: Likewise.
3356 * gdb.ada/complete.exp: Likewise.
3357 * gdb.ada/fun_overload_menu.exp: Likewise.
3358 * gdb.ada/funcall_param.exp: Likewise.
3359 * gdb.ada/funcall_ref.exp: Likewise.
3360 * gdb.ada/packed_array_assign.exp: Likewise.
3361 * gdb.ada/same_component_name.exp: Likewise.
3362 * gdb.ada/type_coercion.exp: Likewise.
3363 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3364 * gdb.ada/variant_record_packed_array.exp: Likewise.
3365
33662020-05-11 Tom de Vries <tdevries@suse.de>
3367
3368 PR symtab/25941
3369 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3370 out of ...
3371 * gdb.dwarf2/clang-debug-names.exp: ... here.
3372 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3373 clang-debug-names.exp.in.
3374 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3375 * gdb.dwarf2/clang-debug-names-2.c: New test.
3376
33772020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3378
3379 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3380 (fortran_runto_main): New Proc, fortran version of runto_main.
3381 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3382 * gdb.fortran/array-bounds.exp: Likewise.
3383 * gdb.fortran/array-slices.exp: Likewise.
3384 * gdb.fortran/block-data.exp: Likewise.
3385 * gdb.fortran/charset.exp: Likewise.
3386 * gdb.fortran/common-block.exp: Likewise.
3387 * gdb.fortran/complex.exp: Likewise.
3388 * gdb.fortran/derived-type-function.exp: Likewise.
3389 * gdb.fortran/derived-type.exp: Likewise.
3390 * gdb.fortran/info-modules.exp: Likewise.
3391 * gdb.fortran/info-types.exp: Likewise.
3392 * gdb.fortran/intrinsics.exp: Likewise.
3393 * gdb.fortran/library-module.exp: Likewise.
3394 * gdb.fortran/logical.exp: Likewise.
3395 * gdb.fortran/max-depth.exp: Likewise.
3396 * gdb.fortran/module.exp: Likewise.
3397 * gdb.fortran/multi-dim.exp: Likewise.
3398 * gdb.fortran/nested-funcs.exp: Likewise.
3399 * gdb.fortran/print-formatted.exp: Likewise.
3400 * gdb.fortran/print_type.exp: Likewise.
3401 * gdb.fortran/printing-types.exp: Likewise.
3402 * gdb.fortran/ptr-indentation.exp: Likewise.
3403 * gdb.fortran/ptype-on-functions.exp: Likewise.
3404 * gdb.fortran/subarray.exp: Likewise.
3405 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3406 * gdb.fortran/vla-datatypes.exp: Likewise.
3407 * gdb.fortran/vla-history.exp: Likewise.
3408 * gdb.fortran/vla-ptr-info.exp: Likewise.
3409 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3410 * gdb.fortran/vla-ptype.exp: Likewise.
3411 * gdb.fortran/vla-sizeof.exp: Likewise.
3412 * gdb.fortran/vla-type.exp: Likewise.
3413 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3414 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3415 * gdb.fortran/vla-value-sub.exp: Likewise.
3416 * gdb.fortran/vla-value.exp: Likewise.
3417 * gdb.fortran/whatis_type.exp: Likewise.
3418 * gdb.mi/mi-var-child-f.exp: Likewise.
3419
34202020-05-09 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3423
34242020-05-08 Tom de Vries <tdevries@suse.de>
3425
3426 * gdb.dwarf2/clang-debug-names.c: New test.
3427 * gdb.dwarf2/clang-debug-names.exp: New file.
3428
34292020-05-06 Simon Marchi <simon.marchi@efficios.com>
3430
3431 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3432 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3433
34342020-05-06 Tom de Vries <tdevries@suse.de>
3435
3436 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3437 breakpoint is at a "recommended breakpoint location".
3438 * gdb.reverse/consecutive-reverse.exp: Same.
3439
34402020-05-06 Tom de Vries <tdevries@suse.de>
3441
3442 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3443 address.
3444
34452020-05-06 Tom de Vries <tdevries@suse.de>
3446
3447 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3448
34492020-05-06 Tom de Vries <tdevries@suse.de>
3450
3451 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3452 info for r.
3453
34542020-05-06 Tom de Vries <tdevries@suse.de>
3455
3456 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3457 necessary.
3458
34592020-05-06 Tom de Vries <tdevries@suse.de>
3460
3461 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3462 void.
3463
34642020-05-06 Tom de Vries <tdevries@suse.de>
3465
3466 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3467 of ...
3468 * gdb.base/async.exp: ... here.
3469 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3470 "recommended breakpoint location".
3471
34722020-05-06 Tom de Vries <tdevries@suse.de>
3473
3474 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3475
34762020-05-04 Tom de Vries <tdevries@suse.de>
3477
3478 * gdb.base/async.exp: Check whether instruction addresses are a
3479 "recommended breakpoint location".
3480
34812020-05-03 Tom Tromey <tom@tromey.com>
3482
3483 * gdb.base/sepdebug.exp: Remove "catch" test.
3484 * gdb.base/break.exp: Remove "catch" test.
3485 * gdb.base/default.exp: Update expected output.
3486
34872020-05-02 Tom de Vries <tdevries@suse.de>
3488
3489 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3490 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3491 * gdb.arch/i386-mpx-map.exp: Same.
3492 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3493 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3494 * gdb.arch/i386-mpx.exp: Same.
3495
34962020-05-02 Tom de Vries <tdevries@suse.de>
3497
3498 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3499
35002020-05-01 Tom de Vries <tdevries@suse.de>
3501
3502 * gdb.ada/operator_bp.exp: Allow more than required amount of
3503 breakpoint.
3504
35052020-05-01 Tom de Vries <tdevries@suse.de>
3506
3507 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3508
35092020-04-30 Hannes Domani <ssbssa@yahoo.de>
3510
3511 PR gdb/18706
3512 * gdb.cp/stub-array-size.cc: New test.
3513 * gdb.cp/stub-array-size.exp: New file.
3514 * gdb.cp/stub-array-size.h: New test.
3515 * gdb.cp/stub-array-size2.cc: New test.
3516
35172020-04-30 Hannes Domani <ssbssa@yahoo.de>
3518
3519 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3520 output to the new format.
3521
35222020-04-29 Simon Marchi <simon.marchi@efficios.com>
3523
3524 * gdb.base/break.exp: Use with_test_prefix.
3525
35262020-04-29 Tom de Vries <tdevries@suse.de>
3527
3528 * lib/gdb.exp (debug_types): New proc.
3529 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3530 * gdb.python/py-symtab.exp: Same.
3531
35322020-04-29 Hannes Domani <ssbssa@yahoo.de>
3533
3534 PR gdb/17320
3535 * gdb.base/pretty-array.c: New test.
3536 * gdb.base/pretty-array.exp: New file.
3537
35382020-04-29 Tom de Vries <tdevries@suse.de>
3539
3540 PR symtab/25889
3541 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3542 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3543 and include cpexprs.exp.
3544
35452020-04-28 Mark Williams <mark@myosotissp.com>
3546
3547 PR gdb/24480
3548 * dw4-toplevel-types.exp: Test for top level types.
3549 * dw4-toplevel-types.cc: Test for top level types.
3550
35512020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3552
3553 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3554 (theads -> threads).
3555
35562020-04-28 Tom de Vries <tdevries@suse.de>
3557
3558 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3559
35602020-04-28 Tom de Vries <tdevries@suse.de>
3561
3562 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3563
35642020-04-28 Tom de Vries <tdevries@suse.de>
3565
3566 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3567
35682020-04-28 Tom de Vries <tdevries@suse.de>
3569
3570 * gdb.dwarf2/main-foo.c: New test.
3571 * gdb.dwarf2/struct-with-sig.exp: New file.
3572
35732020-04-25 Tom de Vries <tdevries@suse.de>
3574
3575 * boards/debug-types.exp: New file.
3576
35772020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3580
35812020-04-24 Tom Tromey <tom@tromey.com>
3582
3583 PR symtab/12707:
3584 * gdb.python/py-symbol.exp: Update expected results for
3585 linkage_name test.
3586 * gdb.cp/print-demangle.exp: New file.
3587 * gdb.base/c-linkage-name.exp: Fix test.
3588 * gdb.guile/scm-symbol.exp: Update expected results for
3589 linkage_name test.
3590
35912020-04-24 Tom Tromey <tom@tromey.com>
3592
3593 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3594 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3595 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3596 assembler.
3597
35982020-04-24 Tom de Vries <tdevries@suse.de>
3599
3600 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3601 C++.
3602
36032020-04-24 Tom Tromey <tromey@adacore.com>
3604
3605 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3606 values.
3607 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3608 values. Update test for minimal encodings.
3609 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3610 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3611 values. Update test for minimal encodings.
3612
36132020-04-24 Tom Tromey <tromey@adacore.com>
3614
3615 PR python/23662:
3616 * gdb.ada/variant.exp: Add Python checks.
3617 * gdb.rust/simple.exp: Add dynamic type checks.
3618
36192020-04-24 Tom Tromey <tromey@adacore.com>
3620
3621 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3622 Make array type matching more lax.
3623 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3624 * gdb.ada/mi_variant.exp: New file.
3625 * gdb.ada/mi_variant/pck.ads: New file.
3626 * gdb.ada/mi_variant/pkg.adb: New file.
3627 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3628 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3629
36302020-04-24 Tom Tromey <tromey@adacore.com>
3631
3632 * gdb.ada/variant.exp: Add dynamic field offset tests.
3633 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3634 * gdb.ada/variant/pkg.adb: Add new variables.
3635
36362020-04-24 Tom Tromey <tromey@adacore.com>
3637
3638 * gdb.ada/variant.exp: New file
3639 * gdb.ada/variant/pkg.adb: New file
3640 * gdb.ada/variant/pck.adb: New file
3641
36422020-04-24 Tom de Vries <tdevries@suse.de>
3643
3644 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3645
36462020-04-24 Tom de Vries <tdevries@suse.de>
3647
3648 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3649 flags.
3650
36512020-04-24 Tom de Vries <tdevries@suse.de>
3652
3653 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3654
36552020-04-24 Tom de Vries <tdevries@suse.de>
3656
3657 * lib/gdb.exp (default_gdb_start): Handle eof.
3658 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3659 failure.
3660 * gdb.base/readnever.exp: Handle clean_restart failure.
3661
36622020-04-23 Tom de Vries <tdevries@suse.de>
3663
3664 * gdb.base/decl-before-def.exp: Run to main and print a again.
3665
36662020-04-23 Tom de Vries <tdevries@suse.de>
3667
3668 * gdb.base/decl-before-def-decl.c: New test.
3669 * gdb.base/decl-before-def-def.c: New test.
3670 * gdb.base/decl-before-def.exp: New file.
3671
36722020-04-23 Tom de Vries <tdevries@suse.de>
3673
3674 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3675
36762020-04-22 Tom de Vries <tdevries@suse.de>
3677
3678 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3679 debug_info_offset.
3680 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3681 before $objsfile in the line line.
3682
36832020-04-22 Tom de Vries <tdevries@suse.de>
3684
3685 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3686
36872020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3688
3689 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3690 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3691 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3692 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3693 * gdb.base/jit-protocol.h: Update definitions to match all usage
3694 contexts.
3695
36962020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3697
3698 * gdb.base: Rename all jit related test and source files.
3699
37002020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3701
3702 * gdb.base/jit-reader.exp: Relax register output check.
3703
37042020-04-22 Tom de Vries <tdevries@suse.de>
3705
3706 PR symtab/25764
3707 * gdb.base/psym-external-decl-2.c: New test.
3708 * gdb.base/psym-external-decl.c: New test.
3709 * gdb.base/psym-external-decl.exp: New file.
3710 * gdb.threads/tls.exp: Add PR25807 kfail.
3711
37122020-04-22 Tom de Vries <tdevries@suse.de>
3713
3714 PR symtab/25801
3715 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3716 in "info source" output.
3717
37182020-04-22 Tom de Vries <tdevries@suse.de>
3719
3720 PR symtab/25700
3721 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3722 symtab for imported_unit.c.
3723
37242020-04-21 Gary Benson <gbenson@redhat.com>
3725
3726 * gdb.base/advance.c (func): New argument, to match call site.
3727 (func2, func3): Add return statements.
3728
37292020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3730
3731 * gdb.multi/run-only-second-inf.c: New file.
3732 * gdb.multi/run-only-second-inf.exp: New file.
3733
37342020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3735
3736 * gdb.btrace/multi-inferior.c: New test.
3737 * gdb.btrace/multi-inferior.exp: New file.
3738
37392020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3740
3741 * gdb.btrace/enable-new-thread.c: New test.
3742 * gdb.btrace/enable-new-thread.exp: New file.
3743
37442020-04-21 Tom de Vries <tdevries@suse.de>
3745
3746 PR gdb/25471
3747 * gdb.threads/killed-outside.c: New test.
3748 * gdb.threads/killed-outside.exp: New file.
3749
37502020-04-20 Gary Benson <gbenson@redhat.com>
3751
3752 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3753 * gdb.base/nested-subp2.exp: Likewise.
3754 * gdb.base/nested-subp3.exp: Likewise.
3755
37562020-04-20 Gary Benson <gbenson@redhat.com>
3757
3758 * gdb.base/nested-subp1.exp: Disable test when using clang.
3759 * gdb.base/nested-subp2.exp: Likewise.
3760 * gdb.base/nested-subp3.exp: Likewise.
3761
37622020-04-20 Gary Benson <gbenson@redhat.com>
3763
3764 * gdb.cp/exception.cc: Fix compilation error with clang.
3765
37662020-04-20 Gary Benson <gbenson@redhat.com>
3767
3768 * gdb.trace/tspeed.c: Fix compilation error with clang.
3769
37702020-04-20 Gary Benson <gbenson@redhat.com>
3771
3772 * gdb.base/jit-main.c: Fix compilation error with clang.
3773
37742020-04-17 Kamil Rytarowski <n54@gmx.com>
3775
3776 * gdb.base/attach-twice.c: Include "sys/types.h".
3777 (PTRACE_ATTACH): Add fallback definition.
3778 (main): Pass `0' to the 4th argument of `ptrace'.
3779
37802020-04-17 Kamil Rytarowski <n54@gmx.com>
3781
3782 * gdb.base/fork-running-state.c: Include "signal.h".
3783
37842020-04-17 Tom Tromey <tromey@adacore.com>
3785
3786 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3787 Update tests.
3788 * gdb.btrace/cpu.exp: Update tests.
3789 * gdb.base/maint.exp: Update tests.
3790 * gdb.base/default.exp: Update tests.
3791 * gdb.base/completion.exp: Update tests.
3792
37932020-04-16 Tom de Vries <tdevries@suse.de>
3794
3795 PR symtab/25791
3796 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3797 (ensure_gdb_index): and factor out and move ...
3798 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3799 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3800
38012020-04-16 Tom de Vries <tdevries@suse.de>
3802
3803 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3804 loading exec.
3805
38062020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3807
3808 * gdb.base/many-completions.exp: New file.
3809
38102020-04-14 Tom de Vries <tdevries@suse.de>
3811
3812 PR symtab/25718
3813 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3814
38152020-04-14 Tom de Vries <tdevries@suse.de>
3816
3817 PR symtab/25720
3818 * gdb.base/maint-expand-symbols-header-file.c: New test.
3819 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3820 * gdb.base/maint-expand-symbols-header-file.h: New test.
3821
38222020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3823
3824 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3825 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3826 get_func_info.
3827 (get_func_info): Delete.
3828 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3829 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3830 * lib/dwarf.exp (get_func_info): New function.
3831
38322020-04-13 Tom de Vries <tdevries@suse.de>
3833
3834 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3835 to what find_gnatmake does.
3836
38372020-04-10 Tom de Vries <tdevries@suse.de>
3838
3839 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3840 -readnow.
3841
38422020-04-10 Tom de Vries <tdevries@suse.de>
3843
3844 PR cli/25808
3845 * gdb.base/style.c: Add leading newlines.
3846 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3847 Check listing of main's one-line body.
3848
38492020-04-08 Tom de Vries <tdevries@suse.de>
3850
3851 * lib/gdb.exp (psymtabs_p): New proc.
3852 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3853 importing unit" unsupported if there are no partial symbols.
3854
38552020-04-08 Tom de Vries <tdevries@suse.de>
3856
3857 PR testsuite/25760
3858 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3859
38602020-04-07 Tom de Vries <tdevries@suse.de>
3861
3862 PR symtab/25796
3863 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3864
38652020-04-07 Tom de Vries <tdevries@suse.de>
3866
3867 * gdb.base/check-psymtab.c: New test.
3868 * gdb.base/check-psymtab.exp: New file.
3869
38702020-04-06 Tom Tromey <tromey@adacore.com>
3871
3872 * gdb.ada/variant-record/proc.adb: New file.
3873 * gdb.ada/variant-record/value.adb: New file.
3874 * gdb.ada/variant-record/value.s: New file.
3875 * gdb.ada/variant-record.exp: New file.
3876
38772020-04-03 Hannes Domani <ssbssa@yahoo.de>
3878
3879 PR gdb/25325
3880 * gdb.cp/typed-enum.cc: New test.
3881 * gdb.cp/typed-enum.exp: New file.
3882
38832020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3884
3885 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3886 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3887 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3888 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3889 * gdb.opt/inline-small-func.c: New file.
3890 * gdb.opt/inline-small-func.exp: New file.
3891 * gdb.opt/inline-small-func.h: New file.
3892
38932020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3894
3895 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3896 function.
3897
38982020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3899
3900 * lib/dwarf.exp (function_range): Allow compiler options to be
3901 specified.
3902
39032020-04-02 Tom de Vries <tdevries@suse.de>
3904
3905 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3906 __attribute__((always_inline)).
3907 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3908
39092020-04-02 Tom de Vries <tdevries@suse.de>
3910
3911 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3912 (gdbserver_gdb_exit): ... here. Add timeout warning.
3913 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3914 (connect_target_extended_remote): Append new server_spawn_id to
3915 server_spawn_ids.
3916 (cleanup): New proc.
3917 (setup, <toplevel>): Call cleanup.
3918
39192020-04-02 Tom de Vries <tdevries@suse.de>
3920
3921 * gdb.base/main-psymtab.exp: New file.
3922
39232020-04-02 Tom de Vries <tdevries@suse.de>
3924
3925 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3926
39272020-04-01 Tom Tromey <tom@tromey.com>
3928
3929 * gdb.base/complex-parts.exp: Add type tests.
3930
39312020-04-01 Tom Tromey <tom@tromey.com>
3932
3933 * gdb.base/complex-parts.exp: Add arithmetic tests.
3934
39352020-04-01 Tom Tromey <tom@tromey.com>
3936
3937 * gdb.compile/compile.exp: Update.
3938 * gdb.compile/compile-cplus.exp: Update.
3939 * gdb.base/varargs.exp: Update.
3940 * gdb.base/floatn.exp: Update.
3941 * gdb.base/endianity.exp: Update.
3942 * gdb.base/callfuncs.exp (do_function_calls): Update.
3943 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3944 (complex_float_integral_args): Update.
3945 * gdb.base/complex.exp: Update.
3946 * gdb.base/complex-parts.exp: Update.
3947
39482020-04-01 Tom Tromey <tromey@adacore.com>
3949
3950 * gdb.rust/union.rs: New file.
3951 * gdb.rust/union.exp: New file.
3952 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3953 (main): Update.
3954 * gdb.rust/simple.exp: Move union tests to union.exp.
3955
39562020-04-01 Tom Tromey <tromey@adacore.com>
3957
3958 * gdb.rust/simple.rs (main): Remove "y0".
3959
39602020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3961
3962 * gdb.multi/stop-all-on-exit.c: New test.
3963 * gdb.multi/stop-all-on-exit.exp: New file.
3964
39652020-04-01 Hannes Domani <ssbssa@yahoo.de>
3966
3967 PR gdb/24789
3968 * gdb.cp/misc.cc: Add integer reference variable.
3969 * gdb.cp/misc.exp: Add test.
3970
39712020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3972
3973 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3974 scenario to cover execution until the end and also the case
3975
39762020-03-31 Tom de Vries <tdevries@suse.de>
3977
3978 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3979 c. Use "maint info symtabs" to check symtab expansion.
3980
39812020-03-30 Tom de Vries <tdevries@suse.de>
3982
3983 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3984 unsupported.
3985 (verify_psymtab_expanded): Move ...
3986 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3987 test.
3988 (readnow): New proc.
3989
39902020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3991
3992 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3993 with $hex.
3994
39952020-03-20 Tom Tromey <tromey@adacore.com>
3996
3997 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3998
39992020-03-20 Tom Tromey <tromey@adacore.com>
4000
4001 * gdb.ada/sub_variant/subv.adb: New file.
4002 * gdb.ada/sub_variant.exp: New file.
4003
40042020-03-20 Tom de Vries <tdevries@suse.de>
4005
4006 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4007 first break fails.
4008 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4009
40102020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4011
4012 * gdb.server/exit-multiple-threads.c: New file.
4013 * gdb.server/exit-multiple-threads.exp: New file.
4014
40152020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4016
4017 * gdb.fortran/mixed-lang-stack.c: New file.
4018 * gdb.fortran/mixed-lang-stack.cpp: New file.
4019 * gdb.fortran/mixed-lang-stack.exp: New file.
4020 * gdb.fortran/mixed-lang-stack.f90: New file.
4021
40222020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4023
4024 * gdb.linespec/cp-completion-aliases.cc: New file.
4025 * gdb.linespec/cp-completion-aliases.exp: New file.
4026
40272020-03-19 Tom de Vries <tdevries@suse.de>
4028
4029 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4030 more precise.
4031
40322020-03-18 Tom de Vries <tdevries@suse.de>
4033
4034 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4035 * gdb.dwarf2/break-inline-psymtab.c: New test.
4036 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4037
40382020-03-16 Tom de Vries <tdevries@suse.de>
4039
4040 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4041 cache_verify and cache_verify_proc.
4042
40432020-03-15 Tom de Vries <tdevries@suse.de>
4044
4045 * gdb.server/solib-list.exp: Handle
4046 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4047
40482020-03-15 Tom de Vries <tdevries@suse.de>
4049
4050 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4051 objfiles".
4052
40532020-03-14 Tom Tromey <tom@tromey.com>
4054
4055 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4056
40572020-03-14 Tom de Vries <tdevries@suse.de>
4058
4059 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4060
40612020-03-14 Tom de Vries <tdevries@suse.de>
4062
4063 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4064 result in line-by-line fashion.
4065
40662020-03-14 Tom de Vries <tdevries@suse.de>
4067
4068 * lib/gdb.exp (supports_statement_frontiers): New proc.
4069 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4070
40712020-03-14 Tom de Vries <tdevries@suse.de>
4072
4073 * gdb.base/printcmds.exp: Add missing quoting for "print
4074 teststring2".
4075
40762020-03-13 Tom Tromey <tom@tromey.com>
4077
4078 * gdb.base/printcmds.exp (test_print_strings): Add regression
4079 test.
4080 * gdb.base/printcmds.c (charptr): New typedef.
4081 (teststring2): New global.
4082
40832020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4086 full path in the test name.
4087 (test_ld): Add some with_test_prefix blocks to make test names
4088 unique.
4089
40902020-03-13 Tom de Vries <tdevries@suse.de>
4091
4092 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4093
40942020-03-13 Tom de Vries <tdevries@suse.de>
4095
4096 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4097
40982020-03-13 Tom de Vries <tdevries@suse.de>
4099
4100 PR symtab/25646
4101 * gdb.dwarf2/imported-unit.exp: Add test.
4102
41032020-03-13 Tom de Vries <tdevries@suse.de>
4104
4105 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4106 (var1, var2): New variable.
4107 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4108 matching symbols.
4109
41102020-03-13 Tom de Vries <tdevries@suse.de>
4111
4112 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4113 (Term::command): Use prompt prefix.
4114 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4115 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4116 command_no_prompt_prefix instead of prefix.
4117 * gdb.tui/tui-layout-asm.exp: Same.
4118
41192020-03-12 Simon Marchi <simon.marchi@efficios.com>
4120
4121 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4122
41232020-03-12 Simon Marchi <simon.marchi@efficios.com>
4124
4125 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4126 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4127 on" while stepping over the test instruction, match printed
4128 message.
4129
41302020-03-12 Tom de Vries <tdevries@suse.de>
4131
4132 * gdb.base/info-types.exp: Use exp_continue during matching of output
4133 of "info types".
4134
41352020-03-12 Tom de Vries <tdevries@suse.de>
4136
4137 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4138
41392020-03-12 Tom de Vries <tdevries@suse.de>
4140
4141 * gdb.fortran/module.exp: Use exp_continue during matching of output
4142 of "info variable -n".
4143
41442020-03-12 Tom de Vries <tdevries@suse.de>
4145
4146 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4147 gdb.dwarf2/dw2-ranges-base.c.
4148
41492020-03-12 Tom de Vries <tdevries@suse.de>
4150
4151 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4152 in presence of GLIBC debuginfo.
4153
41542020-03-12 Tom de Vries <tdevries@suse.de>
4155
4156 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4157 $core.
4158
41592020-03-12 Tom de Vries <tdevries@suse.de>
4160
4161 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4162 more precise.
4163
41642020-03-11 Simon Marchi <simon.marchi@efficios.com>
4165
4166 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4167 from Unix to Windows path.
4168
41692020-03-11 Tom de Vries <tdevries@suse.de>
4170
4171 * gdb.ada/minsyms.exp: Set language to ada.
4172
41732020-03-11 Tom de Vries <tdevries@suse.de>
4174
4175 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4176
41772020-03-11 Tom de Vries <tdevries@suse.de>
4178
4179 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4180
41812020-03-11 Tom Tromey <tromey@adacore.com>
4182
4183 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4184
41852020-03-11 Tom de Vries <tdevries@suse.de>
4186
4187 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4188
41892020-03-11 Tom de Vries <tdevries@suse.de>
4190
4191 * gdb.base/break-interp.exp: Limit verbose scope.
4192
41932020-03-11 Tom de Vries <tdevries@suse.de>
4194
4195 * gdb.fortran/logical.f90: Define variable with character type.
4196 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4197
41982020-03-11 Tom de Vries <tdevries@suse.de>
4199
4200 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4201
42022020-03-11 Tom de Vries <tdevries@suse.de>
4203
4204 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4205 symtabs.
4206
42072020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4208 Bernd Edlinger <bernd.edlinger@hotmail.de>
4209
4210 * gdb.cp/step-and-next-inline.cc: New file.
4211 * gdb.cp/step-and-next-inline.exp: New file.
4212 * gdb.cp/step-and-next-inline.h: New file.
4213 * gdb.dwarf2/dw2-is-stmt.c: New file.
4214 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4215 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4216 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4217 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4218
42192020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4220
4221 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4222 is-stmt flag in the line table.
4223
42242020-03-09 Tom de Vries <tdevries@suse.de>
4225
4226 * lib/gdb.exp (cached_file): Create cache dir.
4227
42282020-03-07 Tom de Vries <tdevries@suse.de>
4229
4230 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4231 * gdb.cp/rvalue-ref-params.exp: Same.
4232
42332020-03-06 Tom de Vries <tdevries@suse.de>
4234
4235 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4236 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4237
42382020-03-06 Tom de Vries <tdevries@suse.de>
4239
4240 * README: Fix "the the".
4241 * gdb.base/dprintf.exp: Same.
4242
42432020-03-05 Tom de Vries <tdevries@suse.de>
4244
4245 * gdb.base/maint.exp: Update "main print statistics" expected output.
4246
42472020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4248
4249 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4250 (fortran_int8): Likewise.
4251 (fortran_real4): Likewise.
4252 (fortran_real8): Likewise.
4253 (fortran_complex4): Likewise.
4254 (fortran_logical4): Likewise.
4255 (fortran_character1): Likewise.
4256
42572020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4258
4259 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4260 printed as true.
4261
42622020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4263
4264 * gdb.base/printcmds.exp: Add test to verify printf of a
4265 variable holding an address.
4266
42672020-03-03 Tom de Vries <tdevries@suse.de>
4268
4269 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4270
42712020-03-03 Tom de Vries <tdevries@suse.de>
4272
4273 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4274 gdb_test_multiple call.
4275
42762020-03-03 Tom de Vries <tdevries@suse.de>
4277
4278 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4279 gdb_test_multiple calls.
4280
42812020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4282
4283 * gdb.base/default.exp: Remove test of 'set history filename'.
4284 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4285 filename to the empty string.
4286 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4287 and GDBHISTSIZE.
4288
42892020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4290
4291 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4292 disabled.
4293
42942020-03-02 Pedro Alves <palves@redhat.com>
4295 Tom de Vries <tdevries@suse.de>
4296
4297 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4298 -prompt prefix, before user_code argument. Add -lbl option likewise.
4299 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4300 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4301 argument.
4302 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4303 have "\r\n" at start-of-line, instead of at end-of-line.
4304
43052020-02-28 Simon Marchi <simon.marchi@efficios.com>
4306
4307 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4308 libinproctrace.so.
4309
43102020-02-28 Luis Machado <luis.machado@linaro.org>
4311
4312 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4313 to "p/x".
4314
43152020-02-28 Luis Machado <luis.machado@linaro.org>
4316
4317 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4318 asm/ptrace.h and error.h.
4319
43202020-02-28 Tom de Vries <tdevries@suse.de>
4321
4322 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4323 (struct wrapper, do_something, mundane/symada__cS): Move ...
4324 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4325 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4326 Update "print symada__cS before partial symtab expansion" regexp.
4327 Update breakpoint location. Flush symbol cache after expansion.
4328
43292020-02-28 Luis Machado <luis.machado@linaro.org>
4330
4331 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4332
43332020-02-27 Tom de Vries <tdevries@suse.de>
4334
4335 * config/sid.exp: Remove unused globals.
4336 * gdb.base/attach.exp: Same.
4337 * gdb.base/catch-load.exp: Same.
4338 * gdb.base/dbx.exp: Same.
4339 * lib/gdb.exp: Same.
4340 * lib/mi-support.exp: Same.
4341 * lib/prompt.exp: Same.
4342
43432020-02-27 Tom de Vries <tdevries@suse.de>
4344
4345 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4346 not set.
4347
43482020-02-26 Aaron Merey <amerey@redhat.com>
4349
4350 * gdb.debuginfod: New directory for debuginfod tests.
4351 * gdb.debuginfod/main.c: New test file.
4352 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4353
43542020-02-26 Tom de Vries <tdevries@suse.de>
4355
4356 PR gdb/25603
4357 * gdb.base/persistent-lang.cc: New test.
4358 * gdb.base/persistent-lang.exp: New file.
4359
43602020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4361
4362 * gdb.fortran/derived-type-striding.exp: Add a new test.
4363 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4364 new test.
4365
43662020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4367
4368 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4369 names.
4370
43712020-02-25 Tom de Vries <tdevries@suse.de>
4372
4373 PR go/18926
4374 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4375
43762020-02-24 Tom de Vries <tdevries@suse.de>
4377
4378 PR gdb/25592
4379 * gdb.base/info-locals-unused-static-var.c: New test.
4380 * gdb.base/info-locals-unused-static-var.exp: New file.
4381
43822020-02-22 Tom Tromey <tom@tromey.com>
4383
4384 * gdb.python/tui-window.exp: New file.
4385 * gdb.python/tui-window.py: New file.
4386
43872020-02-22 Tom Tromey <tom@tromey.com>
4388
4389 PR tui/17850:
4390 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4391 tests.
4392
43932020-02-22 Tom Tromey <tom@tromey.com>
4394
4395 * gdb.tui/new-layout.exp: Add sub-layout tests.
4396
43972020-02-22 Tom Tromey <tom@tromey.com>
4398
4399 * gdb.tui/new-layout.exp: New file.
4400
44012020-02-22 Tom Tromey <tom@tromey.com>
4402
4403 * gdb.rust/rust-style.rs: New file.
4404 * gdb.rust/rust-style.exp: New file.
4405 * gdb.base/style.exp: Test structure printing.
4406 * gdb.base/style.c (struct some_struct): New type.
4407 (enum etype): New type.
4408 (struct_value): New global.
4409
44102020-02-21 Tom de Vries <tdevries@suse.de>
4411
4412 PR go/18926
4413 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4414 Remove blanket xfails. Use message argument for gdb_breakpoint.
4415 Make continuing to breakpoint test conditional on setting breakpoint.
4416 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4417 DW_AT_name attribute. Add xfail for GCC PR93866.
4418
44192020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4420
4421 * gdb.dwarf2/cpp-linkage-name.c: New file.
4422 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4423
44242020-02-21 Shahab Vahedi <shahab@synopsys.com>
4425
4426 * lib/gdb.exp (gdb_wrapper_init): Reset
4427 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4428 not exist.
4429
44302020-02-20 Tom de Vries <tdevries@suse.de>
4431
4432 PR go/17018
4433 * gdb.go/hello.exp: Copy ...
4434 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4435 print of st to print value of global definition. Add xfail for GCC
4436 PR93844.
4437 * gdb.go/hello.exp: Remove printing of st before definition.
4438 * gdb.go/hello.go: Copy ...
4439 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4440 to st.
4441 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4442
44432020-02-20 Tom de Vries <tdevries@suse.de>
4444
4445 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4446 (gdb_simple_compile): Handle compile_flags go by using .go extension
4447 for source file.
4448 * gdb.go/chan.exp: Use support_go_compile.
4449 * gdb.go/handcall.exp: Same.
4450 * gdb.go/hello.exp: Same.
4451 * gdb.go/integers.exp: Same.
4452 * gdb.go/max-depth.exp: Same.
4453 * gdb.go/methods.exp: Same.
4454 * gdb.go/package.exp: Same.
4455 * gdb.go/strings.exp: Same.
4456 * gdb.go/types.exp: Same.
4457 * gdb.go/unsafe.exp: Same.
4458
44592020-02-19 Tom de Vries <tdevries@suse.de>
4460
4461 * gdb.python/lib-types.exp: Make xfail more strict.
4462
44632020-02-19 Tom de Vries <tdevries@suse.de>
4464
4465 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4466
44672020-02-19 Doug Evans <dje@google.com>
4468
4469 PR rust/25535
4470 * gdb.rust/simple.exp: Add test.
4471 * gdb.rust/simple.rs: Add test.
4472
44732020-02-19 Tom de Vries <tdevries@suse.de>
4474
4475 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4476 output line-by-line.
4477
44782020-02-19 Tom de Vries <tdevries@suse.de>
4479
4480 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4481
44822020-02-19 Tom de Vries <tdevries@suse.de>
4483
4484 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4485 prelink.
4486
44872020-02-19 Tom de Vries <tdevries@suse.de>
4488
4489 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4490 (gdb_do_cache): Use gdb_do_cache_wrap.
4491 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4492
44932020-02-19 Tom de Vries <tdevries@suse.de>
4494
4495 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4496 gdb_compile option.
4497
44982020-02-18 Simon Marchi <simon.marchi@efficios.com>
4499
4500 * gdb.base/printcmds.exp (test_print_enums): Update expected
4501 output.
4502
45032020-02-18 Simon Marchi <simon.marchi@efficios.com>
4504
4505 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4506 for "unknown".
4507
45082020-02-18 Simon Marchi <simon.marchi@efficios.com>
4509
4510 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4511 enumerator.
4512
45132020-02-18 Simon Marchi <simon.marchi@efficios.com>
4514
4515 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4516 FE_, add FE_NONE.
4517 (three): Update.
4518 (enum flag_enum_without_zero): New enum.
4519 (flag_enum_without_zero): New variable.
4520 (enum not_flag_enum): New enum.
4521 (three_not_flag): New variable.
4522 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4523 (test_print_enums): Add more tests for printing flag enums.
4524
45252020-02-18 Tom de Vries <tdevries@suse.de>
4526
4527 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4528 (gdb_compile_ada): ... here.
4529 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4530 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4531
45322020-02-14 Tom Tromey <tom@tromey.com>
4533
4534 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4535 build directory.
4536 * boards/gdbserver-base.exp: Update path to gdbserver.
4537
45382020-02-13 Tom de Vries <tdevries@suse.de>
4539
4540 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4541
45422020-02-13 Tom de Vries <tdevries@suse.de>
4543
4544 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4545 are missing.
4546
45472020-02-13 Tom de Vries <tdevries@suse.de>
4548
4549 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4550 call.
4551
45522020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4553
4554 PR tui/25126
4555 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4556 * gdb.base/cached-source-file.c: New file.
4557 * gdb.base/cached-source-file.exp: New file.
4558
45592020-02-11 Tom de Vries <tdevries@suse.de>
4560
4561 PR testsuite/25488
4562 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4563
45642020-02-10 Tom de Vries <tdevries@suse.de>
4565
4566 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4567
45682020-02-10 Maciej W. Rozycki <macro@wdc.com>
4569
4570 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4571 and $after_addr are both integers before making a comparison.
4572
45732020-02-09 Tom de Vries <tdevries@suse.de>
4574
4575 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4576 command output and paste it into gdb.log. If any, paste catch message
4577 to gdb.log.
4578
45792020-02-07 Tom Tromey <tromey@adacore.com>
4580
4581 PR breakpoints/24915:
4582 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4583
45842020-02-06 Shahab Vahedi <shahab@synopsys.com>
4585
4586 * gdb.tui/tui-missing-src.exp: Add the "missing source
4587 file" test for the TUI.
4588
45892020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4590
4591 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4592 including a port number in the output.
4593
45942020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4595
4596 * lib/fortran.exp (fortran_int4): Handle clang.
4597 (fortran_int8): Likewise.
4598 (fortran_real4): Likewise.
4599 (fortran_real8): Likewise.
4600 (fortran_complex4): Likewise.
4601 (fortran_logical4): Likewise.
4602 (fortran_character1): Likewise.
4603
46042020-02-04 Tom de Vries <tdevries@suse.de>
4605
4606 * README (Race detection): Add note.
4607
46082020-02-04 Tom de Vries <tdevries@suse.de>
4609
4610 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4611
46122020-02-04 Tom de Vries <tdevries@suse.de>
4613
4614 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4615
46162020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4617
4618 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4619 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4620 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4621 blttar, bnetarl.
4622 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4623 binary for blttar, bnetarl.
4624 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4625 wait instruction. Delete ldmx test.
4626 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4627
46282020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4629
4630 * gdb.fortran/array-bounds-high.exp: New file.
4631 * gdb.fortran/array-bounds-high.f90: New file.
4632
46332020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4634
4635 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4636 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4637
46382020-02-01 Tom de Vries <tdevries@suse.de>
4639
4640 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4641
46422020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4643
4644 PR tui/9765
4645 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4646 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4647
46482020-01-29 Luis Machado <luis.machado@linaro.org>
4649
4650 * gdb.arch/aarch64-brk-patterns.c: New source file.
4651 * gdb.arch/aarch64-brk-patterns.exp: New test.
4652
46532020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4654
4655 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4656 GCC/Clang version.
4657 * gdb.cp/pass-by-ref.exp: Ditto.
4658
46592020-01-29 Tom de Vries <tdevries@suse.de>
4660
4661 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4662 * gdb.threads/watchpoint-fork-mt.c: Same.
4663 * gdb.threads/watchpoint-fork-parent.c: Same.
4664 * gdb.threads/watchpoint-fork-st.c: Same.
4665 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4666
46672020-01-27 Luis Machado <luis.machado@linaro.org>
4668
4669 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4670 sitting at a syscall instruction when we hit the syscall function's
4671 breakpoint.
4672 Check PC against one obtained with the x command.
4673 Validate syscall number.
4674 (step_over_syscall): Don't continue to the syscall instruction if
4675 we're already there.
4676
46772020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4678
4679 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4680
46812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4682
4683 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4684 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4685
46862020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4687
4688 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4689 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4690
46912020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4692
4693 * gdb.base/maint.exp: Update line table parsing test.
4694 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4695
46962020-01-24 Pedro Alves <palves@redhat.com>
4697
4698 PR gdb/25410
4699 * gdb.multi/multi-re-run-1.c: New.
4700 * gdb.multi/multi-re-run-2.c: New.
4701 * gdb.multi/multi-re-run.exp: New.
4702
47032020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4704
4705 PR gdb/23718
4706 * gdb.server/server-kill-python.exp: New file.
4707
47082020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4709
4710 * gdb.server/multi-ui-errors.c: New file.
4711 * gdb.server/multi-ui-errors.exp: New file.
4712
47132020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4714
4715 PR tui/9765
4716 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4717
47182020-01-19 Tom Tromey <tom@tromey.com>
4719
4720 * gdb.tui/main.exp: Add check for plain "file".
4721
47222020-01-16 Christian Biesinger <cbiesinger@google.com>
4723
4724 * lib/gdb.exp: Fix spelling error (seperatelly).
4725
47262020-01-14 Tom Tromey <tom@tromey.com>
4727
4728 PR symtab/12535:
4729 * gdb.python/python.exp: Test decode_line with empty string
4730 argument.
4731
47322020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4733
4734 * gdb.base/skip-inline.exp: Extend test.
4735
47362020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4737
4738 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4739 * gdb.dwarf2/dw2-bad-elf.c: New file.
4740 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4741
47422020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4743
4744 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4745 _line_saw_file.
4746
47472020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4748
4749 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4750 border.
4751
47522020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4753
4754 * gdb.multi/multi-target.exp (setup): Factor out "info
4755 connections" and "info inferiors" tests to ...
4756 (test_info_inferiors): ... this new procedure.
4757 (top level): Run new "info-inferiors" tests.
4758
47592020-01-10 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.server/bkpt-other-inferior.exp: New file.
4762
47632020-01-10 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4766 of "add-inferior".
4767 * gdb.base/quit-live.exp: Likewise.
4768 * gdb.base/remote-exec-file.exp: Likewise.
4769 * gdb.guile/scm-progspace.exp: Likewise.
4770 * gdb.linespec/linespec.exp: Likewise.
4771 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4772 * gdb.mi/user-selected-context-sync.exp: Likewise.
4773 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4774 "info inferiors" tests.
4775 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4776 "add-inferior".
4777 * gdb.multi/watchpoint-multi.exp: Likewise.
4778 * gdb.python/py-inferior.exp: Likewise.
4779 * gdb.server/extended-remote-restart.exp: Likewise.
4780 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4781 "info inferiors".
4782 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4783 * gdb.trace/report.exp: Likewise.
4784
47852020-01-10 Pedro Alves <palves@redhat.com>
4786
4787 * gdb.multi/multi-target.c: New file.
4788 * gdb.multi/multi-target.exp: New file.
4789 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4790 mode requested, but remote does not support non-stop".
4791
47922020-01-10 Pedro Alves <palves@redhat.com>
4793
4794 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4795 disconnect before reconnecting.
4796
47972020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4798 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.server/connect-without-multi-process.exp: Also test
4801 continuing to end.
4802
48032020-01-10 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/remote-exec-file.exp: New file.
4806
48072020-01-10 Pedro Alves <palves@redhat.com>
4808
4809 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4810 output.
4811 * gdb.threads/async.c: New.
4812 * gdb.threads/async.exp: New.
4813 * gdb.multi/tids-gid-reset.c: New.
4814 * gdb.multi/tids-gid-reset.exp: New.
4815
48162020-01-10 George Barrett <bob@bob131.so>
4817
4818 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4819 to help in finding the image relocation offset.
4820 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4821 options in arguments.
4822 (stap_test_no_debuginfo): Likewise.
4823 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4824 test variants.
4825 (stap_test): Add null semaphore relocation test.
4826
48272020-01-10 George Barrett <bob@bob131.so>
4828
4829 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4830 * gdb.base/stap-probe.exp: Likewise.
4831 (stap_test): Pass argument as an additional flag.
4832 (stap_test_no_debuginfo): Likewise.
4833 (stap_test): Check `info probes stap' output for semaphore
4834 addresses if the test binary is supposed to have them.
4835
48362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4837
4838 * gdb.tui/basic.exp: Add more scrolling tests.
4839
48402020-01-09 Tom Tromey <tom@tromey.com>
4841
4842 PR tui/18932:
4843 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4844 meangingful value.
4845 (Term::command, Term::resize): Update.
4846 * gdb.tui/basic.exp: Add scrolling test.
4847
48482020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * gdb.tui/tui-layout-asm.exp: New file.
4851
48522020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4853
4854 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4855
48562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4857
4858 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4859 (Term::enter_tui): Use Term::prepare_for_tui.
4860
48612020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4862
4863 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4864 called.
4865
48662020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4867
4868 * gdb.base/skip.exp: Fix race condition in test.
4869
48702020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * gdb.base/backtrace.c: New file.
4873 * gdb.base/backtrace.exp: New file.
4874
48752020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4876
4877 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4878
48792020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4880
4881 * gdb.base/style.exp: Test that warnings are styled.
4882
48832019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4884
4885 * gdb.base/line65535.exp: New file.
4886 * gdb.base/line65535.c: New file.
4887
48882019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4889
4890 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4891 * lib/gnat_debug_info_test.adb: New file.
4892 * gdb.ada/ptype_tagged_param.exp: Use
4893 gnat_runtime_has_debug_info, expect a different output if
4894 runtime does not have debug info.
4895
48962019-12-20 Simon Marchi <simon.marchi@efficios.com>
4897
4898 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4899 (another) quote in test name.
4900
49012019-12-20 Simon Marchi <simon.marchi@efficios.com>
4902
4903 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4904 Add quote in test name.
4905
49062019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4907
4908 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4909 directory instead.
4910 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4911 * gdb.cp/pass-by-ref-2.cc: New file.
4912 * gdb.cp/pass-by-ref-2.exp: New file.
4913
49142019-12-20 Tom Tromey <tom@tromey.com>
4915
4916 * gdb.tui/list-before.exp: New file.
4917
49182019-12-20 Tom Tromey <tom@tromey.com>
4919
4920 * gdb.tui/list.exp: Check for source on initial listing.
4921
49222019-12-11 Tom Tromey <tromey@adacore.com>
4923
4924 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4925 Add crlf test.
4926
49272019-12-18 Simon Marchi <simon.marchi@efficios.com>
4928
4929 * gdb.base/default.exp: Update value of $_gdb_major.
4930
49312019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4932
4933 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4934
49352019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4936
4937 * gdb.base/skip.exp: Whitespace fix.
4938
49392019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4940
4941 * gdb.base/skip-inline.c: New file.
4942 * gdb.base/skip-inline.exp: New file.
4943
49442019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4945
4946 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4947 jit_function_00 to jit_function_stack_mangle.
4948 * gdb.base/jithost.c (jit_function_t): Rename to...
4949 (jit_function_stack_mangle_t): ... this.
4950 (jit_function_add_t): New typedef.
4951 (jit_function_00_code): Rename to...
4952 (jit_function_stack_mangle_code): ... this, make static.
4953 (jit_function_add_code): New.
4954 (main): Generate "add" function and call it. Adjust to changes
4955 in jithost_abi.
4956 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4957 (struct jithost_abi) <begin, end>: Remove fields.
4958 <object, function_stack_mangle, function_add>: New fields.
4959 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4960 code_end>: Remove fields.
4961 <func_stack_mangle>: New field.
4962 (read_debug_info): Adjust to renaming, create block for "add"
4963 function.
4964 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4965
49662019-12-11 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.tui/resize.exp: Fix regexp.
4969 * gdb.tui/regs.exp: Fix regexps.
4970 * gdb.tui/main.exp: Fix regexp.
4971
49722019-12-11 Tom Tromey <tom@tromey.com>
4973
4974 * gdb.tui/resize.exp: Update.
4975 * gdb.tui/empty.exp (layouts): Update.
4976
49772019-12-11 Tom Tromey <tom@tromey.com>
4978
4979 * gdb.tui/regs.exp: Update.
4980 * gdb.tui/empty.exp (layouts): Update.
4981 * gdb.tui/basic.exp: Update.
4982 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4983
49842019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4985
4986 * gdb.base/options.exp: Add -raw-values in the print completion list.
4987 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4988
49892019-12-10 Kevin Buettner <kevinb@redhat.com>
4990
4991 * gdb.threads/omp-par-scope.c: New file.
4992 * gdb/threads/omp-par-scope.exp: New file.
4993
49942019-12-10 Kevin Buettner <kevinb@redhat.com>
4995
4996 * lib/gdb.exp (support_nested_function_tests): New proc.
4997
49982019-12-10 Kevin Buettner <kevinb@redhat.com>
4999
5000 * lib/gdb.exp (gdb_compile_openmp): New proc.
5001 (build_executable_from_specs): Add an "openmp" option.
5002 (gdb_compile_pthreads): Add non-executable case.
5003
50042019-12-10 Tom Tromey <tromey@adacore.com>
5005
5006 * gdb.ada/unchecked_union.exp: New file.
5007 * gdb.ada/unchecked_union/pck.adb: New file.
5008 * gdb.ada/unchecked_union/pck.ads: New file.
5009 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5010 * gdb-utils.exp (string_to_regexp): Also quote "?".
5011
50122019-12-10 George Barrett <bob@bob131.so>
5013
5014 Test scripted probe breakpoints.
5015 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5016 * gdb.python/py-breakpoint.c (main): Likewise.
5017 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5018 specifier test.
5019 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5020
50212019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5022
5023 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5024 an rvalue parameter.
5025 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5026 parameter.
5027
50282019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5029
5030 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5031 modules.
5032
50332019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5034
5035 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5036 broken version of GCC.
5037
50382019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5039
5040 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5041 sym-info-cmds library.
5042 * gdb.fortran/info-types.exp: Likewise.
5043 * lib/sym-info-cmds.exp: New file.
5044
50452019-12-08 Tom de Vries <tdevries@suse.de>
5046
5047 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5048
50492019-12-07 Keith Seitz <keiths@redhat.com>
5050
5051 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5052 * gdb.base/corefile-buildid-shlib.c: New file.
5053 * gdb.base/corefile-buildid.c: New file.
5054 * gdb.base/corefile-buildid.exp: New file.
5055
50562019-12-06 Tom de Vries <tdevries@suse.de>
5057
5058 * gdb.dwarf2/varval.exp: Add decl before def test.
5059
50602019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5061
5062 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5063
50642019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5065
5066 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5067 CV and reference conversion for overload resolution.
5068 * gdb.cp/rvalue-ref-overload.exp: Test it.
5069
50702019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5071
5072 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5073 * gdb.base/frameapply.exp: Test faas without command.
5074
50752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5076
5077 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5078 Fortran tests.
5079 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5080 order.
5081
50822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5085 casting to type with no kind specified.
5086 (test_basic_parsing_of_type_kinds): Additional tests for types
5087 with no kind specified, and add tests for single/double
5088 precision/complex types.
5089
50902019-12-04 Tom Tromey <tromey@adacore.com>
5091
5092 * gdb.base/endianity.c (struct other) <x>: New field.
5093 (main): Initialize it.
5094 * gdb.base/endianity.exp: Update.
5095
50962019-12-04 Tom Tromey <tromey@adacore.com>
5097
5098 * gdb.ada/scalar_storage/storage.adb: New file.
5099 * gdb.ada/scalar_storage/pck.adb: New file.
5100 * gdb.ada/scalar_storage/pck.ads: New file.
5101 * gdb.ada/scalar_storage.exp: New file.
5102
51032019-12-04 Tom Tromey <tromey@adacore.com>
5104
5105 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5106 (main): Initialize it.
5107 * gdb.base/endianity.exp: Update.
5108
51092019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5110
5111 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5112
51132019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5116 -symbol-info-module-functions and -symbol-info-module-variables.
5117
51182019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5119
5120 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5121
51222019-12-01 Richard Bunt <richard.bunt@arm.com>
5123 Andrew Burgess <andrew.burgess@embecosm.com>
5124
5125 * gdb.fortran/derived-type-striding.exp: New file.
5126 * gdb.fortran/derived-type-striding.f90: New file.
5127 * gdb.fortran/array-slices.exp: New file.
5128 * gdb.fortran/array-slices.f90: New file.
5129
51302019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5131
5132 * gdb.base/define.exp: Test . in command names.
5133 * gdb.base/setshow.exp: Update test, as . is now part of
5134 command name.
5135
51362019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5137
5138 * gdb.base/define-prefix.exp: New file.
5139
51402019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5141
5142 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5143 compile.
5144 (skip_btrace_pt_tests): Likewise.
5145
51462019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5147
5148 * gdb.fortran/info-modules.exp: Compile source files in correct
5149 order.
5150
51512019-11-27 Kevin Buettner <kevinb@redhat.com>
5152
5153 * gdb.dwarf2/imported-unit.exp: New file.
5154 * gdb.dwarf2/imported-unit.c: New file.
5155
51562019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5157
5158 * gdb.mi/mi-fortran-modules-2.f90: New file.
5159 * gdb.mi/mi-fortran-modules.exp: New file.
5160 * gdb.mi/mi-fortran-modules.f90: New file.
5161
51622019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5163
5164 * gdb.mi/mi-sym-info-1.c: New file.
5165 * gdb.mi/mi-sym-info-2.c: New file.
5166 * gdb.mi/mi-sym-info.exp: New file.
5167
51682019-11-22 Tom Tromey <tromey@adacore.com>
5169
5170 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5171 * gdb.ada/tasks/foo.adb: Add another stopping location.
5172
51732019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5174
5175 * gdb.base/endianity.c: New test.
5176 * gdb.base/endianity.exp: New file.
5177
51782019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5179
5180 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5181
51822019-11-21 Tom de Vries <tdevries@suse.de>
5183
5184 PR gdb/24956
5185 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5186
51872019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5188
5189 * gdb.python/py-progspace.exp: Add missing parentheses on some
5190 'print' commands.
5191
51922019-11-19 Tom Tromey <tom@tromey.com>
5193
5194 * gdb.tui/winheight.exp: New file.
5195
51962019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5197
5198 * gdb.base/ctf-whatis.c: Delete.
5199 * gdb.base/ctf-whatis.exp: Delete.
5200 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5201
52022019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5203
5204 * gdb.base/ctf-cvexpr.exp: Delete.
5205 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5206
52072019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5208
5209 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5210 the compiler. Clean up header comment a little.
5211 * gdb.base/ctf-ptype.exp: Likewise.
5212 * gdb.base/ctf-whatis.exp: Likewise.
5213 * lib/gdb.exp (skip_ctf_tests): New proc.
5214
52152019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5216
5217 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5218 * gdb.tui/corefile-run.exp: New file.
5219
52202019-11-14 Tom Tromey <tromey@adacore.com>
5221
5222 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5223 regression tests.
5224
52252019-11-12 Tom Tromey <tom@tromey.com>
5226
5227 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5228 after any command. Expect prompt after WAIT_FOR is seen.
5229 (enter_tui): Enable resize messages.
5230 (command): Expect command in output.
5231 (get_line): Avoid error when cursor appears to be off-screen.
5232 (dump_screen): Include screen size in title.
5233 (_do_resize): New proc, from "resize".
5234 (resize): Rewrite. Do resize in two steps.
5235 * gdb.tui/empty.exp (layouts): Fix entries.
5236 (check_boxes): Remove xfail.
5237 (check_text): Dump screen on failure.
5238
52392019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5240
5241 * gdb.python/py-symbol.exp: Add test for
5242 gdb.lookup_static_symbols.
5243
52442019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5245
5246 * gdb.python/py-symbol.c: Declare and call function from new
5247 py-symbol-2.c file.
5248 * gdb.python/py-symbol.exp: Compile both source files, and add new
5249 tests for gdb.lookup_static_symbol.
5250 * gdb.python/py-symbol-2.c: New file.
5251
52522019-11-02 Tom de Vries <tdevries@suse.de>
5253
5254 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5255 * gdb.base/anon.exp: Same.
5256 * gdb.base/auto-connect-native-target.exp: Same.
5257 * gdb.base/call-ar-st.exp: Same.
5258 * gdb.base/catch-syscall.exp: Same.
5259 * gdb.base/commands.exp: Same.
5260 * gdb.base/default.exp: Same.
5261 * gdb.base/display.exp: Same.
5262 * gdb.base/float.exp: Same.
5263 * gdb.base/foll-fork.exp: Same.
5264 * gdb.base/help.exp: Same.
5265 * gdb.base/info-macros.exp: Same.
5266 * gdb.base/info-proc.exp: Same.
5267 * gdb.base/info-target.exp: Same.
5268 * gdb.base/long_long.exp: Same.
5269 * gdb.base/macscp.exp: Same.
5270 * gdb.base/memattr.exp: Same.
5271 * gdb.base/nofield.exp: Same.
5272 * gdb.base/pointers.exp: Same.
5273 * gdb.base/printcmds.exp: Same.
5274 * gdb.base/ptype.exp: Same.
5275 * gdb.base/restore.exp: Same.
5276 * gdb.base/return.exp: Same.
5277 * gdb.base/scope.exp: Same.
5278 * gdb.base/set-noassign.exp: Same.
5279 * gdb.base/setshow.exp: Same.
5280 * gdb.base/shlib-call.exp: Same.
5281 * gdb.base/signals.exp: Same.
5282 * gdb.base/sigstep.exp: Same.
5283 * gdb.base/skip.exp: Same.
5284 * gdb.base/solib-symbol.exp: Same.
5285 * gdb.base/stap-probe.exp: Same.
5286 * gdb.base/step-line.exp: Same.
5287 * gdb.base/step-test.exp: Same.
5288 * gdb.base/style.exp: Same.
5289 * gdb.base/varargs.exp: Same.
5290 * gdb.base/vla-datatypes.exp: Same.
5291 * gdb.base/vla-ptr.exp: Same.
5292 * gdb.base/vla-sideeffect.exp: Same.
5293 * gdb.base/volatile.exp: Same.
5294 * gdb.base/watch-cond-infcall.exp: Same.
5295 * gdb.base/watchpoint.exp: Same.
5296
52972019-11-02 Tom de Vries <tdevries@suse.de>
5298
5299 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5300 * gdb.cp/cpexprs.exp: Same.
5301 * gdb.cp/except-multi-location.exp: Same.
5302 * gdb.cp/exceptprint.exp: Same.
5303 * gdb.cp/gdb2384.exp: Same.
5304 * gdb.cp/inherit.exp: Same.
5305 * gdb.cp/m-static.exp: Same.
5306 * gdb.cp/meth-typedefs.exp: Same.
5307 * gdb.cp/misc.exp: Same.
5308 * gdb.cp/namespace.exp: Same.
5309 * gdb.cp/non-trivial-retval.exp: Same.
5310 * gdb.cp/overload.exp: Same.
5311 * gdb.cp/pr17132.exp: Same.
5312 * gdb.cp/re-set-overloaded.exp: Same.
5313 * gdb.cp/rvalue-ref-types.exp: Same.
5314 * gdb.cp/templates.exp: Same.
5315
53162019-11-01 Luis Machado <luis.machado@linaro.org>
5317
5318 PR gdb/25124
5319
5320 * gdb.arch/pr25124.S: New file.
5321 * gdb.arch/pr25124.exp: New file.
5322
53232019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5324
5325 * gdb.fortran/info-modules.exp: Update expected results, and add
5326 additional tests for 'info module functinos', and 'info module
5327 variables'.
5328 * gdb.fortran/info-types.exp: Update expected results.
5329 * gdb.fortran/info-types.f90: Extend testcase with additional
5330 module variables and functions.
5331
53322019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5333
5334 * gdb.fortran/info-modules.exp: New file.
5335 * gdb.fortran/info-types.exp: Build with new file.
5336 * gdb.fortran/info-types.f90: Include and use new module.
5337 * gdb.fortran/info-types-2.f90: New file.
5338
53392019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5340
5341 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5342 * gdb.base/settings.exp: Test all settings types using
5343 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5344 that now verifies that the value of "maint show" is the same as
5345 returned by the settings functions. Test the type of the
5346 maintenance settings.
5347 * gdb.base/default.exp: Update show_conv_list.
5348
53492019-10-31 Tom de Vries <tdevries@suse.de>
5350
5351 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5352 gdb_test.
5353 * gdb.arch/amd64-disp-step.exp: Same.
5354 * gdb.asm/asm-source.exp: Same.
5355 * gdb.btrace/buffer-size.exp: Same.
5356 * gdb.btrace/cpu.exp: Same.
5357 * gdb.btrace/enable.exp: Same.
5358 * gdb.dwarf2/count.exp: Same.
5359 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5360 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5361 * gdb.fortran/vla-datatypes.exp: Same.
5362 * gdb.fortran/vla-history.exp: Same.
5363 * gdb.fortran/vla-ptype.exp: Same.
5364 * gdb.fortran/vla-value.exp: Same.
5365 * gdb.fortran/whatis_type.exp: Same.
5366 * gdb.guile/guile.exp: Same.
5367 * gdb.multi/tids.exp: Same.
5368 * gdb.python/py-finish-breakpoint.exp: Same.
5369 * gdb.python/py-framefilter.exp: Same.
5370 * gdb.python/py-pp-registration.exp: Same.
5371 * gdb.python/py-xmethods.exp: Same.
5372 * gdb.python/python.exp: Same.
5373 * gdb.server/connect-with-no-symbol-file.exp: Same.
5374 * gdb.server/no-thread-db.exp: Same.
5375 * gdb.server/run-without-local-binary.exp: Same.
5376 * gdb.stabs/weird.exp: Same.
5377 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5378 * gdb.threads/thread-find.exp: Same.
5379 * gdb.threads/tls-shared.exp: Same.
5380 * gdb.threads/tls.exp: Same.
5381 * gdb.threads/wp-replication.exp: Same.
5382 * gdb.trace/ax.exp: Same.
5383 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5384
53852019-10-31 Tom de Vries <tdevries@suse.de>
5386
5387 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5388 * gdb.ada/array_subscript_addr.exp: Same.
5389 * gdb.ada/arrayidx.exp: Same.
5390 * gdb.ada/arrayparam.exp: Same.
5391 * gdb.ada/arrayptr.exp: Same.
5392 * gdb.ada/boolean_expr.exp: Same.
5393 * gdb.ada/call_pn.exp: Same.
5394 * gdb.ada/complete.exp: Same.
5395 * gdb.ada/fixed_cmp.exp: Same.
5396 * gdb.ada/fun_addr.exp: Same.
5397 * gdb.ada/funcall_param.exp: Same.
5398 * gdb.ada/interface.exp: Same.
5399 * gdb.ada/mod_from_name.exp: Same.
5400 * gdb.ada/null_array.exp: Same.
5401 * gdb.ada/packed_array.exp: Same.
5402 * gdb.ada/packed_tagged.exp: Same.
5403 * gdb.ada/print_chars.exp: Same.
5404 * gdb.ada/print_pc.exp: Same.
5405 * gdb.ada/ptype_arith_binop.exp: Same.
5406 * gdb.ada/ptype_field.exp: Same.
5407 * gdb.ada/ptype_tagged_param.exp: Same.
5408 * gdb.ada/rec_return.exp: Same.
5409 * gdb.ada/ref_tick_size.exp: Same.
5410 * gdb.ada/str_ref_cmp.exp: Same.
5411 * gdb.ada/taft_type.exp: Same.
5412 * gdb.ada/tagged.exp: Same.
5413 * gdb.ada/type_coercion.exp: Same.
5414 * gdb.ada/uninitialized_vars.exp: Same.
5415
54162019-10-30 Tom de Vries <tdevries@suse.de>
5417
5418 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5419
54202019-10-26 Tom de Vries <tdevries@suse.de>
5421
5422 * gdb.base/bigcore.c: Fix typos in comments.
5423 * gdb.base/ctf-ptype.c: Same.
5424 * gdb.base/long_long.c: Same.
5425 * gdb.dwarf2/dw2-op-out-param.S: Same.
5426 * gdb.python/py-evthreads.c: Same.
5427 * gdb.reverse/i387-stack-reverse.c: Same.
5428 * gdb.trace/tfile.c: Same.
5429 * lib/compiler.c: Same.
5430 * lib/compiler.cc: Same.
5431
54322019-10-25 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5435 gdb_test_multiple calls.
5436 * gdb.reverse/sigall-reverse.exp: Same.
5437 * gdb.reverse/solib-precsave.exp: Same.
5438 * gdb.reverse/solib-reverse.exp: Same.
5439 * gdb.reverse/until-precsave.exp: Same.
5440 * gdb.reverse/until-reverse.exp: Same.
5441
54422019-10-24 Tom de Vries <tdevries@suse.de>
5443
5444 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5445 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5446 kfail using -wrap pattern flag and convenience variable
5447 gdb_test_name.
5448
54492019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5450
5451 * gdb.python/py-progspace.exp: Add tests for the
5452 Progspace.block_for_pc method.
5453
54542019-10-23 Tom Tromey <tom@tromey.com>
5455
5456 * configure: Rebuild.
5457 * aclocal.m4: Use m4_include, not sinclude.
5458
54592019-10-21 Tom de Vries <tdevries@suse.de>
5460
5461 * gdb.base/infcall-nested-structs.c: Add
5462 __attribute__((noinline,noclone)) to all functions.
5463 (call_all): Add missing variable initialization. Simplify return value.
5464 (breakpt): Increment volatile variable, to prevent call from being
5465 optimized out.
5466 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5467
54682019-10-17 Tom de Vries <tdevries@suse.de>
5469
5470 * gdb.fortran/module.exp: Allow info variables to print info for files
5471 other than module.f90.
5472
54732019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5474
5475 * gdb.fortran/module.exp: Extend with 'info variables' test.
5476
54772019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5478
5479 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5480 F77_FOR_TARGET.
5481
54822019-10-16 Tom de Vries <tdevries@suse.de>
5483
5484 PR tdep/25096
5485 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5486
54872019-10-16 Tom de Vries <tdevries@suse.de>
5488
5489 PR tdep/24104
5490 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5491 Add KFAIL for PR tdep/25096.
5492
54932019-10-16 Tom de Vries <tdevries@suse.de>
5494
5495 PR testsuite/25059
5496 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5497
54982019-10-16 Tom de Vries <tdevries@suse.de>
5499
5500 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5501 as signed.
5502
55032019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5504
5505 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5506 one instead of increasing timeout.
5507
55082019-10-13 Tom de Vries <tdevries@suse.de>
5509
5510 PR record/25038
5511 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5512 * gdb.reverse/sigall-reverse.exp: Same.
5513 * gdb.reverse/solib-precsave.exp: Same.
5514 * gdb.reverse/solib-reverse.exp: Same.
5515 * gdb.reverse/step-precsave.exp: Same.
5516 * gdb.reverse/until-precsave.exp: Same.
5517 * gdb.reverse/until-reverse.exp: Same.
5518 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5519
55202019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5521
5522 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5523 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5524 (cmp_struct_05_01, cmp_struct_static_02_01)
5525 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5526 comparisons.
5527
55282019-10-10 Tom de Vries <tdevries@suse.de>
5529
5530 PR testsuite/24888
5531 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5532 gnatlink.
5533
55342019-10-09 Tom de Vries <tdevries@suse.de>
5535
5536 PR testsuite/25048
5537 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5538
55392019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5540
5541 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5542 exceptions due to missing debug information.
5543
55442019-10-07 Tom de Vries <tdevries@suse.de>
5545
5546 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5547
55482019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5549
5550 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5551 * gdb.base/annota1.exp: Update to use gdb_test_name.
5552
55532019-10-07 Weimin Pan <weimin.pan@oracle.com>
5554
5555 * gdb.base/ctf-whatis.exp: New file.
5556 * gdb.base/ctf-whatis.c: New file.
5557 * gdb.base/ctf-ptype.exp: New file.
5558 * gdb.base/ctf-ptype.c: New file.
5559 * gdb.base/ctf-constvars.exp: New file.
5560 * gdb.base/ctf-constvars.c: New file.
5561 * gdb.base/ctf-cvexpr.exp: New file.
5562
55632019-10-04 Tom de Vries <tdevries@suse.de>
5564
5565 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5566 for loop.
5567
55682019-10-03 Tom Tromey <tom@tromey.com>
5569
5570 PR rust/24976:
5571 * gdb.rust/simple.rs (Union2): New type.
5572 (main): Use Union2.
5573 * gdb.rust/simple.exp: Add test.
5574
55752019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5576
5577 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5578 nested function prefix.
5579
55802019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5581 Richard Bunt <richard.bunt@arm.com>
5582 Andrew Burgess <andrew.burgess@embecosm.com>
5583
5584 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5585 nested functions.
5586 * gdb.fortran/nested-funcs.f90: Update expected results.
5587 * gdb.fortran/nested-funcs-2.exp: New file.
5588 * gdb.fortran/nested-funcs-2.f90: New file.
5589
55902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5591
5592 * gdb.python/py-parameter.exp: Make test names unique.
5593 * gdb.python/py-template.exp: Likewise.
5594 * gdb.python/py-value.exp: Likewise.
5595
55962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5597
5598 * gdb.base/break-interp.exp: Reduce test name duplication.
5599 * gdb.base/call-sc.exp: Likewise.
5600 * gdb.base/callfuncs.exp: Likewise.
5601 * gdb.base/charset.exp: Likewise.
5602 * gdb.base/dump.exp: Likewise.
5603 * gdb.base/ena-dis-br.exp: Likewise.
5604 * gdb.base/relational.exp: Likewise.
5605 * gdb.base/step-over-syscall.exp: Likewise.
5606 * gdb.base/structs.exp: Likewise.
5607
56082019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5609
5610 * gdb.linespec/explicit.exp: Make test names unique.
5611 * gdb.linespec/ls-errs.exp: Likewise.
5612
56132019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5614
5615 * gdb.reverse/break-precsave.exp: Make test names unique.
5616 * gdb.reverse/break-reverse.exp: Likewise.
5617 * gdb.reverse/finish-precsave.exp: Likewise.
5618 * gdb.reverse/finish-reverse.exp: Likewise.
5619 * gdb.reverse/machinestate-precsave.exp: Likewise.
5620 * gdb.reverse/machinestate.exp: Likewise.
5621 * gdb.reverse/readv-reverse.exp: Likewise.
5622 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5623 * gdb.reverse/sigall-precsave.exp: Likewise.
5624 * gdb.reverse/sigall-reverse.exp: Likewise.
5625 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5626 * gdb.reverse/watch-precsave.exp: Likewise.
5627 * gdb.reverse/watch-reverse.exp: Likewise.
5628
56292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5630
5631 * gdb.threads/stop-with-handle.c: New file.
5632 * gdb.threads/stop-with-handle.exp: New file.
5633
56342019-10-03 Tom de Vries <tdevries@suse.de>
5635
5636 PR testsuite/25059
5637 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5638 directory" line to be missing.
5639
56402019-10-03 Tom de Vries <tdevries@suse.de>
5641
5642 PR testsuite/25059
5643 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5644 type optional.
5645
56462019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5647
5648 * gdb.python/py-format-string.c (string.h): New include.
5649 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5650 the same value, for endianness-independence.
5651 * gdb.python/py-format-string.exp (default_regexp_dict)
5652 (test_pretty_structs, test_format): Adjust expected output to the
5653 changed initialization.
5654
56552019-10-02 Tom Tromey <tromey@adacore.com>
5656
5657 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5658
56592019-10-02 Pedro Alves <palves@redhat.com>
5660 Andrew Burgess <andrew.burgess@embecosm.com>
5661
5662 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5663 "print-file-var.h".
5664 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5665 (get_version_1): Print this_version_id and its address.
5666 Add extern "C" wrappers around interface functions.
5667 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5668 "print-file-var.h".
5669 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5670 (get_version_2): Print this_version_id and its address.
5671 Add extern "C" wrappers around interface functions.
5672 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5673 <stddef.h> and "print-file-var.h".
5674 Add extern "C" wrappers around interface functions.
5675 [VERSION_ID_MAIN] (this_version_id): Define.
5676 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5677 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5678 up extern "C" blocks.
5679 * gdb.base/print-file-var.exp (test): New, factored out from top
5680 level.
5681 (top level): Test all combinations of attribute hidden or not,
5682 dlopen or not, and this_version_id symbol in main file or not.
5683 Compile tests as both C++ and C, make test names unique.
5684
56852019-10-01 Tom Tromey <tom@tromey.com>
5686
5687 * gdb.base/style.exp: Test "show logging filename".
5688
56892019-10-01 Tom Tromey <tom@tromey.com>
5690
5691 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5692 * gdb.base/style.exp: Add metadata style test.
5693
56942019-10-01 Tom Tromey <tom@tromey.com>
5695
5696 * gdb.base/style.exp: Test "pwd".
5697
56982019-10-01 Tom Tromey <tom@tromey.com>
5699
5700 * gdb.base/style.exp: Update tests.
5701
57022019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5703
5704 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5705 'six' to unsigned.
5706 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5707 'five'. Use an all-ones bit pattern for each.
5708 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5709 to its changed values.
5710
57112019-09-30 Tom Tromey <tromey@adacore.com>
5712
5713 * gdb.rust/traits.rs: Disable all warnings.
5714
57152019-09-29 Tom de Vries <tdevries@suse.de>
5716
5717 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
5718
57192019-09-29 Tom de Vries <tdevries@suse.de>
5720
5721 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5722
57232019-09-27 Tom de Vries <tdevries@suse.de>
5724
5725 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5726
57272019-09-27 Tom de Vries <tdevries@suse.de>
5728
5729 PR record/23188
5730 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5731
57322019-09-26 Tom Tromey <tromey@adacore.com>
5733
5734 * gdb.ada/py_taft.exp: New file.
5735 * gdb.ada/py_taft/main.adb: New file.
5736 * gdb.ada/py_taft/pkg.adb: New file.
5737 * gdb.ada/py_taft/pkg.ads: New file.
5738
57392019-09-24 Tom de Vries <tdevries@suse.de>
5740
5741 PR gdb/24598
5742 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5743
57442019-09-22 Tom de Vries <tdevries@suse.de>
5745
5746 * gdb.base/restore.exp: Allow register variables to be optimized out at
5747 -O0.
5748
57492019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5750
5751 * gdb.arch/spu-info.exp: Remove file.
5752 * gdb.arch/spu-info.c: Remove file.
5753 * gdb.arch/spu-ls.exp: Remove file.
5754 * gdb.arch/spu-ls.c: Remove file.
5755
5756 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5757 * gdb.asm/spu.inc: Remove file.
5758
5759 * gdb.base/dump.exp: Remove support for spu*-*-*.
5760 * gdb.base/stack-checking.exp: Likewise.
5761 * gdb.base/overlays.exp: Likewise.
5762 * gdb.base/ovlymgr.c: Likewise.
5763 * gdb.base/spu.ld: Remove file.
5764
5765 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5766 * gdb.cp/cpexprs.exp: Likewise.
5767 * gdb.cp/exception.exp: Likewise.
5768 * gdb.cp/gdb2495.exp: Likewise.
5769 * gdb.cp/mb-templates.exp: Likewise.
5770 * gdb.cp/pr9167.exp: Likewise.
5771 * gdb.cp/userdef.exp: Likewise.
5772
5773 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5774
5775 * gdb.cell: Remove directory.
5776 * lib/cell.exp: Remove file.
5777
57782019-09-19 Tom de Vries <tdevries@suse.de>
5779
5780 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5781
57822019-09-19 Tom de Vries <tdevries@suse.de>
5783
5784 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5785
57862019-09-19 Tom de Vries <tdevries@suse.de>
5787
5788 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5789 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5790 (gdb_target_cmd): ... here.
5791 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5792 value 2.
5793
57942019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5795
5796 * gdb.base/source-dir.exp: Avoid having directory names in test
5797 names.
5798
57992019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5800
5801 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5802 directory.
5803
58042019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5805
5806 * gdb.base/list-missing-source.exp: New file.
5807
58082019-09-14 Tom de Vries <tdevries@suse.de>
5809
5810 PR teststuite/24599
5811 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5812 * lib/ada.exp (gnatmake_version_at_least): New proc.
5813
58142019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5815
5816 * gdb.base/maint.exp: Use exec_has_index_section.
5817
58182019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5819
5820 * gdb.base/maint.exp: Add test for 'maint info sections'.
5821
58222019-09-12 Tom de Vries <tdevries@suse.de>
5823
5824 * gdb.base/store.exp: Allow register variables to be optimized out at
5825 -O0.
5826
58272019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5828
5829 * gdb.ada/rdv_wait.exp: Update to new task names.
5830 * gdb.base/task_switch_in_core.exp: Likewise.
5831 * gdb.base/info_sources_base.c: Likewise.
5832
58332019-09-10 Tom Tromey <tromey@adacore.com>
5834
5835 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5836
58372019-09-10 Tom Tromey <tromey@adacore.com>
5838
5839 * gdb.ada/dgopt.exp: New file.
5840 * gdb.ada/dgopt/x.adb: New file.
5841
58422019-09-08 Tom Tromey <tom@tromey.com>
5843
5844 * gdb.tui/resize.exp: Remove setup_xfail.
5845 * gdb.tui/regs.exp: Remove setup_xfail.
5846 * gdb.tui/basic.exp: Remove setup_xfail.
5847
58482019-09-06 David Blaikie <dblaikie@gmail.com>
5849
5850 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5851 * gdb.cp/cplabel.exp: Ditto.
5852 * gdb.linespec/ls-errs.exp: Ditto.
5853
58542019-09-05 Tom de Vries <tdevries@suse.de>
5855
5856 * lib/gdb.exp (cmp_file_string): New proc.
5857 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5858 runto_main. Verify save breakpoints output.
5859
58602019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5861
5862 * gdb.base/info-var.exp: Test info variables without running
5863 to main, to avoid expect's buffer overflow.
5864
58652019-09-03 Tom Tromey <tromey@adacore.com>
5866
5867 * gdb.ada/bias.exp: New file.
5868 * gdb.ada/bias/bias.adb: New file.
5869 * gdb.ada/print_chars.exp: Add regression test.
5870 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5871 (MC): New variable.
5872
58732019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5874
5875 * gdb.base/argv0-symlink.exp: Run only on native target
5876 and local host.
5877
58782019-08-29 Tom de Vries <tdevries@suse.de>
5879
5880 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5881 diverse debug info.
5882 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5883
58842019-08-28 Tom de Vries <tdevries@suse.de>
5885
5886 * gdb.base/info-var.exp: Allow info variables to print info for files
5887 other than info-var-f1.c and info-var-f2.c.
5888
58892019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5890
5891 * gdb.fortran/info-types.exp: Add module.
5892 * gdb.fortran/info-types.f90: Update expected results.
5893
58942019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5895
5896 * gdb.fortran/info-types.exp: New file.
5897 * gdb.fortran/info-types.f90: New file.
5898 * lib/fortran.exp (fortran_character1): New proc.
5899
59002019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5901
5902 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5903 functions'. Reindent as needed.
5904 * gdb.base/info-var-f1.c: New file.
5905 * gdb.base/info-var-f2.c: New file.
5906 * gdb.base/info-var.exp: New file.
5907 * gdb.base/info-var.h: New file.
5908
59092019-08-26 Tom de Vries <tdevries@suse.de>
5910
5911 PR c++/24852
5912 * gdb.cp/no-libstdcxx-probe.exp: New test.
5913
59142019-08-26 Tom de Vries <tdevries@suse.de>
5915
5916 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5917 * tests need to be skipped.
5918 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5919 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5920 mi_skip_libstdcxx_probe_tests.
5921
59222019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5923
5924 * gdb.python/py-xmethods.exp: Use raw strings when passing
5925 arguments to SimpleXMethodMatcher.
5926
59272019-08-22 Tom de Vries <tdevries@suse.de>
5928
5929 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5930 more informative.
5931
59322019-08-21 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.base/with.exp: Test "with" with no arguments.
5935
59362019-08-21 Tom de Vries <tdevries@suse.de>
5937
5938 * gdb.base/gdb-caching-proc.exp: Sort files.
5939
59402019-08-20 Tom de Vries <tdevries@suse.de>
5941
5942 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5943 compilation.
5944
59452019-08-16 Tom de Vries <tdevries@suse.de>
5946
5947 * gdb.base/compare-sections.exp ("after run to main"): Allow
5948 mismatched read-only sections for PIE executables.
5949
59502019-08-16 Tom Tromey <tom@tromey.com>
5951
5952 * lib/tuiterm.exp (_csi_Z): New proc.
5953 * gdb.tui/basic.exp: Update window positions.
5954 * gdb.tui/empty.exp: Update window positions.
5955
59562019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5957
5958 * gdb.base/examine-backward.exp: Correct regexp for
5959 "examine 3 bytes backward from ${address_zero}".
5960
59612019-08-15 Tom Tromey <tom@tromey.com>
5962
5963 * gdb.tui/empty.exp: Enable resizing tests.
5964
59652019-08-15 Tom Tromey <tromey@adacore.com>
5966
5967 * gdb.ada/char_enum.exp: Add regression tests.
5968 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5969 and '0'.
5970 (Char, Gchar): Update.
5971 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5972
59732019-08-15 Christian Biesinger <cbiesinger@google.com>
5974
5975 * gdb.python/python.exp: Expect a leading underscore on
5976 GdbOutput{,Error}File.
5977
59782019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5979
5980 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5981 Windows host.
5982
59832019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5984
5985 * gdb.base/batch-preserve-term-settings.exp
5986 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5987
59882019-08-15 Christian Biesinger <cbiesinger@google.com>
5989
5990 * lib/gdb.exp: When running on a mingw target, replace
5991 /x/ with x:/.
5992
59932019-08-14 Alan Hayward <alan.hayward@arm.com>
5994
5995 * gdb.arch/aarch64-prologue.c: New test.
5996 * gdb.arch/aarch64-prologue.exp: New file.
5997
59982019-08-13 Tom de Vries <tdevries@suse.de>
5999
6000 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6001 Thread.
6002
60032019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6004
6005 * gdb.python/py-completion.exp: Download the .py file to the host
6006 and use its host pathname. Conditionalize tests that use
6007 tab completion and manipulate files on the build machine.
6008 * gdb.python/py-events.exp: Download the .py file to the host
6009 and use its host pathname.
6010 * gdb.python/py-evsignal.exp: Likewise.
6011 * gdb.python/py-evthreads.exp: Likewise.
6012 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6013 pathname syntax.
6014 * gdb.python/py-framefilter.exp: Download the .py file to the right
6015 place on the host. Match Windows pathname syntax.
6016 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6017 .py file to the host and use its host pathname.
6018 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6019 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6020 build pathname. Skip symlink test on Windows host. Add missing
6021 newline at end of file.
6022 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6023 and use its host pathname.
6024 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6025 * gdb.python/py-section-script.exp: Use host location of binfile
6026 on safe-path. Use correct path separator on Windows host.
6027 Reorder alternatives in gdb_test_multiple to prevent matching
6028 the wrong alternative on success.
6029 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6030
60312019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6032
6033 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6034 expect the GDB inferior to no longer immediately stop after
6035 being resumed with "signal SIGINT".
6036
60372019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6038
6039 * gdb.linespec/break-ask.exp: Generalize regexps to match
6040 Windows pathnames too.
6041
60422019-08-08 Tom de Vries <tdevries@suse.de>
6043
6044 PR testsuite/24862
6045 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6046
60472019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6048
6049 * gdb.base/style.exp: Update tests for help doc new invariants.
6050 * gdb.base/help.exp: Likewise.
6051
60522019-08-06 Tom Tromey <tom@tromey.com>
6053
6054 * gdb.base/style.exp: Add disassemble test.
6055 * gdb.base/style.c (some_called_function): New function.
6056 (main): Use it.
6057
60582019-08-05 Christian Biesinger <cbiesinger@google.com>
6059
6060 * gdb.python/py-block.exp: Test dictionary access on blocks.
6061
60622019-08-05 Simon Marchi <simon.marchi@efficios.com>
6063
6064 PR gdb/24863
6065 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6066 -list-thread-groups --available test when running under
6067 check-read1.
6068
60692019-08-05 Tom de Vries <tdevries@suse.de>
6070
6071 PR testsuite/24863
6072 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6073 * gdb.base/help.exp: Use with_read1_timeout_factor.
6074 * gdb.base/info-macros.exp: Same.
6075 * gdb.cp/nested-types.exp: Same.
6076
60772019-08-05 Tom de Vries <tdevries@suse.de>
6078
6079 * lib/gdb.exp (version_at_least): Factor out of ...
6080 (tcl_version_at_least): ... here.
6081 (gdb_compile): Fail if pie results in non-PIE executable.
6082 (readelf_version, readelf_prints_pie): New proc.
6083 (exec_is_pie): Return -1 if unknown.
6084
60852019-08-05 Tom de Vries <tdevries@suse.de>
6086
6087 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6088
60892019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6090
6091 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6092
60932019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6094
6095 * lib/completion-support.exp (test_gdb_complete_none): Skip
6096 tab completion tests if no readline support.
6097 (test_gdb_complete_unique_re): Likewise.
6098 (test_gdb_complete_multiple): Likewise.
6099
61002019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6101
6102 * gdb.base/info_sources.exp: New file.
6103 * gdb.base/info_sources.c: New file.
6104 * gdb.base/info_sources_base.c: New file.
6105
61062019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6107
6108 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6109 prefix argument.
6110 (test_exit_status): Add prefix argument.
6111
61122019-08-01 Tom de Vries <tdevries@suse.de>
6113
6114 PR testsuite/24863
6115 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6116 calling exp_continue for new thread and thread exited messages.
6117
61182019-08-01 Tom de Vries <tdevries@suse.de>
6119
6120 PR testsuite/24863
6121 * gdb.base/structs.exp: Fix check-read1 timeout using
6122 gdb_test_sequence.
6123 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6124
61252019-08-01 Tom de Vries <tdevries@suse.de>
6126
6127 PR testsuite/24863
6128 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6129 line.
6130
61312019-08-01 Tom de Vries <tdevries@suse.de>
6132
6133 PR testsuite/24863
6134 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6135
61362019-07-30 Tom Tromey <tromey@adacore.com>
6137
6138 * gdb.ada/display_nested.exp: New file.
6139 * gdb.ada/display_nested/foo.adb: New file.
6140 * gdb.ada/display_nested/pack.adb: New file.
6141 * gdb.ada/display_nested/pack.ads: New file.
6142
61432019-07-30 Christian Biesinger <cbiesinger@google.com>
6144
6145 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6146 namespace.
6147 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6148
61492019-07-30 Tom de Vries <tdevries@suse.de>
6150
6151 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6152 instead.
6153
61542019-07-30 Tom de Vries <tdevries@suse.de>
6155
6156 PR testsuite/24834
6157 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6158 (exec_is_pie): New proc.
6159
61602019-07-29 Christian Biesinger <cbiesinger@google.com>
6161
6162 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6163
61642019-07-29 Christian Biesinger <cbiesinger@google.com>
6165
6166 * gdb.python/py-objfile.c: Add global and static vars.
6167 * gdb.python/py-objfile.exp: Test new functions Objfile.
6168 lookup_global_symbol and lookup_static_symbol.
6169
61702019-07-29 Tom Tromey <tom@tromey.com>
6171
6172 * lib/tuiterm.exp (Term::_csi_@): New proc.
6173 (Term::_csi_X): Don't move cursor.
6174
61752019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6176
6177 * gdb.base/options.exp: Update backtrace - completion to
6178 new option -frame-info.
6179 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6180 Test new 'set print frame-info'. Test backtrace -frame-info
6181 overriding 'set print frame-info'.
6182 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6183 Test new 'set print frame-info'.
6184 Verify consistency of backtrace with and without filters, with and
6185 without -no-filters.
6186 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6187 default.
6188
61892019-07-29 Tom de Vries <tdevries@suse.de>
6190
6191 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6192 no arguments".
6193
61942019-07-29 Tom de Vries <tdevries@suse.de>
6195
6196 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6197 is a substring of the first for "complete non-unique file name".
6198
61992019-07-29 Tom de Vries <tdevries@suse.de>
6200
6201 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6202 with ".*".
6203
62042019-07-29 Tom de Vries <tdevries@suse.de>
6205
6206 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6207 Pass prompt_regexp parameter to gdb_test_multiple calls.
6208
62092019-07-29 Tom de Vries <tdevries@suse.de>
6210
6211 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
6212 print registers" regexps.
6213
62142019-07-29 Tom de Vries <tdevries@suse.de>
6215
6216 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6217
62182019-07-29 Tom de Vries <tdevries@suse.de>
6219
6220 PR gdb/24855
6221 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6222 (skip_python_tests_prompt): Add prompt_regexp argument to
6223 gdb_test_multiple calls.
6224
62252019-07-27 Tom Tromey <tom@tromey.com>
6226
6227 * gdb.tui/main.exp: New file.
6228
62292019-07-27 Tom Tromey <tom@tromey.com>
6230
6231 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6232 optional.
6233 * gdb.tui/empty.exp: New file.
6234
62352019-07-27 Tom Tromey <tom@tromey.com>
6236
6237 * lib/tuiterm.exp (spawn): New proc.
6238 (Term::resize): New proc.
6239 * gdb.tui/resize.exp: New file.
6240
62412019-07-27 Tom Tromey <tom@tromey.com>
6242
6243 * gdb.tui/list.exp: New file.
6244
62452019-07-27 Tom Tromey <tom@tromey.com>
6246
6247 * gdb.tui/regs.exp: New file.
6248
62492019-07-27 Tom Tromey <tom@tromey.com>
6250
6251 * gdb.tui/basic.exp: Add "layout split" test.
6252
62532019-07-27 Tom Tromey <tom@tromey.com>
6254
6255 * gdb.tui/basic.exp: Add "layout asm" test.
6256
62572019-07-27 Tom Tromey <tom@tromey.com>
6258
6259 * lib/tuiterm.exp: New file.
6260 * gdb.tui/basic.exp: New file.
6261
62622019-07-27 Kevin Buettner <kevinb@redhat.com>
6263
6264 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6265 Enable tests associated with this flag. Adjust regex
6266 referencing "foo_low" to now refer to "foo_cold" instead.
6267
62682019-07-27 Kevin Buettner <kevinb@redhat.com>
6269
6270 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6271 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6272 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6273 foo_cold. Revise comments to match.
6274 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6275 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6276 were wrapped into this proc; Call do_test in loop from outermost
6277 level.
6278 (foo_low): Rename all occurrences to "foo_cold".
6279 (backtrace from baz): New test.
6280 (x2/i foo_cold): New test.
6281 (info line *foo_cold): New test.
6282
62832019-07-26 Tom de Vries <tdevries@suse.de>
6284
6285 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6286
62872019-07-25 Tom de Vries <tdevries@suse.de>
6288
6289 PR testsuite/24830
6290 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6291 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6292 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6293 (skip_libstdcxx_probe_tests): ... here.
6294 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6295
62962019-07-24 Tom de Vries <tdevries@suse.de>
6297
6298 PR testsuite/24807
6299 * gdb.objc/basicclass.m: Include stdio.h.
6300 * gdb.objc/nondebug.m: Same.
6301 * gdb.objc/objcdecode.m: Same.
6302
63032019-07-24 Tom de Vries <tdevries@suse.de>
6304
6305 PR testsuite/24612
6306 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6307 additional_flags.
6308
63092019-07-24 Tom de Vries <tdevries@suse.de>
6310
6311 PR testsuite/24831
6312 * gdb.multi/tids.exp: Update error messages for info threads.
6313
63142019-07-24 Tom de Vries <tdevries@suse.de>
6315
6316 * gdb.base/info-types.exp: Allow info types to print info for more than
6317 one file.
6318
63192019-07-23 Tom de Vries <tdevries@suse.de>
6320
6321 PR testsuite/24842
6322 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6323 gdb_spawn_with_cmdline_opts.
6324
63252019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6326
6327 * gdb.arch/arm-cmse-sgstubs.c: New test.
6328 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6329
63302019-07-23 Tom de Vries <tdevries@suse.de>
6331
6332 PR testsuite/24711
6333 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6334 issuing next command.
6335
63362019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6337
6338 * gdb.ada/info_auto_lang.exp: Update expected results.
6339 * gdb.base/info-types.c: Add additional types to check.
6340 * gdb.base/info-types.exp: Update expected results.
6341
63422019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6343
6344 * gdb.base/info-types.c: New file.
6345 * gdb.base/info-types.exp: New file.
6346
63472019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6348
6349 * gdb.arch/riscv-bp-infcall.c: New file.
6350 * gdb.arch/riscv-bp-infcall.exp: New file.
6351
63522019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6353
6354 PR breakpoints/24541
6355 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6356
63572019-07-14 Tom de Vries <tdevries@suse.de>
6358
6359 PR testsuite/24760
6360 * gdb.objc/basicclass.exp: Fix unterminated string.
6361
63622019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6363 Andrew Burgess <andrew.burgess@embecosm.com>
6364
6365 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6366 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6367 negative bounds.
6368 * gdb.fortran/vla-value.exp: Print elements of an array with
6369 negative bounds.
6370 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6371 testing.
6372
63732019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6374
6375 * gdb.base/options.exp (expect_string): Dequote strings in
6376 results.
6377 (test-string): Test strings with different quoting and reindent.
6378
63792019-07-10 Tom Tromey <tromey@adacore.com>
6380
6381 * gdb.ada/mi_ex_cond.exp: Update expected results.
6382 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6383 * gdb.ada/mi_catch_ex.exp: Update expected results.
6384 * gdb.ada/mi_catch_assert.exp: Update expected results.
6385 * gdb.ada/catch_ex.exp (catch_exception_info)
6386 (catch_exception_entry, catch_assert_entry)
6387 (catch_unhandled_entry): Update.
6388 * gdb.ada/catch_assert_if.exp: Update expected results.
6389
63902019-07-10 Richard Bunt <richard.bunt@arm.com>
6391 Stephen Roberts <stephen.roberts@arm.com>
6392
6393 * gdb.base/define.exp: Restore original prompt.
6394
63952019-07-09 Pedro Alves <palves@redhat.com>
6396
6397 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6398 breakpoints" output.
6399 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6400 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6401 throw" creates breakpoint.
6402 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6403 'type="catchpoint"'.
6404
64052019-07-09 Pedro Alves <palves@redhat.com>
6406
6407 PR c++/15468
6408 * gdb.cp/except-multi-location-lib.cc: New.
6409 * gdb.cp/except-multi-location-main.cc: New.
6410 * gdb.cp/except-multi-location.exp: New.
6411
64122019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6413
6414 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6415 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6416 argument and update callers.
6417
64182019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6419
6420 * gdb.arch/amd64-break-on-asm-line.S: New file.
6421 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6422
64232019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6424
6425 * gdb.base/printcmds.exp: Test printing C string and
6426 C wide string convenience vars without transiting via the inferior.
6427 Also make test names unique.
6428
64292019-07-08 Alan Hayward <alan.hayward@arm.com>
6430
6431 PR breakpoints/25011
6432 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6433
64342019-07-04 Pedro Alves <palves@redhat.com>
6435
6436 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6437 body returned ok(0), break(3) or continue(4).
6438 * gdb.testsuite/foreach_with_prefix.exp: New file.
6439
64402019-07-04 Alan Hayward <alan.hayward@arm.com>
6441
6442 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6443
64442019-07-03 Pedro Alves <palves@redhat.com>
6445
6446 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6447 "return -code".
6448
64492019-07-03 Pedro Alves <palves@redhat.com>
6450
6451 PR cli/24732
6452 * gdb.base/shell.exp: Load completion-support.exp.
6453 Adjust expected error output. Add completion tests.
6454
64552019-07-03 Pedro Alves <palves@redhat.com>
6456
6457 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6458 string_to_regexp.
6459
64602019-07-03 Pedro Alves <palves@redhat.com>
6461
6462 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6463 (expect_integer): Adjust to expect "-string".
6464 (expect_string): New.
6465 (all_options): Expect "-string".
6466 (test-flag, test-boolean): Adjust to expect "-string".
6467 (test-string): New proc.
6468 (top level): Call it.
6469
64702019-07-03 Pedro Alves <palves@redhat.com>
6471
6472 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6473 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6474 the expected output in the success.
6475
64762019-07-03 Pedro Alves <palves@redhat.com>
6477
6478 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6479 Split one gdb_test_multiple call in two to avoid a race.
6480
64812019-07-03 Pedro Alves <palves@redhat.com>
6482
6483 * gdb.base/with.c: New file.
6484 * gdb.base/with.exp: New file.
6485
64862019-07-03 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.base/settings.exp: Replace all references to "maint
6489 test-settings set" with references to "maint set test-settings",
6490 and all references to "maint test-settings show" with references
6491 to "maint show test-settings".
6492
64932019-07-03 Pedro Alves <palves@redhat.com>
6494
6495 * gdb.base/settings.exp (test-string): Adjust expected out when
6496 testing "maint test-settings show filename"
6497
64982019-07-02 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.base/options.exp (test-info-threads): New procedure.
6501 (top level): Call it.
6502
65032019-06-28 Tom Tromey <tromey@adacore.com>
6504
6505 * gdb.dwarf2/ada-linkage-name.c: New file.
6506 * gdb.dwarf2/ada-linkage-name.exp: New file.
6507
65082019-06-27 Tom Tromey <tromey@adacore.com>
6509
6510 PR c++/20020:
6511 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6512
65132019-06-26 Tom de Vries <tdevries@suse.de>
6514
6515 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6516
65172019-06-26 Tom de Vries <tdevries@suse.de>
6518
6519 * gdb.base/index-cache.exp: Add back missing debug option.
6520
65212019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6522
6523 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6524
65252019-06-25 Tom de Vries <tdevries@suse.de>
6526
6527 PR testsuite/24727
6528 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6529
65302019-06-24 Tom de Vries <tdevries@suse.de>
6531
6532 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6533
65342019-06-24 Tom de Vries <tdevries@suse.de>
6535
6536 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6537 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6538 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6539
65402019-06-24 Tom de Vries <tdevries@suse.de>
6541
6542 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6543
65442019-06-21 Tom de Vries <tdevries@suse.de>
6545
6546 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6547
65482019-06-21 Tom de Vries <tdevries@suse.de>
6549
6550 PR testsuite/24518
6551 PR ada/24713
6552 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6553 index.
6554
65552019-06-19 Tom Tromey <tromey@adacore.com>
6556
6557 * gdb.ada/length_cond.exp: Add intro comment.
6558
65592019-06-19 Tom Tromey <tromey@adacore.com>
6560
6561 * gdb.ada/length_cond.exp: New file.
6562 * gdb.ada/length_cond/length_cond.adb: New file.
6563 * gdb.ada/length_cond/pck.adb: New file.
6564 * gdb.ada/length_cond/pck.ads: New file.
6565
65662019-06-18 Tom de Vries <tdevries@suse.de>
6567
6568 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6569
65702019-06-18 Tom Tromey <tromey@adacore.com>
6571
6572 * gdb.base/list0.h: Add comment explaining control character.
6573
65742019-06-18 Tom de Vries <tdevries@suse.de>
6575
6576 * boards/fission.exp: Break up long debug_flags line.
6577
65782019-06-16 Tom de Vries <tdevries@suse.de>
6579
6580 PR gdb/24445
6581 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6582 generated index.
6583
65842019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6585
6586 PR gdb/24686
6587 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6588 improve detection of bug gdb/24541.
6589
65902019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6591
6592 PR gdb/24669
6593 * gdb.base/index-cache.exp (uses_readnow,
6594 expecting_index_cache_use): Define global variable.
6595 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6596 expecting_index_cache_use.
6597
65982019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6599 Andrew Burgess <andrew.burgess@embecosm.com>
6600
6601 * gdb.fortran/pointers.f90: New file.
6602 * gdb.fortran/print_type.exp: New file.
6603 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6604 * gdb.fortran/vla-type.exp: Likewise.
6605 * gdb.fortran/vla-value.exp: Likewise.
6606 * gdb.mi/mi-vla-fortran.exp: Likewise.
6607
66082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6609
6610 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6611 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6612 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6613 as a stop reason.
6614
66152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6616
6617 * gdb.base/annota1.exp: Update expected results.
6618 * gdb.cp/annota2.exp: Likewise.
6619 * gdb.cp/annota3.exp: Likewise.
6620
66212019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6622
6623 * gdb.base/style-logging.exp: Remove path from test name.
6624
66252019-06-14 Tom Tromey <tromey@adacore.com>
6626
6627 PR gdb/24502:
6628 * gdb.base/style-logging.exp: New file.
6629
66302019-06-14 Tom Tromey <tromey@adacore.com>
6631
6632 * gdb.base/symfile-warn.exp: New file.
6633 * gdb.base/symfile-warn.c: New file.
6634
66352019-06-14 Tom Tromey <tromey@adacore.com>
6636
6637 * gdb.base/annotate-symlink.exp: New file.
6638
66392019-06-14 Tom Tromey <tromey@adacore.com>
6640
6641 * gdb.ada/set_wstr.exp: Add reassignment test.
6642
66432019-06-14 Tom Tromey <tromey@adacore.com>
6644
6645 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6646 'unchecked_access and 'unrestricted_access as well.
6647
66482019-06-14 Tom Tromey <tromey@adacore.com>
6649
6650 PR ada/24539:
6651 * gdb.ada/vla.exp: Update tests.
6652 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6653 pragma.
6654
66552019-06-13 Pedro Alves <palves@redhat.com>
6656
6657 * gdb.base/settings.exp (test-integer): Test junk after
6658 "unlimited".
6659
66602019-06-13 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/options.exp (test-thread-apply): New.
6663 (top level): Call it.
6664
66652019-06-13 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.base/options.exp (test-frame-apply): New.
6668 (top level): Test print commands with different "frame apply"
6669 prefixes.
6670
66712019-06-13 Pedro Alves <palves@redhat.com>
6672
6673 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
6674 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6675 'max_completions' parameter and handle it.
6676 (test_gdb_completion_offers_commands): New.
6677
66782019-06-13 Pedro Alves <palves@redhat.com>
6679
6680 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6681
66822019-06-13 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.base/options.exp (test-backtrace): New.
6685 (top level): Call it.
6686
66872019-06-13 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.guile/scm-frame-args.exp: Use "set print
6690 raw-frame-arguments" instead of "set print raw frame-arguments".
6691 * gdb.python/py-frame-args.exp: Likewise.
6692
66932019-06-13 Pedro Alves <palves@redhat.com>
6694
6695 * gdb.compile/compile.exp: Adjust expected output to option
6696 processing changes.
6697
66982019-06-13 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/options.exp: Build executable.
6701 (test-print): New procedure.
6702 (top level): Call it, once for "print" and another for "compile
6703 print".
6704
67052019-06-13 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.base/options.c: New file.
6708 * gdb.base/options.exp: New file.
6709
67102019-06-13 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6713 that "o" is ambiguous.
6714
67152019-06-13 Pedro Alves <palves@redhat.com>
6716
6717 * gdb.base/settings.c: New file.
6718 * gdb.base/settings.exp: New file.
6719
67202019-06-13 Pedro Alves <palves@redhat.com>
6721
6722 * gdb.base/completion.exp: Fix comment typo.
6723
67242019-06-13 Pedro Alves <palves@redhat.com>
6725
6726 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6727 foo --1" test.
6728
67292019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6730
6731 * gdb.fortran/block-data.f: New.
6732 * gdb.fortran/block-data.exp: New.
6733
67342019-06-11 Tom de Vries <tdevries@suse.de>
6735
6736 PR testsuite/24521
6737 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6738 message.
6739
67402019-06-11 Tom de Vries <tdevries@suse.de>
6741
6742 PR testsuite/24521
6743 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6744
67452019-06-11 Tom de Vries <tdevries@suse.de>
6746
6747 * boards/readnow.exp: New file.
6748
67492019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6750
6751 * gdb.fortran/vla-sizeof.exp: Update expected results.
6752
67532019-06-06 Amos Bird <amosbird@gmail.com>
6754
6755 * gdb.base/annota1.exp (thread_switch): Add test for
6756 thread-exited annotation.
6757
67582019-06-06 Tom Tromey <tromey@adacore.com>
6759
6760 * gdb.base/maint.exp: Expect command started/finished output.
6761
67622019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6763
6764 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6765 comment.
6766 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6767
67682019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6769
6770 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6771 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6772 * gdb.arch/riscv-unwind-long-insn.c: New file.
6773 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6774
67752019-06-04 Christian Biesinger <cbiesinger@google.com>
6776
6777 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
6778
67792019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6780
6781 * lib/gdb.exp (help_list_trailer): New regexp variable
6782 factorizing the help trailer message.
6783 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6784 arg to allow to better factorize various tests.
6785 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6786 (test_prefix_command_help): Use help_list_trailer.
6787 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6788 * gdb.guile/scm-cmd.exp: Likewise.
6789 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6790 * gdb.base/help.exp: Use test_user_defined_class_help.
6791 * gdb.base/style.exp: Add tests for styling of help and apropos.
6792 * lib/gdb-utils.exp (style): Add title and highlight styles.
6793
67942019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6795
6796 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6797 $_shell_exitsignal.
6798 * gdb.base/default.exp: Update for new convenience variables.
6799
68002019-05-29 Tom Tromey <tromey@adacore.com>
6801
6802 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6803 to "break complete ada" test case's regexp.
6804
68052019-05-29 Tom Tromey <tromey@adacore.com>
6806
6807 PR c++/20020:
6808 * gdb.cp/constexpr-field.exp: New file.
6809 * gdb.cp/constexpr-field.cc: New file.
6810
68112019-05-29 Tom Tromey <tromey@adacore.com>
6812
6813 * gdb.base/finish.exp (finish_no_print): New proc.
6814 (finish_tests): Call it.
6815
68162019-05-24 Tom de Vries <tdevries@suse.de>
6817
6818 * gdb.dwarf2/gdb-add-index.exp: New file.
6819
68202019-05-22 Tom Tromey <tromey@adacore.com>
6821
6822 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6823 * gdb.base/style.exp: Use "style".
6824 * lib/gdb-utils.exp (style): New proc.
6825
68262019-05-22 Tom de Vries <tdevries@suse.de>
6827
6828 * gdb.base/align.exp: Require c++11.
6829
68302019-05-22 Tom de Vries <tdevries@suse.de>
6831
6832 PR testsuite/24586
6833 * gdb.python/py-mi-var-info-path-expression.exp: Call
6834 mi_skip_python_tests to check if python is supported.
6835
68362019-05-22 Alan Hayward <alan.hayward@arm.com>
6837
6838 * gdb.arch/aarch64-pauth.c: New test.
6839 * gdb.arch/aarch64-pauth.exp: New file.
6840
68412019-05-22 Alan Hayward <alan.hayward@arm.com>
6842
6843 * README (Re-running Tests Outside The Testsuite): New section.
6844
68452019-05-21 Tom de Vries <tdevries@suse.de>
6846
6847 * gdb.arch/amd64-eval.exp: Require c++11.
6848 * gdb.base/max-depth.exp: Same.
6849 * gdb.compile/compile-cplus-array-decay.exp: Same.
6850 * gdb.cp/meth-typedefs.exp: Same.
6851 * gdb.cp/subtypes.exp: Same.
6852 * gdb.cp/temargs.exp: Same.
6853
68542019-05-21 Alan Hayward <alan.hayward@arm.com>
6855
6856 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6857
68582019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6859
6860 PR gdb/18644
6861 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6862 * gdb.fortran/printing-types.exp: Add new test.
6863 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6864 testing.
6865 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6866 setup_kfail call.
6867
68682019-05-17 Alan Hayward <alan.hayward@arm.com>
6869
6870 * README (Running the Testsuite): Change example.
6871 (Testsuite Parameters): Remove TRANSCRIPT.
6872 * lib/gdb.exp: Remove TRANSCRIPT check.
6873
68742019-05-17 Alan Hayward <alan.hayward@arm.com>
6875
6876 * README (Testsuite Parameters): Add replay logging to
6877 GDBSERVER_DEBUG.
6878 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6879 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6880 as a comma separated list.
6881 (gdb_debug_init): Override procedure.
6882
68832019-05-17 Alan Hayward <alan.hayward@arm.com>
6884
6885 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6886 (gdb_write_cmd_file): New procedure.
6887 * lib/gdbserver-support.exp (gdbserver_start): Call
6888 gdbserver_write_cmd_file.
6889 (gdbserver_write_cmd_file): New procedure.
6890
68912019-05-17 Alan Hayward <alan.hayward@arm.com>
6892
6893 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6894 (delete_breakpoints): Likewise.
6895 (gdb_run_cmd): Likewise.
6896 (gdb_start_cmd): Likewise.
6897 (gdb_starti_cmd): Likewise.
6898 (gdb_internal_error_resync): Likewise.
6899 (gdb_test_multiple): Likewise.
6900 (gdb_reinitialize_dir): Likewise.
6901 (default_gdb_exit): Likewise.
6902 (gdb_file_cmd): Mark kill as optional.
6903 (default_gdb_start): Call gdb_stdin_log_init.
6904 (send_gdb): Call gdb_stdin_log_write.
6905 (rerun_to_main): Mark Y as an answer.
6906 (gdb_stdin_log_init): New function.
6907 (gdb_stdin_log_write): Likewise.
6908
69092019-05-17 Alan Hayward <alan.hayward@arm.com>
6910
6911 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6912 * gdb.base/debug-expr.exp: Likewise.
6913 * gdb.base/foll-fork.exp: Likewise.
6914 * gdb.base/foll-vfork.exp: Likewise.
6915 * gdb.base/fork-print-inferior-events.exp: Likewise.
6916 * gdb.base/gdb-sigterm.exp: Likewise.
6917 * gdb.base/gdbinit-history.exp: Likewise.
6918 * gdb.base/osabi.exp: Likewise.
6919 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6920 * gdb.base/ui-redirect.exp: Likewise.
6921 * gdb.gdb/unittest.exp: Likewise.
6922 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6923 * gdb.mi/mi-watch.exp: Likewise.
6924 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6925 * gdb.mi/user-selected-context-sync.exp: Likewise.
6926 * gdb.python/python.exp: Disable debug test when debugging.
6927 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6928 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6929 Likewise.
6930 * gdb.threads/stepi-random-signal.exp: Likewise.
6931
69322019-05-17 Alan Hayward <alan.hayward@arm.com>
6933
6934 * Makefile.in: Pass through GDB_DEBUG.
6935 * README (Testsuite Parameters): Add GDB_DEBUG.
6936 (gdb,debug): Add board setting.
6937 * lib/gdb.exp (default_gdb_start): Start debugging.
6938 (gdb_debug_enabled): New procedure.
6939 (gdb_debug_init): Likewise.
6940
69412019-05-17 Alan Hayward <alan.hayward@arm.com>
6942
6943 * Makefile.in: Pass through GDB_DEBUG.
6944 * README (Testsuite Parameters): Add GDB_DEBUG.
6945 (gdb,debug): Add board setting.
6946 * lib/gdb.exp (default_gdb_start): Start debugging.
6947 (gdb_debug_enabled): New procedure.
6948 (gdb_debug_init): Likewise.
6949
69502019-05-17 Alan Hayward <alan.hayward@arm.com>
6951
6952 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6953
69542019-05-17 Alan Hayward <alan.hayward@arm.com>
6955
6956 * gdb.base/ui-redirect.exp: Test redirection.
6957
69582019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6959
6960 * gdb.mi/mi-complete.exp: New file.
6961 * gdb.mi/mi-complete.cc: Likewise.
6962
69632019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6964
6965 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6966 indexed and sliced arrays, and pointers to arrays.
6967
69682019-05-14 Tom Tromey <tromey@adacore.com>
6969
6970 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6971 styling test.
6972
69732019-05-14 Tom de Vries <tdevries@suse.de>
6974
6975 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6976 selection entry encoding.
6977
69782019-05-10 Tom Tromey <tromey@adacore.com>
6979
6980 * gdb.ada/info_exc.exp: Add "complete" test.
6981
69822019-05-09 Tom de Vries <tdevries@suse.de>
6983
6984 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6985 CU-relative.
6986
69872019-05-09 Tom de Vries <tdevries@suse.de>
6988
6989 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6990 CU-relative.
6991
69922019-05-08 Joel Brobecker <brobecker@adacore.com>
6993
6994 * gdb.ada/frame_arg_lang.exp: New testcase.
6995 * gdb.ada/frame_arg_lang/bla.adb: New file.
6996 * gdb.ada/frame_arg_lang/pck.ads: New file.
6997 * gdb.ada/frame_arg_lang/pck.adb: New file.
6998 * gdb.ada/frame_arg_lang/foo.c: New file.
6999
70002019-05-08 Tom Tromey <tromey@adacore.com>
7001
7002 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7003
70042019-05-08 Tom Tromey <tromey@adacore.com>
7005
7006 * gdb.base/ptype-offsets.exp: Update tests.
7007
70082019-05-08 Tom Tromey <tromey@adacore.com>
7009
7010 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7011 cases.
7012 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7013 "short".
7014
70152019-05-08 Tom Tromey <tromey@adacore.com>
7016
7017 * gdb.ada/vla.exp: New file.
7018 * gdb.ada/vla/vla.adb: New file.
7019
70202019-05-07 Tom de Vries <tdevries@suse.de>
7021
7022 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7023
70242019-05-07 Tom de Vries <tdevries@suse.de>
7025
7026 PR testsuite/24522
7027 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7028 section.
7029
70302019-05-07 Tom de Vries <tdevries@suse.de>
7031
7032 PR testsuite/24522
7033 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7034 .debug_aranges section.
7035
70362019-05-07 Tom de Vries <tdevries@suse.de>
7037
7038 PR testsuite/24159
7039 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7040
70412019-05-06 Tom de Vries <tdevries@suse.de>
7042
7043 * lib/gdb.exp (exec_has_index_section): New proc.
7044 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7045 section.
7046
70472019-05-04 Tom de Vries <tdevries@suse.de>
7048
7049 * boards/cc-with-debug-names.exp: New file.
7050
70512019-05-03 Tom Tromey <tromey@adacore.com>
7052
7053 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7054 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7055 * gdb.ada/char_enum.exp: Add test.
7056
70572019-05-03 Tom de Vries <tdevries@suse.de>
7058
7059 * boards/cc-with-gdb-index.exp: New file.
7060
70612019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7062
7063 * gdb.rust/simple.exp: Add new test case.
7064 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7065 (main): Initialise an instance of the new struct.
7066
70672019-05-01 Tom Tromey <tromey@adacore.com>
7068
7069 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7070 record.
7071 (NPR): New variable.
7072 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7073 test.
7074
70752019-05-01 Tom Tromey <tromey@adacore.com>
7076
7077 * gdb.ada/packed_array_assign.exp: Add packed assignment
7078 regression test.
7079
70802019-05-01 Tom de Vries <tdevries@suse.de>
7081
7082 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7083
70842019-05-01 Tom de Vries <tdevries@suse.de>
7085
7086 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7087
70882019-04-30 Ali Tamur <tamur@google.com>
7089
7090 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7091
70922019-04-30 Tom Tromey <tromey@adacore.com>
7093
7094 * lib/ada.exp (find_ada_tool): New proc.
7095 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7096 * gdb.ada/catch_ex_std.exp: New file.
7097 * gdb.ada/catch_ex_std/foo.adb: New file.
7098 * gdb.ada/catch_ex_std/some_package.adb: New file.
7099 * gdb.ada/catch_ex_std/some_package.ads: New file.
7100
71012019-04-30 Tom Tromey <tromey@adacore.com>
7102
7103 PR c++/24470:
7104 * gdb.cp/temargs.cc: Add test code from PR.
7105
71062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7107
7108 * gdb.fortran/vla-datatypes.exp: Update expected results.
7109 * gdb.fortran/vla-ptype.exp: Likewise.
7110 * gdb.fortran/vla-type.exp: Likewise.
7111 * gdb.fortran/vla-value.exp: Likewise.
7112
71132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7114
7115 * gdb.fortran/ptr-indentation.exp: Update expected results.
7116 * gdb.fortran/ptype-on-functions.exp: Likewise.
7117 * gdb.fortran/vla-ptr-info.exp: Likewise.
7118 * gdb.fortran/vla-value.exp: Likewise.
7119
71202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7121
7122 * gdb.fortran/ptype-on-functions.exp: New file.
7123 * gdb.fortran/ptype-on-functions.f90: New file.
7124
71252019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7126
7127 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7128 case void string.
7129
71302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7131
7132 * gdb.fortran/complex.exp: Expand.
7133 * gdb.fortran/complex.f: Renamed to...
7134 * gdb.fortran/complex.f90: ...this, and extended to add more
7135 complex values.
7136
71372019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7138
7139 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7140 MODULO, CMPLX.
7141
71422019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7143 Richard Bunt <richard.bunt@arm.com>
7144
7145 * gdb.base/max-depth.c: New file.
7146 * gdb.base/max-depth.exp: New file.
7147 * gdb.python/py-nested-maps.c: New file.
7148 * gdb.python/py-nested-maps.exp: New file.
7149 * gdb.python/py-nested-maps.py: New file.
7150 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7151 (test_all_common): Call test_max_depth.
7152 * gdb.fortran/max-depth.exp: New file.
7153 * gdb.fortran/max-depth.f90: New file.
7154 * gdb.go/max-depth.exp: New file.
7155 * gdb.go/max-depth.go: New file.
7156 * gdb.modula2/max-depth.exp: New file.
7157 * gdb.modula2/max-depth.c: New file.
7158 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7159
71602019-04-29 Tom de Vries <tdevries@suse.de>
7161
7162 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7163
71642019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7165
7166 * gdb.base/callexit.exp: Test may-call-functions off.
7167
71682019-04-25 Keith Seitz <keiths@redhat.com>
7169
7170 PR c++/24367
7171 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7172 (another_incomplete_struct, test_incomplete): New definitions.
7173 (main): Use new definitions.
7174 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7175 functions.
7176
71772019-04-25 Ali Tamur <tamur@google.com>
7178
7179 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7180
71812019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7182
7183 PR corefiles/11608
7184 PR corefiles/18187
7185 * gdb.base/coredump-filter-build-id.exp: New file.
7186
71872019-04-25 Alan Hayward <alan.hayward@arm.com>
7188
7189 * Makefile.in: Pass through GDBSERVER_DEBUG.
7190 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7191 (gdbserver,debug): Add board setting.
7192 * gdb.trace/tspeed.exp: Skip when debugging.
7193 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7194 * lib/gdbserver-support.exp: Likewise
7195
71962019-04-24 Tom Tromey <tromey@adacore.com>
7197
7198 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7199 Rust.
7200
72012019-04-24 Tom Tromey <tromey@adacore.com>
7202
7203 * gdb.arch/amd64-eval.exp: Test bitfield return.
7204 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7205 (class Foo) <return_bitfields>: New method.
7206 (main): Call it.
7207
72082019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7209
7210 * gdb.cp/many-args.cc: New file.
7211 * gdb.cp/many-args.exp: New file.
7212
72132019-04-23 Tom de Vries <tdevries@suse.de>
7214
7215 PR gdb/24433
7216 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7217
72182019-04-23 Alan Hayward <alan.hayward@arm.com>
7219
7220 * gdb.trace/backtrace.exp: Use nopie flag.
7221 * gdb.trace/circ.exp: Likewise.
7222 * gdb.trace/collection.exp: Likewise.
7223 * gdb.trace/ftrace.exp: Likewise.
7224 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7225 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7226 * gdb.trace/qtro.exp: Likewise.
7227 * gdb.trace/read-memory.exp: Likewise.
7228 * gdb.trace/report.exp: Likewise.
7229 * gdb.trace/tfile.exp: Likewise.
7230 * gdb.trace/tfind.exp: Likewise.
7231 * gdb.trace/unavailable.exp: Likewise.
7232
72332019-04-22 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.base/solib-probes-nosharedlibrary.c,
7236 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7237
72382019-04-19 Tom Tromey <tromey@adacore.com>
7239
7240 * gdb.ada/ptype_union.c: New file.
7241 * gdb.ada/ptype_union.exp: New file.
7242
72432019-04-19 Tom Tromey <tromey@adacore.com>
7244
7245 PR symtab/24423:
7246 * gdb.base/list0.h (foo): Add a control-l character.
7247
72482019-04-18 Tom de Vries <tdevries@suse.de>
7249
7250 PR gdb/24433
7251 * boards/local-board.exp: Set sysroot to "".
7252
72532019-04-18 Tom de Vries <tdevries@suse.de>
7254 Pedro Alves <palves@redhat.com>
7255
7256 PR gdb/24454
7257 * gdb.threads/vfork-follow-child-exec.c: New file.
7258 * gdb.threads/vfork-follow-child-exec.exp: New file.
7259 * gdb.threads/vfork-follow-child-exit.c: New file.
7260 * gdb.threads/vfork-follow-child-exit.exp: New file.
7261
72622019-04-15 Leszek Swirski <leszeks@google.com>
7263
7264 * gdb.arch/amd64-eval.cc: New file.
7265 * gdb.arch/amd64-eval.exp: New file.
7266
72672019-04-11 Alan Hayward <alan.hayward@arm.com>
7268
7269 * gdb.server/sysroot.c: New test.
7270 * gdb.server/sysroot.exp: New file.
7271 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7272 matching param.
7273
72742019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7275
7276 * gdb.base/align.exp: Extend test to cover structures containing
7277 only static fields.
7278
72792019-04-11 Tom de Vries <tdevries@suse.de>
7280
7281 * boards/cc-with-dwz-m.exp: New file.
7282 * boards/cc-with-dwz.exp: New file.
7283 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7284
72852019-04-09 Simon Marchi <simon.marchi@efficios.com>
7286
7287 * gdb.base/start-cpp.exp: New file.
7288 * gdb.base/start-cpp.cc: New file.
7289
72902019-04-08 Kevin Buettner <kevinb@redhat.com>
7291
7292 * gdb.python/py-thrhandle.exp: Adjust tests to call
7293 thread_from_handle instead of thread_from_thread_handle.
7294
72952019-04-08 Kevin Buettner <kevinb@redhat.com>
7296
7297 * gdb.python/py-thrhandle.exp: Add tests for
7298 gdb.InferiorThread.handle.
7299
73002019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7301
7302 * gdb.python/py-function.exp: Check calling helper function from
7303 all languages.
7304 * lib/gdb.exp (gdb_supported_languages): New proc.
7305
73062019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7307
7308 * gdb.base/complex-parts.c: New file.
7309 * gdb.base/complex-parts.exp: New file.
7310
73112019-04-01 Tom Tromey <tromey@adacore.com>
7312
7313 PR symtab/23331:
7314 * gdb.dwarf2/dw2-ranges-main.c: New file.
7315 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7316 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7317
73182019-03-30 Simon Marchi <simark@simark.ca>
7319
7320 * gdb.base/default.exp: Add values for $_gdb_major and
7321 $_gdb_minor.
7322
73232019-03-29 Tom Tromey <tromey@adacore.com>
7324
7325 * gdb.base/help.exp: Tighten apropos regexp.
7326
73272019-03-29 Keith Seitz <keiths@redhat.com>
7328
7329 * gdb.fortran/array-bounds.exp: New file.
7330 * gdb.fortran/array-bounds.f90: New file.
7331
73322019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7333
7334 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7335
73362019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7337
7338 * gdb.multi/hello.c (main): Increase alarm timer.
7339
73402019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7341
7342 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7343 factor when no hardware watchpoint support.
7344
73452019-03-28 Alan Hayward <alan.hayward@arm.com>
7346 Pedro Alves <palves@redhat.com>
7347
7348 * boards/local-board.exp: set sysroot to /.
7349
73502019-03-27 Alan Hayward <alan.hayward@arm.com>
7351
7352 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7353 in child.
7354
73552019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7356
7357 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7358 field.
7359 (make_container): Initialise new field.
7360 * gdb.python/py-prettyprint.exp: Add new tests.
7361 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7362 <display_hint>: New method.
7363
73642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7365
7366 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7367 gdb_continue_to_breakpoint more throughout this test.
7368 (run_lang_tests) Supply unique test names, and use
7369 gdb_test_no_output.
7370
73712019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7372
7373 * gdb.base/finish-pretty.exp: Update expected results.
7374 * gdb.base/pretty-print.c: New file.
7375 * gdb.base/pretty-print.exp: New file.
7376
73772019-03-25 Pedro Alves <palves@redhat.com>
7378
7379 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7380 move comments outside list. Append '-i "" eof' section.
7381
73822019-03-22 Alan Hayward <alan.hayward@arm.com>
7383
7384 PR testsuite/25016
7385 * README: Add pie options.
7386 * gdb.base/break-interp.exp: Ensure pie is disabled.
7387 * gdb.base/dump.exp: Likewise.
7388 * lib/gdb.exp (gdb_compile): Add pie option.
7389
73902019-03-19 Tom Tromey <tromey@adacore.com>
7391
7392 * gdb.mi/mi2-cli-display.c: New file.
7393 * gdb.mi/mi2-cli-display.exp: New file.
7394
73952019-03-18 Joel Brobecker <brobecker@adacore.com>
7396 Tom Tromey <tromey@adacore.com>
7397
7398 * gdb.ada/ptype_array/pck.adb: New file.
7399 * gdb.ada/ptype_array/pck.ads: New file.
7400 * gdb.ada/ptype_array/foo.adb: New file.
7401 * gdb.ada/ptype_array.exp: New file.
7402
74032019-03-14 Tom Tromey <tromey@adacore.com>
7404
7405 * gdb.base/style.exp: Add "set style sources" test.
7406
74072019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7408
7409 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7410 * mi-breakpoint-multiple-locations.exp: ... this.
7411 (make_breakpoints_pattern): New proc.
7412 (do_test): Add mi_version parameter, test -break-insert,
7413 -break-info and =breakpoint-created.
7414
74152019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7416
7417 * config/default.exp: Remove 'load_lib gdb.exp'.
7418 * config/monitor.exp: Likewise.
7419 * config/sid.exp: Likewise.
7420 * config/sim.exp: Likewise.
7421 * config/slite.exp: Likewise.
7422 * config/unix.exp: Likewise.
7423 * gdb.base/default.exp: Remove unhelpful comment.
7424
74252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7426
7427 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7428
74292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7430
7431 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7432
74332019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7434
7435 * gdb.fortran/type-kinds.exp: Update expected results.
7436
74372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7438
7439 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7440
74412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7442
7443 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7444 function.
7445 (test_basic_parsing_of_type_kinds): Expand types tested.
7446 (test_parsing_invalid_type_kinds): New function.
7447
74482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7449
7450 * gdb.fortran/intrinsics.exp: New file.
7451 * gdb.fortran/intrinsics.f90: New file.
7452 * gdb.fortran/type-kinds.exp: New file.
7453
74542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7455
7456 * gdb.fortran/dot-ops.exp: New file.
7457
74582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7459
7460 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7461 Check upper and lower case logical literals.
7462
74632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7464
7465 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7466 Remove duplicate tests.
7467
74682019-03-06 Alan Hayward <alan.hayward@arm.com>
7469
7470 * lib/gdb.exp (builtin_cd): rename of cd.
7471 (cd): Override builtin.
7472
74732019-03-06 Richard Bunt <richard.bunt@arm.com>
7474
7475 * gdb.fortran/function-calls.exp: New file.
7476 * gdb.fortran/function-calls.f90: New test.
7477
74782019-03-04 Richard Bunt <richard.bunt@arm.com>
7479
7480 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7481 on user program standard output.
7482 * gdb.fortran/short-circuit-argument-list.f90: Record function
7483 calls.
7484
74852019-02-28 Alan Hayward <alan.hayward@arm.com>
7486
7487 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7488 failure.
7489
74902019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7491
7492 PR gdb/8527
7493 * gdb.base/interrupt-daemon-attach.c,
7494 gdb.base/interrupt-daemon-attach.exp: New test.
7495
74962019-02-27 Pedro Alves <palves@redhat.com>
7497
7498 * gdb.base/page.exp: Add tests for "set width/height -1".
7499
75002019-02-27 Pedro Alves <palves@redhat.com>
7501
7502 * gdb.base/page.exp: Add tests for "set/show width/height" with
7503 "infinite" values.
7504
75052019-02-27 Tom Tromey <tromey@adacore.com>
7506
7507 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7508 2.4.
7509 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7510 workaround.
7511
75122019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7513
7514 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7515 tests for structs with static members.
7516
75172019-02-26 Tom Tromey <tromey@adacore.com>
7518
7519 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7520 ValueError, not TypeError.
7521
75222019-02-26 Kevin Buettner <kevinb@redhat.com>
7523
7524 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7525 call from main program.
7526
75272019-02-23 Joel Brobecker <brobecker@adacore.com>
7528
7529 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7530 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7531 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7532 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7533 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7534
75352019-02-22 Keith Seitz <keiths@redhat.com>
7536
7537 PR symtab/23853
7538 * gdb.base/symlink-sourcefile.c: New file.
7539 * gdb.base/symlink-sourcefile.exp: New file.
7540
75412019-02-20 Tom Tromey <tom@tromey.com>
7542
7543 * gdb.base/info_qt.exp: Update.
7544
75452019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7546
7547 * gdb.base/source.exp: Move "error in sourced script" code to
7548 the end.
7549 * gdb.base/source-error.gdb: Move contents to
7550 source-error-1.gdb. Add new code to source source-error-1.gdb.
7551 * gdb.base/source-error-1.gdb: New file, from previous
7552 source-error.gdb.
7553
75542019-02-17 Tom Tromey <tom@tromey.com>
7555
7556 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7557 for macro styling.
7558 * gdb.base/style.c (SOME_MACRO): New macro.
7559
75602019-02-17 Tom Tromey <tom@tromey.com>
7561
7562 * gdb.base/style.exp: Add line-wrapping tests.
7563 * gdb.base/page.exp: Add test for quitting during pagination.
7564
75652019-02-17 Joel Brobecker <brobecker@adacore.com>
7566
7567 * gdb.ada/big_packed_array: New testcase.
7568 * gdb.ada/homonym.exp: Fix incorrect expected output for
7569 "break <homonym__get_value>" test.
7570
75712019-02-13 Weimin Pan <weimin.pan@oracle.com>
7572
7573 PR breakpoints/21870
7574 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7575 and prepare_for_testing. Add comment.
7576 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7577 redundant cleanup call. Clean up comment.
7578
75792019-02-12 Weimin Pan <weimin.pan@oracle.com>
7580
7581 PR breakpoints/21870
7582 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7583 * gdb.arch/aarch64-dbreg-contents.c: New file.
7584
75852019-02-10 Joel Brobecker <brobecker@adacore.com>
7586
7587 * gdb.ada/mi_ref_changeable: New testcase.
7588
75892019-02-07 Alan Hayward <alan.hayward@arm.com>
7590
7591 * gdb.base/attach.exp: Add double attach test.
7592
75932019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7594
7595 * lib/gdb.exp (default_gdb_start): Don't match pagination
7596 prompt.
7597 (gdb_init): Set stty_init.
7598
75992019-01-27 Tom Tromey <tom@tromey.com>
7600
7601 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7602 skip_python_tests.
7603
76042019-01-24 Alan Hayward <alan.hayward@arm.com>
7605
7606 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7607 New structure.
7608 (struct struct_static_02_02): Likewise.
7609 (struct struct_static_02_03): Likewise.
7610 (struct struct_static_02_04): Likewise.
7611 (struct struct_static_04_01): Likewise.
7612 (struct struct_static_04_02): Likewise.
7613 (struct struct_static_04_03): Likewise.
7614 (struct struct_static_04_04): Likewise.
7615 (struct struct_static_06_01): Likewise.
7616 (struct struct_static_06_02): Likewise.
7617 (struct struct_static_06_03): Likewise.
7618 (struct struct_static_06_04): Likewise.
7619 (cmp_struct_static_02_01): Likewise.
7620 (cmp_struct_static_02_02): Likewise.
7621 (cmp_struct_static_02_03): Likewise.
7622 (cmp_struct_static_02_04): Likewise.
7623 (cmp_struct_static_04_01): Likewise.
7624 (cmp_struct_static_04_02): Likewise.
7625 (cmp_struct_static_04_03): Likewise.
7626 (cmp_struct_static_04_04): Likewise.
7627 (cmp_struct_static_06_01): Likewise.
7628 (cmp_struct_static_06_02): Likewise.
7629 (cmp_struct_static_06_03): Likewise.
7630 (cmp_struct_static_06_04): Likewise.
7631 (call_all): Test new structs.
7632 * gdb.base/infcall-nested-structs.exp: Likewise.
7633
76342019-01-21 Alan Hayward <alan.hayward@arm.com>
7635 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7636
76372019-01-21 Alan Hayward <alan.hayward@arm.com>
7638 * gdb.base/stack-protector.c: New test.
7639 * gdb.base/stack-protector.exp: New file.
7640 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7641 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7642 option.
7643 (gdb_compile): Remove stack protector for GCC and prevent
7644 recursion.
7645
76462019-01-16 Keith Seitz <keiths@redhat.com>
7647
7648 PR gdb/23773
7649 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7650
76512019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7652
7653 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7654 aliases.
7655 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7656 tests.
7657 * gdb.arch/powerpc-vector-regs.c: New file.
7658 * gdb.arch/powerpc-vector-regs.exp: New file.
7659
76602019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7661
7662 * gdb.arch/altivec-regs.exp: Fix the list passed to
7663 gdb_expect_list when testing "info vector".
7664
76652019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7666
7667 * gdb.base/style.exp: Don't include path in testname.
7668
76692019-01-10 Keith Seitz <keiths@redhat.com>
7670
7671 PR gdb/23712
7672 PR symtab/23010
7673 * gdb.dwarf2/multidictionary.exp: New file.
7674
76752019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7676
7677 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7678 (test_gnuv3_style_demangling): ... this.
7679 (test_lucid_style_demangling): Remove.
7680 (test_arm_style_demangling): Remove.
7681 (test_hp_style_demangling): Remove.
7682 (do_tests): Remove calls to the above.
7683
76842019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7685
7686 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7687 case.
7688
76892019-01-06 Tom Tromey <tom@tromey.com>
7690
7691 PR gdb/28155:
7692 * gdb.dwarf2/typedef-void-finish.exp: New file.
7693
76942018-12-28 Tom Tromey <tom@tromey.com>
7695 Simon Marchi <simark@simark.ca>
7696
7697 * gdb.base/jit-exec.exp: New file.
7698 * gdb.base/jit-exec.c: New file.
7699 * gdb.base/jit-execd.c: New file.
7700
77012018-12-28 Tom Tromey <tom@tromey.com>
7702
7703 * gdb.base/style.exp: Update test to check for address styling.
7704
77052018-12-28 Tom Tromey <tom@tromey.com>
7706
7707 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7708 message.
7709
77102018-12-28 Tom Tromey <tom@tromey.com>
7711
7712 * gdb.base/style.exp: Add test for version number styling.
7713
77142018-12-28 Tom Tromey <tom@tromey.com>
7715
7716 * gdb.base/style.exp: Add test for print_address_symbolic.
7717
77182018-12-28 Tom Tromey <tom@tromey.com>
7719
7720 * gdb.base/style.exp: Add test for breakpoint setting.
7721
77222018-12-28 Tom Tromey <tom@tromey.com>
7723
7724 * gdb.base/style.exp: Add test for variable names.
7725
77262018-12-28 Tom Tromey <tom@tromey.com>
7727
7728 * gdb.base/style.exp: New file.
7729 * gdb.base/style.c: New file.
7730
77312018-12-28 Tom Tromey <tom@tromey.com>
7732
7733 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7734 "dumb".
7735 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7736 the TERM environment variable.
7737
77382018-12-27 Tom Tromey <tom@tromey.com>
7739
7740 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7741 pagination test.
7742
77432018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7744
7745 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7746 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7747
77482018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7749
7750 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7751 Filename a.adb changed to bp_fun_addr.adb.
7752 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7753
77542018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7755
7756 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7757 non-PIE executables.
7758 * README: Mention the gdb,nopie_flag board setting.
7759 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7760 non-PIE executable.
7761 * gdb.arch/amd64-entry-value.exp: Likewise.
7762 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7763 * gdb.arch/i386-float.exp: Likewise.
7764 * gdb.arch/i386-signal.exp: Likewise.
7765 * gdb.mi/mi-reg-undefined.exp: Likewise.
7766
77672018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7768
7769 PR gdb/23974
7770 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7771
77722018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7773
7774 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7775 Update order of results accordingly.
7776
77772018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7778
7779 * gdb.base/annota1.exp: Update a test regexp.
7780
77812018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7782
7783 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7784
77852018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7786
7787 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7788 (reuse_time): Initialize to REUSE_TIME_CAP.
7789 (check_rc): New function.
7790 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7791 Check pthread_create rc.
7792 (spawner_thread_func): Check pthread_create and pthread_join rc.
7793
77942018-12-08 Pedro Alves <palves@redhat.com>
7795
7796 * gdb.base/list.exp (test_forward_search): Rename to ...
7797 (test_forward_reverse_search): ... this. Also test reverse-search
7798 and the forward-search alias.
7799
78002018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7801
7802 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7803 local timeout variable before return, and remove all local timeout
7804 variable entirely.
7805 (gdb_load): Likewise.
7806
78072018-12-01 Tom de Vries <tdevries@suse.de>
7808
7809 * gdb.base/gdb-caching-proc.exp: New file.
7810
78112018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7812
7813 * Makefile.in (TIMESTAMP): New variable.
7814 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7815 command.
7816 (check-single-racy): Likewise.
7817 (check/%.exp): Likewise.
7818 (check-racy/%.exp): Likewise.
7819 (workers/%.worker): Likewise.
7820 (build-perf): Likewise.
7821 (check-perf): Likewise.
7822 * README: Describe new "TS" and "TS_FORMAT" variables.
7823 * print-ts.py: New file.
7824
78252018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7826
7827 PR python/23714
7828 * gdb.python/python.exp: Test command repetition after
7829 gdb.execute.
7830
78312018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7832
7833 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7834 is correctly aligned.
7835
78362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7837
7838 * gdb.ada/info_auto_lang.exp: New testcase.
7839 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7840 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7841 * gdb.ada/info_auto_lang/some_c.c: New file.
7842
78432018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7844
7845 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7846 FUNC_lang language syntax.
7847
78482018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7849
7850 * gdb.base/info_minsym.c: New file.
7851 * gdb.base/info_minsym.exp: New file.
7852
78532018-11-19 Tom Tromey <tom@tromey.com>
7854
7855 PR rust/23625:
7856 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7857 * gdb.rust/expr.exp: Update expected output. Change one test.
7858
78592018-11-19 Tom Tromey <tom@tromey.com>
7860
7861 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7862
78632018-11-19 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7866 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7867 see the expected warning.
7868
78692018-11-16 Alan Hayward <alan.hayward@arm.com>
7870
7871 PR gdb/22736:
7872 * gdb.cp/infcall-nodebug-lib.c: New test.
7873 * gdb.cp/infcall-nodebug-main.c: New test.
7874 * gdb.cp/infcall-nodebug.exp: New file.
7875
78762018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7877
7878 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7879 completer tests.
7880
78812018-11-09 Tom de Vries <tdevries@suse.de>
7882
7883 * gdb.base/msym-lang.c: New test.
7884 * gdb.base/msym-lang.exp: New file.
7885 * gdb.base/msym-lang-main.c: New test.
7886
78872018-11-08 Tom Tromey <tom@tromey.com>
7888
7889 PR gdb/23555:
7890 PR gdb/23838:
7891 * gdb.base/warning.exp: New file.
7892
78932018-11-08 Jan Beulich <jbeulich@suse.com>
7894
7895 * testsuite/gdb.arch/i386-avx512.c,
7896 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7897
78982018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7899
7900 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7901 point hardware.
7902
79032018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7904
7905 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7906 * gdb.dwarf2/missing-type-name.exp: New file.
7907
79082018-11-06 Tom de Vries <tdevries@suse.de>
7909
7910 * gdb.base/many-headers.c: New test.
7911 * gdb.base/many-headers.exp: New file.
7912
79132018-11-06 Jim Wilson <jimw@sifive.com>
7914
7915 * gdb.base/code_elim.exp: For riscv, set additional_flags
7916 to include -msmall-data-limit=0.
7917
79182018-11-01 Joel Brobecker <brobecker@adacore.com>
7919
7920 * gdb.ada/watch_minus_l: New testcase.
7921
79222018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7923
7924 * gdb.arch/aix-sighandle.c: New file.
7925 * gdb.arch/aix-sighandle.exp: New file.
7926
79272018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7928
7929 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7930 registers being unions.
7931
79322018-10-31 Tom de Vries <tdevries@suse.de>
7933
7934 * lib/valgrind.exp: New file.
7935 (vgdb_start, vgdb_stop): New procs, factored out of ...
7936 * gdb.base/valgrind-bt.exp: ... here, ...
7937 * gdb.base/valgrind-disp-step.exp: ... here and ...
7938 * gdb.base/valgrind-infcall.exp: ... here.
7939
79402018-10-31 Tom de Vries <tdevries@suse.de>
7941
7942 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7943
79442018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7945
7946 * gdb.dwarf2/void-type.c: New file.
7947 * gdb.dwarf2/void-type.exp: New file.
7948
79492018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7950
7951 * gdb.base/info_qt.c: New file.
7952 * gdb.base/info_qt.exp: New file.
7953
79542018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7955
7956 * gdb.arch/powerpc-htm-regs.c: New file.
7957 * gdb.arch/powerpc-htm-regs.exp: New file.
7958
79592018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7960
7961 * gdb.arch/powerpc-tar.c: New file.
7962 * gdb.arch/powerpc-tar.exp: New file.
7963
79642018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7965
7966 * gdb.arch/powerpc-ppr-dscr.c: New file.
7967 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7968
79692018-10-25 Tom de Vries <tdevries@suse.de>
7970
7971 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7972
79732018-10-24 Tom de Vries <tdevries@suse.de>
7974
7975 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7976 longer exists error.
7977
79782018-10-24 Tom de Vries <tdevries@suse.de>
7979
7980 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7981
79822018-10-24 Tom de Vries <tdevries@suse.de>
7983
7984 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7985 --db-attach in valgrind.
7986
79872018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7988
7989 * gdb.arch/riscv-reg-aliases.c: New file.
7990 * gdb.arch/riscv-reg-aliases.exp: New file.
7991
79922018-10-19 Alan Hayward <alan.hayward@arm.com>
7993
7994 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7995
79962018-10-19 Alan Hayward <alan.hayward@arm.com>
7997
7998 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7999
80002018-10-19 Alan Hayward <alan.hayward@arm.com>
8001
8002 * gdb.cp/ovldbreak.exp: Fix regexps.
8003
80042018-10-19 Alan Hayward <alan.hayward@arm.com>
8005
8006 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8007
80082018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8009
8010 PR cli/23785
8011 * gdb.base/restore.exp: New test to check if "restore" with an
8012 invalid file doesn't segfault.
8013
80142018-10-18 Tom de Vries <tdevries@suse.de>
8015
8016 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8017 * gdb.ada/excep_handle.exp: Same.
8018 * gdb.ada/mi_string_access.exp: Same.
8019 * gdb.ada/mi_var_union.exp: Same.
8020 * gdb.arch/arc-analyze-prologue.exp: Same.
8021 * gdb.arch/arc-decode-insn.exp: Same.
8022 * gdb.base/readnever.exp: Same.
8023 * gdb.fortran/printing-types.exp: Same.
8024 * gdb.guile/scm-lazy-string.exp: Same.
8025
80262018-10-16 Tom de Vries <tdevries@suse.de>
8027
8028 PR gdb/23730
8029 * gdb.base/catch-follow-exec.c: Add copyright notice.
8030 * gdb.base/catch-follow-exec.exp: Rewrite to use
8031 gdb_spawn_with_cmdline_opts. Require gdb-native.
8032
80332018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8034
8035 * gdb.trace/actions-changed.exp: Check for arch support.
8036 * gdb.trace/actions.exp: Likewise.
8037 * gdb.trace/ax.exp: Likewise.
8038 * gdb.trace/backtrace.exp: Likewise.
8039 * gdb.trace/change-loc.exp: Likewise.
8040 * gdb.trace/deltrace.exp: Likewise.
8041 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8042 * gdb.trace/ftrace.exp: Likewise.
8043 * gdb.trace/infotrace.exp: Check for arch support.
8044 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8045 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8046 * gdb.trace/mi-tsv-changed.exp: Likewise.
8047 * gdb.trace/packetlen.exp: Likewise.
8048 * gdb.trace/passc-dyn.exp: Likewise.
8049 * gdb.trace/passcount.exp: Likewise.
8050 * gdb.trace/pending.exp: Likewise.
8051 * gdb.trace/range-stepping.exp: Check for shlib support.
8052 * gdb.trace/report.exp: Check for arch support.
8053 * gdb.trace/save-trace.exp: Likewise.
8054 * gdb.trace/signal.exp: Check for signal support.
8055 * gdb.trace/tfind.exp: Check for arch support.
8056 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8057 * gdb.trace/trace-common.h: Add comment.
8058 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8059 * gdb.trace/trace-enable-disable.exp: Likewise.
8060 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8061 * gdb.trace/tracecmd.exp: Check for arch support.
8062 * gdb.trace/tspeed.exp: Check for shlib and target support.
8063 * gdb.trace/tstatus.exp: Check for arch support.
8064 * gdb.trace/tsv.exp: Likewise.
8065 * gdb.trace/while-dyn.exp: Likewise.
8066 * gdb.trace/while-stepping.exp: Likewise.
8067 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8068
80692018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8070
8071 * gdb.trace/tspeed.exp: Remove nowarnings.
8072 (prepare_for_trace_test): Declare "global ipalib".
8073 * gdb.trace/tspeed.c: Include unistd.h.
8074 (main): Remove superfluous printf argument.
8075
80762018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8077
8078 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8079 directory prefix on the filename.
8080
80812018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8082
8083 * gdb.gdb/unittest.exp: Update expected message informing that
8084 selftests have been disabled.
8085 * gdb.server/unittest.exp: Likewise.
8086
80872018-10-09 Tom de Vries <tdevries@suse.de>
8088
8089 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8090 with runto_main.
8091
80922018-10-08 Weimin Pan <weimin.pan@oracle.com>
8093
8094 PR c++/16841
8095 * gdb.cp/virtbase2.cc: New file.
8096 * gdb.cp/virtbase2.exp: New file.
8097
80982018-10-06 Tom Tromey <tom@tromey.com>
8099
8100 PR python/19399:
8101 * gdb.python/py-inferior.exp: Add architecture test.
8102
81032018-10-06 Tom Tromey <tom@tromey.com>
8104
8105 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8106 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8107
81082018-10-06 Tom Tromey <tom@tromey.com>
8109
8110 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8111 of a "throw" catchpoint.
8112
81132018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8114
8115 * gdb.base/info-proc.exp: Update string expected from "help info
8116 proc".
8117
81182018-10-04 Tom Tromey <tom@tromey.com>
8119
8120 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8121 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8122 (test_initial_complaints, test_empty_complaints): Update.
8123 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8124
81252018-10-04 Tom Tromey <tom@tromey.com>
8126
8127 PR cli/19551:
8128 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8129 * lib/gdb.exp (gdb_file_cmd): Update.
8130 * gdb.stabs/weird.exp (print_weird_var): Update.
8131 * gdb.server/solib-list.exp: Update.
8132 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8133 * gdb.mi/mi-cli.exp: Update.
8134 * gdb.linespec/linespec.exp: Update.
8135 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8136 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8137 * gdb.cp/cp-relocate.exp: Update.
8138 * gdb.base/sym-file.exp: Update.
8139 * gdb.base/relocate.exp: Update.
8140 * gdb.base/readnever.exp: Update.
8141 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8142 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8143 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8144 * gdb.base/code_elim.exp: Update.
8145 * gdb.base/break-unload-file.exp (test_break): Update.
8146 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8147 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8148 Update.
8149 * gdb.base/attach.exp (do_attach_tests): Update.
8150 * gdb.base/sepdebug.exp: Update.
8151 * gdb.python/py-section-script.exp: Update.
8152
81532018-10-04 Tom Tromey <tom@tromey.com>
8154
8155 PR cli/22234:
8156 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8157 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8158 output.
8159
81602018-10-04 Tom Tromey <tom@tromey.com>
8161
8162 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8163 set width and height to 0.
8164 (test_command_line_attach_run): Use -quiet.
8165
81662018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8167
8168 * lib/gdb.exp (skip_ifunc_tests): New.
8169 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8170 other compile failures.
8171 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8172
81732018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8174
8175 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8176 is_amd64_regs_target.
8177
81782018-10-01 Alan Hayward <alan.hayward@arm.com>
8179
8180 * gdb.arch/aarch64-sighandler-regs.c: New test.
8181 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8182 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8183
81842018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8185
8186 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8187 assembly.
8188
81892018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8190
8191 * gdb.base/frame-selection.exp: New file.
8192 * gdb.base/frame-selection.c: New file.
8193
81942018-09-27 Alan Hayward <alan.hayward@arm.com>
8195
8196 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8197 pthread barrier.
8198 (main): Likewise.
8199
82002018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8201
8202 * gdb.base/large-frame-1.c: New file.
8203 * gdb.base/large-frame-2.c: New file.
8204 * gdb.base/large-frame.exp: New file.
8205 * gdb.base/large-frame.h: New file.
8206
82072018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8208
8209 PR gdb/20948
8210 * gdb.base/write_mem.exp: New test.
8211 * gdb.base/write_mem.c: Likewise.
8212
82132018-09-23 Tom Tromey <tom@tromey.com>
8214
8215 PR python/18852:
8216 * gdb.python/py-parameter.exp: Add test for parameter that throws
8217 on "set".
8218
82192018-09-23 Tom Tromey <tom@tromey.com>
8220
8221 PR python/17284:
8222 * gdb.python/py-template.exp (test_template_arg): Add test for
8223 negative template argument number.
8224
82252018-09-23 Tom Tromey <tom@tromey.com>
8226
8227 PR python/14062:
8228 * gdb.python/python.exp: Add test for post_event error.
8229
82302018-09-23 Tom Tromey <tom@tromey.com>
8231
8232 PR python/18170:
8233 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8234 convert pointers to int and long.
8235
82362018-09-23 Tom Tromey <tom@tromey.com>
8237
8238 PR python/20126:
8239 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8240 signed-ness conversion tests.
8241
82422018-09-23 Tom Tromey <tom@tromey.com>
8243
8244 PR python/18352;
8245 * gdb.python/py-value.exp (test_float_conversion): New proc.
8246 Use it.
8247
82482018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8249
8250 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8251
82522018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8253
8254 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8255 no readline.
8256 * gdb.base/utf8-identifiers.exp: Likewise.
8257 * gdb.cp/cpcompletion.exp: Likewise.
8258 * gdb.linespec/cpcompletion.exp: Likewise.
8259 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8260 * gdb.linespec/cpls-ops.exp: Likewise.
8261
82622018-09-19 Richard Bunt <richard.bunt@arm.com>
8263 Chris January <chris.january@arm.com>
8264
8265 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8266 * gdb.fortran/short-circuit-argument-list.exp: New file.
8267 * gdb.fortran/short-circuit-argument-list.f90: New test.
8268
82692018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8270
8271 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8272 "arch=" keyword when executing "-stack-list-frames".
8273
82742018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8275
8276 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8277 "arch=" keyword when executing "-stack-list-frames".
8278
82792018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8280
8281 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8282 break ada".
8283
82842018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8285
8286 PR python/23669
8287 * gdb.python/python.exp: Test gdb.execute("show commands").
8288
82892018-09-16 Tom Tromey <tom@tromey.com>
8290
8291 * gdb.base/new-ui.exp (do_execution_tests): Update.
8292 * gdb.base/dbx.exp (test_breakpoints): Update.
8293
82942018-09-14 Alan Hayward <alan.hayward@arm.com>
8295
8296 * lib/gdb.exp (gdb_simple_compile): Add proc.
8297 (is_elf_target): Use gdb_simple_compile.
8298 (skip_altivec_tests): Likewise.
8299 (skip_vsx_tests): Likewise.
8300 (skip_tsx_tests): Likewise.
8301 (skip_btrace_tests): Likewise.
8302 (skip_btrace_pt_tests): Likewise.
8303 (gdb_can_simple_compile): Likewise.
8304 (gdb_has_argv0): Likewise.
8305 (gdb_target_symbol_prefix): Likewise.
8306 (target_supports_scheduler_locking): Likewise.
8307
83082018-09-13 Tom Tromey <tom@tromey.com>
8309
8310 * Makefile.in (TAGS): Recognize proc_with_prefix and
8311 gdb_caching_proc.
8312
83132018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8314
8315 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8316 method.
8317
83182018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8319
8320 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8321 and a few other Inferior properties when the Inferior is no
8322 longer valid.
8323
83242018-09-13 Tom Tromey <tom@tromey.com>
8325
8326 PR rust/23650:
8327 * gdb.rust/simple.exp: Add test for enum field access error.
8328
83292018-09-13 Tom Tromey <tom@tromey.com>
8330
8331 PR rust/23626:
8332 * gdb.rust/simple.rs (EmptyEnum): New type.
8333 (main): Use it.
8334 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8335
83362018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8337
8338 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8339 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8340 * gdb.python/py-symtab.exp: Update test printing an objfile.
8341
83422018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8343
8344 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8345 object.
8346
83472018-09-12 Alan Hayward <alan.hayward@arm.com>
8348
8349 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8350 (support_complex_tests): Use gdb_can_simple_compile.
8351 (is_ilp32_target): Likewise.
8352 (is_lp64_target): Likewise.
8353 (is_64_target): Likewise.
8354 (is_amd64_regs_target): Likewise.
8355 (is_aarch32_target): Likewise.
8356 (gdb_int128_helper): Likewise.
8357
83582018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8359
8360 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8361
83622018-09-10 Jerome Guitton <guitton@adacore.com>
8363
8364 * gdb.ada/same_component_name: Add test for case of tagged record
8365 with variable-length fields.
8366
83672018-09-10 Xavier Roirand <roirand@adacore.com>
8368
8369 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8370 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8371 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8372 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8373
83742018-09-10 Xavier Roirand <roirand@adacore.com>
8375
8376 * gdb.ada/mi_string_access.exp: New testcase.
8377 * gdb.ada/mi_string_access/bar.adb: New file.
8378 * gdb.ada/mi_string_access/pck.adb: New file.
8379 * gdb.ada/mi_string_access/pck.asd: New file.
8380
83812018-09-10 Xavier Roirand <roirand@adacore.com>
8382
8383 * gdb.ada/mi_var_union.exp: New testcase.
8384 * gdb.ada/mi_var_union/bar.adb: New file.
8385 * gdb.ada/mi_var_union/pck.adb: New file.
8386 * gdb.ada/mi_var_union/pck.asd: New file.
8387
83882018-09-08 Tom Tromey <tom@tromey.com>
8389
8390 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8391
83922018-09-08 Tom Tromey <tom@tromey.com>
8393
8394 PR python/16047:
8395 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8396 (register_pretty_printers): Register new printer.
8397 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8398 test.
8399 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8400 (an_int_type3): New global.
8401
84022018-09-08 Joel Brobecker <brobecker@adacore.com>
8403
8404 * gdb.ada/expr_with_funcall: New testcase.
8405
84062018-09-08 Joel Brobecker <brobecker@adacore.com>
8407
8408 * gdb.ada/packed_array_assign: New testcase.
8409
84102018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8411
8412 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8413 names, and add test prefixes to make test names unique.
8414
84152018-09-05 Tom de Vries <tdevries@suse.de>
8416
8417 * gdb.dwarf2/varval.exp: Add test.
8418
84192018-09-04 Gary Benson <gbenson@redhat.com>
8420
8421 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8422 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8423
84242018-08-31 Tom Tromey <tom@tromey.com>
8425
8426 * gdb.rust/simple.rs: Rename second variable "v".
8427
84282018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8429
8430 * gdb.base/funcargs.c (use_a): New function.
8431 (recurse): Call use_a.
8432
84332018-08-29 Keith Seitz <keiths@redhat.com>
8434
8435 * gdb.compile/compile-cplus-anonymous.cc: New file.
8436 * gdb.compile/compile-cplus-anonymous.exp: New file.
8437 * gdb.compile/compile-cplus-array-decay.cc: New file.
8438 * gdb.compile/compile-cplus-array-decay.exp: New file.
8439 * gdb.compile/compile-cplus-inherit.cc: New file.
8440 * gdb.compile/compile-cplus-inherit.exp: New file.
8441 * gdb.compile/compile-cplus-member.cc: New file.
8442 * gdb.compile/compile-cplus-member.exp: New file.
8443 * gdb.compile/compile-cplus-method.cc: New file.
8444 * gdb.compile/compile-cplus-method.exp: New file.
8445 * gdb.compile/compile-cplus-mod.c: "New" file.
8446 * gdb.compile/compile-cplus-namespace.cc: New file.
8447 * gdb.compile/compile-cplus-namespace.exp: New file.
8448 * gdb.compile/compile-cplus-nested.cc: New file.
8449 * gdb.compile/compile-cplus-nested.exp: New file.
8450 * gdb.compile/compile-cplus-print.c: "New" file.
8451 * gdb.compile/compile-cplus-print.exp: "New" file.
8452 * gdb.compile/compile-cplus-virtual.cc: New file.
8453 * gdb.compile/compile-cplus-virtual.exp: New file.
8454 * gdb.compile/compile-cplus.c: "New" file.
8455 * gdb.compile/compile-cplus.exp: "New" file.
8456 * lib/compile-support.exp: New file.
8457
84582018-08-16 Gary Benson <gbenson@redhat.com>
8459
8460 PR gdb/13000:
8461 * gdb.base/batch-exit-status.exp: New file.
8462 * gdb.base/batch-exit-status.good-commands: Likewise.
8463 * gdb.base/batch-exit-status.bad-commands: Likewise.
8464
84652018-08-29 Alan Hayward <alan.hayward@arm.com>
8466
8467 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8468 (struct struct02): Likewise.
8469 (struct struct03): Likewise.
8470 (struct struct04): Likewise.
8471 (struct struct_01_01): New struct.
8472 (struct struct_01_02): Likewise.
8473 (struct struct_01_03): Likewise.
8474 (struct struct_01_04): Likewise.
8475 (struct struct_02_01): Likewise.
8476 (struct struct_02_02): Likewise.
8477 (struct struct_02_03): Likewise.
8478 (struct struct_02_04): Likewise.
8479 (struct struct_04_01): Likewise.
8480 (struct struct_04_02): Likewise.
8481 (struct struct_04_03): Likewise.
8482 (struct struct_04_04): Likewise.
8483 (struct struct_05_01): Likewise.
8484 (struct struct_05_02): Likewise.
8485 (struct struct_05_03): Likewise.
8486 (struct struct_05_04): Likewise.
8487 (cmp_struct01): Remove function.
8488 (cmp_struct02): Likewise.
8489 (cmp_struct03): Likewise.
8490 (cmp_struct04): Likewise.
8491 (cmp_struct_01_01): Add Function.
8492 (cmp_struct_01_02): Likewise.
8493 (cmp_struct_01_03): Likewise.
8494 (cmp_struct_01_04): Likewise.
8495 (cmp_struct_02_01): Likewise.
8496 (cmp_struct_02_02): Likewise.
8497 (cmp_struct_02_03): Likewise.
8498 (cmp_struct_02_04): Likewise.
8499 (cmp_struct_04_01): Likewise.
8500 (cmp_struct_04_02): Likewise.
8501 (cmp_struct_04_03): Likewise.
8502 (cmp_struct_04_04): Likewise.
8503 (cmp_struct_05_01): Likewise.
8504 (cmp_struct_05_02): Likewise.
8505 (cmp_struct_05_03): Likewise.
8506 (cmp_struct_05_04): Likewise.
8507 (call_all): Add new structs.
8508 * gdb.base/infcall-nested-structs.exp: Likewise.
8509
85102018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8511
8512 * gdb.python/py-framefilter-mi.exp: Update regexp to
8513 check for "arch" field in frame output.
8514
85152018-08-23 Kevin Buettner <kevinb@redhat.com>
8516
8517 * gdb.dwarf2/dw2-ranges-func.c: New file.
8518 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8519
85202018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8521
8522 * gdb.base/term.exp: Compare terminal settings with values from
8523 the inferior.
8524 * gdb.base/term.c: Get and set terminal settings.
8525
85262018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8527
8528 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8529 accommodate new "arch" field in frame output.
8530 * gdb.mi/mi-return.exp: Likewise.
8531 * gdb.mi/mi-stack.exp: Likewise.
8532 * gdb.mi/mi-syn-frame.exp: Likewise.
8533 * gdb.mi/user-selected-context-sync.exp: Likewise.
8534
85352018-08-19 Michael Spang <spang@google.com>
8536
8537 PR gdb/11786
8538 * gdb.base/gcore-tls-pie.c: New file.
8539 * gdb.base/gcore-tls-pie.exp: New file.
8540
85412018-08-18 Kevin Buettner <kevinb@redhat.com>
8542
8543 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
8544 * gdb.dwarf2/varval.c: New file.
8545 * gdb.dwarf2/varval.exp: New file.
8546
85472018-08-17 Alan Hayward <alan.hayward@arm.com>
8548
8549 PR gdb/18931
8550 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8551
85522018-08-16 Keith Seitz <keiths@redhat.com>
8553
8554 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8555 tests expected to pass.
8556
85572018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8558
8559 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8560 -data-disassemble -a.
8561 (test_disassembly_bogus_args): Likewise.
8562
85632018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8564
8565 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8566
85672018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8568
8569 * gdb.base/vla-optimized-out.exp: Add new test.
8570
85712018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8572
8573 * gdb.base/vla-optimized-out-o3.exp: Delete.
8574 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8575 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8576 deleted tests.
8577
85782018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8579
8580 PR gdb/18050:
8581 * gdb.server/extended-remote-restart.c: New file.
8582 * gdb.server/extended-remote-restart.exp: New file.
8583
85842018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8585
8586 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8587 "set variable index = 42".
8588
85892018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8590
8591 * boards/index-cache-gdb.exp: New file.
8592 * gdb.dwarf2/index-cache.exp: New file.
8593 * gdb.dwarf2/index-cache.c: New file.
8594 * gdb.base/maint.exp: Check if we are using the index cache.
8595
85962018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8597
8598 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8599 MAKEFLAGS.
8600
86012018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8602
8603 * dg-extract-results.sh: Move to toplevel contrib.
8604 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8605 * Makefile.in (check-parallel-racy): Likewise.
8606
86072018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8608
8609 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8610 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8611 tests if the target supports scheduler locking.
8612
86132018-08-04 Tom de Vries <tdevries@suse.de>
8614
8615 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8616
86172018-08-02 Tom Tromey <tom@tromey.com>
8618
8619 PR symtab/16842.
8620 * gdb.cp/temargs.exp: Test "info address" of a template
8621 parameter.
8622
86232018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8624
8625 * gdb.python/py-mi-var-info-path-expression.c: New file.
8626 * gdb.python/py-mi-var-info-path-expression.py: New file.
8627 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8628
86292018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8630
8631 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8632 error after "cannot resolve name" string.
8633
86342018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8635
8636 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8637 started.
8638 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8639
86402018-07-28 Tom de Vries <tdevries@suse.de>
8641
8642 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8643
86442018-07-26 Tom de Vries <tdevries@suse.de>
8645
8646 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8647
86482018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8649
8650 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8651 is visible.
8652
86532018-07-26 Tom de Vries <tdevries@suse.de>
8654
8655 PR breakpoints/23366
8656 * gdb.base/catch-follow-exec.c: New test.
8657 * gdb.base/catch-follow-exec.exp: New file.
8658
86592018-07-25 Tom de Vries <tdevries@suse.de>
8660
8661 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8662 vla-optimized-out.c.
8663
86642018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8665
8666 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8667 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8668
86692018-07-20 Tom de Vries <tdevries@suse.de>
8670
8671 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8672 NOCLONE macro.
8673 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8674
86752018-07-19 Tom de Vries <tdevries@suse.de>
8676
8677 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8678 regular expression.
8679
86802018-07-18 Tom de Vries <tdevries@suse.de>
8681
8682 * gdb.base/vla-optimized-out.c: New test.
8683 * gdb.base/vla-optimized-out.exp: New file.
8684
86852018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8686
8687 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8688 message "No address associated with hostname" when gdbserver
8689 cannot resolve the hostname.
8690
86912018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8692
8693 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8694 Add some test prefixes to make tests unique.
8695
86962018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8697
8698 * gdb.base/frameapply.c: New file.
8699 * gdb.base/frameapply.exp: New file.
8700
87012018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8702
8703 * gdb.base/skip.exp: Update expected error message.
8704
87052018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8706 Jan Kratochvil <jan.kratochvil@redhat.com>
8707 Paul Fertser <fercerpav@gmail.com>
8708 Tsutomu Seki <sekiriki@gmail.com>
8709
8710 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8711 parameter.
8712 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8713 by default.
8714 * boards/native-gdbserver.exp: Likewise.
8715 * gdb.server/run-without-local-binary.exp: Improve regexp used
8716 for detecting when a remote debugging connection succeeds.
8717 * gdb.server/server-connect.exp: New file.
8718 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8719 Do not prefix the port number with ":".
8720 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8721 support for detecting and using it. Add '$debughost_gdbserver'
8722 to the list of arguments used to start gdbserver. Handle case
8723 when gdbserver cannot resolve a network name.
8724
87252018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8726
8727 PR c++/23373
8728 * gdb.base/ptype-offsets.cc (struct static_member): New
8729 struct.
8730 (main) <stmember>: New variable.
8731 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8732 with a static member in it.
8733
87342018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8735
8736 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8737 watchpoints enabled and disabled.
8738
87392018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8740
8741 * gdb.base/examine-backward.exp: Still run tests around address
8742 0x0, even if address 0x0 is not readable. Update the pattern for
8743 matching address 0x0 in expected output.
8744
87452018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8746
8747 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8748 malloc/free.
8749
87502018-07-04 Tom de Vries <tdevries@suse.de>
8751
8752 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8753
87542018-07-02 Maciej W. Rozycki <macro@mips.com>
8755
8756 PR tdep/8282
8757 * gdb.arch/mips-disassembler-options.exp: New test.
8758 * gdb.arch/mips-disassembler-options.s: New test source.
8759
87602018-06-29 Pedro Alves <palves@redhat.com>
8761
8762 * gdb.threads/names.exp: Adjust expected "info threads" output.
8763
87642018-06-29 Pedro Alves <palves@redhat.com>
8765
8766 * gdb.opt/inline-break.exp (line number, address): Add "info
8767 break" tests.
8768
87692018-06-29 Pedro Alves <palves@redhat.com>
8770
8771 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8772 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8773 number and address and running to them.
8774
87752018-06-29 Richard Bunt <richard.bunt@arm.com>
8776
8777 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8778
87792018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 * lib/compiler.c: Remove executable permission flag.
8782
87832018-06-28 Richard Bunt <richard.bunt@arm.com>
8784
8785 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8786 code.
8787 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8788
87892018-06-28 Petr Tesarik <ptesarik@suse.cz>
8790
8791 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8792
87932018-06-28 Petr Tesarik <ptesarik@suse.cz>
8794
8795 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8796 address argument is omitted.
8797
87982018-06-28 Petr Tesarik <ptesarik@suse.cz>
8799
8800 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8801
88022018-06-27 Omair Javaid <omair.javaid@linaro.org>
8803
8804 PR gdb/21695
8805 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8806 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8807
88082018-06-26 Tom Tromey <tom@tromey.com>
8809
8810 PR rust/22574:
8811 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8812 * gdb.rust/simple.rs (struct SimpleLayout): New.
8813
88142018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8815
8816 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8817 "info registers" output.
8818
88192018-06-21 Richard Bunt <richard.bunt@arm.com>
8820
8821 * gdb.base/watchpoint-hw-attach.c: New test.
8822 * gdb.base/watchpoint-hw-attach.exp: New file.
8823
88242018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8825
8826 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8827 through /bin/sh.
8828 * boards/dwarf4-gdb-index.exp: Likewise.
8829 * boards/fission-dwp.exp: Likewise.
8830
88312018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8832
8833 * gdb.base/float128.exp: Add comment and improved fail message
8834 to the failure case of "print large128" test.
8835
88362018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8837
8838 * configure.ac: Remove AC_PREREQ.
8839 * configure: Re-generate.
8840
88412018-06-19 Pedro Alves <palves@redhat.com>
8842
8843 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8844 (func_extern_caller): New.
8845 (main): Call func_extern_caller.
8846 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8847 logic change.
8848
88492018-06-18 Weimin Pan <weimin.pan@oracle.com>
8850
8851 PR gdb/16841
8852 * gdb.cp/typedef-base.cc: New file.
8853 * gdb.cp/typedef-base.exp: New file.
8854
88552018-06-18 Tom de Vries <tdevries@suse.de>
8856
8857 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8858
88592018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8860 Richard Bunt <Richard.Bunt@arm.com>
8861
8862 * gdb.threads/attach-slow-waitpid.c: New file.
8863 * gdb.threads/attach-slow-waitpid.exp: New file.
8864 * gdb.threads/slow-waitpid.c: New file.
8865
88662018-06-14 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.base/fork-running-state.c: Include <errno.h>.
8869 (exit_if_relative_exits): New.
8870 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8871 exits.
8872 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8873 child exits.
8874
88752018-06-14 Tom de Vries <tdevries@suse.de>
8876
8877 PR cli/22573
8878 * gdb.base/finish-pretty.c: New test.
8879 * gdb.base/finish-pretty.exp: New file.
8880
88812018-06-14 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8884 gdb's expected startup output.
8885
88862018-06-14 Pedro Alves <palves@redhat.com>
8887
8888 * lib/selftest-support.exp (selftest_setup): Remove inlined
8889 function handling.
8890
88912018-06-14 Tom de Vries <tdevries@suse.de>
8892
8893 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8894 matching of breakpoint printing.
8895
88962018-06-13 Tom de Vries <tdevries@suse.de>
8897
8898 PR testsuite/23269
8899 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8900 (fork_child): ... here, and ...
8901 (fork_parent): ... here.
8902
89032018-06-12 Tom de Vries <tdevries@suse.de>
8904
8905 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8906
89072018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8908 Stephen Roberts <stephen.roberts@arm.com>
8909
8910 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8911 rewrite test to describe action performed, rather than possible
8912 failure.
8913
89142018-06-08 Gary Benson <gbenson@redhat.com>
8915
8916 * gdb.threads/check-libthread-db.exp: New file.
8917 * gdb.threads/check-libthread-db.c: Likewise.
8918
89192018-06-05 Tom Tromey <tom@tromey.com>
8920
8921 * gdb.base/default.exp: Update expected "show version" output.
8922
89232018-06-05 Tom Tromey <tom@tromey.com>
8924
8925 PR cli/12326:
8926 * gdb.cp/static-print-quit.exp: Update.
8927 * lib/gdb.exp (pagination_prompt): Update.
8928 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8929 * gdb.python/python.exp: Update.
8930
89312018-06-04 Joel Brobecker <brobecker@adacore.com>
8932
8933 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8934
89352018-06-01 Joel Brobecker <brobecker@adacore.com>
8936
8937 * gdb.ada/bp_fun_addr: New testcase.
8938
89392018-06-01 Tom Tromey <tom@tromey.com>
8940
8941 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8942 results.
8943 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8944 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8945 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8946 * gdb.base/maint.exp (maint_pass_if): Update.
8947
89482018-05-31 Maciej W. Rozycki <macro@mips.com>
8949
8950 * gdb.base/endian.exp: New test.
8951 * gdb.base/endian.c: New test source.
8952
89532018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8954
8955 PR gdb/23203
8956 * gdb.base/bt-selected-frame.c: New file.
8957 * gdb.base/bt-selected-frame.exp: New file.
8958 * lib/gdb.exp (get_current_frame_number): New function.
8959
89602018-05-24 Maciej W. Rozycki <macro@mips.com>
8961 Pedro Alves <palves@redhat.com>
8962
8963 * gdb.threads/tls-core.c: Include <stdlib.h>
8964 (thread_proc): Call `abort'.
8965 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8966 (tls_core_test): New procedure, bits factored out from ...
8967 (top level): ... here. Test both native cores and gcore cores.
8968
89692018-05-23 Tom Tromey <tom@tromey.com>
8970
8971 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8972
89732018-05-23 Tom Tromey <tom@tromey.com>
8974
8975 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8976 symfile_complaints.
8977 (test_short_complaints): Likewise.
8978 (test_empty_complaints): Likewise.
8979 (test_initial_complaints): Update.
8980
89812018-05-23 Tom Tromey <tom@tromey.com>
8982
8983 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8984
89852018-05-23 Tom Tromey <tom@tromey.com>
8986
8987 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8988 (test_short_complaints): Update.
8989
89902018-05-22 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.base/remote.exp: Only gdb_start after compiling the
8993 testcase. Issue "disconnect" before testing "set remote" command
8994 defaults. Issue clean_restart before running to main.
8995
89962018-05-22 Pedro Alves <palves@redhat.com>
8997
8998 * gdb.base/remote.exp: Adjust expected output of "show remote
8999 memory-write-packet-size". Add tests for "set remote
9000 memory-write-packet-size 0" and "set remote
9001 memory-write-packet-size fixed/limit".
9002
90032018-05-22 Pedro Alves <palves@redhat.com>
9004
9005 PR gdb/22973
9006 * gdb.base/utf8-identifiers.c: New file.
9007 * gdb.base/utf8-identifiers.exp: New file.
9008
90092018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9010
9011 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9012
90132018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9014
9015 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9016
90172018-05-18 Tom Tromey <tom@tromey.com>
9018
9019 * gdb.base/ptype-offsets.exp: Update.
9020
90212018-05-17 Keith Seitz <keiths@redhat.com>
9022
9023 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9024 in expected breakpoint stop locations.
9025 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9026 move to proper scope to test variable values.
9027 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9028 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9029 New functions.
9030 (main): Call not_inline_func3.
9031 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9032 inline_func1, inline_func2, and inline_func3. Test that when each
9033 breakpoint is hit, GDB properly reports both the stop location
9034 and the backtrace. Repeat tests for temporary breakpoints.
9035
90362018-05-15 Maciej W. Rozycki <macro@mips.com>
9037
9038 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9039 rather then trying to access it in determining whether the PID
9040 of `gdbserver' could have been retrieved.
9041
90422018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9043
9044 * gdb.arch/amd64-init-x87-values.S: New file.
9045 * gdb.arch/amd64-init-x87-values.exp: New file.
9046
90472018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9048
9049 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9050
90512018-05-04 Tom Tromey <tom@tromey.com>
9052
9053 PR python/22730:
9054 * gdb.python/python.exp: Test multi-line execute.
9055
90562018-05-04 Tom Tromey <tom@tromey.com>
9057
9058 PR python/22731:
9059 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9060
90612018-05-04 Tom Tromey <tom@tromey.com>
9062
9063 PR gdb/11750:
9064 * gdb.base/define.exp: Test defining a user command inside a user
9065 command.
9066 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9067
90682018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9069 Pedro Alves <palves@redhat.com>
9070
9071 PR breakpoints/19806 and support for PR external/20207.
9072 * gdb.base/watchpoint-unaligned.c: New file.
9073 * gdb.base/watchpoint-unaligned.exp: New file.
9074
90752018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9076
9077 * gdb.base/maint.exp: Make test names unique, use
9078 test_prefix_command_help to test 'help maint info', and remove
9079 repeated test of 'help maint'.
9080
90812018-05-04 Tom Tromey <tom@tromey.com>
9082
9083 PR gdb/22619:
9084 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9085 behavior.
9086
90872018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9088
9089 * gdb.base/maint.exp: Process output from 'maint print registers'
9090 line at a time.
9091
90922018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9093
9094 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9095 timeout.
9096
90972018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9098
9099 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9100 filter pattern.
9101
91022018-05-02 Pedro Alves <palves@redhat.com>
9103
9104 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9105 to_log_command renames.
9106 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9107
91082018-05-02 Tom Tromey <tom@tromey.com>
9109
9110 * gdb.python/py-parameter.exp: Set test message.
9111
91122018-05-02 Tom Tromey <tom@tromey.com>
9113
9114 PR python/20084:
9115 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9116 PARAM_ZUINTEGER_UNLIMITED tests.
9117
91182018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9119
9120 PR rust/23124
9121 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9122 when casting.
9123
91242018-04-30 Tom Tromey <tom@tromey.com>
9125
9126 * gdb.python/py-type.exp: Check align attribute.
9127 * gdb.python/py-type.c: New "aligncheck" global.
9128
91292018-04-30 Tom Tromey <tom@tromey.com>
9130
9131 PR exp/17095:
9132 * gdb.dwarf2/dw2-align.exp: New file.
9133 * gdb.cp/align.exp: New file.
9134 * gdb.base/align.exp: New file.
9135 * lib/gdb.exp (gdb_int128_helper): New proc.
9136 (has_int128_c, has_int128_cxx): New caching procs.
9137
91382018-04-27 Tom Tromey <tom@tromey.com>
9139
9140 PR rust/22545:
9141 * gdb.rust/simple.exp: Add inclusive range tests.
9142
91432018-04-26 Pedro Alves <palves@redhat.com>
9144
9145 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9146 ifunc breakpoint locations correctly of ifunc breakpoints set
9147 while the program resolves the ifunc.
9148
91492018-04-26 Pedro Alves <palves@redhat.com>
9150
9151 * gdb.base/gnu-ifunc-final.c: New file.
9152 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9153 * gdb.base/gnu-ifunc.exp (executable): Delete.
9154 (staticexecutable): Adjust.
9155 (lib_opts, exec_opts): Delete.
9156 (make_binsuffix, build, set-break): New procedures.
9157 (misc_tests): New, with tests factored out from the top level.
9158 (top level): Test different combinations of ifunc resolver name,
9159 resolver with and with debug info, and ifunc target with and
9160 without debug info. Wrap static tests with with_target_prefix.
9161
91622018-04-26 Pedro Alves <palves@redhat.com>
9163
9164 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9165 return type" warnings.
9166
91672018-04-25 Pedro Alves <palves@redhat.com>
9168
9169 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9170 killed".
9171 * gdb.base/kill-after-signal.exp: Likewise.
9172 * gdb.threads/kill.exp: Likewise.
9173
91742018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9175 Sergio Durigan Junior <sergiodj@redhat.com>
9176 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9179 regexps to expect for '[Inferior ... detached]' as well.
9180 * gdb.base/attach.exp: Likewise.
9181 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9182 "gdb_continue_to_end".
9183 (test_catch_syscall_with_wrong_args): Likewise.
9184 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9185 ']'. Don't set 'verbose' on.
9186 * gdb.base/foll-vfork.exp: Likewise.
9187 * gdb.base/fork-print-inferior-events.c: New file.
9188 * gdb.base/fork-print-inferior-events.exp: New file.
9189 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9190 '[Inferior ... has been killed]' message.
9191 * gdb.base/kill-after-signal.exp: Likewise.
9192 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9193 detach message.
9194 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9195 message.
9196 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9197 regexps to expect for '[Inferior ... detached]' as well.
9198 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9199
92002018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9201
9202 PR gdb/23104
9203 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9204
92052018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9206
9207 PR gdb/23095
9208 * gdb.base/break-probes.exp: Pass shlib_load to
9209 prepare_for_testing. Set normal_bp to r_debug_state if target is
9210 bsd.
9211
92122018-04-19 Richard Bunt <richard.bunt@arm.com>
9213
9214 * gdb.threads/multiple-successive-infcall.c: New test.
9215 * gdb.threads/multiple-successive-infcall.exp: New file.
9216
92172018-04-17 Tom Tromey <tom@tromey.com>
9218
9219 * gdb.rust/simple.rs (Union): New type.
9220 (main): New local "u".
9221 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9222
92232018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9224
9225 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9226 number information in output of "whereis" command.
9227 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9228
92292018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9230
9231 * gdb.ada/info_types.exp: Adjust expected output to the line
9232 numbers now printed by "info var/func/type".
9233 * gdb.base/completion.exp: Likewise.
9234 * gdb.base/included.exp: Likewise.
9235 * gdb.cp/cp-relocate.exp: Likewise.
9236 * gdb.cp/cplusfuncs.exp: Likewise.
9237 * gdb.cp/namespace.exp: Likewise.
9238 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9239
92402018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9241
9242 * gdb.btrace/cpu.exp: New.
9243
92442018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9245
9246 * gdb.base/step-indirect-call-thunk.exp: New.
9247 * gdb.base/step-indirect-call-thunk.c: New.
9248 * gdb.reverse/step-indirect-call-thunk.exp: New.
9249 * gdb.reverse/step-indirect-call-thunk.c: New.
9250
92512018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9252
9253 * gdb.base/pie-fork.c: New file.
9254 * gdb.base/pie-fork.exp: New file.
9255
92562018-04-11 Tom Tromey <tom@tromey.com>
9257
9258 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9259
92602018-04-10 Pedro Alves <palves@redhat.com>
9261
9262 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9263 exits. Instead loop running forever.
9264 (fork_parent): Run forever too.
9265
92662018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9267
9268 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9269 mi_continue_to_line.
9270 * gdb.mi/mi-stack.c (callee4): Add comment.
9271
92722018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9273
9274 * gdb.mi/mi-stack.exp: Fix indentation.
9275
92762018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9277
9278 PR gdb/22979
9279 * gdb.arch/amd64-osabi.exp: New file.
9280
92812018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9282
9283 PR gdb/22980
9284 * gdb.base/osabi.exp: New file.
9285
92862018-04-02 Weimin Pan <weimin.pan@oracle.com>
9287
9288 * gdb.cp/static-typedef-print.exp: New file.
9289 * gdb.cp/static-typedef-print.cc: New file.
9290
92912018-03-27 Joel Brobecker <brobecker@adacore.com>
9292
9293 * gdb.ada/varsize_limit: New testcase.
9294
92952018-03-27 Joel Brobecker <brobecker@adacore.com>
9296
9297 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9298
9299 * gdb.ada/notcplusplus: New testcase.
9300
9301 * gdb.base/c-linkage-name.c: New file.
9302 * gdb.base/c-linkage-name.exp: New testcase.
9303
93042018-03-26 Tom Tromey <tom@tromey.com>
9305
9306 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9307 * gdb.python/py-framefilter.py (name_error): New global.
9308 (ErrorInName.function): Use name_error.
9309
93102018-03-26 Tom Tromey <tom@tromey.com>
9311
9312 PR backtrace/15582:
9313 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9314
93152018-03-23 Keith Seitz <keiths@redhat.com>
9316
9317 PR c++/22968
9318 * gdb.cp/subtypes.exp: New file.
9319 * gdb.cp/subtypes.h: New file.
9320 * gdb.cp/subtypes.cc: New file.
9321 * gdb.cp/subtypes-2.cc: New file.
9322
93232018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9324
9325 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9326 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9327 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9328 -nostartfiles when compiling the test. Confirm that all registers
9329 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9330
93312018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9332
9333 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9334 option, syntax was wrong anyway.
9335 * gdb.arch/arm-disp-step.exp: Likewise.
9336 * gdb.arch/sparc64-regs.exp: Likewise.
9337 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9338 option, syntax was wrong anyway, switch to use
9339 prepare_for_testing.
9340 * gdb.arch/i386-disp-step.exp: Likewise.
9341
93422018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9343
9344 * gdb.ada/exec_changed.exp: Replace "target_info exists
9345 use_gdb_stub" by "use_gdb_stub".
9346 * gdb.ada/start.exp: Likewise.
9347 * gdb.base/async-shell.exp: Likewise.
9348 * gdb.base/attach-pie-misread.exp: Likewise.
9349 * gdb.base/attach-wait-input.exp: Likewise.
9350 * gdb.base/break-entry.exp: Likewise.
9351 * gdb.base/break-interp.exp: Likewise.
9352 * gdb.base/dprintf-detach.exp: Likewise.
9353 * gdb.base/nostdlib.exp: Likewise.
9354 * gdb.base/solib-nodir.exp: Likewise.
9355 * gdb.base/statistics.exp: Likewise.
9356 * gdb.base/testenv.exp: Likewise.
9357 * gdb.mi/mi-exec-run.exp: Likewise.
9358 * gdb.mi/mi-start.exp: Likewise.
9359 * gdb.multi/dummy-frame-restore.exp: Likewise.
9360 * gdb.multi/multi-arch-exec.exp: Likewise.
9361 * gdb.multi/multi-arch.exp: Likewise.
9362 * gdb.multi/tids.exp: Likewise.
9363 * gdb.multi/watchpoint-multi.exp: Likewise.
9364 * gdb.python/py-events.exp: Likewise.
9365 * gdb.threads/attach-into-signal.exp: Likewise.
9366 * gdb.threads/attach-stopped.exp: Likewise.
9367 * gdb.threads/threadapply.exp: Likewise.
9368 * lib/selftest-support.exp: Likewise.
9369
93702018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9371
9372 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9373
93742018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9375
9376 * gdb.perf/template-breakpoints.cc: New file.
9377 * gdb.perf/template-breakpoints.exp: New file.
9378 * gdb.perf/template-breakpoints.py: New file.
9379
93802018-03-19 Tom Tromey <tom@tromey.com>
9381
9382 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9383 y0.
9384 * gdb.rust/simple.exp: Test bare identifier form of struct
9385 initializer.
9386
93872018-03-19 Tom Tromey <tom@tromey.com>
9388
9389 * gdb.gdb/observer.exp: Remove.
9390
93912018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9392
9393 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9394 "qualified" option when setting breakpoints.
9395 * gdb.trace/backtrace.exp: Likewise.
9396 * gdb.trace/circ.exp: Likewise.
9397 * gdb.trace/collection.exp: Likewise.
9398 * gdb.trace/disconnected-tracing.exp: Likewise.
9399 * gdb.trace/ftrace-lock.exp: Likewise.
9400 * gdb.trace/ftrace.exp: Likewise.
9401 * gdb.trace/infotrace.exp: Likewise.
9402 * gdb.trace/packetlen.exp: Likewise.
9403 * gdb.trace/passc-dyn.exp: Likewise.
9404 * gdb.trace/qtro.exp: Likewise.
9405 * gdb.trace/read-memory.exp: Likewise.
9406 * gdb.trace/report.exp: Likewise.
9407 * gdb.trace/signal.exp: Likewise.
9408 * gdb.trace/status-stop.exp: Likewise.
9409 * gdb.trace/strace.exp: Likewise.
9410 * gdb.trace/tfind.exp: Likewise.
9411 * gdb.trace/trace-break.exp: Likewise.
9412 * gdb.trace/trace-condition.exp: Likewise.
9413 * gdb.trace/trace-mt.exp: Likewise.
9414 * gdb.trace/tstatus.exp: Likewise.
9415 * gdb.trace/tsv.exp: Likewise.
9416 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9417 * gdb.trace/unavailable.exp: Likewise.
9418 * gdb.trace/while-dyn.exp: Likewise.
9419
94202018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9421
9422 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9423 that libinproctrace is copied to the target.
9424
94252018-03-14 Tom Tromey <tom@tromey.com>
9426
9427 PR cli/14977:
9428 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9429 a null pointer.
9430 * gdb.base/wchar.exp: Likewise.
9431
94322018-03-14 Tom Tromey <tom@tromey.com>
9433
9434 PR cli/19918:
9435 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9436 flag.
9437
94382018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9439
9440 PR gdb/22841
9441 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9442 "target" to remote_exec.
9443
94442018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9445
9446 PR gdb/22841
9447 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9448 ${board}_upload): Remove.
9449
94502018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9451
9452 * gdb.cp/watch-cp.cc: New test.
9453 * gdb.cp/watch-cp.exp: New file.
9454
94552018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9456
9457 * gdb.base/infcall-nested-structs.exp: New file.
9458 * gdb.base/infcall-nested-structs.c: New file.
9459 * gdb.base/float.exp: Add riscv support.
9460
94612018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9462
9463 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9464 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9465
94662018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9467
9468 * gdb.server/abspath.exp: New file.
9469 * lib/gdb.exp (with_cwd): New procedure.
9470
94712018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9472
9473 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9474 use it.
9475 (gdb_is_target_remote_prompt): New proc.
9476 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9477 (gdb_is_target_native): Pass prompt parameter to
9478 gdb_is_target_1.
9479
94802018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9481
9482 * gdb.base/load-command.c: New file.
9483 * gdb.base/load-command.exp: New file.
9484 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9485 (gdb_is_target_1): ...this, and generalize for other targets
9486 than just remote.
9487 (gdb_is_target_remote): Use gdb_is_target_1.
9488 (gdb_is_target_native): use gdb_is_target_1.
9489
94902018-02-26 Tom Tromey <tom@tromey.com>
9491
9492 PR python/16497:
9493 * gdb.python/py-framefilter.exp: Update test.
9494
94952018-02-26 Tom Tromey <tom@tromey.com>
9496
9497 * gdb.dwarf2/variant.c: New file.
9498 * gdb.dwarf2/variant.exp: New file.
9499
95002018-02-26 Tom Tromey <tom@tromey.com>
9501
9502 * gdb.rust/simple.exp: Accept more possible results in enum test.
9503
95042018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9505
9506 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9507 parentheses.
9508
95092018-02-23 Maciej W. Rozycki <macro@mips.com>
9510
9511 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9512 name of a variable: $actual_linejj -> $actual_line.
9513
95142018-02-21 John Baldwin <jhb@FreeBSD.org>
9515
9516 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9517
95182018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9519
9520 * gdb.btrace/buffer-size.exp: Do not force BTS.
9521
95222018-02-14 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9525 getting a "Quit".
9526
95272018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9528
9529 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9530 Fix test name.
9531
95322018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9533
9534 * gdb.cp/m-static.exp: Check type of optimized out static
9535 member.
9536
95372018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9538
9539 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9540 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9541
95422018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9543 Leszek Swirski <leszeks@google.com>
9544
9545 * gdb.python/py-prettyprint.c
9546 (struct to_string_returns_value_inner,
9547 struct to_string_returns_value_wrapper): New.
9548 (main): Add tsrvw variable.
9549 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9550 ToStringReturnsValueWrapper): New classes.
9551 (register_pretty_printers): Register new pretty-printers.
9552 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9553 recursive pretty printer.
9554 * gdb.python/py-mi.exp: Likewise.
9555
95562018-02-01 Leszek Swirski <leszeks@google.com>
9557
9558 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9559 functions with the same name as an include file are parsed
9560 correctly.
9561
95622018-02-01 Yao Qi <yao.qi@linaro.org>
9563
9564 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9565 "\[^\r\n\]*".
9566
95672018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9568
9569 * gdb.arch/powerpc-prologue-frame.s: New file.
9570 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9571 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9572
95732018-01-31 Joel Brobecker <brobecker@adacore.com>
9574
9575 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9576
95772018-01-30 Pedro Alves <palves@redhat.com>
9578
9579 PR gdb/13211
9580 * gdb.base/interrupt-daemon.c: New.
9581 * gdb.base/interrupt-daemon.exp: New.
9582 * gdb.multi/multi-term-settings.c: New.
9583 * gdb.multi/multi-term-settings.exp: New.
9584
95852018-01-30 Joel Brobecker <brobecker@adacore.com>
9586
9587 * gdb.base/break.exp: Save the location where the breakpoint
9588 on break.c:47 was actually inserted when debugging the version
9589 compiled at -O2 and use it in the expected output of the "info
9590 break" test performed soon after.
9591
95922018-01-22 Pedro Alves <palves@redhat.com>
9593 Sergio Durigan Junior <sergiodj@redhat.com>
9594
9595 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9596 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9597
95982018-01-22 Joel Brobecker <brobecker@adacore.com>
9599
9600 * gdb.base/break-include.c, gdb.base/break-include.inc,
9601 gdb.base/break-include.exp: New files.
9602 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9603 line number now being the actual line number where the breakpoint
9604 was inserted.
9605 * gdb.mi/mi-break.exp: Likewise.
9606 * gdb.mi/mi-reverse.exp: Likewise.
9607 * gdb.mi/mi-simplerun.exp: Ditto.
9608
96092018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9610
9611 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9612 varobj.
9613 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9614
96152018-01-21 Don Breazeal <donb@codesourcery.com>
9616 Andrew Burgess <andrew.burgess@embecosm.com>
9617
9618 * gdb.mi/basics.c: Add new global.
9619 * gdb.mi/mi-frame-regs.exp: New file.
9620 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9621 case.
9622
96232018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9624
9625 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9626 non-parameter, and on an unknown symbol.
9627
96282018-01-19 Tom Tromey <tom@tromey.com>
9629
9630 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9631 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9632
96332018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9634
9635 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9636 setrlimit and chdir to int.
9637
96382018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9639
9640 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9641 function.
9642 (my_tend): Likewise.
9643 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9644 rationale of avoiding FP- and vector instructions.
9645
96462018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9647
9648 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9649 "info reg" with "\[ \t\]*".
9650 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9651 "\[ \t\]+".
9652 * gdb.arch/s390-multiarch.exp: Ditto.
9653 * gdb.base/pc-fp.exp: Ditto.
9654 * gdb.reverse/i386-precsave.exp: Ditto.
9655 * gdb.reverse/i386-reverse.exp: Ditto.
9656 * gdb.reverse/i387-env-reverse.exp: Ditto.
9657 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9658
96592018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9660
9661 * lib/gdb.exp (gdb_compile): Re-enable use of
9662 universal_compile_options for languages other than Rust.
9663
96642018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9665
9666 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9667
96682018-01-17 Mike Gulick <mgulick@mathworks.com>
9669
9670 PR gdb/16577
9671 * gdb.base/solib-vanish.exp: New.
9672 * gdb.base/solib-vanish-main.c: New.
9673 * gdb.base/solib-vanish-lib1.c: New.
9674 * gdb.base/solib-vanish-lib2.c: New.
9675
96762018-01-17 Yao Qi <yao.qi@linaro.org>
9677
9678 * gdb.compile/compile.exp: Match the address printed for
9679 frame in the output of command "bt".
9680
96812018-01-15 Tom Tromey <tom@tromey.com>
9682
9683 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9684 compute sp_reg.
9685
96862018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9687
9688 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9689 to prepare.
9690 (prepare): Return 0 on error, 1 on success.
9691
96922018-01-12 Pedro Alves <palves@redhat.com>
9693
9694 * gdb.base/continue-after-aborted-step-over.c: New.
9695 * gdb.base/continue-after-aborted-step-over.exp: New.
9696
96972018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9698
9699 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9700 options when not creating an executable.
9701
97022018-01-11 Pedro Alves <palves@redhat.com>
9703
9704 PR remote/22597
9705 * gdb.server/stop-reply-no-thread.c: New file.
9706 * gdb.server/stop-reply-no-thread.exp: New file.
9707
97082018-01-10 Pedro Alves <palves@redhat.com>
9709
9710 PR gdb/22670
9711 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9712 functions too. Test setting breakpoints and printing C functions
9713 with no debug info too.
9714 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9715
97162018-01-10 Pedro Alves <palves@redhat.com>
9717
9718 PR gdb/22670
9719 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9720 a fail.
9721
97222018-01-10 Pedro Alves <palves@redhat.com>
9723
9724 PR gdb/22670
9725 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9726
97272018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9728
9729 * gdb.server/unittest.exp: Match the output in non-development
9730 mode.
9731
97322018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9733
9734 * gdb.gdb/unittest.exp: Match output in non-development mode.
9735
97362018-01-08 Joel Brobecker <brobecker@adacore.com>
9737
9738 * gdb.ada/access_tagged_param.exp: Relax expected output
9739 for value of "ObjL" in "continue" to pck.inspect breakpoint
9740 test.
9741
97422018-01-08 Joel Brobecker <brobecker@adacore.com>
9743
9744 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9745 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
9746
97472018-01-05 Pedro Alves <palves@redhat.com>
9748
9749 PR gdb/18653
9750 * gdb.base/libsegfault.exp: New.
9751
97522018-01-05 Joel Brobecker <brobecker@adacore.com>
9753
9754 PR gdb/22670
9755 * gdb.ada/access_tagged_param.exp: New file.
9756 * gdb.ada/access_tagged_param/foo.adb: New file.
9757
97582018-01-05 Pedro Alves <palves@redhat.com>
9759
9760 PR gdb/22670
9761 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9762 exercise lower case too, and to exercise both full matching and
9763 wild matching.
9764
97652018-01-05 Joel Brobecker <brobecker@adacore.com>
9766
9767 * gdb.ada/rename_subscript_param: New testcase.
9768
97692018-01-05 Jerome Guitton <guitton@adacore.com>
9770
9771 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9772
97732018-01-05 Joel Brobecker <brobecker@adacore.com>
9774
9775 * gdb.ada/convvar_comp: New testcase.
9776
97772018-01-05 Xavier Roirand <roirand@adacore.com>
9778
9779 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9780 (My_Table): New global variable.
9781 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9782
97832018-01-04 Joel Brobecker <brobecker@adacore.com>
9784
9785 PR gdb/22670
9786 * gdb.ada/maint_with_ada: New testcase.
9787
97882018-01-04 Joel Brobecker <brobecker@adacore.com>
9789
9790 PR gdb/22670
9791 * gdb.ada/bp_c_mixed_case: New testcase.
9792
97932018-01-04 Joel Brobecker <brobecker@adacore.com>
9794
9795 PR gdb/22670
9796 * gdb.ada/complete.exp: Add "complete break ada" test.
9797
97982018-01-04 Joel Brobecker <brobecker@adacore.com>
9799
9800 PR gdb/22670
9801 * gdb.ada/info_addr_mixed_case: New testcase.
9802
98032018-01-03 Xavier Roirand <roirand@adacore.com>
9804
9805 * gdb.ada/excep_handle.exp: New testcase.
9806 * gdb.ada/excep_handle/foo.adb: New file.
9807 * gdb.ada/excep_handle/pck.ads: New file.
9808
98092018-01-03 Joel Brobecker <brobecker@adacore.com>
9810
9811 * gdb.base/step-line.c: Add extra empty line in copyright header.
9812 * gdb.base/step-line.inp: Likewise.
9813
98142018-01-02 Joel Brobecker <brobecker@adacore.com>
9815
9816 * gdb.ada/dyn_stride.exp: Add slice test.
9817
98182018-01-02 Joel Brobecker <brobecker@adacore.com>
9819
9820 * gdb.ada/dyn_stride: New testcase.
9821
98222017-12-27 Stafford Horne <shorne@gmail.com>
9823
9824 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9825 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9826
98272017-12-27 Stafford Horne <shorne@gmail.com>
9828
9829 * gdb.base/reggroups.c: New file.
9830 * gdb.base/reggroups.exp: New file.
9831
98322017-12-18 Joel Brobecker <brobecker@adacore.com>
9833
9834 * gdb.dwarf2/ada-valprint-error.c: New file.
9835 * gdb.dwarf2/ada-valprint-error.exp: New file.
9836
98372017-12-18 Joel Brobecker <brobecker@adacore.com>
9838
9839 * gdb.ada/assign_arr: New testcase.
9840
98412017-12-18 Xavier Roirand <roirand@adacore.com>
9842
9843 * gdb.ada/funcall_ptr: New testcase.
9844
98452017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9846
9847 PR cli/16224
9848 * gdb.base/ptype-offsets.cc: New file.
9849 * gdb.base/ptype-offsets.exp: New file.
9850
98512017-12-15 Yao Qi <yao.qi@linaro.org>
9852
9853 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9854 if XML is disabled.
9855
98562017-12-15 Xavier Roirand <roirand@adacore.com>
9857
9858 * gdb.ada/same_component_name: New testcase.
9859
98602017-12-14 Joel Brobecker <brobecker@adacore.com>
9861
9862 * gdb.ada/str_binop_equal: New testcase.
9863
98642017-12-14 Joel Brobecker <brobecker@adacore.com>
9865
9866 * gdb.ada/task_switch_in_core: New testcase.
9867
98682017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9869
9870 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9871 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9872 call test_bkpt_qualified.
9873 (test_bkpt_qualified): New proc.
9874
98752017-12-13 Pedro Alves <palves@redhat.com>
9876
9877 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9878 Tighten regexp by matching with an anchor.
9879
98802017-12-13 Pedro Alves <palves@redhat.com>
9881
9882 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9883 ("expression with namespace"): New set of tests.
9884 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9885 (Nested::Test_NS::qux): New.
9886 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9887 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9888
98892017-12-13 Joel Brobecker <brobecker@adacore.com>
9890
9891 * gdb.base/server-del-break.c: New file.
9892 * gdb.base/server-del-break.exp: New file.
9893
98942017-12-12 Stafford Horne <shorne@gmail.com>
9895
9896 * gdb.xml/tdesc-regs.exp: Add or1k support.
9897
98982017-12-12 Stafford Horne <shorne@gmail.com>
9899
9900 * gdb.base/bp-permanent.c: Define nop of or1k.
9901
99022017-12-11 Joel Brobecker <brobecker@adacore.com>
9903
9904 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9905 output with components being reordered.
9906
99072017-12-11 Joel Brobecker <brobecker@adacore.com>
9908
9909 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9910 output with components being reordered.
9911
99122017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9913 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.base/maint.exp (check for .gdb_index): Check also for
9916 .debug_names.
9917 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9918 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9919 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9920 (.gdb_index used after symbol reloading): Support also .debug_names.
9921 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9922
99232017-12-08 Yao Qi <yao.qi@linaro.org>
9924
9925 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9926 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9927
99282017-12-08 Yao Qi <yao.qi@linaro.org>
9929
9930 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9931 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9932
99332017-12-08 Yao Qi <yao.qi@linaro.org>
9934
9935 * gdb.arch/aarch64-tagged-pointer.c: New file.
9936 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9937
99382017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9939
9940 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9941 "int".
9942
99432017-12-07 Keith Seitz <keiths@redhat.com>
9944
9945 PR breakpoints/22569
9946 * gdb.linespec/ls-errs.exp: Change expected result of "break
9947 -source this file has spaces.c -line 3".
9948 Check that an explicit source file followed by whitespace is
9949 identified as an invalid explicit location.
9950
99512017-12-07 Keith Seitz <keiths@redhat.com>
9952
9953 * gdb.cp/nested-types.cc: New file.
9954 * gdb.cp/nested-types.exp: New file.
9955 * lib/cp-support.exp: Load data-structures.exp library.
9956 (debug_cp_test_ptype_class): New global.
9957 (cp_ptype_class_verbose, next_line): New procedures.
9958 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9959 Add and document new return value.
9960 Switch the list of lines to a queue.
9961 Add support for new `type' key for nested type definitions.
9962 Add debugging/troubleshooting messages.
9963 * lib/data-structures.exp: New file.
9964
99652017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9966
9967 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9968 with proc_with_prefix, don't use with_test_prefix.
9969
99702017-12-07 Tom Tromey <tom@tromey.com>
9971
9972 * gdb.base/break.exp: Add test for empty "commands".
9973
99742017-12-07 Yao Qi <yao.qi@linaro.org>
9975
9976 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9977 malloc and catch syscall.
9978
99792017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9980
9981 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9982 tests for explicit locations.
9983
99842017-12-06 Pedro Alves <palves@redhat.com>
9985
9986 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9987 force-disabling XML descriptions.
9988
99892017-12-04 Pedro Alves <palves@redhat.com>
9990
9991 PR gdb/22499
9992 * gdb.arch/amd64-disp-step-avx.S: New file.
9993 * gdb.arch/amd64-disp-step-avx.exp: New file.
9994
99952017-12-03 Pedro Alves <palves@redhat.com>
9996
9997 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9998 and <string.h>.
9999 (parent_function): Print distinct messages when waitpid fails, or
10000 the child exits with a signal, or the child exits for an unhandled
10001 reason.
10002 * gdb.threads/process-dies-while-detaching.exp
10003 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10004 it. Wait for both inferior output and GDB's prompt. Use an
10005 indirect spawn id list.
10006 (do_detach): New parameter 'child_exit'. Use it to compute
10007 expected inferior output.
10008 (test_detach, test_detach_watch, test_detach_killed_outside):
10009 Adjust to pass down the expected child exit kind.
10010
100112017-12-01 Joel Brobecker <brobecker@adacore.com>
10012 Sergio Durigan Junior <sergiodj@redhat.com>
10013 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10016
100172017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10018
10019 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10020 to 'symbol-file' and 'add-symbol-file' can be
10021 position-independent.
10022
100232017-12-01 Yao Qi <yao.qi@linaro.org>
10024
10025 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10026 the URL in copyright header.
10027 * gdb.arch/aarch64-fp.exp: Likewise.
10028 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10029 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10030 * gdb.base/expand-psymtabs.exp: Likewise.
10031 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10032 * gdb.fortran/common-block.exp: Likewise.
10033 * gdb.fortran/common-block.f90: Likewise.
10034 * gdb.fortran/logical.exp: Likewise.
10035 * gdb.fortran/vla-datatypes.f90: Likewise.
10036 * gdb.fortran/vla-sub.f90: Likewise.
10037
100382017-11-30 Joel Brobecker <brobecker@adacore.com>
10039
10040 * gdb.ada/repeat_dyn: New testcase.
10041
100422017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10043
10044 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10045 Update for changed thread numbering.
10046 * gdb.cell/bt.exp: Update for changed GDB output.
10047
100482017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10049
10050 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10051 setting isremote by hand.
10052 * boards/dwarf4-gdb-index.exp: Likewise.
10053 * boards/fission.exp: Likewise.
10054 * boards/stabs.exp: Likewise.
10055
100562017-11-30 Pedro Alves <palves@redhat.com>
10057
10058 * gdb.linespec/cpls-ops.exp
10059 (check_explicit_skips_function_argument): Extract the underlying
10060 type of size_t instead of hardcoding it.
10061
100622017-11-29 Pedro Alves <palves@redhat.com>
10063
10064 PR c++/19436
10065 * gdb.linespec/cpls-abi-tag.cc: New file.
10066 * gdb.linespec/cpls-abi-tag.exp: New file.
10067
100682017-11-29 Pedro Alves <palves@redhat.com>
10069
10070 * gdb.base/langs.exp: Use -qualified.
10071 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10072 it.
10073 * gdb.cp/namespace.exp: Use -qualified.
10074 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10075 (overload-3, template-overload, template-ret-type, const-overload)
10076 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10077 procedures.
10078 (test_driver): Call them.
10079 * gdb.cp/save-bp-qualified.cc: New.
10080 * gdb.cp/save-bp-qualified.exp: New.
10081 * gdb.linespec/explicit.exp: Test -qualified.
10082 * lib/completion-support.exp (completion::explicit_opts_list): Add
10083 "-qualified".
10084 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10085
100862017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10087
10088 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10089
100902017-11-29 Tom Tromey <tom@tromey.com>
10091
10092 * gdb.base/relocate.exp: Update invalid argument test.
10093 Add new tests for invalid arguments.
10094
100952017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10096
10097 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10098 Return 0 as a long.
10099 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10100
101012017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10102
10103 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10104 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10105 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10106 func ().
10107 * gdb.cp/shadow.cc (B.func): Return 0.
10108
101092017-11-27 Joel Brobecker <brobecker@adacore.com>
10110
10111 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10112 expected output in gdb_expect call to allow the exception
10113 message to be present as well. Fix syntax confusion to avoid
10114 TCL thinking that exception_name is an array.
10115
101162017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10117
10118 * gdb.arch/spu-info.c: Include <unistd.h>.
10119 (do_signal_test): Fix broken calls to write.
10120 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10121 Fix checks for empty mailboxes. Update signal tests for corrected
10122 do_signal_test routine. Allow nonzero event status.
10123 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10124 * gdb.cell/arch.exp: Use standard_output_file.
10125 * gdb.cell/break.exp: Likewise.
10126 * gdb.cell/bt.exp: Likewise.
10127 * gdb.cell/core.exp: Likewise.
10128 * gdb.cell/dwarfaddr.exp: Likewise.
10129 * gdb.cell/ea-cache.exp: Likewise.
10130 * gdb.cell/ea-standalone.exp: Likewise.
10131 * gdb.cell/f-regs.exp: Likewise.
10132 * gdb.cell/fork.exp: Likewise.
10133 * gdb.cell/gcore.exp: Likewise.
10134 * gdb.cell/mem-access.exp: Likewise.
10135 * gdb.cell/ptype.exp: Likewise.
10136 * gdb.cell/registers.exp: Likewise.
10137 * gdb.cell/sizeof.exp: Likewise.
10138 * gdb.cell/solib-symbol.exp: Likewise.
10139 * gdb.cell/solib.exp: Likewise.
10140
101412017-11-25 Pedro Alves <palves@redhat.com>
10142
10143 * gdb.base/complete-empty.exp: New file.
10144 * gdb.base/completion.exp: Adjust.
10145
101462017-11-25 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.linespec/cpls-ops.cc: New file.
10149 * gdb.linespec/cpls-ops.exp: New file.
10150 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10151 factored out from ...
10152 (test_complete_prefix_range): ... this.
10153
101542017-11-24 Pedro Alves <palves@redhat.com>
10155
10156 * gdb.linespec/cpcompletion.exp: New file.
10157 * gdb.linespec/cpls-hyphen.cc: New file.
10158 * gdb.linespec/cpls.cc: New file.
10159 * gdb.linespec/cpls2.cc: New file.
10160 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10161 test to use test_gdb_complete_unique. Add label completion,
10162 keyword completion and explicit location completion tests.
10163 * lib/completion-support.exp: New file.
10164
101652017-11-24 Joel Brobecker <brobecker@adacore.com>
10166
10167 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10168 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10169 when hitting an exception catchpoint.
10170
101712017-11-22 Yao Qi <yao.qi@linaro.org>
10172
10173 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10174
101752017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10176
10177 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10178 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10179 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10180
101812017-11-22 Yao Qi <yao.qi@linaro.org>
10182
10183 * gdb.base/info-os.exp: Pass pthreads.
10184 * gdb.multi/multi-attach.exp: Likewise.
10185
101862017-11-22 Yao Qi <yao.qi@linaro.org>
10187
10188 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10189 compiler.
10190
101912017-11-22 Yao Qi <yao.qi@linaro.org>
10192
10193 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10194 * gdb.base/break-interp.exp: Likewise.
10195 * gdb.base/jit-attach-pie.exp: Likewise.
10196
101972017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10198
10199 * gdb.base/float128.c (large128): New variable.
10200 * gdb.base/float128.exp: Add test to print largest __float128 value.
10201
102022017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10203
10204 * gdb.arch/vsx-regs.exp: Update register content checks.
10205
102062017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10207
10208 * gdb.arch/ppc-longdouble.exp: New file.
10209 * gdb.arch/ppc-longdouble.c: Likewise.
10210
102112017-11-21 Pedro Alves <palves@redhat.com>
10212
10213 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10214
102152017-11-20 Pedro Alves <palves@redhat.com>
10216
10217 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10218 (long_double_typedef): New typedefs.
10219 Use DEF on double and long double.
10220 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10221 cases.
10222 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10223 and 'long_double_ptr_same_size' locals. Use them to decide
10224 whether cast from array/function to float is valid/invalid.
10225
102262017-11-17 Tom Tromey <tom@tromey.com>
10227
10228 * gdb.rust/traits.rs: New file.
10229 * gdb.rust/traits.exp: New file.
10230
102312017-11-17 Joel Brobecker <brobecker@adacore.com>
10232
10233 * gdb.ada/minsyms: New testcase.
10234
102352017-11-16 Pedro Alves <palves@redhat.com>
10236
10237 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10238 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10239
102402017-11-16 Pedro Alves <palves@redhat.com>
10241
10242 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10243 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10244
102452017-11-16 Pedro Alves <palves@redhat.com>
10246
10247 * gdb.server/reconnect-ctrl-c.c: New file.
10248 * gdb.server/reconnect-ctrl-c.exp: New file.
10249
102502017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10251
10252 * gdb.python/py-rbreak.exp: New file.
10253 * gdb.python/py-rbreak.c: New file.
10254 * gdb.python/py-rbreak-func2.c: New file.
10255
102562017-11-16 Pedro Alves <palves@redhat.com>
10257
10258 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10259 pattern.
10260 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10261 GDB.
10262
102632017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10264
10265 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10266 regex.
10267
102682017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10269
10270 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10271 test names.
10272
102732017-11-09 Pedro Alves <palves@redhat.com>
10274
10275 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10276 factored out from ...
10277 (top level): ... here, and adjusted to avoid expecting beyond the
10278 prompt in a single gdb_test_multiple.
10279
102802017-11-09 Pedro Alves <palves@redhat.com>
10281
10282 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10283 output.
10284 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10285 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10286 * gdb.server/ext-run.exp ("kill" test): Likewise.
10287 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10288
102892017-11-09 Pedro Alves <palves@redhat.com>
10290
10291 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10292 match till end of line.
10293
102942017-11-09 Pedro Alves <palves@redhat.com>
10295
10296 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10297
102982017-11-09 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10301 New procedures, factored out from ...
10302 (top level): ... here, and adjusted to avoid expecting beyond the
10303 prompt in one go.
10304
103052017-11-09 Pedro Alves <palves@redhat.com>
10306
10307 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10308 output. Fix '?' match.
10309
103102017-11-08 Joel Brobecker <brobecker@adacore.com>
10311
10312 * gdb.ada/scoped_watch: New testcase.
10313 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10314 which is actually correct.
10315 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10316 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10317
103182017-11-08 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.gdb/complaints.exp (test_initial_complaints)
10321 (test_serial_complaints, test_short_complaints): Call
10322 complaint_internal instead of complaint.
10323
103242017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10325
10326 * gdb.threads/tls-core.c: New file.
10327 * gdb.threads/tls-core.exp: Likewise.
10328
103292017-11-08 Pedro Alves <palves@redhat.com>
10330
10331 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10332 (p Exported_Capitalized): New test.
10333 (p exported_capitalized): New test.
10334
103352017-11-07 Pedro Alves <palves@redhat.com>
10336
10337 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10338
103392017-11-07 Pedro Alves <palves@redhat.com>
10340
10341 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10342 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10343 (disable_invalid, disable_inverted, disable_negative): New
10344 procedures.
10345 ("bad numbers"): New set of tests.
10346
103472017-11-07 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.cp/ena-dis-br-range.exp: Add tests.
10350
103512017-11-07 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10354
103552017-11-07 Xavier Roirand <roirand@adacore.com>
10356 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.base/ena-dis-br.exp: Add reference to
10359 gdb.cp/ena-dis-br-range.exp.
10360 * gdb.cp/ena-dis-br-range.exp: New file.
10361 * gdb.cp/ena-dis-br-range.cc: New file.
10362
103632017-11-06 Pedro Alves <palves@redhat.com>
10364
10365 * gdb.base/attach-non-pgrp-leader.c: New.
10366 * gdb.base/attach-non-pgrp-leader.exp: New.
10367
103682017-11-06 Pedro Alves <palves@redhat.com>
10369
10370 * configure.ac: No longer check for termio.h and sgtty.h.
10371 * configure: Regenerate.
10372 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10373 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10374 Remove termio and sgtty code.
10375
103762017-11-03 Yao Qi <yao.qi@linaro.org>
10377
10378 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10379 in GDB is disabled.
10380
103812017-11-03 Yao Qi <yao.qi@linaro.org>
10382
10383 * gdb.python/py-thrhandle.exp: Skip it if python is not
10384 enabled.
10385
103862017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10387
10388 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10389 as a breakpoint command.
10390
103912017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10392
10393 PR python/21213
10394 * gdb.python/py-infthread.exp: Test calling
10395 InferiorThread.inferior () multiple times in a row.
10396
103972017-10-27 Keith Seitz <keiths@redhat.com>
10398
10399 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10400 Test "info break" for every inlined function breakpoint.
10401
104022017-10-27 Yao Qi <yao.qi@linaro.org>
10403
10404 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10405
104062017-10-26 Patrick Frants <osscontribute@gmail.com>
10407
10408 * gdb.cp/classes.exp (test_static_members): Test printing
10409 Outer::instance.
10410 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10411 (Inner::instance, Outer::instance): New.
10412
104132017-10-24 Pedro Alves <palves@redhat.com>
10414
10415 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10416 extra console" test in two stages.
10417
104182017-10-24 Pedro Alves <palves@redhat.com>
10419
10420 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10421
104222017-10-24 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10425 loop.
10426
104272017-10-24 Pedro Alves <palves@redhat.com>
10428
10429 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10430 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10431
104322017-10-24 Pedro Alves <palves@redhat.com>
10433
10434 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10435 parameter and handle it. Don't output read value in test name.
10436
104372017-10-24 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10440 custom test name.
10441
104422017-10-24 Pedro Alves <palves@redhat.com>
10443
10444 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10445 include the unstable output directory name in the test's name.
10446 (initial_setup_simple) <'set args'>: Use custom test name.
10447
104482017-10-24 Pedro Alves <palves@redhat.com>
10449
10450 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10451 with explicit test name.
10452
104532017-10-20 Pedro Alves <palves@redhat.com>
10454
10455 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10456 'wait -i'. Use gdb_assert and remote_close.
10457
104582017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10459
10460 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10461 number from variable rather than hard-coded.
10462
104632017-10-19 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/long-inferior-output.c: New file.
10466 * gdb.base/long-inferior-output.exp: New file.
10467
104682017-11-18 Keith Seitz <keiths@redhat.com>
10469
10470 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10471 method.
10472 (main): Call it.
10473 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10474 Add additional user-defined conversion operator tests.
10475
104762017-10-17 Pedro Alves <palves@redhat.com>
10477
10478 * boards/native-stdio-gdbserver.exp: Load "local-board".
10479
104802017-10-17 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.base/quit-live.c: New file.
10483 * gdb.base/quit-live.exp: New file.
10484
104852017-10-16 Keith Seitz <keiths@redhat.com>
10486
10487 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10488 (class_with_protected_typedef, class_with_private_typedef)
10489 (struct_with_public_typedef, struct_with_protected_typedef)
10490 (struct_with_private_typedef): New classes/structs.
10491 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10492 typedefs and access specifiers.
10493
104942017-10-16 Pedro Alves <palves@redhat.com>
10495 Simon Marchi <simon.marchi@polymtl.ca>
10496
10497 * README (Local vs Remote vs Native): New section.
10498 * boards/local-board.exp: New file, with bits factored out from
10499 ...
10500 * boards/native-extended-gdbserver.exp: ... here. Load
10501 "local-board".
10502 * boards/native-gdbserver.exp: Load "local-board".
10503 (${board}_spawn, ${board}_exec): Delete.
10504 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10505 ...
10506 * boards/stdio-gdbserver-base.exp: ... this new file.
10507 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10508 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10509 procedure.
10510 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10511 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10512 stdio_gdbserver_command.
10513 (${board}_get_remote_address, ${board}_get_comm_port)
10514 (${board}_download, ${board}_upload): Delete.
10515 (get_target_remote_pipe_cmd): New.
10516
105172017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10518
10519 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10520 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10521 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10522 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10523 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10524 remove with_test_prefix.
10525
105262017-10-13 Pedro Alves <palves@redhat.com>
10527
10528 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10529 * gdb.base/annota1.exp: Use it instead of is_remote.
10530 * gdb.base/annota3.exp: Use it instead of is_remote.
10531 * gdb.cp/annota2.exp: Use it instead of is_remote.
10532 * gdb.cp/annota3.exp: Use it instead of is_remote.
10533 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10534
105352017-10-13 Pedro Alves <palves@redhat.com>
10536
10537 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10538 (test_num_test_vars, run_and_count_vars, find_env)
10539 (test_set_unset_env, test_inherit_env_var): New procedures.
10540 (top level): Use them.
10541
105422017-10-13 Pedro Alves <palves@redhat.com>
10543
10544 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10545 also skip on stub-like targets.
10546
105472017-10-13 Pedro Alves <palves@redhat.com>
10548
10549 PR gdb/22293
10550 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10551 (top level): Move some tests to ...
10552 (test_not_found): ... this new procedure.
10553 (top level): Call it.
10554
105552017-10-13 Pedro Alves <palves@redhat.com>
10556
10557 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10558 expect different "info terminal" output if testing with a
10559 non-native target.
10560
105612017-10-13 Pedro Alves <palves@redhat.com>
10562 Simon Marchi <simon.marchi@polymtl.ca>
10563
10564 PR python/12966
10565 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10566
105672017-10-13 Pedro Alves <palves@redhat.com>
10568
10569 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10570 already.
10571
105722017-10-13 Pedro Alves <palves@redhat.com>
10573
10574 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10575 is_remote.
10576
105772017-10-13 Pedro Alves <palves@redhat.com>
10578
10579 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10580 is_remote.
10581
105822017-10-13 Pedro Alves <palves@redhat.com>
10583
10584 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10585 is set.
10586 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10587 instead of is_remote.
10588
105892017-10-13 Pedro Alves <palves@redhat.com>
10590
10591 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10592 (top level): Add comment.
10593
105942017-10-13 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.base/remote.exp (top level): Fix comment typo and add
10597 missing return.
10598
105992017-10-13 Pedro Alves <palves@redhat.com>
10600 Simon Marchi <simon.marchi@polymtl.ca>
10601
10602 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10603 calls and add comments. Skip test if use_gdb_stub is set.
10604 (top level): Use "set cwd" command instead of "cd" command.
10605
106062017-10-13 Pedro Alves <palves@redhat.com>
10607
10608 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10609 is_remote target check.
10610
106112017-10-13 Pedro Alves <palves@redhat.com>
10612
10613 * gdb.base/scope.exp: Use build_executable + clean_restart +
10614 gdb_file_cmd instead of prepare_for_testing and no longer skip
10615 "before run" tests on is_remote target boards. Update comments.
10616 * boards/native-extended-gdbserver.exp
10617 (extended_gdbserver_load_last_file): New, factored out from ...
10618 (gdb_load): ... this. Move further below and add comment.
10619 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10620
106212017-10-12 Pedro Alves <palves@redhat.com>
10622
10623 * gdb.base/attach.exp: Remove references to gdb64.
10624 * gdb.base/dbx.exp: Remove references to gdb64.
10625
106262017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10627 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.base/label.exp: Remove is_remote target check.
10630
106312017-10-12 Pedro Alves <palves@redhat.com>
10632
10633 * gdb.base/auvx.exp (coredir): Update comment.
10634 (top level) <core_works>: Use "set cwd" command instead of "cd"
10635 command.
10636
106372017-10-12 Pedro Alves <palves@redhat.com>
10638 Simon Marchi <simon.marchi@polymtl.ca>
10639
10640 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10641 target boards.
10642
106432017-10-12 Pedro Alves <palves@redhat.com>
10644 Simon Marchi <simon.marchi@polymtl.ca>
10645
10646 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10647 Instead skip if there's any gdb_protocol set.
10648
106492017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10650 Pedro Alves <palves@redhat.com>
10651
10652 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10653
106542017-10-12 Pedro Alves <palves@redhat.com>
10655 Simon Marchi <simon.marchi@polymtl.ca>
10656
10657 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10658 instead of on dejagnu remote boards.
10659
106602017-10-12 Pedro Alves <palves@redhat.com>
10661 Simon Marchi <simon.marchi@polymtl.ca>
10662
10663 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10664 checks. Use build_executable + clean_restart instead of
10665 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10666 of enabling non-stop after starting gdb.
10667
106682017-10-12 Pedro Alves <palves@redhat.com>
10669
10670 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10671 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10672 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10673 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10674
106752017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10676
10677 * gdb.arch/arc-tdesc-cpu.exp: New file.
10678 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10679
106802017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10681
10682 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10683
106842017-10-10 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10687 expect CLI output.
10688
106892017-10-10 Pedro Alves <palves@redhat.com>
10690
10691 * lib/selftest-support.exp (selftest_setup): Update for
10692 captured_command_loop's prototype change.
10693
106942017-10-09 Pedro Alves <palves@redhat.com>
10695
10696 Test both arch1=>arch2 and arch2=>arch1.
10697
10698 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10699 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10700 factored out to...
10701 (append_arch1_options, append_arch2_options, append_arch_options)
10702 (build_executables): New procedures.
10703 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10704 local.
10705 (top level): Add new 'first_arch' testing axis.
10706
107072017-10-09 Pedro Alves <palves@redhat.com>
10708
10709 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10710 (barrier): New.
10711 (thread_start, all_started): New functions.
10712 (main): Spawn new thread and wait until it is scheduled.
10713 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10714 option.
10715 (do_test): Add 'selected_thread' parameter. Run to all_started
10716 instead of main. Explicitly set the breakpoint at main. Switch
10717 to the SELECTED_THREAD thread.
10718 (top level): Test handling the exec event with either the main
10719 thread or the second thread selected.
10720
107212017-10-09 Pedro Alves <palves@redhat.com>
10722
10723 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10724 logic. Move STOP marker after the value checks.
10725 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10726 regexp.
10727
107282017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10729
10730 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10731
107322017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10733
10734 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10735 integer-to-dfp conversion.
10736 * gdb.base/dfp-test.exp: Likewise.
10737
107382017-10-04 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.multi/hangout.c: Include <unistd.h>.
10741 (hangout_loop): New function.
10742 (main): Call alarm. Call hangout_loop in a loop.
10743 * gdb.multi/hello.c: Include <unistd.h>.
10744 (hello_loop): New function.
10745 (main): Call alarm. Call hangout_loop in a loop.
10746 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10747 inferior with the other selected.
10748
107492017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10750
10751 * gdb.mi/list-thread-groups-available.exp: New file.
10752 * gdb.mi/list-thread-groups-available.c: New file.
10753
107542017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10755
10756 * gdb.base/set-cwd.exp: Make it available on
10757 native-extended-gdbserver.
10758
107592017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10760
10761 * gdb.base/set-cwd.c: New file.
10762 * gdb.base/set-cwd.exp: Likewise.
10763
107642017-10-02 Tom Tromey <tom@tromey.com>
10765
10766 PR rust/22236:
10767 * gdb.rust/simple.rs (main): New variable "fslice".
10768 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10769
107702017-10-02 Tom Tromey <tom@tromey.com>
10771
10772 * gdb.rust/simple.exp: Test ptype of a slice.
10773
107742017-10-02 Tom Tromey <tom@tromey.com>
10775
10776 * gdb.rust/simple.exp: Test index of slice.
10777
107782017-09-27 Tom Tromey <tom@tromey.com>
10779
10780 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10781
107822017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10783 Pedro Alves <palves@redhat.com>
10784
10785 * gdb.base/compare-sections.exp (get value of read-only section): Read
10786 as unsigned value.
10787 (corrupt read-only section): Likewise and don't set written if patching
10788 failed.
10789
107902017-09-21 Kevin Buettner <kevinb@redhat.com>
10791
10792 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10793 files.
10794
107952017-09-20 Pedro Alves <palves@redhat.com>
10796
10797 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10798 symbol names in gdb's output.
10799 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10800
108012017-09-20 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10804 Rename to ...
10805 (test_list_ambiguous_symbol): ... this and add a symbol name
10806 parameter. Adjust.
10807 (test_list_ambiguous_function): Reimplement on top of
10808 test_list_ambiguous_symbol and also test listing ambiguous
10809 variables.
10810 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10811 (ambiguous_fun): ... this.
10812 (ambiguous_var): New.
10813 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10814 (ambiguous_fun): ... this.
10815 (ambiguous_var): New.
10816
108172017-09-19 John Baldwin <jhb@FreeBSD.org>
10818
10819 * gdb.base/starti.c: New file.
10820 * gdb.base/starti.exp: New file.
10821 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10822
108232017-09-14 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10826 (top level): Use it instead of runto.
10827
108282017-09-11 Tom Tromey <tom@tromey.com>
10829
10830 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10831
108322017-09-11 Tom Tromey <tom@tromey.com>
10833
10834 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10835 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10836
108372017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10838
10839 * gdb.fortran/printing-types.exp: New file.
10840 * gdb.fortran/printing-types.exp: New file.
10841
108422017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10843
10844 * gdb.fortran/vla-ptype.exp: Fix typos.
10845 * gdb.fortran/vla-value.exp: Same.
10846
108472017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10848
10849 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10850 * gdb.mi/mi-var-child-f.exp: Likewise.
10851 * gdb.mi/mi-vla-fortran.exp: Likewise.
10852
108532017-09-08 Frank Penczek <frank.penczek@intel.com>
10854 Christoph Weinmann <christoph.t.weinmann@intel.com>
10855 Bernhard Heckel <bernhard.heckel@intel.com>
10856
10857 * gdb.fortran/ptr-indentation.f90: New file.
10858 * gdb.fortran/ptr-indentation.exp: New file.
10859
108602017-09-05 Tom Tromey <tom@tromey.com>
10861
10862 PR gdb/22010:
10863 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10864
108652017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10866
10867 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10868
108692017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10870
10871 * gdb.threads/tls-nodebug-pie.c: New file.
10872 * gdb.threads/tls-nodebug-pie.exp: New file.
10873
108742017-09-05 Tom Tromey <tom@tromey.com>
10875
10876 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10877 for rust.
10878
108792017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10880
10881 * gdb.multi/multi-arch-exec.exp: Test with different
10882 "follow-exec-mode" settings.
10883 (do_test): New procedure.
10884
108852017-09-04 Pedro Alves <palves@redhat.com>
10886
10887 * gdb.base/func-static.c (S::method const, S::method volatile)
10888 (S::method volatile const): New methods.
10889 (c_s, v_s, cv_s): New instances.
10890 (main): Call method() on them.
10891 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10892 (cannot_resolve): New procedure.
10893 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10894 print-quote-unquoted columns.
10895 (do_test): Test printing each scope too.
10896
108972017-09-04 Pedro Alves <palves@redhat.com>
10898
10899 * gdb.base/local-static.exp: Also test with
10900 class::method::variable wholly quoted.
10901 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10902
109032017-09-04 Pedro Alves <palves@redhat.com>
10904
10905 * gdb.base/local-static.c: New.
10906 * gdb.base/local-static.cc: New.
10907 * gdb.base/local-static.exp: New.
10908
109092017-09-04 Pedro Alves <palves@redhat.com>
10910
10911 * gdb.asm/asm-source.exp: Add casts to int.
10912 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10913 (dataglobal64_1, dataglobal64_2): New globals.
10914 * gdb.base/nodebug.exp: Test different expressions involving the
10915 new globals, with print, whatis and ptype. Add casts to int.
10916 * gdb.base/solib-display.exp: Add casts to int.
10917 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10918 * gdb.cp/m-static.exp: Add cast to int.
10919 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10920 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10921 tls variable with no debug info without a cast. Test with a cast
10922 to int too.
10923 * gdb.trace/entry-values.exp: Add casts.
10924
109252017-09-04 Pedro Alves <palves@redhat.com>
10926
10927 * gdb.base/nodebug.exp: Test that ptype's error about functions
10928 with unknown return type includes the function name too.
10929
109302017-09-04 Pedro Alves <palves@redhat.com>
10931
10932 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10933 return type of munmap in infcall.
10934 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10935 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10936 type of ftell in infcall.
10937 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10938 type of getpid in infcall.
10939 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10940 infcall.
10941 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10942 Bail on failure to extract the pid.
10943 * gdb.base/nodebug.c: #include <stdint.h>.
10944 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10945 New functions.
10946 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10947 Change expected output of print/whatis/ptype with functions with
10948 no debug info. Test all supported languages. Call
10949 test_call_promotion.
10950 * gdb.compile/compile.exp: Adjust expected output to expect
10951 warning.
10952 * gdb.threads/siginfo-threads.exp: Likewise.
10953
109542017-09-04 Pedro Alves <palves@redhat.com>
10955
10956 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10957 "prototypes". Test calling float functions via prototyped and
10958 unprototyped function pointers.
10959 (perform_all_tests): New parameter "prototypes". Pass it down.
10960 (top level): Pass down "prototypes" parameter to
10961 perform_all_tests.
10962
109632017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10964
10965 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10966 Test with nested loops.
10967
109682017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10969
10970 * gdb.base/commands.exp: Call the new procedures.
10971 (loop_break_test, loop_continue_test): New procedures.
10972
109732017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10974
10975 * gdb.base/commands.exp: Call new procedure.
10976 (define_if_without_arg_test): New procedure.
10977
109782017-09-04 Pedro Alves <palves@redhat.com>
10979
10980 * gdb.base/list-ambiguous.exp: New file.
10981 * gdb.base/list-ambiguous0.c: New file.
10982 * gdb.base/list-ambiguous1.c: New file.
10983 * gdb.base/list.exp (test_list_range): Adjust expected output.
10984
109852017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10986
10987 * gdb.base/share-env-with-gdbserver.c: New file.
10988 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10989
109902017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10991
10992 * gdb.base/commands.exp (gdbvar_simple_if_test,
10993 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10994 progvar_simple_if_test, progvar_simple_while_test,
10995 progvar_complex_if_while_test, user_defined_command_test,
10996 user_defined_command_args_eval,
10997 user_defined_command_args_stack_test,
10998 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10999 temporary_breakpoint_commands,
11000 gdb_test_no_prompt, redefine_hook_test,
11001 redefine_backtrace_test): Remove "global gdb_prompt".
11002
110032017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11004
11005 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11006 New proc, call it from toplevel.
11007
110082017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11009
11010 PR remote/21852
11011 * gdb.server/normal.c: New file, copied from gdb.base.
11012 * gdb.server/run-without-local-binary.exp: New file.
11013
110142017-08-07 Weimin Pan <weimin.pan@oracle.com>
11015
11016 * gdb.arch/sparc64-adi.exp: New file.
11017 * gdb.arch/sparc64-adi.c: New file.
11018
110192017-08-22 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11022 (top level): Add "list all overloads" tests.
11023
110242017-08-22 Tom Tromey <tom@tromey.com>
11025
11026 * gdb.gdb/xfullpath.exp: Remove.
11027
110282017-08-21 Pedro Alves <palves@redhat.com>
11029
11030 PR gdb/19487
11031 * gdb.base/symbol-alias.c: New.
11032 * gdb.base/symbol-alias2.c: New.
11033 * gdb.base/symbol-alias.exp: New.
11034
110352017-08-21 Pedro Alves <palves@redhat.com>
11036
11037 * gdb.base/dfp-test.c
11038 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11039 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11040 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11041 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11042 * gdb.base/whatis-ptype-typedefs.c: New.
11043 * gdb.base/whatis-ptype-typedefs.exp: New.
11044 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11045 (an_int, an_int_type, an_int_type2): New globals.
11046 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11047 involving typedefs and cast expressions.
11048 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11049 (lookup_typedefs_function): New.
11050 (typedefs_pretty_printers_dict): New.
11051 (top level): Register lookup_typedefs_function in
11052 gdb.pretty_printers.
11053
110542017-08-18 Yao Qi <yao.qi@linaro.org>
11055
11056 * gdb.server/unittest.exp: New.
11057
110582017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11059
11060 PR gdb/21954
11061 * gdb.base/environ.exp: Add test to check if 'unset environment'
11062 works.
11063
110642017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11065
11066 * lib/gdb.exp (universal_compile_options): New caching proc.
11067 (gdb_compile): Suppress GCC's coloring of messages.
11068
110692017-08-14 Tom Tromey <tom@tromey.com>
11070
11071 PR gdb/21675:
11072 * gdb.base/printcmds.exp (test_radices): New function.
11073 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11074 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11075 * lib/gdb.exp (get_integer_valueof): Use p/d.
11076
110772017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11078
11079 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11080 characters.
11081
110822017-08-05 Tom Tromey <tom@tromey.com>
11083
11084 * gdb.rust/simple.exp: Allow String to appear in a different
11085 namespace.
11086
110872017-07-26 Yao Qi <yao.qi@linaro.org>
11088
11089 * gdb.gdb/unittest.exp: Invoke command
11090 "maintenance check xml-descriptions".
11091
110922017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11093
11094 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11095 calling context.
11096 (hex128): Drop erroneous calculation of parameters.
11097
110982017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11099
11100 * gdb.python/py-unwind.exp: Disable stack protection when
11101 building test file.
11102
111032017-07-20 Pedro Alves <palves@redhat.com>
11104
11105 * gdb.base/default.exp (set language): Adjust expected output.
11106
111072017-07-20 Pedro Alves <palves@redhat.com>
11108
11109 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11110 (test_minsym): ... this, and make static.
11111 (get_pck__foo__bar__minsym): Rename to ...
11112 (get_test_minsym): ... this.
11113 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11114 symbol names and comments.
11115 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11116 (get_test_minsym): ... this.
11117 (pck__foo__bar__minsym__2): Rename to ...
11118 (test_minsym): ... this.
11119 (main): Adjust.
11120
111212017-07-17 Pedro Alves <palves@redhat.com>
11122
11123 * gdb.base/completion.exp: Adjust expected output.
11124 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11125 the completer works.
11126
111272017-07-17 Pedro Alves <palves@redhat.com>
11128
11129 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11130
111312017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11132
11133 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11134
111352017-07-14 Tom Tromey <tom@tromey.com>
11136
11137 PR rust/21764:
11138 * gdb.rust/simple.exp: Add tests.
11139
111402017-07-14 Tom Tromey <tom@tromey.com>
11141
11142 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11143
111442017-07-14 Pedro Alves <palves@redhat.com>
11145
11146 * gdb.linespec/base/one/thefile.cc (z1): New function.
11147 * gdb.linespec/base/two/thefile.cc (z2): New function.
11148 * gdb.linespec/linespec.exp: Add tests.
11149
111502017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11151
11152 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11153 to mi_create_breakpoint.
11154
111552017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11156
11157 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11158 mi_create_breakpoint.
11159
111602017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11161
11162 * gdb.dlang/demangle.exp: Update for demangling changes.
11163
111642017-07-09 Tom Tromey <tom@tromey.com>
11165
11166 * gdb.dwarf2/shortpiece.exp: New file.
11167
111682017-07-06 David Blaikie <dblaikie@gmail.com>
11169
11170 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11171 built from fissiont-multi-cu{1,2}.c.
11172 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11173 except putting 'main' and 'func' in separate CUs in the same DWO file.
11174 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11175 test.
11176 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11177 test.
11178
111792017-07-06 Pedro Alves <palves@redhat.com>
11180
11181 * gdb.python/py-unwind.exp: Test flushregs.
11182
111832017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11184
11185 PR cli/21688
11186 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11187 tests for alias commands and trailing whitespace.
11188
111892017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11190
11191 PR cli/21688
11192 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11193 procedure. Call it.
11194
111952017-06-29 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.base/printcmds.exp: Add tests.
11198
111992017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11200
11201 PR gdb/21337
11202 * gdb.base/reread-readsym.exp: New file.
11203 * gdb.base/reread-readsym.c: New file.
11204
112052017-06-21 Kevin Buettner <kevinb@redhat.com>
11206
11207 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11208 subpattern.
11209
112102017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11211
11212 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11213 extended mnemonic.
11214 * gdb.arch/powerpc-power9.s: Likewise.
11215
112162017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11217
11218 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11219 on 32-bit x86 targets. Exploit is_*_target macros where
11220 appropriate.
11221
112222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11223
11224 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11225 register pieces.
11226
112272017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11228
11229 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11230 located in one or more DWARF pieces.
11231
112322017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11233
11234 * lib/gdb.exp (get_endianness): New proc.
11235 * gdb.arch/aarch64-fp.exp: Use it.
11236 * gdb.arch/altivec-regs.exp: Likewise.
11237 * gdb.arch/e500-regs.exp: Likewise.
11238 * gdb.arch/vsx-regs.exp: Likewise.
11239 * gdb.base/dump.exp: Likewise.
11240 * gdb.base/funcargs.exp: Likewise.
11241 * gdb.base/gnu_vector.exp: Likewise.
11242 * gdb.dwarf2/formdata16.exp: Likewise.
11243 * gdb.dwarf2/implptrpiece.exp: Likewise.
11244 * gdb.dwarf2/nonvar-access.exp: Likewise.
11245 * gdb.python/py-inferior.exp: Likewise.
11246 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11247
112482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11249
11250 PR gdb/21226
11251 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11252 stack value pieces are taken from the LSB end.
11253
112542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11255
11256 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11257 variable at nonzero offset.
11258
112592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11260
11261 * gdb.dwarf2/var-access.c: New file.
11262 * gdb.dwarf2/var-access.exp: New test.
11263 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11264
112652017-06-12 Tom Tromey <tom@tromey.com>
11266
11267 * gdb.dwarf2/formdata16.exp: Add tests.
11268
112692017-06-12 Tom Tromey <tom@tromey.com>
11270
11271 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11272
112732017-06-12 Tom Tromey <tom@tromey.com>
11274
11275 PR exp/16225:
11276 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11277 * gdb.arch/vsx-regs.exp: Update tests.
11278 * gdb.arch/s390-vregs.exp (hex128): New proc.
11279 Update test.
11280 * gdb.arch/altivec-regs.exp: Update tests.
11281
112822017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11283
11284 * gdb.base/startup-with-shell.c: New file.
11285 * gdb.base/startup-with-shell.exp: Likewise.
11286
112872017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11288
11289 * gdb.server/non-existing-program.exp: Update regex in order to
11290 reflect the fact that gdbserver is now using fork_inferior (with a
11291 shell) to startup the inferior.
11292
112932017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11294
11295 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11296 support function calls from GDB.
11297
112982017-05-21 Tom Tromey <tom@tromey.com>
11299
11300 PR rust/21466:
11301 * gdb.rust/unsized.exp: New file.
11302 * gdb.rust/unsized.rs: New file.
11303
113042017-05-19 Tom Tromey <tom@tromey.com>
11305
11306 PR rust/21484:
11307 * gdb.rust/watch.exp: New file.
11308 * gdb.rust/watch.rs: New file.
11309
113102017-05-18 Tom Tromey <tom@tromey.com>
11311
11312 * gdb.rust/simple.exp: Allow Box to be qualified.
11313
113142017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11315
11316 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11317
113182017-05-18 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/fileio.c (test_write, test_read, test_close)
11321 (test_fstat): Don't print 'ret' in the fail path.
11322
113232017-05-18 Pedro Alves <palves@redhat.com>
11324
11325 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11326 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11327 (test_system, test_rename, test_unlink, test_time): Change
11328 prototypes.
11329 * gdb.base/fileio.exp (stop_msg): Adjust.
11330
113312017-05-18 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/fileio.c (null_str): New global.
11334 (test_stat): Use it.
11335 * gdb.base/fileio.exp: Remove nowarnings.
11336
113372017-05-17 Yao Qi <yao.qi@linaro.org>
11338
11339 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11340
113412017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11342
11343 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11344 argument command.
11345 (top-level): Invoke test_set_inferior_tty.
11346
113472017-05-04 Pedro Alves <palves@redhat.com>
11348
11349 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11350 Add parens to print call for Python 3.
11351
113522017-05-03 Keith Seitz <keiths@redhat.com>
11353
11354 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11355 (main): Call it.
11356
113572017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11358
11359 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11360 to prev and next.
11361
113622017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11363
11364 * gdb.python/py-record-btrace.exp: Remove test for
11365 gdb.BtraceInstruction.error.
11366
113672017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11368
11369 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11370
113712017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11372
11373 * gdb.python/py-record-btrace-threads.c: New file.
11374 * gdb.python/py-record-btrace-threads.exp: New file.
11375
113762017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11377
11378 PR testsuite/8595
11379 * gdb.base/environ.exp: Make test available in all architectures.
11380 Move bits related to "info program" testing to
11381 gdb.base/info-program.exp. Rewrite tests to use the two new
11382 procedures mentione below.
11383 (test_set_show_env_var) New procedure.
11384 (test_set_show_env_var_equal): Likewise.
11385 * gdb.base/info-program.exp: New file.
11386
113872017-04-27 Keith Seitz <keiths@redhat.com>
11388
11389 * gdb.cp/oranking.cc (test15): New function.
11390 (main): Call test15 and declare additional variables for testing.
11391 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11392 "p foo101('abc')" tests.
11393 Add tests for cv qualifier overloads.
11394 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11395 "lvalue reference overload" test.
11396 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11397 "print value of f1 on Child&& in f2" test.
11398
113992017-04-19 Pedro Alves <palves@redhat.com>
11400
11401 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11402 procedure.
11403 (top level): Call it.
11404 * lib/gdb.exp (gdb_define_cmd): New procedure.
11405
114062017-04-12 Pedro Alves <palves@redhat.com>
11407
11408 PR gdb/21323
11409 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11410 (wchar): New global.
11411 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11412 (do_test_wide_char, wide_char_types_no_program, top level): Add
11413 wchar_t testing.
11414
114152017-04-12 Pedro Alves <palves@redhat.com>
11416
11417 PR c++/21323
11418 * gdb.cp/wide_char_types.c: New file.
11419 * gdb.cp/wide_char_types.exp: New file.
11420
114212017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11422
11423 PR gdb/21352
11424 * gdb.trace/tsv.exp: Add test for "tsave -r".
11425
114262017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11427
11428 * gdb.dlang/watch-loc.c: New file.
11429 * gdb.dlang/watch-loc.exp: New file.
11430
114312017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11432
11433 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11434
114352017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11436
11437 * gdb.arch/arc-analyze-prologue.S: New file.
11438 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11439
114402017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11441
11442 * gdb.arch/arc-decode-insn.S: New file.
11443 * gdb.arch/arc-decode-insn.exp: Likewise.
11444
114452017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11446
11447 PR tdep/20928
11448 * gdb.arch/sparc64-regs.exp: New file.
11449 * gdb.arch/sparc64-regs.S: Likewise.
11450
114512017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11452
11453 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11454 and memory view on Python 3.
11455
114562017-03-20 Artemiy Volkov <artemiyv@acm.org>
11457 Keith Seitz <keiths@redhat.com>
11458
11459 PR gdb/14441
11460 * gdb.cp/demangle.exp: Add rvalue reference tests.
11461 * gdb.cp/rvalue-ref-casts.cc: New file.
11462 * gdb.cp/rvalue-ref-casts.exp: New file.
11463 * gdb.cp/rvalue-ref-overload.cc: New file.
11464 * gdb.cp/rvalue-ref-overload.exp: New file.
11465 * gdb.cp/rvalue-ref-params.cc: New file.
11466 * gdb.cp/rvalue-ref-params.exp: New file.
11467 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11468 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11469 * gdb.cp/rvalue-ref-types.cc: New file.
11470 * gdb.cp/rvalue-ref-types.exp: New file.
11471 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11472 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11473
114742017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11475
11476 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11477 New procedure.
11478
114792017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11480
11481 * lib/mi-support.exp (mi_gdb_test): Add additional message
11482 for unexpected output.
11483
114842017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11485
11486 * gdb.base/examine-backward.c (Barrier): New character array
11487 constant, to ensure that TestStrings is preceded by a string
11488 terminator.
11489
114902017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11491
11492 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11493 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11494 and implicit pointer into such a location.
11495
114962017-03-16 Doug Evans <dje@google.com>
11497
11498 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11499
115002017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11501
11502 * gdb.cp/m-static.exp: Fix expectation for prototype of
11503 test5.single_constructor and single_constructor::single_constructor.
11504
115052017-03-16 Doug Evans <dje@google.com>
11506
11507 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11508 * gdb.guile/scm-lazy-string.c: New file.
11509 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11510 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11511 for pointer, array, typedef lazy strings.
11512
115132017-03-16 Doug Evans <dje@google.com>
11514
11515 PR python/17728, python/18439, python/18779
11516 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11517 * gdb.python/py-lazy-string.c (pointer): New typedef.
11518 (main): New locals ptr, array, typedef_ptr.
11519 * gdb.python/py-value.exp: Move lazy string tests to ...
11520 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11521 array, typedef lazy strings.
11522
115232017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11524
11525 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11526 Add optional 'test' parameter.
11527
115282017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11529
11530 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11531 Skip for versions of DejaGnu < 1.5.
11532
115332017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11534
11535 * lib/gdb.exp (dejagnu_version): New proc.
11536 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11537 Use dejagnu_version.
11538
115392017-03-10 Keith Seitz <keiths@redhat.com>
11540
11541 PR c++/8128
11542 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11543 type from destructor regexps.
11544 Add a branch which actually passes the test.
11545 Adjust "ptype t5i" test names.
11546
115472017-03-08 Pedro Alves <palves@redhat.com>
11548
11549 * gdb.base/step-over-exit.exp: Add explicit test message.
11550
115512017-03-08 Pedro Alves <palves@redhat.com>
11552
11553 PR gdb/18360
11554 * gdb.threads/interrupt-while-step-over.c: New file.
11555 * gdb.threads/interrupt-while-step-over.exp: New file.
11556
115572017-03-08 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11560 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11561
115622017-03-08 Pedro Alves <palves@redhat.com>
11563
11564 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11565 PKRU as not supported as a PASS.
11566
115672017-03-08 Pedro Alves <palves@redhat.com>
11568
11569 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11570 prefix instead of $binfile1/$binfile2.
11571 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11572 in test message.
11573 * gdb.python/py-completion.exp: Use "load python file" as test
11574 messages instead of unstable path names.
11575
115762017-03-08 Pedro Alves <palves@redhat.com>
11577 Jan Kratochvil <jan.kratochvil@redhat.com>
11578
11579 PR cli/21218
11580 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11581 New proc.
11582 (top level): Call it.
11583
115842017-03-08 Pedro Alves <palves@redhat.com>
11585
11586 PR tui/21216
11587 * gdb.tui/tui-nl-filtered-output.exp: New file.
11588
115892017-03-08 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.base/completion.exp: Move TUI completion tests to ...
11592 * gdb.tui/completion.exp: ... this new file.
11593
115942017-03-08 Pedro Alves <palves@redhat.com>
11595
11596 * gdb.base/tui-disasm-long-lines.c,
11597 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11598 gdb.base/tui-layout.exp: Move to ...
11599 * gdb.tui/: ... this new directory.
11600
116012017-03-07 Pedro Alves <palves@redhat.com>
11602
11603 * gdb.base/tui-layout.c: New file.
11604 * gdb.base/tui-layout.exp: New file.
11605
116062017-03-07 Pedro Alves <palves@redhat.com>
11607
11608 * gdb.base/tui-layout.c: Rename to ...
11609 * gdb.base/tui-disasm-long-lines.c: ... this.
11610 * gdb.base/tui-layout.exp: Rename to ...
11611 * gdb.base/tui-disasm-long-lines.exp: ... this.
11612
116132017-03-07 Pedro Alves <palves@redhat.com>
11614
11615 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11616
116172017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11618
11619 * i386-mpx-call.c: New file.
11620 * i386-mpx-call.exp: New file.
11621
116222017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11623
11624 * gdb.arch/powerpc-power.exp: Delete test.
11625 * gdb.arch/powerpc-power.s: Likewise.
11626 * gdb.disasm/disassembler-options.exp: New test.
11627 * gdb.arch/powerpc-altivec.exp: Likewise.
11628 * gdb.arch/powerpc-altivec.s: Likewise.
11629 * gdb.arch/powerpc-altivec2.exp: Likewise.
11630 * gdb.arch/powerpc-altivec2.s: Likewise.
11631 * gdb.arch/powerpc-altivec3.exp: Likewise.
11632 * gdb.arch/powerpc-altivec3.s: Likewise.
11633 * gdb.arch/powerpc-power7.exp: Likewise.
11634 * gdb.arch/powerpc-power7.s: Likewise.
11635 * gdb.arch/powerpc-power8.exp: Likewise.
11636 * gdb.arch/powerpc-power8.s: Likewise.
11637 * gdb.arch/powerpc-power9.exp: Likewise.
11638 * gdb.arch/powerpc-power9.s: Likewise.
11639 * gdb.arch/powerpc-vsx.exp: Likewise.
11640 * gdb.arch/powerpc-vsx.s: Likewise.
11641 * gdb.arch/powerpc-vsx2.exp: Likewise.
11642 * gdb.arch/powerpc-vsx2.s: Likewise.
11643 * gdb.arch/powerpc-vsx3.exp: Likewise.
11644 * gdb.arch/powerpc-vsx3.s: Likewise.
11645 * gdb.arch/arm-disassembler-options.exp: Likewise.
11646 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11647 * gdb.arch/s390-disassembler-options.exp: Likewise.
11648
116492017-02-23 Luis Machado <lgustavo@codesourcery.com>
11650
11651 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11652 (check_supported_features): ... this. Changed return type to void.
11653 (supports_rdseed): New static global.
11654 (rdseed): Check supports_rdseed.
11655 (initialize): Call check_supported_features.
11656
116572017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11658
11659 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11660 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11661 and lqarx/stqcx.
11662 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11663 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11664
116652017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11666
11667 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11668 uppercase.
11669
116702017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11671
11672 * gdb.dwarf2/formdata16.c: New file.
11673 * gdb.dwarf2/formdata16.exp: New file.
11674 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11675
116762017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11677
11678 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11679 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11680 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11681 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11682 DW_AT_GNU_*.
11683
116842017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11685
11686 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11687
116882017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11689
11690 PR gdb/21164
11691 * gdb.base/maint.exp: Add testcases for when the commands do
11692 not have arguments.
11693
116942017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11695
11696 * gdb.cp/chained-calls.exp: Use p instead of P.
11697
116982017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11699
11700 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11701 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11702
117032017-02-14 Tom Tromey <tom@tromey.com>
11704
11705 PR python/13598:
11706 * gdb.python/py-events.exp: Add before_prompt event tests.
11707
117082017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11709
11710 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11711
117122017-02-13 Luis Machado <lgustavo@codesourcery.com>
11713
11714 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11715 (main): Call my_unique_function_name.
11716 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11717 completion of patterns with a single match.
11718 Add missing -re switches to gdb_test_multiple calls.
11719
117202017-02-13 Luis Machado <lgustavo@codesourcery.com>
11721
11722 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11723 return if core file is not recognized.
11724
117252017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11726
11727 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11728 and extra UIs.
11729
117302017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11731
11732 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11733 proc_with_prefix.
11734
117352017-02-10 Tom Tromey <tom@tromey.com>
11736
11737 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11738
117392017-02-10 Martin Galvan <martingalvan@sourceware.org>
11740
11741 PR gdb/21122
11742 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11743
117442017-02-08 Jerome Guitton <guitton@adacore.com>
11745
11746 * gdb.base/define.exp: Add test for command abbreviations
11747 in define.
11748
117492017-02-06 Luis Machado <lgustavo@codesourcery.com>
11750
11751 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11752 * gdb.reverse/insn-reverse-x86.c: New file.
11753
117542017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11755
11756 PR tdep/20936
11757 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11758
117592017-02-03 Tom Tromey <tom@tromey.com>
11760
11761 PR rust/21097:
11762 * gdb.rust/simple.exp: Add new tests.
11763
117642017-02-02 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11767 tests.
11768
117692017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11770
11771 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11772 taking a 2-byte value out of a 4-byte DWARF implicit value on
11773 big-endian targets.
11774 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11775 logic. Add test cases for DW_OP_implicit.
11776
117772017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11778
11779 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11780
117812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11782
11783 * gdb.btrace/enable.exp: Call gdb_exit before
11784 skip_gdbserver_tests.
11785
117862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11787
11788 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11789 GDBFLAGS.
11790
117912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11792
11793 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11794 the test is skipped.
11795 * gdb.btrace/data.exp: Likewise.
11796 * gdb.btrace/delta.exp: Likewise.
11797 * gdb.btrace/dlopen.exp: Likewise.
11798 * gdb.btrace/enable-running.exp: Likewise.
11799 * gdb.btrace/enable.exp: Likewise.
11800 * gdb.btrace/exception.exp: Likewise.
11801 * gdb.btrace/function_call_history.exp: Likewise.
11802 * gdb.btrace/gcore.exp: Likewise.
11803 * gdb.btrace/instruction_history.exp: Likewise.
11804 * gdb.btrace/multi-thread-step.exp: Likewise.
11805 * gdb.btrace/nohist.exp: Likewise.
11806 * gdb.btrace/non-stop.exp: Likewise.
11807 * gdb.btrace/reconnect.exp: Likewise.
11808 * gdb.btrace/record_goto-step.exp: Likewise.
11809 * gdb.btrace/record_goto.exp: Likewise.
11810 * gdb.btrace/rn-dl-bind.exp: Likewise.
11811 * gdb.btrace/segv.exp: Likewise.
11812 * gdb.btrace/step.exp: Likewise.
11813 * gdb.btrace/stepi.exp: Likewise.
11814 * gdb.btrace/tailcall-only.exp: Likewise.
11815 * gdb.btrace/tailcall.exp: Likewise.
11816 * gdb.btrace/tsx.exp: Likewise.
11817 * gdb.btrace/unknown_functions.exp: Likewise.
11818 * gdb.btrace/vdso.exp: Likewise.
11819
118202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11821
11822 * gdb.btrace/enable-running.c: New.
11823 * gdb.btrace/enable-running.exp: New.
11824
118252017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11826
11827 * gdb.arch/amd64-gs_base.c: New file.
11828 * gdb.arch/amd64-gs_base.exp: New file.
11829
118302017-01-26 Luis Machado <lgustavo@codesourcery.com>
11831
11832 * lib/memory.exp: Remove spurious empty newlines.
11833
118342017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11835
11836 * gdb.python/py-bad-printers.exp: Load python file using "source".
11837 * gdb.python/py-events.exp: Likewise.
11838 * gdb.python/py-evsignal.exp: Likewise.
11839 * gdb.python/py-evthreads.exp: Likewise.
11840 * gdb.python/py-frame-args.exp: Likewise.
11841 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11842 * gdb.python/py-framefilter-mi.exp: Likewise.
11843 * gdb.python/py-framefilter.exp: Likewise.
11844 * gdb.python/py-mi.exp: Likewise.
11845 * gdb.python/py-pp-maint.exp: Likewise.
11846 * gdb.python/py-pp-registration.exp: Likewise.
11847 * gdb.python/py-prettyprint.exp: Likewise.
11848 (run_lang_tests): Likewise.
11849 * gdb.python/py-typeprint.exp: Likewise.
11850
118512017-01-26 Luis Machado <lgustavo@codesourcery.com>
11852
11853 * lib/memory.exp: New file.
11854 * lib/gdb.exp: Load memory.exp.
11855 * gdb.base/memattr.exp (delete_memory): Move proc to
11856 lib/memory.exp and rename to delete_memory_regions.
11857 Replace delete_memory with delete_memory_regions.
11858 Cleanup memory regions before tests.
11859 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11860 before tests.
11861
118622017-01-26 Luis Machado <lgustavo@codesourcery.com>
11863
11864 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11865 files.
11866 (initialize): New function conditionally defined.
11867 (testcases): Move within conditional block.
11868 (main): Call initialize.
11869 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11870 of gdb.reverse/insn-reverse.c.
11871 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11872 gdb.reverse/insn-reverse.c.
11873
118742017-01-26 Yao Qi <yao.qi@linaro.org>
11875
11876 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11877 disassemble on address 0.
11878
118792017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11880 Yao Qi <yao.qi@linaro.org>
11881
11882 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11883 * gdb.dwarf2/implptr-64bit.S: Remove.
11884 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11885 variables in caller's context. Add DW_OP_implicit_value.
11886
118872017-01-25 Yao Qi <yao.qi@linaro.org>
11888
11889 * lib/dwarf.exp (Dwarf::_location): Handle
11890 DW_OP_GNU_implicit_pointer with proper size.
11891
118922017-01-20 Luis Machado <lgustavo@codesourcery.com>
11893
11894 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11895 and add untested calls.
11896
118972017-01-20 Luis Machado <lgustavo@codesourcery.com>
11898
11899 * gdb.python/python.exp: Check line number against what GDB thinks
11900 the line number is for func1.
11901
119022017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11903
11904 * gdb.dlang/debug-expr.exp: New file.
11905
119062016-12-23 Luis Machado <lgustavo@codesourcery.com>
11907
11908 Fix test names for the following files:
11909
11910 * gdb.ada/exec_changed.exp
11911 * gdb.ada/info_types.exp
11912 * gdb.arch/aarch64-atomic-inst.exp
11913 * gdb.arch/aarch64-fp.exp
11914 * gdb.arch/altivec-abi.exp
11915 * gdb.arch/altivec-regs.exp
11916 * gdb.arch/amd64-byte.exp
11917 * gdb.arch/amd64-disp-step.exp
11918 * gdb.arch/amd64-dword.exp
11919 * gdb.arch/amd64-entry-value-inline.exp
11920 * gdb.arch/amd64-entry-value-param.exp
11921 * gdb.arch/amd64-entry-value-paramref.exp
11922 * gdb.arch/amd64-entry-value.exp
11923 * gdb.arch/amd64-i386-address.exp
11924 * gdb.arch/amd64-invalid-stack-middle.exp
11925 * gdb.arch/amd64-invalid-stack-top.exp
11926 * gdb.arch/amd64-optimout-repeat.exp
11927 * gdb.arch/amd64-prologue-skip.exp
11928 * gdb.arch/amd64-prologue-xmm.exp
11929 * gdb.arch/amd64-stap-special-operands.exp
11930 * gdb.arch/amd64-stap-wrong-subexp.exp
11931 * gdb.arch/amd64-tailcall-cxx.exp
11932 * gdb.arch/amd64-tailcall-noret.exp
11933 * gdb.arch/amd64-tailcall-ret.exp
11934 * gdb.arch/amd64-tailcall-self.exp
11935 * gdb.arch/amd64-word.exp
11936 * gdb.arch/arm-bl-branch-dest.exp
11937 * gdb.arch/arm-disp-step.exp
11938 * gdb.arch/arm-neon.exp
11939 * gdb.arch/arm-single-step-kernel-helper.exp
11940 * gdb.arch/avr-flash-qualifier.exp
11941 * gdb.arch/disp-step-insn-reloc.exp
11942 * gdb.arch/e500-abi.exp
11943 * gdb.arch/e500-regs.exp
11944 * gdb.arch/ftrace-insn-reloc.exp
11945 * gdb.arch/i386-avx512.exp
11946 * gdb.arch/i386-bp_permanent.exp
11947 * gdb.arch/i386-byte.exp
11948 * gdb.arch/i386-cfi-notcurrent.exp
11949 * gdb.arch/i386-disp-step.exp
11950 * gdb.arch/i386-dr3-watch.exp
11951 * gdb.arch/i386-float.exp
11952 * gdb.arch/i386-gnu-cfi.exp
11953 * gdb.arch/i386-mpx-map.exp
11954 * gdb.arch/i386-mpx-sigsegv.exp
11955 * gdb.arch/i386-mpx-simple_segv.exp
11956 * gdb.arch/i386-mpx.exp
11957 * gdb.arch/i386-permbkpt.exp
11958 * gdb.arch/i386-prologue.exp
11959 * gdb.arch/i386-signal.exp
11960 * gdb.arch/i386-size-overlap.exp
11961 * gdb.arch/i386-unwind.exp
11962 * gdb.arch/i386-word.exp
11963 * gdb.arch/mips-fcr.exp
11964 * gdb.arch/powerpc-d128-regs.exp
11965 * gdb.arch/powerpc-stackless.exp
11966 * gdb.arch/ppc64-atomic-inst.exp
11967 * gdb.arch/s390-stackless.exp
11968 * gdb.arch/s390-tdbregs.exp
11969 * gdb.arch/s390-vregs.exp
11970 * gdb.arch/sparc-sysstep.exp
11971 * gdb.arch/thumb-bx-pc.exp
11972 * gdb.arch/thumb-singlestep.exp
11973 * gdb.arch/thumb2-it.exp
11974 * gdb.arch/vsx-regs.exp
11975 * gdb.asm/asm-source.exp
11976 * gdb.base/a2-run.exp
11977 * gdb.base/advance.exp
11978 * gdb.base/all-bin.exp
11979 * gdb.base/anon.exp
11980 * gdb.base/args.exp
11981 * gdb.base/arithmet.exp
11982 * gdb.base/async-shell.exp
11983 * gdb.base/async.exp
11984 * gdb.base/attach-pie-noexec.exp
11985 * gdb.base/attach-twice.exp
11986 * gdb.base/auto-load.exp
11987 * gdb.base/bang.exp
11988 * gdb.base/bitfields.exp
11989 * gdb.base/break-always.exp
11990 * gdb.base/break-caller-line.exp
11991 * gdb.base/break-entry.exp
11992 * gdb.base/break-inline.exp
11993 * gdb.base/break-on-linker-gcd-function.exp
11994 * gdb.base/break-probes.exp
11995 * gdb.base/break.exp
11996 * gdb.base/breakpoint-shadow.exp
11997 * gdb.base/call-ar-st.exp
11998 * gdb.base/call-sc.exp
11999 * gdb.base/call-signal-resume.exp
12000 * gdb.base/call-strs.exp
12001 * gdb.base/callfuncs.exp
12002 * gdb.base/catch-fork-static.exp
12003 * gdb.base/catch-gdb-caused-signals.exp
12004 * gdb.base/catch-load.exp
12005 * gdb.base/catch-signal-fork.exp
12006 * gdb.base/catch-signal.exp
12007 * gdb.base/catch-syscall.exp
12008 * gdb.base/charset.exp
12009 * gdb.base/checkpoint.exp
12010 * gdb.base/chng-syms.exp
12011 * gdb.base/code-expr.exp
12012 * gdb.base/code_elim.exp
12013 * gdb.base/commands.exp
12014 * gdb.base/completion.exp
12015 * gdb.base/complex.exp
12016 * gdb.base/cond-expr.exp
12017 * gdb.base/condbreak.exp
12018 * gdb.base/consecutive.exp
12019 * gdb.base/continue-all-already-running.exp
12020 * gdb.base/coredump-filter.exp
12021 * gdb.base/corefile.exp
12022 * gdb.base/dbx.exp
12023 * gdb.base/debug-expr.exp
12024 * gdb.base/define.exp
12025 * gdb.base/del.exp
12026 * gdb.base/disabled-location.exp
12027 * gdb.base/disasm-end-cu.exp
12028 * gdb.base/disasm-optim.exp
12029 * gdb.base/display.exp
12030 * gdb.base/duplicate-bp.exp
12031 * gdb.base/ena-dis-br.exp
12032 * gdb.base/ending-run.exp
12033 * gdb.base/enumval.exp
12034 * gdb.base/environ.exp
12035 * gdb.base/eu-strip-infcall.exp
12036 * gdb.base/eval-avoid-side-effects.exp
12037 * gdb.base/eval-skip.exp
12038 * gdb.base/exitsignal.exp
12039 * gdb.base/expand-psymtabs.exp
12040 * gdb.base/filesym.exp
12041 * gdb.base/find-unmapped.exp
12042 * gdb.base/finish.exp
12043 * gdb.base/float.exp
12044 * gdb.base/foll-exec-mode.exp
12045 * gdb.base/foll-exec.exp
12046 * gdb.base/foll-fork.exp
12047 * gdb.base/fortran-sym-case.exp
12048 * gdb.base/freebpcmd.exp
12049 * gdb.base/func-ptr.exp
12050 * gdb.base/func-ptrs.exp
12051 * gdb.base/funcargs.exp
12052 * gdb.base/gcore-buffer-overflow.exp
12053 * gdb.base/gcore-relro-pie.exp
12054 * gdb.base/gcore-relro.exp
12055 * gdb.base/gcore.exp
12056 * gdb.base/gdb1090.exp
12057 * gdb.base/gdb11530.exp
12058 * gdb.base/gdb11531.exp
12059 * gdb.base/gdb1821.exp
12060 * gdb.base/gdbindex-stabs.exp
12061 * gdb.base/gdbvars.exp
12062 * gdb.base/hbreak.exp
12063 * gdb.base/hbreak2.exp
12064 * gdb.base/included.exp
12065 * gdb.base/infcall-input.exp
12066 * gdb.base/inferior-died.exp
12067 * gdb.base/infnan.exp
12068 * gdb.base/info-macros.exp
12069 * gdb.base/info-os.exp
12070 * gdb.base/info-proc.exp
12071 * gdb.base/info-shared.exp
12072 * gdb.base/info-target.exp
12073 * gdb.base/infoline.exp
12074 * gdb.base/interp.exp
12075 * gdb.base/interrupt.exp
12076 * gdb.base/jit-reader.exp
12077 * gdb.base/jit-simple.exp
12078 * gdb.base/kill-after-signal.exp
12079 * gdb.base/kill-detach-inferiors-cmd.exp
12080 * gdb.base/label.exp
12081 * gdb.base/langs.exp
12082 * gdb.base/ldbl_e308.exp
12083 * gdb.base/line-symtabs.exp
12084 * gdb.base/linespecs.exp
12085 * gdb.base/list.exp
12086 * gdb.base/long_long.exp
12087 * gdb.base/longest-types.exp
12088 * gdb.base/maint.exp
12089 * gdb.base/max-value-size.exp
12090 * gdb.base/memattr.exp
12091 * gdb.base/mips_pro.exp
12092 * gdb.base/morestack.exp
12093 * gdb.base/moribund-step.exp
12094 * gdb.base/multi-forks.exp
12095 * gdb.base/nested-addr.exp
12096 * gdb.base/nextoverexit.exp
12097 * gdb.base/noreturn-finish.exp
12098 * gdb.base/noreturn-return.exp
12099 * gdb.base/nostdlib.exp
12100 * gdb.base/offsets.exp
12101 * gdb.base/opaque.exp
12102 * gdb.base/pc-fp.exp
12103 * gdb.base/permissions.exp
12104 * gdb.base/print-symbol-loading.exp
12105 * gdb.base/prologue-include.exp
12106 * gdb.base/psymtab.exp
12107 * gdb.base/ptype.exp
12108 * gdb.base/random-signal.exp
12109 * gdb.base/randomize.exp
12110 * gdb.base/range-stepping.exp
12111 * gdb.base/readline-ask.exp
12112 * gdb.base/recpar.exp
12113 * gdb.base/recurse.exp
12114 * gdb.base/relational.exp
12115 * gdb.base/restore.exp
12116 * gdb.base/return-nodebug.exp
12117 * gdb.base/return.exp
12118 * gdb.base/run-after-attach.exp
12119 * gdb.base/save-bp.exp
12120 * gdb.base/scope.exp
12121 * gdb.base/sect-cmd.exp
12122 * gdb.base/set-lang-auto.exp
12123 * gdb.base/set-noassign.exp
12124 * gdb.base/setvar.exp
12125 * gdb.base/sigall.exp
12126 * gdb.base/sigbpt.exp
12127 * gdb.base/siginfo-addr.exp
12128 * gdb.base/siginfo-infcall.exp
12129 * gdb.base/siginfo-obj.exp
12130 * gdb.base/siginfo.exp
12131 * gdb.base/signals-state-child.exp
12132 * gdb.base/signest.exp
12133 * gdb.base/sigstep.exp
12134 * gdb.base/sizeof.exp
12135 * gdb.base/skip.exp
12136 * gdb.base/solib-corrupted.exp
12137 * gdb.base/solib-nodir.exp
12138 * gdb.base/solib-search.exp
12139 * gdb.base/stack-checking.exp
12140 * gdb.base/stale-infcall.exp
12141 * gdb.base/stap-probe.exp
12142 * gdb.base/start.exp
12143 * gdb.base/step-break.exp
12144 * gdb.base/step-bt.exp
12145 * gdb.base/step-line.exp
12146 * gdb.base/step-over-exit.exp
12147 * gdb.base/step-over-syscall.exp
12148 * gdb.base/step-resume-infcall.exp
12149 * gdb.base/step-test.exp
12150 * gdb.base/store.exp
12151 * gdb.base/structs3.exp
12152 * gdb.base/sym-file.exp
12153 * gdb.base/symbol-without-target_section.exp
12154 * gdb.base/term.exp
12155 * gdb.base/testenv.exp
12156 * gdb.base/ui-redirect.exp
12157 * gdb.base/until.exp
12158 * gdb.base/unwindonsignal.exp
12159 * gdb.base/value-double-free.exp
12160 * gdb.base/vla-datatypes.exp
12161 * gdb.base/vla-ptr.exp
12162 * gdb.base/vla-sideeffect.exp
12163 * gdb.base/volatile.exp
12164 * gdb.base/watch-cond-infcall.exp
12165 * gdb.base/watch-cond.exp
12166 * gdb.base/watch-non-mem.exp
12167 * gdb.base/watch-read.exp
12168 * gdb.base/watch-vfork.exp
12169 * gdb.base/watchpoint-cond-gone.exp
12170 * gdb.base/watchpoint-delete.exp
12171 * gdb.base/watchpoint-hw-hit-once.exp
12172 * gdb.base/watchpoint-hw.exp
12173 * gdb.base/watchpoint-stops-at-right-insn.exp
12174 * gdb.base/watchpoints.exp
12175 * gdb.base/wchar.exp
12176 * gdb.base/whatis-exp.exp
12177 * gdb.btrace/buffer-size.exp
12178 * gdb.btrace/data.exp
12179 * gdb.btrace/delta.exp
12180 * gdb.btrace/dlopen.exp
12181 * gdb.btrace/enable.exp
12182 * gdb.btrace/exception.exp
12183 * gdb.btrace/function_call_history.exp
12184 * gdb.btrace/gcore.exp
12185 * gdb.btrace/instruction_history.exp
12186 * gdb.btrace/nohist.exp
12187 * gdb.btrace/reconnect.exp
12188 * gdb.btrace/record_goto-step.exp
12189 * gdb.btrace/record_goto.exp
12190 * gdb.btrace/rn-dl-bind.exp
12191 * gdb.btrace/segv.exp
12192 * gdb.btrace/step.exp
12193 * gdb.btrace/stepi.exp
12194 * gdb.btrace/tailcall-only.exp
12195 * gdb.btrace/tailcall.exp
12196 * gdb.btrace/tsx.exp
12197 * gdb.btrace/unknown_functions.exp
12198 * gdb.btrace/vdso.exp
12199 * gdb.compile/compile-ifunc.exp
12200 * gdb.compile/compile-ops.exp
12201 * gdb.compile/compile-print.exp
12202 * gdb.compile/compile-setjmp.exp
12203 * gdb.cp/abstract-origin.exp
12204 * gdb.cp/ambiguous.exp
12205 * gdb.cp/annota2.exp
12206 * gdb.cp/annota3.exp
12207 * gdb.cp/anon-ns.exp
12208 * gdb.cp/anon-struct.exp
12209 * gdb.cp/anon-union.exp
12210 * gdb.cp/arg-reference.exp
12211 * gdb.cp/baseenum.exp
12212 * gdb.cp/bool.exp
12213 * gdb.cp/breakpoint.exp
12214 * gdb.cp/bs15503.exp
12215 * gdb.cp/call-c.exp
12216 * gdb.cp/casts.exp
12217 * gdb.cp/chained-calls.exp
12218 * gdb.cp/class2.exp
12219 * gdb.cp/classes.exp
12220 * gdb.cp/cmpd-minsyms.exp
12221 * gdb.cp/converts.exp
12222 * gdb.cp/cp-relocate.exp
12223 * gdb.cp/cpcompletion.exp
12224 * gdb.cp/cpexprs.exp
12225 * gdb.cp/cplabel.exp
12226 * gdb.cp/cplusfuncs.exp
12227 * gdb.cp/cpsizeof.exp
12228 * gdb.cp/ctti.exp
12229 * gdb.cp/derivation.exp
12230 * gdb.cp/destrprint.exp
12231 * gdb.cp/dispcxx.exp
12232 * gdb.cp/enum-class.exp
12233 * gdb.cp/exception.exp
12234 * gdb.cp/exceptprint.exp
12235 * gdb.cp/expand-psymtabs-cxx.exp
12236 * gdb.cp/expand-sals.exp
12237 * gdb.cp/extern-c.exp
12238 * gdb.cp/filename.exp
12239 * gdb.cp/formatted-ref.exp
12240 * gdb.cp/fpointer.exp
12241 * gdb.cp/gdb1355.exp
12242 * gdb.cp/gdb2495.exp
12243 * gdb.cp/hang.exp
12244 * gdb.cp/impl-this.exp
12245 * gdb.cp/infcall-dlopen.exp
12246 * gdb.cp/inherit.exp
12247 * gdb.cp/iostream.exp
12248 * gdb.cp/koenig.exp
12249 * gdb.cp/local.exp
12250 * gdb.cp/m-data.exp
12251 * gdb.cp/m-static.exp
12252 * gdb.cp/mb-ctor.exp
12253 * gdb.cp/mb-inline.exp
12254 * gdb.cp/mb-templates.exp
12255 * gdb.cp/member-name.exp
12256 * gdb.cp/member-ptr.exp
12257 * gdb.cp/meth-typedefs.exp
12258 * gdb.cp/method.exp
12259 * gdb.cp/method2.exp
12260 * gdb.cp/minsym-fallback.exp
12261 * gdb.cp/misc.exp
12262 * gdb.cp/namelessclass.exp
12263 * gdb.cp/namespace-enum.exp
12264 * gdb.cp/namespace-nested-import.exp
12265 * gdb.cp/namespace.exp
12266 * gdb.cp/nextoverthrow.exp
12267 * gdb.cp/no-dmgl-verbose.exp
12268 * gdb.cp/non-trivial-retval.exp
12269 * gdb.cp/noparam.exp
12270 * gdb.cp/nsdecl.exp
12271 * gdb.cp/nsimport.exp
12272 * gdb.cp/nsnested.exp
12273 * gdb.cp/nsnoimports.exp
12274 * gdb.cp/nsrecurs.exp
12275 * gdb.cp/nsstress.exp
12276 * gdb.cp/nsusing.exp
12277 * gdb.cp/operator.exp
12278 * gdb.cp/oranking.exp
12279 * gdb.cp/overload-const.exp
12280 * gdb.cp/overload.exp
12281 * gdb.cp/ovldbreak.exp
12282 * gdb.cp/ovsrch.exp
12283 * gdb.cp/paren-type.exp
12284 * gdb.cp/parse-lang.exp
12285 * gdb.cp/pass-by-ref.exp
12286 * gdb.cp/pr-1023.exp
12287 * gdb.cp/pr-1210.exp
12288 * gdb.cp/pr-574.exp
12289 * gdb.cp/pr10687.exp
12290 * gdb.cp/pr12028.exp
12291 * gdb.cp/pr17132.exp
12292 * gdb.cp/pr17494.exp
12293 * gdb.cp/pr9067.exp
12294 * gdb.cp/pr9167.exp
12295 * gdb.cp/pr9631.exp
12296 * gdb.cp/printmethod.exp
12297 * gdb.cp/psmang.exp
12298 * gdb.cp/psymtab-parameter.exp
12299 * gdb.cp/ptype-cv-cp.exp
12300 * gdb.cp/ptype-flags.exp
12301 * gdb.cp/re-set-overloaded.exp
12302 * gdb.cp/ref-types.exp
12303 * gdb.cp/rtti.exp
12304 * gdb.cp/scope-err.exp
12305 * gdb.cp/shadow.exp
12306 * gdb.cp/smartp.exp
12307 * gdb.cp/static-method.exp
12308 * gdb.cp/static-print-quit.exp
12309 * gdb.cp/temargs.exp
12310 * gdb.cp/templates.exp
12311 * gdb.cp/try_catch.exp
12312 * gdb.cp/typedef-operator.exp
12313 * gdb.cp/typeid.exp
12314 * gdb.cp/userdef.exp
12315 * gdb.cp/using-crash.exp
12316 * gdb.cp/var-tag.exp
12317 * gdb.cp/virtbase.exp
12318 * gdb.cp/virtfunc.exp
12319 * gdb.cp/virtfunc2.exp
12320 * gdb.cp/vla-cxx.exp
12321 * gdb.disasm/t01_mov.exp
12322 * gdb.disasm/t02_mova.exp
12323 * gdb.disasm/t03_add.exp
12324 * gdb.disasm/t04_sub.exp
12325 * gdb.disasm/t05_cmp.exp
12326 * gdb.disasm/t06_ari2.exp
12327 * gdb.disasm/t07_ari3.exp
12328 * gdb.disasm/t08_or.exp
12329 * gdb.disasm/t09_xor.exp
12330 * gdb.disasm/t10_and.exp
12331 * gdb.disasm/t11_logs.exp
12332 * gdb.disasm/t12_bit.exp
12333 * gdb.disasm/t13_otr.exp
12334 * gdb.dlang/circular.exp
12335 * gdb.dwarf2/arr-stride.exp
12336 * gdb.dwarf2/arr-subrange.exp
12337 * gdb.dwarf2/atomic-type.exp
12338 * gdb.dwarf2/bad-regnum.exp
12339 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12340 * gdb.dwarf2/callframecfa.exp
12341 * gdb.dwarf2/clztest.exp
12342 * gdb.dwarf2/corrupt.exp
12343 * gdb.dwarf2/data-loc.exp
12344 * gdb.dwarf2/dup-psym.exp
12345 * gdb.dwarf2/dw2-anon-mptr.exp
12346 * gdb.dwarf2/dw2-anonymous-func.exp
12347 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12348 * gdb.dwarf2/dw2-bad-unresolved.exp
12349 * gdb.dwarf2/dw2-basic.exp
12350 * gdb.dwarf2/dw2-canonicalize-type.exp
12351 * gdb.dwarf2/dw2-case-insensitive.exp
12352 * gdb.dwarf2/dw2-common-block.exp
12353 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12354 * gdb.dwarf2/dw2-compressed.exp
12355 * gdb.dwarf2/dw2-const.exp
12356 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12357 * gdb.dwarf2/dw2-cu-size.exp
12358 * gdb.dwarf2/dw2-dup-frame.exp
12359 * gdb.dwarf2/dw2-entry-value.exp
12360 * gdb.dwarf2/dw2-icycle.exp
12361 * gdb.dwarf2/dw2-ifort-parameter.exp
12362 * gdb.dwarf2/dw2-inline-break.exp
12363 * gdb.dwarf2/dw2-inline-param.exp
12364 * gdb.dwarf2/dw2-intercu.exp
12365 * gdb.dwarf2/dw2-intermix.exp
12366 * gdb.dwarf2/dw2-lexical-block-bare.exp
12367 * gdb.dwarf2/dw2-linkage-name-trust.exp
12368 * gdb.dwarf2/dw2-minsym-in-cu.exp
12369 * gdb.dwarf2/dw2-noloc.exp
12370 * gdb.dwarf2/dw2-op-call.exp
12371 * gdb.dwarf2/dw2-op-out-param.exp
12372 * gdb.dwarf2/dw2-opt-structptr.exp
12373 * gdb.dwarf2/dw2-param-error.exp
12374 * gdb.dwarf2/dw2-producer.exp
12375 * gdb.dwarf2/dw2-ranges-base.exp
12376 * gdb.dwarf2/dw2-ref-missing-frame.exp
12377 * gdb.dwarf2/dw2-reg-undefined.exp
12378 * gdb.dwarf2/dw2-regno-invalid.exp
12379 * gdb.dwarf2/dw2-restore.exp
12380 * gdb.dwarf2/dw2-restrict.exp
12381 * gdb.dwarf2/dw2-single-line-discriminators.exp
12382 * gdb.dwarf2/dw2-strp.exp
12383 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12384 * gdb.dwarf2/dw2-unresolved.exp
12385 * gdb.dwarf2/dw2-var-zero-addr.exp
12386 * gdb.dwarf2/dw4-sig-types.exp
12387 * gdb.dwarf2/dwz.exp
12388 * gdb.dwarf2/dynarr-ptr.exp
12389 * gdb.dwarf2/enum-type.exp
12390 * gdb.dwarf2/gdb-index.exp
12391 * gdb.dwarf2/implptr-64bit.exp
12392 * gdb.dwarf2/implptr-optimized-out.exp
12393 * gdb.dwarf2/implptr.exp
12394 * gdb.dwarf2/implref-array.exp
12395 * gdb.dwarf2/implref-const.exp
12396 * gdb.dwarf2/implref-global.exp
12397 * gdb.dwarf2/implref-struct.exp
12398 * gdb.dwarf2/mac-fileno.exp
12399 * gdb.dwarf2/main-subprogram.exp
12400 * gdb.dwarf2/member-ptr-forwardref.exp
12401 * gdb.dwarf2/method-ptr.exp
12402 * gdb.dwarf2/missing-sig-type.exp
12403 * gdb.dwarf2/nonvar-access.exp
12404 * gdb.dwarf2/opaque-type-lookup.exp
12405 * gdb.dwarf2/pieces-optimized-out.exp
12406 * gdb.dwarf2/pieces.exp
12407 * gdb.dwarf2/pr10770.exp
12408 * gdb.dwarf2/pr13961.exp
12409 * gdb.dwarf2/staticvirtual.exp
12410 * gdb.dwarf2/subrange.exp
12411 * gdb.dwarf2/symtab-producer.exp
12412 * gdb.dwarf2/trace-crash.exp
12413 * gdb.dwarf2/typeddwarf.exp
12414 * gdb.dwarf2/valop.exp
12415 * gdb.dwarf2/watch-notconst.exp
12416 * gdb.fortran/array-element.exp
12417 * gdb.fortran/charset.exp
12418 * gdb.fortran/common-block.exp
12419 * gdb.fortran/complex.exp
12420 * gdb.fortran/derived-type-function.exp
12421 * gdb.fortran/derived-type.exp
12422 * gdb.fortran/logical.exp
12423 * gdb.fortran/module.exp
12424 * gdb.fortran/multi-dim.exp
12425 * gdb.fortran/nested-funcs.exp
12426 * gdb.fortran/print-formatted.exp
12427 * gdb.fortran/subarray.exp
12428 * gdb.fortran/vla-alloc-assoc.exp
12429 * gdb.fortran/vla-datatypes.exp
12430 * gdb.fortran/vla-history.exp
12431 * gdb.fortran/vla-ptr-info.exp
12432 * gdb.fortran/vla-ptype-sub.exp
12433 * gdb.fortran/vla-ptype.exp
12434 * gdb.fortran/vla-sizeof.exp
12435 * gdb.fortran/vla-type.exp
12436 * gdb.fortran/vla-value-sub-arbitrary.exp
12437 * gdb.fortran/vla-value-sub-finish.exp
12438 * gdb.fortran/vla-value-sub.exp
12439 * gdb.fortran/vla-value.exp
12440 * gdb.fortran/whatis_type.exp
12441 * gdb.go/chan.exp
12442 * gdb.go/handcall.exp
12443 * gdb.go/hello.exp
12444 * gdb.go/integers.exp
12445 * gdb.go/methods.exp
12446 * gdb.go/package.exp
12447 * gdb.go/strings.exp
12448 * gdb.go/types.exp
12449 * gdb.go/unsafe.exp
12450 * gdb.guile/scm-arch.exp
12451 * gdb.guile/scm-block.exp
12452 * gdb.guile/scm-breakpoint.exp
12453 * gdb.guile/scm-cmd.exp
12454 * gdb.guile/scm-disasm.exp
12455 * gdb.guile/scm-equal.exp
12456 * gdb.guile/scm-frame-args.exp
12457 * gdb.guile/scm-frame-inline.exp
12458 * gdb.guile/scm-frame.exp
12459 * gdb.guile/scm-iterator.exp
12460 * gdb.guile/scm-math.exp
12461 * gdb.guile/scm-objfile.exp
12462 * gdb.guile/scm-ports.exp
12463 * gdb.guile/scm-symbol.exp
12464 * gdb.guile/scm-symtab.exp
12465 * gdb.guile/scm-value-cc.exp
12466 * gdb.guile/types-module.exp
12467 * gdb.linespec/break-ask.exp
12468 * gdb.linespec/cpexplicit.exp
12469 * gdb.linespec/explicit.exp
12470 * gdb.linespec/keywords.exp
12471 * gdb.linespec/linespec.exp
12472 * gdb.linespec/ls-dollar.exp
12473 * gdb.linespec/ls-errs.exp
12474 * gdb.linespec/skip-two.exp
12475 * gdb.linespec/thread.exp
12476 * gdb.mi/mi-async.exp
12477 * gdb.mi/mi-basics.exp
12478 * gdb.mi/mi-break.exp
12479 * gdb.mi/mi-catch-load.exp
12480 * gdb.mi/mi-cli.exp
12481 * gdb.mi/mi-cmd-param-changed.exp
12482 * gdb.mi/mi-console.exp
12483 * gdb.mi/mi-detach.exp
12484 * gdb.mi/mi-disassemble.exp
12485 * gdb.mi/mi-eval.exp
12486 * gdb.mi/mi-file-transfer.exp
12487 * gdb.mi/mi-file.exp
12488 * gdb.mi/mi-fill-memory.exp
12489 * gdb.mi/mi-inheritance-syntax-error.exp
12490 * gdb.mi/mi-linespec-err-cp.exp
12491 * gdb.mi/mi-logging.exp
12492 * gdb.mi/mi-memory-changed.exp
12493 * gdb.mi/mi-read-memory.exp
12494 * gdb.mi/mi-record-changed.exp
12495 * gdb.mi/mi-reg-undefined.exp
12496 * gdb.mi/mi-regs.exp
12497 * gdb.mi/mi-return.exp
12498 * gdb.mi/mi-reverse.exp
12499 * gdb.mi/mi-simplerun.exp
12500 * gdb.mi/mi-solib.exp
12501 * gdb.mi/mi-stack.exp
12502 * gdb.mi/mi-stepi.exp
12503 * gdb.mi/mi-syn-frame.exp
12504 * gdb.mi/mi-until.exp
12505 * gdb.mi/mi-var-block.exp
12506 * gdb.mi/mi-var-child.exp
12507 * gdb.mi/mi-var-cmd.exp
12508 * gdb.mi/mi-var-cp.exp
12509 * gdb.mi/mi-var-display.exp
12510 * gdb.mi/mi-var-invalidate.exp
12511 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12512 * gdb.mi/mi-vla-fortran.exp
12513 * gdb.mi/mi-watch.exp
12514 * gdb.mi/mi2-var-child.exp
12515 * gdb.mi/user-selected-context-sync.exp
12516 * gdb.modula2/unbounded-array.exp
12517 * gdb.multi/dummy-frame-restore.exp
12518 * gdb.multi/multi-arch-exec.exp
12519 * gdb.multi/multi-arch.exp
12520 * gdb.multi/tids.exp
12521 * gdb.multi/watchpoint-multi.exp
12522 * gdb.opencl/callfuncs.exp
12523 * gdb.opencl/convs_casts.exp
12524 * gdb.opencl/datatypes.exp
12525 * gdb.opencl/operators.exp
12526 * gdb.opencl/vec_comps.exp
12527 * gdb.opt/clobbered-registers-O2.exp
12528 * gdb.opt/inline-break.exp
12529 * gdb.opt/inline-bt.exp
12530 * gdb.opt/inline-cmds.exp
12531 * gdb.opt/inline-locals.exp
12532 * gdb.pascal/case-insensitive-symbols.exp
12533 * gdb.pascal/floats.exp
12534 * gdb.pascal/gdb11492.exp
12535 * gdb.python/lib-types.exp
12536 * gdb.python/py-arch.exp
12537 * gdb.python/py-as-string.exp
12538 * gdb.python/py-bad-printers.exp
12539 * gdb.python/py-block.exp
12540 * gdb.python/py-breakpoint-create-fail.exp
12541 * gdb.python/py-breakpoint.exp
12542 * gdb.python/py-caller-is.exp
12543 * gdb.python/py-cmd.exp
12544 * gdb.python/py-explore-cc.exp
12545 * gdb.python/py-explore.exp
12546 * gdb.python/py-finish-breakpoint.exp
12547 * gdb.python/py-finish-breakpoint2.exp
12548 * gdb.python/py-frame-args.exp
12549 * gdb.python/py-frame-inline.exp
12550 * gdb.python/py-frame.exp
12551 * gdb.python/py-framefilter-mi.exp
12552 * gdb.python/py-infthread.exp
12553 * gdb.python/py-lazy-string.exp
12554 * gdb.python/py-linetable.exp
12555 * gdb.python/py-mi-events.exp
12556 * gdb.python/py-mi-objfile.exp
12557 * gdb.python/py-mi.exp
12558 * gdb.python/py-objfile.exp
12559 * gdb.python/py-pp-integral.exp
12560 * gdb.python/py-pp-maint.exp
12561 * gdb.python/py-pp-re-notag.exp
12562 * gdb.python/py-pp-registration.exp
12563 * gdb.python/py-recurse-unwind.exp
12564 * gdb.python/py-strfns.exp
12565 * gdb.python/py-symbol.exp
12566 * gdb.python/py-symtab.exp
12567 * gdb.python/py-sync-interp.exp
12568 * gdb.python/py-typeprint.exp
12569 * gdb.python/py-unwind-maint.exp
12570 * gdb.python/py-unwind.exp
12571 * gdb.python/py-value-cc.exp
12572 * gdb.python/py-xmethods.exp
12573 * gdb.reverse/amd64-tailcall-reverse.exp
12574 * gdb.reverse/break-precsave.exp
12575 * gdb.reverse/break-reverse.exp
12576 * gdb.reverse/consecutive-precsave.exp
12577 * gdb.reverse/consecutive-reverse.exp
12578 * gdb.reverse/finish-precsave.exp
12579 * gdb.reverse/finish-reverse-bkpt.exp
12580 * gdb.reverse/finish-reverse.exp
12581 * gdb.reverse/fstatat-reverse.exp
12582 * gdb.reverse/getresuid-reverse.exp
12583 * gdb.reverse/i386-precsave.exp
12584 * gdb.reverse/i386-reverse.exp
12585 * gdb.reverse/i386-sse-reverse.exp
12586 * gdb.reverse/i387-env-reverse.exp
12587 * gdb.reverse/i387-stack-reverse.exp
12588 * gdb.reverse/insn-reverse.exp
12589 * gdb.reverse/machinestate-precsave.exp
12590 * gdb.reverse/machinestate.exp
12591 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12592 * gdb.reverse/pipe-reverse.exp
12593 * gdb.reverse/readv-reverse.exp
12594 * gdb.reverse/recvmsg-reverse.exp
12595 * gdb.reverse/rerun-prec.exp
12596 * gdb.reverse/s390-mvcle.exp
12597 * gdb.reverse/step-precsave.exp
12598 * gdb.reverse/step-reverse.exp
12599 * gdb.reverse/time-reverse.exp
12600 * gdb.reverse/until-precsave.exp
12601 * gdb.reverse/until-reverse.exp
12602 * gdb.reverse/waitpid-reverse.exp
12603 * gdb.reverse/watch-precsave.exp
12604 * gdb.reverse/watch-reverse.exp
12605 * gdb.rust/generics.exp
12606 * gdb.rust/methods.exp
12607 * gdb.rust/modules.exp
12608 * gdb.rust/simple.exp
12609 * gdb.server/connect-with-no-symbol-file.exp
12610 * gdb.server/ext-attach.exp
12611 * gdb.server/ext-restart.exp
12612 * gdb.server/ext-wrapper.exp
12613 * gdb.server/file-transfer.exp
12614 * gdb.server/server-exec-info.exp
12615 * gdb.server/server-kill.exp
12616 * gdb.server/server-mon.exp
12617 * gdb.server/wrapper.exp
12618 * gdb.stabs/exclfwd.exp
12619 * gdb.stabs/gdb11479.exp
12620 * gdb.threads/clone-new-thread-event.exp
12621 * gdb.threads/corethreads.exp
12622 * gdb.threads/current-lwp-dead.exp
12623 * gdb.threads/dlopen-libpthread.exp
12624 * gdb.threads/gcore-thread.exp
12625 * gdb.threads/sigstep-threads.exp
12626 * gdb.threads/watchpoint-fork.exp
12627 * gdb.trace/actions-changed.exp
12628 * gdb.trace/backtrace.exp
12629 * gdb.trace/change-loc.exp
12630 * gdb.trace/circ.exp
12631 * gdb.trace/collection.exp
12632 * gdb.trace/disconnected-tracing.exp
12633 * gdb.trace/ftrace.exp
12634 * gdb.trace/mi-trace-frame-collected.exp
12635 * gdb.trace/mi-trace-unavailable.exp
12636 * gdb.trace/mi-traceframe-changed.exp
12637 * gdb.trace/mi-tsv-changed.exp
12638 * gdb.trace/no-attach-trace.exp
12639 * gdb.trace/passc-dyn.exp
12640 * gdb.trace/qtro.exp
12641 * gdb.trace/range-stepping.exp
12642 * gdb.trace/read-memory.exp
12643 * gdb.trace/save-trace.exp
12644 * gdb.trace/signal.exp
12645 * gdb.trace/status-stop.exp
12646 * gdb.trace/tfile.exp
12647 * gdb.trace/trace-break.exp
12648 * gdb.trace/trace-buffer-size.exp
12649 * gdb.trace/trace-condition.exp
12650 * gdb.trace/tracefile-pseudo-reg.exp
12651 * gdb.trace/tstatus.exp
12652 * gdb.trace/unavailable.exp
12653 * gdb.trace/while-dyn.exp
12654 * gdb.trace/while-stepping.exp
12655
126562016-12-22 Doug Evans <xdje42@gmail.com>
12657
12658 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12659 and msymbols.
12660
126612016-12-19 Yao Qi <yao.qi@linaro.org>
12662
12663 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12664 (test_with_self): Don't call do_steps_and_nexts, and remove
12665 code about stepping into xmalloc.
12666
126672016-12-09 Yao Qi <yao.qi@linaro.org>
12668
12669 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12670
126712016-12-09 Yao Qi <yao.qi@linaro.org>
12672
12673 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12674
126752016-12-09 Pedro Alves <palves@redhat.com>
12676
12677 * gdb.base/all-architectures-0.exp: New file.
12678 * gdb.base/all-architectures-1.exp: New file.
12679 * gdb.base/all-architectures-2.exp: New file.
12680 * gdb.base/all-architectures-3.exp: New file.
12681 * gdb.base/all-architectures-4.exp: New file.
12682 * gdb.base/all-architectures-5.exp: New file.
12683 * gdb.base/all-architectures-6.exp: New file.
12684 * gdb.base/all-architectures-7.exp: New file.
12685 * gdb.base/all-architectures.exp.in: New file.
12686
126872016-12-09 Yao Qi <yao.qi@linaro.org>
12688
12689 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12690
126912016-12-02 Luis Machado <lgustavo@codesourcery.com>
12692
12693 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12694 possible.
12695 Remove useless pattern-matching code.
12696
126972016-12-02 Pedro Alves <palves@redhat.com>
12698
12699 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12700 procedure.
12701 (top level): Call it.
12702
127032016-12-02 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12706 New procedure.
12707 (top level): Call it.
12708
127092016-12-02 Pedro Alves <palves@redhat.com>
12710
12711 PR cli/20559
12712 * gdb.base/commands.exp (user_defined_command_args_eval): New
12713 procedure.
12714 (top level): Call it.
12715
127162016-12-02 Luis Machado <lgustavo@codesourcery.com>
12717
12718 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12719 timeout handling.
12720
127212016-12-02 Tom Tromey <tom@tromey.com>
12722
12723 * gdb.dwarf2/main-subprogram.c: New file.
12724 * gdb.dwarf2/main-subprogram.exp: New file.
12725
127262016-12-01 Luis Machado <lgustavo@codesourcery.com>
12727
12728 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12729 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12730 gdb_test_no_output for a couple of cases.
12731 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12732
127332016-12-01 Luis Machado <lgustavo@codesourcery.com>
12734
12735 Fix test names and standardize compilation error messages throughout
12736 the following files:
12737
12738 * gdb.ada/start.exp
12739 * gdb.arch/alpha-step.exp
12740 * gdb.arch/e500-prologue.exp
12741 * gdb.arch/ftrace-insn-reloc.exp
12742 * gdb.arch/gdb1291.exp
12743 * gdb.arch/gdb1431.exp
12744 * gdb.arch/gdb1558.exp
12745 * gdb.arch/i386-dr3-watch.exp
12746 * gdb.arch/i386-sse-stack-align.exp
12747 * gdb.arch/ia64-breakpoint-shadow.exp
12748 * gdb.arch/pa-nullify.exp
12749 * gdb.arch/powerpc-aix-prologue.exp
12750 * gdb.arch/thumb-bx-pc.exp
12751 * gdb.base/annota1.exp
12752 * gdb.base/annota3.exp
12753 * gdb.base/arrayidx.exp
12754 * gdb.base/assign.exp
12755 * gdb.base/attach.exp
12756 * gdb.base/auxv.exp
12757 * gdb.base/bang.exp
12758 * gdb.base/bfp-test.exp
12759 * gdb.base/bigcore.exp
12760 * gdb.base/bitfields2.exp
12761 * gdb.base/break-fun-addr.exp
12762 * gdb.base/break-probes.exp
12763 * gdb.base/call-rt-st.exp
12764 * gdb.base/callexit.exp
12765 * gdb.base/catch-fork-kill.exp
12766 * gdb.base/charset.exp
12767 * gdb.base/checkpoint.exp
12768 * gdb.base/comprdebug.exp
12769 * gdb.base/constvars.exp
12770 * gdb.base/coredump-filter.exp
12771 * gdb.base/cursal.exp
12772 * gdb.base/cvexpr.exp
12773 * gdb.base/detach.exp
12774 * gdb.base/display.exp
12775 * gdb.base/dmsym.exp
12776 * gdb.base/dprintf-pending.exp
12777 * gdb.base/dso2dso.exp
12778 * gdb.base/dtrace-probe.exp
12779 * gdb.base/dump.exp
12780 * gdb.base/enum_cond.exp
12781 * gdb.base/exe-lock.exp
12782 * gdb.base/exec-invalid-sysroot.exp
12783 * gdb.base/execl-update-breakpoints.exp
12784 * gdb.base/exprs.exp
12785 * gdb.base/fileio.exp
12786 * gdb.base/find.exp
12787 * gdb.base/finish.exp
12788 * gdb.base/fixsection.exp
12789 * gdb.base/foll-vfork.exp
12790 * gdb.base/frame-args.exp
12791 * gdb.base/gcore.exp
12792 * gdb.base/gdb1250.exp
12793 * gdb.base/global-var-nested-by-dso.exp
12794 * gdb.base/gnu-ifunc.exp
12795 * gdb.base/hashline1.exp
12796 * gdb.base/hashline2.exp
12797 * gdb.base/hashline3.exp
12798 * gdb.base/hbreak-in-shr-unsupported.exp
12799 * gdb.base/huge.exp
12800 * gdb.base/infcall-input.exp
12801 * gdb.base/info-fun.exp
12802 * gdb.base/info-shared.exp
12803 * gdb.base/jit-simple.exp
12804 * gdb.base/jit-so.exp
12805 * gdb.base/jit.exp
12806 * gdb.base/jump.exp
12807 * gdb.base/label.exp
12808 * gdb.base/lineinc.exp
12809 * gdb.base/logical.exp
12810 * gdb.base/longjmp.exp
12811 * gdb.base/macscp.exp
12812 * gdb.base/miscexprs.exp
12813 * gdb.base/new-ui-echo.exp
12814 * gdb.base/new-ui-pending-input.exp
12815 * gdb.base/new-ui.exp
12816 * gdb.base/nodebug.exp
12817 * gdb.base/nofield.exp
12818 * gdb.base/offsets.exp
12819 * gdb.base/overlays.exp
12820 * gdb.base/pending.exp
12821 * gdb.base/pointers.exp
12822 * gdb.base/pr11022.exp
12823 * gdb.base/printcmds.exp
12824 * gdb.base/prologue.exp
12825 * gdb.base/ptr-typedef.exp
12826 * gdb.base/realname-expand.exp
12827 * gdb.base/relativedebug.exp
12828 * gdb.base/relocate.exp
12829 * gdb.base/remote.exp
12830 * gdb.base/reread.exp
12831 * gdb.base/return2.exp
12832 * gdb.base/savedregs.exp
12833 * gdb.base/sep.exp
12834 * gdb.base/sepdebug.exp
12835 * gdb.base/sepsymtab.exp
12836 * gdb.base/set-inferior-tty.exp
12837 * gdb.base/setshow.exp
12838 * gdb.base/shlib-call.exp
12839 * gdb.base/sigaltstack.exp
12840 * gdb.base/siginfo-addr.exp
12841 * gdb.base/signals.exp
12842 * gdb.base/signull.exp
12843 * gdb.base/sigrepeat.exp
12844 * gdb.base/so-impl-ld.exp
12845 * gdb.base/solib-display.exp
12846 * gdb.base/solib-overlap.exp
12847 * gdb.base/solib-search.exp
12848 * gdb.base/solib-symbol.exp
12849 * gdb.base/structs.exp
12850 * gdb.base/structs2.exp
12851 * gdb.base/symtab-search-order.exp
12852 * gdb.base/twice.exp
12853 * gdb.base/unload.exp
12854 * gdb.base/varargs.exp
12855 * gdb.base/watchpoint-solib.exp
12856 * gdb.base/watchpoint.exp
12857 * gdb.base/whatis.exp
12858 * gdb.base/wrong_frame_bt_full.exp
12859 * gdb.btrace/dlopen.exp
12860 * gdb.cell/ea-standalone.exp
12861 * gdb.cell/ea-test.exp
12862 * gdb.cp/dispcxx.exp
12863 * gdb.cp/gdb2384.exp
12864 * gdb.cp/method2.exp
12865 * gdb.cp/nextoverthrow.exp
12866 * gdb.cp/pr10728.exp
12867 * gdb.disasm/am33.exp
12868 * gdb.disasm/h8300s.exp
12869 * gdb.disasm/mn10300.exp
12870 * gdb.disasm/sh3.exp
12871 * gdb.dwarf2/dw2-dir-file-name.exp
12872 * gdb.fortran/complex.exp
12873 * gdb.fortran/library-module.exp
12874 * gdb.guile/scm-pretty-print.exp
12875 * gdb.guile/scm-symbol.exp
12876 * gdb.guile/scm-type.exp
12877 * gdb.guile/scm-value.exp
12878 * gdb.linespec/linespec.exp
12879 * gdb.mi/gdb701.exp
12880 * gdb.mi/gdb792.exp
12881 * gdb.mi/mi-breakpoint-changed.exp
12882 * gdb.mi/mi-dprintf-pending.exp
12883 * gdb.mi/mi-dprintf.exp
12884 * gdb.mi/mi-exit-code.exp
12885 * gdb.mi/mi-pending.exp
12886 * gdb.mi/mi-solib.exp
12887 * gdb.mi/new-ui-mi-sync.exp
12888 * gdb.mi/pr11022.exp
12889 * gdb.mi/user-selected-context-sync.exp
12890 * gdb.opt/solib-intra-step.exp
12891 * gdb.python/py-events.exp
12892 * gdb.python/py-finish-breakpoint.exp
12893 * gdb.python/py-mi.exp
12894 * gdb.python/py-prettyprint.exp
12895 * gdb.python/py-shared.exp
12896 * gdb.python/py-symbol.exp
12897 * gdb.python/py-template.exp
12898 * gdb.python/py-type.exp
12899 * gdb.python/py-value.exp
12900 * gdb.reverse/solib-precsave.exp
12901 * gdb.reverse/solib-reverse.exp
12902 * gdb.server/solib-list.exp
12903 * gdb.stabs/weird.exp
12904 * gdb.threads/reconnect-signal.exp
12905 * gdb.threads/stepi-random-signal.exp
12906 * gdb.trace/actions.exp
12907 * gdb.trace/ax.exp
12908 * gdb.trace/backtrace.exp
12909 * gdb.trace/change-loc.exp
12910 * gdb.trace/deltrace.exp
12911 * gdb.trace/ftrace-lock.exp
12912 * gdb.trace/ftrace.exp
12913 * gdb.trace/infotrace.exp
12914 * gdb.trace/mi-tracepoint-changed.exp
12915 * gdb.trace/packetlen.exp
12916 * gdb.trace/passcount.exp
12917 * gdb.trace/pending.exp
12918 * gdb.trace/range-stepping.exp
12919 * gdb.trace/report.exp
12920 * gdb.trace/stap-trace.exp
12921 * gdb.trace/tfind.exp
12922 * gdb.trace/trace-break.exp
12923 * gdb.trace/trace-condition.exp
12924 * gdb.trace/trace-enable-disable.exp
12925 * gdb.trace/trace-mt.exp
12926 * gdb.trace/tracecmd.exp
12927 * gdb.trace/tspeed.exp
12928 * gdb.trace/tsv.exp
12929 * lib/perftest.exp
12930
129312016-12-01 Luis Machado <lgustavo@codesourcery.com>
12932
12933 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12934 with gdb_test_no_output.
12935 Use command as test name.
12936
129372016-12-01 Luis Machado <lgustavo@codesourcery.com>
12938
12939 Fix test names starting with uppercase throughout the files.
12940
12941 * gdb.ada/assign_1.exp
12942 * gdb.ada/boolean_expr.exp
12943 * gdb.base/arrayidx.exp
12944 * gdb.base/del.exp
12945 * gdb.base/gcore-buffer-overflow.exp
12946 * gdb.base/testenv.exp
12947 * gdb.compile/compile.exp
12948 * gdb.python/py-framefilter-invalidarg.exp
12949 * gdb.python/py-framefilter.exp
12950
129512016-12-01 Luis Machado <lgustavo@codesourcery.com>
12952
12953 Fix test names starting with uppercase throughout the files.
12954
12955 * gdb.ada/array_return.exp
12956 * gdb.ada/expr_delims.exp
12957 * gdb.ada/mi_dyn_arr.exp
12958 * gdb.ada/mi_interface.exp
12959 * gdb.ada/mi_var_array.exp
12960 * gdb.ada/watch_arg.exp
12961 * gdb.arch/alpha-step.exp
12962 * gdb.arch/altivec-regs.exp
12963 * gdb.arch/e500-regs.exp
12964 * gdb.arch/powerpc-d128-regs.exp
12965 * gdb.base/arrayidx.exp
12966 * gdb.base/break.exp
12967 * gdb.base/checkpoint.exp
12968 * gdb.base/debug-expr.exp
12969 * gdb.base/dmsym.exp
12970 * gdb.base/radix.exp
12971 * gdb.base/sepdebug.exp
12972 * gdb.base/testenv.exp
12973 * gdb.base/watch_thread_num.exp
12974 * gdb.base/watchpoint-cond-gone.exp
12975 * gdb.cell/break.exp
12976 * gdb.cell/ea-cache.exp
12977 * gdb.compile/compile.exp
12978 * gdb.cp/gdb2495.exp
12979 * gdb.gdb/selftest.exp
12980 * gdb.gdb/xfullpath.exp
12981 * gdb.go/hello.exp
12982 * gdb.go/integers.exp
12983 * gdb.objc/basicclass.exp
12984 * gdb.pascal/hello.exp
12985 * gdb.pascal/integers.exp
12986 * gdb.python/py-breakpoint.exp
12987 * gdb.python/py-cmd.exp
12988 * gdb.python/py-linetable.exp
12989 * gdb.python/py-xmethods.exp
12990 * gdb.python/python.exp
12991 * gdb.reverse/consecutive-precsave.exp
12992 * gdb.reverse/finish-precsave.exp
12993 * gdb.reverse/i386-precsave.exp
12994 * gdb.reverse/machinestate-precsave.exp
12995 * gdb.reverse/sigall-precsave.exp
12996 * gdb.reverse/solib-precsave.exp
12997 * gdb.reverse/step-precsave.exp
12998 * gdb.reverse/until-precsave.exp
12999 * gdb.reverse/watch-precsave.exp
13000 * gdb.threads/leader-exit.exp
13001 * gdb.threads/pthreads.exp
13002 * gdb.threads/wp-replication.exp
13003 * gdb.trace/actions.exp
13004 * gdb.trace/mi-tsv-changed.exp
13005 * gdb.trace/tsv.exp
13006
130072016-12-01 Luis Machado <lgustavo@codesourcery.com>
13008
13009 Fix test names starting with uppercase throughout the files.
13010
13011 * gdb.arch/i386-bp_permanent.exp
13012 * gdb.arch/i386-gnu-cfi.exp
13013 * gdb.base/disasm-end-cu.exp
13014 * gdb.base/macscp.exp
13015 * gdb.base/pending.exp
13016 * gdb.base/watch_thread_num.exp
13017 * gdb.cp/exception.exp
13018 * gdb.cp/gdb2495.exp
13019 * gdb.cp/local.exp
13020 * gdb.python/py-evsignal.exp
13021 * gdb.python/python.exp
13022 * gdb.trace/tracecmd.exp
13023
130242016-12-01 Luis Machado <lgustavo@codesourcery.com>
13025
13026 Fix test names starting with uppercase throughout the files.
13027
13028 * gdb.base/charset.exp
13029 * gdb.base/eval.exp
13030 * gdb.base/multi-forks.exp
13031 * gdb.guile/scm-progspace.exp
13032 * gdb.opencl/datatypes.exp
13033 * gdb.python/py-block.exp
13034 * gdb.python/py-function.exp
13035 * gdb.python/py-symbol.exp
13036 * gdb.python/py-symtab.exp
13037 * gdb.python/py-xmethods.exp
13038 * gdb.reverse/break-precsave.exp
13039 * gdb.reverse/break-reverse.exp
13040 * gdb.reverse/consecutive-precsave.exp
13041 * gdb.reverse/consecutive-reverse.exp
13042 * gdb.reverse/finish-precsave.exp
13043 * gdb.reverse/finish-reverse-bkpt.exp
13044 * gdb.reverse/finish-reverse.exp
13045 * gdb.reverse/fstatat-reverse.exp
13046 * gdb.reverse/getresuid-reverse.exp
13047 * gdb.reverse/i386-precsave.exp
13048 * gdb.reverse/i386-reverse.exp
13049 * gdb.reverse/i386-sse-reverse.exp
13050 * gdb.reverse/i387-stack-reverse.exp
13051 * gdb.reverse/insn-reverse.exp
13052 * gdb.reverse/machinestate-precsave.exp
13053 * gdb.reverse/machinestate.exp
13054 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13055 * gdb.reverse/pipe-reverse.exp
13056 * gdb.reverse/readv-reverse.exp
13057 * gdb.reverse/recvmsg-reverse.exp
13058 * gdb.reverse/rerun-prec.exp
13059 * gdb.reverse/s390-mvcle.exp
13060 * gdb.reverse/sigall-precsave.exp
13061 * gdb.reverse/sigall-reverse.exp
13062 * gdb.reverse/solib-precsave.exp
13063 * gdb.reverse/solib-reverse.exp
13064 * gdb.reverse/step-precsave.exp
13065 * gdb.reverse/step-reverse.exp
13066 * gdb.reverse/time-reverse.exp
13067 * gdb.reverse/until-precsave.exp
13068 * gdb.reverse/until-reverse.exp
13069 * gdb.reverse/waitpid-reverse.exp
13070 * gdb.reverse/watch-precsave.exp
13071 * gdb.reverse/watch-reverse.exp
13072
130732016-12-01 Luis Machado <lgustavo@codesourcery.com>
13074
13075 Fix test names starting with uppercase throughout the files.
13076
13077 * gdb.arch/i386-mpx-simple_segv.exp
13078 * gdb.arch/i386-mpx.exp
13079 * gdb.arch/i386-permbkpt.exp
13080 * gdb.arch/pa-nullify.exp
13081 * gdb.arch/powerpc-d128-regs.exp
13082 * gdb.arch/vsx-regs.exp
13083 * gdb.base/bfp-test.exp
13084 * gdb.base/break.exp
13085 * gdb.base/breakpoint-shadow.exp
13086 * gdb.base/callfuncs.exp
13087 * gdb.base/charset.exp
13088 * gdb.base/commands.exp
13089 * gdb.base/completion.exp
13090 * gdb.base/dfp-test.exp
13091 * gdb.base/echo.exp
13092 * gdb.base/ending-run.exp
13093 * gdb.base/eval.exp
13094 * gdb.base/expand-psymtabs.exp
13095 * gdb.base/float128.exp
13096 * gdb.base/floatn.exp
13097 * gdb.base/foll-exec-mode.exp
13098 * gdb.base/gdb1056.exp
13099 * gdb.base/gdb11531.exp
13100 * gdb.base/kill-after-signal.exp
13101 * gdb.base/multi-forks.exp
13102 * gdb.base/overlays.exp
13103 * gdb.base/pending.exp
13104 * gdb.base/sepdebug.exp
13105 * gdb.base/testenv.exp
13106 * gdb.base/valgrind-db-attach.exp
13107 * gdb.base/watch_thread_num.exp
13108 * gdb.base/watchpoint-cond-gone.exp
13109 * gdb.base/watchpoint.exp
13110 * gdb.base/watchpoints.exp
13111 * gdb.cp/arg-reference.exp
13112 * gdb.cp/baseenum.exp
13113 * gdb.cp/operator.exp
13114 * gdb.cp/shadow.exp
13115 * gdb.dwarf2/dw2-op-out-param.exp
13116 * gdb.dwarf2/dw2-reg-undefined.exp
13117 * gdb.go/chan.exp
13118 * gdb.go/hello.exp
13119 * gdb.go/integers.exp
13120 * gdb.go/methods.exp
13121 * gdb.go/package.exp
13122 * gdb.guile/scm-parameter.exp
13123 * gdb.guile/scm-progspace.exp
13124 * gdb.guile/scm-value.exp
13125 * gdb.mi/mi-pending.exp
13126 * gdb.mi/user-selected-context-sync.exp
13127 * gdb.multi/multi-attach.exp
13128 * gdb.multi/tids.exp
13129 * gdb.opt/clobbered-registers-O2.exp
13130 * gdb.pascal/floats.exp
13131 * gdb.pascal/integers.exp
13132 * gdb.python/py-block.exp
13133 * gdb.python/py-events.exp
13134 * gdb.python/py-parameter.exp
13135 * gdb.python/py-symbol.exp
13136 * gdb.python/py-symtab.exp
13137 * gdb.python/py-type.exp
13138 * gdb.python/py-value.exp
13139 * gdb.python/py-xmethods.exp
13140 * gdb.python/python.exp
13141 * gdb.reverse/break-precsave.exp
13142 * gdb.reverse/consecutive-precsave.exp
13143 * gdb.reverse/finish-precsave.exp
13144 * gdb.reverse/i386-precsave.exp
13145 * gdb.reverse/machinestate-precsave.exp
13146 * gdb.reverse/sigall-precsave.exp
13147 * gdb.reverse/solib-precsave.exp
13148 * gdb.reverse/step-precsave.exp
13149 * gdb.reverse/until-precsave.exp
13150 * gdb.reverse/watch-precsave.exp
13151 * gdb.server/ext-attach.exp
13152 * gdb.server/ext-restart.exp
13153 * gdb.server/ext-run.exp
13154 * gdb.server/ext-wrapper.exp
13155 * gdb.stabs/gdb11479.exp
13156 * gdb.stabs/weird.exp
13157 * gdb.threads/attach-many-short-lived-threads.exp
13158 * gdb.threads/kill.exp
13159 * gdb.threads/watchpoint-fork.exp
13160
131612016-12-01 Luis Machado <lgustavo@codesourcery.com>
13162
13163 Fix test names starting with uppercase throughout all the files below.
13164
13165 * gdb.ada/array_return.exp
13166 * gdb.ada/catch_ex.exp
13167 * gdb.ada/info_exc.exp
13168 * gdb.ada/mi_catch_ex.exp
13169 * gdb.ada/mi_dyn_arr.exp
13170 * gdb.ada/mi_ex_cond.exp
13171 * gdb.ada/mi_exc_info.exp
13172 * gdb.ada/mi_interface.exp
13173 * gdb.ada/mi_task_arg.exp
13174 * gdb.ada/mi_task_info.exp
13175 * gdb.ada/mi_var_array.exp
13176 * gdb.arch/alpha-step.exp
13177 * gdb.arch/amd64-disp-step.exp
13178 * gdb.arch/arm-disp-step.exp
13179 * gdb.arch/disp-step-insn-reloc.exp
13180 * gdb.arch/e500-prologue.exp
13181 * gdb.arch/ftrace-insn-reloc.exp
13182 * gdb.arch/gdb1558.exp
13183 * gdb.arch/i386-bp_permanent.exp
13184 * gdb.arch/i386-disp-step.exp
13185 * gdb.arch/i386-float.exp
13186 * gdb.arch/i386-gnu-cfi.exp
13187 * gdb.arch/ia64-breakpoint-shadow.exp
13188 * gdb.arch/mips16-thunks.exp
13189 * gdb.arch/pa-nullify.exp
13190 * gdb.arch/powerpc-aix-prologue.exp
13191 * gdb.arch/powerpc-power.exp
13192 * gdb.arch/ppc-dfp.exp
13193 * gdb.arch/s390-tdbregs.exp
13194 * gdb.arch/spu-info.exp
13195 * gdb.arch/spu-ls.exp
13196 * gdb.arch/thumb-bx-pc.exp
13197 * gdb.base/advance.exp
13198 * gdb.base/annota-input-while-running.exp
13199 * gdb.base/arrayidx.exp
13200 * gdb.base/asmlabel.exp
13201 * gdb.base/async.exp
13202 * gdb.base/attach-wait-input.exp
13203 * gdb.base/auto-connect-native-target.exp
13204 * gdb.base/batch-preserve-term-settings.exp
13205 * gdb.base/bfp-test.exp
13206 * gdb.base/bigcore.exp
13207 * gdb.base/bp-permanent.exp
13208 * gdb.base/break-always.exp
13209 * gdb.base/break-fun-addr.exp
13210 * gdb.base/break-idempotent.exp
13211 * gdb.base/break-main-file-remove-fail.exp
13212 * gdb.base/break-probes.exp
13213 * gdb.base/break-unload-file.exp
13214 * gdb.base/break.exp
13215 * gdb.base/call-ar-st.exp
13216 * gdb.base/call-rt-st.exp
13217 * gdb.base/call-sc.exp
13218 * gdb.base/call-signal-resume.exp
13219 * gdb.base/call-strs.exp
13220 * gdb.base/callexit.exp
13221 * gdb.base/callfuncs.exp
13222 * gdb.base/catch-gdb-caused-signals.exp
13223 * gdb.base/catch-signal-siginfo-cond.exp
13224 * gdb.base/catch-syscall.exp
13225 * gdb.base/compare-sections.exp
13226 * gdb.base/cond-eval-mode.exp
13227 * gdb.base/condbreak-call-false.exp
13228 * gdb.base/consecutive-step-over.exp
13229 * gdb.base/cursal.exp
13230 * gdb.base/disabled-location.exp
13231 * gdb.base/disasm-end-cu.exp
13232 * gdb.base/display.exp
13233 * gdb.base/double-prompt-target-event-error.exp
13234 * gdb.base/dprintf-bp-same-addr.exp
13235 * gdb.base/dprintf-detach.exp
13236 * gdb.base/dprintf-next.exp
13237 * gdb.base/dprintf-non-stop.exp
13238 * gdb.base/dprintf-pending.exp
13239 * gdb.base/dso2dso.exp
13240 * gdb.base/ending-run.exp
13241 * gdb.base/enum_cond.exp
13242 * gdb.base/examine-backward.exp
13243 * gdb.base/exe-lock.exp
13244 * gdb.base/exec-invalid-sysroot.exp
13245 * gdb.base/execl-update-breakpoints.exp
13246 * gdb.base/execution-termios.exp
13247 * gdb.base/fileio.exp
13248 * gdb.base/fixsection.exp
13249 * gdb.base/foll-exec-mode.exp
13250 * gdb.base/foll-exec.exp
13251 * gdb.base/fork-running-state.exp
13252 * gdb.base/frame-args.exp
13253 * gdb.base/fullpath-expand.exp
13254 * gdb.base/func-ptr.exp
13255 * gdb.base/gcore-relro-pie.exp
13256 * gdb.base/gdb1090.exp
13257 * gdb.base/gdb1555.exp
13258 * gdb.base/global-var-nested-by-dso.exp
13259 * gdb.base/gnu-ifunc.exp
13260 * gdb.base/hbreak-in-shr-unsupported.exp
13261 * gdb.base/hbreak-unmapped.exp
13262 * gdb.base/hook-stop.exp
13263 * gdb.base/infcall-input.exp
13264 * gdb.base/info-fun.exp
13265 * gdb.base/info-shared.exp
13266 * gdb.base/interrupt-noterm.exp
13267 * gdb.base/jit-so.exp
13268 * gdb.base/jit.exp
13269 * gdb.base/line-symtabs.exp
13270 * gdb.base/list.exp
13271 * gdb.base/longjmp.exp
13272 * gdb.base/macscp.exp
13273 * gdb.base/max-value-size.exp
13274 * gdb.base/nodebug.exp
13275 * gdb.base/nofield.exp
13276 * gdb.base/overlays.exp
13277 * gdb.base/paginate-after-ctrl-c-running.exp
13278 * gdb.base/paginate-bg-execution.exp
13279 * gdb.base/paginate-inferior-exit.exp
13280 * gdb.base/pending.exp
13281 * gdb.base/pr11022.exp
13282 * gdb.base/printcmds.exp
13283 * gdb.base/ptr-typedef.exp
13284 * gdb.base/ptype.exp
13285 * gdb.base/randomize.exp
13286 * gdb.base/range-stepping.exp
13287 * gdb.base/realname-expand.exp
13288 * gdb.base/relativedebug.exp
13289 * gdb.base/remote.exp
13290 * gdb.base/savedregs.exp
13291 * gdb.base/sepdebug.exp
13292 * gdb.base/set-noassign.exp
13293 * gdb.base/shlib-call.exp
13294 * gdb.base/shreloc.exp
13295 * gdb.base/sigaltstack.exp
13296 * gdb.base/sigbpt.exp
13297 * gdb.base/siginfo-addr.exp
13298 * gdb.base/siginfo-obj.exp
13299 * gdb.base/siginfo-thread.exp
13300 * gdb.base/signest.exp
13301 * gdb.base/signull.exp
13302 * gdb.base/sigrepeat.exp
13303 * gdb.base/skip.exp
13304 * gdb.base/so-impl-ld.exp
13305 * gdb.base/solib-corrupted.exp
13306 * gdb.base/solib-disc.exp
13307 * gdb.base/solib-display.exp
13308 * gdb.base/solib-overlap.exp
13309 * gdb.base/solib-search.exp
13310 * gdb.base/solib-symbol.exp
13311 * gdb.base/source-execution.exp
13312 * gdb.base/sss-bp-on-user-bp-2.exp
13313 * gdb.base/sss-bp-on-user-bp.exp
13314 * gdb.base/stack-checking.exp
13315 * gdb.base/stale-infcall.exp
13316 * gdb.base/step-break.exp
13317 * gdb.base/step-line.exp
13318 * gdb.base/step-over-exit.exp
13319 * gdb.base/step-test.exp
13320 * gdb.base/structs.exp
13321 * gdb.base/sym-file.exp
13322 * gdb.base/symtab-search-order.exp
13323 * gdb.base/term.exp
13324 * gdb.base/type-opaque.exp
13325 * gdb.base/unload.exp
13326 * gdb.base/until-nodebug.exp
13327 * gdb.base/until.exp
13328 * gdb.base/unwindonsignal.exp
13329 * gdb.base/watch-cond.exp
13330 * gdb.base/watch-non-mem.exp
13331 * gdb.base/watch_thread_num.exp
13332 * gdb.base/watchpoint-reuse-slot.exp
13333 * gdb.base/watchpoint-solib.exp
13334 * gdb.base/watchpoint.exp
13335 * gdb.btrace/dlopen.exp
13336 * gdb.cell/arch.exp
13337 * gdb.cell/break.exp
13338 * gdb.cell/bt.exp
13339 * gdb.cell/core.exp
13340 * gdb.cell/data.exp
13341 * gdb.cell/dwarfaddr.exp
13342 * gdb.cell/ea-cache.exp
13343 * gdb.cell/ea-standalone.exp
13344 * gdb.cell/ea-test.exp
13345 * gdb.cell/f-regs.exp
13346 * gdb.cell/fork.exp
13347 * gdb.cell/gcore.exp
13348 * gdb.cell/mem-access.exp
13349 * gdb.cell/ptype.exp
13350 * gdb.cell/registers.exp
13351 * gdb.cell/sizeof.exp
13352 * gdb.cell/solib-symbol.exp
13353 * gdb.cell/solib.exp
13354 * gdb.compile/compile-tls.exp
13355 * gdb.cp/exception.exp
13356 * gdb.cp/gdb2495.exp
13357 * gdb.cp/local.exp
13358 * gdb.cp/mb-inline.exp
13359 * gdb.cp/mb-templates.exp
13360 * gdb.cp/pr10687.exp
13361 * gdb.cp/pr9167.exp
13362 * gdb.cp/scope-err.exp
13363 * gdb.cp/templates.exp
13364 * gdb.cp/virtfunc.exp
13365 * gdb.dwarf2/dw2-dir-file-name.exp
13366 * gdb.dwarf2/dw2-single-line-discriminators.exp
13367 * gdb.fortran/complex.exp
13368 * gdb.fortran/library-module.exp
13369 * gdb.guile/guile.exp
13370 * gdb.guile/scm-cmd.exp
13371 * gdb.guile/scm-frame-inline.exp
13372 * gdb.guile/scm-objfile.exp
13373 * gdb.guile/scm-pretty-print.exp
13374 * gdb.guile/scm-symbol.exp
13375 * gdb.guile/scm-type.exp
13376 * gdb.guile/scm-value.exp
13377 * gdb.linespec/keywords.exp
13378 * gdb.linespec/ls-errs.exp
13379 * gdb.linespec/macro-relative.exp
13380 * gdb.linespec/thread.exp
13381 * gdb.mi/mi-breakpoint-changed.exp
13382 * gdb.mi/mi-dprintf-pending.exp
13383 * gdb.mi/mi-fullname-deleted.exp
13384 * gdb.mi/mi-logging.exp
13385 * gdb.mi/mi-pending.exp
13386 * gdb.mi/mi-solib.exp
13387 * gdb.mi/new-ui-mi-sync.exp
13388 * gdb.mi/user-selected-context-sync.exp
13389 * gdb.multi/dummy-frame-restore.exp
13390 * gdb.multi/multi-arch-exec.exp
13391 * gdb.multi/remove-inferiors.exp
13392 * gdb.multi/watchpoint-multi-exit.exp
13393 * gdb.opt/solib-intra-step.exp
13394 * gdb.perf/backtrace.exp
13395 * gdb.perf/single-step.exp
13396 * gdb.perf/skip-command.exp
13397 * gdb.perf/skip-prologue.exp
13398 * gdb.perf/solib.exp
13399 * gdb.python/lib-types.exp
13400 * gdb.python/py-as-string.exp
13401 * gdb.python/py-bad-printers.exp
13402 * gdb.python/py-block.exp
13403 * gdb.python/py-breakpoint.exp
13404 * gdb.python/py-cmd.exp
13405 * gdb.python/py-events.exp
13406 * gdb.python/py-evthreads.exp
13407 * gdb.python/py-finish-breakpoint.exp
13408 * gdb.python/py-finish-breakpoint2.exp
13409 * gdb.python/py-frame-inline.exp
13410 * gdb.python/py-frame.exp
13411 * gdb.python/py-inferior.exp
13412 * gdb.python/py-infthread.exp
13413 * gdb.python/py-mi.exp
13414 * gdb.python/py-objfile.exp
13415 * gdb.python/py-pp-maint.exp
13416 * gdb.python/py-pp-registration.exp
13417 * gdb.python/py-prettyprint.exp
13418 * gdb.python/py-recurse-unwind.exp
13419 * gdb.python/py-shared.exp
13420 * gdb.python/py-symbol.exp
13421 * gdb.python/py-symtab.exp
13422 * gdb.python/py-template.exp
13423 * gdb.python/py-type.exp
13424 * gdb.python/py-unwind-maint.exp
13425 * gdb.python/py-unwind.exp
13426 * gdb.python/py-value.exp
13427 * gdb.python/python.exp
13428 * gdb.reverse/finish-reverse-bkpt.exp
13429 * gdb.reverse/insn-reverse.exp
13430 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13431 * gdb.reverse/solib-precsave.exp
13432 * gdb.reverse/solib-reverse.exp
13433 * gdb.stabs/gdb11479.exp
13434 * gdb.stabs/weird.exp
13435 * gdb.threads/fork-child-threads.exp
13436 * gdb.threads/fork-plus-threads.exp
13437 * gdb.threads/fork-thread-pending.exp
13438 * gdb.threads/forking-threads-plus-breakpoint.exp
13439 * gdb.threads/hand-call-in-threads.exp
13440 * gdb.threads/interrupted-hand-call.exp
13441 * gdb.threads/linux-dp.exp
13442 * gdb.threads/local-watch-wrong-thread.exp
13443 * gdb.threads/next-while-other-thread-longjmps.exp
13444 * gdb.threads/non-ldr-exit.exp
13445 * gdb.threads/pending-step.exp
13446 * gdb.threads/print-threads.exp
13447 * gdb.threads/process-dies-while-detaching.exp
13448 * gdb.threads/process-dies-while-handling-bp.exp
13449 * gdb.threads/pthreads.exp
13450 * gdb.threads/queue-signal.exp
13451 * gdb.threads/reconnect-signal.exp
13452 * gdb.threads/signal-command-handle-nopass.exp
13453 * gdb.threads/signal-command-multiple-signals-pending.exp
13454 * gdb.threads/signal-delivered-right-thread.exp
13455 * gdb.threads/signal-sigtrap.exp
13456 * gdb.threads/sigthread.exp
13457 * gdb.threads/staticthreads.exp
13458 * gdb.threads/stepi-random-signal.exp
13459 * gdb.threads/thread-unwindonsignal.exp
13460 * gdb.threads/thread_check.exp
13461 * gdb.threads/thread_events.exp
13462 * gdb.threads/tid-reuse.exp
13463 * gdb.threads/tls-nodebug.exp
13464 * gdb.threads/tls-shared.exp
13465 * gdb.threads/tls-so_extern.exp
13466 * gdb.threads/tls.exp
13467 * gdb.threads/wp-replication.exp
13468 * gdb.trace/actions-changed.exp
13469 * gdb.trace/actions.exp
13470 * gdb.trace/backtrace.exp
13471 * gdb.trace/change-loc.exp
13472 * gdb.trace/collection.exp
13473 * gdb.trace/deltrace.exp
13474 * gdb.trace/disconnected-tracing.exp
13475 * gdb.trace/entry-values.exp
13476 * gdb.trace/ftrace-lock.exp
13477 * gdb.trace/ftrace.exp
13478 * gdb.trace/infotrace.exp
13479 * gdb.trace/mi-trace-frame-collected.exp
13480 * gdb.trace/mi-trace-unavailable.exp
13481 * gdb.trace/mi-traceframe-changed.exp
13482 * gdb.trace/mi-tracepoint-changed.exp
13483 * gdb.trace/mi-tsv-changed.exp
13484 * gdb.trace/no-attach-trace.exp
13485 * gdb.trace/packetlen.exp
13486 * gdb.trace/passc-dyn.exp
13487 * gdb.trace/passcount.exp
13488 * gdb.trace/pending.exp
13489 * gdb.trace/pr16508.exp
13490 * gdb.trace/qtro.exp
13491 * gdb.trace/range-stepping.exp
13492 * gdb.trace/read-memory.exp
13493 * gdb.trace/report.exp
13494 * gdb.trace/save-trace.exp
13495 * gdb.trace/signal.exp
13496 * gdb.trace/stap-trace.exp
13497 * gdb.trace/status-stop.exp
13498 * gdb.trace/strace.exp
13499 * gdb.trace/tfile.exp
13500 * gdb.trace/tfind.exp
13501 * gdb.trace/trace-break.exp
13502 * gdb.trace/trace-condition.exp
13503 * gdb.trace/trace-enable-disable.exp
13504 * gdb.trace/trace-mt.exp
13505 * gdb.trace/tracecmd.exp
13506 * gdb.trace/tracefile-pseudo-reg.exp
13507 * gdb.trace/tspeed.exp
13508 * gdb.trace/tstatus.exp
13509 * gdb.trace/tsv.exp
13510 * gdb.trace/unavailable.exp
13511 * gdb.trace/while-dyn.exp
13512 * gdb.trace/while-stepping.exp
13513 * lib/gdb-guile.exp
13514 * lib/gdb.exp
13515 * lib/mi-support.exp
13516 * lib/pascal.exp
13517 * lib/perftest.exp
13518 * lib/prelink-support.exp
13519 * lib/selftest-support.exp
13520
135212016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13522
13523 * Makefile.in: Include disable-implicit-rules.mk.
13524
135252016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13526
13527 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13528 non-byte-aligned bit fields.
13529
135302016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13531
13532 PR gdb/12616
13533 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13534 respects the DW_AT_data_bit_offset attribute.
13535
135362016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13537
13538 * gdb.base/default.exp: Fix output of "set language".
13539
135402016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13541
13542 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13543 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13544 make.
13545 * configure.ac: Remove checks for the make program.
13546 * configure: Re-generate.
13547
135482016-11-16 Kevin Buettner <kevinb@redhat.com>
13549
13550 * gdb.python/py-recurse-unwind.c (main): Add loop.
13551 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13552 to read_register() and gdb.parse_and_eval(). Make each code
13553 call a separate case that can be individually tested.
13554 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13555 proc. Call cont_and_backtrace for each of the code paths that
13556 we want to test in the unwinder.
13557
135582016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13559
13560 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13561 the definition of struct S.
13562
135632016-11-11 Catherine Moore <clm@codesourcery.com>
13564
13565 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13566
135672016-11-09 Pedro Alves <palves@redhat.com>
13568
13569 * gdb.base/commands.exp (runto_or_return): New procedure.
13570 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13571 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13572 (progvar_simple_while_test, progvar_complex_if_while_test)
13573 (if_while_breakpoint_command_test)
13574 (infrun_breakpoint_command_test, breakpoint_command_test)
13575 (user_defined_command_test, watchpoint_command_test)
13576 (test_command_prompt_position, redefine_hook_test)
13577 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13578 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13579 multi_line_input and multi_line. Remove gdb_expect and
13580 gdb_stop_suppressing_tests uses.
13581 * lib/gdb.exp (valnum_re): New global.
13582 (multi_line_input): New procedure.
13583
135842016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13585
13586 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13587 Remove.
13588 (test_setup): Define with proc_with_prefix.
13589 (test_cli_inferior): Likewise.
13590 (test_cli_thread): Likewise.
13591 (test_cli_frame): Likewise.
13592 (test_cli_select_frame): Likewise.
13593 (test_cli_up_down): Likewise.
13594 (test_mi_thread_select): Likewise.
13595 (test_mi_stack_select_frame): Likewise.
13596 (test_cli_in_mi_inferior): Likewise.
13597 (test_cli_in_mi_thread): Likewise.
13598 (test_cli_in_mi_frame): Likewise.
13599 (top level): Do not use with_test_prefix_procname.
13600
136012016-11-09 Pedro Alves <palves@redhat.com>
13602
13603 * gdb.base/commands.exp (gdbvar_simple_if_test)
13604 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13605 (progvar_simple_if_test, progvar_simple_while_test)
13606 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13607 (infrun_breakpoint_command_test, breakpoint_command_test)
13608 (user_defined_command_test, watchpoint_command_test)
13609 (test_command_prompt_position, deprecated_command_test)
13610 (bp_deleted_in_command, temporary_breakpoint_commands)
13611 (stray_arg0_test, source_file_with_indented_comment)
13612 (recursive_source_test, if_commands_test)
13613 (error_clears_commands_left, redefine_hook_test)
13614 (redefine_backtrace_test): Use proc_with_prefix.
13615 * lib/gdb.exp (proc_with_prefix): New proc.
13616
136172016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13618
13619 * gdb.base/tui-layout.c: New file.
13620 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13621 disassembly window contains very long lines.
13622
136232016-11-08 Tom Tromey <tom@tromey.com>
13624
13625 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13626 depend on Python 2.
13627
136282016-11-08 Tom Tromey <tom@tromey.com>
13629
13630 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13631 New method.
13632
136332016-10-29 Manish Goregaokar <manish@mozilla.com>
13634
13635 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
13636
136372016-10-27 Manish Goregaokar <manish@mozilla.com>
13638
13639 * gdb.rust/simple.rs: Add test for univariant enums without
13640 discriminants and for encoded struct-like enums.
13641
136422016-10-28 Pedro Alves <palves@redhat.com>
13643
13644 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13645 gdb_test_multiple, tighten regexps and match symtabs and line
13646 tables incrementally.
13647
136482016-10-28 Luis Machado <lgustavo@codesourcery.com>
13649
13650 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13651 general.
13652
136532016-10-25 Luis Machado <lgustavo@codesourcery.com>
13654
13655 * gdb.base/exec-invalid-sysroot.exp: New file.
13656
136572016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13658
13659 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13660
136612016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13662
13663 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13664
136652016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13666
13667 * gdb.base/killed-outside.exp: Remove $options from a call to
13668 `prepare_for_testing'.
13669
136702016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13671
13672 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13673 Change test message.
13674
136752016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13676
13677 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13678 Update comment.
13679
136802016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13681
13682 * gdb.trace/mi-trace-save.exp: New file.
13683
136842016-10-13 Yao Qi <yao.qi@linaro.org>
13685
13686 * gdb.base/code_elim.exp (get_var_address): Remove.
13687 * gdb.base/relocate.exp: Likewise.
13688 * gdb.base/shreloc.exp: Likewise.
13689 * lib/gdb.exp (get_var_address): New.
13690
136912016-10-13 Yao Qi <yao.qi@linaro.org>
13692
13693 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13694 floating point tests if $skip_float_test is false.
13695
136962016-10-12 Luis Machado <lgustavo@codesourcery.com>
13697
13698 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13699 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13700 argc values.
13701 Add 1 to argc so we guarantee distinct initial/modified argc values.
13702
137032016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13704
13705 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13706
137072016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13708
13709 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13710 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13711 * gdb.arch/vsx-regs.exp: Likewise.
13712
137132016-10-07 Yao Qi <yao.qi@linaro.org>
13714
13715 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13716
137172016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13718
13719 * gdb.python/python.exp: Test decode_line("*0").
13720
137212016-10-06 Doug Evans <dje@google.com>
13722
13723 * gdb.python/py-value.exp (test_value_creation): Add test for large
13724 unsigned 64-bit value.
13725
137262016-10-06 Tom Tromey <tom@tromey.com>
13727
13728 * gdb.compile/compile.exp: Change java tests to rust.
13729 * gdb.base/setshow.exp: Change java tests to rust.
13730 * gdb.base/default.exp: Remove java from language list.
13731 * README (Examples): Update language example.
13732 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13733 test.
13734 * lib/gdb.exp (skip_java_tests): Remove.
13735 * lib/java.exp: Remove.
13736 * gdb.java: Remove.
13737
137382016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13739
13740 * gdb.arch/mips-fcr.exp: New test.
13741 * gdb.arch/mips-fcr.c: Source for the new test.
13742
137432016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13744
13745 * gdb.base/solib-disc.exp: Use `standard_output_file'
13746 throughout.
13747
137482016-10-06 Pedro Alves <palves@redhat.com>
13749
13750 * gdb.base/jit-simple-dl.c: New file.
13751 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13752 * gdb.base/jit-simple.c: ... this.
13753 * gdb.base/jit-simple.exp (jit_run): Delete.
13754 (build_jit): New proc.
13755 (jit_test_reread): Recompile either the main program or the shared
13756 library, depending on what is being tested. Skip changing address
13757 if caller wants to. Compare before/after addresses. If testing
13758 standalone, explicitly load the binary. Test "maint info
13759 breakpoints".
13760 (top level): Add "standalone vs shared lib" and "change address"
13761 vs "same address" axes.
13762
137632016-10-06 Pedro Alves <palves@redhat.com>
13764
13765 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13766 call.
13767 (jit_run): Delete.
13768 (jit_test_reread): Use with_test_prefix. Reload the main binary
13769 explicitly. Compare the before/after addresses of the JIT
13770 descriptor.
13771
137722016-08-15 Doug Evans <dje@google.com>
13773
13774 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13775 for single bitfields is bool.
13776 * gdb.xml/tdesc-regs.exp: Ditto.
13777
137782016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13779
13780 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13781
137822016-10-05 Yao Qi <yao.qi@linaro.org>
13783
13784 * lib/gdb.exp (support_complex_tests): Return zero if
13785 gdb_skip_float_test return true.
13786
137872016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13788 Simon Marchi <simon.marchi@ericsson.com>
13789
13790 PR gdb/20487
13791 * gdb.mi/user-selected-context-sync.exp: New file.
13792 * gdb.mi/user-selected-context-sync.c: New file.
13793
137942016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13795 Simon Marchi <simon.marchi@ericsson.com>
13796
13797 PR gdb/20487
13798 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13799 =thread-select-event check.
13800
138012016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13802
13803 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13804 the compulsory L operand changes.
13805 * gdb.arch/powerpc-power.s: Likewise.
13806
138072016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13808
13809 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13810 * gdb.base/jit-attach-pie.c: New file.
13811 * gdb.base/jit-attach-pie.exp: New file.
13812
138132016-09-28 Pedro Alves <palves@redhat.com>
13814
13815 * gdb.base/infcall-input.c: New file.
13816 * gdb.base/infcall-input.exp: New file.
13817
138182016-09-22 Yao Qi <yao.qi@linaro.org>
13819
13820 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13821 (gdb_exit): Rename it to ...
13822 (gdbserver_gdb_exit): ... Close GDBserver.
13823 (gdb_exit): New proc, call gdbserver_gdb_exit.
13824 (mi_gdb_exit): Likewise.
13825
138262016-09-22 Yao Qi <yao.qi@linaro.org>
13827
13828 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13829 path.
13830 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13831 Remove duplication.
13832
138332016-09-22 Yao Qi <yao.qi@linaro.org>
13834
13835 * lib/gdbserver-support.exp: Check the existence of
13836 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13837
138382016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13839
13840 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13841
138422016-09-21 Tom Tromey <tom@tromey.com>
13843
13844 PR gdb/20604:
13845 * gdb.base/quit.exp: New file.
13846
138472016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13848
13849 * .gitignore: New file.
13850
138512016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13852
13853 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13854 throughout.
13855
138562016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13857
13858 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13859
138602016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13861
13862 * gdb.cp/casts.cc (decltype): Move it ...
13863 (main): ... with its call to ...
13864 * gdb.cp/casts03.cc: ... a new file.
13865 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13866
138672016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13868
13869 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13870
138712016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13872
13873 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13874 and sync up the test with tests in gas/testsuite/gas/ppc.
13875 * gdb.arch/powerpc-power.exp: Likewise.
13876
138772016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13878
13879 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13880
138812016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13882 Jan Kratochvil <jan.kratochvil@redhat.com>
13883
13884 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13885 make m1's definition to be different from m2's. Use 'dummy' as an
13886 argument for probe 'two'.
13887
138882016-09-10 Jon Beniston <jon@beniston.com>
13889
13890 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13891 for sim target.
13892
138932016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13894
13895 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13896 variable declaration.
13897 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13898 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13899 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13900 received HWCAP as its argument.
13901
139022016-09-06 Pedro Alves <palves@redhat.com>
13903
13904 * gdb.base/new-ui-pending-input.c: New file.
13905 * gdb.base/new-ui-pending-input.exp: New file.
13906 * gdb.exp (clear_gdb_spawn_id): New procedure.
13907 (with_spawn_id): Check whether gdb_spawn_id exists before
13908 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13909 on exit.
13910
139112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13912
13913 * gdb.base/float128.c: New file.
13914 * gdb.base/float128.exp: Likewise.
13915 * gdb.base/floatn.c: Likewise.
13916 * gdb.base/floatn.exp: Likewise.
13917
139182016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13919
13920 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13921
139222016-09-05 Pedro Alves <palves@redhat.com>
13923
13924 PR backtrace/19927
13925 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13926 unwinders are immediately called as side effect of "source" or
13927 "disable unwinder" commands.
13928 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13929
139302016-09-02 Yao Qi <yao.qi@linaro.org>
13931
13932 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13933 is true and $type is "float" or "double".
13934
139352016-09-02 Yao Qi <yao.qi@linaro.org>
13936
13937 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13938 true.
13939 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13940 * gdb.base/call-rt-st.exp: Likewise.
13941 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13942 return value instead of gdb,skip_float_test.
13943 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13944 (do_function_calls): Use its return value instead of
13945 gdb,skip_float_test.
13946 * gdb.base/finish.exp: Likewise.
13947 * gdb.base/funcargs.exp: Likewise.
13948 * gdb.base/return.exp: Likewise.
13949 * gdb.base/return2.exp: Likewise.
13950 * gdb.base/varargs.exp: Likewise.
13951 * lib/gdb.exp (gdb_skip_float_test): Change it to
13952 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13953
139542016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13955
13956 * gdb.multi/tids.exp: Test "thread apply all".
13957
139582016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13959
13960 * gdb.base/default.exp (tty): Remove.
13961
139622016-08-24 Kevin Buettner <kevinb@redhat.com>
13963
13964 * gdb.python/py-recurse-unwind.c: New file.
13965 * gdb.python/py-recurse-unwind.py: New file.
13966 * gdb.python/py-recurse-unwind.exp: New file.
13967
139682016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13969
13970 * gdb.base/set-inferior-tty.exp: New file.
13971 * gdb.base/set-inferior-tty.c: New file.
13972
139732016-08-23 Pedro Alves <palves@redhat.com>
13974
13975 PR gdb/20494
13976 * gdb.base/new-ui-echo.c: New file.
13977 * gdb.base/new-ui-echo.exp: New file.
13978
139792016-08-23 Yao Qi <yao.qi@linaro.org>
13980
13981 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13982 gdbserver_spawn.
13983 * gdb.server/connect-without-multi-process.exp (do_test):
13984 Likewise.
13985
139862016-08-23 Yao Qi <yao.qi@linaro.org>
13987
13988 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13989 standalone_txt. Delete gdb_txt and standalone_txt on host
13990 and target. Spawn the binary on target. Copy files from
13991 target to host.
13992
139932016-08-22 Pedro Alves <palves@redhat.com>
13994
13995 PR gdb/20505
13996 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13997 with_test_prefix. Factor out bits to ...
13998 (test_no_vdso): ... this new procedure.
13999
140002016-08-19 Carl Love <cel@us.ibm.com>
14001
14002 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14003 maintaining separate logic for constructing the output path.
14004 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14005 * gdb.arch/ppc-dfp.exp: Likewise.
14006 * gdb.arch/ppc-fp.exp: Likewise.
14007 * gdb.arch/vsx-regs.exp: Likewise.
14008 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14009 binprefix for generating the additional binary files.
14010
140112016-08-19 Pedro Alves <palves@redhat.com>
14012
14013 * gdb.trace/mi-trace-frame-collected.exp
14014 (test_trace_frame_collected): On x32, expect two registers.
14015
140162016-08-18 Carl Love <cel@us.ibm.com>
14017
14018 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14019 and sync up the test with tests in gas/testsuite/gas/ppc.
14020 * gdb.arch/powerpc-power.exp: Likewise.
14021
140222016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14023
14024 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14025 expected error message.
14026
140272016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14028
14029 * gdb.multi/remove-inferiors.exp: New file.
14030 * gdb.multi/remove-inferiors.c: New file.
14031
140322016-08-12 Yao Qi <yao.qi@linaro.org>
14033
14034 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14035 argument list.
14036
140372016-08-10 Pedro Alves <palves@redhat.com>
14038
14039 PR gdb/19187
14040 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14041 setup_kfails.
14042
140432016-08-09 Pedro Alves <palves@redhat.com>
14044 Simon Marchi <simon.marchi@ericsson.com>
14045
14046 PR gdb/20418
14047 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14048 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14049
140502016-08-09 Pedro Alves <palves@redhat.com>
14051
14052 PR mi/20431
14053 * gdb.mi/mi-cmd-error.exp: New file.
14054
140552016-08-09 Pedro Alves <palves@redhat.com>
14056
14057 PR gdb/18653
14058 * gdb.base/signals-state-child.c: New file.
14059 * gdb.base/signals-state-child.exp: New file.
14060 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14061
140622016-08-09 Pedro Alves <palves@redhat.com>
14063
14064 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14065
140662016-08-03 Tom Tromey <tom@tromey.com>
14067
14068 PR python/18565:
14069 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14070
140712016-08-01 Yao Qi <yao.qi@linaro.org>
14072
14073 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14074 variable mode to "multi-process" if $multi_process is 1, otherwise
14075 set it to "single-process".
14076
140772016-08-01 Yao Qi <yao.qi@linaro.org>
14078
14079 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14080 * gdb.cp/cpexprs.exp: Likewise.
14081 * gdb.cp/m-static.exp: Likewise.
14082
140832016-07-26 Tom Tromey <tom@tromey.com>
14084
14085 PR python/20190:
14086 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14087 test.
14088
140892016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14090
14091 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14092 selecting assembly source files.
14093 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14094 assembly source files.
14095 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14096 assembly source files.
14097 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14098 selecting assembly source files.
14099
141002016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14101
14102 * gdb.base/new-ui.exp (do_test_invalid_args): New
14103 procedure.
14104
141052016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14106
14107 * gdb.btrace/reconnect.c: New file.
14108 * gdb.btrace/reconnect.exp: New file.
14109
141102016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14111
14112 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14113 to test_catch_syscall_group.
14114 (test_catch_syscall_group): New.
14115
141162016-07-21 Tom Tromey <tom@tromey.com>
14117
14118 * gdb.rust/simple.rs (main): Use empty struct expression.
14119 * gdb.rust/simple.exp: Add tests for empty struct expression.
14120
141212016-07-21 Yao Qi <yao.qi@linaro.org>
14122
14123 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14124 if gdb_skip_xml_test is true on some targets.
14125
141262016-07-21 Yao Qi <yao.qi@linaro.org>
14127
14128 * gdb.server/solib-list.exp: Unset last_loaded_file.
14129
141302016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14131
14132 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14133 "step into captured_main (args)".
14134
141352016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14136
14137 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14138
141392016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14140
14141 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14142
141432016-07-19 Pedro Alves <palves@redhat.com>
14144
14145 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14146 * gdb.opt/inline-bt.exp: Likewise.
14147 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14148 additional_flags=-Winline.
14149 * gdb.opt/inline-locals.exp: Likewise.
14150 * gdb.opt/inline-markers.c (ATTR): Define.
14151 (inlined_fn): Use it.
14152
141532016-07-19 Yao Qi <yao.qi@linaro.org>
14154
14155 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14156 (test_with_self): Remove some code. Remove argument executable.
14157 (top-level): Use do_self_tests.
14158
141592016-07-15 Zachary Welch <zwelch@codesourcery.com>
14160 Don Breazeal <donb@codesourcery.com>
14161
14162 * gdb.base/maint.exp: Escape paths used in regular expressions.
14163 * gdb.stabs/weird.exp: Likewise.
14164
141652016-07-13 Tom Tromey <tom@tromey.com>
14166
14167 PR python/15620, PR python/18620:
14168 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14169 (test_bkpt_events): New procs.
14170
141712016-07-13 Tom Tromey <tom@tromey.com>
14172
14173 PR python/17698:
14174 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14175 test.
14176 (test_watchpoints): Likewise.
14177 (test_bkpt_pending): New proc.
14178
141792016-07-13 Tom Tromey <tom@tromey.com>
14180
14181 PR cli/18053:
14182 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14183 completion test.
14184
141852016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14186
14187 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14188 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14189 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14190 f_label.
14191 (g): Rename g_end_lbl to g_label.
14192 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14193 low_pc and high_pc.
14194 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14195
141962016-07-12 Tom Tromey <tom@tromey.com>
14197
14198 PR python/19293:
14199 * gdb.python/py-unwind-maint.exp: Update tests.
14200
142012016-07-12 Yao Qi <yao.qi@linaro.org>
14202
14203 * lib/selftest-support.exp (selftest_setup): Match the output
14204 when captured_main is inlined.
14205
142062016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14207
14208 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14209 New variables.
14210 (print this%a, print this%b, print this): New tests.
14211 * gdb.fortran/derived-types.f90 (this): New object and
14212 initialization.
14213
142142016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14215
14216 * gdb.ada/arraydim.exp: Remove extra directory level in build
14217 directory.
14218
142192016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14220
14221 * lib/ada.exp: Remove extra directory level in build directory.
14222 * gdb.ada/cond_lang.exp: Likewise.
14223 * gdb.ada/exec_changed.exp: Likewise.
14224 * gdb.ada/lang_switch.exp: Likewise.
14225
142262016-07-06 Manish Goregaokar <manish@mozilla.com>
14227
14228 * simple.rs: Add test for raw pointer subscripting.
14229 * simple.exp: Add test expectations.
14230
142312016-07-05 Yao Qi <yao.qi@linaro.org>
14232
14233 * gdb.mi/mi-reverse.exp: Match =record-started output.
14234
142352016-07-01 Pedro Alves <palves@redhat.com>
14236
14237 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14238 procedure.
14239 (jit_reader_test): Test the jit reader's unwinder.
14240 * gdb.base/jithost.c (jit_function_00_code): New global.
14241 (main): Use memcpy to fill in the mmapped code, instead of poking
14242 bytes manually here.
14243 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14244 value.
14245 (read_debug_info): Save the function's range.
14246 (read_sp): New function.
14247 (unwind_frame): Use it. Also unwind RBP.
14248 (get_frame_id): Use read_sp.
14249 (gdb_init_reader): Use calloc instead of malloc.
14250 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14251 parameter. Use gdb_test_multiple.
14252
142532016-07-01 Pedro Alves <palves@redhat.com>
14254 Antoine Tremblay <antoine.tremblay@ericsson.com>
14255
14256 * gdb.threads/process-dies-while-detaching.c: New file.
14257 * gdb.threads/process-dies-while-detaching.exp: New file.
14258
142592016-07-01 Pedro Alves <palves@redhat.com>
14260
14261 * gdb.multi/watchpoint-multi-exit.c: New file.
14262 * gdb.multi/watchpoint-multi-exit.exp: New file.
14263
142642016-06-30 Pedro Alves <palves@redhat.com>
14265
14266 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14267 unset inferior_spawn_id.
14268
142692016-06-30 Pedro Alves <palves@redhat.com>
14270
14271 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14272 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14273
142742016-06-29 Yao Qi <yao.qi@linaro.org>
14275
14276 * gdb.base/return.c: Add copyright header.
14277
142782016-06-29 Tom Tromey <tom@tromey.com>
14279
14280 PR python/20129:
14281 * gdb.python/py-framefilter.exp: Add tests for setting priority
14282 and disabling of non-existent frame filter.
14283
142842016-06-29 Yao Qi <yao.qi@linaro.org>
14285
14286 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14287 0x0f07ff.
14288
142892016-06-28 Yao Qi <yao.qi@linaro.org>
14290
14291 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14292 triplets. Start gdb, execute catch syscall, and continue. Check
14293 gdb's output to determine catch syscall is supported.
14294
142952016-06-27 Manish Goregaokar <manish@mozilla.com>
14296
14297 * gdb.rust/simple.rs: Add test for returning unit in a function.
14298 * gdb.rust/simple.exp: Add expectation for functions returning
14299 unit.
14300
143012016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14302
14303 * gdb.python/py-breakpoint-create-fail.c,
14304 gdb.python/py-breakpoint-create-fail.exp,
14305 gdb.python/py-breakpoint-create-fail.py: New testcase.
14306
143072016-06-25 Manish Goregaokar <manish@mozilla.com>
14308
14309 PR gdb/20239
14310 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
14311 * gdb.rust/simple.exp: Add test expectations for new NonZero
14312 tests.
14313
143142016-06-24 David Taylor <dtaylor@emc.com>
14315
14316 * gdb.base/offsets.exp: New file.
14317 * gdb.base/offsets.c: New file.
14318
143192016-06-23 Tom Tromey <tom@tromey.com>
14320
14321 PR gdb/16483:
14322 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14323 before any filters are loaded.
14324
143252016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14326
14327 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14328 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14329 structs.
14330 * gdb.fortran/derived-type-function.exp: New file.
14331 * gdb.fortran/derived-type-function.f90: New file.
14332
14333
143342016-06-21 Pedro Alves <palves@redhat.com>
14335
14336 * gdb.base/new-ui.exp: New file.
14337 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14338 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14339 (with_spawn_id): New procedure.
14340
143412016-06-21 Pedro Alves <palves@redhat.com>
14342
14343 * gdb.mi/mi-exec-run.exp: New file.
14344
143452016-06-21 Pedro Alves <palves@redhat.com>
14346
14347 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14348 breakpoint command's output on the main UI.
14349 (test_break): New procedure, factored out from calls in the top
14350 level.
14351 (top level): Use foreach_with_prefix to test MI as main UI and as
14352 separate UI.
14353
143542016-06-21 Pedro Alves <palves@redhat.com>
14355
14356 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14357 (test_awatch_creation_and_listing)
14358 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14359 Remove 'type' parameter.
14360 (test_watchpoint_all): New parameter mi_mode. Remove
14361 with_test_prefix.
14362 (top level): Use foreach_with_prefix, and add main/separate UI MI
14363 testing axis.
14364
143652016-06-21 Pedro Alves <palves@redhat.com>
14366
14367 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14368 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14369 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14370 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14371 (gdb_main_spawn_id, mi_spawn_id): Declare and
14372 comment.
14373 (mi_create_inferior_pty): New procedure,
14374 factored out from default_mi_gdb_start.
14375 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14376 procedures.
14377 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14378 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14379 Use mi_create_inferior_pty.
14380 (mi_gdb_start): Use eval to pass down args list.
14381
143822016-06-21 Pedro Alves <palves@redhat.com>
14383
14384 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14385 * gdb.opt/inline-cmds.exp: Add MI tests.
14386
143872016-06-21 Pedro Alves <palves@redhat.com>
14388
14389 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14390
143912016-06-21 Pedro Alves <palves@redhat.com>
14392
14393 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14394 (top level): Use it instead of mi_execute_to.
14395
143962016-06-21 Pedro Alves <palves@redhat.com>
14397
14398 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14399 (cont_handler_str): New.
14400 (signal_stop_handler): Set stop_handler_str instead of printing to
14401 stdout.
14402 (continue_handler): Set cont_handler_str instead of printing to
14403 stdout.
14404 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14405 mi_send_resuming_command. Print stop_handler_str and
14406 cont_handler_str instead of expecting the python events print
14407 directly.
14408
144092016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14410
14411 * gdb.base/jit-reader.exp: New file.
14412 * gdb.base/jithost.c: New file.
14413 * gdb.base/jithost.h: New file.
14414 * gdb.base/jitreader.c : New file.
14415 * gdb.base/jit-protocol.h: New file.
14416
144172016-06-17 Yao Qi <yao.qi@linaro.org>
14418
14419 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14420 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14421 and detach-on-fork. Adjust tests.
14422 (top level): Invoke break_cond_on_syscall with combinations of
14423 syscall, follow-fork-mode and detach-on-fork.
14424
144252016-06-17 Yao Qi <yao.qi@linaro.org>
14426
14427 * gdb.base/step-over-exit.c: New.
14428 * gdb.base/step-over-exit.exp: New.
14429
144302016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14431
14432 * gdb.base/float.exp: Add target check for nds32*-*-*.
14433 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14434
144352016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14436
14437 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14438 for unsupported target features.
14439 * gdb.base/call-rt-st.exp: Likewise.
14440 * gdb.base/call-sc.exp: Likewise.
14441 * gdb.base/call-signal-resume.exp: Likewise.
14442 * gdb.base/call-strs.exp: Likewise.
14443 * gdb.base/callexit.exp: Likewise.
14444 * gdb.base/callfuncs.exp: Likewise.
14445 * gdb.base/nodebug.exp: Likewise.
14446 * gdb.base/printcmds.exp: Likewise.
14447 * gdb.base/ptype.exp: Likewise.
14448 * gdb.base/structs.exp: Likewise.
14449 * gdb.base/unwindonsignal.exp: Likewise.
14450 * gdb.cp/gdb2495.exp: Likewise.
14451 * gdb.cp/templates.exp: Likewise.
14452 * gdb.cp/virtfunc.exp: Likewise.
14453 * gdb.threads/hand-call-in-threads.exp: Likewise.
14454 * gdb.threads/interrupted-hand-call.exp: Likewise.
14455 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14456
144572016-06-10 Tom Tromey <tom@tromey.com>
14458
14459 PR rust/20110:
14460 * gdb.rust/expr.exp: Add test for integer constant larger than
14461 i32.
14462
144632016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14464
14465 * gdb.fortran/nested-funcs.exp: New.
14466 * gdb.fortran/nested-funcs.f90: New.
14467
144682016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14469
14470 * gdb.base/examine-backward.c: New file.
14471 * gdb.base/examine-backward.exp: New file.
14472
144732016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14474
14475 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14476 matching.
14477
144782016-06-02 Tom Tromey <tom@tromey.com>
14479
14480 PR python/18984:
14481 * gdb.python/py-shared.exp: Add solib_name test.
14482
144832016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14484
14485 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14486
144872016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14488
14489 PR c++/19893
14490 * gdb.dwarf2/implref.exp: Rename to...
14491 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14492 * gdb.dwarf2/implref-array.c: New file.
14493 * gdb.dwarf2/implref-array.exp: Likewise.
14494 * gdb.dwarf2/implref-global.c: Likewise.
14495 * gdb.dwarf2/implref-global.exp: Likewise.
14496 * gdb.dwarf2/implref-struct.c: Likewise.
14497 * gdb.dwarf2/implref-struct.exp: Likewise.
14498
144992016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14500
14501 * gdb.trace/trace-condition.exp: Add 64bit tests.
14502
145032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14504
14505 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14506 bits types.
14507 (main): Adapt to 8 to 64 bits types.
14508 * gdb.trace/trace-condition.exp: Add new tests.
14509
145102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14511
14512 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14513
145142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14515
14516 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14517 Move condition tests...
14518 * gdb.trace/trace-condition.exp: Here.
14519
145202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14521
14522 * gdb.trace/trace-condition.exp: Add counter-case tests.
14523
145242016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14525
14526 PR c++/15231
14527 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14528 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14529
145302016-05-27 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14533 New procedure.
14534 (top level): Call it, and bail out of DejaGnu is known to be bad.
14535
145362016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14537
14538 * gdb.base/whatis.c: Extend the test case.
14539 * gdb.base/whatis.exp: Add additional tests.
14540
145412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14542
14543* gdb.fortran/type.f90: Add pointer variable.
14544* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14545
145462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14547
14548 * gdb.fortran/vla-type.exp: Fix testcase name.
14549
145502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14551
14552 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14553
145542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14555
14556 * gdb.fortran/type.f90: Add nested structures.
14557 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14558 * gdb.fortran/derived-type.exp: Adapt expected output.
14559 * gdb.fortran/vla-type.exp: Adapt expected output.
14560
145612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14562
14563 * gdb.fortran/whatis_type.exp: Adapt expected output.
14564
145652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14566
14567 * gdb.fortran/print_type.exp: Fix expected output.
14568 * gdb.fortran/whatis_type.exp: Fix expected output.
14569
145702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14571
14572 * gdb.fortran/whatis_type.exp: Use multi_line.
14573
145742016-05-24 Tom Tromey <tom@tromey.com>
14575
14576 PR python/17386:
14577 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14578 use value as an index.
14579
145802016-05-23 Tom Tromey <tom@tromey.com>
14581
14582 PR python/17981:
14583 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14584 no-breakpoint case.
14585
145862016-05-24 Pedro Alves <palves@redhat.com>
14587
14588 PR gdb/19828
14589 * gdb.threads/clone-attach-detach.c: New file.
14590 * gdb.threads/clone-attach-detach.exp: New file.
14591
145922016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14593
14594 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14595
145962016-05-23 Tom Tromey <tom@tromey.com>
14597
14598 PR python/19438, PR python/18393:
14599 * gdb.python/py-progspace.exp: Add "dir" test.
14600 * gdb.python/py-objfile.exp: Add "dir" test.
14601
146022016-05-23 Yao Qi <yao.qi@linaro.org>
14603
14604 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14605 * gdb.arch/thumb2-it.exp: Likewise.
14606
146072016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14608
14609 * gdb.mi/mi-threads-interrupt.c: New file.
14610 * gdb.mi/mi-threads-interrupt.exp: New file.
14611
146122016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14613
14614 PR gdb/18077
14615 * gdb.mi/mi-async-run.exp: New file.
14616 * gdb.mi/mi-async-run.c: New file.
14617
146182016-05-17 Tom Tromey <tom@tromey.com>
14619 Manish Goregaokar <manishsmail@gmail.com>
14620
14621 * lib/rust-support.exp: New file.
14622 * lib/gdb.exp (skip_rust_tests): New proc.
14623 (build_executable_from_specs): Handle rust.
14624 * lib/future.exp (gdb_find_rustc): New proc.
14625 (gdb_default_target_compile): Handle rust.
14626 * gdb.rust/expr.exp: New file.
14627 * gdb.rust/generics.exp: New file.
14628 * gdb.rust/generics.rs: New file.
14629 * gdb.rust/methods.exp: New file.
14630 * gdb.rust/methods.rs: New file.
14631 * gdb.rust/modules.exp: New file.
14632 * gdb.rust/modules.rs: New file.
14633 * gdb.rust/simple.exp: New file.
14634 * gdb.rust/simple.rs: New file.
14635
146362016-05-17 Tom Tromey <tom@tromey.com>
14637
14638 * gdb.base/default.exp (set language): Add rust.
14639
146402016-05-17 Tom Tromey <tom@tromey.com>
14641
14642 * gdb.gdb/unittest.exp: New file.
14643
146442016-05-16 Yao Qi <yao.qi@linaro.org>
14645
14646 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14647 shell_prompt. Update shell_prompt_re.
14648
146492016-05-12 Doug Evans <dje@google.com>
14650
14651 PR symtab/19999
14652 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14653 $options when building executable.
14654 * gdb.dwarf2/fission-loclists-pie.S: New file.
14655 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14656
146572016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14658
14659 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14660 of [is_remote target],
14661
146622016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14663
14664 * lib/gdb.exp (use_gdb_stub): New procedure.
14665
146662016-05-03 Yunlian Jiang <yunlian@google.com>
14667 Doug Evans <dje@google.com>
14668
14669 PR symtab/19914
14670 * gdb.dwarf2/dwp-sepdebug.c: New file.
14671 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14672
146732016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14674
14675 * gdb.base/detach.exp: Remove is_remote check.
14676
146772016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14678
14679 * gdb.base/annota-input-while-running.exp: Don't check for
14680 [is_remote target]. Enable annotations after running to main.
14681 Remove unused "set test..." line.
14682
146832016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14684
14685 * gdb.trace/trace-enable-disable.exp: New file.
14686 * gdb.trace/trace-enable-disable.c: New file.
14687
146882016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14689
14690 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14691 use it in info sharedlibrary test.
14692 * gdb.trace/ftrace-lock.exp: Likewise.
14693 * gdb.trace/ftrace.exp: Likewise.
14694 * gdb.trace/range-stepping.exp: Likewise.
14695 * gdb.trace/trace-break.exp: Likewise.
14696 * gdb.trace/trace-condition.exp: Likewise.
14697 * gdb.trace/trace-mt.exp: Likewise.
14698
146992016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14700
14701 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14702 (gdb_load_shlib): ... this.
14703 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14704 gdb_load_shlib.
14705 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14706 * gdb.base/ctxobj.exp: Likewise.
14707 * gdb.base/dprintf-pending.exp: Likewise.
14708 * gdb.base/dso2dso.exp: Likewise.
14709 * gdb.base/fixsection.exp: Likewise.
14710 * gdb.base/gcore-relro.exp: Likewise.
14711 * gdb.base/gdb1555.exp: Likewise.
14712 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14713 * gdb.base/gnu-ifunc.exp: Likewise.
14714 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14715 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14716 * gdb.base/pending.exp: Likewise.
14717 * gdb.base/print-file-var.exp: Likewise.
14718 * gdb.base/print-symbol-loading.exp: Likewise.
14719 * gdb.base/shlib-call.exp: Likewise.
14720 * gdb.base/shreloc.exp: Likewise.
14721 * gdb.base/so-impl-ld.exp: Likewise.
14722 * gdb.base/solib-disc.exp: Likewise.
14723 * gdb.base/solib-nodir.exp: Likewise.
14724 * gdb.base/solib-overlap.exp: Likewise.
14725 * gdb.base/solib-symbol.exp: Likewise.
14726 * gdb.base/solib-weak.exp (do_test): Likewise.
14727 * gdb.base/sym-file.exp: Likewise.
14728 * gdb.base/symtab-search-order.exp: Likewise.
14729 * gdb.base/type-opaque.exp: Likewise.
14730 * gdb.base/unload.exp: Likewise.
14731 * gdb.base/watchpoint-solib.exp: Likewise.
14732 * gdb.compile/compile.exp: Likewise.
14733 * gdb.cp/gdb2384.exp: Likewise.
14734 * gdb.cp/infcall-dlopen.exp: Likewise.
14735 * gdb.cp/re-set-overloaded.exp: Likewise.
14736 * gdb.fortran/library-module.exp: Likewise.
14737 * gdb.opt/solib-intra-step.exp: Likewise.
14738 * gdb.python/py-finish-breakpoint.exp: Likewise.
14739 * gdb.python/py-shared.exp: Likewise.
14740 * gdb.reverse/solib-precsave.exp: Likewise.
14741 * gdb.reverse/solib-reverse.exp: Likewise.
14742 * gdb.server/solib-list.exp: Likewise.
14743 * gdb.threads/dlopen-libpthread.exp: Likewise.
14744 * gdb.threads/tls-shared.exp: Likewise.
14745 * gdb.threads/tls-so_extern.exp: Likewise.
14746 * gdb.trace/change-loc.exp: Likewise.
14747 * gdb.trace/ftrace-lock.exp: Likewise.
14748 * gdb.trace/ftrace.exp: Likewise.
14749 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14750 * gdb.trace/pending.exp: Likewise.
14751 * gdb.trace/range-stepping.exp: Likewise.
14752 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14753 (strace_info_marker): Likewise.
14754 (strace_probe_marker): Likewise.
14755 (strace_trace_on_same_addr): Likewise.
14756 (strace_trace_on_diff_addr): Likewise.
14757 * gdb.trace/trace-break.exp: Likewise.
14758 * gdb.trace/trace-condition.exp: Likewise.
14759 * gdb.trace/trace-mt.exp: Likewise.
14760
147612016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14762
14763 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14764 result of gdb_remote_download.
14765 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14766 * gdb.base/dso2dso.exp: Likewise.
14767 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14768 * gdb.base/print-file-var.exp: Likewise.
14769 * gdb.base/shlib-call.exp: Likewise.
14770 * gdb.base/shreloc.exp: Likewise.
14771 * gdb.base/solib-overlap.exp: Likewise.
14772 * gdb.base/solib-weak.exp (do_test): Likewise.
14773 * gdb.base/unload.exp: Likewise.
14774
147752016-04-27 Yao Qi <yao.qi@linaro.org>
14776
14777 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14778 exists.
14779
147802016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14781
14782 * vla-type.exp: Print structure from toplevel.
14783
147842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14785
14786 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14787 of dynamic types.
14788 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14789 of dynamic types.
14790
147912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14792
14793 * gdb.fortran/vla-type.f90: New file.
14794 * gdb.fortran/vla-type.exp: New file.
14795
147962016-04-25 Yao Qi <yao.qi@linaro.org>
14797
14798 * gdb.base/branch-to-self.c: New file.
14799 * gdb.base/branch-to-self.exp: New file.
14800
148012016-04-22 Yao Qi <yao.qi@linaro.org>
14802
14803 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14804 more after $hex.
14805
148062016-04-22 Yao Qi <yao.qi@linaro.org>
14807
14808 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14809 * gdb.base/annota3.exp: Likewise.
14810
148112016-04-22 Yao Qi <yao.qi@linaro.org>
14812
14813 * gdb.reverse/step-precsave.exp: Do one step and test program
14814 stops in "callee" and do multiple steps until program goes out
14815 of "callee".
14816 * gdb.reverse/step-reverse.exp: Likewise.
14817
148182016-04-22 Yao Qi <yao.qi@linaro.org>
14819
14820 * gdb.trace/signal.exp: Also pass if
14821 $tracepoint_hits($i) > $iterations.
14822
148232016-04-22 Yao Qi <yao.qi@linaro.org>
14824
14825 * gdb.trace/signal.c: New file.
14826 * gdb.trace/signal.exp: New file.
14827
148282016-04-19 Doug Evans <xdje42@gmail.com>
14829
14830 * gdb.base/bad-file.exp: New file.
14831
148322016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14833
14834 * gdb.dwarf2/implref.exp: New file.
14835
148362016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14837
14838 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14839 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14840 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14841 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14842 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14843 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14844 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14845 * lib/fortran.exp (fortran_int4): New procedure.
14846 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14847 (fortran_logical4): Likewise.
14848
148492016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14850
14851 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14852
148532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14854
14855 * lib/compiler.c: Add Intel specific preprocessor macros.
14856 * lib/compiler.cc: Likewise.
14857
148582016-04-13 Luis Machado <lgustavo@codesourcery.com>
14859
14860 * gdb.server/connect-with-no-symbol-file.c: New file.
14861 * gdb.server/connect-with-no-symbol-file.exp: New file.
14862
148632016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14864
14865 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14866
148672016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14868
14869 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14870 standard output directory.
14871
148722016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14873
14874 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14875
148762016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14877
14878 * gdb.btrace/instruction_history.c (loop): Add declaration.
14879
148802016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14881
14882 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14883
148842016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14885
14886 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14887 parentheses to print.
14888 (continue_handler): Likewise.
14889
148902016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14891
14892 * gdb.server/solib-list.exp: Remove is_remote check.
14893 Pass shlib= to gdb_compile. Don't link shared library with
14894 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14895 Run binary filename through "readlink -f" on the target.
14896
148972016-04-08 Pedro Alves <palves@redhat.com>
14898
14899 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14900 interpreter filename as argument to gdbserver_spawn.
14901 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14902 Return empty if $last_loaded_file does not exist.
14903
149042016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14905
14906 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14907 * gdb.base/jit-main.c: Use exit after usage.
14908
149092016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14910
14911 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14912 GDBHISTSIZE prior to the tests.
14913 * gdb.base/gdbinit-history.exp: Likewise.
14914
149152016-04-07 Pedro Alves <palves@redhat.com>
14916
14917 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14918 instead of build_executable. Use gdb_load_shlibs.
14919
149202016-04-07 Yao Qi <yao.qi@linaro.org>
14921
14922 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14923 Execute "si" command.
14924
149252016-04-07 Yao Qi <yao.qi@linaro.org>
14926
14927 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14928 number instead of the comments on some line.
14929
149302016-04-06 Don Breazeal <donb@codesourcery.com>
14931
14932 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14933 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14934
149352016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14936
14937 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14938 standard_output_file. Remove unused binfile variable.
14939
149402016-04-05 Catalin Udma <catalin.udma@freescale.com>
14941
14942 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14943 * gdb.python/py-mi-objfile.exp: Match "list main" output
14944 in console format.
14945
149462016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14947
14948 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14949 absolute.
14950
149512016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14952
14953 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14954 absolute.
14955 * gdb.trace/ftrace.exp: Likewise.
14956 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14957 targets as well.
14958 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14959 (gdb_load_shlibs): Copy libraries to test directory when testing
14960 natively. Only set solib-search-path if testing remotely.
14961 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14962
149632016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14964
14965 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14966 gdb_download. Use it even if the target is not remote.
14967 * gdb.base/jit.exp (compile_jit_test): Likewise.
14968 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14969 output directory if the destination board is local, otherwise use
14970 the standard remote_download from DejaGnu.
14971 (gdb_download): Remove.
14972 (gdb_load_shlibs): Use gdb_remote_download instead of
14973 gdb_download.
14974 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14975 Use gdb_remote_download instead of gdb_download. Use it even if
14976 the target is not remote.
14977 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14978 instead of gdb_download.
14979
149802016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14981
14982 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14983 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14984 run.
14985
149862016-04-01 Artemiy Volkov <artemiyv@acm.org>
14987
14988 PR gdb/19820
14989 * gdb.base/printcmds.exp: Add artificial arrays tests.
14990
149912016-03-31 Pedro Alves <palves@redhat.com>
14992
14993 PR gdb/19858
14994 * gdb.base/jit-main.c: Include unistd.h.
14995 (ATTACH): Define to 0 if not already defined.
14996 (wait_for_gdb, mypid): New globals.
14997 (WAIT_FOR_GDB): New macro.
14998 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14999 some breakpoint locations.
15000 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15001 New procedures.
15002 (one_jit_test): Add REATTACH parameter, and handle it. Use
15003 continue_to_test_location.
15004 (top level): Test attach, and adjusts calls to one_jit_test.
15005
150062016-03-31 Pedro Alves <palves@redhat.com>
15007
15008 PR gdb/19858
15009 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15010 BINSUFFIX parameter, and handle it.
15011 (top level): Adjust calls compile_jit_test.
15012
150132016-03-31 Catalin Udma <catalin.udma@freescale.com>
15014
15015 PR python/19743
15016 * gdb.python/py-mi-events-gdb.py: New file.
15017 * gdb.python/py-mi-events.c: New file.
15018 * gdb.python/py-mi-events.exp: New file.
15019
150202016-03-30 Yao Qi <yao.qi@linaro.org>
15021
15022 * gdb.reverse/until-precsave.exp: Match function name only.
15023 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15024 Move malloc to a condition block.
15025 * gdb.reverse/until-reverse.exp: Match function name only.
15026
150272016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15028
15029 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15030 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15031 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15032 variable for GPR 0 instead of assuming it is register 0.
15033 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15034 * lib/trace-support.exp: Add s390 registers.
15035
150362016-03-29 Yao Qi <yao.qi@linaro.org>
15037
15038 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15039
150402016-03-24 Yao Qi <yao.qi@linaro.org>
15041
15042 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15043 test message.
15044
150452016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15046
15047 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15048 maintaining separate logic for constructing the output path.
15049
150502016-03-16 Don Breazeal <donb@codesourcery.com>
15051
15052 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15053 Retry fork and waitpid on interrupted system call errors.
15054 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15055 Use with_timeout_factor to increase timeout by factor of 10.
15056
150572016-03-15 Don Breazeal <donb@codesourcery.com>
15058
15059 * gdb.cp/scope-err.cc: New test program.
15060 * gdb.cp/scope-err.exp: New test script.
15061 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15062 lines and "set breakpoint here" comment.
15063 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15064 Fixed some whitespace and format issues.
15065 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15066 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15067
150682016-03-15 Doug Evans <dje@google.com>
15069
15070 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15071 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15072 All callers updated. Add tests for enums, mixed flags register.
15073
150742016-03-15 Doug Evans <dje@google.com>
15075
15076 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15077 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15078
150792016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15080
15081 * gdb.base/default.exp: Add $_as_string to the list of expected
15082 convenience functions.
15083
150842016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15085
15086 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15087
150882016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15089
15090 * gdb.python/py-as-string.exp: New file.
15091 * gdb.python/py-as-string.c: New file.
15092
150932016-03-09 Pedro Alves <palves@redhat.com>
15094
15095 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15096 signal" -> "Thread NN received signal" output change.
15097 * gdb.threads/ia64-sigill.exp: Likewise.
15098 * gdb.threads/linux-dp.exp: Likewise.
15099 * gdb.threads/manythreads.exp: Likewise.
15100 * gdb.threads/pending-step.exp: Likewise.
15101 * gdb.threads/print-threads.exp: Likewise.
15102 * gdb.threads/sigstep-threads.exp: Likewise.
15103 * gdb.threads/staticthreads.exp: Likewise.
15104 * gdb.threads/tls.exp: Likewise.
15105
151062016-03-09 Pedro Alves <palves@redhat.com>
15107
15108 * gdb.base/command-line-input.exp: New file.
15109
151102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15111
15112 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15113 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15114 * gdb.trace/pending.exp: Accept leading dot before function name.
15115 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15116 * lib/trace-support.exp: Set registers for ppc.
15117
151182016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15119
15120 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15121 use it for disassembly; accept .main in addition to main in backtrace.
15122
151232016-03-09 Wei-cheng Wang <cole945@gmail.com>
15124 Marcin Kościelnicki <koriakin@0x04.net>
15125
15126 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15127 (gdb_recursion_test_ptr): New global variable.
15128 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15129 gdb_recursion_test.
15130 (gdb_c_test): Ditto.
15131
151322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15133
15134 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15135 ordering.
15136
151372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15138
15139 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15140 (bar): Add bar_start_lbl label.
15141 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15142 of foo/bar for emitting DWARF and tracing.
15143
151442016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15145
15146 * analyze-racy-logs.py: Set executable bit.
15147
151482016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15149
15150 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15151 (CHECK_TARGET_TMP): Likewise.
15152 (check-single-racy): New rule.
15153 (check-parallel-racy): Likewise.
15154 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15155 (do-check-parallel-racy): New rule.
15156 (check-racy/%.exp): Likewise.
15157 * README (Racy testcases): New section.
15158 * analyze-racy-logs.py: New file.
15159
151602016-03-03 Doug Evans <dje@google.com>
15161
15162 * gdb.base/skip.exp: Use with_test_prefix.
15163
151642016-03-03 Yao Qi <yao.qi@linaro.org>
15165
15166 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15167 Invoke step_over_syscall "clone" and break_cond_on_syscall
15168 "clone".
15169 * gdb.base/step-over-clone.c: New file.
15170
151712016-03-03 Yao Qi <yao.qi@linaro.org>
15172
15173 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15174 code format.
15175
151762016-03-03 Yao Qi <yao.qi@linaro.org>
15177
15178 * gdb.base/disp-step-fork.c: Rename to ...
15179 * gdb.base/step-over-fork.c: ... it. New file.
15180 * gdb.base/disp-step-vfork.c: Rename to ...
15181 * gdb.base/step-over-vfork.c: ... it. New file.
15182 * gdb.base/disp-step-syscall.exp: Rename to ...
15183 * gdb.base/step-over-syscall.exp: ... it. New file.
15184 (disp_step_cross_syscall): Rename to ...
15185 (step_over_syscall): ... it.
15186
151872016-03-03 Yao Qi <yao.qi@linaro.org>
15188
15189 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15190 If target supports condition evaluation on target, invoke
15191 break_cond_on_syscall for fork and vfork.
15192
151932016-03-03 Yao Qi <yao.qi@linaro.org>
15194
15195 * gdb.base/disp-step-syscall.exp: Don't invoke
15196 support_displaced_stepping.
15197 (disp_step_cross_syscall): Test with displaced stepping off and
15198 on if supported.
15199
152002016-03-03 Yao Qi <yao.qi@linaro.org>
15201
15202 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15203 proc.
15204 (setup): New proc.
15205 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15206 and setup.
15207
152082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15209
15210 * gdb.fortran/vla-history.exp: Remove breakpoint.
15211
152122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15213
15214 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15215 exceeds timeout.
15216
152172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15218
15219 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15220 breakpoint.
15221
152222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15223
15224 * gdb.mi/vla.f90: Nullify pointer after declaration.
15225
152262016-03-01 Pedro Alves <palves@redhat.com>
15227
15228 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15229
152302016-03-01 Pedro Alves <palves@redhat.com>
15231
15232 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15233 before anything else.
15234 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15235 _GNU_SOURCE here.
15236 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15237 before anything else.
15238 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15239
152402016-03-01 Pedro Alves <palves@redhat.com>
15241
15242 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15243
152442016-03-01 Yao Qi <yao.qi@linaro.org>
15245
15246 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15247 prepare_for_testing.
15248
152492016-03-01 Yao Qi <yao.qi@linaro.org>
15250
15251 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15252
152532016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15254
15255 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15256 manually constructing the output path.
15257
152582016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15259
15260 * gdb.arch/s390-stackless.S: New.
15261 * gdb.arch/s390-stackless.exp: New.
15262
152632016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15264
15265 * gdb.dlang/circular.c: New file.
15266 * gdb.dlang/circular.exp: New file.
15267
152682016-02-26 Yao Qi <yao.qi@linaro.org>
15269
15270 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15271 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15272 (testcases): Update.
15273
152742016-02-26 Yao Qi <yao.qi@linaro.org>
15275
15276 * gdb.reverse/aarch64.c: Rename to ...
15277 * gdb.reverse/insn-reverse.c: ... it.
15278 * gdb.reverse/aarch64.exp: Rename to ...
15279 * gdb.reverse/insn-reverse.exp: ... it.
15280
152812016-02-26 Yao Qi <yao.qi@linaro.org>
15282
15283 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15284 (testcase_ftype): New.
15285 (testcases): New array.
15286 (n_testcases): New.
15287 (main): Call each element in testcases.
15288 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15289 (read_testcase): New.
15290 Do the tests in a loop.
15291
152922016-02-25 Yao Qi <yao.qi@linaro.org>
15293
15294 * gdb.base/branches.c: Remove.
15295
152962016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15297
15298 PR gdb/13808
15299 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15300
153012016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15302
15303 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15304
153052016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15306
15307 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15308 change x86_64 call_insn to 'callq'.
15309
153102016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15311
15312 * gdb.trace/tfile-avx.c: Move to...
15313 * gdb.trace/tracefile-pseudo-reg.c: Here.
15314 * gdb.trace/tfile-avx.exp: Move to...
15315 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15316
153172016-02-24 Gary Benson <gbenson@redhat.com>
15318
15319 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15320 message on attach.
15321
153222016-02-23 Doug Evans <dje@google.com>
15323
15324 * gdb.base/skip.c (test_skip): New function.
15325 (end_test_skip_file_and_function): New function.
15326 (test_skip_file_and_function): New function.
15327 * gdb.base/skip1.c (test_skip): New function.
15328 (skip1_test_skip_file_and_function): New function.
15329 * gdb.base/skip.exp: Add tests for new skip options.
15330 * gdb.base/skip-solib.exp: Update expected output.
15331 * gdb.perf/skip-command.cc: New file.
15332 * gdb.perf/skip-command.exp: New file.
15333 * gdb.perf/skip-command.py: New file.
15334
153352016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15336
15337 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15338 info registers pattern.
15339
153402016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15341
15342 * lib/future.exp: Add D support.
15343 (gdb_find_gdc): New proc.
15344 (gdb_default_target_compile): Add D support.
15345
153462016-02-18 Wei-cheng Wang <cole945@gmail.com>
15347
15348 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15349 user+system time.
15350 (trace_speed_test): Determine the iteration count for a time
15351 between 15..30 seconds.
15352
153532016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15354
15355 * gdb.arch/i386-mpx-sigsegv.c: New file.
15356 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15357 * gdb.arch/i386-mpx-simple_segv.c: New file.
15358 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15359
153602016-02-18 Yao Qi <yao.qi@linaro.org>
15361
15362 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15363 Don't call setup_kfail.
15364
153652016-02-18 Yao Qi <yao.qi@linaro.org>
15366
15367 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15368 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15369
153702016-02-16 Doug Evans <dje@google.com>
15371
15372 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15373 * gdb.base/skip1.c: Ditto.
15374 * gdb.base/skip.exp: Whitespace cleanup.
15375
153762016-02-16 Don Breazeal <donb@codesourcery.com>
15377
15378 PR remote/19496
15379 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15380 Remove kfail for PR remote/19496.
15381
153822016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15383
15384 * lib/gdb.exp (standard_temp_file): Return a path specific to
15385 the runtest invocation.
15386
153872016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15388
15389 * gdb.trace/save-trace.exp: Change relative path to be in the
15390 standard output directory.
15391
153922016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15393
15394 * gdb.arch/i386-prologue.c: Add missing prototypes.
15395
153962016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15397
15398 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15399 * gdb.arch/i386-prologue.exp: Likewise.
15400 * gdb.arch/i386-size.exp: Likewise.
15401
154022016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15403
15404 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15405 define object file path.
15406 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15407 file path.
15408 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15409 standard_output_file to define binfile.
15410
154112016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15412
15413 Fix compatibility with recent gfortran-5.3.1.
15414 * gdb.fortran/vla-history.exp (print vla1 allocated)
15415 (print vla2 allocated, print $2, print $3): Remove
15416 (print $4): Rename to ...
15417 (print $2): ... here.
15418 (print $9): Rename to ...
15419 (print $5): ... here.
15420 (print $10): Rename to ...
15421 (print $6): ... here.
15422 * gdb.fortran/vla.f90: Add pvla initialization.
15423
154242016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15425
15426 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15427 New test.
15428 * gdb.fortran/vla-value-sub.exp: Likewise.
15429
154302016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15431
15432 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15433
154342016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15435
15436 * i386-biarch-core.exp: Define corefile using
15437 standard_output_file.
15438
154392016-02-12 Yao Qi <yao.qi@linaro.org>
15440
15441 * gdb.arch/arm-single-step-kernel-helper.c: New.
15442 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15443
154442016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15445
15446 * gdb.btrace/tailcall-only.exp: New.
15447 * gdb.btrace/tailcall-only.c: New.
15448 * gdb.btrace/x86_64-tailcall-only.S: New.
15449 * gdb.btrace/i686-tailcall-only.S: New.
15450
154512016-02-11 Pedro Alves <palves@redhat.com>
15452
15453 * README (Parallel testing): Add missing double quotes.
15454
154552016-02-11 Pedro Alves <palves@redhat.com>
15456
15457 * README (Parallel testing): New section.
15458 (GDB_PARALLEL): Rewrite.
15459 (FORCE_PARALLEL): Document.
15460
154612016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15462
15463 * gdb.trace/tfile-avx.c: New test.
15464 * gdb.trace/tfile-avx.exp: New test.
15465
154662016-02-09 Keith Seitz <keiths@redhat.com>
15467
15468 PR breakpoints/19546
15469 * gdb.base/infcall-exec.c: New file.
15470 * gdb.base/infcall-exec2.c: New file.
15471 * gdb.base/infcall-exec.exp: New file.
15472
154732016-02-09 Keith Seitz <keiths@redhat.com>
15474
15475 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15476 (toplevel): Call test_bkpt_address.
15477
154782016-02-09 Keith Seitz <keiths@redhat.com>
15479
15480 PR python/19506
15481 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15482 (toplevel): Call test_bkpt_address.
15483
154842016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15485
15486 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15487 to AC_OUTPUT.
15488 * configure: Regenerate.
15489
154902016-02-09 Pedro Alves <palves@redhat.com>
15491
15492 PR breakpoints/19548
15493 * gdb.base/execl-update-breakpoints.c (some_function): New
15494 function.
15495 (main): Call it.
15496 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15497 Tighten expected GDB output.
15498
154992016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15500
15501 * Makefile.in (ALL_SUBDIRS): Remove.
15502 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15503 (distclean maintainer-clean realclean): Likewise.
15504 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15505 * configure: Regenerate.
15506 * gdb.ada/Makefile.in: Delete.
15507 * gdb.arch/Makefile.in: Likewise.
15508 * gdb.asm/Makefile.in: Likewise.
15509 * gdb.base/Makefile.in: Likewise.
15510 * gdb.btrace/Makefile.in: Likewise.
15511 * gdb.cell/Makefile.in: Likewise.
15512 * gdb.compile/Makefile.in: Likewise.
15513 * gdb.cp/Makefile.in: Likewise.
15514 * gdb.disasm/Makefile.in: Likewise.
15515 * gdb.dlang/Makefile.in: Likewise.
15516 * gdb.dwarf2/Makefile.in: Likewise.
15517 * gdb.fortran/Makefile.in: Likewise.
15518 * gdb.gdb/Makefile.in: Likewise.
15519 * gdb.go/Makefile.in: Likewise.
15520 * gdb.guile/Makefile.in: Likewise.
15521 * gdb.java/Makefile.in: Likewise.
15522 * gdb.linespec/Makefile.in: Likewise.
15523 * gdb.mi/Makefile.in: Likewise.
15524 * gdb.modula2/Makefile.in: Likewise.
15525 * gdb.multi/Makefile.in: Likewise.
15526 * gdb.objc/Makefile.in: Likewise.
15527 * gdb.opencl/Makefile.in: Likewise.
15528 * gdb.opt/Makefile.in: Likewise.
15529 * gdb.pascal/Makefile.in: Likewise.
15530 * gdb.perf/Makefile.in: Likewise.
15531 * gdb.python/Makefile.in: Likewise.
15532 * gdb.reverse/Makefile.in: Likewise.
15533 * gdb.server/Makefile.in: Likewise.
15534 * gdb.stabs/Makefile.in: Likewise.
15535 * gdb.threads/Makefile.in: Likewise.
15536 * gdb.trace/Makefile.in: Likewise.
15537 * gdb.xml/Makefile.in: Likewise.
15538 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15539 GDB_PARALLEL.
15540 (standard_output_file): Remove check for GDB_PARALLEL, always
15541 return path in outputs/$subdir/$testname.
15542
155432016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15544
15545 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15546 (site.exp): Assign abs_srcdir to tcl's srcdir.
15547
155482016-02-04 Yao Qi <yao.qi@linaro.org>
15549
15550 * gdb.base/foll-exec-mode.c: Include limits.h.
15551 (main): Add parameters argc and argv. Get directory from
15552 argv[0].
15553 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15554 compilation.
15555 * gdb.base/foll-exec.c: Include limits.h.
15556 (main): Add parameters argc and argv.
15557 Get directory from argv[0].
15558 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15559 Adjust tests on the number of lines as source code changed.
15560 * gdb.base/foll-vfork-exit.c: Include limits.h.
15561 (main): Add one line of statement before vfork.
15562 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15563 (main): Add parameters argc and argv. Get directory from
15564 argv[0].
15565 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15566 (setup_gdb): Set tbreak to skip some source lines.
15567 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15568 (main): Add parameters argc and argv. Get directory from
15569 argv[0].
15570 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15571 compilation.
15572 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15573 (main): Add parameters argc and argv. Get directory from
15574 argv[0].
15575 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15576 compilation.
15577
155782016-02-01 Doug Evans <dje@google.com>
15579
15580 * gdb.base/skip.exp: Clean up multiple references to same test name.
15581
155822016-02-01 Pedro Alves <palves@redhat.com>
15583
15584 PR remote/19496
15585 * gdb.threads/forking-threads-plus-breakpoint.exp
15586 (displaced_stepping_supported): New global.
15587 (probe_displaced_stepping_support): New procedure.
15588 (do_test): Add 'displaced' parameter, and use it.
15589 (top level): Check for displaced stepping support. Add displaced
15590 stepping on/off testing axis.
15591
155922016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15593
15594 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15595 pointer. Don't perform further tests on the unassociated pointer
15596 if the first test fails.
15597
155982016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15599
15600 * gdb.base/max-value-size.c: New file.
15601 * gdb.base/max-value-size.exp: New file.
15602 * gdb.base/huge.exp: Disable max-value-size for this test.
15603
156042016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15605
15606 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15607
156082016-01-28 Yao Qi <yao.qi@linaro.org>
15609
15610 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15611
156122016-01-25 Pedro Alves <palves@redhat.com>
15613
15614 PR threads/19461
15615 * gdb.base/fork-running-state.c: New file.
15616 * gdb.base/fork-running-state.exp: New file.
15617
156182016-01-25 Pedro Alves <palves@redhat.com>
15619
15620 PR gdb/19494
15621 * gdb.base/catch-fork-kill.c: New file.
15622 * gdb.base/catch-fork-kill.exp: New file.
15623
156242016-01-25 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15627 Delete, moved to lib/gdb.exp.
15628 * gdb.threads/forking-threads-plus-breakpoint.exp
15629 (foreach_with_prefix): Likewise.
15630 * gdb.threads/process-dies-while-handling-bp.exp
15631 (foreach_with_prefix): Likewise.
15632 * lib/gdb.exp (foreach_with_prefix): New procedure.
15633
156342016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15635
15636 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15637 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15638
156392016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15640
15641 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15642 endian targets.
15643
156442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15645 Pedro Alves <palves@redhat.com>
15646
15647 Fix testsuite compatibility with Guile.
15648 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15649 number.
15650
156512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15652
15653 Fix testsuite compatibility with Guile.
15654 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15655 (thread 1): New test for backtrace through signal handler.
15656
156572016-01-22 Yao Qi <yao.qi@linaro.org>
15658
15659 PR testsuite/19491
15660 * gdb.base/multi-forks.c: Include
15661 ../lib/unbuffer_output.c
15662 (main): Call gdb_unbuffer_output.
15663
156642016-01-21 Doug Evans <dje@google.com>
15665
15666 * lib/ada.exp (gdb_compile_ada): Fix typo.
15667
156682016-01-21 Joel Brobecker <brobecker@adacore.com>
15669
15670 * gdb.base/break-fun-addr.exp: New file.
15671 * gdb.base/break-fun-addr1.c: New file.
15672 * gdb.base/break-fun-addr2.c: New file.
15673
156742016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15675
15676 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15677 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15678 enum flag values.
15679
156802016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15681
15682 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15683 when GDB can not set the vector return value. Add more comments
15684 for clarification.
15685
156862016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15687
15688 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15689 command.
15690
156912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15692
15693 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15694
156952016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15696
15697 * Makefile.in (check-single): Pass --status to runtest.
15698 (check/%.exp): Likewise.
15699
157002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15701
15702 * Makefile.in (check-parallel): Propagate return code from make
15703 do-check-parallel.
15704
157052016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15706
15707 * gdb.trace/ftrace.exp: Fix expected message on continue.
15708 * gdb.trace/pending.exp: Fix expected message on continue.
15709 * gdb.trace/trace-break.exp: Fix expected message on continue.
15710
157112016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15712
15713 * lib/gdb.exp (gdb_test): Remove unused global references.
15714
157152016-01-18 Pedro Alves <palves@redhat.com>
15716
15717 * gdb.base/async-shell.exp: Adjust expected output.
15718 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15719 * gdb.base/siginfo-thread.exp: Adjust expected output.
15720 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15721 * gdb.java/jnpe.exp: Adjust expected output.
15722 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15723 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15724 * gdb.threads/leader-exit.exp: Adjust expected output.
15725 * gdb.threads/manythreads.exp: Adjust expected output.
15726 * gdb.threads/pthreads.exp: Adjust expected output.
15727 * gdb.threads/schedlock.exp: Adjust expected output.
15728 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15729 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15730 expected output.
15731 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15732 output.
15733 * gdb.threads/sigthread.exp: Adjust expected output.
15734 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15735
157362016-01-18 Yao Qi <yao.qi@linaro.org>
15737
15738 * gdb.guile/scm-section-script.c: Replace @progbits with
15739 %progbits.
15740 * gdb.python/py-section-script.c: Likewise.
15741
157422016-01-15 Pedro Alves <palves@redhat.com>
15743
15744 * gdb.multi/tids.exp: Test star wildcard ranges.
15745
157462016-01-15 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15749 command from "thread apply" invocation.
15750 (thr_apply_info_thr_invalid): Default the expected output to the
15751 input tid list.
15752 (top level): Add tests that use convenience variables. Add tests
15753 for "thread apply" with a valid TID list, but missing the command.
15754
157552016-01-13 Pedro Alves <palves@redhat.com>
15756
15757 * gdb.base/default.exp: Expect $_gthread as well.
15758 * gdb.multi/tids.exp: Test $_gthread.
15759 * gdb.threads/thread-specific.exp: Test $_gthread.
15760
157612016-01-13 Pedro Alves <palves@redhat.com>
15762
15763 * gdb.multi/tids.exp: Test "info threads -gid".
15764
157652016-01-13 Pedro Alves <palves@redhat.com>
15766
15767 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15768 Breakpoint.thread.
15769 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15770
157712016-01-07 Pedro Alves <palves@redhat.com>
15772
15773 * gdb.base/break.exp: Adjust to output changes.
15774 * gdb.base/hbreak2.exp: Likewise.
15775 * gdb.base/sepdebug.exp: Likewise.
15776 * gdb.base/watch_thread_num.exp: Likewise.
15777 * gdb.linespec/keywords.exp: Likewise.
15778 * gdb.multi/info-threads.exp: Likewise.
15779 * gdb.threads/thread-find.exp: Likewise.
15780 * gdb.multi/tids.c: New file.
15781 * gdb.multi/tids.exp: New file.
15782
157832016-01-13 Pedro Alves <palves@redhat.com>
15784
15785 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15786
157872016-01-13 Pedro Alves <palves@redhat.com>
15788
15789 * gdb.base/default.exp: Expect $_inferior as well.
15790 * gdb.multi/base.exp: Test $_inferior.
15791
157922016-01-13 Pedro Alves <palves@redhat.com>
15793
15794 PR breakpoints/19388
15795 * gdb.base/catch-signal-siginfo-cond.c: New file.
15796 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15797
157982016-01-12 Josh Stone <jistone@redhat.com>
15799 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15800
15801 * gdb.base/catch-syscall.c (do_execve): New variable.
15802 (main): Conditionally trigger an execve.
15803 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15804 (test_catch_syscall_execve): New, check entry/return across execve.
15805 (do_syscall_tests): Call test_catch_syscall_execve.
15806
158072016-01-12 Pedro Alves <palves@redhat.com>
15808
15809 * gdb.base/random-signal.exp (do_test): New procedure, with body
15810 of testcase moved in.
15811
158122016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15813 Pedro Alves <palves@redhat.com>
15814
15815 * gdb.base/funcargs.exp (finish from indirectly called function):
15816 Reintroduce the case for 'First'.
15817
158182016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15819 Pedro Alves <palves@redhat.com>
15820
15821 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15822 (tcatch_vfork_then_child_follow_exec)
15823 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15824 identification.
15825
158262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15827
15828 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15829 and repeats to unlimited.
15830 * gdb.python/py-value.exp: Likewise.
15831 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15832 and repeats to unlimited.
15833
158342016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15835
15836 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15837 and reordering the functions.
15838 * gdb.multi/hangout.c: Likewise.
15839 * gdb.multi/hello.c: Likewise.
15840
158412016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15842
15843 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15844 absolute.
15845 (SingleStatisticTestResult.report): Use dict.keys instead of
15846 dict.iterkeys.
15847
158482016-01-06 Pedro Alves <palves@redhat.com>
15849
15850 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15851
158522016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15853
15854 * gdb.btrace/dlopen.exp: New.
15855 * gdb.btrace/dlopen.c: New.
15856 * gdb.btrace/dlopen-dso.c: New.
15857
158582015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15859
15860 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15861 PATTERN argument is optional.
15862
158632015-12-24 Joel Brobecker <brobecker@adacore.com>
15864
15865 * lib/ada.exp (target_compile_ada_from_dir): New function.
15866 (gdb_compile_ada): Reimplement avoiding the use of project files.
15867 * gdb.ada/gnat_ada.gpr: Delete.
15868 * gdb.ada/cond_lang.exp: Adjust test to make path before
15869 filename optional.
15870 * gdb.ada/small_reg_param.exp: Likewise.
15871
158722015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15873
15874 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15875
158762015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15877
15878 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15879 case.
15880
158812015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15882
15883 * gdb.base/break.exp: Remove dead code.
15884 * gdb.base/sepdebug.exp: Likewise.
15885
158862015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15887
15888 * gdb.asm/asm-source.exp: Remove HP-UX references.
15889 * gdb.base/annota1.exp: Likewise.
15890 * gdb.base/annota3.exp: Likewise.
15891 * gdb.base/attach.exp: Likewise.
15892 * gdb.base/bigcore.exp: Likewise.
15893 * gdb.base/break.exp: Likewise.
15894 * gdb.base/call-ar-st.exp: Likewise.
15895 * gdb.base/callfuncs.exp: Likewise.
15896 * gdb.base/catch-fork-static.exp: Likewise.
15897 * gdb.base/display.exp: Likewise.
15898 * gdb.base/foll-exec-mode.exp: Likewise.
15899 * gdb.base/foll-exec.exp: Likewise.
15900 * gdb.base/foll-fork.exp: Likewise.
15901 * gdb.base/foll-vfork.exp: Likewise.
15902 * gdb.base/funcargs.exp: Likewise.
15903 * gdb.base/hbreak2.exp: Likewise.
15904 * gdb.base/inferior-died.exp: Likewise.
15905 * gdb.base/interrupt.exp: Likewise.
15906 * gdb.base/multi-forks.exp: Likewise.
15907 * gdb.base/nodebug.exp: Likewise.
15908 * gdb.base/sepdebug.exp: Likewise.
15909 * gdb.base/solib1.c: Likewise.
15910 * gdb.base/step-test.exp: Likewise.
15911 * gdb.mi/non-stop.c: Likewise.
15912 * gdb.mi/pthreads.c: Likewise.
15913 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15914 * gdb.threads/pthreads.c: Likewise.
15915 * gdb.threads/staticthreads.exp: Likewise.
15916 * lib/future.exp: Likewise.
15917 * lib/gdb.exp: Likewise.
15918 * gdb.base/so-indr-cl.c: Remove.
15919 * gdb.base/so-indr-cl.exp: Likewise.
15920 * gdb.base/solib.c: Likewise.
15921 * gdb.base/solib.exp: Likewise.
15922 * gdb.base/solib2.c: Likewise.
15923
159242015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15925
15926 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15927 * gdb.base/call-ar-st.exp: Likewise.
15928 * gdb.base/callfuncs.exp: Likewise.
15929 * gdb.base/condbreak.exp: Likewise.
15930 * gdb.base/constvars.exp: Likewise.
15931 * gdb.base/hbreak2.exp: Likewise.
15932 * gdb.base/langs.exp: Likewise.
15933 * gdb.base/list.exp: Likewise.
15934 * gdb.base/long_long.exp: Likewise.
15935 * gdb.base/ptype.exp: Likewise.
15936 * gdb.base/scope.exp: Likewise.
15937 * gdb.base/signals.exp: Likewise.
15938 * gdb.base/so-impl-ld.exp: Likewise.
15939 * gdb.base/varargs.exp: Likewise.
15940 * gdb.base/volatile.exp: Likewise.
15941 * gdb.base/whatis.exp: Likewise.
15942 * gdb.cp/cplusfuncs.exp: Likewise.
15943 * gdb.cp/inherit.exp: Likewise.
15944 * gdb.cp/local.exp: Likewise.
15945 * gdb.cp/member-ptr.exp: Likewise.
15946 * gdb.cp/method.exp: Likewise.
15947 * gdb.cp/overload.exp: Likewise.
15948 * gdb.cp/templates.exp: Likewise.
15949 * gdb.stabs/weird.exp: Likewise.
15950 * lib/compiler.c: Likewise.
15951 * lib/compiler.cc: Likewise.
15952 * lib/cp-support.exp: Likewise.
15953 * lib/gdb.exp: Likewise.
15954
159552015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15956
15957 * configure.ac: Remove HP-UX case.
15958 * configure: Regenerate.
15959
159602015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15961
15962 * lib/gdb.exp (gdb_compile): Add function doc.
15963
159642015-12-17 Pedro Alves <palves@redhat.com>
15965
15966 PR threads/19354
15967 * gdb.multi/info-threads.exp: New file.
15968
159692015-12-15 Yao Qi <yao.qi@linaro.org>
15970
15971 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15972 is aarch64*-*-*.
15973
159742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15975
15976 * gdb.base/history-duplicates.exp: Skip if no readline support.
15977
159782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15979
15980 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15981
159822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15983
15984 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15985
159862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15987
15988 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15989 ctrl-C if nointerrupts target property is set.
15990 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15991 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15992 * gdb.base/paginate-bg-execution.exp: Likewise.
15993 * gdb.base/paginate-execution-startup.exp: Likewise.
15994 * gdb.base/random-signal.exp: Likewise.
15995 * gdb.base/range-stepping.exp: Likewise.
15996 * gdb.cp/annota2.exp: Likewise.
15997 * gdb.cp/annota3.exp: Likewise.
15998 * gdb.gdb/selftest.exp: Likewise.
15999 * gdb.threads/continue-pending-status.exp: Likewise.
16000 * gdb.threads/leader-exit.exp: Likewise.
16001 * gdb.threads/manythreads.exp: Likewise.
16002 * gdb.threads/pthreads.exp: Likewise.
16003 * gdb.threads/schedlock.exp: Likewise.
16004 * gdb.threads/sigthread.exp: Likewise.
16005
160062015-12-11 Don Breazeal <donb@codesourcery.com>
16007
16008 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16009 remote.
16010 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16011 * gdb.base/foll-exec.exp (main): Enable for target remote.
16012 * gdb.base/foll-fork.exp (main): Likewise.
16013 * gdb.base/foll-vfork.exp (main): Likewise.
16014 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16015 (proc continue_to_exit_bp_loc): Use clean_restart.
16016 * gdb.base/pie-execl.exp (main): Disable for target remote.
16017 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16018 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16019 * gdb.threads/execl.exp (main): Likewise.
16020 * gdb.threads/fork-child-threads.exp (main): Likewise.
16021 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16022 remote.
16023 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16024 remote.
16025 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16026 pid.tid style ptids, instead of just tid.
16027 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16028 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16029 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16030 ptids, instead of just tid.
16031
160322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16033
16034 * gdb.base/list.exp (test_list_forward): Add end of file error
16035 test.
16036 (test_repeat_list_command): Add end of file error test.
16037 (test_list_backwards): Add beginning of file error test.
16038
160392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16040
16041 * gdb.base/list.exp (test_list_invalid_args): New function,
16042 defined, and called.
16043
160442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16045
16046 * gdb.base/list.exp (test_list): Make test names unique.
16047
160482015-12-11 Yao Qi <yao.qi@linaro.org>
16049
16050 * gdb.base/coremaker2.c: Remove.
16051
160522015-12-10 Pedro Alves <palves@redhat.com>
16053
16054 * gdb.multi/base.exp: Remove stale "spaces" references.
16055
160562015-12-10 Pedro Alves <palves@redhat.com>
16057
16058 * gdb.multi/base.exp: Don't use nowarnings.
16059 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16060 * gdb.multi/hangout.c: Include stdio.h.
16061 * gdb.multi/hello.c: Include stdlib.h.
16062 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16063 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16064 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16065
160662015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16067
16068 * gdb.dwarf2/dw2-ranges-base.c: New file.
16069 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16070 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16071 support additional line table, and debug ranges generation.
16072 (Dwarf::ranges): New function, generate .debug_ranges.
16073 (Dwarf::lines): Support generating simple line table programs.
16074 (Dwarf::assemble): Initialise new namespace variables.
16075
160762015-12-09 Kevin Buettner <kevinb@redhat.com>
16077
16078 * gdb.base/async.exp (proc test_background): Add case for
16079 asynchronous execution not supported.
16080
160812015-12-09 Luis Machado <lgustavo@codesourcery.com>
16082
16083 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16084 format and change test names to make them unique.
16085
160862015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16087 Pedro Alves <pedro@redhat.com>
16088
16089 PR gdb/18702
16090 Add checking of floatformats setup on x86_64 hosts.
16091 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16092 (smallval, bigval): New labels/constants.
16093 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16094 float" after loading bigval and smallval.
16095
160962015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16097
16098 * gdb.ada/fun_overload_menu.exp: New testcase.
16099 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16100
161012015-12-04 Josh Stone <jistone@redhat.com>
16102
16103 * gdb.base/catch-fork-static.exp: New.
16104
161052015-12-03 Yao Qi <yao.qi@linaro.org>
16106
16107 * gdb.base/sizeof.c: Don't include stdio.h and
16108 ../lib/unbuffer_output.c.
16109 (main): New variable 'size' and 'value'. Remove printf and
16110 gdb_unbuffer_output. Assign return value to size and value.
16111 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16112 at the beginning.
16113 (check_sizeof): Check the result by printing variable 'size'.
16114 (check_valueof): Check the result by printing variable 'value'.
16115
161162015-12-01 Yao Qi <yao.qi@linaro.org>
16117
16118 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16119 for aarch64*-*-linux* target.
16120
161212015-11-30 Pedro Alves <palves@redhat.com>
16122
16123 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16124
161252015-11-30 Pedro Alves <palves@redhat.com>
16126
16127 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16128 Handle non-stop mode vCont replies.
16129
161302015-11-30 Pedro Alves <palves@redhat.com>
16131
16132 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16133 prepare_for_testing. Start gdb with "set non-stop on" appended to
16134 GDBFLAGS. Lax expected stop output.
16135
161362015-11-27 Yao Qi <yao.qi@linaro.org>
16137
16138 * gdb.arch/arm-neon.exp: New.
16139 * gdb.arch/arm-neon.c: New.
16140
161412015-11-27 Yao Qi <yao.qi@linaro.org>
16142
16143 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16144
161452015-11-27 Yao Qi <yao.qi@linaro.org>
16146
16147 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16148 frames-invalid annotation.
16149
161502015-11-27 Yao Qi <yao.qi@linaro.org>
16151
16152 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16153
161542015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16155
16156 * gdb.threads/names.exp: New file.
16157 * gdb.threads/names.c: New file.
16158 * README: Mention gdb,no_thread_names.
16159
161602015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16161
16162 PR 19297
16163 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16164 support" error.
16165
161662015-11-24 Pedro Alves <palves@redhat.com>
16167
16168 PR 17539
16169 * gdb.base/display.exp: Expect displays to be sorted in ascending
16170 order. Use multi_line.
16171 * gdb.base/solib-display.exp: Likewise.
16172
161732015-11-24 Pedro Alves <palves@redhat.com>
16174
16175 PR 17539
16176 * gdb.base/display.exp: Expect displays to be sorted in ascending
16177 order. Use multi_line.
16178 * gdb.base/solib-display.exp: Likewise.
16179
161802015-11-24 Pedro Alves <palves@redhat.com>
16181
16182 PR 17539
16183 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16184 threads in ascending order.
16185 * gdb.base/foll-fork.exp: Likewise.
16186 * gdb.base/foll-vfork.exp: Likewise.
16187 * gdb.base/multi-forks.exp: Likewise.
16188 * gdb.mi/mi-nonstop.exp: Likewise.
16189 * gdb.mi/mi-nsintrall.exp: Likewise.
16190 * gdb.multi/base.exp: Likewise.
16191 * gdb.multi/multi-arch.exp: Likewise.
16192 * gdb.python/py-inferior.exp: Likewise.
16193 * gdb.threads/break-while-running.exp: Likewise.
16194 * gdb.threads/execl.exp: Likewise.
16195 * gdb.threads/gcore-thread.exp: Likewise.
16196 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16197 * gdb.threads/kill.exp: Likewise.
16198 * gdb.threads/linux-dp.exp: Likewise.
16199 * gdb.threads/multiple-step-overs.exp: Likewise.
16200 * gdb.threads/next-bp-other-thread.exp: Likewise.
16201 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16202 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16203 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16204 * gdb.threads/thread-find.exp: Likewise.
16205 * gdb.threads/tls.exp: Likewise.
16206 * lib/mi-support.exp (mi_reverse_list): Delete.
16207 (mi_check_thread_states): No longer reverse list.
16208
162092015-11-24 Pedro Alves <palves@redhat.com>
16210
16211 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16212 use lowercase.
16213
162142015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16215
16216 * gdb.trace/actions.c: Include trace-common.h.
16217 (main): Add a location for a fast tracepoint.
16218 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16219 the normal tracepoints.
16220 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16221
162222015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16223
16224 * save-trace.exp: Factor out code to these...
16225 (gdb_save_tracepoints): New.
16226 (gdb_load_tracepoints): New.
16227 (do_save_load_test): New.
16228
162292015-11-23 Kevin Buettner <kevinb@redhat.com>
16230
16231 * gdb.base/asmlabel.exp: New test.
16232 * gdb.base/asmlabel.c: New test case.
16233
162342015-11-23 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.base/wrong_frame_bt_full-main.c: New file.
16237 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16238 * gdb.base/wrong_frame_bt_full.exp: New file.
16239
162402015-11-23 Joel Brobecker <brobecker@adacore.com>
16241
16242 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16243
162442015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16245
16246 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
16247 pstate register when comparing registers values in
16248 sparc64-*-linux-gnu targets to avoid spurious differences.
16249
162502015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16251
16252 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
16253
162542015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16255
16256 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16257 as type argument to gdb_compile.
16258 * gdb.base/nested-subp2.exp: Likewise.
16259 * gdb.base/nested-subp3.exp: Likewise.
16260
162612015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16262
16263 * lib/dwarf.exp (_note): Fix left shift of negative value.
16264 * gdb.trace/trace-condition.exp: Likewise.
16265
162662015-11-13 Yao Qi <yao.qi@linaro.org>
16267
16268 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16269 comments about d10v.
16270 (test_scalar_returns): Likewise.
16271 * gdb.base/d10v.ld: Remove.
16272 * gdb.base/overlays.exp: Remove the target triplet checking for
16273 d10v-*-*.
16274 * gdb.base/structs.exp (test_struct_returns): Remove the
16275 comments about d10v.
16276 (test_struct_calls): Likewise.
16277
162782015-11-13 Yao Qi <yao.qi@linaro.org>
16279
16280 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16281 * gdb.base/gnu_vector.c: Don't include stdio.h.
16282 (main): Don't print res and call add_some_intvecs.
16283
162842015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16285
16286 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16287 macro.
16288 (func5): Removed.
16289 (func4): Use FAST_TRACEPOINT_LABEL.
16290 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16291 macro.
16292 (func): Removed.
16293 (thread_function): Use FAST_TRACEPOINT_LABEL.
16294 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16295 (func): Remove.
16296 (marker): Use FAST_TRACEPOINT_LABEL.
16297 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16298 (pendfunc1): Remove.
16299 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16300 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16301 (foo): Remove.
16302 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16303 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16304 macro.
16305 (func): Remove.
16306 (marker): Use FAST_TRACEPOINT_LABEL.
16307 * gdb.trace/trace-common.h: New header.
16308 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16309 macro.
16310 (func): Remove.
16311 (marker): Use FAST_TRACEPOINT_LABEL.
16312 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16313 (func): Remove.
16314 (thread_function): Use FAST_TRACEPOINT_LABEL.
16315
163162015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16317
16318 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16319 in front.
16320 * gdb.trace/change-loc.exp: Use global pcreg definition.
16321 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16322 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16323 in front.
16324 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16325 * gdb.trace/pending.exp: Likewise.
16326 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16327 * gdb.trace/trace-break.exp: Likewise.
16328 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16329 in front.
16330 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16331 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16332 in front.
16333 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16334
163352015-11-09 Joel Brobecker <brobecker@adacore.com>
16336
16337 * gdb.ada/fin_fun_out: New testcase.
16338
163392015-11-07 Kevin Buettner <kevinb@redhat.com>
16340
16341 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16342 value associated with DW_AT_byte_size.
16343 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16344 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16345 DW_AT_upper_bound.
16346
163472015-11-07 Kevin Buettner <kevinb@redhat.com>
16348
16349 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16350 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16351 version.
16352 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16353 gdb.dwarf2/dw2-canonicalize-type.exp,
16354 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16355 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16356 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16357 provided by gdb_target_symbol_prefix_flags_asm.
16358 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16359 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16360 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16361 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16362 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16363 macros where needed). Use this macro for symbols which require
16364 the prefix provided by SYMBOL_PREFIX.
16365
163662015-11-05 Kevin Buettner <kevinb@redhat.com>
16367
16368 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16369 New procs.
16370 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16371 representing expressions, of more than one list element.
16372 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16373 to prepend linker symbol prefix to f.
16374 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16375 table_1 and table_2.
16376 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16377 Likewise, for f and g.
16378 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16379 for ptr.
16380 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16381 for main.
16382 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16383 table_1_ptr and table_2_ptr.
16384
163852015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16386 Joel Brobecker <brobecker@adacore.com>
16387
16388 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16389
163902015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16391
16392 * gdb.reverse/s390-mvcle.c: New test.
16393 * gdb.reverse/s390-mvcle.exp: New file.
16394 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16395
163962015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16397
16398 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16399
164002015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16401
16402 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16403 reaching marker2.
16404 * gdb.reverse/getresuid-reverse.exp: Likewise.
16405 * gdb.reverse/pipe-reverse.exp: Likewise.
16406 * gdb.reverse/readv-reverse.exp: Likewise.
16407 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16408 * gdb.reverse/time-reverse.exp: Likewise.
16409 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16410
164112015-10-30 Yao Qi <yao.qi@linaro.org>
16412
16413 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16414 (empty_cycle): Remove.
16415 (main): Don't call empty_cycle. Don't use watch_count_done.
16416 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16417 empty_cycle. Rewrite the code counting HW watchpoints.
16418
164192015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16420
16421 * gdb.reverse/fstatat-reverse.c: New test.
16422 * gdb.reverse/fstatat-reverse.exp: New file.
16423 * gdb.reverse/getresuid-reverse.c: New test.
16424 * gdb.reverse/getresuid-reverse.exp: New file.
16425 * gdb.reverse/pipe-reverse.c: New test.
16426 * gdb.reverse/pipe-reverse.exp: New file.
16427 * gdb.reverse/readv-reverse.c: New test.
16428 * gdb.reverse/readv-reverse.exp: New file.
16429 * gdb.reverse/recvmsg-reverse.c: New test.
16430 * gdb.reverse/recvmsg-reverse.exp: New file.
16431 * gdb.reverse/time-reverse.c: New test.
16432 * gdb.reverse/time-reverse.exp: New file.
16433 * gdb.reverse/waitpid-reverse.c: New test.
16434 * gdb.reverse/waitpid-reverse.exp: New file.
16435
164362015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16437
16438 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16439
164402015-10-26 Doug Evans <dje@google.com>
16441
16442 PR symtab/17391
16443 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16444 * gdb.dwarf2/bad-regnum.c: New file.
16445 * gdb.dwarf2/bad-regnum.exp: New file.
16446
164472015-10-26 Doug Evans <dje@google.com>
16448
16449 PR python/18938
16450 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16451 file.
16452
164532015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16454
16455 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16456 for a change by "Mention language in compile error message".
16457
164582015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16459
16460 PR python/18073
16461 * gdb.python/py-type.c (C::a_method): New.
16462 (C::a_const_method): New.
16463 (C::a_static_method): New.
16464 (a_function): New.
16465 * gdb.python/py-type.exp (test_fields): Test getting fields
16466 from function and method.
16467
164682015-10-21 Keven Boell <keven.boell@intel.com>
16469
16470 * gdb.fortran/vla-alloc-assoc.exp: New file.
16471 * gdb.fortran/vla-datatypes.exp: New file.
16472 * gdb.fortran/vla-datatypes.f90: New file.
16473 * gdb.fortran/vla-history.exp: New file.
16474 * gdb.fortran/vla-ptype-sub.exp: New file.
16475 * gdb.fortran/vla-ptype.exp: New file.
16476 * gdb.fortran/vla-sizeof.exp: New file.
16477 * gdb.fortran/vla-sub.f90: New file.
16478 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16479 * gdb.fortran/vla-value-sub-finish.exp: New file.
16480 * gdb.fortran/vla-value-sub.exp: New file.
16481 * gdb.fortran/vla-value.exp: New file.
16482 * gdb.fortran/vla-ptr-info.exp: New file.
16483 * gdb.mi/mi-vla-fortran.exp: New file.
16484 * gdb.mi/vla.f90: New file.
16485
164862015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16487
16488 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16489 of hardwired timeout value.
16490
164912015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16492 Pedro Alves <palves@redhat.com>
16493
16494 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16495 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16496
164972015-10-19 Josh Stone <jistone@redhat.com>
16498
16499 * gdb.base/catch-syscall.c: Include <sched.h>.
16500 (unknown_syscall): New variable.
16501 (main): Trigger a vfork and an unknown syscall.
16502 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16503 (unknown_syscall_number): Likewise.
16504 (check_call_to_syscall): Accept an optional syscall pattern.
16505 (check_return_from_syscall): Likewise.
16506 (check_continue): Likewise.
16507 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16508 (test_catch_syscall_skipping_return): New test toggling off 'catch
16509 syscall' to step over the syscall return, then toggling back on.
16510 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16511 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16512 (do_syscall_tests): Call test_catch_syscall_without_args and
16513 test_catch_syscall_mid_vfork.
16514 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16515 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16516
165172015-10-19 Andrew Stubbs <ams@codesourcery.com>
16518
16519 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16520 print g_vE): Add new pass patterns.
16521 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16522 print various symbol names for vptr fields.
16523
165242015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16525
16526 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16527 results.
16528
165292015-10-12 Yao Qi <yao.qi@linaro.org>
16530
16531 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16532
165332015-10-12 Yao Qi <yao.qi@linaro.org>
16534
16535 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16536 is aarch64*-*-linux*.
16537
165382015-10-12 Yao Qi <yao.qi@linaro.org>
16539
16540 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16541 (can_relocate_bcond_true): ... it.
16542 (can_relocate_bcond_false): New function.
16543 (foo): Likewise.
16544 (can_relocate_bl): Likewise.
16545 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16546 can_relocate_bl.
16547
165482015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16549
16550 * gdb.base/nested-addr.c: New file.
16551 * gdb.base/nested-addr.exp: New testcase.
16552
165532015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16554
16555 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16556 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16557 its output. Ignore the output of "record goto begin" and instead
16558 check that GDB is replaying.
16559
165602015-10-09 Pedro Alves <palves@redhat.com>
16561
16562 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16563 (top level): Use it in the run with no args test.
16564
165652015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16566
16567 * gdb.dlang/properties.exp: New file.
16568
165692015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16570
16571 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16572 whether or not address 0x1000 is mapped on the target.
16573
165742015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16575
16576 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16577 build.
16578
165792015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16580
16581 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16582 instruction-history test.
16583
165842015-09-28 Doug Evans <dje@google.com>
16585
16586 * gdb.base/gcore.c (array_func): Add reference to static_array.
16587
165882015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16589
16590 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16591 source line.
16592
165932015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16594
16595 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16596 short or char as base type.
16597
165982015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16599
16600 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16601 to allow any size enum.
16602
166032015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16604
16605 * gdb.ada/array_ptr_renaming.exp: New testcase.
16606 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16607 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16608
166092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16610
16611 * gdb.trace/ftrace-lock.c: New file.
16612 * gdb.trace/ftrace-lock.exp: New file.
16613
166142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16615
16616 * gdb.arch/insn-reloc.c: New file.
16617 * gdb.arch/ftrace-insn-reloc.exp: New file.
16618
166192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16620
16621 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16622 instruction.
16623 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16624 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16625 * gdb.trace/range-stepping.c: Likewise.
16626 * gdb.trace/trace-break.c: Likewise.
16627 * gdb.trace/trace-mt.c (thread_function): Likewise.
16628 * gdb.trace/ftrace.c (marker): Likewise.
16629 * gdb.trace/trace-condition.c (marker): Likewise.
16630 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16631 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16632 is_aarch64_target.
16633
166342015-09-18 Doug Evans <xdje42@gmail.com>
16635
16636 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16637 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16638
166392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16640
16641 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16642 the breakpoint.
16643
166442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16645
16646 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16647 the pending breakpoint. Remove timeout override for "Run till
16648 MI pending breakpoint on pendfunc3 on thread 2" test.
16649
166502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16651
16652 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16653 filename pattern.
16654
166552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16656
16657 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16658 in breakpoint filename pattern.
16659
166602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16661
16662 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16663
166642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16665
16666 * gdb.linespec/explicit.exp: Check for readline support for
16667 tab-completion tests. Fix obvious typo.
16668
166692015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16670
16671 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16672 and replay.
16673
166742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16675
16676 * gdb.btrace/non-stop.c: New.
16677 * gdb.btrace/non-stop.exp: New.
16678
166792015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16680 Yao Qi <yao.qi@linaro.org>
16681
16682 * gdb.trace/trace-condition.c: New file.
16683 * gdb.trace/trace-condition.exp: New file.
16684
166852015-09-16 Wei-cheng Wang <cole945@gmail.com>
16686
16687 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16688 for testing bytecode compilation.
16689
166902015-09-16 Pedro Alves <palves@redhat.com>
16691 Sandra Loosemore <sandra@codesourcery.com>
16692
16693 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16694 (SECONDS): Redefine.
16695 (main): Call pthread_kill and alarm early.
16696 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16697 support.
16698 (test): If the target can't hardware step and doesn't support
16699 displaced stepping, increase the timeout.
16700
167012015-09-16 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16704 (enable_debug): New procedures.
16705 (test): Use them. Bail out if waiting for threads fails.
16706 (top level): Bail out if a test fails.
16707
167082015-09-16 Yao Qi <yao.qi@linaro.org>
16709
16710 * gdb.asm/asm-source.exp: Set asm-arch for
16711 aarch64*-*-* target.
16712 * gdb.asm/aarch64.inc: New file.
16713
167142015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16715
16716 * gdb.ada/array_of_variable_length.exp: New testcase.
16717 * gdb.ada/array_of_variable_length/foo.adb: New file.
16718 * gdb.ada/array_of_variable_length/pck.adb: New file.
16719 * gdb.ada/array_of_variable_length/pck.ads: New file.
16720
167212015-09-15 Doug Evans <dje@google.com>
16722
16723 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16724 of function static local variable.
16725
167262015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16727
16728 * gdb.threads/tls-so_extern.exp: New test file.
16729 * gdb.threads/tls-so_extern.c: New test file.
16730 * gdb.threads/tls-so_extern_main.c: New test file.
16731
167322015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16733
16734 * gdb.opt/solib-intra-step-lib.c: New file.
16735 * gdb.opt/solib-intra-step-main.c: New file.
16736 * gdb.opt/solib-intra-step.exp: New file.
16737
167382015-09-15 Pedro Alves <palves@redhat.com>
16739
16740 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16741 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16742
167432015-09-14 Pedro Alves <palves@redhat.com>
16744
16745 * gdb.base/hook-stop-continue.c: Delete.
16746 * gdb.base/hook-stop-continue.exp: Delete.
16747 * gdb.base/hook-stop-frame.c: Delete.
16748 * gdb.base/hook-stop-frame.exp: Delete.
16749 * gdb.base/hook-stop.c: New file.
16750 * gdb.base/hook-stop.exp: New file.
16751
167522015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16753
16754 * gdb.ada/access_to_packed_array.exp: New testcase.
16755 * gdb.ada/access_to_packed_array/foo.adb: New file.
16756 * gdb.ada/access_to_packed_array/pack.adb: New file.
16757 * gdb.ada/access_to_packed_array/pack.ads: New file.
16758
167592015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16760
16761 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16762 buffer size test.
16763
167642015-09-11 Don Breazeal <donb@codesourcery.com>
16765
16766 * gdb.base/foll-exec.c: Add copyright header. Fix
16767 formatting issues.
16768 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16769 (do_exec_tests): Use clean_restart in place of zap_session,
16770 and for test initialization. Fix formatting issues. Use
16771 fail in place of perror.
16772 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16773 an expect statement to match an expression with output from
16774 the program under debug.
16775 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16776 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16777 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16778 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16779 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16780
167812015-09-09 Doug Evans <dje@google.com>
16782
16783 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16784
167852015-09-09 Doug Evans <dje@google.com>
16786
16787 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16788
167892015-09-09 Doug Evans <dje@google.com>
16790
16791 * gdb.base/savedregs.exp: Fix typo.
16792
167932015-09-09 Pedro Alves <palves@redhat.com>
16794
16795 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16796
167972015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16798
16799 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16800 command actually switches threads. Give up on remaining
16801 tests if target fails to stop at breakpoint.
16802
168032015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16804
16805 * gdb.ada/funcall_char.exp: New testcase.
16806 * gdb.ada/funcall_char/foo.adb: New file.
16807
168082015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16809
16810 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16811 expected outputs. Add two testcases for completing ambiguous
16812 functions.
16813 * gdb.ada/complete/aux_pck.adb: New file.
16814 * gdb.ada/complete/aux_pck.ads: New file.
16815 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16816 Ambiguous_Func functions.
16817 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16818 * gdb.ada/complete/pck.adb: Likewise.
16819
168202015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16821
16822 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16823 failures to run the test program under GDB.
16824
168252015-08-26 Luis Machado <lgustavo@codesourcery.com>
16826
16827 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16828 to C.
16829
168302015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16831
16832 * gdb.base/run-after-attach.exp: New test file.
16833 * gdb.base/run-after-attach.c: New test file.
16834
168352015-08-26 Don Breazeal <donb@codesourcery.com>
16836
16837 * gdb.base/foll-exec-2.c: New test program.
16838 * gdb.base/foll-exec-2.exp: New test.
16839
168402015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16841
16842 * gdb.base/nested-subp1.exp: New file.
16843 * gdb.base/nested-subp1.c: New file.
16844 * gdb.base/nested-subp2.exp: New file.
16845 * gdb.base/nested-subp2.c: New file.
16846 * gdb.base/nested-subp3.exp: New file.
16847 * gdb.base/nested-subp3.c: New file.
16848
168492015-08-24 Pedro Alves <palves@redhat.com>
16850
16851 * gdb.server/connect-without-multi-process.c: New file.
16852 * gdb.server/connect-without-multi-process.exp: New file.
16853
168542015-08-24 Luis Machado <lgustavo@codesourcery.com>
16855
16856 * gdb.opt/inline-markers.c: Make z int.
16857
168582015-08-24 Luis Machado <lgustavo@codesourcery.com>
16859
16860 * gdb.opt/inline-markers.c: Make z volatile.
16861
168622015-08-24 Luis Machado <lgustavo@codesourcery.com>
16863
16864 * gdb.opt/inline-bt.c: New volatile global z.
16865 * gdb.opt/inline-cmds.c: Likewise.
16866 * gdb.opt/inline-locals.c: Likewise.
16867 * gdb.opt/inline-markers.c: New extern global z.
16868 (marker): Use z.
16869 (inline_fn): Likewise.
16870
168712015-08-24 Pedro Alves <palves@redhat.com>
16872
16873 * config/m32r-stub.exp: Remove file.
16874 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16875 * gdb.base/call-rt-st.exp: Likewise.
16876 * gdb.base/call-strs.exp: Likewise.
16877 * gdb.base/default.exp: Remove references to h8300-*-hms and
16878 *-*-udi*.
16879 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16880
168812015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16882
16883 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16884 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16885 and "return" use KFAIL when GDB can not read/write the vector
16886 return value.
16887
168882015-08-21 Gary Benson <gbenson@redhat.com>
16889
16890 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16891
168922015-08-20 Pedro Alves <palves@redhat.com>
16893
16894 * gdb.server/solib-list.exp: No longer expect an interior stop in
16895 non-stop mode.
16896
168972015-08-20 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.server/connect-stopped-target.c: New file.
16900 * gdb.server/connect-stopped-target.exp: New file.
16901
169022015-08-20 Pedro Alves <palves@redhat.com>
16903
16904 * gdb.dwarf2/comp-unit-lang.exp: New file.
16905 * gdb.dwarf2/comp-unit-lang.c: New file.
16906
169072015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16908
16909 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16910 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16911
169122015-08-19 Kevin Buettner <kevinb@redhat.com>
16913
16914 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16915 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16916
169172015-08-18 Doug Evans <dje@google.com>
16918 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16919
16920 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16921 skip_python_tests. New arg prompt_regexp.
16922 (skip_python_tests): New function.
16923 * lib/mi-support.exp (mi_skip_python_tests): New function.
16924 * gdb.python/py-mi-objfile-gdb.py: New file.
16925 * gdb.python/py-mi-objfile.c: New file.
16926 * gdb.python/py-mi-objfile.exp: New file.
16927
169282015-08-17 Keith Seitz <keiths@redhat.com>
16929
16930 * gdb.linespec/explicit.exp: Move strace test from here ...
16931 * gdb.trace/strace.exp: ... to here.
16932
169332015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16934
16935 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16936 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16937
169382015-08-14 Doug Evans <xdje42@gmail.com>
16939
16940 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16941 inferior before selecting a new file.
16942
169432015-08-14 Doug Evans <xdje42@gmail.com>
16944
16945 * gdb.mi/mi-disassemble.exp: Update.
16946 * gdb.base/disasm-optim.S: New file.
16947 * gdb.base/disasm-optim.c: New file.
16948 * gdb.base/disasm-optim.h: New file.
16949 * gdb.base/disasm-optim.exp: New file.
16950
169512015-08-14 Keith Seitz <keiths@redhat.com>
16952
16953 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16954 "evaluated-by".
16955
169562015-08-13 Joel Brobecker <brobecker@adacore.com>
16957
16958 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16959
169602015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16961
16962 * gdb.ada/fun_renaming.exp: New testcase.
16963 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16964 * gdb.ada/fun_renaming/pack.adb: New file.
16965 * gdb.ada/fun_renaming/pack.ads: New file.
16966
169672015-08-12 Keith Seitz <keiths@redhat.com>
16968
16969 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16970 gdb_get_line_number.
16971
169722015-08-12 Joel Brobecker <brobecker@adacore.com>
16973
16974 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16975 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16976 gdb.base/dso2dso.exp: New files.
16977
169782015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16979 Pedro Alves <palves@redhat.com>
16980 Keith Seitz <keiths@redhat.com>
16981
16982 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16983 GDBFLAGS.
16984
169852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16986
16987 * gdb.base/gdbhistsize-history.exp
16988 (test_histsize_history_setting): Use save_vars.
16989 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16990 Use save_vars.
16991 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16992 * gdb.base/readline.exp: Use save_vars.
16993
169942015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16995
16996 * lib/gdb.exp (save_vars): New proc.
16997
169982015-08-11 Keith Seitz <keiths@redhat.com>
16999
17000 * gdb.base/help.exp: Update help_breakpoint_text.
17001
170022015-08-11 Keith Seitz <keiths@redhat.com>
17003
17004 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17005 (at toplevel): Call test_explicit_breakpoints.
17006 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17007 breakpoints.
17008 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17009 breakpoint conditions, "-cond".
17010
170112015-08-11 Keith Seitz <keiths@redhat.com>
17012
17013 * gdb.linespec/3explicit.c: New file.
17014 * gdb.linespec/cpexplicit.cc: New file.
17015 * gdb.linespec/cpexplicit.exp: New file.
17016 * gdb.linespec/explicit.c: New file.
17017 * gdb.linespec/explicit.exp: New file.
17018 * gdb.linespec/explicit2.c: New file.
17019 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17020 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17021 before using in the matching pattern.
17022 Clarify that `prefix' is a regular expression.
17023
170242015-08-11 Keith Seitz <keiths@redhat.com>
17025
17026 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17027 test.
17028 Add tests for missing ",FMT" and ",".
17029
170302015-08-10 Doug Evans <dje@google.com>
17031 Keith Seitz <keiths@redhat.com>
17032
17033 PR gdb/17960
17034 * gdb.base/completion.exp: Add location completer tests.
17035
170362015-08-07 Pedro Alves <palves@redhat.com>
17037
17038 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17039 tests here.
17040 (top level): Run do_test with and without displaced stepping.
17041
170422015-08-07 Pedro Alves <palves@redhat.com>
17043
17044 * gdb.base/valgrind-disp-step.c: New file.
17045 * gdb.base/valgrind-disp-step.exp: New file.
17046
170472015-08-07 Pedro Alves <palves@redhat.com>
17048
17049 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17050 Delete function.
17051 (main): Add alarm. Run an infinite loop instead of calling
17052 wait_threads.
17053 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17054 comment.
17055 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17056 Delete function.
17057 (main): Add alarm. Run an infinite loop instead of calling
17058 wait_threads.
17059 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17060 comment.
17061
170622015-08-07 Pedro Alves <palves@redhat.com>
17063
17064 * gdb.base/checkpoint-ns.exp: New file.
17065 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17066 standard_testfile.
17067
170682015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17069
17070 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17071 * gdb.btrace/instruction_history.exp: Update.
17072 * gdb.btrace/tsx.exp: New.
17073 * gdb.btrace/tsx.c: New.
17074
170752015-08-06 Pedro Alves <palves@redhat.com>
17076
17077 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17078 increase timeout.
17079 * gdb.reverse/until-precsave.exp: Bump timeouts.
17080
170812015-08-06 Pedro Alves <palves@redhat.com>
17082
17083 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17084
170852015-08-06 Pedro Alves <palves@redhat.com>
17086
17087 PR gdb/18749
17088 * gdb.threads/process-dies-while-handling-bp.c: New file.
17089 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17090
170912015-08-06 Pedro Alves <palves@redhat.com>
17092
17093 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17094 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17095
170962015-08-05 Pedro Alves <palves@redhat.com>
17097
17098 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17099 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17100
171012015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17102
17103 * gdb.base/bp-permanent.exp: Report test as unsupported if
17104 the target cannot stop at the permanent breakpoint.
17105
171062015-08-03 Doug Evans <dje@google.com>
17107
17108 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17109 10000.
17110
171112015-08-03 Doug Evans <dje@google.com>
17112
17113 * Makefile.in (workers/%.worker, build-perf): New rule.
17114 (GDB_PERFTEST_MODE): New variable.
17115 (check-perf): Use it.
17116 (clean): Clean up gdb.perf parallel build subdirs.
17117 * lib/build-piece.exp: New file.
17118 * lib/gdb.exp (make_gdb_parallel_path): New function
17119 (standard_output_file, standard_temp_file): Call it.
17120 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17121 of $GDB_PARALLEL.
17122 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17123
171242015-08-03 Doug Evans <dje@google.com>
17125
17126 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
17127 (LOG_FILE_NAME): New global.
17128 (TextReporter.__init__): Initialize self.txt_sum.
17129 (TextReporter.report): Add support for multiple data-points.
17130 Move report to perftest.sum, put raw data in perftest.log.
17131 (TextReporter.start): Open sum and log files.
17132 (TextReporter.end): Close sum and log files.
17133 * gdb.perf/lib/perftest/testresult.py
17134 (SingleStatisticTestResult.record): Handle multiple data-points.
17135
171362015-07-31 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17139 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17140 kill_wait_spawned_process instead of explicit "kill -9".
17141 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17142 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17143 kill_wait_spawned_process.
17144 * gdb.base/attach-twice.exp: Likewise.
17145 * gdb.base/attach.exp: Likewise.
17146 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17147 gdb_test_multiple.
17148 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17149 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17150 kill_wait_spawned_process.
17151 * gdb.base/valgrind-infcall.exp: Likewise.
17152 * gdb.multi/multi-attach.exp: Likewise.
17153 * gdb.python/py-prompt.exp: Likewise.
17154 * gdb.python/py-sync-interp.exp: Likewise.
17155 * gdb.server/ext-attach.exp: Likewise.
17156 * gdb.threads/attach-into-signal.exp (corefunc): Use
17157 spawn_wait_for_attach, spawn_id_get_pid and
17158 kill_wait_spawned_process.
17159 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17160 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17161 spawn_id_get_pid and kill_wait_spawned_process.
17162 * gdb.threads/attach-stopped.exp (corefunc): Use
17163 spawn_wait_for_attach, spawn_id_get_pid and
17164 kill_wait_spawned_process.
17165 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17166 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17167 kill_wait_spawned_process instead of explicit "kill -9".
17168 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17169 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17170 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17171 processes. Don't map cygwin/windows pids here. Now returns a
17172 spawn id list.
17173
171742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17175
17176 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17177 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17178 correct patch.
17179
171802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17181
17182 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17183
171842015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17185
17186 Reapply:
17187 2014-05-21 Mark Wielaard <mjw@redhat.com>
17188
17189 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17190
171912015-07-30 Pedro Alves <palves@redhat.com>
17192
17193 * linux-low.c (handle_extended_wait): Set the child's last
17194 reported status to TARGET_WAITKIND_STOPPED.
17195
171962015-07-30 Pedro Alves <palves@redhat.com>
17197
17198 PR threads/18600
17199 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17200 only shows inferior 1.
17201
172022015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17203 Pedro Alves <palves@redhat.com>
17204
17205 PR threads/18600
17206 * gdb.threads/fork-plus-threads.c: New file.
17207 * gdb.threads/fork-plus-threads.exp: New file.
17208
172092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17210
17211 * gdb.base/batch-preserve-term-settings.exp
17212 (test_terminal_settings_preserved_after_cli_exit): Use
17213 send_quit_command.
17214
172152015-07-29 Pedro Alves <palves@redhat.com>
17216 Don Breazeal <donb@codesourcery.com>
17217
17218 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17219 output from both inferior_spawn_id and gdb_spawn_id.
17220
172212015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17222
17223 * gdb.threads/attach-into-signal.exp (corefunc): Use
17224 with_test_prefix on nested loops, uniquefying the test messages.
17225
172262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17227
17228 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17229 commit.
17230
172312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17232
17233 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17234 New proc.
17235 (test_terminal_settings_preserved_after_sigterm): New test.
17236
172372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17238
17239 * gdb.base/batch-preserve-term-settings.exp
17240 (test_terminal_settings_preserved_after_cli_exit): New test.
17241
172422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17243
17244 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17245 manipulation of saved_gdbflags.
17246 (test_terminal_settings_preserved): Remove global declaration of
17247 the unused variable pagination_prompt. Remove manipulation of
17248 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17249 GDBFLAGS.
17250
172512015-07-29 Pedro Alves <palves@redhat.com>
17252
17253 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17254
172552015-07-29 Pedro Alves <palves@redhat.com>
17256
17257 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17258 at the top.
17259
172602015-07-29 Pedro Alves <palves@redhat.com>
17261
17262 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17263 (main): Call gdb_unbuffer_output.
17264 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17265 (main): Call gdb_unbuffer_output.
17266 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17267 (main): Call gdb_unbuffer_output.
17268 * gdb.base/call-strs.exp: Adjust to step over the
17269 gdb_unbuffer_output call.
17270 * gdb.base/catch-gdb-caused-signals.c: Include
17271 "../lib/unbuffer_output.c".
17272 (main): Call gdb_unbuffer_output.
17273 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17274 (main): Call gdb_unbuffer_output.
17275 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17276 (main): Call gdb_unbuffer_output.
17277 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17278 (main): Call gdb_unbuffer_output.
17279 * gdb.base/shlib-call.exp: Adjust to step over the
17280 gdb_unbuffer_output call.
17281 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17282 (main): Call gdb_unbuffer_output.
17283 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17284 (main): Call gdb_unbuffer_output.
17285 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17286 (main): Rename to ...
17287 (test): ... this.
17288 (main): Reimplement.
17289 * gdb.base/varargs.exp: Run to test instead of to main.
17290 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17291 (main): Call gdb_unbuffer_output.
17292
172932015-07-29 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17296 factore out from mi_continue_dprintf. For call-style dprintfs,
17297 expect dprintf output out of $inferior_spawn_id.
17298 (mi_continue_dprintf): Use mi_expect_dprintf.
17299 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17300 (main): Call gdb_unbuffer_output.
17301
173022015-07-29 Pedro Alves <palves@redhat.com>
17303
17304 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17305 (default_mi_gdb_start): Set inferior_spawn_id instead of
17306 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17307 gdb_spawn_id.
17308 (mi_gdb_test): Always expect inferior output from both
17309 $inferior_spawn_id and $gdb_spawn_id.
17310
173112015-07-29 Pedro Alves <palves@redhat.com>
17312
17313 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17314 send_inferior and $inferior_spawn_id.
17315
173162015-07-29 Pedro Alves <palves@redhat.com>
17317
17318 * gdb.gdb/complaints.exp (test_initial_complaints)
17319 (test_serial_complaints, test_short_complaints): Use
17320 gdb_test_stdio.
17321 (test_empty_complaint): Handle $inferior_spawn_id !=
17322 $gdb_spawn_id.
17323
173242015-07-29 Pedro Alves <palves@redhat.com>
17325
17326 * gdb.base/varargs.exp: Use gdb_test_stdio.
17327
173282015-07-29 Pedro Alves <palves@redhat.com>
17329
17330 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17331
173322015-07-29 Pedro Alves <palves@redhat.com>
17333
17334 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17335
173362015-07-29 Pedro Alves <palves@redhat.com>
17337
17338 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17339 parameter into two new parameters, "inf_result" and "gdb_result".
17340 Expect inferior output and gdb output from $inferior_spawn_id and
17341 $gdb_spawn_id, respectively. Adjust all callers.
17342
173432015-07-29 Pedro Alves <palves@redhat.com>
17344
17345 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17346 of gdb_test_sequence.
17347
173482015-07-29 Pedro Alves <palves@redhat.com>
17349
17350 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17351 (saw_spurious_output): Expect inferior output from
17352 $inferior_spawn_id. Use gdb_test_stdio.
17353
173542015-07-29 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/dprintf.exp: Use standard_testfile. Change
17357 prepare_for_testing call.
17358 (srcfile): Don't set.
17359 (restart): New procedure.
17360 (test_dprintf): New procecure, use to continue over dprintfs.
17361 (test_call, test_agent): New procedures, tests moved here.
17362 Restart gdb and recreate dprintfs. Adjust expected output.
17363
173642015-07-29 Pedro Alves <palves@redhat.com>
17365
17366 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17367
173682015-07-29 Pedro Alves <palves@redhat.com>
17369
17370 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17371
173722015-07-29 Pedro Alves <palves@redhat.com>
17373
17374 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17375 gdb_test_stdio.
17376
173772015-07-29 Pedro Alves <palves@redhat.com>
17378
17379 * lib/gdb.exp (gdb_test_stdio): New procedure.
17380
173812015-07-29 Pedro Alves <palves@redhat.com>
17382
17383 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17384
173852015-07-29 Pedro Alves <palves@redhat.com>
17386
17387 * gdb.base/call-signal-resume.exp: Remove check for
17388 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17389 * gdb.base/unwindonsignal.exp: Likewise.
17390 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17391 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17392
173932015-07-29 Pedro Alves <palves@redhat.com>
17394
17395 * gdb.base/siginfo-addr.c (pass): New function.
17396 (handler): Call it iff si_addr is correct.
17397 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17398 Set a breakpoint at "pass" and continue to it.
17399
174002015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17401
17402 * gdb.python/py-objfile.exp: Make some tests have unique names.
17403 * gdb.python/py-pp-registration.exp: Likewise.
17404
174052015-07-28 Pedro Alves <palves@redhat.com>
17406
17407 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17408
174092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17410
17411 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17412
174132015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17414
17415 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17416
174172015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17418
17419 * gdb.base/gdb-sigterm-2.exp: New test.
17420
174212015-07-25 Doug Evans <xdje42@gmail.com>
17422
17423 Revert:
17424 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17425 (workers/%.worker, build-perf): New rule.
17426 (GDB_PERFTEST_MODE): New variable.
17427 (check-perf): Use it.
17428 (clean): Clean up gdb.perf parallel build subdirs.
17429 * lib/build-piece.exp: New file.
17430 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17431 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17432 name.
17433 (standard_temp_file): Ditto.
17434 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17435 of $GDB_PARALLEL.
17436
174372015-07-24 Doug Evans <dje@google.com>
17438
17439 * gdb.perf/lib/perftest/utils.py: New file.
17440 * gdb.perf/gm-hello.cc: New file.
17441 * gdb.perf/gm-pervasive-typedef.cc: New file.
17442 * gdb.perf/gm-pervasive-typedef.h: New file.
17443 * gdb.perf/gm-std.cc: New file.
17444 * gdb.perf/gm-std.h: New file.
17445 * gdb.perf/gm-use-cerr.cc: New file.
17446 * gdb.perf/gm-utils.h: New file.
17447 * gdb.perf/gmonster-null-lookup.py: New file.
17448 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17449 * gdb.perf/gmonster-print-cerr.py: New file.
17450 * gdb.perf/gmonster-ptype-string.py: New file.
17451 * gdb.perf/gmonster-runto-main.py: New file.
17452 * gdb.perf/gmonster-select-file.py: New file.
17453 * gdb.perf/gmonster1-null-lookup.exp: New file.
17454 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17455 * gdb.perf/gmonster1-print-cerr.exp: New file.
17456 * gdb.perf/gmonster1-ptype-string.exp: New file.
17457 * gdb.perf/gmonster1-runto-main.exp: New file.
17458 * gdb.perf/gmonster1-select-file.exp: New file.
17459 * gdb.perf/gmonster1.cc: New file.
17460 * gdb.perf/gmonster1.exp: New file.
17461 * gdb.perf/gmonster2-null-lookup.exp: New file.
17462 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17463 * gdb.perf/gmonster2-print-cerr.exp: New file.
17464 * gdb.perf/gmonster2-ptype-string.exp: New file.
17465 * gdb.perf/gmonster2-runto-main.exp: New file.
17466 * gdb.perf/gmonster2-select-file.exp: New file.
17467 * gdb.perf/gmonster2.cc: New file.
17468 * gdb.perf/gmonster2.exp: New file.
17469
174702015-07-24 Doug Evans <dje@google.com>
17471
17472 * gdb.perf/README: New file.
17473 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17474 * lib/gen-perf-test.exp: New file.
17475
174762015-07-24 Doug Evans <dje@google.com>
17477
17478 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17479 (PerfTest::startup): New function.
17480 (PerfTest::run): Return result of calling body.
17481 (PerfTest::assemble): Rewrite.
17482 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17483 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17484 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17485 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17486 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17487
174882015-07-24 Doug Evans <dje@google.com>
17489
17490 * lib/gdb.exp (clean_restart): Make executable optional.
17491
174922015-07-24 Doug Evans <dje@google.com>
17493
17494 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17495 compiler_info references.
17496 * gdb.cp/temargs.exp: Ditto.
17497 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17498 (get_compiler_info): Early exit if already computed. Set compiler_info
17499 to "unknown" if there was a problem.
17500 (test_compiler_info): Add function comment. Call get_compiler_info.
17501
175022015-07-24 Doug Evans <dje@google.com>
17503
17504 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17505 (workers/%.worker, build-perf): New rule.
17506 (GDB_PERFTEST_MODE): New variable.
17507 (check-perf): Use it.
17508 (clean): Clean up gdb.perf parallel build subdirs.
17509 * lib/build-piece.exp: New file.
17510 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17511 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17512 name.
17513 (standard_temp_file): Ditto.
17514 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17515 of $GDB_PARALLEL.
17516
175172015-07-24 Doug Evans <dje@google.com>
17518
17519 * lib/future.exp (gdb_default_target_compile): New option
17520 "early_flags".
17521 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17522 --as-needed.
17523
175242015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17525
17526 * gdb.base/catch-syscall.exp: Call gdb_exit before
17527 gdb_skip_xml_test.
17528
175292015-07-24 Pedro Alves <palves@redhat.com>
17530
17531 * gdb.python/py-events.exp: Accept output between the stop event
17532 and the prompt.
17533 * gdb.python/py-evsignal.exp: Likewise.
17534 * gdb.python/py-evthreads.exp: Likewise.
17535
175362015-07-24 Pedro Alves <palves@redhat.com>
17537
17538 PR gdb/18717
17539 * gdb.threads/non-ldr-exit.c: New file.
17540 * gdb.threads/non-ldr-exit.exp: New file.
17541
175422015-07-24 Yao Qi <yao.qi@linaro.org>
17543
17544 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17545 restarting process.
17546
175472015-07-24 Yao Qi <yao.qi@linaro.org>
17548
17549 * gdb.server/ext-restart.exp: New file.
17550
175512015-07-24 Yao Qi <yao.qi@linaro.org>
17552
17553 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17554 argument options.
17555 * gdb.server/ext-wrapper.exp: New file.
17556
175572015-07-23 Doug Evans <dje@google.com>
17558
17559 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17560 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17561
175622015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17563
17564 * gdb.ada/var_arr_typedef.exp: New testcase.
17565 * gdb.ada/var_arr_typedef/pack.adb: New file.
17566 * gdb.ada/var_arr_typedef/pack.ads: New file.
17567 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17568
175692015-07-20 Joel Brobecker <brobecker@adacore.com>
17570
17571 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17572
175732015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17574
17575 * gdb.arch/i386-biarch-core.exp: Replace istarget
17576 by "complete set gnutarget". Remove expectation for the "core-file"
17577 command.
17578
175792015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17580
17581 Revert the previous commit:
17582 Tests for validate symbol file using build-id.
17583
175842015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17585
17586 Tests for validate symbol file using build-id.
17587 * gdb.base/solib-mismatch-lib.c: New file.
17588 * gdb.base/solib-mismatch-libmod.c: New file.
17589 * gdb.base/solib-mismatch.c: New file.
17590 * gdb.base/solib-mismatch.exp: New file.
17591
175922015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17593
17594 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17595 nios2-*-linux*.
17596 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17597 * gdb.base/siginfo.exp: Likewise.
17598 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17599
176002015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17601
17602 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17603 Move it to ...
17604 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17605 ... here.
17606 * gdb.trace/range-stepping.exp: Check that the target supports
17607 range stepping.
17608
176092015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17610
17611 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17612
176132015-07-14 Pedro Alves <palves@redhat.com>
17614
17615 * gdb.base/killed-outside.exp: New file.
17616 * gdb.base/killed-outside.c: New file.
17617
176182015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17619
17620 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17621 (n at main): New.
17622 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17623
176242015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17625
17626 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17627 infcall tests instead of setting up for KFAIL.
17628
176292015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17630
17631 * gdb.btrace/record_goto-step.exp: New.
17632
176332015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17634
17635 PR compile/18484
17636 * gdb.compile/compile.c (struct struct_type): Add volatile to
17637 selffield's type.
17638 * gdb.compile/compile.exp
17639 (compile code struct_object.selffield = &struct_object): Skip further
17640 struct_object tests if this one xfails.
17641
176422015-07-08 Robert O'Callahan <robert@ocallahan.org>
17643
17644 PR exp/18617
17645 * gdb.trace/ax.exp: Add test.
17646
176472015-07-07 Yao Qi <yao.qi@linaro.org>
17648
17649 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17650 instead of istarget "aarch64*-*-*".
17651 * gdb.arch/aarch64-fp.exp: Likewise.
17652 * gdb.base/float.exp: Likewise.
17653 * gdb.reverse/aarch64.exp: Likewise.
17654 * lib/gdb.exp (is_aarch64_target): New proc.
17655
176562015-07-07 Yao Qi <yao.qi@linaro.org>
17657
17658 * lib/gdb.exp (is_aarch32_target): New proc.
17659 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17660 instead of "istarget "arm*-*-*"".
17661 * gdb.arch/arm-disp-step.exp: Likewise.
17662 * gdb.arch/thumb-bx-pc.exp: Likewise.
17663 * gdb.arch/thumb-prologue.exp: Likewise.
17664 * gdb.arch/thumb-singlestep.exp: Likewise.
17665 * gdb.base/disp-step-syscall.exp: Likewise.
17666 * gdb.base/float.exp: Likewise.
17667
176682015-07-07 Yao Qi <yao.qi@linaro.org>
17669
17670 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17671 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17672
176732015-07-07 Yao Qi <yao.qi@linaro.org>
17674
17675 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17676 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17677 if it exists.
17678 * gdb.multi/multi-arch.exp: Likewise.
17679
176802015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17681
17682 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17683 print.
17684
176852015-07-07 Yao Qi <yao.qi@linaro.org>
17686
17687 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17688
176892015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17690
17691 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17692 '[' and ']' characters.
17693
176942015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17695
17696 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17697
176982015-06-29 Pedro Alves <palves@redhat.com>
17699
17700 PR threads/18127
17701 * gdb.threads/hand-call-new-thread.c: New file.
17702 * gdb.threads/hand-call-new-thread.c: New file.
17703
177042015-06-26 Keith Seitz <keiths@redhat.com>
17705 Doug Evans <dje@google.com>
17706
17707 PR 16253
17708 * gdb.cp/var-tag-2.cc: New file.
17709 * gdb.cp/var-tag-3.cc: New file.
17710 * gdb.cp/var-tag-4.cc: New file.
17711 * gdb.cp/var-tag.cc: New file.
17712 * gdb.cp/var-tag.exp: New file.
17713
177142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17715
17716 * gdb.base/history-duplicates.exp: New test.
17717
177182015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17719
17720 * gdb.base/completion.exp: Test the completion of the "focus"
17721 command.
17722
177232015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17724
17725 * gdb.arch/amd64-prologue-skip.S: New file.
17726 * gdb.arch/amd64-prologue-skip.exp: New file.
17727
177282015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17729
17730 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17731 is_address_zero_readable check.
17732
177332015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17734
17735 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17736 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17737
177382015-06-24 Yao Qi <yao.qi@linaro.org>
17739
17740 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17741 linux targets.
17742
177432015-06-24 Yao Qi <yao.qi@linaro.org>
17744
17745 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17746 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17747 * gdb.base/siginfo-thread.exp: Likewise.
17748
177492015-06-22 Yao Qi <yao.qi@linaro.org>
17750
17751 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17752
177532015-06-22 Yao Qi <yao.qi@linaro.org>
17754
17755 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17756 aarch64*-*-*.
17757 (skip_hw_watchpoint_tests): Likewise.
17758
177592015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17760
17761 * gdb.base/gdbinit-history.exp: Test the interaction between
17762 setting GDBHISTSIZE and setting the history size via .gdbinit.
17763
177642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17765
17766 PR gdb/16999
17767 * gdb.base/gdbhistsize-history.exp: New test.
17768
177692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17770
17771 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17772 with GDBHISTSIZE.
17773 * gdb.base/readline.exp: Likewise.
17774
177752015-06-17 Yao Qi <yao.qi@linaro.org>
17776
17777 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17778 line.
17779
177802015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17781
17782 * gdb.base/gdbinit-history.exp: Add test case to check that
17783 an unlimited history file does not get truncated on exit.
17784
177852015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17786
17787 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17788 (VECTOR): New macro. Use it...
17789 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17790 ...for these typedefs.
17791 (int8, char1, int1, double1): New typedefs.
17792 (struct just_int2, struct two_int2): New structures.
17793 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17794 (add_structvecs, add_singlevecs): New functions.
17795 (main): Call add_some_intvecs twice.
17796 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17797 the compile and exit upon failure. Try compiling for the "native"
17798 architecture. Test inferior function calls with vector arguments
17799 and vector return value handling with "finish" and "return".
17800
178012015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17802
17803 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17804 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17805 PE file.
17806 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17807
178082015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17809
17810 PR breakpoints/16465
17811 * gdb.mi/mi-dprintf-pending.c: New file.
17812 * gdb.mi/mi-dprintf-pending.exp: New test.
17813 * gdb.mi/mi-dprintf-pendshr.c: New file.
17814
178152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17816 Mircea Gherzan <mircea.gherzan@intel.com>
17817
17818 * gdb.arch/i386-mpx-map.c: New file.
17819 * gdb.arch/i386-mpx-map.exp: New File.
17820
178212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17822
17823 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17824 * gdb.arch/i386-mpx.exp: Indentation fixed.
17825
178262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17827
17828 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17829 function and improved indentation.
17830 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17831 gdb_test_multiple. Added additional tests to skip the test.
17832
178332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17834
17835 * gdb.arch/i386-avx512.c: Change path in include file.
17836 * gdb.arch/i386-avx512.exp: Change include dir path
17837 compilation flag.
17838 * gdb.arch/i386-mpx.c: Change path in include file.
17839 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17840 flag.
17841
178422015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17843
17844 * gdb.compile/compile-print.exp (compile print *vararray@3)
17845 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17846
178472015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17848
17849 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17850 (do not keep jit in memory): ... this.
17851 (expect 5): Change it to ...
17852 (expect no 5): ... this.
17853
178542015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17855
17856 PR gdb/15564
17857 * gdb.mi/mi-detach.exp: New file.
17858
178592015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17860
17861 PR symtab/18392
17862 * gdb.arch/amd64-tailcall-self.S: New file.
17863 * gdb.arch/amd64-tailcall-self.c: New file.
17864 * gdb.arch/amd64-tailcall-self.exp: New file.
17865
178662015-05-28 Don Breazeal <donb@codesourcery.com>
17867
17868 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17869 tests for remote targets by checking is_target_gdbserver.
17870
178712015-05-27 Doug Evans <dje@google.com>
17872
17873 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17874 * gdb.dwarf2/opaque-type-lookup.c: New file.
17875 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17876
178772015-05-26 Doug Evans <dje@google.com>
17878
17879 * gdb.cp/iostream.cc: New file.
17880 * gdb.cp/iostream.exp: New file.
17881
178822015-05-26 Doug Evans <dje@google.com>
17883
17884 * gdb.dwarf2/dw2-op-call.exp: Update.
17885 * gdb.dwarf2/dw4-sig-types.exp: Update.
17886 * gdb.dwarf2/implptr.exp: Update.
17887 * gdb.mi/mi-cmd-param-changed.exp: Update.
17888
178892015-05-26 Doug Evans <dje@google.com>
17890
17891 * gdb.python/py-lazy-string.c: New file.
17892 * gdb.python/py-lazy-string.exp: New file.
17893 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17894 (main): Update. Add estring3.
17895 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17896 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17897
178982015-05-26 Omair Javaid <omair.javaid@linaro.org>
17899 Yao Qi <yao.qi@linaro.org>
17900
17901 * gdb.reverse/aarch64.c: New.
17902 * gdb.reverse/aarch64.exp: New.
17903
179042015-05-26 Omair Javaid <omair.javaid@linaro.org>
17905
17906 * lib/gdb.exp (supports_process_record): Return true for
17907 aarch64*-linux*.
17908 (supports_reverse): Likewise.
17909
179102015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17911
17912 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17913 Use with_test_prefix.
17914
179152015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17916
17917 * gdb.base/completion.exp: Add test for completion of layout
17918 names.
17919
179202015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17921
17922 * lib/gdb.exp (skip_tui_tests): New proc.
17923 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17924
179252015-05-19 Pedro Alves <palves@redhat.com>
17926
17927 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17928 Save the whole env array instead of just HOME. Unset HISTSIZE in
17929 the environment while testing. Restore whole environment
17930 afterwards.
17931
179322015-05-16 Doug Evans <xdje42@gmail.com>
17933
17934 * gdb.guile/scm-ports.c: New file.
17935 * gdb.guile/scm-ports.exp: Add memory port tests.
17936
179372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17938
17939 * gdb.compile/compile-print.c: New file.
17940 * gdb.compile/compile-print.exp: New file.
17941
179422015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17943
17944 * gdb.compile/compile-ops.exp: Cast param to void.
17945 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17946 (compile code struct_object.selffield = &struct_object): Add xfail.
17947
179482015-05-15 Joel Brobecker <brobecker@adacore.com>
17949
17950 * gdb.ada/arr_enum_with_gap: New testcase.
17951
179522015-05-15 Joel Brobecker <brobecker@adacore.com>
17953
17954 * gdb.ada/byte_packed_arr: New testcase.
17955
179562015-05-15 Joel Brobecker <brobecker@adacore.com>
17957
17958 * gdb.ada/pckd_neg: New testcase.
17959
179602015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17961
17962 PR gdb/17820
17963 * gdb.base/gdbinit-history.exp: New test.
17964 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17965 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17966
179672015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17968
17969 * gdb.python/py-xmethods.cc: Enhance test case.
17970 * gdb.python/py-xmethods.exp: New tests.
17971 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17972 function.
17973 (B_indexoper): Likewise.
17974 (global_dm_list) : Add new xmethod worker functions.
17975
179762015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17977
17978 * gdb.base/coredump-filter.exp: Correctly unset
17979 "coredump_var_addr" array.
17980
179812015-05-08 Pedro Alves <palves@redhat.com>
17982
17983 * gdb.server/non-existing-program.exp: Unset spawn_id.
17984
179852015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17986
17987 PR python/18291
17988 * gdb.python/py-xmethods.exp: Add tests.
17989
179902015-05-08 Yao Qi <yao.qi@linaro.org>
17991
17992 PR gdb/18208
17993 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17994 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17995 function set_coredump_filter, and remove remote_exec call.
17996 Remove argument ipid. Callers update.
17997 (top level): Don't get inferior's PID.
17998
179992015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18000
18001 * gdb.base/watch_thread_num.exp: Skip test on targets without
18002 access watchpoints.
18003
180042015-05-06 Pedro Alves <palves@redhat.com>
18005
18006 PR server/18081
18007 * gdb.server/non-existing-program.exp: New file.
18008
180092015-05-05 Joel Brobecker <brobecker@adacore.com>
18010
18011 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18012
180132015-05-05 Joel Brobecker <brobecker@adacore.com>
18014
18015 * gdb.ada/out_of_line_in_inlined: New testcase.
18016
180172015-05-05 Joel Brobecker <brobecker@adacore.com>
18018
18019 * gdb.ada/var_rec_arr: New testcase.
18020
180212015-04-30 Yao Qi <yao.qi@linaro.org>
18022
18023 * gdb.base/break-idempotent.exp: If
18024 skip_hw_watchpoint_multi_tests returns true, skip the tests
18025 on "rwatch" and "awatch".
18026
180272015-04-30 Yao Qi <yao.qi@linaro.org>
18028
18029 * gdb.base/relativedebug.exp: Invoke gdb command
18030 "info sharedlibrary", and if libc.so doesn't have debug info,
18031 skip the test.
18032
180332015-04-29 Doug Evans <dje@google.com>
18034
18035 * gdb.python/py-xmethods.exp: Add ptype tests.
18036 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18037 get_result_type method.
18038
180392015-04-29 Luis Machado <lgustavo@codesourcery.com>
18040
18041 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18042 the target does not support hardware watchpoints.
18043
180442015-04-29 Luis Machado <lgustavo@codesourcery.com>
18045
18046 * gdb.base/break-always.exp: Abort testing if writing to memory
18047 causes an error.
18048
180492015-04-28 Doug Evans <dje@google.com>
18050
18051 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18052 * gdb.python/py-pp-registration.exp: ... here. New file.
18053 * gdb.python/py-pp-registration.c: New file.
18054 * gdb.python/py-pp-registration.py: New file.
18055
180562015-04-28 Doug Evans <dje@google.com>
18057
18058 * gdb.python/py-bad-printers.c: New file.
18059 * gdb.python/py-bad-printers.py: New file.
18060 * gdb.python/py-bad-printers.exp: New file.
18061
180622015-04-28 Sasha Smundak <asmundak@google.com>
18063
18064 * gdb.python/py-type.exp: New test.
18065
180662015-04-28 Andy Wingo <wingo@igalia.com>
18067
18068 * gdb.python/py-parameter.exp:
18069 * gdb.guile/scm-parameter.exp: Escape the path that we are
18070 matching against, as it might contain characters that are special
18071 to regular expressions.
18072
180732015-04-27 Joel Brobecker <brobecker@adacore.com>
18074
18075 * gdb.ada/rec_comp: New testcase.
18076
180772015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18078
18079 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18080 before using it.
18081
180822015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18083
18084 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18085 new tests for verilog output.
18086
180872015-04-24 Yao Qi <yao.qi@linaro.org>
18088
18089 * boards/remote-gdbserver-on-localhost.exp: New file.
18090
180912015-04-23 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18094 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18095 "end of file", remove $inferior_spawn_id from the indirect list.
18096
180972015-04-23 Pedro Alves <palves@redhat.com>
18098
18099 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18100
181012015-04-23 Pedro Alves <palves@redhat.com>
18102
18103 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18104 on $any_spawn_id instead of only on $gdb_spawn_id.
18105
181062015-04-21 Pierre Muller <muller@sourceware.org>
18107
18108 PR pascal/17815
18109 * lib/pascal.exp (gpc_compile): Add new option "class".
18110 (fpc_compile): Likewise.
18111 * gdb.pascal/case-insensitive-symbols.pas: New file.
18112 * gdb.pascal/case-insensitive-symbols.exp: New file.
18113
181142015-04-20 Gary Benson <gbenson@redhat.com>
18115
18116 * gdb.base/attach.exp: Fix three extended remote failures.
18117
181182015-04-17 Gary Benson <gbenson@redhat.com>
18119
18120 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18121 the main executable over the remote protocol.
18122
181232015-04-16 Pedro Alves <palves@redhat.com>
18124
18125 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18126 a new gdbserver if gdbserver_reconnect_p is set.
18127
181282015-04-16 Pedro Alves <palves@redhat.com>
18129
18130 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18131 is set, don't exit gdbserver.
18132
181332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18134
18135 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18136 appropriate .insn, such that an older assembler can be used.
18137 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18138 the z/Architecture instruction set on 31-bit targets as well.
18139
181402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18141
18142 * gdb.go/handcall.exp: Remove all logic related to the first
18143 breakpoint and rely on go_runto_main instead.
18144 * gdb.go/strings.exp: Likewise.
18145 * gdb.go/unsafe.exp: Likewise.
18146 * gdb.go/hello.exp: Likewise. Also rename the remaining
18147 breakpoint marker to "breakpoint 1".
18148 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18149 * gdb.go/strings.go: Likewise.
18150 * gdb.go/unsafe.go: Likewise.
18151 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18152 "set breakpoint 2 here" and rename the remaining breakpoint marker
18153 to "breakpoint 1".
18154
181552015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18156
18157 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18158 if itertools.imap is not present.
18159 * gdb.python/py-objfile.exp: Add parentheses.
18160 * gdb.python/py-type.exp: Same.
18161 * gdb.python/py-unwind-maint.py: Same.
18162
181632015-04-15 Yao Qi <yao.qi@linaro.org>
18164
18165 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18166 of ":$ptr_size" and set its form explicitly.
18167
181682015-04-15 Pedro Alves <palves@redhat.com>
18169 Yao Qi <yao.qi@linaro.org>
18170
18171 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18172 timeout by factor of 4.
18173 (test_regular_watch): Likewise.
18174 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18175 * gdb.reverse/sigall-reverse.exp: Likewise.
18176 * gdb.reverse/until-precsave.exp: Likewise.
18177 * lib/gdb.exp (with_timeout_factor): New proc.
18178 (gdb_expect): Move some code to ...
18179 (get_largest_timeout): ... here. New procedure.
18180
181812015-04-14 Luis Machado <lgustavo@codesourcery.com>
18182
18183 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18184
181852015-04-13 Luis Machado <lgustavo@codesourcery.com>
18186
18187 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18188 to write to the .text section.
18189
181902015-04-13 Luis Machado <lgustavo@codesourcery.com>
18191
18192 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18193 Handle the case of targets that do not provide PID information.
18194
181952015-04-13 Yao Qi <yao.qi@linaro.org>
18196
18197 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18198 and use expect instead of gdb_expect.
18199
182002015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18201
18202 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18203 "coredump_var_addr" to avoid naming conflict with other testcases.
18204
182052015-04-10 Pedro Alves <palves@redhat.com>
18206
18207 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18208 gdb_test_sequence and gdb_assert.
18209
182102015-04-10 Pedro Alves <palves@redhat.com>
18211
18212 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18213 test messages that don't include the breakpoint address.
18214
182152015-04-10 Yao Qi <yao.qi@linaro.org>
18216
18217 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18218 false for some offset and width combinations which aren't
18219 supported by linux kernel.
18220
182212015-04-10 Pedro Alves <palves@redhat.com>
18222
18223 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18224 procedure, factored out from ...
18225 (top level): ... here. Add "set displaced-stepping" testing axis.
18226 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18227 parameter "displaced". Use it.
18228 (top level): Use foreach and add "set displaced-stepping" testing
18229 axis.
18230
182312015-04-10 Pedro Alves <palves@redhat.com>
18232
18233 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18234 Remove comment.
18235 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18236 both the address of the instruction that triggers the watchpoint
18237 and the address of the instruction immediately after, and use
18238 those addresses for the test. Fix comment.
18239
182402015-04-10 Pedro Alves <palves@redhat.com>
18241
18242 * gdb.base/sigstep.exp (breakpoint_to_handler)
18243 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18244 Test "backtrace" in handler.
18245 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18246 (top level): Add new "displaced" test axis to
18247 breakpoint_to_handler, breakpoint_to_handler_entry and
18248 breakpoint_over_handler.
18249
182502015-04-10 Pedro Alves <palves@redhat.com>
18251
18252 PR gdb/18216
18253 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18254
182552015-04-10 Yao Qi <yao.qi@linaro.org>
18256
18257 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18258 (test_add_rn_pc): New function.
18259 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18260 (top level): Invoke test_add_rn_pc.
18261
182622015-04-10 Pedro Alves <palves@redhat.com>
18263
18264 PR gdb/13858
18265 * gdb.base/step-over-no-symbols.exp: New file.
18266
182672015-04-09 Andy Wingo <wingo@igalia.com>
18268
18269 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18270 after the Python tests.
18271
182722015-04-08 Keith Seitz <keiths@redhat.com>
18273
18274 PR python/16699
18275 * gdb.python/py-completion.exp: New tests for completion.
18276 * gdb.python/py-completion.py (CompleteLimit1): New class.
18277 (CompleteLimit2): Likewise.
18278 (CompleteLimit3): Likewise.
18279 (CompleteLimit4): Likewise.
18280 (CompleteLimit5): Likewise.
18281 (CompleteLimit6): Likewise.
18282 (CompleteLimit7): Likewise.
18283
182842015-04-08 Pedro Alves <palves@redhat.com>
18285
18286 PR gdb/18214
18287 PR gdb/18216
18288 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18289 function.
18290 (main): Install it as SIGUSR1 handler.
18291 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18292 parameter. Always use "setup" as prefix. Toggle "set
18293 displaced-stepping" off/on depending on global. Don't switch to
18294 thread 1 here.
18295 (top level): Add displaced stepping "off/on" test axis. Update
18296 "setup" calls. Wrap each subtest with with_test_prefix. Test
18297 continuing with a queued signal in each thread.
18298
182992015-04-08 Pedro Alves <palves@redhat.com>
18300
18301 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18302 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18303 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18304 Return early if running to main fails.
18305 * gdb.trace/while-stepping.exp: Likewise.
18306
183072015-04-07 Pedro Alves <palves@redhat.com>
18308
18309 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18310 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18311 interact with inferior program.
18312
183132015-04-07 Pedro Alves <palves@redhat.com>
18314
18315 * lib/gdb.exp (inferior_spawn_id): New global.
18316 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18317 spawn id after processing the user code.
18318 (default_gdb_start): Set inferior_spawn_id.
18319 (send_inferior): New procedure.
18320 * lib/gdbserver-support.exp (gdbserver_start): Set
18321 inferior_spawn_id.
18322 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18323
183242015-04-07 Pedro Alves <palves@redhat.com>
18325
18326 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18327 * lib/gdbserver-support.exp (gdbserver_start): Make
18328 $server_spawn_id global.
18329 (gdbserver_start): Don't wait for gdbserver's spawn id with
18330 expect_background.
18331 (close_gdbserver): New procedure.
18332 (gdb_exit): Rename the default version and reimplement.
18333
183342015-04-07 Pedro Alves <palves@redhat.com>
18335
18336 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
18337 append the substituted item, not the original item.
18338
183392015-04-07 Pedro Alves <palves@redhat.com>
18340
18341 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18342 gdb_expect.
18343
183442015-04-07 Pedro Alves <palves@redhat.com>
18345
18346 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18347 output appearing once only.
18348
183492015-04-07 Pedro Alves <palves@redhat.com>
18350
18351 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18352 that doesn't expect anything. Return early if running to main
18353 fails.
18354
183552015-04-07 Yao Qi <yao.qi@linaro.org>
18356
18357 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18358 (child_function): Call alarm.
18359 (main): Move call to alarm into the loop.
18360 * gdb.threads/non-stop-fair-events.exp: Build program with
18361 -DTIMEOUT=$timeout.
18362
183632015-04-06 Doug Evans <xdje42@gmail.com>
18364
18365 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18366 Fix dest parameter to board_info.
18367 (fpc_compile): Ditto.
18368 (gdb_compile_pascal): Rename dest arg to destfile.
18369
183702015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18371
18372 * gdb.ada/funcall_ref.exp: New file.
18373 * gdb.ada/funcall_ref/foo.adb: New file.
18374
183752015-04-02 Yao Qi <yao.qi@linaro.org>
18376
18377 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18378 is remote.
18379
183802015-04-02 Gary Benson <gbenson@redhat.com>
18381
18382 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18383
183842015-04-01 Sasha Smundak <asmundak@google.com>
18385
18386 * gdb.python/py-unwind-maint.c: New file.
18387 * gdb.python/py-unwind-maint.exp: New test.
18388 * gdb.python/py-unwind-maint.py: New file.
18389 * gdb.python/py-unwind.c: New file.
18390 * gdb.python/py-unwind.exp: New test.
18391 * gdb.python/py-unwind.py: New test.
18392
183932015-04-01 Pedro Alves <palves@redhat.com>
18394
18395 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18396 to fail instead of non-existent $test.
18397
183982015-04-01 Pedro Alves <palves@redhat.com>
18399
18400 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18401 GDBFLAGS if not empty.
18402
184032015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18404
18405 * gdb.ada/complete.exp: Remove "multi_line".
18406 * gdb.ada/info_exc.exp: Remove "multi_line".
18407 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18408 * gdb.ada/ptype_field.exp: Remove "multi_line".
18409 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18410 * gdb.ada/tagged.exp: Remove "multi_line".
18411 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18412 [multi_line ...]
18413 * gdb.btrace/delta.exp: Likewise.
18414 * gdb.btrace/exception.exp: Likewise.
18415 * gdb.btrace/function_call_history.exp: Likewise.
18416 * gdb.btrace/instruction_history.exp: Likewise.
18417 * gdb.btrace/nohist.exp: Likewise.
18418 * gdb.btrace/record_goto.exp: Likewise.
18419 * gdb.btrace/segv.exp: Likewise.
18420 * gdb.btrace/stepi.exp: Likewise.
18421 * gdb.btrace/tailcall.exp: Likewise.
18422 * gdb.btrace/unknown_functions.exp: Likewise.
18423 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18424 * lib/gdb.exp: Add the "multi_line" helper.
18425
184262015-04-01 Pedro Alves <palves@redhat.com>
18427
18428 * gdb.threads/tid-reuse.c: New file.
18429 * gdb.threads/tid-reuse.exp: New file.
18430
184312015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18432
18433 PR corefiles/16092
18434 * gdb.base/coredump-filter.c: New file.
18435 * gdb.base/coredump-filter.exp: Likewise.
18436
184372015-03-27 Petr Machata <pmachata@redhat.com>
18438
18439 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18440 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18441 (Dwarf::assemble): Initialize them.
18442 (Dwarf::lines): New function.
18443
184442015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18445
18446 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18447 SYMBOL_PREFIX for x86_64-*-cygwin.
18448
184492015-03-26 Andy Wingo <wingo@igalia.com>
18450
18451 PR symtab/18148
18452 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18453 const_value but not a location.
18454 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18455 location defined in non-main CUs are visible.
18456
184572015-03-26 Yao Qi <yao.qi@linaro.org>
18458
18459 PR testsuite/18139
18460 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18461 Add a line number entry for the same line.
18462 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18463 Add a line number entry for the same line.
18464
184652015-03-26 Yao Qi <yao.qi@linaro.org>
18466
18467 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18468 .int 0.
18469 (func): Likewise. Add .Lfunc_1 label.
18470 Use .Lfunc_1 label.
18471 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18472 .int 0.
18473 (func): Likewise.
18474 Use .Lfunc_1 label.
18475
184762015-03-26 Yao Qi <yao.qi@linaro.org>
18477
18478 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18479 Call gdb_compile instead to compile each .s files without debug
18480 information.
18481
184822015-03-26 Yao Qi <yao.qi@linaro.org>
18483
18484 * gdb.base/savedregs.exp (process_saved_regs): Make
18485 "Saved registers:" optional in the pattern.
18486
184872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18488
18489 * gdb.btrace/next.exp: Merged into step.exp.
18490 * gdb.btrace/finish.exp: Merged into step.exp.
18491 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18492 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18493 "record goto" and checking the exact replay position.
18494 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18495 check for "Recording format" in "info record" output.
18496 * gdb.btrace/record_goto.exp: Choose test file based on target.
18497 * gdb.btrace/x86-record_goto.S: Renamed into ...
18498 * gdb.btrace/x86_64-record_goto.S: ... this.
18499 * gdb.btrace/i686-record_goto.S: New.
18500 * gdb.btrace/x86-tailcall.S: Renamed into ...
18501 * gdb.btrace/x86_64-tailcall.S: ... this.
18502 * gdb.btrace/i686-tailcall.S: New.
18503 * gdb.btrace/x86-tailcall.c: Renamed into ...
18504 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18505 separate statements. Update test.
18506 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18507 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18508 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18509 * gdb.btrace/tailcall.exp: Choose test file based on target.
18510 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18511
185122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18513
18514 * gdb.btrace/exception.exp: Increase BTS buffer size.
18515
185162015-03-24 Pedro Alves <palves@redhat.com>
18517
18518 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18519
185202015-03-24 Pedro Alves <palves@redhat.com>
18521
18522 * gdb.threads/schedlock.exp (test_step): No longer expect that
18523 "set scheduler-locking step" with "next" over a function call runs
18524 threads unlocked.
18525
185262015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18527
18528 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18529
185302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18531
18532 PR breakpoints/16466
18533 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18534 * gdb.mi/mi-pending.c (thread_func): New function.
18535 (int main): Add threading support required.
18536 * gdb.mi/mi-pending.exp: Add tests for this issue.
18537 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18538 (pendfunc2): Remove stdio dependency.
18539 * gdb.mi/mi-pendshr2.c: New file.
18540
185412015-03-23 Keith Seitz <keiths@redhat.com>
18542
18543 * gdb.linespec/keywords.c: New file.
18544 * gdb.linespec/keywords.exp: New file.
18545
185462015-03-23 Keith Seitz <keiths@redhat.com>
18547
18548 PR gdb/18021
18549 * gdb.dwarf2/staticvirtual.exp: New test.
18550
185512015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18552
18553 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18554 * README: Remove HP-UX and gdb.hp.
18555 (configuration):
18556 * configure: Regenerate.
18557 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18558 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18559 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18560 gdb.hp/gdb.defects/Makefile.
18561 * gdb.hp/Makefile.in: File deleted.
18562 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18563 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18564 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18565 * gdb.hp/gdb.aCC/run.c: File deleted.
18566 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18567 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18568 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18569 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18570 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18571 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18572 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18573 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18574 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18575 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18576 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18577 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18578 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18579 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18580 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18581 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18582 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18583 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18584 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18585 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18586 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18587 * gdb.hp/gdb.compat/average.c: File deleted.
18588 * gdb.hp/gdb.compat/sum.c: File deleted.
18589 * gdb.hp/gdb.compat/xdb.c: File deleted.
18590 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18591 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18592 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18593 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18594 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18595 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18596 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18597 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18598 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18599 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18600 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18601 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18602 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18603 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18604 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18605 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18606 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18607 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18608 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18609 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18610 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18611 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18612 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18613 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18614 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18615 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18616 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18617 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18618 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18619 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18620 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18621 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18622 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18623 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18624 * gdb.hp/tools/odump: File deleted.
18625
186262015-03-19 Pedro Alves <palves@redhat.com>
18627
18628 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18629 (saw_thread_3): New globals.
18630 (top level): Increment them when an event for the corresponding
18631 thread is seen.
18632 (no thread starvation): New test.
18633
186342015-03-19 Pedro Alves <palves@redhat.com>
18635
18636 * gdb.threads/continue-pending-status.c: New file.
18637 * gdb.threads/continue-pending-status.exp: New file.
18638
186392015-03-18 Pedro Alves <palves@redhat.com>
18640
18641 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18642 Use gdb_is_target_remote instead of is_remote. Use
18643 gdb_test_multiple instead of gdb_expect. Exit early if
18644 gdb_test_multiple hits its internal matches. Tighten stepi tests
18645 expected output. Fail on exit with any signal, instead of just
18646 SIGILL.
18647
186482015-03-18 Yao Qi <yao.qi@linaro.org>
18649
18650 PR tdep/18107
18651 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18652 variable.
18653 * gdb.base/catch-syscall.exp: Don't skip it on
18654 aarch64*-*-linux* target. Remove elements in all_syscalls.
18655 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18656 target.
18657 (setup_all_syscalls): New proc.
18658
186592015-03-16 Yao Qi <yao.qi@linaro.org>
18660
18661 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18662 (top level): Skip tests if valid_addr_p returns false for
18663 $cmd1 or $cmd2.
18664
186652015-03-11 Andy Wingo <wingo@igalia.com>
18666
18667 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18668
186692015-03-11 Yao Qi <yao.qi@linaro.org>
18670
18671 * gdb.base/catch-syscall.exp: Fix typo in comments.
18672
186732015-03-11 Yao Qi <yao.qi@linaro.org>
18674
18675 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18676
186772015-03-09 Pedro Alves <palves@redhat.com>
18678
18679 * dg-extract-results.py: Delete.
18680
186812015-03-09 Pedro Alves <palves@redhat.com>
18682
18683 Merge dg-extract-results.sh from GCC upstream (r218843).
18684
18685 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18686 * dg-extract-results.sh: Use --text with grep to avoid issues with
18687 binary files. Fall back to cat -v, if that doesn't work.
18688
186892015-03-05 Pedro Alves <palves@redhat.com>
18690
18691 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18692
186932015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18694
18695 * lib/mi-support.exp (mi_expect_interrupt): Accept
18696 alternative event for when in all-stop mode.
18697
186982015-03-04 Pedro Alves <palves@redhat.com>
18699
18700 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18701
187022015-03-04 Mark Kettenis <kettenis@gnu.org>
18703
18704 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18705
187062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18707
18708 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18709 regexps for GDB's current line display, accept a hex address
18710 preceding the line number.
18711
187122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18713
18714 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18715 the 'arch1' variable for "s390*-linux*" targets.
18716
187172015-03-04 Pedro Alves <palves@redhat.com>
18718
18719 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18720 (main): Pass missing retval argument to pthread_join call.
18721
187222015-03-02 Pedro Alves <palves@redhat.com>
18723
18724 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18725 (top level): Call do_test with non-stop as well.
18726
187272015-03-02 Pedro Alves <palves@redhat.com>
18728
18729 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18730 -1.
18731
187322015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18733
18734 * gdb.arch/s390-vregs.exp: New test.
18735 * gdb.arch/s390-vregs.S: New file.
18736
187372015-02-27 Pedro Alves <palves@redhat.com>
18738
18739 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18740 call to catch_command_errors.
18741 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18742 catch_command_errors.
18743
187442015-02-27 Pedro Alves <palves@redhat.com>
18745
18746 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18747 "true" for boolean result.
18748 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18749 prototype of main.
18750
187512015-02-27 Pedro Alves <palves@redhat.com>
18752
18753 * lib/unbuffer_output.c: New file.
18754 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18755 (main): Call gdb_unbuffer_output.
18756
187572015-02-27 Yao Qi <yao.qi@linaro.org>
18758
18759 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18760 target.
18761
187622015-02-26 Doug Evans <dje@google.com>
18763
18764 * gdb.cp/class2.cc (Dbase, D): New classes.
18765 (main): New local delta.
18766 * gdb.cp/class2.exp: Test printing delta.
18767 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18768 (dynbar): New global.
18769 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18770
187712015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18772
18773 * gdb.compile/compile-ifunc.c: New file.
18774 * gdb.compile/compile-ifunc.exp: New file.
18775
187762015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18777
18778 * gdb.base/structs.exp: Check for correct struct on finish.
18779
187802015-02-26 Yao Qi <yao.qi@linaro.org>
18781
18782 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18783 is zero.
18784
187852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18786
18787 * gdb.arch/cordic.ko.bz2: New file.
18788 * gdb.arch/cordic.ko.debug.bz2: New file.
18789 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18790
187912015-02-25 Yao Qi <yao.qi@linaro.org>
18792
18793 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18794 aarch64*-*-* target.
18795
187962015-02-23 Pedro Alves <palves@redhat.com>
18797
18798 * lib/gdb.exp (delete_breakpoints): Rewrite using
18799 gdb_test_multiple.
18800
188012015-02-23 Pedro Alves <palves@redhat.com>
18802
18803 * gdb.base/info-os.c: Include stdlib.h.
18804
188052015-02-22 Doug Evans <xdje42@gmail.com>
18806
18807 PR symtab/17855
18808 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18809 is read after symbols have been re-read.
18810 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18811 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18812
188132015-02-21 Doug Evans <dje@google.com>
18814
18815 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18816
188172015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18818
18819 PR corefiles/17808
18820 * gdb.arch/i386-biarch-core.core.bz2: New file.
18821 * gdb.arch/i386-biarch-core.exp: New file.
18822
188232015-02-21 Pedro Alves <palves@redhat.com>
18824
18825 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18826 runto_main fails.
18827
188282015-02-20 Pedro Alves <palves@redhat.com>
18829
18830 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18831 info probes.
18832
188332015-02-20 Pedro Alves <palves@redhat.com>
18834
18835 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18836
188372015-02-20 Pedro Alves <palves@redhat.com>
18838
18839 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18840 clean_restart before gdb_target_supports_trace.
18841
188422015-02-20 Pedro Alves <palves@redhat.com>
18843
18844 PR threads/18006
18845 * gdb.threads/clone-thread_db.c: New file.
18846 * gdb.threads/clone-thread_db.exp: New file.
18847
188482015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18849
18850 PR breakpoints/16812
18851 * gdb.base/catch-gdb-caused-signals.c: New file.
18852 * gdb.base/catch-gdb-caused-signals.exp: New file.
18853
188542015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18855
18856 * configure: Regenerated.
18857 * configure.ac: Use GDB_AC_TRANSFORM.
18858 * aclocal.m4: sinclude ../transform.m4.
18859
188602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18861
18862 * lib/dtrace.exp: New file.
18863 * gdb.base/dtrace-probe.exp: Likewise.
18864 * gdb.base/dtrace-probe.d: Likewise.
18865 * gdb.base/dtrace-probe.c: Likewise.
18866 * lib/pdtrace.in: Likewise.
18867 * configure.ac: Output variables with the transformed names of
18868 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18869 * configure: Regenerated.
18870
188712015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18872
18873 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18874 expected message when trying to access $_probe_* convenience
18875 variables while not on a probe.
18876
188772015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18878
18879 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18880
188812015-02-11 Pedro Alves <pedro@codesourcery.com>
18882
18883 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18884 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18885
188862015-02-10 Doug Evans <xdje42@gmail.com>
18887
18888 * lib/gdb.exp (gdb_load): Always return a result.
18889
188902015-02-10 Pedro Alves <palves@redhat.com>
18891
18892 * gdb.threads/signal-sigtrap.c: New file.
18893 * gdb.threads/signal-sigtrap.exp: New file.
18894
188952015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18896
18897 * gdb.trace/no-attach-trace.c: New file.
18898 * gdb.trace/no-attach-trace.exp: New file.
18899
189002015-02-09 Mark Wielaard <mjw@redhat.com>
18901
18902 * gdb.dwarf2/atomic.c: New file.
18903 * gdb.dwarf2/atomic-type.exp: Likewise.
18904
189052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18906
18907 * gdb.btrace/buffer-size.exp: Update "info record" output.
18908 * gdb.btrace/delta.exp: Update "info record" output.
18909 * gdb.btrace/enable.exp: Update "info record" output.
18910 * gdb.btrace/finish.exp: Update "info record" output.
18911 * gdb.btrace/instruction_history.exp: Update "info record" output.
18912 * gdb.btrace/next.exp: Update "info record" output.
18913 * gdb.btrace/nexti.exp: Update "info record" output.
18914 * gdb.btrace/step.exp: Update "info record" output.
18915 * gdb.btrace/stepi.exp: Update "info record" output.
18916 * gdb.btrace/nohist.exp: Update "info record" output.
18917
189182015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18919
18920 * gdb.btrace/buffer-size: New.
18921
189222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18923
18924 * gdb.btrace/delta.exp: Update "info record" output.
18925 * gdb.btrace/enable.exp: Update "info record" output.
18926 * gdb.btrace/finish.exp: Update "info record" output.
18927 * gdb.btrace/instruction_history.exp: Update "info record" output.
18928 * gdb.btrace/next.exp: Update "info record" output.
18929 * gdb.btrace/nexti.exp: Update "info record" output.
18930 * gdb.btrace/step.exp: Update "info record" output.
18931 * gdb.btrace/stepi.exp: Update "info record" output.
18932 * gdb.btrace/nohist.exp: Update "info record" output.
18933
189342015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18935
18936 PR gdb/15678
18937 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18938
189392015-02-06 Pedro Alves <palves@redhat.com>
18940
18941 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18942 macro.
18943 (seconds_left, again): New globals.
18944 (main): Wait seconds_left in a 1-second sleep loop instead of
18945 sleeping 180 seconds. If 'again' is set, reset the seconds
18946 counter.
18947 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18948 'again' in the inferior before detaching. Print the seconds left.
18949 (options): New global.
18950 (top level): Build program with -DTIMEOUT=$timeout.
18951
189522015-02-06 Pedro Alves <palves@redhat.com>
18953
18954 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18955 determine how many seconds to pass to 'alarm'.
18956 * gdb.base/gdb-sigterm.exp (top level): Build program with
18957 -DTIMEOUT=$timeout.
18958 (do_test): Return success/failure indication. Add more verbose
18959 logging. Don't fail if 200 single steps are seen. Instead, fail
18960 when the test times out.
18961 (passes): New global.
18962 (top level): Break the testing loop if testing fails on any
18963 iteration. Use gdb_assert.
18964
189652015-02-04 Don Breazeal <donb@codesourcery.com>
18966
18967 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18968 and initialize them.
18969 (ipc_cleanup): New function.
18970 (main): Don't declare shmid, semid, and msqid. Add a call to
18971 atexit so that we call ipc_cleanup on exit.
18972
189732015-02-04 Pedro Alves <palves@redhat.com>
18974
18975 * boards/native-extended-gdbserver.exp: Remove any target variant
18976 specifications from the board name before clearing the isremote
18977 flag from board_info.
18978
189792015-01-31 Doug Evans <xdje42@gmail.com>
18980
18981 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18982
189832015-01-31 Gary Benson <gbenson@redhat.com>
18984
18985 * gdb.base/completion.exp: Disable completion limiting for
18986 existing tests. Add new tests to check completion limiting.
18987 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18988
189892015-01-31 Doug Evans <xdje42@gmail.com>
18990
18991 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18992
189932015-01-31 Doug Evans <xdje42@gmail.com>
18994
18995 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18996 entries. Duplicate file section script entries.
18997 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18998 inlined entries. Add test for safe-path rejection.
18999 * gdb.python/py-section-script.c: Add duplicate inlined section script
19000 entries. Duplicate file section script entries.
19001 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19002 inlined entries. Add test for safe-path rejection.
19003
190042015-01-29 Joel Brobecker <brobecker@adacore.com>
19005
19006 * gdb.ada/disc_arr_bound: New testcase.
19007
190082015-01-29 Joel Brobecker <brobecker@adacore.com>
19009
19010 * gdb.ada/mi_var_array: New testcase.
19011
190122015-01-27 Doug Evans <dje@google.com>
19013
19014 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19015 Add test for objfile.filename, objfile.username after objfile
19016 has been unloaded.
19017
190182015-01-26 Joel Brobecker <brobecker@adacore.com>
19019
19020 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19021 the second test to print the name attribute of value
19022 returned by the call to gdb.lookup_type, and adjust
19023 the expected output accordingly.
19024
190252015-01-25 Mark Wielaard <mjw@redhat.com>
19026
19027 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19028 * gdb.base/disp-step-fork.c: Include unistd.h.
19029 * gdb.base/siginfo-obj.c: Include stdio.h.
19030 * gdb.base/siginfo-thread.c: Likewise.
19031 * gdb.mi/non-stop.c: Include unistd.h.
19032 * gdb.mi/nsthrexec.c: Include stdio.h.
19033 * gdb.mi/pthreads.c: Include unistd.h.
19034 * gdb.modula2/unbounded1.c (main): Declare returns int.
19035 * gdb.reverse/consecutive-reverse.c: Likewise.
19036 * gdb.threads/create-fail.c: Include unistd.h.
19037 * gdb.threads/killed.c: Likewise.
19038 * gdb.threads/linux-dp.c: Likewise.
19039 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19040 * gdb.threads/non-ldr-exc-2.c: Likewise.
19041 * gdb.threads/non-ldr-exc-3.c: Likewise.
19042 * gdb.threads/non-ldr-exc-4.c: Likewise.
19043 * gdb.threads/pthreads.c: Include unistd.h.
19044 (main): Declare returns int.
19045 * gdb.threads/tls-main.c (foo): New declaration.
19046 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19047
190482015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19049
19050 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19051 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19052
190532015-01-15 Mark Wielaard <mjw@redhat.com>
19054
19055 * gdb.base/noreturn-return.c: New file.
19056 * gdb.base/noreturn-return.exp: New file.
19057 * gdb.base/noreturn-finish.c: New file.
19058 * gdb.base/noreturn-finish.exp: New file.
19059
190602015-01-23 Pedro Alves <palves@redhat.com>
19061
19062 * gdb.threads/continue-pending-after-query.c: New file.
19063 * gdb.threads/continue-pending-after-query.exp: New file.
19064
190652015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19066 Simon Marchi <simon.marchi@ericsson.com>
19067
19068 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19069 * gdb.base/valgrind-db-attach.exp: Same.
19070 * gdb.base/valgrind-infcall.exp: Same.
19071 * lib/mi-support.exp (default_mi_gdb_start): Same.
19072 * lib/prompt.exp (default_prompt_gdb_start): Same.
19073 * lib/gdb.exp (default_gdb_spawn): Same.
19074 (gdb_interact): New.
19075
19076
190772015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19078
19079 * gdb.compile/compile.exp (pointer to jit function): New test.
19080
190812015-01-17 Wei-cheng Wang <cole945@gmail.com>
19082
19083 * lib/gdb.exp (supports_process_record): Return true for
19084 powerpc*-*-linux*.
19085 (supports_reverse): Likewise.
19086
190872015-01-15 Don Breazeal <donb@codesourcery.com>
19088
19089 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19090 instead of checking whether the target board is remote and
19091 use spawn_wait_for_attach instead of exec/sleep.
19092 * gdb.base/attach-twice.exp: Likewise.
19093
190942015-01-15 Joel Brobecker <brobecker@adacore.com>
19095
19096 * gdb.ada/var_arr_attrs: New testcase.
19097
190982015-01-14 Pedro Alves <palves@redhat.com>
19099 Joel Brobecker <brobecker@adacore.com>
19100
19101 PR gdb/17525
19102 * gdb.base/bp-cmds-execution-x-script.c: New file.
19103 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19104 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19105
191062015-01-14 Pedro Alves <palves@redhat.com>
19107
19108 PR cli/17828
19109 * gdb.base/batch-preserve-term-settings.c: New file.
19110 * gdb.base/batch-preserve-term-settings.exp: New file.
19111
191122015-01-13 Doug Evans <dje@google.com>
19113
19114 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19115 binary.
19116
191172015-01-13 Joel Brobecker <brobecker@adacore.com>
19118
19119 * Makefile.in (clean mostlyclean): Do not delete *.py.
19120
191212015-01-13 Joel Brobecker <brobecker@adacore.com>
19122
19123 * gdb.python/py-lookup-type.exp: New file.
19124
191252015-01-12 Pedro Alves <palves@redhat.com>
19126
19127 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19128 restore GDBFLAGS before returning.
19129
191302015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19131
19132 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19133 is_amd64_regs_target and is_x86_like_target.
19134
191352015-01-11 Doug Evans <xdje42@gmail.com>
19136
19137 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19138 is given without an explicit form.
19139 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19140 attributes.
19141 * gdb.dwarf/corrupt.exp: Ditto.
19142 * gdb.dwarf2/enum-type.exp: Ditto.
19143 * gdb.trace/entry-values.exp: Ditto.
19144 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19145
191462015-01-11 Doug Evans <xdje42@gmail.com>
19147
19148 PR gdb/15830
19149 * gdb.base/maint.exp: Remove references to "maint demangle".
19150 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19151 Add tests for explicitly specifying language to demangle.
19152 * gdb.dlang/demangle.exp: Ditto.
19153
191542015-01-09 Pedro Alves <palves@redhat.com>
19155
19156 * gdb.threads/non-stop-fair-events.c: New file.
19157 * gdb.threads/non-stop-fair-events.exp: New file.
19158
191592015-01-09 Pedro Alves <palves@redhat.com>
19160
19161 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19162 the global scope. Set a breakpoint after all threads are started
19163 rather than stepping over two source lines. Expect the prompt.
19164 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19165 global.
19166 (NUM): Now 15.
19167 (main): Use threads_started_barrier to wait for all threads to
19168 start. Main thread no longer calls thread_function. Exit after
19169 180 seconds.
19170 (loop): New function.
19171 (thread_function): Wait on threads_started_barrier barrier. Call
19172 'loop' at each iteration.
19173 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19174 threads have started, instead of hardcoding number of "next"
19175 steps. Use an access watchpoint instead of a write watchpoint.
19176
191772015-01-09 Pedro Alves <palves@redhat.com>
19178
19179 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19180 (thread_func): Wait on barrier.
19181 (main): Wait for all threads to start before stopping GDB.
19182 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19183 global.
19184 (thread1_func, thread2_func): Wait on barrier.
19185 (main): Wait for all threads to start before stopping GDB.
19186 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19187 New global.
19188 (thread1_func, thread2_func): Wait on barrier.
19189 (main): Wait for all threads to start before stopping GDB.
19190
191912015-01-09 Pedro Alves <palves@redhat.com>
19192
19193 * gdb.threads/attach-many-short-lived-threads.c: New file.
19194 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19195
191962014-01-09 Pedro Alves <palves@redhat.com>
19197
19198 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19199 instead of to thread 2.
19200 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19201 Add barrier around each pthread_create call instead of around all
19202 calls.
19203 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19204 Set a break on thread_function and have the child threads hit it
19205 one at at a time.
19206
192072015-01-09 Pedro Alves <palves@redhat.com>
19208
19209 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19210 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19211 false.
19212 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19213 checking whether the target board is remote.
19214 * gdb.multi/multi-attach.exp: Likewise.
19215 * gdb.python/py-sync-interp.exp: Likewise.
19216 * gdb.server/ext-attach.exp: Likewise.
19217 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19218 tests that need to attach, instead of checking whether the target
19219 board is remote at the top of the file.
19220
192212015-01-08 Yao Qi <yao@codesourcery.com>
19222
19223 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19224
192252015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19226
19227 Fix testcase compilation.
19228 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19229
192302015-01-06 Joel Brobecker <brobecker@adacore.com>
19231
19232 * gdb.python/py-type.exp: Add a couple test about empty
19233 array creation, and negative-length array creation.
19234
192352015-01-02 Doug Evans <xdje42@gmail.com>
19236
19237 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19238
192392015-01-02 Doug Evans <dje@google.com>
19240
19241 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19242
192432014-12-29 Yao Qi <yao@codesourcery.com>
19244
19245 * gdb.trace/entry-values.exp: Update comments. Rename variable
19246 bar_call_foo to returned_from_foo.
19247
192482014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19249
19250 PR gdb/17394
19251 * gdb.linespec/break-asm-file.c: New file.
19252 * gdb.linespec/break-asm-file.exp: New file.
19253 * gdb.linespec/break-asm-file0.s: New file.
19254 * gdb.linespec/break-asm-file1.s: New file.
19255
192562014-12-18 Nigel Stephens <nigel@mips.com>
19257 Maciej W. Rozycki <macro@codesourcery.com>
19258
19259 * gdb.base/float.exp: Handle the new output from "info float" on
19260 MIPS targets.
19261
192622014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19263
19264 Fix MinGW compilation.
19265 * gdb.compile/compile-ops.exp: Update untested message if
19266 !skip_compile_feature_tests.
19267 * gdb.compile/compile-setjmp.exp: Likewise.
19268 * gdb.compile/compile-tls.exp: Likewise.
19269 * gdb.compile/compile.exp: Likewise.
19270 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19271 supported on this host".
19272
192732014-12-16 Doug Evans <xdje42@gmail.com>
19274
19275 * boards/stabs.exp: New file.
19276
192772014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19278
19279 * gdb.base/completion.exp: Adjust to format changes of "maint
19280 print user-registers".
19281
192822014-12-16 Catalin Udma <catalin.udma@freescale.com>
19283
19284 PR server/17457
19285 * gdb.arch/aarch64-fp.c: New file.
19286 * gdb.arch/aarch64-fp.exp: New file.
19287
192882014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19289
19290 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19291 r210637, r210913, r211666, r215400, r215817).
19292
19293 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19294 * dg-extract-results.py: New file.
19295 * dg-extract-results.sh: Use it if the environment seems
19296 suitable.
19297
19298 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19299
19300 * dg-extract-results.py (parse_run): Handle warnings that
19301 are printed before a test harness is run.
19302
19303 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19304
19305 * dg-extract-results.py (Named): Remove __cmp__ method.
19306 (output_variation): Use a key to sort variation.harnesses.
19307
19308 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19309
19310 * dg-extract-results.py: For Python 3, force sys.stdout to
19311 handle surrogate escape sequences.
19312 (safe_open): New function.
19313 (output_segment, main): Use it.
19314
19315 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19316
19317 * dg-extract-results.py (Prog.result_re): Include options
19318 in test name.
19319
19320 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19321
19322 * dg-extract-results.py (output_variation): Always sort if
19323 do_sum.
19324
193252014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19326
19327 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19328 as long as we get pagination notifications.
19329
193302014-12-15 Jason Merrill <jason@redhat.com>
19331
19332 * Makefile.in (check-gdb.%): Restore.
19333 * README: Mention it.
19334
193352014-12-13 Joel Brobecker <brobecker@adacore.com>
19336
19337 * gdb.ada/str_uninit: New testcase.
19338
193392014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19340
19341 PR symtab/17642
19342 * gdb.base/vla-stub-define.c: New file.
19343 * gdb.base/vla-stub.c: New file.
19344 * gdb.base/vla-stub.exp: New file.
19345
193462014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19347 Jan Kratochvil <jan.kratochvil@redhat.com>
19348 Tom Tromey <tromey@redhat.com>
19349
19350 * configure.ac: Add gdb.compile/.
19351 * configure: Regenerate.
19352 * gdb.compile/Makefile.in: New file.
19353 * gdb.compile/compile-ops.exp: New file.
19354 * gdb.compile/compile-ops.c: New file.
19355 * gdb.compile/compile-tls.c: New file.
19356 * gdb.compile/compile-tls.exp: New file.
19357 * gdb.compile/compile-constvar.S: New file.
19358 * gdb.compile/compile-constvar.c: New file.
19359 * gdb.compile/compile-mod.c: New file.
19360 * gdb.compile/compile-nodebug.c: New file.
19361 * gdb.compile/compile-setjmp-mod.c: New file.
19362 * gdb.compile/compile-setjmp.c: New file.
19363 * gdb.compile/compile-setjmp.exp: New file.
19364 * gdb.compile/compile-shlib.c: New file.
19365 * gdb.compile/compile.c: New file.
19366 * gdb.compile/compile.exp: New file.
19367 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19368
193692014-12-12 Tom Tromey <tromey@redhat.com>
19370
19371 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19372 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19373
193742014-12-12 Doug Evans <dje@google.com>
19375
19376 * lib/gdb-python.exp (get_python_valueof): New function.
19377 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19378
193792014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19380
19381 * gdb.base/completion.exp: Add test for completion of "info
19382 registers ".
19383
193842014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19385
19386 * gdb.base/func-ptrs.c: New file.
19387 * gdb.base/func-ptrs.exp: New file.
19388
193892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19390
19391 PR breakpoints/17012
19392 * gdb.base/dprintf-detach.c: New file.
19393 * gdb.base/dprintf-detach.exp: New file.
19394
193952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19396
19397 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19398 * lib/gdb.exp (target_is_gdbserver): New procedure.
19399
194002014-12-08 Doug Evans <dje@google.com>
19401
19402 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19403
194042014-12-05 Yao Qi <yao@codesourcery.com>
19405
19406 * gdb.guile/scm-error.exp: Remove the third argument to
19407 gdb_remote_download.
19408 * gdb.guile/scm-frame-args.exp: Likewise.
19409 * gdb.guile/scm-section-script.exp: Likewise.
19410
194112014-12-05 Yao Qi <yao@codesourcery.com>
19412
19413 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19414
194152014-12-04 Doug Evans <dje@google.com>
19416
19417 * gdb.python/py-objfile.exp: Add tests for
19418 objfile.add_separate_debug_file.
19419
194202014-12-04 Doug Evans <dje@google.com>
19421
19422 * lib/gdb.exp (get_build_id): New function.
19423 (build_id_debug_filename_get): Rewrite to use it.
19424 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19425
194262014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19427
19428 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19429 `method(long)', not just 0x0.
19430 * gdb.cp/nsalias.exp: Align code labels to 4.
19431 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19432 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19433 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19434 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19435 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19436 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19437
194382014-12-02 Doug Evans <dje@google.com>
19439
19440 PR symtab/17602
19441 * gdb.cp/anon-ns.cc: Move guts of this file to ...
19442 * gdb.cp/anon-ns2.cc: ... here. New file.
19443 * gdb.cp/anon-ns.exp: Update.
19444
194452014-12-02 Nick Bull <nicholaspbull@gmail.com>
19446
19447 * gdb.python/py-events.py (inferior_call_handler): New.
19448 (register_changed_handler, memory_changed_handler): New.
19449 (test_events.invoke): Register new handlers.
19450 * gdb.python/py-events.exp: Add tests for inferior call,
19451 memory_changed and register_changed events.
19452
194532014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19454
19455 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19456 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19457 if the linker doesn't understand this.
19458
194592014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19460
19461 * gdb.python/python.exp: Change expected reply to help().
19462
194632014-12-01 Yao Qi <yao@codesourcery.com>
19464
19465 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19466 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19467 * configure: Re-generated.
19468
194692014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19470
19471 * gdb.cp/chained-calls.cc: New file.
19472 * gdb.cp/chained-calls.exp: New file.
19473 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19474
194752014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19476
19477 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19478 * gdb.dwarf2/symtab-producer.exp: Same.
19479 * gdb.gdb/python-interrupts.exp: Same.
19480 * gdb.gdb/python-selftest.exp: Same.
19481 * gdb.python/py-linetable.exp: Same.
19482 * gdb.python/py-type.exp: Same.
19483 * gdb.python/py-value-cc.exp: Same.
19484 * gdb.python/py-value.exp: Same.
19485
194862014-11-28 Yao Qi <yao@codesourcery.com>
19487
19488 * gdb.base/break-probes.exp: Match library name prefixed with
19489 sysroot.
19490
194912014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19492
19493 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19494 test expected output. Add parentheses for the call to print.
19495 Remove L suffix from integers.
19496
194972014-11-26 Doug Evans <dje@google.com>
19498
19499 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19500
195012014-11-22 Yao Qi <yao@codesourcery.com>
19502
19503 * gdb.trace/entry-values.c: Remove asms.
19504 (foo): Add foo_label.
19505 (bar): Add bar_label.
19506 * gdb.trace/entry-values.exp: Remove code computing foo's
19507 length and bar's length.
19508 (Dwarf::assemble): Invoke function_range for bar and use
19509 MACRO_AT_func for foo.
19510
195112014-11-22 Yao Qi <yao@codesourcery.com>
19512
19513 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19514 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19515 Use .Lgcc43_procstart instead of gcc43.
19516
195172014-11-21 Joel Brobecker <brobecker@adacore.com>
19518
19519 * gdb.ada/n_arr_bound: New testcase.
19520
195212014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19522
19523 PR breakpoints/10737
19524 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19525 test_catch_syscall_multi_arch.
19526 (test_catch_syscall_multi_arch): New function.
19527
195282014-11-20 Doug Evans <xdje42@gmail.com>
19529
19530 * gdb.base/maint.exp: Update expected output.
19531
195322014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19533
19534 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19535 4-byte instruction on S390.
19536
195372014-11-19 Joel Brobecker <brobecker@adacore.com>
19538
19539 * gdb.ada/arr_arr: New testcase.
19540
195412014-11-19 Joel Brobecker <brobecker@adacore.com>
19542
19543 * gdb.ada/pkd_arr_elem: New Testcase.
19544
195452014-11-18 Luis Machado <lgustavo@codesourcery.com>
19546
19547 * gdb.reverse/break-precsave: Expect completion message for
19548 core file reads.
19549 * gdb.reverse/consecutive-precsave.exp: Likewise.
19550 * gdb.reverse/finish-precsave.exp: Likewise.
19551 * gdb.reverse/i386-precsave.exp: Likewise.
19552 * gdb.reverse/machinestate-precsave.exp: Likewise.
19553 * gdb.reverse/sigall-precsave.exp: Likewise.
19554 * gdb.reverse/solib-precsave.exp: Likewise.
19555 * gdb.reverse/step-precsave.exp: Likewise.
19556 * gdb.reverse/until-precsave.exp: Likewise.
19557 * gdb.reverse/watch-precsave.exp: Likewise.
19558
195592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19560
19561 * gdb.base/bp-permanent.c: Include unistd.h.
19562 * gdb.python/py-framefilter-mi.c (main): Add return type.
19563 * gdb.python/py-framefilter.c (main): Likewise.
19564 * gdb.trace/actions-changed.c (main): Likewise.
19565
195662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19567
19568 * gdb.mi/until.c: Add eye-catchers.
19569 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19570 line numbers.
19571
195722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19573
19574 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19575 function header variants in break1.c.
19576 * gdb.base/ena-dis-br.exp: Likewise.
19577 * gdb.base/hbreak2.exp: Likewise.
19578 * gdb.reverse/until-precsave.exp: Drop references to removed
19579 non-prototype function header variants in ur1.c.
19580 * gdb.reverse/until-reverse.exp: Likewise.
19581
195822014-11-17 Petr Machata <pmachata@redhat.com>
19583
19584 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19585 ${_cu_offset_size} bytes abbrev offset.
19586
195872014-11-15 Doug Evans <xdje42@gmail.com>
19588
19589 PR symtab/17559
19590 * gdb.base/line-symtabs.exp: New file.
19591 * gdb.base/line-symtabs.c: New file.
19592 * gdb.base/line-symtabs.h: New file.
19593
195942014-11-14 Yao Qi <yao@codesourcery.com>
19595
19596 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19597 (func): Add label func_label.
19598 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19599 Replace low_pc and high_pc with MACRO_AT_range.
19600 Replace name, low_pc and high_pc with MACRO_AT_func.
19601
196022014-11-14 Yao Qi <yao@codesourcery.com>
19603
19604 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19605 Replace name, low_pc and high_pc with MACRO_AT_func.
19606
196072014-11-14 Yao Qi <yao@codesourcery.com>
19608
19609 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19610 produce debug information.
19611 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19612
196132014-11-14 Yao Qi <yao@codesourcery.com>
19614
19615 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19616 object and get function length.
19617 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19618 with MACRO_AT_func.
19619 (top-level): Replace gdb_compile and clean_restart with
19620 prepare_for_testing.
19621 * gdb.dwarf2/main.c (main): Add label main_label.
19622
196232014-11-14 Yao Qi <yao@codesourcery.com>
19624
19625 * lib/dwarf.exp (function_range): New procedure.
19626 (Dwarf::_handle_macro_at_func): New procedure.
19627 (Dwarf::_handle_macro_at_range): New procedure.
19628 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19629
196302014-11-14 Yao Qi <yao@codesourcery.com>
19631
19632 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19633 (_handle_attribute): New procedure.
19634
196352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19636
19637 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19638 * gdb.base/call-sc.c (zed): Likewise.
19639 * gdb.base/checkpoint.c (main): Likewise.
19640 * gdb.base/dump.c (main): Likewise.
19641 * gdb.base/gcore.c (main): Likewise.
19642 * gdb.base/huge.c (main): Likewise.
19643 * gdb.base/multi-forks.c (main): Likewise.
19644 * gdb.base/pr10179-a.c (main): Likewise.
19645 * gdb.base/savedregs.c (main): Likewise.
19646 * gdb.base/sigaltstack.c (main): Likewise.
19647 * gdb.base/siginfo.c (main): Likewise.
19648 * gdb.base/structs.c (zed): Likewise.
19649 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19650 * gdb.mi/mi-syn-frame.c (main): Likewise.
19651 * gdb.mi/until.c (foo, main): Likewise.
19652 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19653 * gdb.base/solib-weak.c (foo): Declare.
19654 * gdb.base/attach-twice.c: Include stdio.h.
19655 * gdb.base/weaklib1.c: Likewise.
19656 * gdb.base/weaklib2.c: Likewise.
19657 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19658 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19659 unistd.h.
19660 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19661 * gdb.mi/mi-exit-code.c: Likewise.
19662 * gdb.base/break-interp-lib.c: Include string.h.
19663 * gdb.base/coremaker.c: Likewise.
19664 * gdb.base/testenv.c: Likewise.
19665 * gdb.python/py-finish-breakpoint.c: Likewise.
19666 * gdb.base/inferior-died.c: Include sys/wait.h.
19667 * gdb.base/fileio.c: Include time.h.
19668 * gdb.base/async-shell.c: Include unistd.h.
19669 * gdb.base/dprintf-non-stop.c: Likewise.
19670 * gdb.base/info-os.c: Likewise.
19671 * gdb.mi/mi-console.c: Likewise.
19672 * gdb.mi/watch-nonstop.c: Likewise.
19673 * gdb.python/py-events.c: Likewise.
19674 * gdb.base/async.c (baz): Move up before its invocation.
19675 * gdb.base/code_elim2.c (my_global_func): Likewise.
19676 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19677 * gdb.base/advance.c (func2): Likewise.
19678
196792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19680
19681 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19682 variant.
19683 * gdb.base/annota3.c: Likewise.
19684 * gdb.base/async.c: Likewise.
19685 * gdb.base/average.c: Likewise.
19686 * gdb.base/call-ar-st.c: Likewise.
19687 * gdb.base/call-rt-st.c: Likewise.
19688 * gdb.base/call-sc.c: Likewise.
19689 * gdb.base/call-strs.c: Likewise.
19690 * gdb.base/ending-run.c: Likewise.
19691 * gdb.base/execd-prog.c: Likewise.
19692 * gdb.base/exprs.c: Likewise.
19693 * gdb.base/foll-exec.c: Likewise.
19694 * gdb.base/foll-fork.c: Likewise.
19695 * gdb.base/foll-vfork.c: Likewise.
19696 * gdb.base/funcargs.c: Likewise.
19697 * gdb.base/gcore.c: Likewise.
19698 * gdb.base/jump.c: Likewise.
19699 * gdb.base/langs0.c: Likewise.
19700 * gdb.base/langs1.c: Likewise.
19701 * gdb.base/langs2.c: Likewise.
19702 * gdb.base/mips_pro.c: Likewise.
19703 * gdb.base/nodebug.c: Likewise.
19704 * gdb.base/opaque0.c: Likewise.
19705 * gdb.base/opaque1.c: Likewise.
19706 * gdb.base/recurse.c: Likewise.
19707 * gdb.base/run.c: Likewise.
19708 * gdb.base/scope0.c: Likewise.
19709 * gdb.base/scope1.c: Likewise.
19710 * gdb.base/setshow.c: Likewise.
19711 * gdb.base/setvar.c: Likewise.
19712 * gdb.base/shmain.c: Likewise.
19713 * gdb.base/shr1.c: Likewise.
19714 * gdb.base/shr2.c: Likewise.
19715 * gdb.base/sigall.c: Likewise.
19716 * gdb.base/signals.c: Likewise.
19717 * gdb.base/so-indr-cl.c: Likewise.
19718 * gdb.base/solib2.c: Likewise.
19719 * gdb.base/structs.c: Likewise.
19720 * gdb.base/sum.c: Likewise.
19721 * gdb.base/vforked-prog.c: Likewise.
19722 * gdb.base/watchpoint.c: Likewise.
19723 * gdb.reverse/shr2.c: Likewise.
19724 * gdb.reverse/until-reverse.c: Likewise.
19725 * gdb.reverse/ur1.c: Likewise.
19726 * gdb.reverse/watch-reverse.c: Likewise.
19727
197282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19729
19730 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19731 variant.
19732 * gdb.base/sepdebug.exp: Drop references to removed code.
19733
197342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19735
19736 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19737 variant. Preserve original line numbering.
19738 * gdb.base/list1.c: Likewise.
19739
197402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19741
19742 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19743 variant.
19744 * gdb.base/break1.c: Likewise.
19745 * gdb.base/break.exp: Drop references to removed code.
19746
197472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19748
19749 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19750 variant.
19751
197522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19753
19754 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19755
197562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19757
19758 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19759 logic into perform_all_tests() and invoke it with and without
19760 function header prototypes.
19761 (do_function_calls): Remove conditional XFAIL for PR 5318.
19762 (rerun_and_prepare): Remove duplicate code.
19763 (perform_all_tests): New. Main logic moved here.
19764
197652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19766
19767 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19768 code guarded by #ifdef NO_PROTOTYPES.
19769 (t_double_many_args): Likewise.
19770 (DEF_FUNC_MANY_ARGS_1): Likewise.
19771 (DEF_FUNC_VALUES_1): Likewise.
19772 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19773 guarded by #ifdef PROTOTYPES.
19774
197752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19776
19777 * gdb.mi/mi-console.c: Add eye-catcher.
19778 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19779 instead of literal line number.
19780
197812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19782
19783 * gdb.base/shr2.c: Add eye-catcher.
19784 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19785 line number.
19786
197872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19788
19789 * gdb.base/jump.c: Add eye-catchers.
19790 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19791 numbers.
19792
197932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19794
19795 * gdb.base/execd-prog.c: Add eye-catchers.
19796 * gdb.base/foll-exec.c: Likewise.
19797 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19798 line numbers.
19799
198002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19801
19802 * gdb.base/ending-run.c: Add eye-catchers.
19803 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19804 literal line numbers.
19805
198062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19807
19808 * gdb.base/call-rt-st.c: Add eye-catchers.
19809 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19810 literal line numbers.
19811
198122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19813
19814 * gdb.base/call-ar-st.c: Add eye-catchers.
19815 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19816 literal line numbers.
19817
198182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19819
19820 * gdb.base/average.c: Add eye-catchers.
19821 * gdb.base/sum.c: Likewise.
19822 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19823 regexps dynamically.
19824
198252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19826
19827 * gdb.base/solib1.c: Add eye-catchers.
19828 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19829 literal line numbers.
19830
198312014-11-12 Pedro Alves <palves@redhat.com>
19832
19833 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19834 leader has exited.
19835
198362014-11-12 Pedro Alves <palves@redhat.com>
19837
19838 * gdb.arch/i386-bp_permanent.c: New file.
19839 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19840 (srcfile): Set to i386-bp_permanent.c.
19841 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19842 that stepi does not execute the 'leave' instruction, instead of
19843 testing it does execute.
19844 * gdb.base/bp-permanent.c: New file.
19845 * gdb.base/bp-permanent.exp: New file.
19846
198472014-11-10 Doug Evans <xdje42@gmail.com>
19848
19849 PR symtab/17564
19850 * gdb.base/symtab-search-order.exp: New file.
19851 * gdb.base/symtab-search-order.c: New file.
19852 * gdb.base/symtab-search-order-1.c: New file.
19853 * gdb.base/symtab-search-order-shlib-1.c: New file.
19854
198552014-11-07 Pedro Alves <palves@redhat.com>
19856
19857 PR gdb/17511
19858 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19859 i?86-*-linux*.
19860
198612014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19862
19863 PR c++/17494
19864 * gdb.cp/pr17494.cc: New file.
19865 * gdb.cp/pr17494.exp: New file.
19866
198672014-11-02 Yao Qi <yao@codesourcery.com>
19868
19869 * gdb.python/python.exp: Get working directory and match the
19870 output of "set extended-prompt \\w " with it.
19871
198722014-10-30 Doug Evans <dje@google.com>
19873
19874 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19875 in objfiles.
19876 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19877 in progspaces.
19878
198792014-10-30 Janis Johnson <janisjo@codesourcery.com>
19880
19881 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19882 * gdb.base/realname-expand.exp: Likewise.
19883 * gdb.linespec/macro-relative.exp: Likewise.
19884
198852014-10-29 Pedro Alves <palves@redhat.com>
19886
19887 PR gdb/17408
19888 * gdb.threads/schedlock.c (some_function): New function.
19889 (call_function): New global.
19890 (MAYBE_CALL_SOME_FUNCTION): New macro.
19891 (thread_function): Call it.
19892 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19893 and use it instead of a global counter. Adjust all callers.
19894 (get_current_thread): Use "find current thread" for test message
19895 here rather than having all callers pass down the same string.
19896 (goto_loop): New procedure, factored out from ...
19897 (my_continue): ... this.
19898 (step_ten_loops): Change parameter from test message to command to
19899 use. Adjust.
19900 (list_count): Delete global.
19901 (check_result): New procedure, factored out from duplicate top
19902 level code.
19903 (continue tests): Wrap in with_test_prefix.
19904 (test_step): New procedure, factored out from duplicate top level
19905 code.
19906 (top level): Test "step" in combination with all scheduler-locking
19907 modes. Test "next" in combination with all scheduler-locking
19908 modes, and in combination with stepping over a function call or
19909 not.
19910 * gdb.threads/next-bp-other-thread.c: New file.
19911 * gdb.threads/next-bp-other-thread.exp: New file.
19912
199132014-10-29 Pedro Alves <palves@redhat.com>
19914
19915 PR python/17372
19916 * gdb.python/python.exp: Test a multi-line command that spawns
19917 interactive Python.
19918 * gdb.base/multi-line-starts-subshell.exp: New file.
19919
199202014-10-29 Yao Qi <yao@codesourcery.com>
19921
19922 * gdb.base/fileio.exp: Make directories on host.
19923
199242014-10-29 Yao Qi <yao@codesourcery.com>
19925
19926 * gdb.base/fileio.c (test_write): Close the file.
19927
199282014-10-28 Pedro Alves <palves@redhat.com>
19929
19930 PR gdb/12623
19931 * gdb.base/sigstep.c (no_handler): New global.
19932 (main): If 'no_handler is true, set the signal handlers to
19933 SIG_IGN.
19934 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19935 with_sw_watch and no_handler parameters. Handle them.
19936 (top level) <stepping over handler when stopped at a breakpoint
19937 test>: Add a test axis for testing with a software watchpoint, and
19938 another for testing with the signal handler set to SIG_IGN.
19939 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19940 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19941
199422014-10-28 Pedro Alves <palves@redhat.com>
19943
19944 PR gdb/17511
19945 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19946 * gdb.base/sigstep.exp (other_handler_location): New global.
19947 (advance): Support stepping into the signal handler, and running
19948 commands while in the handler.
19949 (in_handler_map): New global.
19950 (top level): In the advance test, add combinations for getting
19951 into the handler with stepping commands, and for running commands
19952 in the handler. Add comment descripting the advancei tests.
19953
199542014-10-28 Pedro Alves <palves@redhat.com>
19955
19956 * gdb.base/sigstep.exp: Use build_executable instead of
19957 prepare_for_testing.
19958 (top level): Move code that starts GDB, runs to main and creates a
19959 display to ...
19960 (restart): ... this new procedure.
19961 (top level): Move backtrace from signal handler test to ...
19962 (validate_backtrace): ... this new procedure.
19963 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19964 with_test_prefix. Always restart GDB.
19965 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19966 with_test_prefix. Always restart GDB. No need to delete
19967 breakpoints after the test.
19968 (test_skip_handler): Remove prefix parameter.
19969 (skip_over_handler, breakpoint_to_handler)
19970 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19971 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19972 restart GDB. No need to delete breakpoints after the test.
19973 (top level): Use foreach to call the test procedures with
19974 different commands.
19975
199762014-10-28 Pedro Alves <palves@redhat.com>
19977
19978 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19979 instead of GNATS numbers.
19980 * gdb.base/sigbpt.exp: Likewise.
19981 * gdb.base/siginfo.exp: Likewise.
19982 * gdb.base/sigstep.exp: Likewise.
19983
199842014-10-27 Pedro Alves <palves@redhat.com>
19985
19986 * gdb.base/sigstep.c (dummy): New global.
19987 (main): Issue a couple writes to the new global.
19988 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19989 procedures.
19990 (skip_over_handler): Use test_skip_handler.
19991 (top level): Call skip_over_handler for stepi and nexti too.
19992 (breakpoint_over_handler): Use test_skip_handler.
19993 (top level): Call breakpoint_over_handler for stepi and nexti too.
19994
199952014-10-27 Yao Qi <yao@codesourcery.com>
19996
19997 * gdb.trace/tfile.c (adjust_function_address)
19998 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19999 function descriptor.
20000
200012014-10-24 Don Breazeal <donb@codesourcery.com>
20002
20003 * gdb.base/foll-fork.exp (test_follow_fork,
20004 catch_fork_child_follow): Check for updated fork messages emitted
20005 from infrun.c.
20006 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20007 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20008 vfork_and_exec_child_follow_through_step): Check for updated vfork
20009 messages emitted from infrun.c.
20010
200112014-10-24 Pedro Alves <palves@redhat.com>
20012
20013 * gdb.base/corefile.exp: Remove references to ultrix.
20014 * gdb.base/interrupt.exp: Likewise.
20015 * gdb.base/whatis.exp: Likewise.
20016 * gdb.gdb/selftest.exp: Likewise.
20017 * gdb.threads/manythreads.exp: Likewise.
20018 * gdb.threads/print-threads.exp: Likewise.
20019 * gdb.threads/pthreads.exp:: Likewise.
20020 * gdb.threads/schedlock.exp: Likewise.
20021
200222014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20023
20024 * gdb.cp/non-trivial-retval.cc: Add a test case.
20025 * gdb.cp/non-trivial-retval.exp: Add a test.
20026
200272014-10-20 Yao Qi <yao@codesourcery.com>
20028
20029 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20030 * gdb.python/py-objfile-script-gdb.py: New file.
20031 * gdb.python/py-objfile-script.exp: Update reference to
20032 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20033 of remote_download. Remove the dest file.
20034
200352014-10-20 Yao Qi <yao@codesourcery.com>
20036
20037 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20038 * gdb.base/step-line.exp: Likewise.
20039 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20040 * gdb.dwarf2/dw2-basic.exp: Likewise.
20041 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20042 * gdb.dwarf2/dw2-filename.exp: Likewise.
20043 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20044 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20045 * gdb.dwarf2/dw2-producer.exp: Likewise.
20046 * gdb.dwarf2/mac-fileno.exp: Likewise.
20047 * gdb.python/py-frame-args.exp: Likewise.
20048 * gdb.python/py-framefilter.exp: Likewise.
20049 * gdb.python/py-mi.exp: Likewise.
20050 * gdb.python/py-objfile-script.exp: Likewise
20051 * gdb.python/py-pp-integral.exp: Likewise.
20052 * gdb.python/py-pp-re-notag.exp: Likewise.
20053 * gdb.python/py-prettyprint.exp: Likewise.
20054 * gdb.python/py-section-script.exp: Likewise.
20055 * gdb.python/py-typeprint.exp: Likewise.
20056 * gdb.python/py-xmethods.exp: Likewise.
20057 * gdb.stabs/weird.exp: Likewise.
20058 * gdb.xml/tdesc-regs.exp: Likewise.
20059
200602014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20061
20062 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20063 (out_cu): Use addr_len for the size of addresses.
20064 (out_line): Likewise. Size DW_LNE_set_address instruction
20065 according to addr_len.
20066 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20067 (FUNC): Add START_INSNS to definition.
20068
200692014-10-18 Yao Qi <yao@codesourcery.com>
20070
20071 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20072 gdb_has_argv0 return true.
20073 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20074 check [target_info exists noargs], check [gdb_has_argv0]
20075 instead.
20076 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20077 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20078 procedures.
20079
200802014-10-17 Doug Evans <dje@google.com>
20081
20082 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20083 event.
20084 * gdb.python/py-events.py: Add clear_objfiles event.
20085
200862014-10-17 Doug Evans <dje@google.com>
20087
20088 * gdb.python/py-objfile.exp: Test progspace attribute.
20089
200902014-10-17 Luis Machado <lgustavo@codesourcery.com>
20091
20092 * gdb.guile/scm-breakpoint.exp: Do not assume any
20093 directory separators when matching source file paths.
20094 * gdb.python/py-breakpoint.exp: Likewise.
20095 * gdb.reverse/break-precsave.exp: Likewise.
20096 * gdb.reverse/break-reverse.exp: Likewise.
20097 * gdb.reverse/consecutive-precsave.exp: Likewise.
20098 * gdb.reverse/finish-precsave.exp: Likewise.
20099 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20100 * gdb.reverse/finish-reverse.exp: Likewise.
20101 * gdb.reverse/i386-precsave.exp: Likewise.
20102 * gdb.reverse/i387-env-reverse.exp: Likewise.
20103 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20104 * gdb.reverse/machinestate-precsave.exp: Likewise.
20105 * gdb.reverse/machinestate.exp: Likewise.
20106 * gdb.reverse/sigall-precsave.exp: Likewise.
20107 * gdb.reverse/solib-precsave.exp: Likewise.
20108 * gdb.reverse/step-precsave.exp: Likewise.
20109 * gdb.reverse/until-precsave.exp: Likewise.
20110 * gdb.reverse/watch-precsave.exp: Likewise.
20111 * gdb.reverse/watch-reverse.exp: Likewise.
20112
201132014-10-17 Yao Qi <yao@codesourcery.com>
20114
20115 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20116 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20117
201182014-10-17 Pedro Alves <palves@redhat.com>
20119
20120 PR gdb/17471
20121 * gdb.base/bg-execution-repeat.c: New file.
20122 * gdb.base/bg-execution-repeat.exp: New file.
20123
201242014-10-17 Pedro Alves <palves@redhat.com>
20125
20126 PR gdb/17300
20127 * gdb.base/continue-all-already-running.c: New file.
20128 * gdb.base/continue-all-already-running.exp: New file.
20129
201302014-10-17 Pedro Alves <palves@redhat.com>
20131
20132 PR gdb/17472
20133 * gdb.base/annota-input-while-running.c: New file.
20134 * gdb.base/annota-input-while-running.exp: New file.
20135
201362014-10-17 Pedro Alves <palves@redhat.com>
20137
20138 * gdb.base/callfuncs.exp: emove references to osf.
20139 * gdb.base/sigall.exp: Likewise.
20140 * gdb.gdb/selftest.exp: Likewise.
20141 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20142 * gdb.mi/non-stop.c: Likewise.
20143 * gdb.mi/pthreads.c: Likewise.
20144 * gdb.reverse/sigall-precsave.exp: Likewise.
20145 * gdb.reverse/sigall-reverse.exp: Likewise.
20146 * gdb.threads/pthreads.c: Likewise.
20147 * gdb.threads/pthreads.exp: Likewise.
20148
201492014-10-17 Yao Qi <yao@codesourcery.com>
20150
20151 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20152 check 'target_info exists noargs'.
20153 (test_command_prompt_position): Likewise.
20154 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20155 Remove "set args".
20156 (progvar_simple_while_test): Likewise.
20157 (progvar_complex_if_while_test): Likewise.
20158 (if_while_breakpoint_command_test): Likewise.
20159 (infrun_breakpoint_command_test): Likewise.
20160 (breakpoint_command_test): Likewise.
20161 (watchpoint_command_test): Likewise.
20162 (bp_deleted_in_command_test): Likewise.
20163 (temporary_breakpoint_commands): Likewise.
20164
201652014-10-16 Yao Qi <yao@codesourcery.com>
20166
20167 * gdb.base/remotetimeout.exp: Remove noargs checking.
20168
201692014-10-15 Pedro Alves <palves@redhat.com>
20170
20171 PR breakpoints/9649
20172 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20173 * gdb.base/breakpoint-in-ro-region.exp
20174 (probe_target_hardware_step): New procedure.
20175 (top level): Probe hardware stepping and hardware breakpoint
20176 support. Test stepping through a read-only region, with both
20177 "breakpoint auto-hw" on and off and both "always-inserted" on and
20178 off.
20179
201802014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20181
20182 * gdb.dlang/demangle.exp: Update for demangling changes.
20183
201842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20185
20186 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20187 * gdb.cp/non-trivial-retval.exp: Add new tests.
20188
201892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20190
20191 PR c++/13403
20192 PR c++/15154
20193 * gdb.cp/non-trivial-retval.cc: New file.
20194 * gdb.cp/non-trivial-retval.exp: New file.
20195
201962014-10-15 Yao Qi <yao@codesourcery.com>
20197
20198 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20199 remote host.
20200
202012014-10-15 Yao Qi <yao@codesourcery.com>
20202
20203 * gdb.python/py-symbol.exp: Match file base name if host is
20204 remote, otherwise match file name with dir name.
20205 * gdb.python/py-symtab.exp: Likewise.
20206 * gdb.python/python.exp: Likewise.
20207
202082014-10-15 Yao Qi <yao@codesourcery.com>
20209
20210 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20211 pattern.
20212 * gdb.python/py-symtab.exp: Likewise.
20213 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20214 locationn.
20215
202162014-10-14 Joel Brobecker <brobecker@adacore.com>
20217
20218 * gdb.ada/addr_arith: New testcase.
20219
202202014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20221
20222 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20223 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20224 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20225 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20226
202272014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20228
20229 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20230 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20231 * gdb.arch/stap-eval-lang-ada.exp: New file.
20232
202332014-10-14 Yao Qi <yao@codesourcery.com>
20234
20235 * gdb.mi/mi-var-child.c (nothing1): New function.
20236 (nothing2): New function.
20237 (do_children_tests): Set function pointers by nothing1 and
20238 nothing2.
20239 * gdb.mi/mi-var-child.exp: Step over new added statements.
20240 Update test to match the new output.
20241 * gdb.mi/var-cmd.c (nothing1): New function.
20242 (nothing2): New function.
20243 (do_children_tests): Set function pointers by nothing1 and
20244 nothing2.
20245 * gdb.mi/mi-var-display.exp: Update test to match output.
20246 Step to the line specified by $line_dct_nothing.
20247 Increase the number of lines to step.
20248
202492014-10-14 Yao Qi <yao@codesourcery.com>
20250
20251 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20252 tests.
20253 * gdb.mi/mi2-var-child.exp: Likewise.
20254
202552014-10-13 Doug Evans <dje@google.com>
20256
20257 * gdb.python/py-objfile.exp: Change name of file name test.
20258
202592014-10-13 Doug Evans <dje@google.com>
20260
20261 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20262 from the start of the CU.
20263
202642014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20265 Yao Qi <yao@codesourcery.com>
20266
20267 Fix "save breakpoints" for "catch" command.
20268 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20269 Remove -nonewline. Match also the added "main" line.
20270
202712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20272
20273 Fix "save breakpoints" for "disable $bpnum" command.
20274 * gdb.base/save-bp.c (main): Add label.
20275 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20276
202772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20278
20279 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20280
202812014-10-11 Yao Qi <yao@codesourcery.com>
20282
20283 * gdb.server/server-kill.exp: Execute command
20284 "set remote trace-status-packet on" before "tstatus".
20285
202862014-10-11 Yao Qi <yao@codesourcery.com>
20287
20288 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20289 (main): Call getppid.
20290 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20291 and continue to it. Read variable "server_pid".
20292
202932014-10-11 Yao Qi <yao@codesourcery.com>
20294
20295 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20296
202972014-10-11 Yao Qi <yao@codesourcery.com>
20298
20299 * gdb.threads/thread-find.exp: Don't execute command
20300 "info threads".
20301 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20302 * gdb.threads/linux-dp.exp: Don't check the condition
20303 $threads_created equals to zero.
20304
203052014-10-10 Pedro Alves <palves@redhat.com>
20306
20307 * gdb.base/bigcore.exp: Remove references to IRIX.
20308 * gdb.base/funcargs.exp: Likewise.
20309 * gdb.base/interrupt.exp: Likewise.
20310 * gdb.base/mips_pro.exp: Likewise.
20311 * gdb.base/nodebug.exp: Likewise.
20312 * gdb.base/setvar.exp: Likewise.
20313 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20314
203152014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20316 Pedro Alves <palves@redhat.com>
20317
20318 PR symtab/14466
20319 * gdb.base/vdso-warning.c: New file.
20320 * gdb.base/vdso-warning.exp: New file.
20321
203222014-10-02 Doug Evans <dje@google.com>
20323
20324 * gdb.base/structs.c (main): Don't run forever.
20325
203262014-10-02 Pedro Alves <palves@redhat.com>
20327
20328 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20329 (top level) <stop threads 1, stop threads 2>: Use it.
20330
203312014-10-02 Pedro Alves <palves@redhat.com>
20332
20333 * gdb.threads/break-while-running.exp (test): Add new
20334 'update_thread_list' argument. Skip "info threads" if false.
20335 (top level): Add new 'update_thread_list' axis.
20336
203372014-10-02 Pedro Alves <palves@redhat.com>
20338
20339 PR breakpoints/17431
20340 * gdb.base/execl-update-breakpoints.c: New file.
20341 * gdb.base/execl-update-breakpoints.exp: New file.
20342
203432014-10-01 Pedro Alves <palves@redhat.com>
20344
20345 * gdb.base/breakpoint-in-ro-region.c: New file.
20346 * gdb.base/breakpoint-in-ro-region.exp: New file.
20347
203482014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20349
20350 * gdb.mi/mi-exit-code.exp: New file.
20351 * gdb.mi/mi-exit-code.c: New file.
20352
203532014-09-30 Yao Qi <yao@codesourcery.com>
20354
20355 * lib/prelink-support.exp (build_executable_own_libs): Error if
20356 the target isn't native.
20357
203582014-09-30 Yao Qi <yao@codesourcery.com>
20359
20360 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20361 false.
20362
203632014-09-22 Pedro Alves <palves@redhat.com>
20364
20365 * gdb.threads/break-while-running.exp: New file.
20366 * gdb.threads/break-while-running.c: New file.
20367
203682014-09-19 Yao Qi <yao@codesourcery.com>
20369
20370 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20371 Invoke test. Restart GDB with --readnow and invoke test again.
20372
203732014-09-19 Yao Qi <yao@codesourcery.com>
20374
20375 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20376 proc set_breakpoint_on_gcd_function. Invoke
20377 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20378 invoke set_breakpoint_on_gcd_function again.
20379
203802014-09-18 Doug Evans <dje@google.com>
20381
20382 * gdb.dwarf2/symtab-producer.exp: New file.
20383
203842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20385
20386 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20387 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20388 * gdb.base/global-var-nested-by-dso.c: Likewise.
20389 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20390
203912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20392 Pedro Alves <palves@redhat.com>
20393
20394 * gdb.base/watch-bitfields.exp: Pass string other than test file
20395 name to prepare_for_testing.
20396 (watch): New procedure.
20397 (expect_watchpoint): Use with_test_prefix.
20398 (top level): Factor out tests to ...
20399 (test_watch_location, test_regular_watch): ... these new
20400 procedures, and use with_test_prefix and gdb_continue_to_end.
20401
204022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20403
20404 PR breakpoints/12526
20405 * gdb.base/watch-bitfields.exp: New file.
20406 * gdb.base/watch-bitfields.c: New file.
20407
204082014-09-16 Pedro Alves <palves@redhat.com>
20409
20410 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20411 software and hardware addresses, not software address against
20412 itself.
20413
204142014-09-16 Pedro Alves <palves@redhat.com>
20415
20416 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20417 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20418
204192014-09-16 Pedro Alves <palves@redhat.com>
20420
20421 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20422 files.
20423 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20424 "*-*-vxworks*" throughout.
20425 * gdb.base/break.exp: Likewise.
20426 * gdb.base/default.exp: Likewise.
20427 * gdb.base/scope.exp: Likewise.
20428 * gdb.base/sepdebug.exp: Likewise.
20429 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20430 throughout.
20431 * gdb.base/run.c: Likewise.
20432 * gdb.base/sepdebug.c: Likewise.
20433 * gdb.hp/gdb.aCC/run.c: Likewise.
20434 * gdb.reverse/until-reverse.c: Likewise.
20435 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20436
204372014-09-16 Yao Qi <yao@codesourcery.com>
20438
20439 * boards/local-remote-host-native.exp: New file.
20440
204412014-09-14 Doug Evans <xdje42@gmail.com>
20442
20443 * gdb.threads/queue-signal.c (thread_count): New variable.
20444 (thread_count_mutex, thread_count_condvar): New variables.
20445 (incr_thread_count, wait_all_threads_running): New functions.
20446 (main): Wait for all threads to be in their thread functions.
20447
204482014-09-13 Doug Evans <xdje42@gmail.com>
20449
20450 * gdb.threads/queue-signal.c: New file.
20451 * gdb.threads/queue-signal.exp: New file.
20452
204532014-09-13 Doug Evans <xdje42@gmail.com>
20454
20455 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20456 be consistent with what default_gdb_init uses.
20457 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20458 the plain text of the prompt. Add some logging printfs.
20459 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20460
204612014-09-12 Pedro Alves <palves@redhat.com>
20462
20463 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20464 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20465 * gdb.arch/i386-size-overlap.exp: Likewise.
20466 * gdb.arch/i386-size.exp: Likewise.
20467 * gdb.arch/i386-unwind.exp: Likewise.
20468 * gdb.base/a2-run.exp: Likewise.
20469 * gdb.base/break.exp: Likewise.
20470 * gdb.base/charset.exp: Likewise.
20471 * gdb.base/chng-syms.exp: Likewise.
20472 * gdb.base/commands.exp: Likewise.
20473 * gdb.base/dbx.exp: Likewise.
20474 * gdb.base/find.exp: Likewise.
20475 * gdb.base/funcargs.exp: Likewise.
20476 * gdb.base/jit-simple.exp: Likewise.
20477 * gdb.base/reread.exp: Likewise.
20478 * gdb.base/sepdebug.exp: Likewise.
20479 * gdb.base/step-bt.exp: Likewise.
20480 * gdb.cp/mb-inline.exp: Likewise.
20481 * gdb.cp/mb-templates.exp: Likewise.
20482 * gdb.objc/basicclass.exp: Likewise.
20483 * gdb.threads/killed.exp: Likewise.
20484
204852014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20486
20487 PR tdep/17379
20488 * gdb.arch/powerpc-stackless.S: New file.
20489 * gdb.arch/powerpc-stackless.exp: New file.
20490
204912014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20492
20493 * gdb.base/attach.c: Include unistd.h.
20494 (main): Call alarm. Add label postloop.
20495 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20496 gdb_breakpoint, gdb_continue_to_breakpoint.
20497 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20498
204992014-09-11 Pedro Alves <palves@redhat.com>
20500
20501 PR gdb/17347
20502 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20503 * gdb.base/attach.exp (test_command_line_attach_run): New
20504 procedure.
20505 (top level): Call it.
20506
205072014-09-11 Pedro Alves <palves@redhat.com>
20508
20509 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20510 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20511 (do_command_attach_tests): Use spawn_wait_for_attach.
20512 * gdb.base/solib-overlap.exp: Likewise.
20513 * gdb.multi/multi-attach.exp: Likewise.
20514 * gdb.python/py-prompt.exp: Likewise.
20515 * gdb.python/py-sync-interp.exp: Likewise.
20516 * gdb.server/ext-attach.exp: Likewise.
20517
205182014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20519
20520 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20521 command in testcase. Simplify testcase.
20522
205232014-09-10 Joel Brobecker <brobecker@adacore.com>
20524
20525 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20526
205272014-09-10 Joel Brobecker <brobecker@adacore.com>
20528
20529 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20530
205312014-09-10 Joel Brobecker <brobecker@adacore.com>
20532
20533 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20534
205352014-09-10 Joel Brobecker <brobecker@adacore.com>
20536
20537 * gdb.dwarf2/dynarr-ptr.c: New file.
20538 * gdb.dwarf2/dynarr-ptr.exp: New file.
20539
205402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20541
20542 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20543 of 30 rather than hardcoding 120 for a slow test case. Take the
20544 `gdb,timeout' target setting into account for this calculation.
20545 Don't extend the timeout for the test cases that don't need it.
20546
205472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20548
20549 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20550 a factor of 2 for a slow test case. Take the `gdb,timeout'
20551 target setting into account for this calculation.
20552 * gdb.reverse/until-precsave.exp: Increase the timeout by
20553 a factor of 15 and 3 respectively rather than adding 120
20554 for a pair of slow test cases. Take the `gdb,timeout'
20555 target setting into account for this calculation.
20556
205572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20558
20559 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20560 timeout, don't pass one down to gdb_expect.
20561 (gdb_expect): Rework timeout selection.
20562
205632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20564
20565 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20566 exception on timeout.
20567 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20568 (gdbserver_start_extended): Catch any `gdbserver_start' error
20569 exceptions.
20570 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20571 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20572 `gdbserver_gdb_load' error exceptions.
20573
205742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20575
20576 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20577 120 on waiting for the TCP socket to open.
20578
205792014-09-09 Doug Evans <xdje42@gmail.com>
20580
20581 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20582 _caller_matches, _any_caller_is, _any_caller_matches.
20583
205842014-09-09 Doug Evans <xdje42@gmail.com>
20585
20586 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20587
205882014-09-09 Yao Qi <yao@codesourcery.com>
20589
20590 * gdb.mi/mi-var-display.exp: Set print symbol off.
20591
205922014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20593
20594 PR gdb/17035
20595 * gdb.base/commands.exp: Add tests to verify user-defined
20596 commands with empty bodies.
20597 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20598 python commands in `show user command`.
20599 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20600 scheme commands in `show user command`.
20601
206022014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20603
20604 PR python/17355
20605 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20606 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20607 * gdb.python/py-framefilter-invalidarg.exp: New file.
20608 * gdb.python/py-framefilter-invalidarg.py: New file.
20609
206102014-09-06 Doug Evans <xdje42@gmail.com>
20611
20612 PR 15276
20613 * gdb.python/py-caller-is.c: New file.
20614 * gdb.python/py-caller-is.exp: New file.
20615
206162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20617
20618 PR gdb/17235
20619 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20620 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20621
206222014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20623
20624 PR fortran/17237
20625 * gdb.fortran/print-formatted.exp: New file.
20626 * gdb.fortran/print-formatted.f90: Likewise.
20627
206282014-09-03 Sasha Smundak <asmundak@google.com>
20629
20630 * gdb.python/py-frame.exp: Test Frame.read_register.
20631
206322014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20633
20634 PR python/16699
20635 * gdb.python/py-completion.exp: New file.
20636 * gdb.python/py-completion.py: Likewise.
20637
206382014-08-28 Doug Evans <dje@google.com>
20639
20640 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20641 eax,etc. are live with values set by gdb and thus the compiler can't
20642 use them.
20643 * gdb.arch/i386-pseudo.c (main): Ditto.
20644
206452014-08-27 Doug Evans <dje@google.com>
20646
20647 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20648
206492014-08-25 Doug Evans <dje@google.com>
20650
20651 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20652 (main): Ditto.
20653
206542014-08-25 Doug Evans <dje@google.com>
20655
20656 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20657
206582014-08-24 Yao Qi <yao@codesourcery.com>
20659
20660 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20661 symbol off.
20662 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20663
206642014-08-22 Doug Evans <dje@google.com>
20665
20666 PR 17276
20667 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20668 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20669 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20670
206712014-08-22 Yao Qi <yao@codesourcery.com>
20672
20673 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20674 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20675 * gdb.python/python.exp: Likewise. Use .py file on the host
20676 instead of the build.
20677
206782014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20679
20680 * gdb.threads/gcore-stale-thread.c: New file.
20681 * gdb.threads/gcore-stale-thread.exp: New file.
20682
206832014-08-21 Pedro Alves <palves@redhat.com>
20684
20685 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20686 * gdb.base/gcore-relro-pie.exp: Likewise.
20687 * gdb.base/gcore-relro.exp: Likewise.
20688 * gdb.base/gcore.exp: Likewise.
20689 * gdb.base/print-symbol-loading.exp: Likewise.
20690 * gdb.threads/gcore-thread.exp: Likewise.
20691 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20692
206932014-08-20 Pedro Alves <palves@redhat.com>
20694 Jan Kratochvil <jan.kratochvil@redhat.com>
20695
20696 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20697 configure.
20698 (EXPECT): Handle READ1 being set.
20699 (all): Depend on EXTRA_RULES.
20700 (check-read1, expect-read1, read1.so, read1): New rules.
20701 * README (Testsuite Parameters): Document the READ1 make variable.
20702 (Race detection): New section.
20703 * configure: Regenerate.
20704 * configure.ac: If build==host==target, and running under a
20705 GNU/glibc system, add read1 to the extra Makefile rules.
20706 (EXTRA_RULES): AC_SUBST it.
20707 * lib/read1.c: New file.
20708
207092014-08-20 Joel Brobecker <brobecker@adacore.com>
20710
20711 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20712 the handling of variables declared as a typedef to an array
20713 which a DW_AT_data_location attribute.
20714
207152014-08-19 Andrew Burgess <aburgess@broadcom.com>
20716 Pedro Alves <palves@redhat.com>
20717
20718 PR symtab/14604
20719 PR symtab/14605
20720 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20721 gdb_test.
20722
207232014-08-19 Pedro Alves <palves@redhat.com>
20724
20725 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20726
207272014-08-19 Yao Qi <yao@codesourcery.com>
20728
20729 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20730 right line.
20731
207322014-08-18 David Blaikie <dblaikie@gmail.com>
20733
20734 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20735
207362014-08-18 Joel Brobecker <brobecker@adacore.com>
20737
20738 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20739 attribute in array range.
20740
207412014-08-18 Joel Brobecker <brobecker@adacore.com>
20742
20743 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20744
207452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20746
20747 PR c++/17132
20748 * gdb.cp/pr17132.cc: New file.
20749 * gdb.cp/pr17132.exp: New file.
20750
207512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20752
20753 * gdb.python/py-xmethods.py (A_getarrayind)
20754 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20755 Use 'print' with function call syntax.
20756 (E_method_matcher.match): Fix tab vs space indentation mixup.
20757
207582014-08-15 Yao Qi <yao@codesourcery.com>
20759
20760 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20761 false.
20762
207632014-08-15 Yao Qi <yao@codesourcery.com>
20764
20765 * gdb.cp/casts.exp: Set print symbol off.
20766 * gdb.cp/class2.exp: Likewise.
20767 * gdb.cp/overload.exp: Likewise.
20768 * gdb.cp/templates.exp: Likewise.
20769
207702014-08-11 Doug Evans <dje@google.com>
20771
20772 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20773 (test_load_shlib): Update.
20774
207752014-08-09 Yao Qi <yao@codesourcery.com>
20776
20777 * gdb.base/display.exp: Invoke is_address_zero_readable.
20778 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20779 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20780 * gdb.base/hbreak-unmapped.exp: Return if
20781 is_address_zero_readable returns true.
20782 * gdb.base/signest.exp: Likewise.
20783 * gdb.base/signull.exp: Likewise.
20784 * gdb.base/sigbpt.exp: Likewise.
20785 * gdb.guile/scm-disasm.exp: Do the test if
20786 is_address_zero_readable returns false.
20787 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20788 * gdb.python/py-arch.exp: Likewise.
20789 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20790 * lib/gdb.exp (is_address_zero_readable): New proc.
20791
207922014-08-09 Yao Qi <yao@codesourcery.com>
20793
20794 PR testsuite/13443
20795 * gdb.mi/mi-var-display.exp: Make test messages unique.
20796
207972014-08-04 Tom Tromey <tromey@redhat.com>
20798
20799 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20800 target 0".
20801
208022014-08-04 Tom Tromey <tromey@redhat.com>
20803
20804 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20805 "target_resume".
20806
208072014-08-01 Joel Brobecker <brobecker@adacore.com>
20808
20809 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20810 inner_vla_struct_object_size.
20811 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20812 as xfail.
20813
208142014-07-30 Pedro Alves <palves@redhat.com>
20815
20816 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20817 comment.
20818
208192014-07-29 Yao Qi <yao@codesourcery.com>
20820
20821 PR gdb/17206
20822 * gdb.base/until-nodebug.exp: New.
20823
208242014-07-28 Doug Evans <xdje42@gmail.com>
20825
20826 PR guile/17203
20827 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20828 previously existing parameter, and previously ambiguously spelled
20829 parameter.
20830
208312014-07-28 Will Newton <will.newton@linaro.org>
20832
20833 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20834
208352014-07-26 Ludovic Courtès <ludo@gnu.org>
20836 Doug Evans <xdje42@gmail.com>
20837
20838 PR guile/17146
20839 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20840
208412014-07-25 Pedro Alves <palves@redhat.com>
20842
20843 * gdb.threads/signal-command-handle-nopass.c: New file.
20844 * gdb.threads/signal-command-handle-nopass.exp: New file.
20845 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20846 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20847 * gdb.threads/signal-delivered-right-thread.c: New file.
20848 * gdb.threads/signal-delivered-right-thread.exp: New file.
20849
208502014-07-25 Pedro Alves <palves@redhat.com>
20851
20852 * gdb.base/double-prompt-target-event-error.exp
20853 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20854 match.
20855 (cancel_pagination_in_target_event): Rework double prompt
20856 detection.
20857 * gdb.base/paginate-after-ctrl-c-running.exp
20858 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20859 <return>' match.
20860 * gdb.base/paginate-bg-execution.exp
20861 (test_bg_execution_pagination_return)
20862 (test_bg_execution_pagination_cancel): Remove '-notransfer
20863 <return>' matches.
20864 * gdb.base/paginate-execution-startup.exp
20865 (test_fg_execution_pagination_return)
20866 (test_fg_execution_pagination_cancel): Remove '-notransfer
20867 <return>' matches.
20868 * gdb.base/paginate-inferior-exit.exp
20869 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20870 match.
20871 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20872 * lib/gdb.exp (pagination_prompt): Run text through
20873 string_to_regexp.
20874 (gdb_test_multiple): Match $pagination_prompt instead of
20875 "<return>".
20876 (string_to_regexp): Move to lib/gdb-utils.exp.
20877
208782014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20879
20880 * gdb.arch/amd64-entry-value-paramref.S: New file.
20881 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20882 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20883 * gdb.arch/amd64-optimout-repeat.S: New file.
20884 * gdb.arch/amd64-optimout-repeat.c: New file.
20885 * gdb.arch/amd64-optimout-repeat.exp: New file.
20886
208872014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20888
20889 PR gdb/17170
20890 * gdb.base/statistics.exp: New file.
20891
208922014-07-17 Doug Evans <dje@google.com>
20893
20894 PR gdb/17170
20895 * gdb.base/maint.exp: Update testing of per-command stats.
20896
208972014-07-16 Pedro Alves <palves@redhat.com>
20898
20899 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20900 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20901 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20902 (tfile_write_buf): New functions.
20903 (add_memory_block): Rewrite using the above.
20904 (adjust_function_address): New function.
20905 (FUNCTION_ADDRESS): New macro.
20906 (write_basic_trace_file): Remove short_x local, and use
20907 tfile_write_16. Change type of func_addr local to unsigned long
20908 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20909 here. Cast argument of add_memory_block to char pointer.
20910 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20911 (main): Remove parameters.
20912 * gdb.trace/tfile.exp: Remove nowarnings.
20913
209142014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20915
20916 * gdb.base/debug-expr.exp: Test string evaluation with
20917 "debug expression" on.
20918
209192014-07-15 Pedro Alves <palves@redhat.com>
20920
20921 * gdb.base/reread.exp: Use clean_restart.
20922
209232014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20924
20925 * gdb.arch/avr-flash-qualifer.c: New.
20926 * gdb.arch/avr-flash-qualifer.exp: New.
20927
209282014-07-14 Pedro Alves <palves@redhat.com>
20929
20930 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20931 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20932
209332014-07-14 Pedro Alves <palves@redhat.com>
20934
20935 * gdb.base/double-prompt-target-event-error.c: New file.
20936 * gdb.base/double-prompt-target-event-error.exp: New file.
20937
209382014-07-14 Pedro Alves <palves@redhat.com>
20939
20940 PR gdb/17072
20941 * gdb.base/paginate-inferior-exit.c: New file.
20942 * gdb.base/paginate-inferior-exit.exp: New file.
20943
209442014-07-14 Pedro Alves <palves@redhat.com>
20945
20946 PR gdb/17072
20947 * gdb.base/paginate-bg-execution.c: New file.
20948 * gdb.base/paginate-bg-execution.exp: New file.
20949
209502014-07-14 Pedro Alves <palves@redhat.com>
20951
20952 PR gdb/17072
20953 * gdb.base/paginate-execution-startup.c: New file.
20954 * gdb.base/paginate-execution-startup.exp: New file.
20955 * lib/gdb.exp (pagination_prompt): New global.
20956 (default_gdb_spawn): New procedure, factored out from
20957 default_gdb_spawn.
20958 (default_gdb_start): Adjust to call default_gdb_spawn.
20959 (gdb_spawn): New procedure.
20960
209612014-07-14 Pedro Alves <palves@redhat.com>
20962
20963 * lib/gdb.exp (gdb_assert): New procedure.
20964 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20965
209662014-07-14 Pedro Alves <palves@redhat.com>
20967
20968 * gdb.base/execution-termios.c: New file.
20969 * gdb.base/execution-termios.exp: New file.
20970
209712014-07-14 Tom Tromey <tromey@redhat.com>
20972
20973 * gdb.cp/vla-cxx.cc: New file.
20974 * gdb.cp/vla-cxx.exp: New file.
20975
209762014-07-14 Tom Tromey <tromey@redhat.com>
20977
20978 * gdb.reverse/rerun-prec.c: New file.
20979 * gdb.reverse/rerun-prec.exp: New file.
20980
209812014-07-12 Maciej W. Rozycki <macro@mips.com>
20982 Maciej W. Rozycki <macro@codesourcery.com>
20983
20984 * lib/gdb-utils.exp: New file.
20985 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20986 inline `gdb_init_command' processing.
20987 (gdb_start_cmd): Likewise.
20988 * lib/mi-support.exp (mi_run_cmd): Likewise.
20989 * README: Document `gdb_init_command' and `gdb_init_commands'.
20990
209912014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20992
20993 Fix false FAIL running under a very long directory name.
20994 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20995 and "set print elements 10000". Twice.
20996
209972014-07-11 Yao Qi <yao@codesourcery.com>
20998
20999 * gdb.base/exprs.exp: "set print symbol off".
21000
210012014-07-11 Pedro Alves <palves@redhat.com>
21002
21003 * gdb.threads/kill.c: New file.
21004 * gdb.threads/kill.exp: New file.
21005
210062014-07-10 Yao Qi <yao@codesourcery.com>
21007
21008 * gdb.trace/tfile.c (write_basic_trace_file)
21009 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21010 address written to trace file.
21011
210122014-07-09 Pedro Alves <palves@redhat.com>
21013
21014 * gdb.base/attach-wait-input.exp: New file.
21015 * gdb.base/attach-wait-input.c: New file.
21016
210172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21018
21019 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21020 setting up test structures.
21021 (main): Call new test function.
21022 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21023 test function, continue into test function and walk test
21024 structures.
21025
210262014-07-02 Yao Qi <yao@codesourcery.com>
21027
21028 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21029 'bar_start' at the beginning of functions 'foo' and 'bar'
21030 respectively.
21031 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21032 instead of 'foo' and 'bar'.
21033
210342014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21035
21036 * gdb.btrace/segv.exp: New.
21037 * gdb.btrace/segv.c: New.
21038
210392014-07-02 Luis Machado <lgustavo@codesourcery.com>
21040
21041 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21042 instruction.
21043
210442014-06-30 Mark Wielaard <mjw@redhat.com>
21045
21046 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21047 vulture, vilify, villar): New volatile array constants.
21048 (vindictive, vegetation): New const volatile array constants.
21049 * gdb.base/volatile.exp: Test volatile and const volatile array
21050 types.
21051
210522014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21053
21054 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21055 target lacks support for awatch, rwatch, or hbreak.
21056
210572014-06-27 Yao Qi <yao@codesourcery.com>
21058
21059 * gdb.multi/dummy-frame-restore.exp: New.
21060 * gdb.multi/dummy-frame-restore.c: New.
21061
210622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21063
21064 * gdb.btrace/gcore.exp: New.
21065
210662014-06-23 Pedro Alves <palves@redhat.com>
21067
21068 * gdb.base/watchpoint-reuse-slot.c: New file.
21069 * gdb.base/watchpoint-reuse-slot.exp: New file.
21070
210712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21072
21073 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21074 progspace's filename in 'info', 'enable' and 'disable' command
21075 tests.
21076
210772014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21078
21079 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21080 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21081 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21082
210832014-06-20 Gary Benson <gbenson@redhat.com>
21084
21085 * gdb.arch/i386-avx.exp: Fix include file location.
21086 * gdb.arch/i386-sse.exp: Likewise.
21087
210882014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21089
21090 * gdb.dlang/expression.exp: New file.
21091
210922014-06-19 Pedro Alves <palves@redhat.com>
21093
21094 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21095 out from ...
21096 (top level): ... here. Iterate running tests under different
21097 scheduler-locking settings.
21098
210992014-06-18 Luis Machado <lgustavo@codesourcery.com>
21100
21101 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21102 to DW_FORM_addr and use non-zero addresses.
21103
211042014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21105
21106 PR gdb/17017
21107 * gdb.python/py-xmethods.cc: Add global function call counters and
21108 increment them in their respective functions. Remove "cout"
21109 statements.
21110 * gdb.python/py-xmethods.exp: Make tests check the global function
21111 call counters instead of depending on inferior IO.
21112
211132014-06-18 Don Breazeal <donb@codesourcery.com>
21114
21115 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21116 Deleted procedure.
21117 (explicit_fork_parent_follow): Deleted procedure.
21118 (explicit_fork_child_follow): Deleted procedure.
21119 (test_follow_fork): New procedure.
21120 (do_fork_tests): Replace calls to deleted procedures with
21121 calls to test_follow_fork and reset GDB for subsequent
21122 procedure calls.
21123
211242014-06-17 Yao Qi <yao@codesourcery.com>
21125
21126 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21127 CP1252.
21128
211292014-06-17 Luis Machado <lgustavo@codesourcery.com>
21130
21131 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21132 Initialize ptr and S explicitly.
21133 (skip_type_update_when_not_use_rtti_test): Likewise.
21134
211352014-06-16 Keith Seitz <keiths@redhat.com>
21136
21137 PR mi/15863
21138 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21139 the inferior is started.
21140
211412014-06-16 Pedro Alves <palves@redhat.com>
21142
21143 * gdb.base/break-main-file-remove-fail.c: New file.
21144 * gdb.base/break-main-file-remove-fail.exp: New file.
21145 * gdb.base/break-unload-file.exp: Use build_executable instead of
21146 prepare_for_testing.
21147 (test_break): New parameter "initial_load". Handle it.
21148 (top level): Add initial_load cmdline/file axis.
21149
211502014-06-12 Tom Tromey <tromey@redhat.com>
21151
21152 * gdb.base/completion.exp: Don't use directory name in test.
21153
211542014-06-09 Gary Benson <gbenson@redhat.com>
21155
21156 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21157 separate the always-available ANSI-standard signals from the
21158 signals that require checking.
21159 (main): Likewise.
21160 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21161 Likewise.
21162 (main): Likewise.
21163
211642014-06-07 Keith Seitz <keiths@redhat.com>
21165
21166 Revert:
21167 PR c++/16253
21168 * gdb.cp/var-tag.cc: New file.
21169 * gdb.cp/var-tag.exp: New file.
21170 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21171 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21172 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21173 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21174
211752014-06-06 Doug Evans <xdje42@gmail.com>
21176
21177 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21178
211792014-06-06 Pedro Alves <palves@redhat.com>
21180
21181 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21182 in target debug output instead of looking at RSP packets,
21183 disabling the test on any target that uses hardware stepping.
21184 Update comments.
21185
211862014-06-06 Pedro Alves <palves@redhat.com>
21187
21188 * gdb.base/break-unload-file.exp: Fix typo.
21189
211902014-06-06 Yao Qi <yao@codesourcery.com>
21191
21192 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21193 from "jit_function" to "^jit_function".
21194
211952014-06-06 Yao Qi <yao@codesourcery.com>
21196
21197 * gdb.base/async.c (foo): Add one statement.
21198 * gdb.base/async.exp: Get the next instruction address and
21199 match the output of "nexti" by instruction address. Match
21200 the hex address in the output of "finish".
21201
212022014-06-06 Gary Benson <gbenson@redhat.com>
21203
21204 * gdb.base/call-signals.c: Remove preprocessor conditionals
21205 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21206 SIGSEGV and SIGTERM.
21207 * gdb.base/sigall.c: Likewise.
21208 * gdb.base/unwindonsignal.c: Likewise.
21209 * gdb.reverse/sigall-reverse.c: Likewise.
21210
212112014-06-06 Yao Qi <yao@codesourcery.com>
21212
21213 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21214 readable, skip the test.
21215
212162014-06-06 Yao Qi <yao@codesourcery.com>
21217
21218 * gdb.threads/staticthreads.c (thread_function): Move the line
21219 setting breakpoint on forward.
21220 * gdb.threads/staticthreads.exp: Update comments.
21221
212222014-06-05 Ludovic Courtès <ludo@gnu.org>
21223
21224 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21225 "history-append! type error".
21226
212272014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21228
21229 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21230 erroneous dprintf expected input.
21231
212322014-06-04 Doug Evans <xdje42@gmail.com>
21233
21234 * gdb.guile/scm-generics.exp: Delete.
21235
212362014-06-04 Doug Evans <xdje42@gmail.com>
21237
21238 * gdb.guile/scm-breakpoint.exp: Update.
21239 Add tests for breakpoint registration.
21240
212412014-06-04 Tom Tromey <tromey@redhat.com>
21242
21243 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21244 VLA-in-union.
21245 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21246 inner_vla_struct, vla_union types. Initialize objects of those
21247 types and compute their sizes.
21248
212492014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21250 Hui Zhu <hui@codesourcery.com>
21251
21252 * gdb.base/fileio.exp: Add test for shell not available as well as
21253 available.
21254 * gdb.base/fileio.c (test_system): Check for shell twice.
21255
212562014-06-04 Yao Qi <yao@codesourcery.com>
21257
21258 * gdb.base/auto-connect-native-target.exp: Remove redundant
21259 space from the regexp pattern.
21260
212612014-06-04 Yao Qi <yao@codesourcery.com>
21262
21263 * gdb.base/default.exp: Replace "child" with "native" in
21264 regexp pattern.
21265
212662014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21267
21268 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21269 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21270 * gdb.python/py-xmethods.py: Python script supporting the
21271 new testcase and tests.
21272
212732014-06-03 Joel Brobecker <brobecker@adacore.com>
21274 Pedro Alves <palves@redhat.com>
21275
21276 PR breakpoints/17000
21277 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21278 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21279
212802014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21281
21282 * gdb.base/subst.exp: Add tests to verify partial path matching
21283 output.
21284
212852014-06-03 Pedro Alves <palves@redhat.com>
21286
21287 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21288 target that doesn't use software single-stepping.
21289
212902014-06-03 Pedro Alves <palves@redhat.com>
21291
21292 PR breakpoints/17000
21293 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21294 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21295
212962014-06-02 Doug Evans <xdje42@gmail.com>
21297
21298 * gdb.guile/scm-parameter.exp: New file.
21299
213002014-06-02 Doug Evans <xdje42@gmail.com>
21301
21302 * gdb.guile/scm-cmd.c: New file.
21303 * gdb.guile/scm-cmd.exp: New file.
21304
213052014-06-02 Doug Evans <xdje42@gmail.com>
21306
21307 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21308 pretty-printer lookup.
21309 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21310 (make-pp_s-printer): Call it.
21311 (make-pretty-printer-from-dict): New function.
21312 (lookup-pretty-printer-maker-from-dict): New function.
21313 (*pretty-printer*): Simplify.
21314 (make-objfile-pp_s-printer): New function.
21315 (install-objfile-pretty-printers!): New function.
21316 (make-progspace-pp_s-printer): New function.
21317 (install-progspace-pretty-printers!): New function.
21318 * gdb.guile/scm-progspace.c: New file.
21319 * gdb.guile/scm-progspace.exp: New file.
21320
213212014-06-02 Pedro Alves <palves@redhat.com>
21322
21323 * gdb.base/dprintf-bp-same-addr.c: New file.
21324 * gdb.base/dprintf-bp-same-addr.exp: New file.
21325
213262014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21327
21328 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21329 * gdb.arch/powerpc-power.s: Likewise.
21330
213312014-06-02 Joel Brobecker <brobecker@adacore.com>
21332
21333 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21334
213352014-06-01 Yao Qi <yao@codesourcery.com>
21336
21337 * gdb.base/watchpoint.exp (test_watch_location): Check null
21338 pointer can be dereferenced. If not, do the test, otherwise
21339 skip it.
21340
213412014-05-30 Andrew Burgess <aburgess@broadcom.com>
21342
21343 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21344 results.
21345 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21346
213472014-05-30 Andrew Burgess <aburgess@broadcom.com>
21348
21349 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21350 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21351 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21352 * gdb.arch/amd64-invalid-stack-top.c: New file.
21353 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21354
213552014-05-30 Pedro Alves <palves@redhat.com>
21356
21357 PR breakpoints/17000
21358 * gdb.base/sss-bp-on-user-bp.c: New file.
21359 * gdb.base/sss-bp-on-user-bp.exp: New file.
21360
213612014-05-30 David Blaikie <dblaikie@gmail.com>
21362
21363 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21364 gnu_inline semantics via attribute.
21365 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21366 source explicitly specifies the required semantics.
21367
213682014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21369
21370 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21371
213722014-05-29 Pedro Alves <palves@redhat.com>
21373 Tom Tromey <tromey@redhat.com>
21374
21375 * gdb.base/async-shell.exp: Don't enable target-async.
21376 * gdb.base/async.exp
21377 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21378 parameter. Adjust.
21379 (top level): Don't test with "target-async".
21380 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21381 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21382 * gdb.base/inferior-died.exp: Don't enable target-async.
21383 * gdb.base/interrupt-noterm.exp: Likewise.
21384 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21385 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21386 * gdb.mi/mi-nonstop.exp: Likewise.
21387 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21388 * gdb.mi/mi-nsintrall.exp: Likewise.
21389 * gdb.mi/mi-nsmoribund.exp: Likewise.
21390 * gdb.mi/mi-nsthrexec.exp: Likewise.
21391 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21392 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21393 * gdb.python/py-evsignal.exp: Don't enable target-async.
21394 * gdb.python/py-evthreads.exp: Likewise.
21395 * gdb.python/py-prompt.exp: Likewise.
21396 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21397 * gdb.server/solib-list.exp: Don't enable target-async.
21398 * gdb.threads/thread-specific-bp.exp: Likewise.
21399 * lib/mi-support.exp: Adjust to use mi-async.
21400
214012014-05-29 Pedro Alves <palves@redhat.com>
21402
21403 PR gdb/13860
21404 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21405 reason, even in sync mode.
21406
214072014-05-29 Pedro Alves <palves@redhat.com>
21408 Hui Zhu <hui@codesourcery.com>
21409
21410 PR PR15693
21411 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21412 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21413 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21414 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21415
214162014-05-28 Joel Brobecker <brobecker@adacore.com>
21417
21418 * config/monitor.exp (gdb_target_monitor): Replace use of
21419 "set remotebaud" by "set serial baud".
21420
214212014-05-26 Andy Wingo <wingo@igalia.com>
21422
21423 * gdb.guile/scm-breakpoint.exp:
21424 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21425 properties instead of gdb-object-properties.
21426
214272014-05-26 Yao Qi <yao@codesourcery.com>
21428
21429 * gdb.server/no-thread-db.exp: Specify source file name
21430 explicitly when setting a breakpoint.
21431
214322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21433
21434 * gdb.btrace/vdso.c: New.
21435 * gdb.btrace/vdso.exp: New.
21436
214372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21438
21439 * gdb.base/gcore.exp (capture_command_output): Move ...
21440 * lib/gdb.exp (capture_command_output): ... here.
21441
214422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21443
21444 * gdb.btrace/data.exp: Test memory access during btrace replay.
21445
214462014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21447
21448 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21449
214502014-05-21 Pedro Alves <palves@redhat.com>
21451
21452 PR gdb/13860
21453 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21454 (top level): Test that output related to execution commands is
21455 sent to the console with CLI commands, but not with MI commands.
21456 Test that breakpoint events are always mirrored to the console.
21457 Also expect the new source line to be output after a "next" in
21458 async mode too. Make it a pass/fail test.
21459 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21460 output.
21461 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21462
214632014-05-21 Pedro Alves <palves@redhat.com>
21464
21465 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21466 Use them to test variations of "list" after reaching a breakpoint.
21467 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21468 Test "list" with listsize 10 after reaching a breakpoint.
21469 * gdb.python/python.exp (decode_line current location line
21470 number): Adjust expected line number.
21471
214722014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21473
21474 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21475 behavior for $args, pass it directly to "run".
21476
214772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21478
21479 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21480 30000 to 65536.
21481
214822014-05-21 Pedro Alves <palves@redhat.com>
21483
21484 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21485 auto-connect-native-target off".
21486 * gdb.base/auto-connect-native-target.c: New file.
21487 * gdb.base/auto-connect-native-target.exp: New file.
21488
214892014-05-21 Pedro Alves <palves@redhat.com>
21490
21491 * gdb.base/default.exp: Test "target native" instead of "target
21492 child".
21493
214942014-05-21 Mark Wielaard <mjw@redhat.com>
21495
21496 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21497
214982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21499
21500 Fix TLS access for -static -pthread.
21501 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21502 <HAVE_TLS> (thread_function, main): Initialize it.
21503 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21504 Add clean_restart.
21505 <$have_tls != "">: Check TLSVAR.
21506
215072014-05-21 Pedro Alves <palves@redhat.com>
21508
21509 * gdb.base/dcache-line-read-error.c: New.
21510 * gdb.base/dcache-line-read-error.exp: New.
21511
215122014-05-20 Pedro Alves <palves@redhat.com>
21513
21514 * gdb.base/compare-sections.c: New file.
21515 * gdb.base/compare-sections.exp: New file.
21516
215172014-05-20 Pedro Alves <palves@redhat.com>
21518
21519 * gdb.base/break-idempotent.c: New file.
21520 * gdb.base/break-idempotent.exp: New file.
21521
215222014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21523
21524 * gdb.btrace/nohist.exp: New.
21525
215262014-05-20 Yao Qi <yao@codesourcery.com>
21527
21528 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21529 gdb.reverse directory and gdb_reverse_timeout exists in board
21530 setting.
21531 * README: Document gdb_reverse_timeout.
21532
215332014-05-20 Yao Qi <yao@codesourcery.com>
21534
21535 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21536 'test_file_name'. Treat args as a string instead of a list.
21537 (gdb_init): Rename argument 'args' by 'test_file_name'.
21538
215392014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21540
21541 * gdb.arch/powerpc-power.exp: New file.
21542 * gdb.arch/powerpc-power.s: New file.
21543
215442014-05-16 Doug Evans <dje@google.com>
21545
21546 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
21547 * gdb.base/completion.exp: Check that all expected files exist
21548 before doing file completion.
21549
215502014-05-16 Doug Evans <dje@google.com>
21551
21552 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21553 Update.
21554 (do_syscall_tests_without_xml): Update.
21555
215562014-05-16 Pedro Alves <palves@redhat.com>
21557
21558 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21559 instead of "unknown output after running".
21560
215612014-05-16 Yao Qi <yao@codesourcery.com>
21562
21563 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21564 file1.txt from host at the end.
21565 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21566
215672014-05-15 Doug Evans <dje@google.com>
21568
21569 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21570 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21571 loading file. Add test for TU lookup.
21572
215732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21574
21575 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21576 calling "-exec-arguments" or "set args" before running the
21577 inferior.
21578
215792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21580
21581 * lib/mi-support.exp (mi_expect_stop): Expect message for
21582 inferiors that exit with non-zero exit code.
21583
215842014-05-14 Yao Qi <yao@codesourcery.com>
21585
21586 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21587 match absolute path on remote host.
21588 (test_file_list_exec_source_files): Remove "/" from the
21589 pattern.
21590
215912014-05-14 Yao Qi <yao@codesourcery.com>
21592
21593 * boards/local-remote-host-notty.exp (${board}_file): New
21594 proc.
21595
215962014-05-07 Kyle McMartin <kyle@redhat.com>
21597
21598 Pushed by Joel Brobecker <brobecker@adacore.com>.
21599 * gdb.arch/aarch64-atomic-inst.c: New file.
21600 * gdb.arch/aarch64-atomic-inst.exp: New file.
21601
216022014-05-07 Yao Qi <yao@codesourcery.com>
21603
21604 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21605 in current context" too.
21606
216072014-05-05 Keith Seitz <keiths@redhat.com>
21608
21609 * gdb.linespec/ls-dollar.exp: Add test for linespec
21610 file:convenience_variable.
21611
216122014-05-05 Yao Qi <yao@codesourcery.com>
21613
21614 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21615 traceframes into tfile and ctf trace files. Read data from
21616 trace file and test collected data.
21617 (gdb_collect_locals_test): Likewise.
21618 (gdb_unavailable_registers_test): Likewise.
21619 (gdb_unavailable_floats): Likewise.
21620 (gdb_collect_globals_test): Likewise.
21621 (top-level): Append "ctf" to trace_file_targets if GDB
21622 supports.
21623
216242014-05-05 Yao Qi <yao@codesourcery.com>
21625
21626 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21627 code to ...
21628 (gdb_collect_args_test_1): ... it. New proc.
21629 (gdb_collect_locals_test): Move some code to ...
21630 (gdb_collect_locals_test_1): ... it. New proc.
21631 (gdb_unavailable_registers_test): Move some code to ...
21632 (gdb_unavailable_registers_test_1): ... it. New proc.
21633 (gdb_unavailable_floats): Move some code to ...
21634 (gdb_unavailable_floats_1): ... it. New proc.
21635
216362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21637
21638 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21639 probes to test for bitness recognition.
21640 * gdb.arch/amd64-stap-optional-prefix.exp
21641 (test_probe_value_without_reg): New procedure.
21642 Add code to test for different kinds of bitness.
21643
216442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21645
21646 PR breakpoints/16889
21647 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21648 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21649
216502014-05-01 Pedro Alves <palves@redhat.com>
21651
21652 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21653 gdb_file_cmd if no file is specified.
21654 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21655 last_loaded_file to set the remote exec-file.
21656
216572014-05-01 Pedro Alves <palves@redhat.com>
21658
21659 * boards/local-remote-host.exp: New file.
21660
216612014-05-01 Pedro Alves <palves@redhat.com>
21662
21663 * boards/local-remote-host.exp: Rename to ...
21664 * boards/local-remote-host-notty.exp: ... this.
21665
216662014-04-28 Joel Brobecker <brobecker@adacore.com>
21667
21668 * gdb.ada/dyn_arrayidx: New testcase.
21669
216702014-04-26 Yao Qi <yao@codesourcery.com>
21671
21672 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21673 and compute the length of function main. Save it in
21674 $main_length.
21675 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21676 (top-level): Use gdb_compile to compile objects into
21677 executable and restart GDB. Remove invocation to
21678 prepare_for_testing.
21679
216802014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21681 Pedro Alves <palves@redhat.com>
21682
21683 PR server/16255
21684 * gdb.multi/multi-attach.c: New file.
21685 * gdb.multi/multi-attach.exp: New file.
21686
216872014-04-25 Pedro Alves <palves@redhat.com>
21688
21689 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21690 user.
21691 (top level): Test that "set remote conditional-breakpoints-packet
21692 off" works as intended.
21693 * gdb.base/dprintf.exp: Test that "set remote
21694 breakpoint-commands-packet off" works as intended.
21695 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21696 New function.
21697 (top level): Call it.
21698 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21699 remote fast-tracepoints-packet off" works as intended.
21700 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21701 * lib/gdb.exp (gdb_is_target_remote): ... here.
21702
217032014-04-24 David Blaikie <dblaikie@gmail.com>
21704
21705 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21706 ensure clang would not discard them.
21707 * gdb.base/gdbvars.c: Ditto.
21708 * gdb.base/memattr.c: Ditto.
21709 * gdb.base/whatis.c: Ditto.
21710 * gdb.python/py-prettyprint.c: Ditto.
21711 * gdb.trace/actions.c: Ditto.
21712 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21713 ensure clang would not discard it.
21714
217152014-04-24 David Blaikie <dblaikie@gmail.com>
21716
21717 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21718 clang to emit the full definition of type required by the test
21719 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21720
217212014-04-24 David Blaikie <dblaikie@gmail.com>
21722
21723 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21724 coax Clang into emitting the definition of the type.
21725 * gdb.cp/pr10728-x.h (y): Ditto.
21726 * gdb.cp/pr10728-y.cc (y): Ditto.
21727
217282014-04-24 David Blaikie <dblaikie@gmail.com>
21729
21730 * gdb.base/label.exp: XFAIL label related tests under Clang.
21731 * gdb.cp/cplabel.exp: Ditto.
21732 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21733 under Clang those using labels.
21734
217352014-04-25 Yao Qi <yao@codesourcery.com>
21736
21737 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21738 double_label.
21739 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21740 partial_label and double_label.
21741
217422014-04-24 David Blaikie <dblaikie@gmail.com>
21743
21744 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21745
217462014-04-24 David Blaikie <dblaikie@gmail.com>
21747
21748 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21749 of the function to work across GCC and Clang.
21750 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21751 pointer types (const void ** const V void **).
21752
217532014-04-24 Michael Sturm <michael.sturm@mintel.com>
21754 Walfred Tedeschi <walfred.tedeschi@intel.com>
21755
21756 * Makefile.in (EXECUTABLES): Added i386-avx512.
21757 * gdb.arch/i386-avx512.c: New file.
21758 * gdb.arch/i386-avx512.exp: Likewise.
21759
217602014-04-23 Keith Seitz <keiths@redhat.com>
21761
21762 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21763 (mi_make_breakpoint_table): New procedure.
21764 (mi_create_breakpoint): Use mi_make_breakpoint
21765 and return the result.
21766 (mi_make_breakpoint): New procedure.
21767 (mi_build_kv_pairs): New procedure.
21768
21769 * gdb.mi/mi-break.exp: Remove unused globals,
21770 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21771 All callers updated.
21772 * gdb.mi/mi-dprintf.exp: Use variable to track command
21773 number.
21774 Update all callers of mi_create_breakpoint and use
21775 mi_make_breakpoint_table.
21776 Remove any unused global variables.
21777 * gdb.mi/mi-nonstop.exp: Likewise.
21778 * gdb.mi/mi-nsintrall.exp: Likewise.
21779 * gdb.mi/mi-nsmoribund.exp: Likewise.
21780 * gdb.mi/mi-nsthrexec.exp: Likewise.
21781 * gdb.mi/mi-reverse.exp: Likewise.
21782 * gdb.mi/mi-simplerun.exp: Likewise.
21783 * gdb.mi/mi-stepn.exp: Likewise.
21784 * gdb.mi/mi-syn-frame.exp: Likewise.
21785 * gdb.mi/mi-until.exp: Likewise.
21786 * gdb.mi/mi-var-cp.exp: Likewise.
21787 * gdb.mi/mi-var-display.exp: Likewise.
21788 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21789 * gdb.mi/mi2-var-child.exp: Likewise.
21790 * gdb.mi/mi-vla-c99.exp: Likewise.
21791 * lib/mi-support.exp: Likewise.
21792
21793 From Ian Lance Taylor <iant@cygnus.com>:
21794 * lib/gdb.exp (parse_args): New procedure.
21795
217962014-04-23 Pedro Alves <palves@redhat.com>
21797
21798 * gdb.base/break-unload-file.c: New file.
21799 * gdb.base/break-unload-file.exp: New file.
21800 * gdb.base/sym-file-lib.c (baz): New function.
21801 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21802 field.
21803 (load): Store the segment's mapped size.
21804 (unload): New function.
21805 (unload_shlib): New function.
21806 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21807 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21808 set a breakpoint at baz, and call it.
21809 * gdb.base/sym-file.exp: New tests for stale breakpoint
21810 instructions.
21811
218122014-04-23 Pedro Alves <palves@redhat.com>
21813
21814 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21815 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21816 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21817 * gdb.base/hbreak-unmapped.c: New file.
21818 * gdb.base/hbreak-unmapped.exp: New file.
21819 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21820 * lib/gdb.exp (gdb_is_target_remote): ... here.
21821
218222014-04-22 Pedro Alves <palves@redhat.com>
21823
21824 * gdb.base/consecutive-step-over.c: New file.
21825 * gdb.base/consecutive-step-over.exp: New file.
21826
218272014-04-22 Pedro Alves <palves@redhat.com>
21828
21829 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21830 instead of send_gdb/gdb_expect.
21831
218322014-04-22 Yao Qi <yao@codesourcery.com>
21833
21834 * lib/trace-support.exp (generate_tracefile): New procedure.
21835 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21836 return 0.
21837 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21838 if generate_tracefile returns 1.
21839
218402014-04-18 Tom Tromey <palves@redhat.com>
21841 Pedro alves <tromey@redhat.com>
21842
21843 PR backtrace/15558
21844 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21845 with a backtrace limit.
21846 * gdb.python/py-frame-inline.exp: Test running to an inline
21847 function with a backtrace limit, and printing the newest frame.
21848 * gdb.python/py-frame-inline.c (main): Call f.
21849
218502014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21851
21852 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21853
218542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21855
21856 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21857 Drop prefix from unsupported source file path.
21858
218592014-04-17 Yao Qi <yao@codesourcery.com>
21860
21861 * lib/gdb.exp (with_target_charset): New proc.
21862 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21863 with_target_charset.
21864 (test_print_strings): Likewise.
21865 (test_repeat_bytes): Likewise.
21866 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21867 for some tests.
21868
218692014-04-16 Keith Seitz <keiths@redhat.com>
21870
21871 PR gdb/15827
21872 * gdb.dwarf2/corrupt.c: New file.
21873 * gdb.dwarf2/corrupt.exp: New file.
21874
218752014-04-16 Keith Seitz <keiths@redhat.com>
21876
21877 PR c++/16597
21878 * gdb.cp/namelessclass.cc: New file.
21879 * gdb.cp/namelessclass.exp: New file.
21880 * gdb.cp/namelessclass.S: New file.
21881
218822014-04-16 Doug Evans <dje@google.com>
21883
21884 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21885 Add comment.
21886 (gdbserver_default_get_comm_port): New function.
21887 (gdbserver_start): Check if board file provided
21888 "gdbserver,get_comm_port" and use it if so.
21889 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21890 (gdb,socketport): Set to "stdio".
21891 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21892 (stdio_gdbserver_template): Delete.
21893 (${board}_get_remote_address): Update.
21894 (${board}_build_remote_cmd): Delete.
21895 (${board}_get_comm_port): New function.
21896 (${board}_spawn): Update.
21897 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21898 Delete.
21899 (${board}_get_remote_address): Update.
21900 (${board}_get_comm_port): New function.
21901
219022014-04-16 Andrew Burgess <aburgess@broadcom.com>
21903
21904 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21905 appearing in any order.
21906
219072014-04-15 Doug Evans <dje@google.com>
21908
21909 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21910 uninitialized value of "description".
21911
219122014-04-15 Keith Seitz <keiths@redhat.com>
21913
21914 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21915 Remove unused globals.
21916 (test_running_the_program): Likewise.
21917 (test_controlled_execution): Likewise.
21918 (test_controlling_breakpoints): Likewise.
21919 (test_program_termination): Likewise.
21920
219212014-04-15 Keith Seitz <keiths@redhat.com>
21922
21923 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21924 unused globals.
21925 (test_rbreak_creation_and_listing): Likewise.
21926 (test_ignore_count): Likewise.
21927 (test_error): Likewise.
21928
219292014-04-15 Pedro Alves <palves@redhat.com>
21930
21931 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21932 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21933 sym-file-loader.c.
21934 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21935 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21936 to sym-file-loader.c.
21937 (struct library): Forward declare.
21938 (load_shlib, lookup_function): Change prototypes.
21939 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21940 (translate_offset): Remove declarations.
21941 (get_text_addr): New declaration.
21942 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21943 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21944 sym-file-loader.h.
21945 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21946 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21947 here from sym-file-loader.h.
21948 (struct library): New structure.
21949 (load_shlib, lookup_function): Change prototypes and adjust to
21950 work with a struct library.
21951 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21952 (translate_offset): Make static.
21953 (get_text_addr): New function.
21954 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21955
219562014-04-15 Pedro Alves <palves@redhat.com>
21957
21958 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21959
219602014-04-15 Pedro Alves <palves@redhat.com>
21961
21962 * gdb.base/sym-file-loader.c: Include <limits.h>.
21963 (SELF_LINK): New define.
21964 (get_origin): New function.
21965 (load_shlib): Use it.
21966 * gdb.base/sym-file.exp: Don't early return if the target is
21967 remote. Use runto_main, and issue fail is that fails. Use
21968 gdb_load_shlibs.
21969 (shlib_name): Delete.
21970 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21971
219722014-04-15 Pedro Alves <palves@redhat.com>
21973
21974 * gdb.base/sym-file.exp: Remove regex characters from test
21975 message. Don't refer to breakpoint numbers in test messages.
21976
219772014-04-14 Keith Seitz <keiths@redhat.com>
21978
21979 PR c++/16253
21980 * gdb.cp/var-tag.cc: New file.
21981 * gdb.cp/var-tag.exp: New file.
21982 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21983 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21984 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21985 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21986
219872014-04-14 Tom Tromey <tromey@redhat.com>
21988
21989 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21990 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21991 type.
21992 * gdb.cp/enum-class.exp: New file.
21993 * gdb.cp/enum-class.cc: New file.
21994
219952014-04-14 Tom Tromey <tromey@redhat.com>
21996
21997 * gdb.dwarf2/enum-type.exp: New file.
21998
219992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22000
22001 * gdb.mi/mi-vla-c99.exp: New file.
22002 * gdb.mi/vla.c: New file.
22003
220042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22005
22006 * gdb.base/vla-datatypes.c: New file.
22007 * gdb.base/vla-datatypes.exp: New file.
22008
220092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22010
22011 * gdb.base/vla-ptr.c: New file.
22012 * gdb.base/vla-ptr.exp: New file.
22013
220142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22015
22016 * gdb.dwarf2/count.exp: New file.
22017
220182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22019
22020 * gdb.base/vla-sideeffect.c: New file.
22021 * gdb.base/vla-sideeffect.exp: New file.
22022
220232014-04-14 David Blaikie <dblaikie@gmail.com>
22024
22025 * gdb.mi/non-stop.c: Add return value for non-void function return
22026 statement.
22027 * gdb.threads/staticthreads.c: Ditto.
22028
220292014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22030 Doug Evans <xdje42@gmail.com>
22031
22032 * gdb.guile/scm-value.c: Improve test case.
22033 * gdb.guile/scm-value.exp: Add new test.
22034
220352014-04-11 David Blaikie <dblaikie@gmail.com>
22036
22037 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22038 override Clang's default.
22039
220402014-04-11 Joel Brobecker <brobecker@adacore.com>
22041
22042 Revert the following changes (regressions):
22043
22044 * gdb.base/vla-sideeffect.c: New file.
22045 * gdb.base/vla-sideeffect.exp: New file.
22046
22047 * gdb.dwarf2/count.exp: New file.
22048
22049 * gdb.base/vla-multi.c: New file.
22050 * gdb.base/vla-multi.exp: New file.
22051
22052 * gdb.base/vla-ptr.c: New file.
22053 * gdb.base/vla-ptr.exp: New file.
22054
22055 * gdb.base/vla-datatypes.c: New file.
22056 * gdb.base/vla-datatypes.exp: New file.
22057
22058 * gdb.mi/mi-vla-c99.exp: New file.
22059 * gdb.mi/vla.c: New file.
22060
220612014-04-11 Keith Seitz <keiths@redhat.com>
22062
22063 PR c++/16675
22064 * gdb.cp/cpsizeof.exp: New file.
22065 * gdb.cp/cpsizeof.cc: New file.
22066
220672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22068
22069 * gdb.mi/mi-vla-c99.exp: New file.
22070 * gdb.mi/vla.c: New file.
22071
220722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22073
22074 * gdb.base/vla-datatypes.c: New file.
22075 * gdb.base/vla-datatypes.exp: New file.
22076
220772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22078
22079 * gdb.base/vla-ptr.c: New file.
22080 * gdb.base/vla-ptr.exp: New file.
22081
220822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22083
22084 * gdb.base/vla-multi.c: New file.
22085 * gdb.base/vla-multi.exp: New file.
22086
220872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22088
22089 * gdb.dwarf2/count.exp: New file.
22090
220912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22092
22093 * gdb.base/vla-sideeffect.c: New file.
22094 * gdb.base/vla-sideeffect.exp: New file.
22095
220962014-04-11 Yao Qi <yao@codesourcery.com>
22097
22098 * gdb.base/completion.exp: Check file exists before running tests
22099 on file completion.
22100
221012014-04-10 Pedro Alves <palves@redhat.com>
22102
22103 * gdb.base/cond-eval-mode.c: New file.
22104 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22105 prepare_for_testing to build the new file. Check result of
22106 runto_main.
22107 (test_break, test_watch): New procedures.
22108 (top level): Use them.
22109
221102014-04-08 Pierre Muller <muller@sourceware.org>
22111
22112 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22113 Ctrl-V use for mingw hosts.
22114
221152014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22116
22117 * gdb.python/py-value.c: Improve test case.
22118 * gdb.python/py-value.exp: Add new test.
22119
221202014-04-07 David Blaikie <dblaikie@gmail.com>
22121
22122 * lib/compiler.c: Identify the clang compiler.
22123 * lib/compiler.cc: Ditto.
22124
221252014-04-03 Yao Qi <yao@codesourcery.com>
22126
22127 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22128
221292014-04-01 Anton Blanchard <anton@samba.org>
22130
22131 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22132 messages unique.
22133
221342014-04-01 Anton Blanchard <anton@samba.org>
22135
22136 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22137 prepare_for_testing.
22138
221392014-04-01 Anton Blanchard <anton@samba.org>
22140
22141 * gdb.arch/ppc64-atomic-inst.c: Remove.
22142 * gdb.arch/ppc64-atomic-inst.S: New file.
22143 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22144
221452014-03-31 Doug Evans <dje@google.com>
22146
22147 * gdb.base/print-symbol-loading-lib.c: New file.
22148 * gdb.base/print-symbol-loading-main.c: New file.
22149 * gdb.base/print-symbol-loading.exp: New file.
22150
221512014-03-31 Yao Qi <yao@codesourcery.com>
22152
22153 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22154
221552014-03-28 Joel Brobecker <brobecker@adacore.com>
22156
22157 * gdb.ada/mi_dyn_arr: New testcase.
22158
221592014-03-27 Doug Evans <dje@google.com>
22160
22161 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22162
221632014-03-27 Yao Qi <yao@codesourcery.com>
22164
22165 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22166 if target is nios2-*-*.
22167
221682014-03-26 Yao Qi <yao@codesourcery.com>
22169
22170 * lib/gdb.exp (readline_is_used): New proc.
22171 * gdb.base/completion.exp: Move tests on command complete up.
22172 Skip the rest of tests if readline is not used.
22173 * gdb.ada/complete.exp: Skp the test if readline is not
22174 used.
22175 * gdb.base/filesym.exp: Likewise.
22176 * gdb.base/macscp.exp: Likewise.
22177 * gdb.base/readline-ask.exp: Likewise.
22178 * gdb.base/readline.exp: Likewise.
22179 * gdb.python/py-cmd.exp: Likewise.
22180 * gdb.trace/tfile.exp: Likewise.
22181
221822014-03-26 Yao Qi <yao@codesourcery.com>
22183
22184 * gdb.base/macscp.exp: Fix code format issues.
22185
221862014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22187
22188 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22189 * gdb.asm/powerpc64le.inc: New file.
22190
221912014-03-25 Pedro Alves <palves@redhat.com>
22192 Doug Evans <dje@google.com>
22193
22194 * gdb.base/source-execution.c: New file.
22195 * gdb.base/source-execution.exp: New file.
22196 * gdb.base/source-execution.gdb: New file.
22197
221982014-03-24 Doug Evans <dje@google.com>
22199
22200 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22201 using fission.
22202
222032014-03-24 Hui Zhu <hui@codesourcery.com>
22204 Pedro Alves <palves@redhat.com>
22205
22206 PR breakpoints/16101
22207 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22208 test pass/fail messages. Detect missing support for dprintf when
22209 breakpoints are actually inserted.
22210 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22211 breakpoints are actually inserted.
22212 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22213 fails.
22214
222152014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22216
22217 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22218
222192014-03-22 Doug Evans <xdje42@gmail.com>
22220
22221 * gdb.python/python.exp (python not supported): Verify multi-line
22222 python command issues an error.
22223 * gdb.guile/guile.exp (guile not supported): Verify multi-line
22224 guile command issues an error.
22225
222262014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22227
22228 * gdb.threads/thread-specific.exp: Handle the lack of usable
22229 $this_breakpoint and $this_thread.
22230
222312014-03-21 Hui Zhu <hui@codesourcery.com>
22232
22233 * gdb.base/attach.exp (do_command_attach_tests): New.
22234
222352014-03-20 Tom Tromey <tromey@redhat.com>
22236 Pedro Alves <palves@redhat.com>
22237
22238 PR cli/15718
22239 * gdb.base/condbreak-call-false.c: New file.
22240 * gdb.base/condbreak-call-false.exp: New file.
22241
222422014-03-20 Pedro Alves <palves@redhat.com>
22243
22244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22245 Delete.
22246 (block_signals, unblock_signals): Delete.
22247 (child_function_2, main): Remove references to deleted variable
22248 and functions.
22249
222502014-03-20 Pedro Alves <palves@redhat.com>
22251
22252 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22253 Use pthread_kill to signal thread 2.
22254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22255 Adjust to make the test send itself a signal rather than using the
22256 host's "kill" command.
22257
222582014-03-20 Pedro Alves <palves@redhat.com>
22259
22260 * gdb.threads/multiple-step-overs.c: New file.
22261 * gdb.threads/multiple-step-overs.exp: New file.
22262 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22263 Adjust expected infrun debug output.
22264
222652014-03-20 Pedro Alves <palves@redhat.com>
22266
22267 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22268 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22269
222702014-03-20 Pedro Alves <palves@redhat.com>
22271
22272 PR breakpoints/7143
22273 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22274 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22275 of gdb_test_multiple.
22276 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22277 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22278
222792014-03-20 Pedro Alves <palves@redhat.com>
22280
22281 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22282 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22283
222842014-03-19 Pedro Alves <palves@redhat.com>
22285
22286 * gdb.base/async.exp: Remove early return.
22287
222882014-03-19 Pedro Alves <palves@redhat.com>
22289
22290 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22291
222922014-03-19 Pedro Alves <palves@redhat.com>
22293
22294 * gdb.base/async.exp (test_background): Expect \r\n after
22295 "completed." in the fail pattern.
22296
222972014-03-19 Pedro Alves <palves@redhat.com>
22298
22299 * gdb.base/async.exp (test_background): New procedure.
22300 Use it for all background execution command tests.
22301
223022014-03-19 Pedro Alves <palves@redhat.com>
22303
22304 * gdb.base/async.exp: Use prepare_for_testing.
22305
223062014-03-19 Pedro Alves <palves@redhat.com>
22307
22308 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22309 the same line.
22310
223112014-03-19 Pedro Alves <palves@redhat.com>
22312
22313 * gdb.base/async.c (main): Add "jump here" and "until here" line
22314 marker comments.
22315 * gdb.base/async.exp (jump_here): New global.
22316 (jump& test): Use it.
22317 (until_here): New global.
22318 (until& test): Use it.
22319
223202014-03-19 Pedro Alves <palves@redhat.com>
22321
22322 * gdb.base/async.exp: Don't frob gdb_protocol.
22323
223242014-03-18 Doug Evans <xdje42@gmail.com>
22325
22326 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22327 Fix spelling of exec-done-display.
22328
223292014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22330
22331 PR gdb/15358
22332 * gdb.base/gdb-sigterm.c: New file.
22333 * gdb.base/gdb-sigterm.exp: New file.
22334
223352014-03-18 Pedro Alves <palves@redhat.com>
22336
22337 PR gdb/13860
22338 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22339 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22340 solib-event.
22341
223422014-03-17 Joel Brobecker <brobecker@adacore.com>
22343
22344 * gdb.ada/pckd_arr_ren: New testcase.
22345
223462014-03-13 Doug Evans <xdje42@gmail.com>
22347
22348 PR guile/16612
22349 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22350 collect after discarding symbols.
22351
223522014-03-13 Ludovic Courtès <ludo@gnu.org>
22353 Doug Evans <xdje42@gmail.com>
22354
22355 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22356 to history survives a gc.
22357
223582014-03-13 Pedro Alves <palves@redhat.com>
22359
22360 * gdb.base/default.exp: Don't test "target procfs".
22361
223622014-03-13 Pedro Alves <palves@redhat.com>
22363
22364 * gdb.base/default.exp: Update "target child" and "target procfs"
22365 tests to not expect "Unix".
22366
223672014-03-12 Tom Tromey <tromey@redhat.com>
22368
22369 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22370 New procs. Add target-async tests.
22371 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22372 Add target-async tests.
22373
223742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22375
22376 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22377 'func_start' and 'func_end' for the beginning and end of the
22378 function code, respectively.
22379 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22380 'func_end' instead of 'func' and 'main'.
22381
223822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22383
22384 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22385 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22386 generate the debug info assembler source.
22387
223882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22389
22390 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22391 * gdb.dwarf2/arr-subrange.exp: Likewise.
22392 * gdb.dwarf2/dwz.exp: Likewise.
22393 * gdb.dwarf2/method-ptr.exp: Likewise.
22394 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22395 * gdb.dwarf2/subrange.exp: Likewise.
22396 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22397 * gdb.dwarf2/implptrpiece.exp: Likewise.
22398 * gdb.dwarf2/nostaticblock.exp: Likewise.
22399
224002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22401
22402 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22403 directory to absolute path name arguments.
22404
224052014-03-10 Joel Brobecker <brobecker@adacore.com>
22406
22407 * gdb.ada/tagged_access: New testcase.
22408
224092014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22410
22411 * gdb.btrace/data.exp: Update expected output.
22412
224132014-03-06 Yao Qi <yao@codesourcery.com>
22414
22415 * gdb.trace/pr16508.exp: New file.
22416
224172014-03-05 Pedro Alves <palves@redhat.com>
22418
22419 PR gdb/16575
22420 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22421 procedure.
22422 (top level): Adjust to use it. Add tests that exercise breakpoint
22423 interaction with the code-cache.
22424
224252014-02-26 Ludovic Courtès <ludo@gnu.org>
22426
22427 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22428 test for 'history-append!'.
22429
224302014-02-26 Joel Brobecker <brobecker@adacore.com>
22431
22432 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22433 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22434 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22435 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22436 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22437 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22438
224392014-02-26 Joel Brobecker <brobecker@adacore.com>
22440
22441 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22442 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22443 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22444
224452014-02-26 Joel Brobecker <brobecker@adacore.com>
22446
22447 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22448
224492014-02-26 Joel Brobecker <brobecker@adacore.com>
22450
22451 * gdb.dwarf2/arr-stride.c: New file.
22452 * gdb.dwarf2/arr-stride.exp: New file.
22453
224542014-02-26 Pedro Alves <palves@redhat.com>
22455
22456 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22457 that won't ever trigger. Make sure that GDB reports the correct
22458 breakpoint that caused the stop.
22459
224602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22461
22462 PR gdb/16626
22463 * gdb.base/auto-load-script: New file.
22464 * gdb.base/auto-load.c: New file.
22465 * gdb.base/auto-load.exp: New file.
22466
22467 PR gdb/16626
22468 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22469
224702014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22471
22472 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22473 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22474
224752014-02-24 Doug Evans <dje@google.com>
22476
22477 * lib/gdb.exp (run_on_host): Log error output if program fails.
22478
224792014-02-21 Pedro Alves <palves@redhat.com>
22480
22481 * gdb.threads/step-after-sr-lock.c: Rename to ...
22482 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22483 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22484 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22485 ... this.
22486
224872014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22488
22489 PR tdep/16397
22490 * gdb.arch/amd64-stap-special-operands.exp: New file.
22491 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22492 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22493 * gdb.arch/amd64-stap-triplet.S: Likewise.
22494 * gdb.arch/amd64-stap-triplet.c: Likewise.
22495
224962014-02-20 Joel Brobecker <brobecker@adacore.com>
22497
22498 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22499 in .section pseudo-op.
22500
225012014-02-20 lin zuojian <manjian2006@gmail.com>
22502 Joel Brobecker <brobecker@adacore.com>
22503 Doug Evans <xdje42@gmail.com>
22504
22505 PR symtab/16581
22506 * gdb.dwarf2/dw2-icycle.S: New file.
22507 * gdb.dwarf2/dw2-icycle.c: New file.
22508 * gdb.dwarf2/dw2-icycle.exp: New file.
22509
225102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22511
22512 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22513 operations on gdb.Value objects.
22514 * gdb.python/py-value-cc.exp: Add new test to test operations on
22515 gdb.Value objects.
22516
225172014-02-18 Doug Evans <dje@google.com>
22518
22519 * Makefile.in (TESTS): New variable.
22520 (expanded_tests, expanded_tests_or_none): New variables
22521 (check-single): Pass $(expanded_tests_or_none) to runtest.
22522 (check-parallel): Only run tests in $(TESTS) if non-empty.
22523 (check/no-matching-tests-found): New rule.
22524 * README: Document TESTS makefile variable.
22525
225262014-02-18 Doug Evans <dje@google.com>
22527
22528 * Makefile.in (check-parallel): rm -rf outputs temp.
22529
225302014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22531
22532 Fix "ERROR: no fileid for" in the testsuite.
22533 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22534
225352014-02-12 Doug Evans <dje@google.com>
22536
22537 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22538 (MISCELLANEOUS): New variable.
22539 (clean): rm -rf $(MISCELLANEOUS).
22540 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22541 dwp live in the same directory as symlinks, with each symlink pointed
22542 to a differently named file in a different directory.
22543
225442014-02-11 Doug Evans <dje@google.com>
22545
22546 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22547 of Tcl file commands.
22548
225492014-02-10 Mark Kettenis <kettenis@gnu.org>
22550
22551 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22552 "kill -SIGUSR1 -1".
22553
225542014-02-10 Joel Brobecker <brobecker@adacore.com>
22555
22556 * gdb.ada/tick_length_array_enum_idx: New testcase.
22557
225582014-02-10 Doug Evans <xdje42@gmail.com>
22559
22560 * configure.ac (AC_OUTPUT): Add gdb.guile.
22561 * configure: Regenerate.
22562 * lib/gdb-guile.exp: New file.
22563 * lib/gdb.exp (get_target_charset): New function.
22564 * gdb.base/help.exp: Update expected output from "apropos apropos".
22565 * gdb.guile/Makefile.in: New file.
22566 * gdb.guile/guile.exp: New file.
22567 * gdb.guile/scm-arch.c: New file.
22568 * gdb.guile/scm-arch.exp: New file.
22569 * gdb.guile/scm-block.c: New file.
22570 * gdb.guile/scm-block.exp: New file.
22571 * gdb.guile/scm-breakpoint.c: New file.
22572 * gdb.guile/scm-breakpoint.exp: New file.
22573 * gdb.guile/scm-disasm.c: New file.
22574 * gdb.guile/scm-disasm.exp: New file.
22575 * gdb.guile/scm-equal.c: New file.
22576 * gdb.guile/scm-equal.exp: New file.
22577 * gdb.guile/scm-error.exp: New file.
22578 * gdb.guile/scm-error.scm: New file.
22579 * gdb.guile/scm-frame-args.c: New file.
22580 * gdb.guile/scm-frame-args.exp: New file.
22581 * gdb.guile/scm-frame-args.scm: New file.
22582 * gdb.guile/scm-frame-inline.c: New file.
22583 * gdb.guile/scm-frame-inline.exp: New file.
22584 * gdb.guile/scm-frame.c: New file.
22585 * gdb.guile/scm-frame.exp: New file.
22586 * gdb.guile/scm-generics.exp: New file.
22587 * gdb.guile/scm-gsmob.exp: New file.
22588 * gdb.guile/scm-iterator.c: New file.
22589 * gdb.guile/scm-iterator.exp: New file.
22590 * gdb.guile/scm-math.c: New file.
22591 * gdb.guile/scm-math.exp: New file.
22592 * gdb.guile/scm-objfile-script-gdb.in: New file.
22593 * gdb.guile/scm-objfile-script.c: New file.
22594 * gdb.guile/scm-objfile-script.exp: New file.
22595 * gdb.guile/scm-objfile.c: New file.
22596 * gdb.guile/scm-objfile.exp: New file.
22597 * gdb.guile/scm-ports.exp: New file.
22598 * gdb.guile/scm-pretty-print.c: New file.
22599 * gdb.guile/scm-pretty-print.exp: New file.
22600 * gdb.guile/scm-pretty-print.scm: New file.
22601 * gdb.guile/scm-section-script.c: New file.
22602 * gdb.guile/scm-section-script.exp: New file.
22603 * gdb.guile/scm-section-script.scm: New file.
22604 * gdb.guile/scm-symbol.c: New file.
22605 * gdb.guile/scm-symbol.exp: New file.
22606 * gdb.guile/scm-symtab-2.c: New file.
22607 * gdb.guile/scm-symtab.c: New file.
22608 * gdb.guile/scm-symtab.exp: New file.
22609 * gdb.guile/scm-type.c: New file.
22610 * gdb.guile/scm-type.exp: New file.
22611 * gdb.guile/scm-value-cc.cc: New file.
22612 * gdb.guile/scm-value-cc.exp: New file.
22613 * gdb.guile/scm-value.c: New file.
22614 * gdb.guile/scm-value.exp: New file.
22615 * gdb.guile/source2.scm: New file.
22616 * gdb.guile/types-module.cc: New file.
22617 * gdb.guile/types-module.exp: New file.
22618
226192014-02-10 Yao Qi <yao@codesourcery.com>
22620
22621 PR testsuite/16543
22622 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22623 * configure: Regenerated.
22624 * Makefile.in: New file.
22625
226262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22627
22628 * gdb.python/py-framefilter.exp: Fix typo.
22629
226302014-02-08 Yao Qi <yao@codesourcery.com>
22631
22632 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22633 that no =breakpoint-modified is emitted when breakpoints are
22634 modified through MI commands.
22635
226362014-02-07 Pedro Alves <pedro@codesourcery.com>
22637 Pedro Alves <palves@redhat.com>
22638
22639 * gdb.threads/step-after-sr-lock.c: New file.
22640 * gdb.threads/step-after-sr-lock.exp: New file.
22641
226422014-02-07 Pedro Alves <palves@redhat.com>
22643
22644 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22645
226462014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22647
22648 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22649 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22650
226512014-02-06 Doug Evans <xdje42@gmail.com>
22652
22653 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22654 output.
22655
22656 * gdb.gdb/python-interrupts.exp: New file.
22657
226582014-02-05 Yao Qi <yao@codesourcery.com>
22659
22660 * gdb.trace/report.exp (use_collected_data): Test the output
22661 of "info threads" and "info inferiors".
22662
226632014-02-05 Yao Qi <yao@codesourcery.com>
22664
22665 Revert this patch:
22666
22667 2013-05-24 Yao Qi <yao@codesourcery.com>
22668
22669 * gdb.trace/tfile.exp: Test inferior and thread.
22670
226712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22672
22673 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22674 on a function.
22675 * gdb.base/step-bt.c: Call hello via function pointer to make
22676 sure its first instruction is executed on powerpc64le-linux.
22677
226782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22679
22680 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22681
226822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22683
22684 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22685 of the test patterns for use on little-endian systems.
22686
226872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22688
22689 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22690 (decimal_vector): Fix for little-endian.
22691
226922014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22693
22694 * gdb.arch/sparc-sysstep.exp: New file.
22695 * gdb.arch/sparc-sysstep.c: Likewise.
22696
22697 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22698
226992014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22700
22701 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22702
227032014-01-23 Tom Tromey <tromey@redhat.com>
22704
22705 * gdb.ada/array_char_idx: New testcase.
22706
227072014-01-23 Tom Tromey <tromey@redhat.com>
22708
22709 PR python/16487:
22710 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22711 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22712 classes.
22713
227142014-01-23 Tom Tromey <tromey@redhat.com>
22715
22716 PR python/16491:
22717 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22718 string from an inferior frame.
22719 * gdb.python/py-framefilter-mi.exp: Update.
22720
227212014-01-22 Doug Evans <dje@google.com>
22722
22723 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22724
227252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22726
22727 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22728
227292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22730
22731 * gdb.trace/entry-values.exp: Remove excess space character from
22732 regex patterns. Handle s390 call instruction.
22733
227342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22735
22736 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22737 define "*_start" label. Make "name" static.
22738 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22739 ${name} by references to ${name}_start.
22740
227412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22742
22743 * gdb.base/info-macros.exp: Remove "debug" from the compile
22744 options.
22745
227462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22747
22748 * gdb.dlang/demangle.exp: New file.
22749
227502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22751
22752 * gdb.dlang/primitive-types.exp: New file.
22753
227542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22755
22756 * configure.ac: Create gdb.dlang/Makefile.
22757 * configure: Regenerate.
22758 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22759 * gdb.dlang/Makefile.in: New file.
22760 * lib/d-support.exp: New file.
22761 * lib/gdb.exp (skip_d_tests): New proc.
22762
227632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22764
22765 * gdb.btrace/delta.exp: Check reverse stepi.
22766 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22767 * gdb.btrace/finish.exp: New.
22768 * gdb.btrace/next.exp: New.
22769 * gdb.btrace/nexti.exp: New.
22770 * gdb.btrace/record_goto.c: Add comments.
22771 * gdb.btrace/step.exp: New.
22772 * gdb.btrace/stepi.exp: New.
22773 * gdb.btrace/multi-thread-step.c: New.
22774 * gdb.btrace/multi-thread-step.exp: New.
22775 * gdb.btrace/rn-dl-bind.c: New.
22776 * gdb.btrace/rn-dl-bind.exp: New.
22777 * gdb.btrace/data.c: New.
22778 * gdb.btrace/data.exp: New.
22779 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22780
227812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22782
22783 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22784 * gdb.btrace/exception.exp: Update.
22785 * gdb.btrace/instruction_history.exp: Update.
22786 * gdb.btrace/record_goto.exp: Update.
22787 * gdb.btrace/tailcall.exp: Update.
22788 * gdb.btrace/unknown_functions.exp: Update.
22789 * gdb.btrace/delta.exp: New.
22790
227912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22792
22793 * gdb.btrace/record_goto.exp: Add backtrace test.
22794 * gdb.btrace/tailcall.exp: Add backtrace test.
22795
227962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22797
22798 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22799 * gdb.btrace/record_goto.c: New.
22800 * gdb.btrace/record_goto.exp: New.
22801 * gdb.btrace/x86-record_goto.S: New.
22802
228032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22804
22805 * gdb.btrace/function_call_history.exp: Update tests.
22806 * gdb.btrace/instruction_history.exp: Update tests.
22807
228082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22809
22810 * gdb.btrace/function_call_history.exp: Fix expected field
22811 order for "record function-call-history".
22812 Add new tests for "record function-call-history /c".
22813 * gdb.btrace/exception.cc: New.
22814 * gdb.btrace/exception.exp: New.
22815 * gdb.btrace/tailcall.exp: New.
22816 * gdb.btrace/x86-tailcall.S: New.
22817 * gdb.btrace/x86-tailcall.c: New.
22818 * gdb.btrace/unknown_functions.c: New.
22819 * gdb.btrace/unknown_functions.exp: New.
22820 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22821
228222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22823
22824 * gdb.btrace/instruction_history.exp: Update.
22825 * gdb.btrace/function_call_history.exp: Update.
22826
228272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22828
22829 * gdb.btrace/function_call_history.exp: Fix expected function
22830 trace.
22831 * gdb.btrace/instruction_history.exp: Initialize traced.
22832 Remove traced_functions.
22833
228342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22835
22836 * gdb.btrace/function_call_history.exp: Update
22837 * gdb.btrace/instruction_history.exp: Update.
22838
228392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22840
22841 * gdb.btrace/enable.exp: Update expected text.
22842
228432014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22844
22845 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22846 bytes.
22847
228482014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22849
22850 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22851
228522014-01-15 Omair Javaid <omair.javaid@linaro.org>
22853
22854 * lib/gdb.exp (supports_process_record): Return true for
22855 arm*-linux*. (supports_reverse): Likewise.
22856
228572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22858
22859 PR python/15464
22860 PR python/16113
22861 * gdb.python/py-type.c: Enhance test case.
22862 * gdb.python/py-value-cc.cc: Likewise
22863 * gdb.python/py-type.exp: Add new tests.
22864 * gdb.python/py-value-cc.exp: Likewise
22865
228662014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22867 Pedro Alves <palves@redhat.com>
22868
22869 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22870 Make "name" extern.
22871 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22872 references to ${name}_start by references to ${name}.
22873
228742014-01-10 Joel Brobecker <brobecker@adacore.com>
22875
22876 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22877
228782014-01-10 Joel Brobecker <brobecker@adacore.com>
22879
22880 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22881
228822014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22883 Pedro Alves <palves@redhat.com>
22884
22885 * gdb.mi/mi-info-os.exp: Connect to the target with
22886 mi_gdb_target_load.
22887
228882014-01-08 Pedro Alves <palves@redhat.com>
22889
22890 * gdb.threads/reconnect-signal.c: New file.
22891 * gdb.threads/reconnect-signal.exp: New file.
22892
228932014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22894
22895 * gdb.base/source-dir.exp: New file.
22896
228972014-01-07 Joel Brobecker <brobecker@adacore.com>
22898
22899 * gdb.ada/mi_interface: New testcase.
22900
229012014-01-07 Joel Brobecker <brobecker@adacore.com>
22902
22903 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22904 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22905 gdb.ada/pp-rec-component/pck.ads: New files.
22906
229072014-01-07 Joel Brobecker <brobecker@adacore.com>
22908
22909 * gdb.python/py-pp-integral.c: New file.
22910 * gdb.python/py-pp-integral.py: New file.
22911 * gdb.python/py-pp-integral.exp: New file.
22912
22913For older changes see ChangeLog-1993-2013.
22914\f
22915;; Local Variables:
22916;; mode: change-log
22917;; left-margin: 8
22918;; fill-column: 74
22919;; version-control: never
22920;; End:
22921
22922 Copyright 2014-2020 Free Software Foundation, Inc.
22923 Copying and distribution of this file, with or without modification,
22924 are permitted provided the copyright notice and this notice are preserved.