]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
sim: or1k: fix mixing of code & decl warning
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
10dadadc
TV
12021-01-11 Tom de Vries <tdevries@suse.de>
2
3 PR testsuite/26968
4 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
5 Move insn setting $eax to before probe point.
6
66beed02
TT
72021-01-09 Tom Tromey <tom@tromey.com>
8
9 * gdb.trace/ax.exp: Do not require an "ext".
10
8fc48b79
TT
112021-01-08 Tom Tromey <tromey@adacore.com>
12
13 * gdb.ada/voidctx/pck.adb: New file.
14 * gdb.ada/voidctx/pck.ads: New file.
15 * gdb.ada/voidctx/voidctx.adb: New file.
16 * gdb.ada/voidctx.exp: New file.
17
6abd4cf2
SM
182021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
19
20 PR gdb/27157
21 * gdb.base/empty-host-env-vars.exp: New test.
22
d00f0868
AB
232021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * gdb.base/completion.exp: Add a new test.
26
3c8c6de2
AB
272021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
28
29 * gdb.fortran/intvar-dynamic-types.exp: New file.
30 * gdb.fortran/intvar-dynamic-types.f90: New file.
31
e3436813
AB
322021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * gdb.fortran/intvar-array.exp: New file.
35 * gdb.fortran/intvar-array.f90: New file.
36
d4813f10
TT
372021-01-07 Tom Tromey <tromey@adacore.com>
38
39 * gdb.ada/assign_arr.exp: Add 'others' test.
40
b49180ac
TT
412021-01-06 Tom Tromey <tromey@adacore.com>
42
43 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
44 (FP4_Type): New type.
45 (FP4_Var): New variable.
46 * gdb.ada/fixed_points/fixed_points.adb: Update.
47 * gdb.ada/fixed_points.exp: Add tests for binary operators.
48
3c55062c
SM
492021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
50
51 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
52 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
53 Pass prompt containing debug print to gdb_test_sequence.
54
e4ad960a
TV
552021-01-04 Tom de Vries <tdevries@suse.de>
56
57 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
58
3ec3145c
SM
592021-01-04 Simon Marchi <simon.marchi@efficios.com>
60
61
62
8dc558a0
SM
632021-01-04 Simon Marchi <simon.marchi@efficios.com>
64
65 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
66 * gdb.server/connect-without-multi-process.exp: Likewise.
67 * gdb.server/exit-multiple-threads.exp: Likewise.
68 * gdb.server/ext-attach.exp: Likewise.
69 * gdb.server/ext-restart.exp: Likewise.
70 * gdb.server/ext-run.exp: Likewise.
71 * gdb.server/ext-wrapper.exp: Likewise.
72 * gdb.server/multi-ui-errors.exp: Likewise.
73 * gdb.server/no-thread-db.exp: Likewise.
74 * gdb.server/reconnect-ctrl-c.exp: Likewise.
75 * gdb.server/run-without-local-binary.exp: Likewise.
76 * gdb.server/server-kill.exp: Likewise.
77 * gdb.server/server-run.exp: Likewise.
78 * gdb.server/solib-list.exp: Likewise.
79 * gdb.server/stop-reply-no-thread.exp: Likewise.
80 * gdb.server/wrapper.exp: Likewise.
81 * gdb.server/sysroot.exp: Increase timeout when testing the
82 target: sysroot.
83
d8387cc8
SM
842021-01-04 Simon Marchi <simon.marchi@efficios.com>
85
86 * gdb.server/server-run.exp: Use clean_restart.
87
5169ae34
SM
882021-01-04 Simon Marchi <simon.marchi@efficios.com>
89
90 * gdb.server/ext-run.exp: Use clean_restart.
91
7b0ff8a2
SM
922021-01-04 Simon Marchi <simon.marchi@efficios.com>
93
94 * gdb.server/stop-reply-no-thread.exp: Use build_executable
95 instead of prepare_for_testing.
96
a754fbdf
SM
972021-01-04 Simon Marchi <simon.marchi@efficios.com>
98
99 * gdb.server/solib-list.exp: Use clean_restart.
100
c5e71b33
TV
1012021-01-04 Tom de Vries <tdevries@suse.de>
102
103 * gdb.base/morestack.c: Remove printf.
104 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
105
9b243007
TT
1062020-12-31 Tom Tromey <tom@tromey.com>
107
108 * gdb.rust/simple.exp: Update output for Rust 1.49.
109
4ff509e7
BE
1102020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
111
112 * gdb.cp/step-and-next-inline.exp: Fix test case.
113
391750c3
SM
1142020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
115
116 * gdb.python/py-frame-args.exp: De-duplicate test names.
117
b7874836
AB
1182020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
119
120 PR gdb/27059
121 * gdb.dwarf2/dyn-type-unallocated.c: New file.
122 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
123
e1ff6226
PW
1242020-12-21 Peter Waller <p@pwaller.net>
125
126 * gdb.base/style-interp-exec-mi.exp: New.
127 * gdb.base/style-interp-exec-mi.c: New.
128
ca01f1bf
SM
1292020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
130
131 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
132 gdb_test. Use proc_with_prefix.
133
0fe69a94
MM
1342020-12-21 Markus Metzger <markus.t.metzger@intel.com>
135
136 * gdb.btrace/exception.exp: Build with nopie.
137 * gdb.btrace/function_call_history.exp: Likewise.
138 * gdb.btrace/unknown_functions.exp: Likewise.
139
806e7575
MM
1402020-12-21 Markus Metzger <markus.t.metzger@intel.com>
141
142 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
143
493d2172
MM
1442020-12-21 Markus Metzger <markus.t.metzger@intel.com>
145
146 * gdb.python/py-record-btrace.exp: Make test names unique.
147 * gdb.python/py-record-full.exp: Likewise.
148
1a1c0afc
MM
1492020-12-21 Markus Metzger <markus.t.metzger@intel.com>
150
151 * gdb.btrace/data.exp: Make test names unique.
152 * gdb.btrace/delta.exp: Likewise.
153 * gdb.btrace/enable.exp: Likewise.
154 * gdb.btrace/function_call_history.exp: Likewise.
155 * gdb.btrace/nohist.exp: Likewise.
156 * gdb.btrace/non-stop.exp: Likewise.
157 * gdb.btrace/rn-dl-bind.exp: Likewise.
158 * gdb.btrace/step.exp: Likewise.
159 * gdb.btrace/stepi.exp: Likewise.
160 * gdb.btrace/tailcall.exp: Likewise.
161
98d837f0
MM
1622020-12-21 Markus Metzger <markus.t.metzger@intel.com>
163
164 * gdb.btrace/enable.exp: Update error message.
165 * gdb.btrace/multi-inferior.exp: Likewise.
166 * gdb.btrace/reconnect.exp: Likewise.
167 * gdb.python/py-record-btrace.exp: Likewise.
168 * gdb.python/py-record-full.exp: Likewise.
169
c541fa7c
TV
1702020-12-20 Tom de Vries <tdevries@suse.de>
171
172 * lib/gdb.exp (save_target_board_info): New proc.
173 (gdb_compile_shlib): Use save_target_board_info.
174
60108e47
TV
1752020-12-19 Tom de Vries <tdevries@suse.de>
176
177 * lib/gdb.exp (supports_scalar_storage_order_attribute)
178 (supports_gnuc): New proc.
179 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
180 test_compiler_info calls. Add unsupported message.
181 * gdb.base/endianity.c: Use TEST_SSO.
182
fa639f55
HD
1832020-12-19 Hannes Domani <ssbssa@yahoo.de>
184
185 PR exp/27070
186 * gdb.python/compare-enum-type-a.c: New test.
187 * gdb.python/compare-enum-type-b.c: New test.
188 * gdb.python/compare-enum-type.exp: New file.
189 * gdb.python/compare-enum-type.h: New test.
190
4aea001f
HD
1912020-12-18 Hannes Domani <ssbssa@yahoo.de>
192
193 * gdb.python/py-format-string.exp: Add tests for address keyword.
194
b3f9469b
HD
1952020-12-18 Hannes Domani <ssbssa@yahoo.de>
196
197 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
198
86ef42bd
TT
1992020-12-18 Tom Tromey <tromey@adacore.com>
200
201 * gdb.ada/fixed_points.exp: Also run with
202 -fgnat-encodings=minimal. Update expected output.
203
93df4a1d
SM
2042020-12-16 Simon Marchi <simon.marchi@efficios.com>
205
206 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
207 * gdb.base/continue-all-already-running.exp: Likewise.
208 * gdb.base/moribund-step.exp: Likewise.
209 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
210
592995fa
TV
2112020-12-16 Tom de Vries <tdevries@suse.de>
212
213 * gdb.base/batch-preserve-term-settings.exp:
214
1e61189d
TV
2152020-12-16 Tom de Vries <tdevries@suse.de>
216
217 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
218 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
219
19007d95
LM
2202020-12-16 Luis Machado <luis.machado@linaro.org>
221
222 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
223 pointer-based memory accesses.
224 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
225 hw watchpoint cases.
226
a33fc9ae
RK
2272020-12-15 Rae Kim <rae.kim@gmail.com>
228
229 * gdb.base/document.exp: New test.
230
0e5ad442
TT
2312020-12-15 Tom Tromey <tromey@adacore.com>
232
233 * gdb.base/style.exp: Add deprecation tests.
234
60598dbd
SM
2352020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
236
237 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
238
8cd6d968
MW
2392020-12-14 Mark Wielaard <mark@klomp.org>
240
241 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
242 specially, set attr_form_comment to the actual FORM string used.
243
eab9267c
MW
2442020-12-14 Mark Wielaard <mark@klomp.org>
245
246 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
247 _constants(SPECIAL_expr) here, but set it...
248 (Dwarf::cu): ...here based on _cu_version.
249
2f413264
TV
2502020-12-14 Tom de Vries <tdevries@suse.de>
251
252 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
253 pass -fPIC.
254 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
255 * gdb.base/break-probes.exp: Same.
256 * gdb.base/ctxobj.exp: Same.
257 * gdb.base/dso2dso.exp: Same.
258 * gdb.base/global-var-nested-by-dso.exp: Same.
259 * gdb.base/info-shared.exp: Same.
260 * gdb.base/jit-reader-simple.exp: Same.
261 * gdb.base/print-file-var.exp: Same.
262 * gdb.base/skip-solib.exp: Same.
263 * gdb.btrace/dlopen.exp: Same.
264
18f1cb1f
TV
2652020-12-14 Tom de Vries <tdevries@suse.de>
266
267 PR testsuite/26963
268 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
269
519155c9
TV
2702020-12-14 Tom de Vries <tdevries@suse.de>
271
272 PR testsuite/26962
273 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
274 cast it to its declared type".
275
153f6e6c
TV
2762020-12-14 Tom de Vries <tdevries@suse.de>
277
278 PR testsuite/26951
279 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
280 shell prompt.
281
86b44259
TT
2822020-12-14 Tom Tromey <tromey@adacore.com>
283
284 * gdb.ada/nested.exp: Add new tests.
285 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
286
e26624c6
TT
2872020-12-14 Tom Tromey <tromey@adacore.com>
288
289 * gdb.dwarf2/ada-thick-pointer.exp: New file.
290
a3bdae4e
TT
2912020-12-14 Tom Tromey <tromey@adacore.com>
292
293 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
294
862fcbd8
TV
2952020-12-13 Tom de Vries <tdevries@suse.de>
296
297 PR testsuite/26953
298 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
299 attribute support if compiler doesn't support it.
300
a406a98e
TV
3012020-12-13 Tom de Vries <tdevries@suse.de>
302
303 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
304 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
305 source to shared lib. Add ada to options.
306
5d7e6ed0
TV
3072020-12-13 Tom de Vries <tdevries@suse.de>
308
309 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
310 calling gnatbind and gnatlink.
311
ee9812a0
AB
3122020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
313
314 * gdb.base/dcache-flush.c: New file.
315 * gdb.base/dcache-flush.exp: New file.
316
50a5f187
AB
3172020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
318
319 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
320 commands.
321 * gdb.base/killed-outside.exp: Likewise.
322 * gdb.opt/inline-bt.exp: Likewise.
323 * gdb.perf/gmonster-null-lookup.py: Likewise.
324 * gdb.perf/gmonster-print-cerr.py: Likewise.
325 * gdb.perf/gmonster-ptype-string.py: Likewise.
326 * gdb.python/py-unwind.exp: Likewise.
327
19c659f1
AB
3282020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 * gdb.base/commands.exp: Update expected results.
331
9ef6d4a1
AB
3322020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 PR cli/15104
335 * gdb.base/commands.exp: Add additional tests.
336 * gdb.base/completion.exp: Add additional tests.
337
1536146f
AB
3382020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * gdb.base/completion.exp: Add additional tests.
341
346e7e19
TV
3422020-12-11 Tom de Vries <tdevries@suse.de>
343
344 PR testsuite/26991
345 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
346 violations by setting bounds registers if the bounds are passed in the
347 Bounds Table.
348
9cd7a95a
TV
3492020-12-11 Tom de Vries <tdevries@suse.de>
350
351 PR testsuite/26954
352 * gdb.base/float128.exp: Detect and handle no mpfr support.
353
4483a8e7
SM
3542020-12-10 Simon Marchi <simon.marchi@efficios.com>
355
356 PR gdb/24694
357 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
358 calls.
359
10067028
TV
3602020-12-10 Tom de Vries <tdevries@suse.de>
361
362 PR testsuite/26947
363 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
364 braces for tcl 8.5 and earlier.
365
5b56203a
SM
3662020-12-09 Simon Marchi <simon.marchi@efficios.com>
367
368 PR 26875, PR 26901
369 * gdb.base/flexible-array-member.c: New test.
370 * gdb.base/flexible-array-member.exp: New test.
371
b46551b2
TV
3722020-12-08 Tom de Vries <tdevries@suse.de>
373
374 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
375 using is_amd64_regs_target.
376
8439f446
TV
3772020-12-08 Tom de Vries <tdevries@suse.de>
378
379 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
380 self_id.
381
bc545da7
PA
3822020-12-07 Pedro Alves <pedro@palves.net>
383
384 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
385 'additional_flags' variable.
386
1f58f6c2
TBA
3872020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
388
389 * gdb.linespec/explicit.exp: Extend with a test to check completing
390 '-' after seemingly complete options.
391
5759831a
TBA
3922020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
393
394 * gdb.linespec/keywords.exp: Add tests to check positional
395 flexibility of "-force-condition".
396
21e051b3
TBA
3972020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
398
399 * gdb.base/bp-cmds-run-with-ex.c: New file.
400 * gdb.base/bp-cmds-run-with-ex.exp: New file.
401 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
402 * gdb.gdb/python-interrupts.exp: Update the call to
403 'catch_command_errors' with the new argument.
404 * gdb.gdb/python-selftest.exp: Ditto.
405
187b041e
SM
4062020-12-04 Simon Marchi <simon.marchi@efficios.com>
407
408 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
409 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
410 * gdb.threads/non-stop-fair-events.exp: Likewise.
411
3b7a962d
SM
4122020-12-04 Simon Marchi <simon.marchi@efficios.com>
413
414 * gdb.threads/step-over-exec.exp: New.
415 * gdb.threads/step-over-exec.c: New.
416 * gdb.threads/step-over-exec-execd.c: New.
417 * lib/my-syscalls.S: New.
418 * lib/my-syscalls.h: New.
419
e633b117
SM
4202020-12-04 Simon Marchi <simon.marchi@efficios.com>
421
422 * lib/dwarf.exp (declare_labels): Use name as text if text is
423 not provided.
424
67748e0f
TV
4252020-12-04 Tom de Vries <tdevries@suse.de>
426
427 PR testsuite/26990
428 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
429 are unsupported.
430
a8d13675
TV
4312020-12-04 Tom de Vries <tdevries@suse.de>
432
433 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
434 clause.
435
f17727b3
TV
4362020-12-04 Tom de Vries <tdevries@suse.de>
437
438 * gdb.reverse/insn-reverse.exp: Fix count handling.
439
a1499830
TV
4402020-12-04 Tom de Vries <tdevries@suse.de>
441
442 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
443 __x86_64__.
444
9c027c2f
TV
4452020-12-04 Tom de Vries <tdevries@suse.de>
446
447 * gdb.reverse/insn-reverse.c (test_nr): New var.
448 (usage, parse_args): New function.
449 (main): Call parse_args. Only run test for test_nr.
450 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
451 and bail out. Run subtests individually, using an inferior arg
452 specifying the subtest.
453
533b2ae0
AB
4542020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
455
456 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
457
e4502042
AB
4582020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
461 update test to use this.
462
f55a9a37
SM
4632020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
464
465 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
466
0a6155a0
SM
4672020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
468
469 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
470 (do_test): Don't use with_test_prefix.
471 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
472 (do_test): Don't use with_test_prefix.
473 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
474 (do_test): Don't use with_test_prefix.
475 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
476 (do_test): Don't use with_test_prefix.
477
4d56d64a
SM
4782020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
479
480 * gdb.threads/non-ldr-exit.exp: Fix comment.
481
54e75f29
AB
4822020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
483
484 * gdb.xml/maint-xml-dump-03.xml: New file.
485
7ce05d21
TV
4862020-11-30 Tom de Vries <tdevries@suse.de>
487
488 PR symtab/26905
489 * gdb.dwarf2/count.exp: Remove kfails.
490
50757f95
TBA
4912020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
492
493 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
494 indices.
495
4afa9fd9
JB
4962020-11-24 Joel Brobecker <brobecker@adacore.com>
497
498 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
499 the "ptype pck__fp1_range_var" test for the module-2 and pascal
500 languages. Remove the associated setup_xfail.
501
15a491af
SM
5022020-11-23 Simon Marchi <simon.marchi@efficios.com>
503
504 * lib/gdb.exp (gdb_assert): Show error message on error.
505
891615f0
TV
5062020-11-23 Tom de Vries <tdevries@suse.de>
507
508 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
509 * gdb.ada/mod_from_name.exp: Same.
510 * gdb.ada/pckd_arr_ren.exp: Same.
511
19922582
SM
5122020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
513
514 * gdb.base/template.exp: New.
515 * gdb.base/template.c: New.
516
117c628d
GB
5172020-11-22 Gary Benson <gbenson@redhat.com>
518
519 PR gdb/26905
520 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
521 is defined using a DW_AT_count which references another DIE.
522
da39d3ba
TV
5232020-11-21 Tom de Vries <tdevries@suse.de>
524
525 * gdb.base/vla-ptr.exp: Add XFAIL.
526
a5c641b5
AB
5272020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
528
529 * gdb.fortran/array-slices-bad.exp: New file.
530 * gdb.fortran/array-slices-bad.f90: New file.
531 * gdb.fortran/array-slices-sub-slices.exp: New file.
532 * gdb.fortran/array-slices-sub-slices.f90: New file.
533 * gdb.fortran/array-slices.exp: Rewrite tests.
534 * gdb.fortran/array-slices.f90: Rewrite tests.
535 * gdb.fortran/vla-sizeof.exp: Correct expected results.
536
a15a5258
AB
5372020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.base/completion.exp: Add new completion tests.
540
7cb2893d
SM
5412020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
542
543 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
544 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
545 * gdb.mi/mi-nsintrall.exp: Likewise.
546 * gdb.mi/mi-nsmoribund.exp: Likewise.
547 * gdb.mi/mi-nsthrexec.exp: Likewise.
548 * gdb.mi/mi-watch-nonstop.exp: Likewise.
549
cf144ec8
SM
5502020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
551
552 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
553 of perror.
554
6b6a3e05
JM
5552020-11-18 Joseph Myers <joseph@codesourcery.com>
556
557 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
558 $arg.exe exists but $arg does not.
559
811bdca0
GB
5602020-11-17 Gary Benson <gbenson@redhat.com>
561
562 * gdb.trace/trace-common.h (x86_trace_dummy): Add
563 __attribute__ ((used)).
564
c72e3136
AB
5652020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
566
567 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
568
037d7135
AB
5692020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
570
571 * gdb.base/completion.exp: Add new tests.
572
119e99bb
TT
5732020-11-16 Tom Tromey <tromey@adacore.com>
574
575 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
576 tests.
577
b74dbc20
JB
5782020-11-15 Joel Brobecker <brobecker@adacore.com>
579
580 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
581 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
582 (main): Add reference to pck__fp1_var2.
583 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
584
0a12719e
JB
5852020-11-15 Joel Brobecker <brobecker@adacore.com>
586
587 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
588
0c9150e4
JB
5892020-11-15 Joel Brobecker <brobecker@adacore.com>
590
591 * gdb.ada/fixed_points.exp: Add ptype tests.
592 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
593
b26daff9
JB
5942020-11-15 Joel Brobecker <brobecker@adacore.com>
595
596 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
597
09584414
JB
5982020-11-15 Joel Brobecker <brobecker@adacore.com>
599
600 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
601 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
602 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
603 New files.
604 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
605
606 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
607 New files.
608
9dd02fc0
AB
6092020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 PR cli/26879
612 * gdb.fortran/completion.exp: New file.
613 * gdb.fortran/completion.f90: New file.
614
5643c500
JM
6152020-11-12 Joseph Myers <joseph@codesourcery.com>
616
617 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
618 but $arg does not.
619
7bea47f0
AB
6202020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
621
622 * gdb.fortran/types.exp: Add more tests.
623
1f2624a3
TT
6242020-11-12 Tom Tromey <tom@tromey.com>
625
626 PR rust/26799:
627 * gdb.rust/traits.exp: Remove kfails.
628
9e74f0ae
GB
6292020-11-12 Gary Benson <gbenson@redhat.com>
630
631 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
632 statement.
633
acb994fa
SM
6342020-11-11 Simon Marchi <simon.marchi@efficios.com>
635
636 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
637 always-inserted" axis.
638 (do_test): Add breakpoint_always_inserted parameter.
639
95016fd2
TT
6402020-11-10 Tom Tromey <tromey@adacore.com>
641
642 * gdb.ada/bias.exp: Update.
643 * gdb.ada/bias/bias.adb (X): Change value.
644
83100a74
GB
6452020-11-10 Gary Benson <gbenson@redhat.com>
646
647 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
648 regexp fragment in parentheses to prevent false matching.
649
6ff174a7
GB
6502020-11-10 Gary Benson <gbenson@redhat.com>
651
652 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
653
eb24648c
GB
6542020-11-10 Gary Benson <gbenson@redhat.com>
655
656 * gdb.cp/step-and-next-inline.exp: Only require
657 -gstatement-frontiers when building with GCC.
658 Only setup KFAIL's for GCC issues when using
659 a GCC-built executable.
660
86775fab
AB
6612020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * gdb.base/debug-expr.c: Add extra function to allow for an
664 additional test.
665 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
666 to this proc with gdb_test_debug_expr. Add an extra test.
667 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
668 to this proc with gdb_test_debug_expr, give the tests names
669 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
670 calls to this proc with gdb_test_debug_expr, give the tests names
671 * gdb.fortran/debug-expr.exp: New file.
672 * gdb.fortran/debug-expr.f90: New file.
673 * lib/gdb.exp (gdb_test_debug_expr): New proc.
674
a1945bd4
SM
6752020-11-06 Simon Marchi <simon.marchi@efficios.com>
676
677 * lib/dwarf.exp (ranges): Handle "base" and "range" as
678 proceduresu.
679 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
680 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
681 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
682 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
683 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
684 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
685 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
686 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
687
9c91c725
TT
6882020-11-04 Tom Tromey <tromey@adacore.com>
689
690 * gdb.ada/funcall_ref.exp: Update.
691 * gdb.ada/var_rec_arr.exp: Update.
692
8d9fd3a1
TT
6932020-11-04 Tom Tromey <tromey@adacore.com>
694
695 * gdb.ada/rec_ptype.exp: New file.
696 * gdb.ada/rec_ptype/main.adb: New file.
697 * gdb.ada/rec_ptype/p.ads: New file.
698
d8f62e84
TT
6992020-11-04 Tom Tromey <tromey@adacore.com>
700
701 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
702 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
703 (PT_Full): New variable.
704 * gdb.ada/tick_length_array_enum_idx/pck.adb
705 (Full_PT): New type.
706
7ff5b937
TT
7072020-11-04 Tom Tromey <tromey@adacore.com>
708
709 * gdb.ada/array_of_variant.exp: New file.
710 * gdb.ada/array_of_variant/p.adb: New file.
711 * gdb.ada/array_of_variant/pck.ads: New file.
712 * gdb.ada/array_of_variant/pck.adb: New file.
713
10f6a3ad
TT
7142020-11-04 Tom Tromey <tromey@adacore.com>
715
716 * gdb.ada/enum_idx_packed.exp: Add test.
717 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
718 New variable.
719 * gdb.ada/enum_idx_packed/pck.ads (Short)
720 (Multi_Dimension, Multi_Dimension_Access): New types.
721
b72795a8
TT
7222020-11-04 Tom Tromey <tromey@adacore.com>
723
724 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
725
24aa1b02
TT
7262020-11-04 Tom Tromey <tromey@adacore.com>
727
728 * gdb.ada/set_pckd_arr_elt.exp: Also test
729 -fgnat-encodings=minimal. Add tests.
730 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
731 Call Update_Small a second time.
732 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
733 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
734 (Variant_Access): New types.
735 (New_Variant): Declare.
736
c9a28cbe
TT
7372020-11-04 Tom Tromey <tromey@adacore.com>
738
739 * gdb.ada/mod_from_name.exp: Test printing slice.
740
57567375
TT
7412020-11-04 Tom Tromey <tromey@adacore.com>
742
743 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
744 values.
745 * gdb.ada/access_to_unbounded_array.exp: Test different
746 -fgnat-encodings values.
747 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
748 values.
749 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
750 values.
751 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
752 values.
753 * gdb.ada/array_of_variable_length.exp: Test different
754 -fgnat-encodings values.
755 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
756 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
757 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
758 change.
759 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
760 values.
761 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
762 * gdb.ada/out_of_line_in_inlined.exp: Test different
763 -fgnat-encodings values.
764 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
765 values.
766 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
767 values.
768 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
769 -fgnat-encodings values.
770 * gdb.ada/variant_record_packed_array.exp: Test different
771 -fgnat-encodings values.
772
a7400e44
TT
7732020-11-04 Tom Tromey <tromey@adacore.com>
774
775 * gdb.ada/enum_idx_packed.exp: Add tests.
776 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
777 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
778 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
779 declarations.
780
c40907bf
TV
7812020-11-03 Tom de Vries <tdevries@suse.de>
782
783 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
784 terminator comments.
785 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
786 terminator.
787
f468977a
SM
7882020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
789
790 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
791 integer format test with regexp.
792
1c2bec19
GB
7932020-11-02 Gary Benson <gbenson@redhat.com>
794
795 * gdb.base/print-file-var.exp (test): Separate compiler and
796 linker options, and build using build_executable_from_specs
797 to accommodate this.
798
6539a36d
GB
7992020-11-02 Gary Benson <gbenson@redhat.com>
800
801 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
802 for .c files compiled as C++ with Clang if any shared
803 libraries are specified.
804
7ea44a51
GB
8052020-11-02 Gary Benson <gbenson@redhat.com>
806
807 * lib/attributes.h: New header.
808 * gdb.base/backtrace.c: Include the above. Replace
809 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
810 * gdb.base/infcall-nested-structs.c: Likewise.
811 * gdb.base/vla-optimized-out.c: Likewise.
812
ab8f783d
TV
8132020-11-02 Tom de Vries <tdevries@suse.de>
814
815 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
816
d77c9224
JB
8172020-11-01 Joel Brobecker <brobecker@adacore.com>
818
819 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
820 System.Min_Int and System.Max_Int with smaller hardcoded
821 constants.
822
0e5b0dd0
SM
8232020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
824
825 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
826 * configure: Re-generate.
827
136821d9
SM
8282020-10-30 Simon Marchi <simon.marchi@efficios.com>
829
830 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
831 expected output.
832
b78b3a29
TBA
8332020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
834
835 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
836 behavior.
837 * gdb.base/paginate-bg-execution.exp: Ditto.
838 * gdb.base/paginate-inferior-exit.exp: Ditto.
839 * gdb.base/double-prompt-target-event-error.c: Remove.
840 * gdb.base/double-prompt-target-event-error.exp: Remove.
841
cfaa8f76
TBA
8422020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
843
844 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
845 inferiors' and 'detach inferiors' do not change the current
846 inferior.
847
0ad0e70c
TV
8482020-10-29 Tom de Vries <tdevries@suse.de>
849
850 * gdb.threads/tls.exp: Fix DUPLICATEs.
851
99cc6b2a
TV
8522020-10-28 Tom de Vries <tdevries@suse.de>
853
854 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
855
efe9b873
TV
8562020-10-28 Tom de Vries <tdevries@suse.de>
857
858 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
859 * gdb.base/reread.exp: Same.
860
6b68fd45
TV
8612020-10-28 Tom de Vries <tdevries@suse.de>
862
863 * lib/gdb.exp (readnow): Handle arg.
864 * gdb.rust/traits.exp: Add KFAILs for -readnow.
865
32a5f98a
TV
8662020-10-28 Tom de Vries <tdevries@suse.de>
867
868 * gdb.base/relocate.exp: Update regexp for -readnow.
869
f93b8760
TV
8702020-10-28 Tom de Vries <tdevries@suse.de>
871
872 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
873 -readnow.
874
1b00ef06
TV
8752020-10-28 Tom de Vries <tdevries@suse.de>
876
877 PR symtab/26772
878 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
879 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
880
364bb903
TV
8812020-10-28 Tom de Vries <tdevries@suse.de>
882
883 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
884 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
885 complaint during file command for -readnow.
886
445a033f
TV
8872020-10-28 Tom de Vries <tdevries@suse.de>
888
889 * gdb.cp/nsalias.exp: Fix typo in test name.
890
fdd67a42
TV
8912020-10-28 Tom de Vries <tdevries@suse.de>
892
893 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
894
706baf4c
TV
8952020-10-28 Tom de Vries <tdevries@suse.de>
896
897 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
898 -readnow.
899
b448cca5
TV
9002020-10-27 Tom de Vries <tdevries@suse.de>
901
902 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
903
5868da03
TV
9042020-10-27 Tom de Vries <tdevries@suse.de>
905
906 * gdb.base/maint.exp: Update for -readnow.
907
06db6ec3
TV
9082020-10-27 Tom de Vries <tdevries@suse.de>
909
910 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
911 -readnow.
912
934a1764
GB
9132020-10-14 Gary Benson <gbenson@redhat.com>
914
915 * gdb.python/py-format-string.exp (test_deref_refs): Treat
916 "_vptr$Base" as correct, in addition to "_vptr.Base".
917 (test_mixed): Likewise.
918
0bf21fbd
GB
9192020-10-27 Gary Benson <gbenson@redhat.com>
920
921 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
922 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
923
b1d4d8d1
TBA
9242020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
925
926 * gdb.base/condbreak.exp: Update the completion tests to
927 consider the '-force' flag.
928
bd24c5d6
TV
9292020-10-27 Tom de Vries <tdevries@suse.de>
930
931 * gdb.base/list-ambiguous-readnow.exp: New file.
932
733d554a
TBA
9332020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
934
935 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
936 the condition.
937 * gdb.linespec/cpcompletion.exp: Update to consider the
938 '-force-condition' keyword.
939 * gdb.linespec/explicit.exp: Ditto.
940 * lib/completion-support.exp: Ditto.
941
b5fa468f
TBA
9422020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
943
944 * gdb.base/condbreak-multi-context.cc: New file.
945 * gdb.base/condbreak-multi-context.exp: New file.
946
b3247276
TT
9472020-10-26 Tom Tromey <tom@tromey.com>
948
949 * lib/mi-support.exp (default_mi_gdb_start): Call
950 gdb_stdin_log_init.
951 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
952 subtract one from gdb_instances.
953 (gdb_stdin_log_write): Flush in_file.
954
1c47ec3e
TV
9552020-10-26 Tom de Vries <tdevries@suse.de>
956
957 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
958
6390859c
TT
9592020-10-26 Tom Tromey <tromey@adacore.com>
960
961 * gdb.ada/unsigned_range/foo.adb: New file.
962 * gdb.ada/unsigned_range/pack.adb: New file.
963 * gdb.ada/unsigned_range/pack.ads: New file.
964 * gdb.ada/unsigned_range.exp: New file.
965
55c3ad88
TV
9662020-10-26 Tom de Vries <tdevries@suse.de>
967
968 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
969
1612c4bb
TV
9702020-10-26 Tom de Vries <tdevries@suse.de>
971
972 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
973 for CU.
974 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
975
7d72802b
TV
9762020-10-23 Tom de Vries <tdevries@suse.de>
977
978 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
979 DW_FORM_string.
980 (Dwarf::_default_form): New proc.
981 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
982 guessed.
983
9476b583
TV
9842020-10-23 Tom de Vries <tdevries@suse.de>
985
986 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
987 * gdb.dwarf2/atomic-type.exp: Same.
988 * gdb.dwarf2/bad-regnum.exp: Same.
989 * gdb.dwarf2/cpp-linkage-name.exp: Same.
990 * gdb.dwarf2/dw2-align.exp: Same.
991 * gdb.dwarf2/dw2-bad-elf.exp: Same.
992 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
993 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
994 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
995 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
996 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
997 * gdb.dwarf2/enum-type.exp: Same.
998 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
999 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1000 * gdb.dwarf2/main-subprogram.exp: Same.
1001 * gdb.dwarf2/missing-type-name.exp: Same.
1002 * gdb.dwarf2/nonvar-access.exp: Same.
1003 * gdb.dwarf2/typedef-void-finish.exp: Same.
1004 * gdb.dwarf2/var-access.exp: Same.
1005 * gdb.dwarf2/void-type.exp: Same.
1006
4a636814
SM
10072020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1008
1009 PR gdb/26693
1010 * gdb.dwarf2/template-specification-full-name.exp: New test.
1011
557fc257
LM
10122020-10-22 Luis Machado <luis.machado@linaro.org>
1013
1014 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1015 expected an offset from the function.
1016 * gdb.base/msym-bp.exp (test): Likewise.
1017
6b4c676c
AB
10182020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1019
1020 * gdb.fortran/array-slices.exp: Add a new test.
1021
98cec4f6
GB
10222020-10-21 Gary Benson <gbenson@redhat.com>
1023
1024 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1025 fullname test with Clang. Also expand comments generally.
1026
ae86f581
TV
10272020-10-20 Tom de Vries <tdevries@suse.de>
1028
1029 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1030
8c161360
TV
10312020-10-20 Tom de Vries <tdevries@suse.de>
1032
1033 * gdb.dwarf2/arr-stride.c: Remove.
1034 * gdb.dwarf2/arr-stride.exp: Use main.c.
1035 * gdb.dwarf2/arr-subrange.c: Remove.
1036 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1037 * gdb.dwarf2/bad-regnum.c: Remove.
1038 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1039 * gdb.dwarf2/corrupt.c: Remove.
1040 * gdb.dwarf2/corrupt.exp: Use main.c.
1041 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1042 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1043 * gdb.dwarf2/dw2-icycle.c: Remove.
1044 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1045 * gdb.dwarf2/formdata16.c: Remove.
1046 * gdb.dwarf2/formdata16.exp: Use main.c.
1047 * gdb.dwarf2/implptrconst.c: Remove.
1048 * gdb.dwarf2/implptrconst.exp: Use main.c.
1049 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1050 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1051 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1052 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1053
9c2412ec
TV
10542020-10-20 Tom de Vries <tdevries@suse.de>
1055
1056 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1057 file.
1058 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1059
0cd2ad78
TV
10602020-10-20 Tom de Vries <tdevries@suse.de>
1061
1062 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1063 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1064 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1065 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1066 * gdb.dwarf2/dw2-ranges.exp: Same.
1067 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1068 * gdb.dwarf2/var-access.exp: Same.
1069
22cc388e
TT
10702020-10-19 Tom Tromey <tromey@adacore.com>
1071
1072 PR tui/26719
1073 * gdb.tui/list.exp: Check source window contents after focus
1074 change.
1075
520596f2
TV
10762020-10-17 Tom de Vries <tdevries@suse.de>
1077
1078 PR symtab/26317
1079 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1080
d1c8a76d
TV
10812020-10-17 Tom de Vries <tdevries@suse.de>
1082
1083 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1084 as suffix.
1085 * gdb.dwarf2/atomic.c: Rename to ...
1086 * gdb.dwarf2/atomic-type.c: ... this.
1087 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1088 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1089 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1090 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1091 * gdb.dwarf2/fission-mix2.c: Rename to ...
1092 * gdb.dwarf2/fission-mix-2.c: ... this.
1093 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1094 standard_testfile.
1095 * gdb.dwarf2/ada-valprint-error.exp: Same.
1096 * gdb.dwarf2/arr-stride.exp: Same.
1097 * gdb.dwarf2/arr-subrange.exp: Same.
1098 * gdb.dwarf2/atomic-type.exp: Same.
1099 * gdb.dwarf2/bad-regnum.exp: Same.
1100 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1101 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1102 * gdb.dwarf2/clang-debug-names.exp: Same.
1103 * gdb.dwarf2/comp-unit-lang.exp: Same.
1104 * gdb.dwarf2/corrupt.exp: Same.
1105 * gdb.dwarf2/count.exp: Same.
1106 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1107 * gdb.dwarf2/data-loc.exp: Same.
1108 * gdb.dwarf2/dw2-align.exp: Same.
1109 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1110 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1111 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1112 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1113 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1114 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1115 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1116 * gdb.dwarf2/dw2-inline-param.exp: Same.
1117 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1118 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1119 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1120 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1121 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1122 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1123 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1124 * gdb.dwarf2/dw2-param-error.exp: Same.
1125 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1126 * gdb.dwarf2/dw2-ranges.exp: Same.
1127 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1128 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1129 * gdb.dwarf2/dw4-sig-types.exp: Same.
1130 * gdb.dwarf2/dynarr-ptr.exp: Same.
1131 * gdb.dwarf2/enum-type.exp: Same.
1132 * gdb.dwarf2/fission-mix.exp: Same.
1133 * gdb.dwarf2/formdata16.exp: Same.
1134 * gdb.dwarf2/implptrconst.exp: Same.
1135 * gdb.dwarf2/implptrpiece.exp: Same.
1136 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1137 * gdb.dwarf2/main-subprogram.exp: Same.
1138 * gdb.dwarf2/method-ptr.exp: Same.
1139 * gdb.dwarf2/missing-sig-type.exp: Same.
1140 * gdb.dwarf2/nonvar-access.exp: Same.
1141 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1142 * gdb.dwarf2/shortpiece.exp: Same.
1143 * gdb.dwarf2/staticvirtual.exp: Same.
1144 * gdb.dwarf2/subrange.exp: Same.
1145 * gdb.dwarf2/symtab-producer.exp: Same.
1146 * gdb.dwarf2/typedef-void-finish.exp: Same.
1147 * gdb.dwarf2/var-access.exp: Same.
1148 * gdb.dwarf2/variant.exp: Same.
1149 * gdb.dwarf2/void-type.exp: Same.
1150 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1151 dw2-ranges-main.c.
1152 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1153
472d09c1
TV
11542020-10-16 Tom de Vries <tdevries@suse.de>
1155
1156 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1157
afe75f6d
TV
11582020-10-16 Tom de Vries <tdevries@suse.de>
1159
1160 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1161
8c8bd0ba
TV
11622020-10-14 Tom de Vries <tdevries@suse.de>
1163
1164 PR testsuite/26732
1165 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1166 scenario 2.
1167 * gdb.ada/mi_catch_ex_hand.exp: Same.
1168
b75d55d4
PA
11692020-10-13 Pedro Alves <pedro@palves.net>
1170
1171 * lib/mi-support.exp (mi_clean_restart): New.
1172 (mi_run_to_main): Delete.
1173 All callers adjust to use mi_clean_restart / mi_runto_main.
1174
e777225b
PA
11752020-10-13 Pedro Alves <pedro@palves.net>
1176
1177 * config/monitor.exp: Use "list -q".
1178 * gdb.arch/gdb1558.exp: Use "break -q".
1179 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1180 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1181 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1182 * gdb.base/commands.exp: Use "break -q".
1183 * gdb.base/condbreak.exp: Use "break -q".
1184 * gdb.base/ctf-ptype.exp: Use "list -q".
1185 * gdb.base/define.exp: Use "break -q".
1186 * gdb.base/del.exp: Use "break -q".
1187 * gdb.base/fullname.exp: Use "break -q".
1188 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1189 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1190 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1191 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1192 "hbreak -q".
1193 * gdb.base/included.exp: Use "list -q".
1194 * gdb.base/label.exp: Use "break -q".
1195 * gdb.base/lineinc.exp: Use "break -q".
1196 * gdb.base/list.exp: Use "list -q".
1197 * gdb.base/macscp.exp: Use "list -q".
1198 * gdb.base/pending.exp: Use "break -q".
1199 * gdb.base/prologue-include.exp: Use "break -q".
1200 * gdb.base/ptype.exp: Use "list -q".
1201 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1202 * gdb.base/server-del-break.exp: Use "break -q".
1203 * gdb.base/style.exp: Use "break -q".
1204 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1205 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1206 * gdb.cp/exception.exp: Use "tbreak -q".
1207 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1208 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1209 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1210 * gdb.dwarf2/pr13961.exp: Use "break -q".
1211 * gdb.linespec/explicit.exp: Use "list -q".
1212 * gdb.linespec/linespec.exp: Use "break -q".
1213 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1214 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1215 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1216 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1217 * gdb.trace/change-loc.exp: Use "break -q".
1218 * gdb.trace/pending.exp: Use "break -q".
1219 * gdb.tui/basic.exp: Use "list -q".
1220 * gdb.tui/list-before.exp: Use "list -q".
1221 * gdb.tui/list.exp: Use "list -q".
1222 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1223
8abd8ee8
PA
12242020-10-13 Pedro Alves <pedro@palves.net>
1225
1226 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1227 saved breakpoints file.
1228 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1229 inspecting breakpoint list.
1230 * lib/gdb.exp (runto_main): Add "qualified" to options.
1231 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1232 and handle it.
1233 (mi_runto_main): Pass 1 as qualified argument.
1234
f71e6719
PA
12352020-10-13 Pedro Alves <pedro@palves.net>
1236
1237 * lib/mi-support.exp (mi_runto_main): New proc.
1238 (mi_run_to_main): Use it.
1239 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1240 * gdb.mi/mi-var-cmd.exp: Likewise.
1241 * gdb.mi/mi-var-invalidate.exp: Likewise.
1242 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1243 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1244 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1245 * gdb.mi/user-selected-context-sync.exp: Likewise.
1246 * gdb.opt/inline-cmds.exp: Likewise.
1247 * gdb.python/py-framefilter-mi.exp: Likewise.
1248 * gdb.python/py-mi.exp: Likewise.
1249
50441f0f
PA
12502020-10-13 Pedro Alves <pedro@palves.net>
1251
1252 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1253 "runto main".
1254 * gdb.ada/small_reg_param.exp: Likewise.
1255 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1256 * gdb.base/annota1.exp: Likewise.
1257 * gdb.base/anon.exp: Likewise.
1258 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1259 * gdb.base/dprintf-non-stop.exp: Likewise.
1260 * gdb.base/dprintf.exp: Likewise.
1261 * gdb.base/gdb11530.exp: Likewise.
1262 * gdb.base/gdb11531.exp: Likewise.
1263 * gdb.base/gnu_vector.exp: Likewise.
1264 * gdb.base/interrupt-noterm.exp: Likewise.
1265 * gdb.base/memattr.exp: Likewise.
1266 * gdb.base/step-over-syscall.exp: Likewise.
1267 * gdb.base/watch-cond-infcall.exp: Likewise.
1268 * gdb.base/watch-read.exp: Likewise.
1269 * gdb.base/watch-vfork.exp: Likewise.
1270 * gdb.base/watch_thread_num.exp: Likewise.
1271 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1272 * gdb.guile/scm-frame-inline.exp: Likewise.
1273 * gdb.linespec/explicit.exp: Likewise.
1274 * gdb.opt/inline-break.exp: Likewise.
1275 * gdb.python/py-frame-inline.exp: Likewise.
1276 * gdb.reverse/break-precsave.exp: Likewise.
1277 * gdb.reverse/break-reverse.exp: Likewise.
1278 * gdb.reverse/consecutive-precsave.exp: Likewise.
1279 * gdb.reverse/consecutive-reverse.exp: Likewise.
1280 * gdb.reverse/finish-precsave.exp: Likewise.
1281 * gdb.reverse/finish-reverse.exp: Likewise.
1282 * gdb.reverse/fstatat-reverse.exp: Likewise.
1283 * gdb.reverse/getresuid-reverse.exp: Likewise.
1284 * gdb.reverse/i386-precsave.exp: Likewise.
1285 * gdb.reverse/i386-reverse.exp: Likewise.
1286 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1287 * gdb.reverse/i387-env-reverse.exp: Likewise.
1288 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1289 * gdb.reverse/insn-reverse.exp: Likewise.
1290 * gdb.reverse/machinestate-precsave.exp: Likewise.
1291 * gdb.reverse/machinestate.exp: Likewise.
1292 * gdb.reverse/pipe-reverse.exp: Likewise.
1293 * gdb.reverse/readv-reverse.exp: Likewise.
1294 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1295 * gdb.reverse/rerun-prec.exp: Likewise.
1296 * gdb.reverse/s390-mvcle.exp: Likewise.
1297 * gdb.reverse/solib-precsave.exp: Likewise.
1298 * gdb.reverse/solib-reverse.exp: Likewise.
1299 * gdb.reverse/step-precsave.exp: Likewise.
1300 * gdb.reverse/step-reverse.exp: Likewise.
1301 * gdb.reverse/time-reverse.exp: Likewise.
1302 * gdb.reverse/until-precsave.exp: Likewise.
1303 * gdb.reverse/until-reverse.exp: Likewise.
1304 * gdb.reverse/waitpid-reverse.exp: Likewise.
1305 * gdb.reverse/watch-precsave.exp: Likewise.
1306 * gdb.reverse/watch-reverse.exp: Likewise.
1307 * gdb.threads/kill.exp: Likewise.
1308 * gdb.threads/tid-reuse.exp: Likewise.
1309
d3a07122
SM
13102020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1311
1312 PR gdb/26642
1313 * gdb.base/maint-target-async-off.c: New test.
1314 * gdb.base/maint-target-async-off.exp: New test.
1315
c65c6c42
AM
13162020-10-13 Alan Modra <amodra@gmail.com>
1317
1318 * gdb.arch/powerpc-altivec.s,
1319 * gdb.arch/powerpc-power7.s,
1320 * gdb.arch/powerpc-power8.s,
1321 * gdb.arch/powerpc-power9.s,
1322 * gdb.arch/powerpc-vsx.s,
1323 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1324 * gdb.arch/powerpc-altivec.exp,
1325 * gdb.arch/powerpc-power7.exp,
1326 * gdb.arch/powerpc-power8.exp,
1327 * gdb.arch/powerpc-power9.exp,
1328 * gdb.arch/powerpc-vsx.exp,
1329 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1330 disassembly of mfvsrd/mtvsrd.
1331
f4a0f710
AM
13322020-10-13 Alan Modra <amodra@gmail.com>
1333
1334 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1335 "target architecture" output.
1336 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1337 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1338 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1339 * gdb.arch/s390-disassembler-options.exp: Likewise.
1340
87a37e5e
PA
13412020-10-12 Pedro Alves <pedro@palves.net>
1342
1343 PR exp/26602
1344 PR c++/26550
1345 * gdb.cp/ambiguous.cc (marker1): Delete.
1346 (main): Initialize all the fields of the locals. Replace marker1
1347 call with a "set breakpoint here" marker.
1348 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1349 instead of running to marker1. Add tests printing all the
1350 variables and all the fields of the variables.
1351 (test_ambiguous): New proc, expecting the new GDB output when a
1352 field access is ambiguous. Change all "warning: X ambiguous"
1353 tests to use it.
1354
71e1b6b0
GB
13552020-10-12 Gary Benson <gbenson@redhat.com>
1356
1357 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1358 * gdb.base/msym-bp-2.c (foo): Likewise.
1359 * gdb.base/msym-lang.c (foo): Likewise.
1360 * gdb.base/msym-lang-main.c (foo): Likewise.
1361 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1362 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1363 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1364 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1365 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1366 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1367 * gdb.python/py-objfile.c (static_var): Likewise.
1368 * gdb.python/py-symbol.c (rr): Likewise.
1369 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1370 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1371
9370fd51
AB
13722020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1373
1374 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1375 output of backtrace.
1376
7c184d33
TT
13772020-10-09 Tom Tromey <tromey@adacore.com>
1378
1379 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1380 (Rec): Add field. Fix range.
1381 * gdb.ada/scalar_storage.exp: Update.
1382
3d87245c
HD
13832020-10-09 Hannes Domani <ssbssa@yahoo.de>
1384
1385 PR exp/26714
1386 * gdb.base/printcmds.exp: Add tests for void results.
1387
f5c4b229
JV
13882020-10-09 Jan Vrany <jan.vrany@labware.com>
1389
1390 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1391 is emmited for both 'set directories' and 'directory' commands.
1392
b2701685
TT
13932020-10-08 Tom Tromey <tom@tromey.com>
1394
1395 * gdb.base/style.exp: Check that "main"'s name is styled.
1396
e86efb33
TT
13972020-10-07 Tom Tromey <tromey@adacore.com>
1398
1399 * gdb.base/find.exp: Rename some tests.
1400
30897591
GB
14012020-10-06 Gary Benson <gbenson@redhat.com>
1402
1403 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1404 * gdb.base/list1.c (unused): Likewise.
1405
ced4a4c1
GB
14062020-10-06 Gary Benson <gbenson@redhat.com>
1407
1408 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1409 __attribute__ ((used)).
1410 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1411
ed3bdac4
AB
14122020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1415 make use of regions throughout.
1416 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1417 not {...}.
1418 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1419
cd096ec8
HD
14202020-10-05 Hannes Domani <ssbssa@yahoo.de>
1421
1422 * gdb.base/call-sc.c: Fix return struct on stack test case.
1423 * gdb.base/call-sc.exp: Likewise.
1424
3ee6f75d
GB
14252020-10-02 Gary Benson <gbenson@redhat.com>
1426
1427 * README: Fix "paralell".
1428
f65825ec
GB
14292020-09-30 Gary Benson <gbenson@redhat.com>
1430
1431 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1432 Convert directive to lowercase.
1433 (.Labbrev1_begin): Add missing label.
1434 (abbrev code 0x1): Remove DW_AT_stmt_list.
1435 (.Ldie_b): Likewise.
1436
5f278258
TT
14372020-09-27 Tom Tromey <tom@tromey.com>
1438
1439 * gdb.tui/new-layout.exp: Use with_test_prefix.
1440
8f9929bb
GR
14412020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1442
1443 PR python/26586
1444 * gdb.python/python.exp: add test cases for the from_tty
1445 argument to gdb.execute.
1446
c20c017b
GB
14472020-09-25 Gary Benson <gbenson@redhat.com>
1448
1449 * gdb.base/infcall-nested-structs.exp.tcl: Add
1450 additional_flags=-Wno-tautological-compare for C++
1451 tests when compiling using Clang.
1452
68d654af
GB
14532020-09-25 Gary Benson <gbenson@redhat.com>
1454
1455 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1456 for .c files.
1457
b551a89f
TT
14582020-09-24 Tom Tromey <tromey@adacore.com>
1459
1460 PR tui/26638:
1461 * gdb.tui/list.exp: Check output of "focus next".
1462
20a5fcbd
TT
14632020-09-23 Tom Tromey <tom@tromey.com>
1464
1465 * gdb.dwarf2/intbits.exp: New file.
1466 * gdb.dwarf2/intbits.c: New file.
1467
b167e53f
PA
14682020-09-20 Pedro Alves <pedro@palves.net>
1469
1470 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1471 spawn_id before calling remote_close. Close secondary MI channel.
1472
dbc49e9f
PA
14732020-09-20 Pedro Alves <pedro@palves.net>
1474
1475 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1476 fails.
1477
c8d5abea
AB
14782020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1479
1480 * gdb.fortran/array-slices.exp: Update expected results.
1481 * gdb.fortran/class-allocatable-array.exp: Likewise.
1482 * gdb.fortran/multi-dim.exp: Likewise.
1483 * gdb.fortran/vla-type.exp: Likewise.
1484 * gdb.mi/mi-vla-fortran.exp: Likewise.
1485
14f9473c
VC
14862020-09-18 Victor Collod <vcollod@nvidia.com>
1487
1488 PR gdb/26635
1489 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1490 compatible with i386, and move it to...
1491 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1492 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1493 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1494
e8ef12b9
PA
14952020-09-18 Pedro Alves <pedro@palves.net>
1496
1497 PR gdb/26631
1498 * gdb.multi/multi-target-thread-find.exp: New file.
1499
e11daf7a
PA
15002020-09-18 Pedro Alves <pedro@palves.net>
1501
1502 * gdb.multi/multi-target-continue.exp: New file, factored out from
1503 multi-target.exp.
1504 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1505 multi-target.exp.
1506 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1507 multi-target.exp.
1508 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1509 multi-target.exp.
1510 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1511 multi-target.exp.
1512 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1513 multi-target.exp.
1514 * gdb.multi/multi-target.exp: Delete.
1515
d0edc2b8
AB
15162020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1517
1518 * gdb.fortran/array-slices.exp: Add missing message data.
1519
7474326c
PA
15202020-09-17 Pedro Alves <pedro@palves.net>
1521
1522 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1523
dd23068d
PA
15242020-09-17 Pedro Alves <pedro@palves.net>
1525
1526 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1527 full prototype.
1528
0640a543
PA
15292020-09-17 Pedro Alves <pedro@palves.net>
1530
1531 * gdb.python/py-as-string.c: Add cast.
1532
ef0cdbc1
PA
15332020-09-17 Pedro Alves <pedro@palves.net>
1534
1535 * gdb.base/sizeof.c (fill): Add cast.
1536
3a5eeb8b
PA
15372020-09-17 Pedro Alves <pedro@palves.net>
1538
1539 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1540
a8129512
PA
15412020-09-17 Pedro Alves <pedro@palves.net>
1542
1543 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1544 linkage name.
1545 * gdb.base/prologue.exp: Use print /d.
1546 * gdb.base/symbol-alias.exp: Handle C++ output.
1547 * gdb.base/symbol-alias2.c: Handle C++ output.
1548 [__cplusplus] (func): Explicitly specify linkage name.
1549
a83cdcb6
PA
15502020-09-17 Pedro Alves <pedro@palves.net>
1551
1552 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1553 (struct my_key_t): ... this. Adjust all references.
1554 (struct value_t): Rename to ...
1555 (struct my_value_t): ... this. Adjust all references.
1556 (create_map, add_map_element, create_map_map)
1557 (add_map_map_element): Add casts.
1558
d4bcee5c
PA
15592020-09-17 Pedro Alves <pedro@palves.net>
1560
1561 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1562 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1563
81f90489
PA
15642020-09-17 Pedro Alves <pedro@palves.net>
1565
1566 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1567
0a229804
PA
15682020-09-17 Pedro Alves <pedro@palves.net>
1569
1570 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1571 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1572 (charfoo, intfoo): Define full prototype.
1573 * gdb.base/ptype1.c (charfoo): Define full prototype.
1574 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1575 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1576
c3e5138d
PA
15772020-09-17 Pedro Alves <pedro@palves.net>
1578
1579 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1580 Don't define.
1581 (utf_32_string): Compile for both C and C++.
1582 * gdb.base/charset.exp: Use "print /d".
1583
151fdbad
PA
15842020-09-17 Pedro Alves <pedro@palves.net>
1585
1586 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1587 (nullptr): Rename to ...
1588 (null_ptr): ... this.
1589 * gdb.base/watchpoint.exp: Adjust to rename.
1590
18a25b64
PA
15912020-09-17 Pedro Alves <pedro@palves.net>
1592
1593 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1594 (three_not_flag): Add casts.
1595
11fac337
PA
15962020-09-17 Pedro Alves <pedro@palves.net>
1597
1598 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1599 char array.
1600 (main): Add references to Barrier, TestStrings, TestStringsH and
1601 TestStringsW.
1602 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1603 and expect a full prototype in C++.
1604
52626c58
PA
16052020-09-17 Pedro Alves <pedro@palves.net>
1606
1607 * gdb.base/nested-addr.c (main): Add cast.
1608 * gdb.base/nested-addr.exp: Use "print /d".
1609
52bb0902
PA
16102020-09-17 Pedro Alves <pedro@palves.net>
1611
1612 * gdb.base/break.exp (func): New. Use it throughout when
1613 expecting a function name.
1614
73e18ac9
PA
16152020-09-17 Pedro Alves <pedro@palves.net>
1616
1617 * gdb.base/display.exp: Issue "set print asm-demangle on".
1618
c8b18808
PA
16192020-09-17 Pedro Alves <pedro@palves.net>
1620
1621 * gdb.base/find.c: Include <string.h>.
1622 (init_bufs): Add cast.
1623 * gdb.base/find.exp: Issue "set print asm-demangle on".
1624
fe830662
TT
16252020-09-16 Tom Tromey <tromey@adacore.com>
1626
1627 PR gdb/26598:
1628 * gdb.base/skipcxx.exp: New file.
1629 * gdb.base/skipcxx.cc: New file.
1630
945ff6e2
TV
16312020-09-16 Tom de Vries <tdevries@suse.de>
1632
1633 PR testsuite/26617
1634 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1635 WITH_DEBUG_SECTIONS is defined.
1636 (xstr, str): New macro.
1637 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1638 to get start and size of _Dmain.
1639 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1640 using additional_flags.
1641
da1df1db
TBA
16422020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1643
1644 * gdb.base/bp-cmds-sourced-script.c: New file.
1645 * gdb.base/bp-cmds-sourced-script.exp: New test.
1646 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1647
337882d4
TV
16482020-09-16 Tom de Vries <tdevries@suse.de>
1649
1650 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1651 get the gdb prompt after issuing "monitor exit".
1652
7361f908
TV
16532020-09-16 Tom de Vries <tdevries@suse.de>
1654
1655 PR testsuite/26624
1656 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1657
4d91ddd3
TV
16582020-09-16 Tom de Vries <tdevries@suse.de>
1659
1660 PR testsuite/26618
1661 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1662
08cc37dd
TT
16632020-09-15 Tom Tromey <tromey@adacore.com>
1664
1665 PR rust/26197:
1666 * lib/rust-support.exp (rust_llvm_version): New proc.
1667 * gdb.rust/simple.exp: Check rust_llvm_version.
1668
ee6372f2
TV
16692020-09-14 Tom de Vries <tdevries@suse.de>
1670
1671 * gdb.rust/traits.exp: Fix PATH warning.
1672
dc3a371e
PA
16732020-09-13 Pedro Alves <pedro@palves.net>
1674
1675 * gdb.base/catch-follow-exec.c (main): Add explicit return
1676 statement.
1677 * gdb.base/catch-signal.c (main): Likewise.
1678 * gdb.base/condbreak-call-false.c (main): Likewise.
1679 * gdb.base/consecutive.c (main): Add explicit return
1680 statement and return type.
1681 * gdb.base/cursal.c (main): Add explicit return statement.
1682 * gdb.base/cvexpr.c (main): Likewise.
1683 * gdb.base/display.c (main): Add explicit return statement and
1684 return type.
1685 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1686 * gdb.base/endianity.c (main): Likewise.
1687 * gdb.base/execd-prog.c (main): Likewise.
1688 * gdb.base/gdb1090.c (main): Likewise.
1689 * gdb.base/info_qt.c (main): Likewise.
1690 * gdb.base/lineinc.c (main): Likewise.
1691 * gdb.base/load-command.c (main): Likewise.
1692 * gdb.base/macscp1.c (main): Likewise.
1693 * gdb.base/pr10179-a.c (main): Likewise.
1694 * gdb.base/quit-live.c (main): Likewise.
1695 * gdb.base/scope0.c (main): Likewise.
1696 * gdb.base/settings.c (main): Likewise.
1697 * gdb.base/stack-checking.c (main): Return int.
1698 * gdb.base/varargs.c (main): Add explicit return statement.
1699 * gdb.cp/ambiguous.cc (main): Likewise.
1700 * gdb.cp/anon-struct.cc (main): Likewise.
1701 * gdb.cp/anon-union.cc (main): Likewise.
1702 * gdb.cp/bool.cc (main): Likewise.
1703 * gdb.cp/bs15503.cc (main): Likewise.
1704 * gdb.cp/cplusfuncs.cc (main): Likewise.
1705 * gdb.cp/cttiadd.cc (main): Likewise.
1706 * gdb.cp/extern-c.cc (main): Likewise.
1707 * gdb.cp/filename.cc (main): Likewise.
1708 * gdb.cp/formatted-ref.cc (main): Likewise.
1709 * gdb.cp/mb-ctor.cc (main): Likewise.
1710 * gdb.cp/member-ptr.cc (main): Likewise.
1711 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1712 * gdb.cp/overload-const.cc (main): Likewise.
1713 * gdb.cp/paren-type.cc (main): Likewise.
1714 * gdb.cp/parse-lang.cc (main): Likewise.
1715 * gdb.cp/pr-1023.cc (main): Likewise.
1716 * gdb.cp/psmang1.cc (main): Likewise.
1717 * gdb.cp/readnow-language.cc (main): Likewise.
1718 * gdb.cp/ref-params.cc (main): Likewise.
1719 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1720 * gdb.cp/virtbase2.cc (main): Likewise.
1721 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1722 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1723 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1724 * gdb.mi/mi-console.c (main): Likewise.
1725 * gdb.mi/mi-read-memory.c (main): Likewise.
1726 * gdb.modula2/multidim.c (main): Likewise.
1727 * gdb.opt/inline-small-func.c (main): Likewise.
1728 * gdb.python/py-rbreak.c (main): Likewise.
1729 * gdb.stabs/exclfwd1.c (main): Likewise.
1730 * gdb.trace/qtro.c (main): Likewise.
1731
af26601c
PA
17322020-09-13 Pedro Alves <pedro@palves.net>
1733
1734 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1735 instead of getenv.
1736
2f4b83cd
PA
17372020-09-13 Pedro Alves <pedro@palves.net>
1738
1739 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1740 instead of spawning GDB with remote_spawn.
1741 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1742 gdb_spawn instead of spawning GDB with remote_spawn.
1743
c49da0e4
PA
17442020-09-13 Pedro Alves <pedro@palves.net>
1745
1746 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1747 file and add calls to first and second.
1748 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1749 add call to f.
1750
6791b117
PA
17512020-09-13 Pedro Alves <pedro@palves.net>
1752
1753 * gdb.mi/mi-break-qualified.cc: New file.
1754 * gdb.mi/mi-break-qualified.exp: New file.
1755 * lib/mi-support.exp (mi_create_breakpoint_multi)
1756 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1757 procedures.
1758 (mi_create_breakpoint_1): New, factored out from
1759 mi_create_breakpoint.
1760
3b8d4c5c
PA
17612020-09-13 Pedro Alves <pedro@palves.net>
1762
1763 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1764 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1765 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1766 (register_class): Delete.
1767 (main): Don't call register_class.
1768
d5f96005
PA
17692020-09-13 Pedro Alves <pedro@palves.net>
1770
1771 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1772 (do_tests): Remove "calling method for small class" test.
1773 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1774 (register_class): Delete.
1775 (main): Don't call register_class.
1776 * gdb.cp/call-method-register.exp: New file, based on bits removed
1777 from classes.exp.
1778 * gdb.cp/call-method-register.cc: New file, based on bits removed
1779 from classes.cc.
1780
77f2120b
PA
17812020-09-13 Pedro Alves <pedro@palves.net>
1782
1783 * gdb.base/msym-bp-2.c: New.
1784 * gdb.base/msym-bp-shl-lib.c: New file.
1785 * gdb.base/msym-bp-shl-main-2.c: New file.
1786 * gdb.base/msym-bp-shl-main.c: New file.
1787 * gdb.base/msym-bp-shl.exp: New file.
1788 * gdb.base/msym-bp.c: New file.
1789 * gdb.base/msym-bp.exp: New file.
1790
32aea73e
JB
17912020-09-13 Joel Brobecker <brobecker@adacore.com>
1792
1793 * gdb.base/default.exp: Change $_gdb_major to 11.
1794
2a67f09d
FW
17952020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1796 Felix Willgerodt <Felix.Willgerodt@intel.com>
1797
1798 * x86-avx512bf16.c: New file.
1799 * x86-avx512bf16.exp: Likewise.
1800 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1801
ad570dd7
TV
18022020-09-11 Tom de Vries <tdevries@suse.de>
1803
1804 PR exp/26602
1805 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1806
a56f7391
TBA
18072020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1808
1809 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1810
918619e5
AM
18112020-09-10 Alan Modra <amodra@gmail.com>
1812
1813 PR 26597
1814 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1815
cac1e71d
TV
18162020-09-08 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1819 after gdb_starti_cmd.
1820
c5cd900e
AKS
18212020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1822
1823 * lib/fortran.exp (fortran_complex8): New proc.
1824 (fortran_complex16): New proc.
1825 * gdb.fortran/complex.exp: Use routines from fortran.exp
1826 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1827 * gdb.fortran/vla-ptr-info.exp: Likewise.
1828
8f5c6526
TV
18292020-09-03 Tom de Vries <tdevries@suse.de>
1830
1831 PR breakpoint/26546
1832 * gdb.base/label-without-address.exp: Runto main first.
1833
02c6f3f1
TT
18342020-09-02 Tom Tromey <tromey@adacore.com>
1835
1836 * gdb.ada/mi_var_access.exp: Test children of access variable.
1837 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1838 * gdb.ada/mi_var_array.exp: Update.
1839
efe24f05
KB
18402020-08-31 Kevin Buettner <kevinb@redhat.com>
1841
1842 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1843 on docker w/ AUFS storage driver.
1844
973695d6
KB
18452020-08-31 Kevin Buettner <kevinb@redhat.com>
1846
1847 * gdb.base/corefile2.exp (renamed binfile): New tests.
1848
f3bd50f1
SM
18492020-08-31 Simon Marchi <simon.marchi@efficios.com>
1850
1851 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1852
22b9b4b0
SL
18532020-08-31 Simon Marchi <simon.marchi@efficios.com>
1854
1855 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1856 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1857
8efaf6b3
SM
18582020-08-31 Simon Marchi <simon.marchi@efficios.com>
1859
1860 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1861 output, printing a "not saved" value from history and printing a
1862 convenience variable created from a "not saved" value.
1863
e840f2e3
TV
18642020-08-31 Tom de Vries <tdevries@suse.de>
1865
1866 * gdb.base/eh_return.exp: Use nopie.
1867
8f57f343
PA
18682020-08-28 Pedro Alves <pedro@palves.net>
1869
1870 * gdb.base/advance-until-multiple-locations.exp
1871 (advance_overload, until_overload): Adjust to match the
1872 frame/function header instead of the source line text.
1873
626d2320
TV
18742020-08-28 Tom de Vries <tdevries@suse.de>
1875
1876 * gdb.base/label-without-address.c: New test.
1877 * gdb.base/label-without-address.exp: New file.
1878
df631783
PA
18792020-08-27 Pedro Alves <pedro@palves.net>
1880
1881 PR gdb/26523
1882 PR gdb/26524
1883 * gdb.base/advance-until-multiple-locations.cc: New.
1884 * gdb.base/advance-until-multiple-locations.exp: New.
1885
48b076bb
SM
18862020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1887
1888 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1889
c2015ce4
AB
18902020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1891
1892 * gdb.arch/amd64-byte.exp: Make test names unique, use
1893 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1894 * gdb.arch/amd64-dword.exp: Likewise.
1895 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1896 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1897 unique.
1898 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1899 * gdb.arch/amd64-word.exp: Make test names unique, use
1900 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1901 * gdb.arch/i386-byte.exp: Make test names unique, use
1902 gdb_breakpoint.
1903 * gdb.arch/i386-word.exp: Likewise.
1904
995d3a19
SV
19052020-08-25 Shahab Vahedi <shahab@synopsys.com>
1906
1907 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1908
8cac2b31
SM
19092020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1910
1911 PR gdb/26532
1912 * gdb.threads/stepi-random-signal.exp: Update pattern.
1913
2bc19622
SM
19142020-08-25 Simon Marchi <simon.marchi@efficios.com>
1915
1916 PR gdb/26532
1917 * gdb.base/ui-redirect.exp: Update pattern.
1918
b04aa1fc
GB
19192020-08-25 Gary Benson <gbenson@redhat.com>
1920
1921 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1922 when compiling with clang.
8571e9c8 1923 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1924
9f68b453
GB
19252020-08-25 Gary Benson <gbenson@redhat.com>
1926
1927 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1928 Add additional_flags=-Wno-inaccessible-base when compiling
1929 with GCC >= 10.1 or clang. Add additional_flags=-w when
1930 compiling with GCC < 10.
1931
3945d2d7
GM
19322020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1933
1934 PR m2/26372
fc5d6901
SM
1935 * gdb.modula2/multidim.c: New file.
1936 * gdb.modula2/multidim.exp: New file.
3945d2d7 1937
60122dbe
SM
19382020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1939
1940 * lib/gdb.exp (runto): Always emit fail on internal error.
1941
1eb8556f
SM
19422020-08-24 Simon Marchi <simon.marchi@efficios.com>
1943
1944 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1945 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1946 Likewise.
1947 * gdb.threads/stepi-random-signal.exp: Likewise.
1948
33bf4c5c
TBA
19492020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1950
1951 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1952 * gdb.trace/strace.exp: Ditto.
1953
c2fd7fae
AKS
19542020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1955
1956 * gdb.fortran/vla-type.exp: Skip commands not required for
1957 the Flang compiled binaries after prologue fix.
1958
326afb72
TT
19592020-08-17 Tom de Vries <tdevries@suse.de>
1960 Tom Tromey <tromey@adacore.com>
1961
1962 PR rust/26197:
1963 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1964
3ae7ab99
TT
19652020-08-17 Tom Tromey <tromey@adacore.com>
1966
1967 * gdb.ada/mi_var_access.exp: New file.
1968 * gdb.ada/mi_var_access/mi_access.adb: New file.
1969 * gdb.ada/mi_var_access/pck.adb: New file.
1970 * gdb.ada/mi_var_access/pck.ads: New file.
1971
f569c1c5
TV
19722020-08-16 Tom de Vries <tdevries@suse.de>
1973
1974 PR gdb/25350
1975 * gdb.base/eh_return.c: New test.
1976 * gdb.base/eh_return.exp: New file.
1977
3d11c30a
TV
19782020-08-15 Tom de Vries <tdevries@suse.de>
1979
1980 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1981 (mixed_func_1d_): Use fortran_charlen_t in decl.
1982
547ce8f0
TV
19832020-08-15 Tom de Vries <tdevries@suse.de>
1984
1985 PR backtrace/26390
1986 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1987 Update expected pattern.
1988
a54a7f13
PA
19892020-08-13 Pedro Alves <pedro@palves.net>
1990
1991 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1992 * gdb.fortran/library-module.exp: Likewise.
1993 * gdb.fortran/logical.exp: Likewise.
1994 * gdb.fortran/module.exp: Likewise.
1995 * gdb.fortran/print_type.exp: Likewise.
1996 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1997 * gdb.fortran/vla-datatypes.exp: Likewise.
1998 * gdb.fortran/vla-history.exp: Likewise.
1999 * gdb.fortran/vla-ptr-info.exp: Likewise.
2000 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2001 * gdb.fortran/vla-ptype.exp: Likewise.
2002 * gdb.fortran/vla-sizeof.exp: Likewise.
2003 * gdb.fortran/vla-type.exp: Likewise.
2004 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2005 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2006 * gdb.fortran/vla-value-sub.exp: Likewise.
2007 * gdb.fortran/vla-value.exp: Likewise.
2008
7a82e903
PA
20092020-08-13 Pedro Alves <pedro@palves.net>
2010
2011 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2012 * gdb.ada/access_to_packed_array.exp: Likewise.
2013 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2014 * gdb.ada/addr_arith.exp: Likewise.
2015 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2016 * gdb.ada/arr_arr.exp: Likewise.
2017 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2018 * gdb.ada/array_bounds.exp: Likewise.
2019 * gdb.ada/array_of_variable_length.exp: Likewise.
2020 * gdb.ada/array_ptr_renaming.exp: Likewise.
2021 * gdb.ada/array_subscript_addr.exp: Likewise.
2022 * gdb.ada/arraydim.exp: Likewise.
2023 * gdb.ada/arrayparam.exp: Likewise.
2024 * gdb.ada/arrayptr.exp: Likewise.
2025 * gdb.ada/assign_1.exp: Likewise.
2026 * gdb.ada/assign_arr.exp: Likewise.
2027 * gdb.ada/atomic_enum.exp: Likewise.
2028 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2029 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2030 * gdb.ada/bias.exp: Likewise.
2031 * gdb.ada/boolean_expr.exp: Likewise.
2032 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2033 * gdb.ada/bp_enum_homonym.exp: Likewise.
2034 * gdb.ada/bp_inlined_func.exp: Likewise.
2035 * gdb.ada/bp_on_var.exp: Likewise.
2036 * gdb.ada/bp_range_type.exp: Likewise.
2037 * gdb.ada/bp_reset.exp: Likewise.
2038 * gdb.ada/call_pn.exp: Likewise.
2039 * gdb.ada/catch_assert_if.exp: Likewise.
2040 * gdb.ada/catch_ex.exp: Likewise.
2041 * gdb.ada/catch_ex_std.exp: Likewise.
2042 * gdb.ada/char_enum.exp: Likewise.
2043 * gdb.ada/char_param.exp: Likewise.
2044 * gdb.ada/complete.exp: Likewise.
2045 * gdb.ada/cond_lang.exp: Likewise.
2046 * gdb.ada/convvar_comp.exp: Likewise.
2047 * gdb.ada/dgopt.exp: Likewise.
2048 * gdb.ada/disc_arr_bound.exp: Likewise.
2049 * gdb.ada/display_nested.exp: Likewise.
2050 * gdb.ada/dot_all.exp: Likewise.
2051 * gdb.ada/dyn_loc.exp: Likewise.
2052 * gdb.ada/dyn_stride.exp: Likewise.
2053 * gdb.ada/excep_handle.exp: Likewise.
2054 * gdb.ada/expr_delims.exp: Likewise.
2055 * gdb.ada/expr_with_funcall.exp: Likewise.
2056 * gdb.ada/exprs.exp: Likewise.
2057 * gdb.ada/fin_fun_out.exp: Likewise.
2058 * gdb.ada/fixed_cmp.exp: Likewise.
2059 * gdb.ada/formatted_ref.exp: Likewise.
2060 * gdb.ada/frame_arg_lang.exp: Likewise.
2061 * gdb.ada/frame_args.exp: Likewise.
2062 * gdb.ada/fullname_bp.exp: Likewise.
2063 * gdb.ada/fun_addr.exp: Likewise.
2064 * gdb.ada/fun_in_declare.exp: Likewise.
2065 * gdb.ada/fun_overload_menu.exp: Likewise.
2066 * gdb.ada/fun_renaming.exp: Likewise.
2067 * gdb.ada/funcall_char.exp: Likewise.
2068 * gdb.ada/funcall_param.exp: Likewise.
2069 * gdb.ada/funcall_ptr.exp: Likewise.
2070 * gdb.ada/funcall_ref.exp: Likewise.
2071 * gdb.ada/homonym.exp: Likewise.
2072 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2073 * gdb.ada/info_auto_lang.exp: Likewise.
2074 * gdb.ada/info_exc.exp: Likewise.
2075 * gdb.ada/info_types.exp: Likewise.
2076 * gdb.ada/int_deref.exp: Likewise.
2077 * gdb.ada/interface.exp: Likewise.
2078 * gdb.ada/iwide.exp: Likewise.
2079 * gdb.ada/lang_switch.exp: Likewise.
2080 * gdb.ada/length_cond.exp: Likewise.
2081 * gdb.ada/maint_with_ada.exp: Likewise.
2082 * gdb.ada/mi_catch_assert.exp: Likewise.
2083 * gdb.ada/mi_catch_ex.exp: Likewise.
2084 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2085 * gdb.ada/mi_dyn_arr.exp: Likewise.
2086 * gdb.ada/mi_ex_cond.exp: Likewise.
2087 * gdb.ada/mi_exc_info.exp: Likewise.
2088 * gdb.ada/mi_interface.exp: Likewise.
2089 * gdb.ada/mi_prot.exp: Likewise.
2090 * gdb.ada/mi_ref_changeable.exp: Likewise.
2091 * gdb.ada/mi_string_access.exp: Likewise.
2092 * gdb.ada/mi_task_arg.exp: Likewise.
2093 * gdb.ada/mi_task_info.exp: Likewise.
2094 * gdb.ada/mi_var_array.exp: Likewise.
2095 * gdb.ada/mi_var_union.exp: Likewise.
2096 * gdb.ada/mi_variant.exp: Likewise.
2097 * gdb.ada/minsyms.exp: Likewise.
2098 * gdb.ada/mod_from_name.exp: Likewise.
2099 * gdb.ada/nested.exp: Likewise.
2100 * gdb.ada/null_array.exp: Likewise.
2101 * gdb.ada/optim_drec.exp: Likewise.
2102 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2103 * gdb.ada/packed_array_assign.exp: Likewise.
2104 * gdb.ada/packed_tagged.exp: Likewise.
2105 * gdb.ada/pp-rec-component.exp: Likewise.
2106 * gdb.ada/print_chars.exp: Likewise.
2107 * gdb.ada/print_pc.exp: Likewise.
2108 * gdb.ada/ptr_typedef.exp: Likewise.
2109 * gdb.ada/ptype_arith_binop.exp: Likewise.
2110 * gdb.ada/ptype_array.exp: Likewise.
2111 * gdb.ada/ptype_field.exp: Likewise.
2112 * gdb.ada/ptype_tagged_param.exp: Likewise.
2113 * gdb.ada/ptype_union.exp: Likewise.
2114 * gdb.ada/py_range.exp: Likewise.
2115 * gdb.ada/py_taft.exp: Likewise.
2116 * gdb.ada/rdv_wait.exp: Likewise.
2117 * gdb.ada/rec_comp.exp: Likewise.
2118 * gdb.ada/rec_return.exp: Likewise.
2119 * gdb.ada/ref_param.exp: Likewise.
2120 * gdb.ada/ref_tick_size.exp: Likewise.
2121 * gdb.ada/rename_subscript_param.exp: Likewise.
2122 * gdb.ada/repeat_dyn.exp: Likewise.
2123 * gdb.ada/same_component_name.exp: Likewise.
2124 * gdb.ada/same_enum.exp: Likewise.
2125 * gdb.ada/scalar_storage.exp: Likewise.
2126 * gdb.ada/set_wstr.exp: Likewise.
2127 * gdb.ada/small_reg_param.exp: Likewise.
2128 * gdb.ada/str_binop_equal.exp: Likewise.
2129 * gdb.ada/str_ref_cmp.exp: Likewise.
2130 * gdb.ada/str_uninit.exp: Likewise.
2131 * gdb.ada/sub_variant.exp: Likewise.
2132 * gdb.ada/sym_print_name.exp: Likewise.
2133 * gdb.ada/taft_type.exp: Likewise.
2134 * gdb.ada/tagged.exp: Likewise.
2135 * gdb.ada/tagged_access.exp: Likewise.
2136 * gdb.ada/task_bp.exp: Likewise.
2137 * gdb.ada/task_switch_in_core.exp: Likewise.
2138 * gdb.ada/tasks.exp: Likewise.
2139 * gdb.ada/tick_last_segv.exp: Likewise.
2140 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2141 * gdb.ada/type_coercion.exp: Likewise.
2142 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2143 * gdb.ada/unchecked_union.exp: Likewise.
2144 * gdb.ada/uninitialized_vars.exp: Likewise.
2145 * gdb.ada/var_arr_attrs.exp: Likewise.
2146 * gdb.ada/var_arr_typedef.exp: Likewise.
2147 * gdb.ada/var_rec_arr.exp: Likewise.
2148 * gdb.ada/variant-record.exp: Likewise.
2149 * gdb.ada/variant.exp: Likewise.
2150 * gdb.ada/variant_record_packed_array.exp: Likewise.
2151 * gdb.ada/varsize_limit.exp: Likewise.
2152 * gdb.ada/whatis_array_val.exp: Likewise.
2153 * gdb.ada/widewide.exp: Likewise.
2154 * gdb.ada/win_fu_syms.exp: Likewise.
2155
21562020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2157
2158 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2159
10c381b5
AB
21602020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2161
2162 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2163 unset the array variable.
2164
8f34b746
TV
21652020-08-03 Tom de Vries <tdevries@suse.de>
2166
2167 PR symtab/26333
2168 * lib/dwarf.exp (DW_LNE_user): New proc.
2169 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2170 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2171
0245e136
KB
21722020-07-31 Kevin Buettner <kevinb@redhat.com>
2173
2174 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2175 to 'uintptr_t'
2176 (inttypes.h): Include.
2177
9ef1ec5d
KB
21782020-07-31 Kevin Buettner <kevinb@redhat.com>
2179
2180 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2181 (C5_24k): Delete.
2182 (C5_8k, C5_64k, C5_256k): New macros.
2183 (buf_ro): Allocate 256 KiB of initialized data.
2184
4c55e970
TBA
21852020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2186
2187 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2188 that attempt to overwrite an existing condition with a condition
2189 that fails parsing and also with a condition that parses fine
2190 but contains junk at the end.
2191
1e620590
TBA
21922020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2193
2194 * gdb.base/condbreak-bad.c: New test.
2195 * gdb.base/condbreak-bad.exp: New file.
2196
e12dcc50
TV
21972020-07-30 Tom de Vries <tdevries@suse.de>
2198
2199 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2200 out of ...
2201 (GDBInfoModuleSymbols::check_entry): ... here.
2202 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2203 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2204 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2205
6cc64caa
TV
22062020-07-30 Tom de Vries <tdevries@suse.de>
2207
2208 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2209 "__class_some_module_Number_t" optional.
2210
90fd07fc
TV
22112020-07-29 Tom de Vries <tdevries@suse.de>
2212
2213 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2214 multiple locations.
2215
f5c79e97
TV
22162020-07-29 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2219 rather than function name.
2220
f75a0693
AB
22212020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 PR symtab/26270:
2224 * gdb.cp/disasm-func-name.cc: New file.
2225 * gdb.cp/disasm-func-name.exp: New file.
2226
4888741a
TT
22272020-07-28 Tom Tromey <tromey@adacore.com>
2228
2229 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2230 'varval' location.
2231
43d5901d
AB
22322020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.python/py-unwind.py: Update to make use of a register
2235 descriptor.
2236
14fa8fb3
AB
22372020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2238
2239 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2240
e79eb02f
AB
22412020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2242
2243 PR fortran/23051
2244 PR fortran/26139
2245 * gdb.fortran/class-allocatable-array.exp: New file.
2246 * gdb.fortran/class-allocatable-array.f90: New file.
2247 * gdb.fortran/pointer-to-pointer.exp: New file.
2248 * gdb.fortran/pointer-to-pointer.f90: New file.
2249
876518dd
TV
22502020-07-25 Tom de Vries <tdevries@suse.de>
2251
2252 PR symtab/26243
2253 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2254 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2255
6dcfb80a
TV
22562020-07-24 Tom de Vries <tdevries@suse.de>
2257
2258 PR testsuite/26293
2259 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2260
e7bc9db8
PA
22612020-07-23 Pedro Alves <pedro@palves.net>
2262
2263 * gdb.server/server-kill.exp (prepare): New, factored out from the
2264 top level.
2265 (kill_server): New.
2266 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2267 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2268
78344df7
AB
22692020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2270
2271 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2272
25dfed24
SL
22732020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2274
2275 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2276 Initialize to empty string at top level.
2277 (gdb_wrapper_init): Revert check for file existence on build.
2278 Build the wrapper in its default place, not a build-specific
2279 location. When host == build, make the pathname absolute.
2280 (gdb_compile): Delete leftover declaration of
2281 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2282 string instead of uninitialized.
2283
7da515fd
KB
22842020-07-22 Kevin Buettner <kevinb@redhat.com>
2285
2286 * gdb.base/corefile2.exp: New file.
2287 * gdb.base/coremaker2.exp: New file.
2288
9c5ec5c2
KB
22892020-07-22 Kevin Buettner <kevinb@redhat.com>
2290
2291 * gdb.base/coredump-filter.exp: Add second
2292 non-Private-Shared-Anon-File test.
2293 (test_disasm): Rename binfile for test which is expected
2294 to fail.
2295
f9e233c9
KB
22962020-07-22 Kevin Buettner <kevinb@redhat.com>
2297
2298 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2299 data in core file".
2300 * gdb.base/coremaker.c (buf2ro): New global.
2301 (mmapdata): Add a read-only mmap mapping.
2302
94c265d7
KB
23032020-07-22 Kevin Buettner <kevinb@redhat.com>
2304
2305 PR corefiles/25631
2306 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2307 New test.
2308 * gdb.base/coremaker.c (buf3): New global.
2309 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2310 flags.
2311
23122020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2313
2314 * gdb.base/coremaker.c (filler_ro): New global constant.
2315
32fa152e
TT
23162020-07-22 Tom Tromey <tromey@adacore.com>
2317
2318 * gdb.ada/mi_prot.exp: New file.
2319 * gdb.ada/mi_prot/pkg.adb: New file.
2320 * gdb.ada/mi_prot/pkg.ads: New file.
2321 * gdb.ada/mi_prot/prot.adb: New file.
2322
c8474dc3
TBA
23232020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2324
2325 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2326 loads two JITers.
2327
baf8791e
AB
23282020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2329
2330 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2331
f7306dac
AB
23322020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2333
2334 * gdb.python/py-arch-reg-names.exp: Additional tests.
2335
6d3d6e4b
TV
23362020-07-21 Tom de Vries <tdevries@suse.de>
2337
2338 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2339 breakpoint locations".
2340 * gdb.reverse/solib-reverse.exp: Same.
2341
803d0592
TV
23422020-07-21 Tom de Vries <tdevries@suse.de>
2343
2344 * gdb.reverse/step-reverse.c (callee): Merge statements.
2345
e9bdc510
TV
23462020-07-21 Tom de Vries <tdevries@suse.de>
2347
2348 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2349 line numbers for some variables.
2350
f0f9e75a
TV
23512020-07-21 Tom de Vries <tdevries@suse.de>
2352
2353 * gdb.opt/inline-locals.c (init_array): New func.
2354 (func1): Use init_array.
2355 * gdb.opt/inline-locals.exp: Update pattern.
2356
bd460ecb
TV
23572020-07-21 Tom de Vries <tdevries@suse.de>
2358
2359 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2360 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2361
ae5369e7
LC
23622020-07-20 Ludovic Courtès <ludo@gnu.org>
2363
2364 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2365 * gdb.guile/types-module.exp: Remove "ERROR:" from
2366 regexps since Guile 3.0 no longer prints that.
2367
68cf161c
LC
23682020-07-20 Ludovic Courtès <ludo@gnu.org>
2369
2370 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2371 error regexp to match on Guile 2.2.
2372
c14b4913
GB
23732020-07-20 Gary Benson <gbenson@redhat.com>
2374
2375 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2376 with clang.
2377
b243ba58
TV
23782020-07-20 Tom de Vries <tdevries@suse.de>
2379
2380 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2381 (omp_set_lock_in_order): New function.
2382 (single_scope, multi_scope, nested_func, nested_parallel): Use
2383 omp_set_lock_in_order and omp_unset_lock.
2384 (main): Init and destroy lock and lock2.
2385
c06ad8b5
TV
23862020-07-20 Tom de Vries <tdevries@suse.de>
2387
2388 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2389
6e22f117
TV
23902020-07-20 Tom de Vries <tdevries@suse.de>
2391
2392 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2393
33176ea7
TV
23942020-07-17 Tom de Vries <tdevries@suse.de>
2395
2396 * gdb.base/valgrind-infcall-2.c: New test.
2397 * gdb.base/valgrind-infcall-2.exp: New file.
2398 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2399
90c3ec2d
TV
24002020-07-17 Tom de Vries <tdevries@suse.de>
2401
2402 * gdb.dlang/circular.c (found): Use found_label as label name.
2403 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2404 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2405 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2406 * gdb.dwarf2/ada-linkage-name.exp: Same.
2407 * gdb.dwarf2/arr-subrange.exp: Same.
2408 * gdb.dwarf2/atomic-type.exp: Same.
2409 * gdb.dwarf2/comp-unit-lang.exp: Same.
2410 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2411 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2412 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2413 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2414 * gdb.dwarf2/implptr-64bit.exp: Same.
2415 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2416 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2417 * gdb.dwarf2/imported-unit.exp: Same.
2418 * gdb.dwarf2/main-subprogram.exp: Same.
2419 * gdb.dwarf2/missing-type-name.exp: Same.
2420 * gdb.dwarf2/nonvar-access.exp: Same.
2421 * gdb.dwarf2/struct-with-sig.exp: Same.
2422 * gdb.dwarf2/typedef-void-finish.exp: Same.
2423 * gdb.dwarf2/void-type.exp: Same.
2424
10da644d
TV
24252020-07-17 Tom de Vries <tdevries@suse.de>
2426
2427 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2428 src parameter.
2429 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2430 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2431 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2432 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2433 * gdb.dwarf2/dwz.exp: Same.
2434 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2435 * gdb.dwarf2/implref-array.exp: Same.
2436 * gdb.dwarf2/implref-const.exp: Same.
2437 * gdb.dwarf2/implref-global.exp: Same.
2438 * gdb.dwarf2/implref-struct.exp: Same.
2439 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2440 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2441 * gdb.dwarf2/var-access.exp: Same.
2442 * gdb.dwarf2/varval.exp: Same.
2443 * gdb.trace/entry-values.exp: Same.
2444
315e6afc
TV
24452020-07-17 Tom de Vries <tdevries@suse.de>
2446
2447 * lib/dwarf.exp (Dwarf::extern): Remove.
2448 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2449 * gdb.dlang/circular.exp: Same.
2450 * gdb.dwarf2/comp-unit-lang.exp: Same.
2451 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2452 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2453 * gdb.dwarf2/dwz.exp: Same.
2454 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2455 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2456 * gdb.dwarf2/imported-unit.exp: Same.
2457 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2458
5597c940
SL
24592020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2460
2461 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2462 Use double quotes instead of single quotes.
2463
d0ce17d8
CT
24642020-07-16 Caroline Tice <cmtice@google.com>
2465
2466 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2467 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2468
853772cc
TV
24692020-07-16 Tom de Vries <tdevries@suse.de>
2470
2471 * lib/dwarf.exp (program): Initialize _line.
2472 (DW_LNE_end_sequence): Reinitialize _line.
2473 (DW_LNS_advance_line): Update _line.
2474 (line): New proc.
2475 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2476 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2477 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2478 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2479 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2480 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2481
fe07b572
AB
24822020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2483
2484 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2485 generic.
2486
52781cce
TV
24872020-07-15 Tom de Vries <tdevries@suse.de>
2488
2489 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2490 is_amd64_regs_target.
2491
3dcc261c
AB
24922020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2493
2494 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2495 * gdb.fortran/ptype-on-functions.f90: Likewise.
2496
054a0959
SM
24972020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2498
2499 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2500 values in documentation for addr_size to 4 and 8.
2501
ccb9eba6
AB
25022020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2503
2504 * gdb.arch/amd64-osabi.exp: Update.
2505 * gdb.arch/arm-disassembler-options.exp: Update.
2506 * gdb.arch/powerpc-disassembler-options.exp: Update.
2507 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2508 * gdb.arch/s390-disassembler-options.exp: Update.
2509 * gdb.base/all-architectures.exp.tcl: Update.
2510 * gdb.base/attach-pie-noexec.exp: Update.
2511 * gdb.base/catch-syscall.exp: Update.
2512 * gdb.xml/tdesc-arch.exp: Update.
2513
025a39a7
TV
25142020-07-14 Tom de Vries <tdevries@suse.de>
2515
2516 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2517 (local_gettid): ... this.
2518 (fn): Update.
2519
74e4b667
SL
25202020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2521
2522 * gdb.base/info_sources.exp: Skip directory match tests on
2523 remote hosts.
2524
f413dd74
GB
25252020-07-13 Gary Benson <gbenson@redhat.com>
2526
2527 * gdb.base/savedregs.exp (caller): Use parentheses to
2528 make expected expression evaluation ordering explicit.
2529
915771bb
GB
25302020-07-13 Gary Benson <gbenson@redhat.com>
2531
2532 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2533
2a122642
GB
25342020-07-13 Gary Benson <gbenson@redhat.com>
2535
2536 * gdb.base/bigcore.c (main): Use a volatile pointer when
2537 attempting to trigger a SIGSEGV.
2538 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2539 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2540 * gdb.base/savedregs.c (thrower): Likewise.
2541 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2542
3f00c730
GB
25432020-07-13 Gary Benson <gbenson@redhat.com>
2544
2545 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2546 defining and using VLA structure fields into...
2547 * gdb.base/vla-struct-fields.c: New file.
2548 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2549 tests into...
2550 * gdb.base/vla-struct-fields.exp: New file.
2551
963eeee4
TV
25522020-07-13 Tom de Vries <tdevries@suse.de>
2553
2554 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2555 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2556 * gdb.base/gold-gdb-index.exp: Same.
2557 * gdb.base/morestack.exp: Same.
2558
0ed35c9a
DX
25592020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2560
2561 PR rust/26121
2562 * gdb.rust/modules.rs: Prevent linker from discarding test
2563 symbol.
2564
4fdba23d
PA
25652020-07-10 Pedro Alves <pedro@palves.net>
2566
2567 PR gdb/26199
2568 * gdb.multi/multi-target.c (exit_thread): New.
2569 (thread_start): Break loop if EXIT_THREAD.
2570 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2571 (top level) Call test_no_resumed.
2572
15f3b077
TT
25732020-07-08 Tom Tromey <tromey@adacore.com>
2574
2575 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2576 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2577
9fc501fd
AB
25782020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2579
2580 PR python/22748
2581 * gdb.opt/inline-frame-tailcall.c: New file.
2582 * gdb.opt/inline-frame-tailcall.exp: New file.
2583 * gdb.python/py-unwind-inline.c: New file.
2584 * gdb.python/py-unwind-inline.exp: New file.
2585 * gdb.python/py-unwind-inline.py: New file.
2586
64cb3757
AB
25872020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * gdb.python/py-arch-reg-groups.exp: New file.
2590
0f767f94
AB
25912020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2592
2593 * gdb.python/py-arch-reg-names.exp: New file.
2594
87dbc774
AB
25952020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2598 gdb.PendingFrame.architecture method.
2599
d8cc8af6
TV
26002020-07-06 Tom de Vries <tdevries@suse.de>
2601
2602 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2603
3c8ea5be
PA
26042020-07-03 Pedro Alves <palves@redhat.com>
2605
2606 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2607 explicitly write negative numbers.
2608 * gdb.base/structs2.exp: Adjust expected output.
2609
bf90c83a
PA
26102020-07-03 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/charset.c (init_string): Change all char parameters to
2613 unsigned char parameters.
2614
2eb82157
PA
26152020-07-03 Pedro Alves <palves@redhat.com>
2616
2617 * gdb.base/call-sc.exp (start_scalars_test): Use
2618 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2619 * gdb.base/overlays.c: Remove references to PARAMS.
2620 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2621 * gdb.base/reread.exp: Don't set 'prototypes' global.
2622 * gdb.base/structs.exp (start_structs_test): Use
2623 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2624 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2625 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2626 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2627 call.
2628 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2629
9adda7af
PA
26302020-07-03 Pedro Alves <palves@redhat.com>
2631
2632 * gdb.base/m32rovly.c: Delete.
2633 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2634
2a17c803
PW
26352020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2636
2637 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2638 of gdb_py_test_multiple.
2639 * gdb.python/py-cmd.exp: Likewise.
2640 * gdb.python/py-events.exp: Likewise.
2641 * gdb.python/py-function.exp: Likewise.
2642 * gdb.python/py-inferior.exp: Likewise.
2643 * gdb.python/py-infthread.exp: Likewise.
2644 * gdb.python/py-linetable.exp: Likewise.
2645 * gdb.python/py-parameter.exp: Likewise.
2646 * gdb.python/py-value.exp: Likewise.
2647
b011fe1a
TV
26482020-06-30 Tom de Vries <tdevries@suse.de>
2649
2650 PR testsuite/26175
2651 * lib/future.exp (gdb_default_target_compile): Detect and handle
2652 early_flags.
2653
df5b8876
SM
26542020-06-29 Simon Marchi <simon.marchi@efficios.com>
2655
2656 * boards/simavr.exp (gdb_load): Catch errors when closing
2657 previous connection. Close connection, wait for process and
2658 unset simavr_spawn_id on failure.
2659
a3ca48cd
TV
26602020-06-29 Tom de Vries <tdevries@suse.de>
2661
2662 * lib/gdb.exp (unknown): Make test-case unresolved.
2663
b0237c0e
TV
26642020-06-29 Tom de Vries <tdevries@suse.de>
2665
2666 PR gdb/25475
2667 * gdb.server/solib-list.exp: Verify that the symbol reload
2668 confirmation question is asked.
2669
c0b3b3bd
PW
26702020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2671
2672 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2673 have a input seq nr in each pass message.
fe4c3d43 2674 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2675 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2676 * gdb.python/python.exp: Make test names unique,
2677 use gdb_test_multiline instead of gdb_py_test_multiple,
2678 use $gdb_test_name.
2679 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2680
1776e3e5
NA
26812020-06-26 Nick Alcock <nick.alcock@oracle.com>
2682
2683 * configure.ac: Add --enable-libctf.
2684 * aclocal.m4: sinclude ../config/enable.m4.
2685 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2686 * lib/gdb.exp (skip_ctf_tests): Use it.
2687 * gdb.base/ctf-constvars.exp: Error message tweak.
2688 * gdb.base/ctf-ptype.exp: Likewise.
2689 * configure: Regenerate.
2690
f53b3eeb
GB
26912020-06-26 Gary Benson <gbenson@redhat.com>
2692
2693 * gdb.cp/try_catch.cc: Include string.h.
2694 (main): Replace comparison against string literal with
2695 strcmp, avoiding build failure with -Wstring-compare.
2696 Add "marker test-complete".
2697 * gdb.cp/try_catch.exp: Run the test to the above marker,
2698 then verify that the value of "test" is still true.
2699
6d74da72
AB
27002020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2701
2702 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2703
2e52d038
AB
27042020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2705
2706 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2707
3b9fce96
AB
27082020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2709
2710 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2711 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2712 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2713 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2714 * gdb.arch/riscv-tdesc-loading.exp: New file.
2715
ed69cbc8
AB
27162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2717
2718 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2719
767a879e
AB
27202020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2723 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2724 * gdb.arch/riscv-tdesc-regs.c: New file.
2725 * gdb.arch/riscv-tdesc-regs.exp: New file.
2726
221db974
PA
27272020-06-24 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.arch/amd64-entry-value-paramref.exp: Use
2730 prepare_for_testing_full and don't pass "c++" for the .S file
2731 build spec.
2732 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2733 $options, since it's an assembly file. Remove -Wno-deprecated.
2734 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2735 compiling C++ programs.
2736
331733cd
PA
27372020-06-24 Pedro Alves <palves@redhat.com>
2738
2739 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2740 Clang, add "-Wno-unknown-warning-option" to the options.
2741
caa7fd04
AB
27422020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.xml/tdesc-reload.c: New file.
2745 * gdb.xml/tdesc-reload.exp: New file.
2746 * gdb.xml/maint-xml-dump-01.xml: New file.
2747 * gdb.xml/maint-xml-dump-02.xml: New file.
2748 * gdb.xml/maint-xml-dump.exp: New file.
2749
bb8d1260
SL
27502020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2751
2752 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2753 Adjust for omitted commands when TUI is disabled.
2754
7e4b9c4c
GB
27552020-06-23 Gary Benson <gbenson@redhat.com>
2756 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2759 * gdb.cp/nsimport.cc: Likewise.
2760 * gdb.cp/nsnested.cc: Likewise.
2761 * gdb.cp/nsnoimports.cc: Likewise.
2762 * gdb.cp/nsusing.cc: Likewise.
2763 * gdb.cp/smartp.cc: Likewise.
2764 * gdb.python/py-pp-integral.c: Likewise.
2765 * gdb.python/py-pp-re-notag.c: Likewise.
2766
2e573c0a
GB
27672020-06-23 Gary Benson <gbenson@redhat.com>
2768
2769 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2770 * gdb.cp/nsimport.cc: Likewise.
2771 * gdb.cp/nsnested.cc: Likewise.
2772 * gdb.cp/nsnoimports.cc: Likewise.
2773 * gdb.cp/nsusing.cc: Likewise.
2774 * gdb.cp/smartp.cc: Likewise.
2775 * gdb.python/py-pp-integral.c: Likewise.
2776 * gdb.python/py-pp-re-notag.c: Likewise.
2777
746ebfe8
PW
27782020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2779
2780 * gdb.base/default-args.exp: New test.
2781 * gdb.base/default-args.c: New file.
2782 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2783 * gdb.base/default.exp: Update to new help text.
2784 * gdb.base/help.exp: Likewise.
2785 * gdb.base/page.exp: Likewise.
2786 * gdb.base/style.exp: Likewise.
2787 * gdb.guile/guile.exp: Likewise.
2788 * gdb.python/python.exp: Likewise.
2789
e822f2cd
SL
27902020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2791
2792 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2793 remote host. Fix search path syntax on Windows host.
2794
48e9cc84
PW
27952020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2796
2797 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2798 over 'exec-file-mismatch'.
2799 * gdb.base/attach.c: Mark should_exit volatile.
2800 * gdb.base/attach2.c: Likewise. Add a comment explaining
2801 why the sleep cannot be big.
2802 * gdb.base/attach3.c: New file.
2803
160f8a8f
SL
28042020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2805
2806 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2807 prefix optional.
2808
4d91c2a4
SL
28092020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2810
2811 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2812 for remote host.
2813
87f83f20
SL
28142020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2815 Hafiz Abid Qadeer <abidh@codesourcery.com>
2816
2817 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2818 file sent to remote host.
2819 (top level): Allow int32_t as type of 32-bit register.
2820
37ab8655
TV
28212020-06-19 Tom de Vries <tdevries@suse.de>
2822
2823 * lib/gdb.exp (gdb_note): New proc.
2824 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2825 (gdb_default_target_compile): ... here. Only call
2826 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2827 (use_gdb_compile): Change to array.
2828 (toplevel): Update sets of use_gdb_compile to specify language.
2829 Warn about default_target_compile override. Store dejagnu's version
2830 of default_target_compile in dejagnu_default_target_compile.
2831
a8a56685
TV
28322020-06-18 Tom de Vries <tdevries@suse.de>
2833
2834 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2835 (default_gdb_init): ... here.
2836
581bea2c
SL
28372020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2838
2839 Fix TUI support checks in gdb.tui tests.
2840
2841 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2842 just say UNSUPPORTED.
2843 * gdb.tui/corefile-run.exp: Likewise.
2844 * gdb.tui/empty.exp: Likewise.
2845 * gdb.tui/list-before.exp: Likewise.
2846 * gdb.tui/list.exp: Likewise.
2847 * gdb.tui/main.exp: Likewise.
2848 * gdb.tui/regs.exp: Likewise.
2849 * gdb.tui/resize.exp: Likewise.
2850 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2851 * gdb.tui/tui-layout-asm.exp: Likewise.
2852 * gdb.tui/tui-missing-src.exp: Likewise.
2853 * gdb.tui/winheight.exp: Likewise.
2854 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2855
05e682e3
SL
28562020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2857
2858 Fix TCL error in gdb.python/py-format-string.exp.
2859
2860 * gdb.python/py-format-string.exp: Move test for python support
2861 earlier, out of function body.
2862
efb763a5
SM
28632020-06-15 Simon Marchi <simon.marchi@efficios.com>
2864
2865 * gdb.base/index-cache-load-twice.c: New.
2866 * gdb.base/index-cache-load-twice.exp: New.
2867
43327b20
KS
28682020-06-17 Keith Seitz <keiths@redhat.com>
2869
99cf27cf 2870 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2871 when executing "gdb --configuration".
2872
081e778c
TV
28732020-06-17 Tom de Vries <tdevries@suse.de>
2874
2875 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2876 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2877 conditional on presence of gdb_tcl_unknown.
2878 (gdb_finish): Make override undo conditional on presence of
2879 gdb_tcl_unknown.
2880
d2d1ea20
TT
28812020-06-16 Tom Tromey <tom@tromey.com>
2882
2883 * gdb.python/tui-window.py (failwin): New function. Register it
2884 as a TUI window type.
2885 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2886
c802e8a7
GB
28872020-06-16 Gary Benson <gbenson@redhat.com>
2888
2889 * gdb.python/py-nested-maps.c (create_map): Add missing return
2890 value.
2891 (create_map_map): Likewise.
2892
ff08abb8
TBA
28932020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2894
2895 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2896 variable.
2897 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2898 and use the already-defined 'options' variable.
2899
a29d5112
AB
29002020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2901 Tom de Vries <tdevries@suse.de>
2902
2903 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2904 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2905 (gdb_setup_known_globals): New proc.
2906 (gdb_cleanup_globals): New proc.
2907 * lib/gdb.exp (load_lib): New override proc.
2908 (gdb_stdin_log_init): Set var in_file as persistent global.
2909 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2910 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2911 fpc_compiler as persistent global.
2912
8c74a764
TV
29132020-06-12 Tom de Vries <tdevries@suse.de>
2914
2915 * lib/tuiterm.exp (spawn): Rename to ...
2916 (tui_spawn): ... this.
2917 (toplevel): Move rename of spawn ...
2918 (gdb_init_tuiterm): ... here. New proc.
2919 (gdb_finish_tuiterm): New proc.
2920 * lib/gdb.exp (gdb_finish_hooks): New global var.
2921 (gdb_finish): Handle gdb_finish_hooks.
2922 (tuiterm_env): New proc.
2923 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2924 tuiterm_env.
2925 * gdb.tui/basic.exp: Same.
2926 * gdb.tui/corefile-run.exp: Same.
2927 * gdb.tui/empty.exp: Same.
2928 * gdb.tui/list-before.exp: Same.
2929 * gdb.tui/list.exp: Same.
2930 * gdb.tui/main.exp: Same.
2931 * gdb.tui/new-layout.exp: Same.
2932 * gdb.tui/regs.exp: Same.
2933 * gdb.tui/resize.exp: Same.
2934 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2935 * gdb.tui/tui-layout-asm.exp: Same.
2936 * gdb.tui/tui-missing-src.exp: Same.
2937 * gdb.tui/winheight.exp: Same.
2938
26783bce
TV
29392020-06-12 Tom de Vries <tdevries@suse.de>
2940
2941 PR testsuite/26110
2942 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2943 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2944
2b4e6a3f
TT
29452020-06-11 Tom Tromey <tom@tromey.com>
2946
2947 PR gdb/18318:
2948 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2949 floating point tests.
2950
2f33032a
KS
29512020-06-11 Keith Seitz <keiths@redhat.com>
2952
2953 PR gdb/21356
2954 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2955 vla_struct.
2956 Add new struct vla_typedef and union vla_typedef_union and
2957 corresponding instantiation objects.
2958 Initialize new objects.
2959 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2960 and vla_typedef_union_object.
2961 Fixup type for vla_struct_object.
2962
a8baf0a3
TV
29632020-06-11 Tom de Vries <tdevries@suse.de>
2964
2965 * lib/gdb.exp (with_override): New proc, factored out of ...
2966 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2967
7ab96794
TV
29682020-06-10 Tom de Vries <tdevries@suse.de>
2969
2970 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2971
cab5c3b7
SM
29722020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2973
2974 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2975 parameter, update callers.
2976
f8c41851
SM
29772020-06-04 Simon Marchi <simon.marchi@efficios.com>
2978
2979 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2980 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2981 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2982
1c07a73f
TV
29832020-06-04 Tom de Vries <tdevries@suse.de>
2984
2985 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2986
95146b5d
TV
29872020-06-04 Tom de Vries <tdevries@suse.de>
2988
2989 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2990 exp_continue.
2991
0cfcd4f0
TV
29922020-06-04 Tom de Vries <tdevries@suse.de>
2993
2994 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2995
f9b5d5ea
TV
29962020-06-03 Tom de Vries <tdevries@suse.de>
2997
2998 PR symtab/26046
2999 * gdb.cp/breakpoint-locs-2.cc: New test.
3000 * gdb.cp/breakpoint-locs.cc: New test.
3001 * gdb.cp/breakpoint-locs.exp: New file.
3002 * gdb.cp/breakpoint-locs.h: New test.
3003
5144dfba
TV
30042020-06-03 Tom de Vries <tdevries@suse.de>
3005
3006 PR testsuite/25609
3007 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3008 value of global verbose.
3009 * gdb.base/jit-elf.exp: Same.
3010 * gdb.base/jit-reader.exp: Same.
3011
621eacdf
TV
30122020-06-02 Tom de Vries <tdevries@suse.de>
3013
3014 * gdb.dwarf2/multidictionary.exp: Don't use
3015 gdb_spawn_with_cmdline_opts.
3016
1313c56e
AB
30172020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3018
3019 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3020 use_header case.
3021 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3022 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3023 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3024 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3025 * gdb.dwarf2/dw2-inline-header.c: New file.
3026 * gdb.dwarf2/dw2-inline-header.h: New file.
3027
f68f85b5
PA
30282020-05-30 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3031 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3032
678048e8
GB
30332020-05-29 Gary Benson <gbenson@redhat.com>
3034
3035 * gdb.compile/compile-cplus.exp (additional_flags): Also
3036 set when building with clang.
3037 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3038 when building with clang.
3039
9fcafd23
GB
30402020-05-29 Gary Benson <gbenson@redhat.com>
3041
3042 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3043 building with clang.
3044 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3045
735d5a07
GB
30462020-05-29 Gary Benson <gbenson@redhat.com>
3047
3048 * gdb.cp/koenig.exp (prepare_for_testing): Add
3049 additional_flags=-Wno-unused-comparison.
3050 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3051
4ad2c6a0
GB
30522020-05-28 Gary Benson <gbenson@redhat.com>
3053
3054 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3055 statement.
3056
09fe663e
GB
30572020-05-28 Gary Benson <gbenson@redhat.com>
3058
3059 * gdb.cp/classes.exp (prepare_for_testing): Add
3060 additional_flags=-Wno-deprecated-register.
3061 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3062 * gdb.cp/misc.exp: Likewise.
3063
cee00f17
GB
30642020-05-28 Gary Benson <gbenson@redhat.com>
3065
3066 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3067 (test_op_new::operator new): Add return statement.
3068 (test_op_new_array::operator new[]): Likewise.
3069
636edd00
PA
30702020-05-27 Pedro Alves <palves@redhat.com>
3071
3072 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3073 check. Use test_gdb_complete_unique instead of
3074 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3075 test_gdb_complete_multiple instead of
3076 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3077
c2b75043
LM
30782020-05-27 Luis Machado <luis.machado@linaro.org>
3079
3080 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3081 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3082 * gdb.arch/arm-disassembler-options.exp: Likewise.
3083 * gdb.arch/arm-disp-step.exp: Likewise.
3084 * gdb.arch/thumb-prologue.exp: Likewise.
3085 * gdb.base/async.exp: Likewise.
3086 * gdb.base/auxv.exp: Likewise.
3087 * gdb.base/complex-parts.exp: Likewise.
3088 * gdb.base/ena-dis-br.exp: Likewise.
3089 * gdb.base/foll-exec.exp: Likewise.
3090 * gdb.base/permissions.exp: Likewise.
3091 * gdb.base/relocate.exp: Likewise.
3092 * gdb.base/return2.exp: Likewise.
3093 * gdb.base/sigbpt.exp: Likewise.
3094 * gdb.base/siginfo-obj.exp: Likewise.
3095 * gdb.cp/converts.exp: Likewise.
3096 * gdb.cp/exceptprint.exp: Likewise.
3097 * gdb.cp/inherit.exp: Likewise.
3098 * gdb.cp/nsnoimports.exp: Likewise.
3099 * gdb.cp/virtbase2.exp: Likewise.
3100 * gdb.mi/mi-var-cmd.exp: Likewise.
3101 * gdb.mi/var-cmd.c: Likewise.
3102
53a47a3e
TT
31032020-05-26 Tom Tromey <tromey@adacore.com>
3104
3105 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3106
0bc2354b
TT
31072020-05-26 Tom Tromey <tromey@adacore.com>
3108
3109 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3110 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3111 type.
3112 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3113 variable.
3114
0db49895
CBG
31152020-05-26 Christian Biesinger <cbiesinger@google.com>
3116
3117 * Makefile.in: Use = instead of == for the test command
3118 for portability.
3119
40d22035
TV
31202020-05-26 Tom de Vries <tdevries@suse.de>
3121
3122 * gdb.base/gold-gdb-index-2.c: New test.
3123 * gdb.base/gold-gdb-index.c: New test.
3124 * gdb.base/gold-gdb-index.exp: New file.
3125 * gdb.base/gold-gdb-index.h: New test.
3126
043e2e02
TV
31272020-05-25 Tom de Vries <tdevries@suse.de>
3128
3129 * boards/gold-gdb-index.exp: New file.
3130
462f72c5
SM
31312020-05-25 Simon Marchi <simon.marchi@efficios.com>
3132
3133 * boards/simavr.exp: New file.
3134
6cf66e76
SM
31352020-05-25 Simon Marchi <simon.marchi@efficios.com>
3136
3137 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3138 * gdb.base/inferior-args.exp: New file.
3139 * gdb.base/inferior-args.c: New file.
3140
75d04512
SM
31412020-05-25 Simon Marchi <simon.marchi@efficios.com>
3142
3143 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3144 inferior_args. Pass it to gdb_reload.
3145 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3146 inferior_args.
3147 (gdb_reload): Add inferior_args argument.
3148 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3149 pass it to gdbserver_run.
3150 * boards/native-gdbserver.exp: Do not set noargs.
3151 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3152 inferior_args argument.
3153 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3154 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3155 * gdb.base/args.exp: Likewise.
3156
42cf1844
TV
31572020-05-25 Tom de Vries <tdevries@suse.de>
3158
3159 * lib/gdb.exp (exec_is_pie): Add comment.
3160
8f7d38ef
TV
31612020-05-25 Tom de Vries <tdevries@suse.de>
3162
3163 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3164 instead of $binfile in the untested message.
3165
465e1b0f
TV
31662020-05-25 Tom de Vries <tdevries@suse.de>
3167
3168 PR testsuite/26031
3169 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3170
3c5a0e02
TV
31712020-05-25 Tom de Vries <tdevries@suse.de>
3172
3173 * boards/gold.exp: New file.
3174
0a4f5f8c
TT
31752020-05-23 Tom Tromey <tom@tromey.com>
3176
3177 * gdb.base/style.exp: Remove completion styling test.
3178 * lib/gdb-utils.exp (style): Remove completion styles.
3179
eca1f90c
TT
31802020-05-23 Tom Tromey <tom@tromey.com>
3181
3182 * gdb.base/style.exp: Add completion styling test.
3183 * lib/gdb-utils.exp (style): Add completion styles.
3184
7c13f4e8
AB
31852020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3186
3187 * gdb.base/annota1.exp: Update expected results.
3188 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3189 test name.
3190 * gdb.cp/annota3.exp: Update expected results.
3191
41977d16
SM
31922020-05-20 Simon Marchi <simon.marchi@efficios.com>
3193
3194 PR gdb/26016
3195 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3196 against MAP_FAILED.
3197 * gdb.base/coremaker.c (mmapdata): Likewise.
3198 * gdb.base/jit-reader-host.c (main): Likewise.
3199 * gdb.base/sym-file-loader.c (load): Likewise.
3200 (load_shlib): Likewise.
3201
b4757f2e
TT
32022020-05-20 Tom Tromey <tromey@adacore.com>
3203
3204 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3205
9a0bacfb
TV
32062020-05-20 Tom de Vries <tdevries@suse.de>
3207
3208 PR symtab/25833
3209 * gdb.base/with-mf-inc.c: New test.
3210 * gdb.base/with-mf-main.c: New test.
3211 * gdb.base/with-mf.exp: New file.
3212
76571211
TT
32132020-05-19 Tom Tromey <tromey@adacore.com>
3214
3215 * gdb.rust/simple.exp: Restore missing test result.
3216
4cd9f3d5
TV
32172020-05-19 Tom de Vries <tdevries@suse.de>
3218
3219 * gdb.base/gdb-caching-proc.exp: Fix typo.
3220
7d874253
TT
32212020-05-19 Tom Tromey <tromey@adacore.com>
3222
3223 * gdb.rust/simple.exp: Add some test descriptions.
3224 (test_one_slice): Use with_test_prefix.
3225
1d727695
TV
32262020-05-18 Tom de Vries <tdevries@suse.de>
3227
3228 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3229
7f32a4d5
PA
32302020-05-17 Pedro Alves <palves@redhat.com>
3231
3232 PR gdb/25741
3233 * gdb.base/hw-sw-break-same-address.exp: New file.
3234
7cfd74cf
PA
32352020-05-16 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3238 LAST_LOADED_FILE accordingly.
3239
57b4f16e
PW
32402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3241
3242 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3243
7c05caf7
PW
32442020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3245
3246 * gdb.base/help.exp: Test apropos and help for commands
3247 having aliases. Fixed comments not starting with an
3248 upper-case letter or not finishing with a dot.
3249
7aa1b46f
PW
32502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3251
3b3aaacb
PW
3252 * gdb.base/alias.exp: Update help output check.
3253
57b4f16e 32542020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3255
7aa1b46f
PW
3256 * gdb.base/default.exp: Update output following fixes.
3257
0605465f
PW
32582020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3259
3260 * gdb.base/alias.exp: Test aliases starting with a prefix of
3261 another alias.
3262
86e4e63d
GB
32632020-05-15 Gary Benson <gbenson@redhat.com>
3264
3265 * gdb.base/info-os.c (main): Add return statement.
3266 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3267 * gdb.base/large-frame-2.c (func): Likewise.
3268 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3269 * gdb.base/pr10179-b.c (foo2): Likewise.
3270 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3271 * gdb.base/watch-cond.c (func): Likewise.
3272 * gdb.multi/goodbye.c (verylongfun): Likewise.
3273 * gdb.multi/hello.c (commonfun): Likewise.
3274 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3275 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3276 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3277 Likewise.
3278 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3279 * gdb.threads/interrupt-while-step-over.c (child_function):
3280 Likewise.
3281 * gdb.trace/actions-changed.c (end): Likewise.
3282
163df4df
GB
32832020-05-15 Gary Benson <gbenson@redhat.com>
3284
3285 * gdb.opencl/callfuncs.exp: Report when test skipped.
3286 * gdb.opencl/convs_casts.exp: Likewise.
3287 * gdb.opencl/datatypes.exp: Likewise.
3288 * gdb.opencl/operators.exp: Likewise.
3289 * gdb.opencl/vec_comps.exp: Likewise.
3290
6dbc505a
TV
32912020-05-15 Tom de Vries <tdevries@suse.de>
3292
3293 * gdb.base/align.exp.in: Rename to ...
3294 * gdb.base/align.exp.tcl: ... this.
3295 * gdb.base/align-c++.exp: Update.
3296 * gdb.base/align-c.exp: Update.
3297 * gdb.base/all-architectures.exp.in: Rename to ...
3298 * gdb.base/all-architectures.exp: ... this.
3299 * gdb.base/all-architectures-0.exp: Update.
3300 * gdb.base/all-architectures-1.exp: Update.
3301 * gdb.base/all-architectures-2.exp: Update.
3302 * gdb.base/all-architectures-3.exp: Update.
3303 * gdb.base/all-architectures-4.exp: Update.
3304 * gdb.base/all-architectures-5.exp: Update.
3305 * gdb.base/all-architectures-6.exp: Update.
3306 * gdb.base/all-architectures-7.exp: Update.
3307 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3308 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3309 * gdb.base/infcall-nested-structs-c++.exp: Update.
3310 * gdb.base/infcall-nested-structs-c.exp: Update.
3311 * gdb.base/info-types.exp.in: Rename to ...
3312 * gdb.base/info-types.exp.tcl: ... this.
3313 * gdb.base/info-types-c++.exp: Update.
3314 * gdb.base/info-types-c.exp: Update.
3315 * gdb.base/max-depth.exp.in: Rename to ...
3316 * gdb.base/max-depth.exp.tcl: ... this.
3317 * gdb.base/max-depth-c++.exp: Update.
3318 * gdb.base/max-depth-c.exp: Update.
3319 * gdb.cp/cpexprs.exp.in: Rename to ...
3320 * gdb.cp/cpexprs.exp.tcl: ... this.
3321 * gdb.cp/cpexprs-debug-types.exp: Update.
3322 * gdb.cp/cpexprs.exp: Update.
3323 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3324 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3325 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3326 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3327 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3328 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3329 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3330 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3331 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3332 * gdb.dwarf2/clang-debug-names.exp: Update.
3333
d1034d78
AB
33342020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * lib/check-test-names.exp: Remove code that prevents this file
3337 loading when tests are run in parallel.
3338
3c5c3649
PA
33392020-05-15 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.multi/multi-kill.exp (start_inferior): Remove
3342 'testpid' parameter. Refer to namespace variable directly.
3343 (testpid): Declare as namespace variable.
3344
272c36b8
PA
33452020-05-15 Pedro Alves <palves@redhat.com>
3346
3347 * gdb.multi/multi-kill.exp: Wrap in namespace.
3348 (start_inferior): Add TESTPID parameter. Use it instead of the
3349 testpid global.
3350 (top level): Define empty TESTPID array, and pass it down to
3351 start_inferior.
3352
02eba61a
TV
33532020-05-14 Tom de Vries <tdevries@suse.de>
3354
3355 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3356 output.
3357
971a3747
TV
33582020-05-14 Tom de Vries <tdevries@suse.de>
3359
3360 * gdb.base/align.exp: Split into ...
3361 * gdb.base/align.exp.in: ...
3362 * gdb.base/align-c++.exp: ...
3363 * gdb.base/align-c.exp: ... these.
3364 * gdb.base/infcall-nested-structs.exp: Split into ...
3365 * gdb.base/infcall-nested-structs.exp.in: ...
3366 * gdb.base/infcall-nested-structs-c++.exp: ...
3367 * gdb.base/infcall-nested-structs-c.exp: ... these.
3368 * gdb.base/info-types.exp: Split into ...
3369 * gdb.base/info-types.exp.in: ...
3370 * gdb.base/info-types-c++.exp: ...
3371 * gdb.base/info-types-c.exp: ... these.
3372 * gdb.base/max-depth.exp: Split into ...
3373 * gdb.base/max-depth.exp.in: ...
3374 * gdb.base/max-depth-c++.exp: ...
3375 * gdb.base/max-depth-c.exp: ... these.
3376 * gdb.cp/infcall-nodebug.exp: Split into ...
3377 * gdb.cp/infcall-nodebug.exp.in: ...
3378 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3379 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3380 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3381 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3382
a05575d3
TBA
33832020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3384 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.multi/multi-exit.c: New file.
3387 * gdb.multi/multi-exit.exp: New file.
3388 * gdb.multi/multi-kill.c: New file.
3389 * gdb.multi/multi-kill.exp: New file.
3390
6ad82919
TBA
33912020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3392
3393 * gdb.base/annota1.exp: Update the expected output.
3394 * gdb.cp/annota2.exp: Ditto.
3395
843f4d93
AB
33962020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * lib/check-test-names.exp: Disable when testing is being run in
3399 parallel.
3400
c7c66341
TV
34012020-05-12 Tom de Vries <tdevries@suse.de>
3402
3403 * gdb.base/jit-elf.exp: Fix string concat.
3404
1b59ca1c
TV
34052020-05-12 Tom de Vries <tdevries@suse.de>
3406
3407 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3408 messages.
3409
b4991d29
TV
34102020-05-12 Tom de Vries <tdevries@suse.de>
3411
3412 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3413
dbb0ab10
TV
34142020-05-12 Tom de Vries <tdevries@suse.de>
3415
3416 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3417 * gdb.ada/mi_catch_ex.exp: Same.
3418 * gdb.ada/mi_catch_ex_hand.exp: Same.
3419
7549fed8
TV
34202020-05-12 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.fortran/complex.exp: Use with_test_prefix.
3423
af2d5cd8
TV
34242020-05-12 Tom de Vries <tdevries@suse.de>
3425
3426 * gdb.trace/passcount.exp: Fix test-names.
3427
7c121311
TV
34282020-05-12 Tom de Vries <tdevries@suse.de>
3429
3430 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3431
c9f3b40e
TV
34322020-05-12 Tom de Vries <tdevries@suse.de>
3433
3434 * gdb.gdb/complaints.exp: Use with_test_prefix.
3435 * gdb.xml/tdesc-regs.exp: Same.
3436 * gdb.opt/inline-locals.exp: Fix test name.
3437
111b33f0
TV
34382020-05-12 Tom de Vries <tdevries@suse.de>
3439
3440 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3441 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3442 * gdb.dwarf2/implref-struct.exp: Same.
3443 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3444 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3445
ebf47080
SM
34462020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3447
3448 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3449
d30dcd12
AB
34502020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * lib/check-test-names.exp (all_test_names): New module variable.
3453 (counts): Add 'duplicates' field.
3454 (_check_duplicates): New procedure.
3455 (check): Also check for duplicates.
3456 (do_log_summary): Print duplicates count.
3457 (do_reset_vars): Reset counter for duplicate test names, and
3458 discard all know test names.
3459
34584c09
AB
34602020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3461
3462 * lib/gdb.exp: Include check-test-names.exp library.
3463 * lib/check-test-names.exp: New file.
3464
e0002117
TV
34652020-05-11 Tom de Vries <tdevries@suse.de>
3466
3467 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3468
53f539a3
KS
34692020-05-11 Keith Seitz <keiths@redhat.com>
3470
3471 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3472
113ee09a
TV
34732020-05-11 Tom de Vries <tdevries@suse.de>
3474
3475 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3476 * gdb.cp/cpexprs.exp.in: .. here.
3477 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3478 cpexprs.exp.
3479
ba3e70b0
KS
34802020-05-11 Keith Seitz <keiths@redhat.com>
3481
3482 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3483 test names.
3484 * gdb.ada/arrayptr.exp: Likewise.
3485 * gdb.ada/assign_arr.exp: Likewise.
3486 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3487 * gdb.ada/bp_on_var.exp: Likewise.
3488 * gdb.ada/call_pn.exp: Likewise.
3489 * gdb.ada/complete.exp: Likewise.
3490 * gdb.ada/fun_overload_menu.exp: Likewise.
3491 * gdb.ada/funcall_param.exp: Likewise.
3492 * gdb.ada/funcall_ref.exp: Likewise.
3493 * gdb.ada/packed_array_assign.exp: Likewise.
3494 * gdb.ada/same_component_name.exp: Likewise.
3495 * gdb.ada/type_coercion.exp: Likewise.
3496 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3497 * gdb.ada/variant_record_packed_array.exp: Likewise.
3498
3ee6bb11
TV
34992020-05-11 Tom de Vries <tdevries@suse.de>
3500
3501 PR symtab/25941
3502 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3503 out of ...
3504 * gdb.dwarf2/clang-debug-names.exp: ... here.
3505 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3506 clang-debug-names.exp.in.
3507 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3508 * gdb.dwarf2/clang-debug-names-2.c: New test.
3509
86cd6bc8
AKS
35102020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3511
3512 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3513 (fortran_runto_main): New Proc, fortran version of runto_main.
3514 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3515 * gdb.fortran/array-bounds.exp: Likewise.
3516 * gdb.fortran/array-slices.exp: Likewise.
3517 * gdb.fortran/block-data.exp: Likewise.
3518 * gdb.fortran/charset.exp: Likewise.
3519 * gdb.fortran/common-block.exp: Likewise.
3520 * gdb.fortran/complex.exp: Likewise.
3521 * gdb.fortran/derived-type-function.exp: Likewise.
3522 * gdb.fortran/derived-type.exp: Likewise.
3523 * gdb.fortran/info-modules.exp: Likewise.
3524 * gdb.fortran/info-types.exp: Likewise.
3525 * gdb.fortran/intrinsics.exp: Likewise.
3526 * gdb.fortran/library-module.exp: Likewise.
3527 * gdb.fortran/logical.exp: Likewise.
3528 * gdb.fortran/max-depth.exp: Likewise.
3529 * gdb.fortran/module.exp: Likewise.
3530 * gdb.fortran/multi-dim.exp: Likewise.
3531 * gdb.fortran/nested-funcs.exp: Likewise.
3532 * gdb.fortran/print-formatted.exp: Likewise.
3533 * gdb.fortran/print_type.exp: Likewise.
3534 * gdb.fortran/printing-types.exp: Likewise.
3535 * gdb.fortran/ptr-indentation.exp: Likewise.
3536 * gdb.fortran/ptype-on-functions.exp: Likewise.
3537 * gdb.fortran/subarray.exp: Likewise.
3538 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3539 * gdb.fortran/vla-datatypes.exp: Likewise.
3540 * gdb.fortran/vla-history.exp: Likewise.
3541 * gdb.fortran/vla-ptr-info.exp: Likewise.
3542 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3543 * gdb.fortran/vla-ptype.exp: Likewise.
3544 * gdb.fortran/vla-sizeof.exp: Likewise.
3545 * gdb.fortran/vla-type.exp: Likewise.
3546 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3547 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3548 * gdb.fortran/vla-value-sub.exp: Likewise.
3549 * gdb.fortran/vla-value.exp: Likewise.
3550 * gdb.fortran/whatis_type.exp: Likewise.
3551 * gdb.mi/mi-var-child-f.exp: Likewise.
3552
6dc55ce9 35532020-05-09 Tom de Vries <tdevries@suse.de>
3554
3555 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3556
283cb58c
TV
35572020-05-08 Tom de Vries <tdevries@suse.de>
3558
3559 * gdb.dwarf2/clang-debug-names.c: New test.
3560 * gdb.dwarf2/clang-debug-names.exp: New file.
3561
ac4a4f1c
SM
35622020-05-06 Simon Marchi <simon.marchi@efficios.com>
3563
3564 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3565 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3566
24fe640b
TV
35672020-05-06 Tom de Vries <tdevries@suse.de>
3568
3569 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3570 breakpoint is at a "recommended breakpoint location".
3571 * gdb.reverse/consecutive-reverse.exp: Same.
3572
0d8683a3
TV
35732020-05-06 Tom de Vries <tdevries@suse.de>
3574
3575 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3576 address.
3577
b8983c46
TV
35782020-05-06 Tom de Vries <tdevries@suse.de>
3579
3580 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3581
abf6d805
TV
35822020-05-06 Tom de Vries <tdevries@suse.de>
3583
3584 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3585 info for r.
3586
0fc2a808
TV
35872020-05-06 Tom de Vries <tdevries@suse.de>
3588
3589 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3590 necessary.
3591
873dd427
TV
35922020-05-06 Tom de Vries <tdevries@suse.de>
3593
3594 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3595 void.
3596
7c99e7e2
TV
35972020-05-06 Tom de Vries <tdevries@suse.de>
3598
3599 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3600 of ...
3601 * gdb.base/async.exp: ... here.
3602 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3603 "recommended breakpoint location".
3604
6173d6a6
TV
36052020-05-06 Tom de Vries <tdevries@suse.de>
3606
3607 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3608
6015a067
TV
36092020-05-04 Tom de Vries <tdevries@suse.de>
3610
3611 * gdb.base/async.exp: Check whether instruction addresses are a
3612 "recommended breakpoint location".
3613
3b6acaee
TT
36142020-05-03 Tom Tromey <tom@tromey.com>
3615
3616 * gdb.base/sepdebug.exp: Remove "catch" test.
3617 * gdb.base/break.exp: Remove "catch" test.
3618 * gdb.base/default.exp: Update expected output.
3619
5beb4d17
TV
36202020-05-02 Tom de Vries <tdevries@suse.de>
3621
3622 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3623 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3624 * gdb.arch/i386-mpx-map.exp: Same.
3625 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3626 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3627 * gdb.arch/i386-mpx.exp: Same.
3628
8caf140d
TV
36292020-05-02 Tom de Vries <tdevries@suse.de>
3630
3631 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3632
693196cb
TV
36332020-05-01 Tom de Vries <tdevries@suse.de>
3634
3635 * gdb.ada/operator_bp.exp: Allow more than required amount of
3636 breakpoint.
3637
53ae0aa9
TV
36382020-05-01 Tom de Vries <tdevries@suse.de>
3639
3640 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3641
ee9d1e5f
HD
36422020-04-30 Hannes Domani <ssbssa@yahoo.de>
3643
3644 PR gdb/18706
3645 * gdb.cp/stub-array-size.cc: New test.
3646 * gdb.cp/stub-array-size.exp: New file.
3647 * gdb.cp/stub-array-size.h: New test.
3648 * gdb.cp/stub-array-size2.cc: New test.
3649
d5cf82c0
HD
36502020-04-30 Hannes Domani <ssbssa@yahoo.de>
3651
3652 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3653 output to the new format.
3654
42e165c3
SM
36552020-04-29 Simon Marchi <simon.marchi@efficios.com>
3656
3657 * gdb.base/break.exp: Use with_test_prefix.
3658
6e4e3fe1
TV
36592020-04-29 Tom de Vries <tdevries@suse.de>
3660
3661 * lib/gdb.exp (debug_types): New proc.
3662 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3663 * gdb.python/py-symtab.exp: Same.
3664
d642b692
HD
36652020-04-29 Hannes Domani <ssbssa@yahoo.de>
3666
3667 PR gdb/17320
3668 * gdb.base/pretty-array.c: New test.
3669 * gdb.base/pretty-array.exp: New file.
3670
ea90f227
TV
36712020-04-29 Tom de Vries <tdevries@suse.de>
3672
3673 PR symtab/25889
3674 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3675 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3676 and include cpexprs.exp.
3677
a65189c9
TV
36782020-04-28 Mark Williams <mark@myosotissp.com>
3679
3680 PR gdb/24480
3681 * dw4-toplevel-types.exp: Test for top level types.
3682 * dw4-toplevel-types.cc: Test for top level types.
3683
32d1f47a
TBA
36842020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3685
3686 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3687 (theads -> threads).
3688
56a4f5a1
TV
36892020-04-28 Tom de Vries <tdevries@suse.de>
3690
3691 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3692
0b2f8a3b
TV
36932020-04-28 Tom de Vries <tdevries@suse.de>
3694
3695 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3696
5390c717
TV
36972020-04-28 Tom de Vries <tdevries@suse.de>
3698
3699 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3700
15cd93d0
TV
37012020-04-28 Tom de Vries <tdevries@suse.de>
3702
3703 * gdb.dwarf2/main-foo.c: New test.
3704 * gdb.dwarf2/struct-with-sig.exp: New file.
3705
d472f0fb
TV
37062020-04-25 Tom de Vries <tdevries@suse.de>
3707
3708 * boards/debug-types.exp: New file.
3709
8d840e05
AB
37102020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3711
3712 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3713
bcfe6157
TT
37142020-04-24 Tom Tromey <tom@tromey.com>
3715
3716 PR symtab/12707:
3717 * gdb.python/py-symbol.exp: Update expected results for
3718 linkage_name test.
3719 * gdb.cp/print-demangle.exp: New file.
3720 * gdb.base/c-linkage-name.exp: Fix test.
3721 * gdb.guile/scm-symbol.exp: Update expected results for
3722 linkage_name test.
3723
f049a313
TT
37242020-04-24 Tom Tromey <tom@tromey.com>
3725
3726 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3727 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3728 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3729 assembler.
3730
7cf28874
TV
37312020-04-24 Tom de Vries <tdevries@suse.de>
3732
3733 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3734 C++.
3735
dac2fef7
TT
37362020-04-24 Tom Tromey <tromey@adacore.com>
3737
3738 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3739 values.
3740 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3741 values. Update test for minimal encodings.
3742 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3743 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3744 values. Update test for minimal encodings.
3745
1acda803
TT
37462020-04-24 Tom Tromey <tromey@adacore.com>
3747
3748 PR python/23662:
3749 * gdb.ada/variant.exp: Add Python checks.
3750 * gdb.rust/simple.exp: Add dynamic type checks.
3751
adfb9815
TT
37522020-04-24 Tom Tromey <tromey@adacore.com>
3753
3754 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3755 Make array type matching more lax.
3756 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3757 * gdb.ada/mi_variant.exp: New file.
3758 * gdb.ada/mi_variant/pck.ads: New file.
3759 * gdb.ada/mi_variant/pkg.adb: New file.
3760 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3761 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3762
7d79de9a
TT
37632020-04-24 Tom Tromey <tromey@adacore.com>
3764
3765 * gdb.ada/variant.exp: Add dynamic field offset tests.
3766 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3767 * gdb.ada/variant/pkg.adb: Add new variables.
3768
f8e89861
TT
37692020-04-24 Tom Tromey <tromey@adacore.com>
3770
3771 * gdb.ada/variant.exp: New file
3772 * gdb.ada/variant/pkg.adb: New file
3773 * gdb.ada/variant/pck.adb: New file
3774
86e887ae
TV
37752020-04-24 Tom de Vries <tdevries@suse.de>
3776
3777 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3778
88428775
TV
37792020-04-24 Tom de Vries <tdevries@suse.de>
3780
3781 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3782 flags.
3783
4e86f6e7
TV
37842020-04-24 Tom de Vries <tdevries@suse.de>
3785
3786 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3787
2016d3e6
TV
37882020-04-24 Tom de Vries <tdevries@suse.de>
3789
3790 * lib/gdb.exp (default_gdb_start): Handle eof.
3791 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3792 failure.
3793 * gdb.base/readnever.exp: Handle clean_restart failure.
3794
70bc38f5
TV
37952020-04-23 Tom de Vries <tdevries@suse.de>
3796
3797 * gdb.base/decl-before-def.exp: Run to main and print a again.
3798
de82891c
TV
37992020-04-23 Tom de Vries <tdevries@suse.de>
3800
3801 * gdb.base/decl-before-def-decl.c: New test.
3802 * gdb.base/decl-before-def-def.c: New test.
3803 * gdb.base/decl-before-def.exp: New file.
3804
96038148
TV
38052020-04-23 Tom de Vries <tdevries@suse.de>
3806
3807 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3808
54ac3df1
TV
38092020-04-22 Tom de Vries <tdevries@suse.de>
3810
3811 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3812 debug_info_offset.
3813 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3814 before $objsfile in the line line.
3815
714534e1
TV
38162020-04-22 Tom de Vries <tdevries@suse.de>
3817
3818 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3819
16a7dbf4
MS
38202020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3821
3822 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3823 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3824 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3825 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3826 * gdb.base/jit-protocol.h: Update definitions to match all usage
3827 contexts.
3828
38292020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3830
3831 * gdb.base: Rename all jit related test and source files.
3832
38332020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3834
3835 * gdb.base/jit-reader.exp: Relax register output check.
3836
317d2668
TV
38372020-04-22 Tom de Vries <tdevries@suse.de>
3838
3839 PR symtab/25764
3840 * gdb.base/psym-external-decl-2.c: New test.
3841 * gdb.base/psym-external-decl.c: New test.
3842 * gdb.base/psym-external-decl.exp: New file.
3843 * gdb.threads/tls.exp: Add PR25807 kfail.
3844
eea9e357
TV
38452020-04-22 Tom de Vries <tdevries@suse.de>
3846
3847 PR symtab/25801
3848 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3849 in "info source" output.
3850
3d5afab3
TV
38512020-04-22 Tom de Vries <tdevries@suse.de>
3852
3853 PR symtab/25700
3854 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3855 symtab for imported_unit.c.
3856
b32102f6
GB
38572020-04-21 Gary Benson <gbenson@redhat.com>
3858
3859 * gdb.base/advance.c (func): New argument, to match call site.
3860 (func2, func3): Add return statements.
3861
d43b7a2d
TBA
38622020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3863
3864 * gdb.multi/run-only-second-inf.c: New file.
3865 * gdb.multi/run-only-second-inf.exp: New file.
3866
d89edf9b
MM
38672020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3868
3869 * gdb.btrace/multi-inferior.c: New test.
3870 * gdb.btrace/multi-inferior.exp: New file.
3871
1a476b6d
MM
38722020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3873
3874 * gdb.btrace/enable-new-thread.c: New test.
3875 * gdb.btrace/enable-new-thread.exp: New file.
3876
4778a5f8
TV
38772020-04-21 Tom de Vries <tdevries@suse.de>
3878
3879 PR gdb/25471
3880 * gdb.threads/killed-outside.c: New test.
3881 * gdb.threads/killed-outside.exp: New file.
3882
9b2c992c
GB
38832020-04-20 Gary Benson <gbenson@redhat.com>
3884
3885 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3886 * gdb.base/nested-subp2.exp: Likewise.
3887 * gdb.base/nested-subp3.exp: Likewise.
3888
b5d1d6f7
GB
38892020-04-20 Gary Benson <gbenson@redhat.com>
3890
3891 * gdb.base/nested-subp1.exp: Disable test when using clang.
3892 * gdb.base/nested-subp2.exp: Likewise.
3893 * gdb.base/nested-subp3.exp: Likewise.
3894
25230285
GB
38952020-04-20 Gary Benson <gbenson@redhat.com>
3896
3897 * gdb.cp/exception.cc: Fix compilation error with clang.
3898
fa93cc8f
GB
38992020-04-20 Gary Benson <gbenson@redhat.com>
3900
809730f3 3901 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3902
e0c45f30
GB
39032020-04-20 Gary Benson <gbenson@redhat.com>
3904
3905 * gdb.base/jit-main.c: Fix compilation error with clang.
3906
4ddfec93
KR
39072020-04-17 Kamil Rytarowski <n54@gmx.com>
3908
3909 * gdb.base/attach-twice.c: Include "sys/types.h".
3910 (PTRACE_ATTACH): Add fallback definition.
3911 (main): Pass `0' to the 4th argument of `ptrace'.
3912
2bed205e
KR
39132020-04-17 Kamil Rytarowski <n54@gmx.com>
3914
3915 * gdb.base/fork-running-state.c: Include "signal.h".
3916
0743fc83
TT
39172020-04-17 Tom Tromey <tromey@adacore.com>
3918
3919 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3920 Update tests.
3921 * gdb.btrace/cpu.exp: Update tests.
3922 * gdb.base/maint.exp: Update tests.
3923 * gdb.base/default.exp: Update tests.
3924 * gdb.base/completion.exp: Update tests.
3925
efba5c23
TV
39262020-04-16 Tom de Vries <tdevries@suse.de>
3927
3928 PR symtab/25791
3929 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3930 (ensure_gdb_index): and factor out and move ...
3931 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3932 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3933
d191d716
TV
39342020-04-16 Tom de Vries <tdevries@suse.de>
3935
3936 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3937 loading exec.
3938
99f1bc6a
AB
39392020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3940
3941 * gdb.base/many-completions.exp: New file.
3942
194d088f
TV
39432020-04-14 Tom de Vries <tdevries@suse.de>
3944
3945 PR symtab/25718
3946 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3947
c1a66c06
TV
39482020-04-14 Tom de Vries <tdevries@suse.de>
3949
3950 PR symtab/25720
3951 * gdb.base/maint-expand-symbols-header-file.c: New test.
3952 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3953 * gdb.base/maint-expand-symbols-header-file.h: New test.
3954
21b0982c
AB
39552020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3956
3957 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3958 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3959 get_func_info.
3960 (get_func_info): Delete.
3961 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3962 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3963 * lib/dwarf.exp (get_func_info): New function.
3964
dd1cab06
TV
39652020-04-13 Tom de Vries <tdevries@suse.de>
3966
3967 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3968 to what find_gnatmake does.
3969
71ea2b6b
TV
39702020-04-10 Tom de Vries <tdevries@suse.de>
3971
3972 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3973 -readnow.
3974
bdfc1e8a
TV
39752020-04-10 Tom de Vries <tdevries@suse.de>
3976
3977 PR cli/25808
3978 * gdb.base/style.c: Add leading newlines.
3979 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3980 Check listing of main's one-line body.
3981
14ca8ecf
TV
39822020-04-08 Tom de Vries <tdevries@suse.de>
3983
3984 * lib/gdb.exp (psymtabs_p): New proc.
3985 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3986 importing unit" unsupported if there are no partial symbols.
3987
e21d048f
TV
39882020-04-08 Tom de Vries <tdevries@suse.de>
3989
3990 PR testsuite/25760
3991 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3992
25c11aca
TV
39932020-04-07 Tom de Vries <tdevries@suse.de>
3994
3995 PR symtab/25796
3996 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3997
5707e24b
TV
39982020-04-07 Tom de Vries <tdevries@suse.de>
3999
4000 * gdb.base/check-psymtab.c: New test.
4001 * gdb.base/check-psymtab.exp: New file.
4002
6ee448cc
TT
40032020-04-06 Tom Tromey <tromey@adacore.com>
4004
4005 * gdb.ada/variant-record/proc.adb: New file.
4006 * gdb.ada/variant-record/value.adb: New file.
4007 * gdb.ada/variant-record/value.s: New file.
4008 * gdb.ada/variant-record.exp: New file.
4009
9e7c9a03
HD
40102020-04-03 Hannes Domani <ssbssa@yahoo.de>
4011
4012 PR gdb/25325
4013 * gdb.cp/typed-enum.cc: New test.
4014 * gdb.cp/typed-enum.exp: New file.
4015
c90d28ac
AB
40162020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4017
4018 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4019 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4020 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4021 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4022 * gdb.opt/inline-small-func.c: New file.
4023 * gdb.opt/inline-small-func.exp: New file.
4024 * gdb.opt/inline-small-func.h: New file.
4025
34e9a9fa
AB
40262020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4027
4028 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4029 function.
4030
6a354911
AB
40312020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4032
4033 * lib/dwarf.exp (function_range): Allow compiler options to be
4034 specified.
4035
880d9777
TV
40362020-04-02 Tom de Vries <tdevries@suse.de>
4037
4038 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4039 __attribute__((always_inline)).
4040 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4041
f32682ea
TV
40422020-04-02 Tom de Vries <tdevries@suse.de>
4043
4044 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4045 (gdbserver_gdb_exit): ... here. Add timeout warning.
4046 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4047 (connect_target_extended_remote): Append new server_spawn_id to
4048 server_spawn_ids.
4049 (cleanup): New proc.
4050 (setup, <toplevel>): Call cleanup.
4051
d3214198
TV
40522020-04-02 Tom de Vries <tdevries@suse.de>
4053
4054 * gdb.base/main-psymtab.exp: New file.
4055
cc77ed24
TV
40562020-04-02 Tom de Vries <tdevries@suse.de>
4057
4058 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4059
3638a098
TT
40602020-04-01 Tom Tromey <tom@tromey.com>
4061
4062 * gdb.base/complex-parts.exp: Add type tests.
4063
c34e8714
TT
40642020-04-01 Tom Tromey <tom@tromey.com>
4065
4066 * gdb.base/complex-parts.exp: Add arithmetic tests.
4067
981c08ce
TT
40682020-04-01 Tom Tromey <tom@tromey.com>
4069
4070 * gdb.compile/compile.exp: Update.
4071 * gdb.compile/compile-cplus.exp: Update.
4072 * gdb.base/varargs.exp: Update.
4073 * gdb.base/floatn.exp: Update.
4074 * gdb.base/endianity.exp: Update.
4075 * gdb.base/callfuncs.exp (do_function_calls): Update.
4076 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4077 (complex_float_integral_args): Update.
4078 * gdb.base/complex.exp: Update.
4079 * gdb.base/complex-parts.exp: Update.
4080
3d1cfd43
TT
40812020-04-01 Tom Tromey <tromey@adacore.com>
4082
4083 * gdb.rust/union.rs: New file.
4084 * gdb.rust/union.exp: New file.
4085 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4086 (main): Update.
4087 * gdb.rust/simple.exp: Move union tests to union.exp.
4088
e033dfa9
TT
40892020-04-01 Tom Tromey <tromey@adacore.com>
4090
4091 * gdb.rust/simple.rs (main): Remove "y0".
4092
53cccef1
TBA
40932020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4094
4095 * gdb.multi/stop-all-on-exit.c: New test.
4096 * gdb.multi/stop-all-on-exit.exp: New file.
4097
60e22c1e
HD
40982020-04-01 Hannes Domani <ssbssa@yahoo.de>
4099
4100 PR gdb/24789
4101 * gdb.cp/misc.cc: Add integer reference variable.
4102 * gdb.cp/misc.exp: Add test.
4103
e139a727
TBA
41042020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4105
4106 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4107 scenario to cover execution until the end and also the case
4108
16b0db75
TV
41092020-03-31 Tom de Vries <tdevries@suse.de>
4110
4111 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4112 c. Use "maint info symtabs" to check symtab expansion.
4113
c0502da6
TV
41142020-03-30 Tom de Vries <tdevries@suse.de>
4115
4116 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4117 unsupported.
4118 (verify_psymtab_expanded): Move ...
4119 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4120 test.
4121 (readnow): New proc.
4122
5935fd15
AB
41232020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4126 with $hex.
4127
1773be9e
TT
41282020-03-20 Tom Tromey <tromey@adacore.com>
4129
4130 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4131
70304be9
TT
41322020-03-20 Tom Tromey <tromey@adacore.com>
4133
4134 * gdb.ada/sub_variant/subv.adb: New file.
4135 * gdb.ada/sub_variant.exp: New file.
4136
0dd7b8f7
TV
41372020-03-20 Tom de Vries <tdevries@suse.de>
4138
4139 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4140 first break fails.
4141 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4142
cada5fc9
AB
41432020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * gdb.server/exit-multiple-threads.c: New file.
4146 * gdb.server/exit-multiple-threads.exp: New file.
4147
6b8c53f2
AB
41482020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4149
4150 * gdb.fortran/mixed-lang-stack.c: New file.
4151 * gdb.fortran/mixed-lang-stack.cpp: New file.
4152 * gdb.fortran/mixed-lang-stack.exp: New file.
4153 * gdb.fortran/mixed-lang-stack.f90: New file.
4154
19a2740f
AB
41552020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4156
4157 * gdb.linespec/cp-completion-aliases.cc: New file.
4158 * gdb.linespec/cp-completion-aliases.exp: New file.
4159
d8c8b848
TV
41602020-03-19 Tom de Vries <tdevries@suse.de>
4161
4162 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4163 more precise.
4164
a9933ccf
TV
41652020-03-18 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4168 * gdb.dwarf2/break-inline-psymtab.c: New test.
4169 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4170
2f89101f
TV
41712020-03-16 Tom de Vries <tdevries@suse.de>
4172
4173 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4174 cache_verify and cache_verify_proc.
4175
6b9374f1
TV
41762020-03-15 Tom de Vries <tdevries@suse.de>
4177
4178 * gdb.server/solib-list.exp: Handle
4179 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4180
eaeaf44c
TV
41812020-03-15 Tom de Vries <tdevries@suse.de>
4182
4183 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4184 objfiles".
4185
3293bbaf
TT
41862020-03-14 Tom Tromey <tom@tromey.com>
4187
4188 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4189
ab44624c
TV
41902020-03-14 Tom de Vries <tdevries@suse.de>
4191
4192 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4193
54c43825
TV
41942020-03-14 Tom de Vries <tdevries@suse.de>
4195
4196 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4197 result in line-by-line fashion.
4198
2ac70237
TV
41992020-03-14 Tom de Vries <tdevries@suse.de>
4200
4201 * lib/gdb.exp (supports_statement_frontiers): New proc.
4202 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4203
09546b56
TV
42042020-03-14 Tom de Vries <tdevries@suse.de>
4205
4206 * gdb.base/printcmds.exp: Add missing quoting for "print
4207 teststring2".
4208
a1f6a07c
TT
42092020-03-13 Tom Tromey <tom@tromey.com>
4210
4211 * gdb.base/printcmds.exp (test_print_strings): Add regression
4212 test.
4213 * gdb.base/printcmds.c (charptr): New typedef.
4214 (teststring2): New global.
4215
1b83d09c
AB
42162020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4217
4218 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4219 full path in the test name.
4220 (test_ld): Add some with_test_prefix blocks to make test names
4221 unique.
4222
2d61316c
TV
42232020-03-13 Tom de Vries <tdevries@suse.de>
4224
4225 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4226
2e9145ac
TV
42272020-03-13 Tom de Vries <tdevries@suse.de>
4228
4229 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4230
96c7f873
TV
42312020-03-13 Tom de Vries <tdevries@suse.de>
4232
4233 PR symtab/25646
4234 * gdb.dwarf2/imported-unit.exp: Add test.
4235
49ba92c0
TV
42362020-03-13 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4239 (var1, var2): New variable.
4240 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4241 matching symbols.
4242
301b21e0
TV
42432020-03-13 Tom de Vries <tdevries@suse.de>
4244
4245 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4246 (Term::command): Use prompt prefix.
4247 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4248 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4249 command_no_prompt_prefix instead of prefix.
4250 * gdb.tui/tui-layout-asm.exp: Same.
4251
3f512721
SM
42522020-03-12 Simon Marchi <simon.marchi@efficios.com>
4253
4254 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4255
40310f30
SM
42562020-03-12 Simon Marchi <simon.marchi@efficios.com>
4257
4258 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4259 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4260 on" while stepping over the test instruction, match printed
4261 message.
4262
09252140
TV
42632020-03-12 Tom de Vries <tdevries@suse.de>
4264
4265 * gdb.base/info-types.exp: Use exp_continue during matching of output
4266 of "info types".
4267
14e9c72c
TV
42682020-03-12 Tom de Vries <tdevries@suse.de>
4269
4270 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4271
e515d67e
TV
42722020-03-12 Tom de Vries <tdevries@suse.de>
4273
4274 * gdb.fortran/module.exp: Use exp_continue during matching of output
4275 of "info variable -n".
4276
307eafd8
TV
42772020-03-12 Tom de Vries <tdevries@suse.de>
4278
4279 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4280 gdb.dwarf2/dw2-ranges-base.c.
4281
9a2de3fc
TV
42822020-03-12 Tom de Vries <tdevries@suse.de>
4283
4284 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4285 in presence of GLIBC debuginfo.
4286
3217502e
TV
42872020-03-12 Tom de Vries <tdevries@suse.de>
4288
4289 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4290 $core.
4291
1281424c
TV
42922020-03-12 Tom de Vries <tdevries@suse.de>
4293
4294 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4295 more precise.
4296
038b97fc
SM
42972020-03-11 Simon Marchi <simon.marchi@efficios.com>
4298
4299 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4300 from Unix to Windows path.
4301
5308d1e7
TV
43022020-03-11 Tom de Vries <tdevries@suse.de>
4303
4304 * gdb.ada/minsyms.exp: Set language to ada.
4305
f870f78f
TV
43062020-03-11 Tom de Vries <tdevries@suse.de>
4307
4308 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4309
5a13315d
TV
43102020-03-11 Tom de Vries <tdevries@suse.de>
4311
4312 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4313
976862ed
TT
43142020-03-11 Tom Tromey <tromey@adacore.com>
4315
4316 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4317
7462c383
TV
43182020-03-11 Tom de Vries <tdevries@suse.de>
4319
4320 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4321
1c6c46a0
TV
43222020-03-11 Tom de Vries <tdevries@suse.de>
4323
4324 * gdb.base/break-interp.exp: Limit verbose scope.
4325
44f41bb7
TV
43262020-03-11 Tom de Vries <tdevries@suse.de>
4327
4328 * gdb.fortran/logical.f90: Define variable with character type.
4329 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4330
b76f3a42
TV
43312020-03-11 Tom de Vries <tdevries@suse.de>
4332
4333 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4334
1c33af77
TV
43352020-03-11 Tom de Vries <tdevries@suse.de>
4336
4337 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4338 symtabs.
4339
8c95582d
AB
43402020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4341 Bernd Edlinger <bernd.edlinger@hotmail.de>
4342
4343 * gdb.cp/step-and-next-inline.cc: New file.
4344 * gdb.cp/step-and-next-inline.exp: New file.
4345 * gdb.cp/step-and-next-inline.h: New file.
4346 * gdb.dwarf2/dw2-is-stmt.c: New file.
4347 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4348 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4349 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4350 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4351
cecf8547
AB
43522020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4353
4354 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4355 is-stmt flag in the line table.
4356
0ba678c9
TV
43572020-03-09 Tom de Vries <tdevries@suse.de>
4358
4359 * lib/gdb.exp (cached_file): Create cache dir.
4360
72fbdf83
TV
43612020-03-07 Tom de Vries <tdevries@suse.de>
4362
4363 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4364 * gdb.cp/rvalue-ref-params.exp: Same.
4365
436b5e99
TV
43662020-03-06 Tom de Vries <tdevries@suse.de>
4367
4368 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4369 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4370
09f2921c
TV
43712020-03-06 Tom de Vries <tdevries@suse.de>
4372
4373 * README: Fix "the the".
4374 * gdb.base/dprintf.exp: Same.
4375
50a3cc5d
TV
43762020-03-05 Tom de Vries <tdevries@suse.de>
4377
4378 * gdb.base/maint.exp: Update "main print statistics" expected output.
4379
0a709cba
AKS
43802020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4381
4382 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4383 (fortran_int8): Likewise.
4384 (fortran_real4): Likewise.
4385 (fortran_real8): Likewise.
4386 (fortran_complex4): Likewise.
4387 (fortran_logical4): Likewise.
4388 (fortran_character1): Likewise.
4389
5e5d66b6
AB
43902020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4391
4392 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4393 printed as true.
4394
7b973adc
SDJ
43952020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4396
4397 * gdb.base/printcmds.exp: Add test to verify printf of a
4398 variable holding an address.
4399
478e490a
TV
44002020-03-03 Tom de Vries <tdevries@suse.de>
4401
4402 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4403
1ef44e86
TV
44042020-03-03 Tom de Vries <tdevries@suse.de>
4405
4406 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4407 gdb_test_multiple call.
4408
b98cc2cf
TV
44092020-03-03 Tom de Vries <tdevries@suse.de>
4410
4411 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4412 gdb_test_multiple calls.
4413
63e163f2
AB
44142020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4415
4416 * gdb.base/default.exp: Remove test of 'set history filename'.
4417 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4418 filename to the empty string.
4419 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4420 and GDBHISTSIZE.
4421
24ed6739
AB
44222020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4423
4424 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4425 disabled.
4426
590003dc 44272020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4428 Tom de Vries <tdevries@suse.de>
590003dc
TV
4429
4430 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4431 -prompt prefix, before user_code argument. Add -lbl option likewise.
4432 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4433 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4434 argument.
4435 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4436 have "\r\n" at start-of-line, instead of at end-of-line.
4437
f5e46084
SM
44382020-02-28 Simon Marchi <simon.marchi@efficios.com>
4439
4440 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4441 libinproctrace.so.
4442
f7a7000d
LM
44432020-02-28 Luis Machado <luis.machado@linaro.org>
4444
4445 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4446 to "p/x".
4447
718e0816
LM
44482020-02-28 Luis Machado <luis.machado@linaro.org>
4449
4450 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4451 asm/ptrace.h and error.h.
4452
13c3a74a
TV
44532020-02-28 Tom de Vries <tdevries@suse.de>
4454
4455 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4456 (struct wrapper, do_something, mundane/symada__cS): Move ...
4457 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4458 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4459 Update "print symada__cS before partial symtab expansion" regexp.
4460 Update breakpoint location. Flush symbol cache after expansion.
4461
85d2d5bb
LM
44622020-02-28 Luis Machado <luis.machado@linaro.org>
4463
4464 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4465
3608f86c
TV
44662020-02-27 Tom de Vries <tdevries@suse.de>
4467
4468 * config/sid.exp: Remove unused globals.
4469 * gdb.base/attach.exp: Same.
4470 * gdb.base/catch-load.exp: Same.
4471 * gdb.base/dbx.exp: Same.
4472 * lib/gdb.exp: Same.
4473 * lib/mi-support.exp: Same.
4474 * lib/prompt.exp: Same.
4475
c8d4f6df
TV
44762020-02-27 Tom de Vries <tdevries@suse.de>
4477
4478 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4479 not set.
4480
0d79cdc4
AM
44812020-02-26 Aaron Merey <amerey@redhat.com>
4482
4483 * gdb.debuginfod: New directory for debuginfod tests.
4484 * gdb.debuginfod/main.c: New test file.
4485 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4486
0dce4280
TV
44872020-02-26 Tom de Vries <tdevries@suse.de>
4488
4489 PR gdb/25603
4490 * gdb.base/persistent-lang.cc: New test.
4491 * gdb.base/persistent-lang.exp: New file.
4492
9e80cfa1
AB
44932020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4494
4495 * gdb.fortran/derived-type-striding.exp: Add a new test.
4496 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4497 new test.
4498
2078dbb2
AB
44992020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4500
4501 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4502 names.
4503
70d49700
TV
45042020-02-25 Tom de Vries <tdevries@suse.de>
4505
4506 PR go/18926
4507 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4508
a88ef40d
TV
45092020-02-24 Tom de Vries <tdevries@suse.de>
4510
4511 PR gdb/25592
4512 * gdb.base/info-locals-unused-static-var.c: New test.
4513 * gdb.base/info-locals-unused-static-var.exp: New file.
4514
01b1af32
TT
45152020-02-22 Tom Tromey <tom@tromey.com>
4516
4517 * gdb.python/tui-window.exp: New file.
4518 * gdb.python/tui-window.py: New file.
4519
7c043ba6
TT
45202020-02-22 Tom Tromey <tom@tromey.com>
4521
4522 PR tui/17850:
4523 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4524 tests.
4525
c22fef7e
TT
45262020-02-22 Tom Tromey <tom@tromey.com>
4527
4528 * gdb.tui/new-layout.exp: Add sub-layout tests.
4529
ee325b61
TT
45302020-02-22 Tom Tromey <tom@tromey.com>
4531
4532 * gdb.tui/new-layout.exp: New file.
4533
3f0cbb04
TT
45342020-02-22 Tom Tromey <tom@tromey.com>
4535
4536 * gdb.rust/rust-style.rs: New file.
4537 * gdb.rust/rust-style.exp: New file.
4538 * gdb.base/style.exp: Test structure printing.
4539 * gdb.base/style.c (struct some_struct): New type.
4540 (enum etype): New type.
4541 (struct_value): New global.
4542
75525152
TV
45432020-02-21 Tom de Vries <tdevries@suse.de>
4544
4545 PR go/18926
4546 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4547 Remove blanket xfails. Use message argument for gdb_breakpoint.
4548 Make continuing to breakpoint test conditional on setting breakpoint.
4549 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4550 DW_AT_name attribute. Add xfail for GCC PR93866.
4551
bd360d30
AB
45522020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4553
4554 * gdb.dwarf2/cpp-linkage-name.c: New file.
4555 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4556
c7adb09f 45572020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4558
4559 * lib/gdb.exp (gdb_wrapper_init): Reset
4560 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4561 not exist.
4562
a9c79803
TV
45632020-02-20 Tom de Vries <tdevries@suse.de>
4564
4565 PR go/17018
4566 * gdb.go/hello.exp: Copy ...
4567 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4568 print of st to print value of global definition. Add xfail for GCC
4569 PR93844.
4570 * gdb.go/hello.exp: Remove printing of st before definition.
4571 * gdb.go/hello.go: Copy ...
4572 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4573 to st.
4574 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4575
d7445728
TV
45762020-02-20 Tom de Vries <tdevries@suse.de>
4577
4578 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4579 (gdb_simple_compile): Handle compile_flags go by using .go extension
4580 for source file.
4581 * gdb.go/chan.exp: Use support_go_compile.
4582 * gdb.go/handcall.exp: Same.
4583 * gdb.go/hello.exp: Same.
4584 * gdb.go/integers.exp: Same.
4585 * gdb.go/max-depth.exp: Same.
4586 * gdb.go/methods.exp: Same.
4587 * gdb.go/package.exp: Same.
4588 * gdb.go/strings.exp: Same.
4589 * gdb.go/types.exp: Same.
4590 * gdb.go/unsafe.exp: Same.
4591
c9c41e6d
TV
45922020-02-19 Tom de Vries <tdevries@suse.de>
4593
4594 * gdb.python/lib-types.exp: Make xfail more strict.
4595
f20ff837
TV
45962020-02-19 Tom de Vries <tdevries@suse.de>
4597
4598 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4599
08410482
DE
46002020-02-19 Doug Evans <dje@google.com>
4601
4602 PR rust/25535
4603 * gdb.rust/simple.exp: Add test.
4604 * gdb.rust/simple.rs: Add test.
4605
623563f7
TV
46062020-02-19 Tom de Vries <tdevries@suse.de>
4607
4608 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4609 output line-by-line.
4610
d3308cfd
TV
46112020-02-19 Tom de Vries <tdevries@suse.de>
4612
4613 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4614
86cbc5dc
TV
46152020-02-19 Tom de Vries <tdevries@suse.de>
4616
4617 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4618 prelink.
4619
9db2b96b
TV
46202020-02-19 Tom de Vries <tdevries@suse.de>
4621
4622 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4623 (gdb_do_cache): Use gdb_do_cache_wrap.
4624 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4625
89e2fdc5
TV
46262020-02-19 Tom de Vries <tdevries@suse.de>
4627
4628 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4629 gdb_compile option.
4630
373d7ac0
SM
46312020-02-18 Simon Marchi <simon.marchi@efficios.com>
4632
4633 * gdb.base/printcmds.exp (test_print_enums): Update expected
4634 output.
4635
b29a2df0
SM
46362020-02-18 Simon Marchi <simon.marchi@efficios.com>
4637
4638 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4639 for "unknown".
4640
6740f0cc
SM
46412020-02-18 Simon Marchi <simon.marchi@efficios.com>
4642
4643 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4644 enumerator.
4645
edd45eb0
SM
46462020-02-18 Simon Marchi <simon.marchi@efficios.com>
4647
4648 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4649 FE_, add FE_NONE.
4650 (three): Update.
4651 (enum flag_enum_without_zero): New enum.
4652 (flag_enum_without_zero): New variable.
4653 (enum not_flag_enum): New enum.
4654 (three_not_flag): New variable.
4655 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4656 (test_print_enums): Add more tests for printing flag enums.
4657
d4295de4
TV
46582020-02-18 Tom de Vries <tdevries@suse.de>
4659
4660 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4661 (gdb_compile_ada): ... here.
4662 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4663 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4664
f251f505
TT
46652020-02-14 Tom Tromey <tom@tromey.com>
4666
4667 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4668 build directory.
4669 * boards/gdbserver-base.exp: Update path to gdbserver.
4670
8f432634
TV
46712020-02-13 Tom de Vries <tdevries@suse.de>
4672
4673 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4674
92b6eaf7
TV
46752020-02-13 Tom de Vries <tdevries@suse.de>
4676
4677 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4678 are missing.
4679
f3b0f7fe
TV
46802020-02-13 Tom de Vries <tdevries@suse.de>
4681
4682 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4683 call.
4684
f6be8713
SDJ
46852020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4686
4687 PR tui/25126
4688 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4689 * gdb.base/cached-source-file.c: New file.
4690 * gdb.base/cached-source-file.exp: New file.
4691
b2770d5e
TV
46922020-02-11 Tom de Vries <tdevries@suse.de>
4693
4694 PR testsuite/25488
4695 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4696
44f6938e
TV
46972020-02-10 Tom de Vries <tdevries@suse.de>
4698
4699 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4700
5f0e2eb7
MR
47012020-02-10 Maciej W. Rozycki <macro@wdc.com>
4702
4703 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4704 and $after_addr are both integers before making a comparison.
4705
46ce2b6f
TV
47062020-02-09 Tom de Vries <tdevries@suse.de>
4707
4708 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4709 command output and paste it into gdb.log. If any, paste catch message
4710 to gdb.log.
4711
5abbbe1d
TT
47122020-02-07 Tom Tromey <tromey@adacore.com>
4713
4714 PR breakpoints/24915:
4715 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4716
1d5d29e7
SV
47172020-02-06 Shahab Vahedi <shahab@synopsys.com>
4718
4719 * gdb.tui/tui-missing-src.exp: Add the "missing source
4720 file" test for the TUI.
4721
b0999b9b
AB
47222020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4723
4724 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4725 including a port number in the output.
4726
c3b149eb
AKS
47272020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4728
4729 * lib/fortran.exp (fortran_int4): Handle clang.
4730 (fortran_int8): Likewise.
4731 (fortran_real4): Likewise.
4732 (fortran_real8): Likewise.
4733 (fortran_complex4): Likewise.
4734 (fortran_logical4): Likewise.
4735 (fortran_character1): Likewise.
4736
f8dcc90b
TV
47372020-02-04 Tom de Vries <tdevries@suse.de>
4738
4739 * README (Race detection): Add note.
4740
f90ac7c2
TV
47412020-02-04 Tom de Vries <tdevries@suse.de>
4742
4743 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4744
780636ae
TV
47452020-02-04 Tom de Vries <tdevries@suse.de>
4746
4747 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4748
5d2e1193
RA
47492020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4750
4751 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4752 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4753 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4754 blttar, bnetarl.
4755 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4756 binary for blttar, bnetarl.
4757 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4758 wait instruction. Delete ldmx test.
4759 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4760
e409c542
AKS
47612020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4762
4763 * gdb.fortran/array-bounds-high.exp: New file.
4764 * gdb.fortran/array-bounds-high.f90: New file.
4765
b0029748
LD
47662020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4767
4768 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4769 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4770
195a8287
TV
47712020-02-01 Tom de Vries <tdevries@suse.de>
4772
4773 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4774
42330a68
AB
47752020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4776
4777 PR tui/9765
4778 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4779 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4780
b62a8028
LM
47812020-01-29 Luis Machado <luis.machado@linaro.org>
4782
4783 * gdb.arch/aarch64-brk-patterns.c: New source file.
4784 * gdb.arch/aarch64-brk-patterns.exp: New test.
4785
5f440116
TBA
47862020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4787
4788 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4789 GCC/Clang version.
4790 * gdb.cp/pass-by-ref.exp: Ditto.
4791
ee2a6fc6
TV
47922020-01-29 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4795 * gdb.threads/watchpoint-fork-mt.c: Same.
4796 * gdb.threads/watchpoint-fork-parent.c: Same.
4797 * gdb.threads/watchpoint-fork-st.c: Same.
4798 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4799
16b10d6e
LM
48002020-01-27 Luis Machado <luis.machado@linaro.org>
4801
4802 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4803 sitting at a syscall instruction when we hit the syscall function's
4804 breakpoint.
4805 Check PC against one obtained with the x command.
4806 Validate syscall number.
4807 (step_over_syscall): Don't continue to the syscall instruction if
4808 we're already there.
4809
b1468492
PW
48102020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4811
4812 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4813
7ffa82e1
AB
48142020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4815
4816 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4817 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4818
3d92a3e3
AB
48192020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4820
4821 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4822 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4823
94a72be7
AB
48242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * gdb.base/maint.exp: Update line table parsing test.
4827 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4828
53af73bf
PA
48292020-01-24 Pedro Alves <palves@redhat.com>
4830
4831 PR gdb/25410
4832 * gdb.multi/multi-re-run-1.c: New.
4833 * gdb.multi/multi-re-run-2.c: New.
4834 * gdb.multi/multi-re-run.exp: New.
4835
1ba1ac88
AB
48362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4837
4838 PR gdb/23718
4839 * gdb.server/server-kill-python.exp: New file.
4840
f3364a6d
AB
48412020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4842
4843 * gdb.server/multi-ui-errors.c: New file.
4844 * gdb.server/multi-ui-errors.exp: New file.
4845
733d0a67
AB
48462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4847
4848 PR tui/9765
4849 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4850
4f13c1c0
TT
48512020-01-19 Tom Tromey <tom@tromey.com>
4852
4853 * gdb.tui/main.exp: Add check for plain "file".
4854
40c94099
CB
48552020-01-16 Christian Biesinger <cbiesinger@google.com>
4856
4857 * lib/gdb.exp: Fix spelling error (seperatelly).
4858
ff47f4f0
TT
48592020-01-14 Tom Tromey <tom@tromey.com>
4860
4861 PR symtab/12535:
4862 * gdb.python/python.exp: Test decode_line with empty string
4863 argument.
4864
717c684d
BE
48652020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4866
4867 * gdb.base/skip-inline.exp: Extend test.
4868
44e4c775
AB
48692020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4870
4871 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4872 * gdb.dwarf2/dw2-bad-elf.c: New file.
4873 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4874
d93c6db7
AB
48752020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4876
4877 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4878 _line_saw_file.
4879
9a6d629c
AB
48802020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4881
4882 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4883 border.
4884
d9ebdab7
TBA
48852020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4886
4887 * gdb.multi/multi-target.exp (setup): Factor out "info
4888 connections" and "info inferiors" tests to ...
4889 (test_info_inferiors): ... this new procedure.
4890 (top level): Run new "info-inferiors" tests.
4891
f3c469b9
PA
48922020-01-10 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.server/bkpt-other-inferior.exp: New file.
4895
121b3efd
PA
48962020-01-10 Pedro Alves <palves@redhat.com>
4897
4898 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4899 of "add-inferior".
4900 * gdb.base/quit-live.exp: Likewise.
4901 * gdb.base/remote-exec-file.exp: Likewise.
4902 * gdb.guile/scm-progspace.exp: Likewise.
4903 * gdb.linespec/linespec.exp: Likewise.
4904 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4905 * gdb.mi/user-selected-context-sync.exp: Likewise.
4906 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4907 "info inferiors" tests.
4908 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4909 "add-inferior".
4910 * gdb.multi/watchpoint-multi.exp: Likewise.
4911 * gdb.python/py-inferior.exp: Likewise.
4912 * gdb.server/extended-remote-restart.exp: Likewise.
4913 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4914 "info inferiors".
4915 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4916 * gdb.trace/report.exp: Likewise.
4917
1dadb1dd
PA
49182020-01-10 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.multi/multi-target.c: New file.
4921 * gdb.multi/multi-target.exp: New file.
4922 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4923 mode requested, but remote does not support non-stop".
4924
78f2c40a
PA
49252020-01-10 Pedro Alves <palves@redhat.com>
4926
4927 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4928 disconnect before reconnecting.
4929
e7af6c70
TBA
49302020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4931 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.server/connect-without-multi-process.exp: Also test
4934 continuing to end.
4935
acdf84a6
PA
49362020-01-10 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.base/remote-exec-file.exp: New file.
4939
873657b9
PA
49402020-01-10 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4943 output.
4944 * gdb.threads/async.c: New.
4945 * gdb.threads/async.exp: New.
4946 * gdb.multi/tids-gid-reset.c: New.
4947 * gdb.multi/tids-gid-reset.exp: New.
4948
7f0ae84c
GB
49492020-01-10 George Barrett <bob@bob131.so>
4950
4951 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4952 to help in finding the image relocation offset.
4953 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4954 options in arguments.
4955 (stap_test_no_debuginfo): Likewise.
4956 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4957 test variants.
4958 (stap_test): Add null semaphore relocation test.
4959
47e9d49d
GB
49602020-01-10 George Barrett <bob@bob131.so>
4961
4962 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4963 * gdb.base/stap-probe.exp: Likewise.
4964 (stap_test): Pass argument as an additional flag.
4965 (stap_test_no_debuginfo): Likewise.
4966 (stap_test): Check `info probes stap' output for semaphore
4967 addresses if the test binary is supposed to have them.
4968
f5a7c406
AB
49692020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4970
4971 * gdb.tui/basic.exp: Add more scrolling tests.
4972
9ae6bf64
TT
49732020-01-09 Tom Tromey <tom@tromey.com>
4974
4975 PR tui/18932:
4976 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4977 meangingful value.
4978 (Term::command, Term::resize): Update.
4979 * gdb.tui/basic.exp: Add scrolling test.
4980
b2efe70c
AB
49812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4982
4983 * gdb.tui/tui-layout-asm.exp: New file.
4984
3804da7e
AB
49852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4986
4987 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4988
b40aa28f
AB
49892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4990
4991 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4992 (Term::enter_tui): Use Term::prepare_for_tui.
4993
63ffd7c9
AB
49942020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4995
4996 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4997 called.
4998
3be966f6
AB
49992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5000
5001 * gdb.base/skip.exp: Fix race condition in test.
5002
153d79c4
AB
50032020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5004
5005 * gdb.base/backtrace.c: New file.
5006 * gdb.base/backtrace.exp: New file.
5007
f2302a34
AB
50082020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5009
5010 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5011
6ec1d75e
PW
50122020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5013
5014 * gdb.base/style.exp: Test that warnings are styled.
5015
c296cbe6
BE
50162019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5017
5018 * gdb.base/line65535.exp: New file.
5019 * gdb.base/line65535.c: New file.
5020
b28a729d
SM
50212019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5022
5023 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5024 * lib/gnat_debug_info_test.adb: New file.
5025 * gdb.ada/ptype_tagged_param.exp: Use
5026 gnat_runtime_has_debug_info, expect a different output if
5027 runtime does not have debug info.
5028
7f2d7a0d
SM
50292019-12-20 Simon Marchi <simon.marchi@efficios.com>
5030
5031 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5032 (another) quote in test name.
5033
f3bce483
SM
50342019-12-20 Simon Marchi <simon.marchi@efficios.com>
5035
5036 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5037 Add quote in test name.
5038
c855a912
TBA
50392019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5040
5041 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5042 directory instead.
5043 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5044 * gdb.cp/pass-by-ref-2.cc: New file.
5045 * gdb.cp/pass-by-ref-2.exp: New file.
5046
fc9d2d72
TT
50472019-12-20 Tom Tromey <tom@tromey.com>
5048
5049 * gdb.tui/list-before.exp: New file.
5050
77b97e00
TT
50512019-12-20 Tom Tromey <tom@tromey.com>
5052
5053 * gdb.tui/list.exp: Check for source on initial listing.
5054
f69656d0
TT
50552019-12-11 Tom Tromey <tromey@adacore.com>
5056
5057 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5058 Add crlf test.
5059
99a55965
SM
50602019-12-18 Simon Marchi <simon.marchi@efficios.com>
5061
5062 * gdb.base/default.exp: Update value of $_gdb_major.
5063
5024637f
BE
50642019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5065
5066 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5067
b63634be
BE
50682019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5069
5070 * gdb.base/skip.exp: Whitespace fix.
5071
45d73523
BE
50722019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5073
5074 * gdb.base/skip-inline.c: New file.
5075 * gdb.base/skip-inline.exp: New file.
5076
d043f8c8
SM
50772019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5078
5079 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5080 jit_function_00 to jit_function_stack_mangle.
5081 * gdb.base/jithost.c (jit_function_t): Rename to...
5082 (jit_function_stack_mangle_t): ... this.
5083 (jit_function_add_t): New typedef.
5084 (jit_function_00_code): Rename to...
5085 (jit_function_stack_mangle_code): ... this, make static.
5086 (jit_function_add_code): New.
5087 (main): Generate "add" function and call it. Adjust to changes
5088 in jithost_abi.
5089 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5090 (struct jithost_abi) <begin, end>: Remove fields.
5091 <object, function_stack_mangle, function_add>: New fields.
5092 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5093 code_end>: Remove fields.
5094 <func_stack_mangle>: New field.
5095 (read_debug_info): Adjust to renaming, create block for "add"
5096 function.
5097 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5098
873de05c
TT
50992019-12-11 Tom Tromey <tom@tromey.com>
5100
5101 * gdb.tui/resize.exp: Fix regexp.
5102 * gdb.tui/regs.exp: Fix regexps.
5103 * gdb.tui/main.exp: Fix regexp.
5104
3d979945
TT
51052019-12-11 Tom Tromey <tom@tromey.com>
5106
5107 * gdb.tui/resize.exp: Update.
5108 * gdb.tui/empty.exp (layouts): Update.
5109
2192a9d3
TT
51102019-12-11 Tom Tromey <tom@tromey.com>
5111
5112 * gdb.tui/regs.exp: Update.
5113 * gdb.tui/empty.exp (layouts): Update.
5114 * gdb.tui/basic.exp: Update.
5115 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5116
d8edc8b7
PW
51172019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5118
5119 * gdb.base/options.exp: Add -raw-values in the print completion list.
5120 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5121
4c12d936
KB
51222019-12-10 Kevin Buettner <kevinb@redhat.com>
5123
5124 * gdb.threads/omp-par-scope.c: New file.
5125 * gdb/threads/omp-par-scope.exp: New file.
5126
26b911fb
KB
51272019-12-10 Kevin Buettner <kevinb@redhat.com>
5128
bb47f919
KB
5129 * lib/gdb.exp (support_nested_function_tests): New proc.
5130
51312019-12-10 Kevin Buettner <kevinb@redhat.com>
5132
5133 * lib/gdb.exp (gdb_compile_openmp): New proc.
5134 (build_executable_from_specs): Add an "openmp" option.
5135 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5136
6c71eb7d
TT
51372019-12-10 Tom Tromey <tromey@adacore.com>
5138
5139 * gdb.ada/unchecked_union.exp: New file.
5140 * gdb.ada/unchecked_union/pck.adb: New file.
5141 * gdb.ada/unchecked_union/pck.ads: New file.
5142 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5143 * gdb-utils.exp (string_to_regexp): Also quote "?".
5144
bac7c5cf
GB
51452019-12-10 George Barrett <bob@bob131.so>
5146
5147 Test scripted probe breakpoints.
5148 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5149 * gdb.python/py-breakpoint.c (main): Likewise.
5150 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5151 specifier test.
5152 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5153
330f1d38
TBA
51542019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5155
5156 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5157 an rvalue parameter.
5158 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5159 parameter.
5160
b43315e2
AB
51612019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5162
5163 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5164 modules.
5165
54f73dad
AB
51662019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5167
5168 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5169 broken version of GCC.
5170
d57cbee9
AB
51712019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5172
5173 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5174 sym-info-cmds library.
5175 * gdb.fortran/info-types.exp: Likewise.
5176 * lib/sym-info-cmds.exp: New file.
5177
c14aab8c
TV
51782019-12-08 Tom de Vries <tdevries@suse.de>
5179
5180 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5181
aa2d5a42
KS
51822019-12-07 Keith Seitz <keiths@redhat.com>
5183
5184 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5185 * gdb.base/corefile-buildid-shlib.c: New file.
5186 * gdb.base/corefile-buildid.c: New file.
5187 * gdb.base/corefile-buildid.exp: New file.
5188
93e55f0a
TV
51892019-12-06 Tom de Vries <tdevries@suse.de>
5190
5191 * gdb.dwarf2/varval.exp: Add decl before def test.
5192
c7d12402
TBA
51932019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5194
5195 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5196
06acc08f
TBA
51972019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5198
5199 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5200 CV and reference conversion for overload resolution.
5201 * gdb.cp/rvalue-ref-overload.exp: Test it.
5202
e0fad1ea
PW
52032019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5204
5205 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5206 * gdb.base/frameapply.exp: Test faas without command.
5207
8d70a9f0
AB
52082019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5211 Fortran tests.
5212 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5213 order.
5214
36c8fb93
AB
52152019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5216
5217 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5218 casting to type with no kind specified.
5219 (test_basic_parsing_of_type_kinds): Additional tests for types
5220 with no kind specified, and add tests for single/double
5221 precision/complex types.
5222
4139ff00
TT
52232019-12-04 Tom Tromey <tromey@adacore.com>
5224
5225 * gdb.base/endianity.c (struct other) <x>: New field.
5226 (main): Initialize it.
5227 * gdb.base/endianity.exp: Update.
5228
a05cf17a
TT
52292019-12-04 Tom Tromey <tromey@adacore.com>
5230
5231 * gdb.ada/scalar_storage/storage.adb: New file.
5232 * gdb.ada/scalar_storage/pck.adb: New file.
5233 * gdb.ada/scalar_storage/pck.ads: New file.
5234 * gdb.ada/scalar_storage.exp: New file.
5235
103a685e
TT
52362019-12-04 Tom Tromey <tromey@adacore.com>
5237
5238 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5239 (main): Initialize it.
5240 * gdb.base/endianity.exp: Update.
5241
c2512106
AB
52422019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5243
5244 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5245
293b38d6
AB
52462019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5247
5248 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5249 -symbol-info-module-functions and -symbol-info-module-variables.
5250
216a7e6b
AB
52512019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5252
5253 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5254
5bbd8269
AB
52552019-12-01 Richard Bunt <richard.bunt@arm.com>
5256 Andrew Burgess <andrew.burgess@embecosm.com>
5257
5258 * gdb.fortran/derived-type-striding.exp: New file.
5259 * gdb.fortran/derived-type-striding.f90: New file.
5260 * gdb.fortran/array-slices.exp: New file.
5261 * gdb.fortran/array-slices.f90: New file.
5262
be09caf1
PW
52632019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5264
5265 * gdb.base/define.exp: Test . in command names.
5266 * gdb.base/setshow.exp: Update test, as . is now part of
5267 command name.
5268
643c0cbe
PW
52692019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5270
5271 * gdb.base/define-prefix.exp: New file.
5272
dcdec678
AB
52732019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5274
5275 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5276 compile.
5277 (skip_btrace_pt_tests): Likewise.
5278
640ab947
AB
52792019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5280
5281 * gdb.fortran/info-modules.exp: Compile source files in correct
5282 order.
5283
d22670f0
KB
52842019-11-27 Kevin Buettner <kevinb@redhat.com>
5285
5286 * gdb.dwarf2/imported-unit.exp: New file.
5287 * gdb.dwarf2/imported-unit.c: New file.
5288
db5960b4
AB
52892019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5290
5291 * gdb.mi/mi-fortran-modules-2.f90: New file.
5292 * gdb.mi/mi-fortran-modules.exp: New file.
5293 * gdb.mi/mi-fortran-modules.f90: New file.
5294
7dc42066
AB
52952019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5296
5297 * gdb.mi/mi-sym-info-1.c: New file.
5298 * gdb.mi/mi-sym-info-2.c: New file.
5299 * gdb.mi/mi-sym-info.exp: New file.
5300
0dfeecca
TT
53012019-11-22 Tom Tromey <tromey@adacore.com>
5302
5303 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5304 * gdb.ada/tasks/foo.adb: Add another stopping location.
5305
34877895
PJ
53062019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5307
5308 * gdb.base/endianity.c: New test.
5309 * gdb.base/endianity.exp: New file.
5310
2e84f897
LD
53112019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5312
5313 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5314
65d1cd5f
TV
53152019-11-21 Tom de Vries <tdevries@suse.de>
5316
5317 PR gdb/24956
5318 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5319
4f22c3f4
SDJ
53202019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5321
5322 * gdb.python/py-progspace.exp: Add missing parentheses on some
5323 'print' commands.
5324
9f6ad286
TT
53252019-11-19 Tom Tromey <tom@tromey.com>
5326
5327 * gdb.tui/winheight.exp: New file.
5328
0b8dbf3f
AB
53292019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5330
5331 * gdb.base/ctf-whatis.c: Delete.
5332 * gdb.base/ctf-whatis.exp: Delete.
5333 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5334
f833b7a7
AB
53352019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5336
5337 * gdb.base/ctf-cvexpr.exp: Delete.
5338 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5339
30d0a636
AB
53402019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5341
5342 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5343 the compiler. Clean up header comment a little.
5344 * gdb.base/ctf-ptype.exp: Likewise.
5345 * gdb.base/ctf-whatis.exp: Likewise.
5346 * lib/gdb.exp (skip_ctf_tests): New proc.
5347
494409bb
SDJ
53482019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5349
5350 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5351 * gdb.tui/corefile-run.exp: New file.
5352
55708e99
TT
53532019-11-14 Tom Tromey <tromey@adacore.com>
5354
5355 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5356 regression tests.
5357
45e42163
TT
53582019-11-12 Tom Tromey <tom@tromey.com>
5359
5360 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5361 after any command. Expect prompt after WAIT_FOR is seen.
5362 (enter_tui): Enable resize messages.
5363 (command): Expect command in output.
5364 (get_line): Avoid error when cursor appears to be off-screen.
5365 (dump_screen): Include screen size in title.
5366 (_do_resize): New proc, from "resize".
5367 (resize): Rewrite. Do resize in two steps.
5368 * gdb.tui/empty.exp (layouts): Fix entries.
5369 (check_boxes): Remove xfail.
5370 (check_text): Dump screen on failure.
5371
086baaf1
AB
53722019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5373
5374 * gdb.python/py-symbol.exp: Add test for
5375 gdb.lookup_static_symbols.
5376
09ff83af
AB
53772019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5378
5379 * gdb.python/py-symbol.c: Declare and call function from new
5380 py-symbol-2.c file.
5381 * gdb.python/py-symbol.exp: Compile both source files, and add new
5382 tests for gdb.lookup_static_symbol.
5383 * gdb.python/py-symbol-2.c: New file.
5384
11af934b
TV
53852019-11-02 Tom de Vries <tdevries@suse.de>
5386
5387 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5388 * gdb.base/anon.exp: Same.
5389 * gdb.base/auto-connect-native-target.exp: Same.
5390 * gdb.base/call-ar-st.exp: Same.
5391 * gdb.base/catch-syscall.exp: Same.
5392 * gdb.base/commands.exp: Same.
5393 * gdb.base/default.exp: Same.
5394 * gdb.base/display.exp: Same.
5395 * gdb.base/float.exp: Same.
5396 * gdb.base/foll-fork.exp: Same.
5397 * gdb.base/help.exp: Same.
5398 * gdb.base/info-macros.exp: Same.
5399 * gdb.base/info-proc.exp: Same.
5400 * gdb.base/info-target.exp: Same.
5401 * gdb.base/long_long.exp: Same.
5402 * gdb.base/macscp.exp: Same.
5403 * gdb.base/memattr.exp: Same.
5404 * gdb.base/nofield.exp: Same.
5405 * gdb.base/pointers.exp: Same.
5406 * gdb.base/printcmds.exp: Same.
5407 * gdb.base/ptype.exp: Same.
5408 * gdb.base/restore.exp: Same.
5409 * gdb.base/return.exp: Same.
5410 * gdb.base/scope.exp: Same.
5411 * gdb.base/set-noassign.exp: Same.
5412 * gdb.base/setshow.exp: Same.
5413 * gdb.base/shlib-call.exp: Same.
5414 * gdb.base/signals.exp: Same.
5415 * gdb.base/sigstep.exp: Same.
5416 * gdb.base/skip.exp: Same.
5417 * gdb.base/solib-symbol.exp: Same.
5418 * gdb.base/stap-probe.exp: Same.
5419 * gdb.base/step-line.exp: Same.
5420 * gdb.base/step-test.exp: Same.
5421 * gdb.base/style.exp: Same.
5422 * gdb.base/varargs.exp: Same.
5423 * gdb.base/vla-datatypes.exp: Same.
5424 * gdb.base/vla-ptr.exp: Same.
5425 * gdb.base/vla-sideeffect.exp: Same.
5426 * gdb.base/volatile.exp: Same.
5427 * gdb.base/watch-cond-infcall.exp: Same.
5428 * gdb.base/watchpoint.exp: Same.
5429
e96ec2ba
TV
54302019-11-02 Tom de Vries <tdevries@suse.de>
5431
5432 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5433 * gdb.cp/cpexprs.exp: Same.
5434 * gdb.cp/except-multi-location.exp: Same.
5435 * gdb.cp/exceptprint.exp: Same.
5436 * gdb.cp/gdb2384.exp: Same.
5437 * gdb.cp/inherit.exp: Same.
5438 * gdb.cp/m-static.exp: Same.
5439 * gdb.cp/meth-typedefs.exp: Same.
5440 * gdb.cp/misc.exp: Same.
5441 * gdb.cp/namespace.exp: Same.
5442 * gdb.cp/non-trivial-retval.exp: Same.
5443 * gdb.cp/overload.exp: Same.
5444 * gdb.cp/pr17132.exp: Same.
5445 * gdb.cp/re-set-overloaded.exp: Same.
5446 * gdb.cp/rvalue-ref-types.exp: Same.
5447 * gdb.cp/templates.exp: Same.
5448
bd5766ec
LM
54492019-11-01 Luis Machado <luis.machado@linaro.org>
5450
5451 PR gdb/25124
5452
5453 * gdb.arch/pr25124.S: New file.
5454 * gdb.arch/pr25124.exp: New file.
5455
165f8965
AB
54562019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5457
5458 * gdb.fortran/info-modules.exp: Update expected results, and add
5459 additional tests for 'info module functinos', and 'info module
5460 variables'.
5461 * gdb.fortran/info-types.exp: Update expected results.
5462 * gdb.fortran/info-types.f90: Extend testcase with additional
5463 module variables and functions.
5464
59c35742
AB
54652019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5466
5467 * gdb.fortran/info-modules.exp: New file.
5468 * gdb.fortran/info-types.exp: Build with new file.
5469 * gdb.fortran/info-types.f90: Include and use new module.
5470 * gdb.fortran/info-types-2.f90: New file.
5471
f3fb2519
PW
54722019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5473
5474 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5475 * gdb.base/settings.exp: Test all settings types using
5476 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5477 that now verifies that the value of "maint show" is the same as
5478 returned by the settings functions. Test the type of the
5479 maintenance settings.
5480 * gdb.base/default.exp: Update show_conv_list.
5481
d1e36019
TV
54822019-10-31 Tom de Vries <tdevries@suse.de>
5483
5484 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5485 gdb_test.
5486 * gdb.arch/amd64-disp-step.exp: Same.
5487 * gdb.asm/asm-source.exp: Same.
5488 * gdb.btrace/buffer-size.exp: Same.
5489 * gdb.btrace/cpu.exp: Same.
5490 * gdb.btrace/enable.exp: Same.
5491 * gdb.dwarf2/count.exp: Same.
5492 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5493 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5494 * gdb.fortran/vla-datatypes.exp: Same.
5495 * gdb.fortran/vla-history.exp: Same.
5496 * gdb.fortran/vla-ptype.exp: Same.
5497 * gdb.fortran/vla-value.exp: Same.
5498 * gdb.fortran/whatis_type.exp: Same.
5499 * gdb.guile/guile.exp: Same.
5500 * gdb.multi/tids.exp: Same.
5501 * gdb.python/py-finish-breakpoint.exp: Same.
5502 * gdb.python/py-framefilter.exp: Same.
5503 * gdb.python/py-pp-registration.exp: Same.
5504 * gdb.python/py-xmethods.exp: Same.
5505 * gdb.python/python.exp: Same.
5506 * gdb.server/connect-with-no-symbol-file.exp: Same.
5507 * gdb.server/no-thread-db.exp: Same.
5508 * gdb.server/run-without-local-binary.exp: Same.
5509 * gdb.stabs/weird.exp: Same.
5510 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5511 * gdb.threads/thread-find.exp: Same.
5512 * gdb.threads/tls-shared.exp: Same.
5513 * gdb.threads/tls.exp: Same.
5514 * gdb.threads/wp-replication.exp: Same.
5515 * gdb.trace/ax.exp: Same.
5516 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5517
3d11e68e
TV
55182019-10-31 Tom de Vries <tdevries@suse.de>
5519
5520 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5521 * gdb.ada/array_subscript_addr.exp: Same.
5522 * gdb.ada/arrayidx.exp: Same.
5523 * gdb.ada/arrayparam.exp: Same.
5524 * gdb.ada/arrayptr.exp: Same.
5525 * gdb.ada/boolean_expr.exp: Same.
5526 * gdb.ada/call_pn.exp: Same.
5527 * gdb.ada/complete.exp: Same.
5528 * gdb.ada/fixed_cmp.exp: Same.
5529 * gdb.ada/fun_addr.exp: Same.
5530 * gdb.ada/funcall_param.exp: Same.
5531 * gdb.ada/interface.exp: Same.
5532 * gdb.ada/mod_from_name.exp: Same.
5533 * gdb.ada/null_array.exp: Same.
5534 * gdb.ada/packed_array.exp: Same.
5535 * gdb.ada/packed_tagged.exp: Same.
5536 * gdb.ada/print_chars.exp: Same.
5537 * gdb.ada/print_pc.exp: Same.
5538 * gdb.ada/ptype_arith_binop.exp: Same.
5539 * gdb.ada/ptype_field.exp: Same.
5540 * gdb.ada/ptype_tagged_param.exp: Same.
5541 * gdb.ada/rec_return.exp: Same.
5542 * gdb.ada/ref_tick_size.exp: Same.
5543 * gdb.ada/str_ref_cmp.exp: Same.
5544 * gdb.ada/taft_type.exp: Same.
5545 * gdb.ada/tagged.exp: Same.
5546 * gdb.ada/type_coercion.exp: Same.
5547 * gdb.ada/uninitialized_vars.exp: Same.
5548
60b6ede8
TV
55492019-10-30 Tom de Vries <tdevries@suse.de>
5550
5551 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5552
30baf67b
TV
55532019-10-26 Tom de Vries <tdevries@suse.de>
5554
5555 * gdb.base/bigcore.c: Fix typos in comments.
5556 * gdb.base/ctf-ptype.c: Same.
5557 * gdb.base/long_long.c: Same.
5558 * gdb.dwarf2/dw2-op-out-param.S: Same.
5559 * gdb.python/py-evthreads.c: Same.
5560 * gdb.reverse/i387-stack-reverse.c: Same.
5561 * gdb.trace/tfile.c: Same.
5562 * lib/compiler.c: Same.
5563 * lib/compiler.cc: Same.
5564
158da0d1
TV
55652019-10-25 Tom de Vries <tdevries@suse.de>
5566
5567 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5568 gdb_test_multiple calls.
5569 * gdb.reverse/sigall-reverse.exp: Same.
5570 * gdb.reverse/solib-precsave.exp: Same.
5571 * gdb.reverse/solib-reverse.exp: Same.
5572 * gdb.reverse/until-precsave.exp: Same.
5573 * gdb.reverse/until-reverse.exp: Same.
5574
4ccdfbec
TV
55752019-10-24 Tom de Vries <tdevries@suse.de>
5576
5577 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5578 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5579 kfail using -wrap pattern flag and convenience variable
5580 gdb_test_name.
5581
33d569b7
AB
55822019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5583
5584 * gdb.python/py-progspace.exp: Add tests for the
5585 Progspace.block_for_pc method.
5586
4d0b984b
TT
55872019-10-23 Tom Tromey <tom@tromey.com>
5588
5589 * configure: Rebuild.
5590 * aclocal.m4: Use m4_include, not sinclude.
5591
94cb3754
TV
55922019-10-21 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.base/infcall-nested-structs.c: Add
5595 __attribute__((noinline,noclone)) to all functions.
5596 (call_all): Add missing variable initialization. Simplify return value.
5597 (breakpt): Increment volatile variable, to prevent call from being
5598 optimized out.
5599 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5600
062f1fc1
TV
56012019-10-17 Tom de Vries <tdevries@suse.de>
5602
5603 * gdb.fortran/module.exp: Allow info variables to print info for files
5604 other than module.f90.
5605
0b54364d
AB
56062019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * gdb.fortran/module.exp: Extend with 'info variables' test.
5609
7ff5fae7
AB
56102019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5611
5612 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5613 F77_FOR_TARGET.
5614
d10eccaa
TV
56152019-10-16 Tom de Vries <tdevries@suse.de>
5616
5617 PR tdep/25096
5618 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5619
745ff14e
TV
56202019-10-16 Tom de Vries <tdevries@suse.de>
5621
5622 PR tdep/24104
5623 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5624 Add KFAIL for PR tdep/25096.
5625
03e1ab94
TV
56262019-10-16 Tom de Vries <tdevries@suse.de>
5627
5628 PR testsuite/25059
5629 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5630
b17fcc10
TV
56312019-10-16 Tom de Vries <tdevries@suse.de>
5632
5633 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5634 as signed.
5635
9223170f
SM
56362019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5637
5638 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5639 one instead of increasing timeout.
5640
d6e76313
TV
56412019-10-13 Tom de Vries <tdevries@suse.de>
5642
5643 PR record/25038
5644 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5645 * gdb.reverse/sigall-reverse.exp: Same.
5646 * gdb.reverse/solib-precsave.exp: Same.
5647 * gdb.reverse/solib-reverse.exp: Same.
5648 * gdb.reverse/step-precsave.exp: Same.
5649 * gdb.reverse/until-precsave.exp: Same.
5650 * gdb.reverse/until-reverse.exp: Same.
5651 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5652
6dfc0041
AA
56532019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5654
5655 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5656 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5657 (cmp_struct_05_01, cmp_struct_static_02_01)
5658 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5659 comparisons.
5660
abcf2cc8
TV
56612019-10-10 Tom de Vries <tdevries@suse.de>
5662
5663 PR testsuite/24888
5664 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5665 gnatlink.
5666
a50faaf6
TV
56672019-10-09 Tom de Vries <tdevries@suse.de>
5668
5669 PR testsuite/25048
5670 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5671
60ff3cd7
AB
56722019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5673
5674 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5675 exceptions due to missing debug information.
5676
dfee8566
TV
56772019-10-07 Tom de Vries <tdevries@suse.de>
5678
5679 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5680
3d63690a
AB
56812019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5682
5683 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5684 * gdb.base/annota1.exp: Update to use gdb_test_name.
5685
30d1f018
WP
56862019-10-07 Weimin Pan <weimin.pan@oracle.com>
5687
5688 * gdb.base/ctf-whatis.exp: New file.
5689 * gdb.base/ctf-whatis.c: New file.
5690 * gdb.base/ctf-ptype.exp: New file.
5691 * gdb.base/ctf-ptype.c: New file.
5692 * gdb.base/ctf-constvars.exp: New file.
5693 * gdb.base/ctf-constvars.c: New file.
5694 * gdb.base/ctf-cvexpr.exp: New file.
5695
4dbbb47c
TV
56962019-10-04 Tom de Vries <tdevries@suse.de>
5697
5698 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5699 for loop.
5700
77c2dba3
TT
57012019-10-03 Tom Tromey <tom@tromey.com>
5702
5703 PR rust/24976:
5704 * gdb.rust/simple.rs (Union2): New type.
5705 (main): Use Union2.
5706 * gdb.rust/simple.exp: Add test.
5707
179aed7f
AB
57082019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5709
5710 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5711 nested function prefix.
5712
0a4b0913
AB
57132019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5714 Richard Bunt <richard.bunt@arm.com>
5715 Andrew Burgess <andrew.burgess@embecosm.com>
5716
5717 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5718 nested functions.
5719 * gdb.fortran/nested-funcs.f90: Update expected results.
5720 * gdb.fortran/nested-funcs-2.exp: New file.
5721 * gdb.fortran/nested-funcs-2.f90: New file.
5722
082cce05
AB
57232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5724
5725 * gdb.python/py-parameter.exp: Make test names unique.
5726 * gdb.python/py-template.exp: Likewise.
5727 * gdb.python/py-value.exp: Likewise.
5728
2b74ba5a
AB
57292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5730
5731 * gdb.base/break-interp.exp: Reduce test name duplication.
5732 * gdb.base/call-sc.exp: Likewise.
5733 * gdb.base/callfuncs.exp: Likewise.
5734 * gdb.base/charset.exp: Likewise.
5735 * gdb.base/dump.exp: Likewise.
5736 * gdb.base/ena-dis-br.exp: Likewise.
5737 * gdb.base/relational.exp: Likewise.
5738 * gdb.base/step-over-syscall.exp: Likewise.
5739 * gdb.base/structs.exp: Likewise.
5740
58eb20d5
AB
57412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.linespec/explicit.exp: Make test names unique.
5744 * gdb.linespec/ls-errs.exp: Likewise.
5745
4d421147
AB
57462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5747
5748 * gdb.reverse/break-precsave.exp: Make test names unique.
5749 * gdb.reverse/break-reverse.exp: Likewise.
5750 * gdb.reverse/finish-precsave.exp: Likewise.
5751 * gdb.reverse/finish-reverse.exp: Likewise.
5752 * gdb.reverse/machinestate-precsave.exp: Likewise.
5753 * gdb.reverse/machinestate.exp: Likewise.
5754 * gdb.reverse/readv-reverse.exp: Likewise.
5755 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5756 * gdb.reverse/sigall-precsave.exp: Likewise.
5757 * gdb.reverse/sigall-reverse.exp: Likewise.
5758 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5759 * gdb.reverse/watch-precsave.exp: Likewise.
5760 * gdb.reverse/watch-reverse.exp: Likewise.
5761
d8c06f22
AB
57622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5763
5764 * gdb.threads/stop-with-handle.c: New file.
5765 * gdb.threads/stop-with-handle.exp: New file.
5766
3a56ed86
TV
57672019-10-03 Tom de Vries <tdevries@suse.de>
5768
5769 PR testsuite/25059
5770 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5771 directory" line to be missing.
5772
42275044
TV
57732019-10-03 Tom de Vries <tdevries@suse.de>
5774
5775 PR testsuite/25059
5776 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5777 type optional.
5778
9ef62df0
AA
57792019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5780
5781 * gdb.python/py-format-string.c (string.h): New include.
5782 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5783 the same value, for endianness-independence.
5784 * gdb.python/py-format-string.exp (default_regexp_dict)
5785 (test_pretty_structs, test_format): Adjust expected output to the
5786 changed initialization.
5787
37f6a7f4
TT
57882019-10-02 Tom Tromey <tromey@adacore.com>
5789
5790 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5791
1d58d6a2
PA
57922019-10-02 Pedro Alves <palves@redhat.com>
5793 Andrew Burgess <andrew.burgess@embecosm.com>
5794
5795 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5796 "print-file-var.h".
5797 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5798 (get_version_1): Print this_version_id and its address.
5799 Add extern "C" wrappers around interface functions.
5800 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5801 "print-file-var.h".
5802 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5803 (get_version_2): Print this_version_id and its address.
5804 Add extern "C" wrappers around interface functions.
5805 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5806 <stddef.h> and "print-file-var.h".
5807 Add extern "C" wrappers around interface functions.
5808 [VERSION_ID_MAIN] (this_version_id): Define.
5809 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5810 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5811 up extern "C" blocks.
5812 * gdb.base/print-file-var.exp (test): New, factored out from top
5813 level.
5814 (top level): Test all combinations of attribute hidden or not,
5815 dlopen or not, and this_version_id symbol in main file or not.
5816 Compile tests as both C++ and C, make test names unique.
5817
d770d56f
TT
58182019-10-01 Tom Tromey <tom@tromey.com>
5819
5820 * gdb.base/style.exp: Test "show logging filename".
5821
7f6aba03
TT
58222019-10-01 Tom Tromey <tom@tromey.com>
5823
5824 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5825 * gdb.base/style.exp: Add metadata style test.
5826
14309bb6
TT
58272019-10-01 Tom Tromey <tom@tromey.com>
5828
5829 * gdb.base/style.exp: Test "pwd".
5830
2a3c1174
PA
58312019-10-01 Tom Tromey <tom@tromey.com>
5832
5833 * gdb.base/style.exp: Update tests.
5834
53d666ec
AA
58352019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5836
5837 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5838 'six' to unsigned.
5839 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5840 'five'. Use an all-ones bit pattern for each.
5841 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5842 to its changed values.
5843
4a56a520
TT
58442019-09-30 Tom Tromey <tromey@adacore.com>
5845
5846 * gdb.rust/traits.rs: Disable all warnings.
5847
0df0352a
TV
58482019-09-29 Tom de Vries <tdevries@suse.de>
5849
aac66a4c 5850 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5851
73d9a918
TV
58522019-09-29 Tom de Vries <tdevries@suse.de>
5853
5854 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5855
060b3ab4
TV
58562019-09-27 Tom de Vries <tdevries@suse.de>
5857
5858 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5859
68f7d34d
TV
58602019-09-27 Tom de Vries <tdevries@suse.de>
5861
5862 PR record/23188
5863 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5864
5d63b30a
TT
58652019-09-26 Tom Tromey <tromey@adacore.com>
5866
5867 * gdb.ada/py_taft.exp: New file.
5868 * gdb.ada/py_taft/main.adb: New file.
5869 * gdb.ada/py_taft/pkg.adb: New file.
5870 * gdb.ada/py_taft/pkg.ads: New file.
5871
3d435220
TV
58722019-09-24 Tom de Vries <tdevries@suse.de>
5873
5874 PR gdb/24598
5875 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5876
77d03678
TV
58772019-09-22 Tom de Vries <tdevries@suse.de>
5878
5879 * gdb.base/restore.exp: Allow register variables to be optimized out at
5880 -O0.
5881
abf516c6
UW
58822019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5883
5884 * gdb.arch/spu-info.exp: Remove file.
5885 * gdb.arch/spu-info.c: Remove file.
5886 * gdb.arch/spu-ls.exp: Remove file.
5887 * gdb.arch/spu-ls.c: Remove file.
5888
5889 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5890 * gdb.asm/spu.inc: Remove file.
5891
5892 * gdb.base/dump.exp: Remove support for spu*-*-*.
5893 * gdb.base/stack-checking.exp: Likewise.
5894 * gdb.base/overlays.exp: Likewise.
5895 * gdb.base/ovlymgr.c: Likewise.
5896 * gdb.base/spu.ld: Remove file.
5897
5898 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5899 * gdb.cp/cpexprs.exp: Likewise.
5900 * gdb.cp/exception.exp: Likewise.
5901 * gdb.cp/gdb2495.exp: Likewise.
5902 * gdb.cp/mb-templates.exp: Likewise.
5903 * gdb.cp/pr9167.exp: Likewise.
5904 * gdb.cp/userdef.exp: Likewise.
5905
5906 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5907
5908 * gdb.cell: Remove directory.
5909 * lib/cell.exp: Remove file.
5910
e452e88f
TV
59112019-09-19 Tom de Vries <tdevries@suse.de>
5912
5913 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5914
8a625130
TV
59152019-09-19 Tom de Vries <tdevries@suse.de>
5916
5917 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5918
81dc3ab5
TV
59192019-09-19 Tom de Vries <tdevries@suse.de>
5920
5921 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5922 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5923 (gdb_target_cmd): ... here.
5924 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5925 value 2.
5926
b078f3ac
AB
59272019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5928
5929 * gdb.base/source-dir.exp: Avoid having directory names in test
5930 names.
5931
f1b620e9
MG
59322019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5933
5934 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5935 directory.
5936
67f3ed6a
AB
59372019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5938
5939 * gdb.base/list-missing-source.exp: New file.
5940
d1b70248
TV
59412019-09-14 Tom de Vries <tdevries@suse.de>
5942
5943 PR teststuite/24599
5944 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5945 * lib/ada.exp (gnatmake_version_at_least): New proc.
5946
5fabdcd6
AB
59472019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5948
5949 * gdb.base/maint.exp: Use exec_has_index_section.
5950
aa17805f
AB
59512019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5952
5953 * gdb.base/maint.exp: Add test for 'maint info sections'.
5954
25e5c209
TV
59552019-09-12 Tom de Vries <tdevries@suse.de>
5956
5957 * gdb.base/store.exp: Allow register variables to be optimized out at
5958 -O0.
5959
4993045d
PW
59602019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5961
5962 * gdb.ada/rdv_wait.exp: Update to new task names.
5963 * gdb.base/task_switch_in_core.exp: Likewise.
5964 * gdb.base/info_sources_base.c: Likewise.
5965
8a516164
TT
59662019-09-10 Tom Tromey <tromey@adacore.com>
5967
5968 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5969
aa391654
TT
59702019-09-10 Tom Tromey <tromey@adacore.com>
5971
5972 * gdb.ada/dgopt.exp: New file.
5973 * gdb.ada/dgopt/x.adb: New file.
5974
8634b462
TT
59752019-09-08 Tom Tromey <tom@tromey.com>
5976
5977 * gdb.tui/resize.exp: Remove setup_xfail.
5978 * gdb.tui/regs.exp: Remove setup_xfail.
5979 * gdb.tui/basic.exp: Remove setup_xfail.
5980
736b0f76
DB
59812019-09-06 David Blaikie <dblaikie@gmail.com>
5982
5983 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5984 * gdb.cp/cplabel.exp: Ditto.
5985 * gdb.linespec/ls-errs.exp: Ditto.
5986
30331a6c
TV
59872019-09-05 Tom de Vries <tdevries@suse.de>
5988
5989 * lib/gdb.exp (cmp_file_string): New proc.
5990 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5991 runto_main. Verify save breakpoints output.
5992
98b0ebab
PW
59932019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5994
5995 * gdb.base/info-var.exp: Test info variables without running
5996 to main, to avoid expect's buffer overflow.
5997
4e962e74
TT
59982019-09-03 Tom Tromey <tromey@adacore.com>
5999
6000 * gdb.ada/bias.exp: New file.
6001 * gdb.ada/bias/bias.adb: New file.
6002 * gdb.ada/print_chars.exp: Add regression test.
6003 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6004 (MC): New variable.
6005
2ea1a07a
SL
60062019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6007
6008 * gdb.base/argv0-symlink.exp: Run only on native target
6009 and local host.
6010
8077c50d
TV
60112019-08-29 Tom de Vries <tdevries@suse.de>
6012
6013 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6014 diverse debug info.
6015 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6016
48352473
TV
60172019-08-28 Tom de Vries <tdevries@suse.de>
6018
6019 * gdb.base/info-var.exp: Allow info variables to print info for files
6020 other than info-var-f1.c and info-var-f2.c.
6021
d8f27c60
AB
60222019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6023
6024 * gdb.fortran/info-types.exp: Add module.
6025 * gdb.fortran/info-types.f90: Update expected results.
6026
1f20c35e
AB
60272019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.fortran/info-types.exp: New file.
6030 * gdb.fortran/info-types.f90: New file.
6031 * lib/fortran.exp (fortran_character1): New proc.
6032
4acfdd20
AB
60332019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6034
6035 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6036 functions'. Reindent as needed.
6037 * gdb.base/info-var-f1.c: New file.
6038 * gdb.base/info-var-f2.c: New file.
6039 * gdb.base/info-var.exp: New file.
6040 * gdb.base/info-var.h: New file.
6041
5c31b358
TV
60422019-08-26 Tom de Vries <tdevries@suse.de>
6043
6044 PR c++/24852
6045 * gdb.cp/no-libstdcxx-probe.exp: New test.
6046
b694989f
TV
60472019-08-26 Tom de Vries <tdevries@suse.de>
6048
6049 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6050 * tests need to be skipped.
6051 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6052 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6053 mi_skip_libstdcxx_probe_tests.
6054
d9c4ba53
SDJ
60552019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6056
6057 * gdb.python/py-xmethods.exp: Use raw strings when passing
6058 arguments to SimpleXMethodMatcher.
6059
395fad09
TV
60602019-08-22 Tom de Vries <tdevries@suse.de>
6061
6062 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6063 more informative.
6064
26c957f1
PA
60652019-08-21 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.base/with.exp: Test "with" with no arguments.
6068
61f80d5d
TV
60692019-08-21 Tom de Vries <tdevries@suse.de>
6070
6071 * gdb.base/gdb-caching-proc.exp: Sort files.
6072
d7a11d13
TV
60732019-08-20 Tom de Vries <tdevries@suse.de>
6074
6075 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6076 compilation.
6077
34dafe9f
TV
60782019-08-16 Tom de Vries <tdevries@suse.de>
6079
6080 * gdb.base/compare-sections.exp ("after run to main"): Allow
6081 mismatched read-only sections for PIE executables.
6082
398fdd60
TT
60832019-08-16 Tom Tromey <tom@tromey.com>
6084
6085 * lib/tuiterm.exp (_csi_Z): New proc.
6086 * gdb.tui/basic.exp: Update window positions.
6087 * gdb.tui/empty.exp: Update window positions.
6088
d8f9e51c
SL
60892019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6090
6091 * gdb.base/examine-backward.exp: Correct regexp for
6092 "examine 3 bytes backward from ${address_zero}".
6093
3df505f6
TT
60942019-08-15 Tom Tromey <tom@tromey.com>
6095
6096 * gdb.tui/empty.exp: Enable resizing tests.
6097
272560b5
TT
60982019-08-15 Tom Tromey <tromey@adacore.com>
6099
6100 * gdb.ada/char_enum.exp: Add regression tests.
6101 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6102 and '0'.
6103 (Char, Gchar): Update.
6104 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6105
08235187
CB
61062019-08-15 Christian Biesinger <cbiesinger@google.com>
6107
6108 * gdb.python/python.exp: Expect a leading underscore on
6109 GdbOutput{,Error}File.
6110
22a2ab04
SL
61112019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6112
6113 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6114 Windows host.
6115
835b995b
SL
61162019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6117
6118 * gdb.base/batch-preserve-term-settings.exp
6119 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6120
97dd8e07
CB
61212019-08-15 Christian Biesinger <cbiesinger@google.com>
6122
6123 * lib/gdb.exp: When running on a mingw target, replace
6124 /x/ with x:/.
6125
75faf5c4
AH
61262019-08-14 Alan Hayward <alan.hayward@arm.com>
6127
6128 * gdb.arch/aarch64-prologue.c: New test.
6129 * gdb.arch/aarch64-prologue.exp: New file.
6130
abc6c00f
TV
61312019-08-13 Tom de Vries <tdevries@suse.de>
6132
6133 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6134 Thread.
6135
74c2c1f4
SL
61362019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6137
6138 * gdb.python/py-completion.exp: Download the .py file to the host
6139 and use its host pathname. Conditionalize tests that use
6140 tab completion and manipulate files on the build machine.
6141 * gdb.python/py-events.exp: Download the .py file to the host
6142 and use its host pathname.
6143 * gdb.python/py-evsignal.exp: Likewise.
6144 * gdb.python/py-evthreads.exp: Likewise.
6145 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6146 pathname syntax.
6147 * gdb.python/py-framefilter.exp: Download the .py file to the right
6148 place on the host. Match Windows pathname syntax.
6149 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6150 .py file to the host and use its host pathname.
6151 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6152 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6153 build pathname. Skip symlink test on Windows host. Add missing
6154 newline at end of file.
6155 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6156 and use its host pathname.
6157 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6158 * gdb.python/py-section-script.exp: Use host location of binfile
6159 on safe-path. Use correct path separator on Windows host.
6160 Reorder alternatives in gdb_test_multiple to prevent matching
6161 the wrong alternative on success.
6162 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6163
ca2589f3
PP
61642019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6165
6166 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6167 expect the GDB inferior to no longer immediately stop after
6168 being resumed with "signal SIGINT".
6169
020a839d
SL
61702019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6171
6172 * gdb.linespec/break-ask.exp: Generalize regexps to match
6173 Windows pathnames too.
6174
128d6509
TV
61752019-08-08 Tom de Vries <tdevries@suse.de>
6176
6177 PR testsuite/24862
6178 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6179
590042fc
PW
61802019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6181
6182 * gdb.base/style.exp: Update tests for help doc new invariants.
6183 * gdb.base/help.exp: Likewise.
6184
046bebe1
TT
61852019-08-06 Tom Tromey <tom@tromey.com>
6186
6187 * gdb.base/style.exp: Add disassemble test.
6188 * gdb.base/style.c (some_called_function): New function.
6189 (main): Use it.
6190
0b27c27d
CB
61912019-08-05 Christian Biesinger <cbiesinger@google.com>
6192
6193 * gdb.python/py-block.exp: Test dictionary access on blocks.
6194
580f1034
SM
61952019-08-05 Simon Marchi <simon.marchi@efficios.com>
6196
6197 PR gdb/24863
6198 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6199 -list-thread-groups --available test when running under
6200 check-read1.
6201
d86bd7cb
TV
62022019-08-05 Tom de Vries <tdevries@suse.de>
6203
6204 PR testsuite/24863
6205 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6206 * gdb.base/help.exp: Use with_read1_timeout_factor.
6207 * gdb.base/info-macros.exp: Same.
6208 * gdb.cp/nested-types.exp: Same.
6209
a80cf5d8
TV
62102019-08-05 Tom de Vries <tdevries@suse.de>
6211
6212 * lib/gdb.exp (version_at_least): Factor out of ...
6213 (tcl_version_at_least): ... here.
6214 (gdb_compile): Fail if pie results in non-PIE executable.
6215 (readelf_version, readelf_prints_pie): New proc.
6216 (exec_is_pie): Return -1 if unknown.
6217
d0962838
TV
62182019-08-05 Tom de Vries <tdevries@suse.de>
6219
6220 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6221
2252ff3d
SL
62222019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6223
6224 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6225
26655f53
SL
62262019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6227
6228 * lib/completion-support.exp (test_gdb_complete_none): Skip
6229 tab completion tests if no readline support.
6230 (test_gdb_complete_unique_re): Likewise.
6231 (test_gdb_complete_multiple): Likewise.
6232
db4dc13e
PW
62332019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6234
6235 * gdb.base/info_sources.exp: New file.
6236 * gdb.base/info_sources.c: New file.
6237 * gdb.base/info_sources_base.c: New file.
6238
0eba165a
PFC
62392019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6240
6241 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6242 prefix argument.
6243 (test_exit_status): Add prefix argument.
6244
59bd512b
TV
62452019-08-01 Tom de Vries <tdevries@suse.de>
6246
6247 PR testsuite/24863
6248 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6249 calling exp_continue for new thread and thread exited messages.
6250
2a3ad588
TV
62512019-08-01 Tom de Vries <tdevries@suse.de>
6252
6253 PR testsuite/24863
6254 * gdb.base/structs.exp: Fix check-read1 timeout using
6255 gdb_test_sequence.
6256 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6257
117eb594
TV
62582019-08-01 Tom de Vries <tdevries@suse.de>
6259
6260 PR testsuite/24863
6261 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6262 line.
6263
ed591340
TV
62642019-08-01 Tom de Vries <tdevries@suse.de>
6265
6266 PR testsuite/24863
6267 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6268
aa3b6533
TT
62692019-07-30 Tom Tromey <tromey@adacore.com>
6270
6271 * gdb.ada/display_nested.exp: New file.
6272 * gdb.ada/display_nested/foo.adb: New file.
6273 * gdb.ada/display_nested/pack.adb: New file.
6274 * gdb.ada/display_nested/pack.ads: New file.
6275
2906593f
CB
62762019-07-30 Christian Biesinger <cbiesinger@google.com>
6277
6278 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6279 namespace.
6280 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6281
0f575925
TV
62822019-07-30 Tom de Vries <tdevries@suse.de>
6283
6284 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6285 instead.
6286
b13057d9
TV
62872019-07-30 Tom de Vries <tdevries@suse.de>
6288
6289 PR testsuite/24834
6290 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6291 (exec_is_pie): New proc.
6292
5c4dde85
CB
62932019-07-29 Christian Biesinger <cbiesinger@google.com>
6294
6295 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6296
c620ed88
CB
62972019-07-29 Christian Biesinger <cbiesinger@google.com>
6298
6299 * gdb.python/py-objfile.c: Add global and static vars.
6300 * gdb.python/py-objfile.exp: Test new functions Objfile.
6301 lookup_global_symbol and lookup_static_symbol.
6302
3d235706
TT
63032019-07-29 Tom Tromey <tom@tromey.com>
6304
6305 * lib/tuiterm.exp (Term::_csi_@): New proc.
6306 (Term::_csi_X): Don't move cursor.
6307
c7e4c0a6
PW
63082019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6309
6310 * gdb.base/options.exp: Update backtrace - completion to
6311 new option -frame-info.
6312 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6313 Test new 'set print frame-info'. Test backtrace -frame-info
6314 overriding 'set print frame-info'.
6315 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6316 Test new 'set print frame-info'.
6317 Verify consistency of backtrace with and without filters, with and
6318 without -no-filters.
6319 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6320 default.
6321
de28a3b7
TV
63222019-07-29 Tom de Vries <tdevries@suse.de>
6323
6324 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6325 no arguments".
6326
507dd60e
TV
63272019-07-29 Tom de Vries <tdevries@suse.de>
6328
6329 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6330 is a substring of the first for "complete non-unique file name".
6331
5beafce9
TV
63322019-07-29 Tom de Vries <tdevries@suse.de>
6333
6334 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6335 with ".*".
6336
2d274232
TV
63372019-07-29 Tom de Vries <tdevries@suse.de>
6338
6339 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6340 Pass prompt_regexp parameter to gdb_test_multiple calls.
6341
9197cd8b
TV
63422019-07-29 Tom de Vries <tdevries@suse.de>
6343
6344 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6345 print registers" regexps.
9197cd8b 6346
b528dae0
TV
63472019-07-29 Tom de Vries <tdevries@suse.de>
6348
6349 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6350
d17725d7
TV
63512019-07-29 Tom de Vries <tdevries@suse.de>
6352
6353 PR gdb/24855
6354 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6355 (skip_python_tests_prompt): Add prompt_regexp argument to
6356 gdb_test_multiple calls.
6357
52b75bf1
TT
63582019-07-27 Tom Tromey <tom@tromey.com>
6359
6360 * gdb.tui/main.exp: New file.
6361
2b1d00c2
TT
63622019-07-27 Tom Tromey <tom@tromey.com>
6363
6364 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6365 optional.
6366 * gdb.tui/empty.exp: New file.
6367
ded631d5
TT
63682019-07-27 Tom Tromey <tom@tromey.com>
6369
6370 * lib/tuiterm.exp (spawn): New proc.
6371 (Term::resize): New proc.
6372 * gdb.tui/resize.exp: New file.
6373
58ac439d
TT
63742019-07-27 Tom Tromey <tom@tromey.com>
6375
6376 * gdb.tui/list.exp: New file.
6377
fe1f56ee
TT
63782019-07-27 Tom Tromey <tom@tromey.com>
6379
6380 * gdb.tui/regs.exp: New file.
6381
f790b310
TT
63822019-07-27 Tom Tromey <tom@tromey.com>
6383
6384 * gdb.tui/basic.exp: Add "layout split" test.
6385
d95fc6ee
TT
63862019-07-27 Tom Tromey <tom@tromey.com>
6387
6388 * gdb.tui/basic.exp: Add "layout asm" test.
6389
c3786b3a
TT
63902019-07-27 Tom Tromey <tom@tromey.com>
6391
6392 * lib/tuiterm.exp: New file.
6393 * gdb.tui/basic.exp: New file.
6394
98a617f8
KB
63952019-07-27 Kevin Buettner <kevinb@redhat.com>
6396
6397 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6398 Enable tests associated with this flag. Adjust regex
6399 referencing "foo_low" to now refer to "foo_cold" instead.
6400
5c076da4
KB
64012019-07-27 Kevin Buettner <kevinb@redhat.com>
6402
6403 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6404 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6405 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6406 foo_cold. Revise comments to match.
6407 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6408 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6409 were wrapped into this proc; Call do_test in loop from outermost
6410 level.
6411 (foo_low): Rename all occurrences to "foo_cold".
6412 (backtrace from baz): New test.
6413 (x2/i foo_cold): New test.
6414 (info line *foo_cold): New test.
6415
1512d3b7
TV
64162019-07-26 Tom de Vries <tdevries@suse.de>
6417
6418 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6419
297989a1
TV
64202019-07-25 Tom de Vries <tdevries@suse.de>
6421
6422 PR testsuite/24830
6423 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6424 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6425 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6426 (skip_libstdcxx_probe_tests): ... here.
6427 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6428
b3b965fb
TV
64292019-07-24 Tom de Vries <tdevries@suse.de>
6430
6431 PR testsuite/24807
6432 * gdb.objc/basicclass.m: Include stdio.h.
6433 * gdb.objc/nondebug.m: Same.
6434 * gdb.objc/objcdecode.m: Same.
6435
4625b4d0
TV
64362019-07-24 Tom de Vries <tdevries@suse.de>
6437
6438 PR testsuite/24612
6439 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6440 additional_flags.
6441
024a5840
TV
64422019-07-24 Tom de Vries <tdevries@suse.de>
6443
6444 PR testsuite/24831
6445 * gdb.multi/tids.exp: Update error messages for info threads.
6446
c76ddaa3
TV
64472019-07-24 Tom de Vries <tdevries@suse.de>
6448
6449 * gdb.base/info-types.exp: Allow info types to print info for more than
6450 one file.
6451
9a618ef6
TV
64522019-07-23 Tom de Vries <tdevries@suse.de>
6453
6454 PR testsuite/24842
6455 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6456 gdb_spawn_with_cmdline_opts.
6457
40eadf04
SP
64582019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6459
6460 * gdb.arch/arm-cmse-sgstubs.c: New test.
6461 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6462
5ba29434
TV
64632019-07-23 Tom de Vries <tdevries@suse.de>
6464
6465 PR testsuite/24711
6466 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6467 issuing next command.
6468
a8e9d247
AB
64692019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6470
6471 * gdb.ada/info_auto_lang.exp: Update expected results.
6472 * gdb.base/info-types.c: Add additional types to check.
6473 * gdb.base/info-types.exp: Update expected results.
6474
eb86c5e2
AB
64752019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6476
6477 * gdb.base/info-types.c: New file.
6478 * gdb.base/info-types.exp: New file.
6479
01e175fe
AB
64802019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6481
6482 * gdb.arch/riscv-bp-infcall.c: New file.
6483 * gdb.arch/riscv-bp-infcall.exp: New file.
6484
6b78c3f8
AB
64852019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6486
6487 PR breakpoints/24541
6488 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6489
da738167
TV
64902019-07-14 Tom de Vries <tdevries@suse.de>
6491
6492 PR testsuite/24760
6493 * gdb.objc/basicclass.exp: Fix unterminated string.
6494
0d4e84ed
AB
64952019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6496 Andrew Burgess <andrew.burgess@embecosm.com>
6497
6498 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6499 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6500 negative bounds.
6501 * gdb.fortran/vla-value.exp: Print elements of an array with
6502 negative bounds.
6503 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6504 testing.
6505
021d8588
AB
65062019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6507
6508 * gdb.base/options.exp (expect_string): Dequote strings in
6509 results.
6510 (test-string): Test strings with different quoting and reindent.
6511
f06f1252
TT
65122019-07-10 Tom Tromey <tromey@adacore.com>
6513
6514 * gdb.ada/mi_ex_cond.exp: Update expected results.
6515 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6516 * gdb.ada/mi_catch_ex.exp: Update expected results.
6517 * gdb.ada/mi_catch_assert.exp: Update expected results.
6518 * gdb.ada/catch_ex.exp (catch_exception_info)
6519 (catch_exception_entry, catch_assert_entry)
6520 (catch_unhandled_entry): Update.
6521 * gdb.ada/catch_assert_if.exp: Update expected results.
6522
b863685d
RB
65232019-07-10 Richard Bunt <richard.bunt@arm.com>
6524 Stephen Roberts <stephen.roberts@arm.com>
6525
6526 * gdb.base/define.exp: Restore original prompt.
6527
cb1e4e32
PA
65282019-07-09 Pedro Alves <palves@redhat.com>
6529
6530 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6531 breakpoints" output.
6532 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6533 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6534 throw" creates breakpoint.
6535 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6536 'type="catchpoint"'.
6537
b58a68fe
PA
65382019-07-09 Pedro Alves <palves@redhat.com>
6539
6540 PR c++/15468
6541 * gdb.cp/except-multi-location-lib.cc: New.
6542 * gdb.cp/except-multi-location-main.cc: New.
6543 * gdb.cp/except-multi-location.exp: New.
6544
0826779b
PW
65452019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6546
6547 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6548 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6549 argument and update callers.
6550
5b0e2db4
AB
65512019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6552
6553 * gdb.arch/amd64-break-on-asm-line.S: New file.
6554 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6555
1f6f6e21
PW
65562019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6557
6558 * gdb.base/printcmds.exp: Test printing C string and
6559 C wide string convenience vars without transiting via the inferior.
6560 Also make test names unique.
6561
ea142fbf
AH
65622019-07-08 Alan Hayward <alan.hayward@arm.com>
6563
5862c886 6564 PR breakpoints/25011
ea142fbf
AH
6565 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6566
213fd9fa
PA
65672019-07-04 Pedro Alves <palves@redhat.com>
6568
6569 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6570 body returned ok(0), break(3) or continue(4).
6571 * gdb.testsuite/foreach_with_prefix.exp: New file.
6572
2b40fda7
AH
65732019-07-04 Alan Hayward <alan.hayward@arm.com>
6574
6575 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6576
a26c8de0
PA
65772019-07-03 Pedro Alves <palves@redhat.com>
6578
6579 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6580 "return -code".
6581
5f4ba3e7
PA
65822019-07-03 Pedro Alves <palves@redhat.com>
6583
6584 PR cli/24732
6585 * gdb.base/shell.exp: Load completion-support.exp.
6586 Adjust expected error output. Add completion tests.
6587
a994424f
PA
65882019-07-03 Pedro Alves <palves@redhat.com>
6589
6590 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6591 string_to_regexp.
6592
3d9be6f5
PA
65932019-07-03 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6596 (expect_integer): Adjust to expect "-string".
6597 (expect_string): New.
6598 (all_options): Expect "-string".
6599 (test-flag, test-boolean): Adjust to expect "-string".
6600 (test-string): New proc.
6601 (top level): Call it.
6602
41fc454c
PA
66032019-07-03 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6606 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6607 the expected output in the success.
6608
b2b2a215
PA
66092019-07-03 Pedro Alves <palves@redhat.com>
6610
6611 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6612 Split one gdb_test_multiple call in two to avoid a race.
6613
fdbc9870
PA
66142019-07-03 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.base/with.c: New file.
6617 * gdb.base/with.exp: New file.
6618
c6ac8931
PA
66192019-07-03 Pedro Alves <palves@redhat.com>
6620
6621 * gdb.base/settings.exp: Replace all references to "maint
6622 test-settings set" with references to "maint set test-settings",
6623 and all references to "maint test-settings show" with references
6624 to "maint show test-settings".
6625
970f9d09
PA
66262019-07-03 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/settings.exp (test-string): Adjust expected out when
6629 testing "maint test-settings show filename"
6630
54d66006
PA
66312019-07-02 Pedro Alves <palves@redhat.com>
6632
6633 * gdb.base/options.exp (test-info-threads): New procedure.
6634 (top level): Call it.
6635
10d06d82
TT
66362019-06-28 Tom Tromey <tromey@adacore.com>
6637
6638 * gdb.dwarf2/ada-linkage-name.c: New file.
6639 * gdb.dwarf2/ada-linkage-name.exp: New file.
6640
3d507ff2
TT
66412019-06-27 Tom Tromey <tromey@adacore.com>
6642
d039f014 6643 PR c++/20020:
3d507ff2
TT
6644 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6645
8af58ffe
TV
66462019-06-26 Tom de Vries <tdevries@suse.de>
6647
6648 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6649
22e21752
TV
66502019-06-26 Tom de Vries <tdevries@suse.de>
6651
6652 * gdb.base/index-cache.exp: Add back missing debug option.
6653
b65b566c
PW
66542019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6655
6656 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6657
5c2c8c69
TV
66582019-06-25 Tom de Vries <tdevries@suse.de>
6659
6660 PR testsuite/24727
6661 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6662
164e3873
TV
66632019-06-24 Tom de Vries <tdevries@suse.de>
6664
6665 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6666
824eacee
TV
66672019-06-24 Tom de Vries <tdevries@suse.de>
6668
6669 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6670 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6671 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6672
385b97d3
TV
66732019-06-24 Tom de Vries <tdevries@suse.de>
6674
6675 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6676
c596f180
TV
66772019-06-21 Tom de Vries <tdevries@suse.de>
6678
6679 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6680
b13a7d03
TV
66812019-06-21 Tom de Vries <tdevries@suse.de>
6682
6683 PR testsuite/24518
6684 PR ada/24713
6685 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6686 index.
6687
899277ae
TT
66882019-06-19 Tom Tromey <tromey@adacore.com>
6689
6690 * gdb.ada/length_cond.exp: Add intro comment.
6691
680e1bee
TT
66922019-06-19 Tom Tromey <tromey@adacore.com>
6693
6694 * gdb.ada/length_cond.exp: New file.
6695 * gdb.ada/length_cond/length_cond.adb: New file.
6696 * gdb.ada/length_cond/pck.adb: New file.
6697 * gdb.ada/length_cond/pck.ads: New file.
6698
0ed4690a
TV
66992019-06-18 Tom de Vries <tdevries@suse.de>
6700
6701 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6702
d20ed5fd
TT
67032019-06-18 Tom Tromey <tromey@adacore.com>
6704
6705 * gdb.base/list0.h: Add comment explaining control character.
6706
86e04673
TV
67072019-06-18 Tom de Vries <tdevries@suse.de>
6708
6709 * boards/fission.exp: Break up long debug_flags line.
6710
c4973306
SM
67112019-06-16 Tom de Vries <tdevries@suse.de>
6712
6713 PR gdb/24445
6714 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6715 generated index.
6716
93cb9841
AB
67172019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6718
6719 PR gdb/24686
6720 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6721 improve detection of bug gdb/24541.
6722
399aaebd
SM
67232019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6724
6725 PR gdb/24669
6726 * gdb.base/index-cache.exp (uses_readnow,
6727 expecting_index_cache_use): Define global variable.
6728 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6729 expecting_index_cache_use.
6730
584a927c
AB
67312019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6732 Andrew Burgess <andrew.burgess@embecosm.com>
6733
6734 * gdb.fortran/pointers.f90: New file.
6735 * gdb.fortran/print_type.exp: New file.
6736 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6737 * gdb.fortran/vla-type.exp: Likewise.
6738 * gdb.fortran/vla-value.exp: Likewise.
6739 * gdb.mi/mi-vla-fortran.exp: Likewise.
6740
30056ea0
AB
67412019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6742
6743 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6744 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6745 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6746 as a stop reason.
6747
ec8e2b6d
AB
67482019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6749
6750 * gdb.base/annota1.exp: Update expected results.
6751 * gdb.cp/annota2.exp: Likewise.
6752 * gdb.cp/annota3.exp: Likewise.
6753
09e4c4e1
AB
67542019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6755
6756 * gdb.base/style-logging.exp: Remove path from test name.
6757
0735b091
TT
67582019-06-14 Tom Tromey <tromey@adacore.com>
6759
6760 PR gdb/24502:
6761 * gdb.base/style-logging.exp: New file.
6762
f5686554
TT
67632019-06-14 Tom Tromey <tromey@adacore.com>
6764
6765 * gdb.base/symfile-warn.exp: New file.
6766 * gdb.base/symfile-warn.c: New file.
6767
a0c1ffed
TT
67682019-06-14 Tom Tromey <tromey@adacore.com>
6769
6770 * gdb.base/annotate-symlink.exp: New file.
6771
f411722c
TT
67722019-06-14 Tom Tromey <tromey@adacore.com>
6773
6774 * gdb.ada/set_wstr.exp: Add reassignment test.
6775
4268ec18
TT
67762019-06-14 Tom Tromey <tromey@adacore.com>
6777
6778 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6779 'unchecked_access and 'unrestricted_access as well.
6780
9a9e394b
TT
67812019-06-14 Tom Tromey <tromey@adacore.com>
6782
6783 PR ada/24539:
6784 * gdb.ada/vla.exp: Update tests.
6785 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6786 pragma.
6787
4c048731
PA
67882019-06-13 Pedro Alves <palves@redhat.com>
6789
6790 * gdb.base/settings.exp (test-integer): Test junk after
6791 "unlimited".
6792
6665660a
PA
67932019-06-13 Pedro Alves <palves@redhat.com>
6794
6795 * gdb.base/options.exp (test-thread-apply): New.
6796 (top level): Call it.
6797
5d707134
PA
67982019-06-13 Pedro Alves <palves@redhat.com>
6799
6800 * gdb.base/options.exp (test-frame-apply): New.
6801 (top level): Test print commands with different "frame apply"
6802 prefixes.
6803
e2a689da
PA
68042019-06-13 Pedro Alves <palves@redhat.com>
6805
e79be6e5 6806 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6807 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6808 'max_completions' parameter and handle it.
6809 (test_gdb_completion_offers_commands): New.
6810
90a1ef87
PA
68112019-06-13 Pedro Alves <palves@redhat.com>
6812
6813 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6814
d4c16835
PA
68152019-06-13 Pedro Alves <palves@redhat.com>
6816
6817 * gdb.base/options.exp (test-backtrace): New.
6818 (top level): Call it.
6819
2daf894e
PA
68202019-06-13 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.guile/scm-frame-args.exp: Use "set print
6823 raw-frame-arguments" instead of "set print raw frame-arguments".
6824 * gdb.python/py-frame-args.exp: Likewise.
6825
e6ed716c
PA
68262019-06-13 Pedro Alves <palves@redhat.com>
6827
6828 * gdb.compile/compile.exp: Adjust expected output to option
6829 processing changes.
6830
7d8062de
PA
68312019-06-13 Pedro Alves <palves@redhat.com>
6832
6833 * gdb.base/options.exp: Build executable.
6834 (test-print): New procedure.
6835 (top level): Call it, once for "print" and another for "compile
6836 print".
6837
9d0faba9
PA
68382019-06-13 Pedro Alves <palves@redhat.com>
6839
6840 * gdb.base/options.c: New file.
6841 * gdb.base/options.exp: New file.
6842
dee7b4c8
PA
68432019-06-13 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6846 that "o" is ambiguous.
6847
dca0f6c0
PA
68482019-06-13 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/settings.c: New file.
6851 * gdb.base/settings.exp: New file.
6852
ccf46844
PA
68532019-06-13 Pedro Alves <palves@redhat.com>
6854
6855 * gdb.base/completion.exp: Fix comment typo.
6856
b9a3f842
PA
68572019-06-13 Pedro Alves <palves@redhat.com>
6858
6859 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6860 foo --1" test.
6861
d106773e
PA
68622019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6863
6864 * gdb.fortran/block-data.f: New.
6865 * gdb.fortran/block-data.exp: New.
6866
fea82da0
TV
68672019-06-11 Tom de Vries <tdevries@suse.de>
6868
6869 PR testsuite/24521
6870 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6871 message.
6872
8c2e74f1
TV
68732019-06-11 Tom de Vries <tdevries@suse.de>
6874
6875 PR testsuite/24521
6876 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6877
b49851c8
TV
68782019-06-11 Tom de Vries <tdevries@suse.de>
6879
6880 * boards/readnow.exp: New file.
6881
a7067863
AB
68822019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6883
6884 * gdb.fortran/vla-sizeof.exp: Update expected results.
6885
1a3da2cd
AB
68862019-06-06 Amos Bird <amosbird@gmail.com>
6887
6888 * gdb.base/annota1.exp (thread_switch): Add test for
6889 thread-exited annotation.
6890
3847a7bf
TT
68912019-06-06 Tom Tromey <tromey@adacore.com>
6892
6893 * gdb.base/maint.exp: Expect command started/finished output.
6894
0088ba59
AB
68952019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6896
6897 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6898 comment.
6899 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6900
312617a3
AB
69012019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6902
6903 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6904 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6905 * gdb.arch/riscv-unwind-long-insn.c: New file.
6906 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6907
e1f2e1a2
CB
69082019-06-04 Christian Biesinger <cbiesinger@google.com>
6909
d3238f7d 6910 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6911
206584bd
PW
69122019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6913
6914 * lib/gdb.exp (help_list_trailer): New regexp variable
6915 factorizing the help trailer message.
6916 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6917 arg to allow to better factorize various tests.
6918 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6919 (test_prefix_command_help): Use help_list_trailer.
6920 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6921 * gdb.guile/scm-cmd.exp: Likewise.
6922 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6923 * gdb.base/help.exp: Use test_user_defined_class_help.
6924 * gdb.base/style.exp: Add tests for styling of help and apropos.
6925 * lib/gdb-utils.exp (style): Add title and highlight styles.
6926
708dc93e
PW
69272019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6928
6929 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6930 $_shell_exitsignal.
6931 * gdb.base/default.exp: Update for new convenience variables.
6932
f49055a5
TT
69332019-05-29 Tom Tromey <tromey@adacore.com>
6934
6935 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6936 to "break complete ada" test case's regexp.
6937
4330d61d
TT
69382019-05-29 Tom Tromey <tromey@adacore.com>
6939
6940 PR c++/20020:
6941 * gdb.cp/constexpr-field.exp: New file.
6942 * gdb.cp/constexpr-field.cc: New file.
6943
000439d5
TT
69442019-05-29 Tom Tromey <tromey@adacore.com>
6945
6946 * gdb.base/finish.exp (finish_no_print): New proc.
6947 (finish_tests): Call it.
6948
5a01c34c
TV
69492019-05-24 Tom de Vries <tdevries@suse.de>
6950
6951 * gdb.dwarf2/gdb-add-index.exp: New file.
6952
18125b16
TT
69532019-05-22 Tom Tromey <tromey@adacore.com>
6954
6955 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6956 * gdb.base/style.exp: Use "style".
6957 * lib/gdb-utils.exp (style): New proc.
6958
af1a8d03
TV
69592019-05-22 Tom de Vries <tdevries@suse.de>
6960
6961 * gdb.base/align.exp: Require c++11.
6962
e7fe496b
TV
69632019-05-22 Tom de Vries <tdevries@suse.de>
6964
6965 PR testsuite/24586
6966 * gdb.python/py-mi-var-info-path-expression.exp: Call
6967 mi_skip_python_tests to check if python is supported.
6968
8fca4da0
AH
69692019-05-22 Alan Hayward <alan.hayward@arm.com>
6970
6971 * gdb.arch/aarch64-pauth.c: New test.
6972 * gdb.arch/aarch64-pauth.exp: New file.
6973
b7060614
AH
69742019-05-22 Alan Hayward <alan.hayward@arm.com>
6975
6976 * README (Re-running Tests Outside The Testsuite): New section.
6977
669d0468
TV
69782019-05-21 Tom de Vries <tdevries@suse.de>
6979
6980 * gdb.arch/amd64-eval.exp: Require c++11.
6981 * gdb.base/max-depth.exp: Same.
6982 * gdb.compile/compile-cplus-array-decay.exp: Same.
6983 * gdb.cp/meth-typedefs.exp: Same.
6984 * gdb.cp/subtypes.exp: Same.
6985 * gdb.cp/temargs.exp: Same.
6986
ce3ebcaa
AH
69872019-05-21 Alan Hayward <alan.hayward@arm.com>
6988
6989 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6990
34d11c68
AB
69912019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6992
6993 PR gdb/18644
6994 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6995 * gdb.fortran/printing-types.exp: Add new test.
6996 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6997 testing.
6998 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6999 setup_kfail call.
7000
87781e84
AH
70012019-05-17 Alan Hayward <alan.hayward@arm.com>
7002
7003 * README (Running the Testsuite): Change example.
7004 (Testsuite Parameters): Remove TRANSCRIPT.
7005 * lib/gdb.exp: Remove TRANSCRIPT check.
7006
b420b89e
AH
70072019-05-17 Alan Hayward <alan.hayward@arm.com>
7008
7009 * README (Testsuite Parameters): Add replay logging to
7010 GDBSERVER_DEBUG.
7011 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7012 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7013 as a comma separated list.
7014 (gdb_debug_init): Override procedure.
7015
408e9b8b
AH
70162019-05-17 Alan Hayward <alan.hayward@arm.com>
7017
7018 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7019 (gdb_write_cmd_file): New procedure.
7020 * lib/gdbserver-support.exp (gdbserver_start): Call
7021 gdbserver_write_cmd_file.
7022 (gdbserver_write_cmd_file): New procedure.
7023
f9e2e39d
AH
70242019-05-17 Alan Hayward <alan.hayward@arm.com>
7025
7026 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7027 (delete_breakpoints): Likewise.
7028 (gdb_run_cmd): Likewise.
7029 (gdb_start_cmd): Likewise.
7030 (gdb_starti_cmd): Likewise.
7031 (gdb_internal_error_resync): Likewise.
7032 (gdb_test_multiple): Likewise.
7033 (gdb_reinitialize_dir): Likewise.
7034 (default_gdb_exit): Likewise.
7035 (gdb_file_cmd): Mark kill as optional.
7036 (default_gdb_start): Call gdb_stdin_log_init.
7037 (send_gdb): Call gdb_stdin_log_write.
7038 (rerun_to_main): Mark Y as an answer.
7039 (gdb_stdin_log_init): New function.
7040 (gdb_stdin_log_write): Likewise.
7041
81f47ac2
AH
70422019-05-17 Alan Hayward <alan.hayward@arm.com>
7043
7044 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7045 * gdb.base/debug-expr.exp: Likewise.
7046 * gdb.base/foll-fork.exp: Likewise.
7047 * gdb.base/foll-vfork.exp: Likewise.
7048 * gdb.base/fork-print-inferior-events.exp: Likewise.
7049 * gdb.base/gdb-sigterm.exp: Likewise.
7050 * gdb.base/gdbinit-history.exp: Likewise.
7051 * gdb.base/osabi.exp: Likewise.
7052 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7053 * gdb.base/ui-redirect.exp: Likewise.
7054 * gdb.gdb/unittest.exp: Likewise.
7055 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7056 * gdb.mi/mi-watch.exp: Likewise.
7057 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7058 * gdb.mi/user-selected-context-sync.exp: Likewise.
7059 * gdb.python/python.exp: Disable debug test when debugging.
7060 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7061 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7062 Likewise.
7063 * gdb.threads/stepi-random-signal.exp: Likewise.
7064
29b52314
AH
70652019-05-17 Alan Hayward <alan.hayward@arm.com>
7066
7067 * Makefile.in: Pass through GDB_DEBUG.
7068 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7069 (gdb,debug): Add board setting.
7070 * lib/gdb.exp (default_gdb_start): Start debugging.
7071 (gdb_debug_enabled): New procedure.
7072 (gdb_debug_init): Likewise.
29b52314
AH
7073
70742019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7075
29b52314
AH
7076 * Makefile.in: Pass through GDB_DEBUG.
7077 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7078 (gdb,debug): Add board setting.
7079 * lib/gdb.exp (default_gdb_start): Start debugging.
7080 (gdb_debug_enabled): New procedure.
7081 (gdb_debug_init): Likewise.
29b52314 7082
ca1285d1
AH
70832019-05-17 Alan Hayward <alan.hayward@arm.com>
7084
7085 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7086
f3a09c80
AH
70872019-05-17 Alan Hayward <alan.hayward@arm.com>
7088
7089 * gdb.base/ui-redirect.exp: Test redirection.
7090
26648588
JV
70912019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7092
7093 * gdb.mi/mi-complete.exp: New file.
7094 * gdb.mi/mi-complete.cc: Likewise.
7095
14237686
AB
70962019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7097
7098 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7099 indexed and sliced arrays, and pointers to arrays.
7100
e7bd7fba
TT
71012019-05-14 Tom Tromey <tromey@adacore.com>
7102
7103 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7104 styling test.
7105
2764128d
TV
71062019-05-14 Tom de Vries <tdevries@suse.de>
7107
7108 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7109 selection entry encoding.
7110
71bed2db
TT
71112019-05-10 Tom Tromey <tromey@adacore.com>
7112
7113 * gdb.ada/info_exc.exp: Add "complete" test.
7114
63b667ad
TV
71152019-05-09 Tom de Vries <tdevries@suse.de>
7116
7117 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7118 CU-relative.
7119
9cfd2b89
TV
71202019-05-09 Tom de Vries <tdevries@suse.de>
7121
7122 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7123 CU-relative.
7124
2228ef77
XR
71252019-05-08 Joel Brobecker <brobecker@adacore.com>
7126
7127 * gdb.ada/frame_arg_lang.exp: New testcase.
7128 * gdb.ada/frame_arg_lang/bla.adb: New file.
7129 * gdb.ada/frame_arg_lang/pck.ads: New file.
7130 * gdb.ada/frame_arg_lang/pck.adb: New file.
7131 * gdb.ada/frame_arg_lang/foo.c: New file.
7132
80e55b13
TT
71332019-05-08 Tom Tromey <tromey@adacore.com>
7134
7135 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7136
9d3421af
TT
71372019-05-08 Tom Tromey <tromey@adacore.com>
7138
7139 * gdb.base/ptype-offsets.exp: Update tests.
7140
844333e2
TT
71412019-05-08 Tom Tromey <tromey@adacore.com>
7142
7143 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7144 cases.
7145 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7146 "short".
7147
988915ee
TT
71482019-05-08 Tom Tromey <tromey@adacore.com>
7149
7150 * gdb.ada/vla.exp: New file.
7151 * gdb.ada/vla/vla.adb: New file.
7152
7bd55dac
TV
71532019-05-07 Tom de Vries <tdevries@suse.de>
7154
7155 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7156
75f06e9d
TV
71572019-05-07 Tom de Vries <tdevries@suse.de>
7158
7159 PR testsuite/24522
7160 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7161 section.
7162
77e7aaa4
TV
71632019-05-07 Tom de Vries <tdevries@suse.de>
7164
7165 PR testsuite/24522
7166 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7167 .debug_aranges section.
7168
456ba0fa
TV
71692019-05-07 Tom de Vries <tdevries@suse.de>
7170
7171 PR testsuite/24159
7172 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7173
5a56d6a6
TV
71742019-05-06 Tom de Vries <tdevries@suse.de>
7175
7176 * lib/gdb.exp (exec_has_index_section): New proc.
7177 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7178 section.
7179
9d6d4be8
TV
71802019-05-04 Tom de Vries <tdevries@suse.de>
7181
7182 * boards/cc-with-debug-names.exp: New file.
7183
222a8d25
TT
71842019-05-03 Tom Tromey <tromey@adacore.com>
7185
7186 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7187 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7188 * gdb.ada/char_enum.exp: Add test.
7189
0fdfd794
TV
71902019-05-03 Tom de Vries <tdevries@suse.de>
7191
7192 * boards/cc-with-gdb-index.exp: New file.
7193
80062eb9
AB
71942019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7195
7196 * gdb.rust/simple.exp: Add new test case.
7197 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7198 (main): Initialise an instance of the new struct.
7199
4504bbde
TT
72002019-05-01 Tom Tromey <tromey@adacore.com>
7201
7202 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7203 record.
7204 (NPR): New variable.
7205 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7206 test.
7207
d48e62f4
TT
72082019-05-01 Tom Tromey <tromey@adacore.com>
7209
7210 * gdb.ada/packed_array_assign.exp: Add packed assignment
7211 regression test.
7212
f59f30f5
TV
72132019-05-01 Tom de Vries <tdevries@suse.de>
7214
7215 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7216
b70bfc54
TV
72172019-05-01 Tom de Vries <tdevries@suse.de>
7218
7219 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7220
15f18d14
AT
72212019-04-30 Ali Tamur <tamur@google.com>
7222
7223 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7224
2ff0a947
TT
72252019-04-30 Tom Tromey <tromey@adacore.com>
7226
7227 * lib/ada.exp (find_ada_tool): New proc.
7228 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7229 * gdb.ada/catch_ex_std.exp: New file.
7230 * gdb.ada/catch_ex_std/foo.adb: New file.
7231 * gdb.ada/catch_ex_std/some_package.adb: New file.
7232 * gdb.ada/catch_ex_std/some_package.ads: New file.
7233
a776957c
TT
72342019-04-30 Tom Tromey <tromey@adacore.com>
7235
7236 PR c++/24470:
7237 * gdb.cp/temargs.cc: Add test code from PR.
7238
bc68014d
AB
72392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7240
7241 * gdb.fortran/vla-datatypes.exp: Update expected results.
7242 * gdb.fortran/vla-ptype.exp: Likewise.
7243 * gdb.fortran/vla-type.exp: Likewise.
7244 * gdb.fortran/vla-value.exp: Likewise.
7245
f1fdc960
AB
72462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7247
7248 * gdb.fortran/ptr-indentation.exp: Update expected results.
7249 * gdb.fortran/ptype-on-functions.exp: Likewise.
7250 * gdb.fortran/vla-ptr-info.exp: Likewise.
7251 * gdb.fortran/vla-value.exp: Likewise.
7252
bf7a4de1
AB
72532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7254
7255 * gdb.fortran/ptype-on-functions.exp: New file.
7256 * gdb.fortran/ptype-on-functions.f90: New file.
7257
bbe75b9d
AB
72582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7259
7260 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7261 case void string.
7262
1db455a7
AB
72632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7264
7265 * gdb.fortran/complex.exp: Expand.
7266 * gdb.fortran/complex.f: Renamed to...
7267 * gdb.fortran/complex.f90: ...this, and extended to add more
7268 complex values.
7269
b6d03bb2
AB
72702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7271
7272 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7273 MODULO, CMPLX.
7274
2e62ab40
AB
72752019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7276 Richard Bunt <richard.bunt@arm.com>
7277
7278 * gdb.base/max-depth.c: New file.
7279 * gdb.base/max-depth.exp: New file.
7280 * gdb.python/py-nested-maps.c: New file.
7281 * gdb.python/py-nested-maps.exp: New file.
7282 * gdb.python/py-nested-maps.py: New file.
7283 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7284 (test_all_common): Call test_max_depth.
7285 * gdb.fortran/max-depth.exp: New file.
7286 * gdb.fortran/max-depth.f90: New file.
7287 * gdb.go/max-depth.exp: New file.
7288 * gdb.go/max-depth.go: New file.
7289 * gdb.modula2/max-depth.exp: New file.
7290 * gdb.modula2/max-depth.c: New file.
7291 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7292
d2b584a5
TV
72932019-04-29 Tom de Vries <tdevries@suse.de>
7294
7295 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7296
136afab8
PW
72972019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7298
7299 * gdb.base/callexit.exp: Test may-call-functions off.
7300
725cbb63
KS
73012019-04-25 Keith Seitz <keiths@redhat.com>
7302
7303 PR c++/24367
7304 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7305 (another_incomplete_struct, test_incomplete): New definitions.
7306 (main): Use new definitions.
7307 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7308 functions.
7309
701adfb0
PA
73102019-04-25 Ali Tamur <tamur@google.com>
7311
7312 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7313
82433e3e
SDJ
73142019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7315
7316 PR corefiles/11608
7317 PR corefiles/18187
7318 * gdb.base/coredump-filter-build-id.exp: New file.
7319
dd06d4d6
AH
73202019-04-25 Alan Hayward <alan.hayward@arm.com>
7321
e79be6e5
SM
7322 * Makefile.in: Pass through GDBSERVER_DEBUG.
7323 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7324 (gdbserver,debug): Add board setting.
7325 * gdb.trace/tspeed.exp: Skip when debugging.
7326 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7327 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7328
1670072e
TT
73292019-04-24 Tom Tromey <tromey@adacore.com>
7330
7331 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7332 Rust.
7333
a59240a4
TT
73342019-04-24 Tom Tromey <tromey@adacore.com>
7335
7336 * gdb.arch/amd64-eval.exp: Test bitfield return.
7337 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7338 (class Foo) <return_bitfields>: New method.
7339 (main): Call it.
7340
b907456c
AB
73412019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7342
7343 * gdb.cp/many-args.cc: New file.
7344 * gdb.cp/many-args.exp: New file.
7345
5c565afd
TV
73462019-04-23 Tom de Vries <tdevries@suse.de>
7347
7348 PR gdb/24433
7349 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7350
ba22ff86
AH
73512019-04-23 Alan Hayward <alan.hayward@arm.com>
7352
7353 * gdb.trace/backtrace.exp: Use nopie flag.
7354 * gdb.trace/circ.exp: Likewise.
7355 * gdb.trace/collection.exp: Likewise.
7356 * gdb.trace/ftrace.exp: Likewise.
7357 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7358 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7359 * gdb.trace/qtro.exp: Likewise.
7360 * gdb.trace/read-memory.exp: Likewise.
7361 * gdb.trace/report.exp: Likewise.
7362 * gdb.trace/tfile.exp: Likewise.
7363 * gdb.trace/tfind.exp: Likewise.
7364 * gdb.trace/unavailable.exp: Likewise.
7365
7905fc35
PA
73662019-04-22 Pedro Alves <palves@redhat.com>
7367
7368 * gdb.base/solib-probes-nosharedlibrary.c,
7369 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7370
8ecb59f8
TT
73712019-04-19 Tom Tromey <tromey@adacore.com>
7372
7373 * gdb.ada/ptype_union.c: New file.
7374 * gdb.ada/ptype_union.exp: New file.
7375
62160ec9
TT
73762019-04-19 Tom Tromey <tromey@adacore.com>
7377
7378 PR symtab/24423:
7379 * gdb.base/list0.h (foo): Add a control-l character.
7380
36cd4ba5
TV
73812019-04-18 Tom de Vries <tdevries@suse.de>
7382
7383 PR gdb/24433
7384 * boards/local-board.exp: Set sysroot to "".
7385
b73715df
TV
73862019-04-18 Tom de Vries <tdevries@suse.de>
7387 Pedro Alves <palves@redhat.com>
7388
7389 PR gdb/24454
7390 * gdb.threads/vfork-follow-child-exec.c: New file.
7391 * gdb.threads/vfork-follow-child-exec.exp: New file.
7392 * gdb.threads/vfork-follow-child-exit.c: New file.
7393 * gdb.threads/vfork-follow-child-exit.exp: New file.
7394
4aa866af
LS
73952019-04-15 Leszek Swirski <leszeks@google.com>
7396
7397 * gdb.arch/amd64-eval.cc: New file.
7398 * gdb.arch/amd64-eval.exp: New file.
7399
e5a1a79a
AH
74002019-04-11 Alan Hayward <alan.hayward@arm.com>
7401
7402 * gdb.server/sysroot.c: New test.
7403 * gdb.server/sysroot.exp: New file.
7404 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7405 matching param.
7406
41077b66
AB
74072019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7408
7409 * gdb.base/align.exp: Extend test to cover structures containing
7410 only static fields.
7411
c30391f8
TV
74122019-04-11 Tom de Vries <tdevries@suse.de>
7413
7414 * boards/cc-with-dwz-m.exp: New file.
7415 * boards/cc-with-dwz.exp: New file.
7416 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7417
e242fd12
SM
74182019-04-09 Simon Marchi <simon.marchi@efficios.com>
7419
7420 * gdb.base/start-cpp.exp: New file.
7421 * gdb.base/start-cpp.cc: New file.
7422
2b0c8b01
KB
74232019-04-08 Kevin Buettner <kevinb@redhat.com>
7424
7425 * gdb.python/py-thrhandle.exp: Adjust tests to call
7426 thread_from_handle instead of thread_from_thread_handle.
7427
947210e5
KB
74282019-04-08 Kevin Buettner <kevinb@redhat.com>
7429
7430 * gdb.python/py-thrhandle.exp: Add tests for
7431 gdb.InferiorThread.handle.
7432
d7df6549
AB
74332019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7434
7435 * gdb.python/py-function.exp: Check calling helper function from
7436 all languages.
7437 * lib/gdb.exp (gdb_supported_languages): New proc.
7438
8bdc1658
AB
74392019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7440
7441 * gdb.base/complex-parts.c: New file.
7442 * gdb.base/complex-parts.exp: New file.
7443
05caa1d2
TT
74442019-04-01 Tom Tromey <tromey@adacore.com>
7445
7446 PR symtab/23331:
7447 * gdb.dwarf2/dw2-ranges-main.c: New file.
7448 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7449 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7450
7734102d
EZ
74512019-03-30 Simon Marchi <simark@simark.ca>
7452
7453 * gdb.base/default.exp: Add values for $_gdb_major and
7454 $_gdb_minor.
7455
188e1fa9
TT
74562019-03-29 Tom Tromey <tromey@adacore.com>
7457
7458 * gdb.base/help.exp: Tighten apropos regexp.
7459
2880242d
KS
74602019-03-29 Keith Seitz <keiths@redhat.com>
7461
7462 * gdb.fortran/array-bounds.exp: New file.
7463 * gdb.fortran/array-bounds.f90: New file.
7464
077cad8e
PW
74652019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7466
7467 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7468
80047cfc
PW
74692019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7470
7471 * gdb.multi/hello.c (main): Increase alarm timer.
7472
f489207e
SL
74732019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7474
7475 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7476 factor when no hardware watchpoint support.
7477
c92df149
AH
74782019-03-28 Alan Hayward <alan.hayward@arm.com>
7479 Pedro Alves <palves@redhat.com>
7480
7481 * boards/local-board.exp: set sysroot to /.
7482
933aebfa
AH
74832019-03-27 Alan Hayward <alan.hayward@arm.com>
7484
7485 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7486 in child.
7487
9f9aa852
AB
74882019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7489
7490 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7491 field.
7492 (make_container): Initialise new field.
7493 * gdb.python/py-prettyprint.exp: Add new tests.
7494 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7495 <display_hint>: New method.
7496
3714a195
AB
74972019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7498
7499 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7500 gdb_continue_to_breakpoint more throughout this test.
7501 (run_lang_tests) Supply unique test names, and use
7502 gdb_test_no_output.
7503
18c77628
AB
75042019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7505
7506 * gdb.base/finish-pretty.exp: Update expected results.
7507 * gdb.base/pretty-print.c: New file.
7508 * gdb.base/pretty-print.exp: New file.
7509
9a93502f
PA
75102019-03-25 Pedro Alves <palves@redhat.com>
7511
7512 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7513 move comments outside list. Append '-i "" eof' section.
7514
968aa7ae
AH
75152019-03-22 Alan Hayward <alan.hayward@arm.com>
7516
34a7f2a4 7517 PR testsuite/25016
968aa7ae
AH
7518 * README: Add pie options.
7519 * gdb.base/break-interp.exp: Ensure pie is disabled.
7520 * gdb.base/dump.exp: Likewise.
7521 * lib/gdb.exp (gdb_compile): Add pie option.
7522
4c7d57e7
TT
75232019-03-19 Tom Tromey <tromey@adacore.com>
7524
7525 * gdb.mi/mi2-cli-display.c: New file.
7526 * gdb.mi/mi2-cli-display.exp: New file.
7527
bff8c71f
TT
75282019-03-18 Joel Brobecker <brobecker@adacore.com>
7529 Tom Tromey <tromey@adacore.com>
7530
7531 * gdb.ada/ptype_array/pck.adb: New file.
7532 * gdb.ada/ptype_array/pck.ads: New file.
7533 * gdb.ada/ptype_array/foo.adb: New file.
7534 * gdb.ada/ptype_array.exp: New file.
7535
d085f989
TT
75362019-03-14 Tom Tromey <tromey@adacore.com>
7537
7538 * gdb.base/style.exp: Add "set style sources" test.
7539
b4be1b06
SM
75402019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7541
7542 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7543 * mi-breakpoint-multiple-locations.exp: ... this.
7544 (make_breakpoints_pattern): New proc.
7545 (do_test): Add mi_version parameter, test -break-insert,
7546 -break-info and =breakpoint-created.
7547
7cde5fc2
AB
75482019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7549
7550 * config/default.exp: Remove 'load_lib gdb.exp'.
7551 * config/monitor.exp: Likewise.
7552 * config/sid.exp: Likewise.
7553 * config/sim.exp: Likewise.
7554 * config/slite.exp: Likewise.
7555 * config/unix.exp: Likewise.
7556 * gdb.base/default.exp: Remove unhelpful comment.
7557
efbecbc1
AB
75582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7559
7560 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7561
0841c79a
AB
75622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7563
7564 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7565
4a270568
AB
75662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7567
7568 * gdb.fortran/type-kinds.exp: Update expected results.
7569
067630bd
AB
75702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7571
7572 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7573
3be47f7a
AB
75742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7575
7576 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7577 function.
7578 (test_basic_parsing_of_type_kinds): Expand types tested.
7579 (test_parsing_invalid_type_kinds): New function.
7580
4d00f5d8
AB
75812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7582
7583 * gdb.fortran/intrinsics.exp: New file.
7584 * gdb.fortran/intrinsics.f90: New file.
7585 * gdb.fortran/type-kinds.exp: New file.
7586
c8f91604
AB
75872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7588
7589 * gdb.fortran/dot-ops.exp: New file.
7590
dd9f2c76
AB
75912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7592
7593 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7594 Check upper and lower case logical literals.
7595
84ec9724
AB
75962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7597
7598 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7599 Remove duplicate tests.
7600
c3734e09
AH
76012019-03-06 Alan Hayward <alan.hayward@arm.com>
7602
7603 * lib/gdb.exp (builtin_cd): rename of cd.
7604 (cd): Override builtin.
7605
aa3cfbda
RB
76062019-03-06 Richard Bunt <richard.bunt@arm.com>
7607
7608 * gdb.fortran/function-calls.exp: New file.
7609 * gdb.fortran/function-calls.f90: New test.
7610
7b63ad86
RB
76112019-03-04 Richard Bunt <richard.bunt@arm.com>
7612
7613 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7614 on user program standard output.
7615 * gdb.fortran/short-circuit-argument-list.f90: Record function
7616 calls.
7617
01abb042
AH
76182019-02-28 Alan Hayward <alan.hayward@arm.com>
7619
c3734e09
AH
7620 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7621 failure.
01abb042 7622
92137da0
RO
76232019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7624
7625 PR gdb/8527
7626 * gdb.base/interrupt-daemon-attach.c,
7627 gdb.base/interrupt-daemon-attach.exp: New test.
7628
5862844d
PA
76292019-02-27 Pedro Alves <palves@redhat.com>
7630
7631 * gdb.base/page.exp: Add tests for "set width/height -1".
7632
8ed25214
PA
76332019-02-27 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/page.exp: Add tests for "set/show width/height" with
7636 "infinite" values.
7637
6c28e44a
TT
76382019-02-27 Tom Tromey <tromey@adacore.com>
7639
7640 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7641 2.4.
7642 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7643 workaround.
7644
bf9a735e
AB
76452019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7646
7647 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7648 tests for structs with static members.
7649
8791793c
TT
76502019-02-26 Tom Tromey <tromey@adacore.com>
7651
7652 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7653 ValueError, not TypeError.
7654
bc2a507e
KB
76552019-02-26 Kevin Buettner <kevinb@redhat.com>
7656
7657 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7658 call from main program.
7659
e0e7d3bd
JB
76602019-02-23 Joel Brobecker <brobecker@adacore.com>
7661
7662 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7663 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7664 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7665 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7666 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7667
9600246d
KS
76682019-02-22 Keith Seitz <keiths@redhat.com>
7669
7670 PR symtab/23853
7671 * gdb.base/symlink-sourcefile.c: New file.
7672 * gdb.base/symlink-sourcefile.exp: New file.
7673
0c95f9ed
TT
76742019-02-20 Tom Tromey <tom@tromey.com>
7675
7676 * gdb.base/info_qt.exp: Update.
7677
6caa91b6
SM
76782019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7679
7680 * gdb.base/source.exp: Move "error in sourced script" code to
7681 the end.
7682 * gdb.base/source-error.gdb: Move contents to
7683 source-error-1.gdb. Add new code to source source-error-1.gdb.
7684 * gdb.base/source-error-1.gdb: New file, from previous
7685 source-error.gdb.
7686
6506371f
TT
76872019-02-17 Tom Tromey <tom@tromey.com>
7688
7689 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7690 for macro styling.
7691 * gdb.base/style.c (SOME_MACRO): New macro.
7692
a0087920
TT
76932019-02-17 Tom Tromey <tom@tromey.com>
7694
7695 * gdb.base/style.exp: Add line-wrapping tests.
7696 * gdb.base/page.exp: Add test for quitting during pagination.
7697
a2cd4f14
JB
76982019-02-17 Joel Brobecker <brobecker@adacore.com>
7699
7700 * gdb.ada/big_packed_array: New testcase.
7701 * gdb.ada/homonym.exp: Fix incorrect expected output for
7702 "break <homonym__get_value>" test.
7703
9d70ffbc
WP
77042019-02-13 Weimin Pan <weimin.pan@oracle.com>
7705
7706 PR breakpoints/21870
7707 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7708 and prepare_for_testing. Add comment.
7709 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7710 redundant cleanup call. Clean up comment.
7711
01c7ae81
WP
77122019-02-12 Weimin Pan <weimin.pan@oracle.com>
7713
7714 PR breakpoints/21870
7715 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7716 * gdb.arch/aarch64-dbreg-contents.c: New file.
7717
aff29d1c
JB
77182019-02-10 Joel Brobecker <brobecker@adacore.com>
7719
7720 * gdb.ada/mi_ref_changeable: New testcase.
7721
df0da8a2
AH
77222019-02-07 Alan Hayward <alan.hayward@arm.com>
7723
7724 * gdb.base/attach.exp: Add double attach test.
7725
bd447abb
SM
77262019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7727
7728 * lib/gdb.exp (default_gdb_start): Don't match pagination
7729 prompt.
7730 (gdb_init): Set stty_init.
7731
1dbc40b9
TT
77322019-01-27 Tom Tromey <tom@tromey.com>
7733
7734 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7735 skip_python_tests.
7736
353229bf
AH
77372019-01-24 Alan Hayward <alan.hayward@arm.com>
7738
7739 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7740 New structure.
7741 (struct struct_static_02_02): Likewise.
7742 (struct struct_static_02_03): Likewise.
7743 (struct struct_static_02_04): Likewise.
7744 (struct struct_static_04_01): Likewise.
7745 (struct struct_static_04_02): Likewise.
7746 (struct struct_static_04_03): Likewise.
7747 (struct struct_static_04_04): Likewise.
7748 (struct struct_static_06_01): Likewise.
7749 (struct struct_static_06_02): Likewise.
7750 (struct struct_static_06_03): Likewise.
7751 (struct struct_static_06_04): Likewise.
7752 (cmp_struct_static_02_01): Likewise.
7753 (cmp_struct_static_02_02): Likewise.
7754 (cmp_struct_static_02_03): Likewise.
7755 (cmp_struct_static_02_04): Likewise.
7756 (cmp_struct_static_04_01): Likewise.
7757 (cmp_struct_static_04_02): Likewise.
7758 (cmp_struct_static_04_03): Likewise.
7759 (cmp_struct_static_04_04): Likewise.
7760 (cmp_struct_static_06_01): Likewise.
7761 (cmp_struct_static_06_02): Likewise.
7762 (cmp_struct_static_06_03): Likewise.
7763 (cmp_struct_static_06_04): Likewise.
7764 (call_all): Test new structs.
7765 * gdb.base/infcall-nested-structs.exp: Likewise.
7766
73021deb
AH
77672019-01-21 Alan Hayward <alan.hayward@arm.com>
7768 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7769
fc65c7db
AH
77702019-01-21 Alan Hayward <alan.hayward@arm.com>
7771 * gdb.base/stack-protector.c: New test.
7772 * gdb.base/stack-protector.exp: New file.
7773 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7774 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7775 option.
7776 (gdb_compile): Remove stack protector for GCC and prevent
7777 recursion.
7778
c24bdb02
KS
77792019-01-16 Keith Seitz <keiths@redhat.com>
7780
7781 PR gdb/23773
7782 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7783
6f072a10
PFC
77842019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7785
7786 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7787 aliases.
7788 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7789 tests.
7790 * gdb.arch/powerpc-vector-regs.c: New file.
7791 * gdb.arch/powerpc-vector-regs.exp: New file.
7792
a7b8d682
PFC
77932019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7794
7795 * gdb.arch/altivec-regs.exp: Fix the list passed to
7796 gdb_expect_list when testing "info vector".
7797
6eb6fb67
AB
77982019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7799
7800 * gdb.base/style.exp: Don't include path in testname.
7801
b56f80d8
KS
78022019-01-10 Keith Seitz <keiths@redhat.com>
7803
7804 PR gdb/23712
7805 PR symtab/23010
7806 * gdb.dwarf2/multidictionary.exp: New file.
7807
041be526
SM
78082019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7809
7810 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7811 (test_gnuv3_style_demangling): ... this.
7812 (test_lucid_style_demangling): Remove.
7813 (test_arm_style_demangling): Remove.
7814 (test_hp_style_demangling): Remove.
7815 (do_tests): Remove calls to the above.
7816
d820d0c3
AB
78172019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7818
7819 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7820 case.
7821
f097f5ad
TT
78222019-01-06 Tom Tromey <tom@tromey.com>
7823
7824 PR gdb/28155:
7825 * gdb.dwarf2/typedef-void-finish.exp: New file.
7826
2cd8cc0b
TT
78272018-12-28 Tom Tromey <tom@tromey.com>
7828 Simon Marchi <simark@simark.ca>
7829
7830 * gdb.base/jit-exec.exp: New file.
7831 * gdb.base/jit-exec.c: New file.
7832 * gdb.base/jit-execd.c: New file.
7833
35fb8261
TT
78342018-12-28 Tom Tromey <tom@tromey.com>
7835
7836 * gdb.base/style.exp: Update test to check for address styling.
7837
47fd17cd
TT
78382018-12-28 Tom Tromey <tom@tromey.com>
7839
7840 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7841 message.
7842
d47032b7
TT
78432018-12-28 Tom Tromey <tom@tromey.com>
7844
7845 * gdb.base/style.exp: Add test for version number styling.
7846
af79b68d
TT
78472018-12-28 Tom Tromey <tom@tromey.com>
7848
7849 * gdb.base/style.exp: Add test for print_address_symbolic.
7850
0bb296cb
TT
78512018-12-28 Tom Tromey <tom@tromey.com>
7852
7853 * gdb.base/style.exp: Add test for breakpoint setting.
7854
80ae2043
TT
78552018-12-28 Tom Tromey <tom@tromey.com>
7856
7857 * gdb.base/style.exp: Add test for variable names.
7858
cbe56571
TT
78592018-12-28 Tom Tromey <tom@tromey.com>
7860
7861 * gdb.base/style.exp: New file.
7862 * gdb.base/style.c: New file.
7863
9162a27c
TT
78642018-12-28 Tom Tromey <tom@tromey.com>
7865
7866 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7867 "dumb".
7868 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7869 the TERM environment variable.
7870
bc543c90
TT
78712018-12-27 Tom Tromey <tom@tromey.com>
7872
7873 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7874 pagination test.
7875
6f0ffe50
AB
78762018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7879 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7880
b5a1e557
PW
78812018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7882
7883 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7884 Filename a.adb changed to bp_fun_addr.adb.
7885 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7886
6e8b1ab2
JV
78872018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7888
7889 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7890 non-PIE executables.
7891 * README: Mention the gdb,nopie_flag board setting.
7892 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7893 non-PIE executable.
7894 * gdb.arch/amd64-entry-value.exp: Likewise.
7895 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7896 * gdb.arch/i386-float.exp: Likewise.
7897 * gdb.arch/i386-signal.exp: Likewise.
7898 * gdb.mi/mi-reg-undefined.exp: Likewise.
7899
d00a27c5
PM
79002018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7901
7902 PR gdb/23974
7903 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7904
161d081c
PW
79052018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7906
7907 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7908 Update order of results accordingly.
7909
b001de23
AB
79102018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7911
7912 * gdb.base/annota1.exp: Update a test regexp.
7913
99e1a184
AB
79142018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7915
7916 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7917
7a81c1e2
PW
79182018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7919
7920 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7921 (reuse_time): Initialize to REUSE_TIME_CAP.
7922 (check_rc): New function.
7923 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7924 Check pthread_create rc.
7925 (spawner_thread_func): Check pthread_create and pthread_join rc.
7926
73e8dc90
PA
79272018-12-08 Pedro Alves <palves@redhat.com>
7928
7929 * gdb.base/list.exp (test_forward_search): Rename to ...
7930 (test_forward_reverse_search): ... this. Also test reverse-search
7931 and the forward-search alias.
7932
13f2ed32
AB
79332018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7934
7935 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7936 local timeout variable before return, and remove all local timeout
7937 variable entirely.
7938 (gdb_load): Likewise.
7939
64d27cfc
TV
79402018-12-01 Tom de Vries <tdevries@suse.de>
7941
7942 * gdb.base/gdb-caching-proc.exp: New file.
7943
f63c03b4
SDJ
79442018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7945
7946 * Makefile.in (TIMESTAMP): New variable.
7947 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7948 command.
7949 (check-single-racy): Likewise.
7950 (check/%.exp): Likewise.
7951 (check-racy/%.exp): Likewise.
7952 (workers/%.worker): Likewise.
7953 (build-perf): Likewise.
7954 (check-perf): Likewise.
7955 * README: Describe new "TS" and "TS_FORMAT" variables.
7956 * print-ts.py: New file.
7957
1c97054b
BF
79582018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7959
7960 PR python/23714
7961 * gdb.python/python.exp: Test command repetition after
7962 gdb.execute.
7963
1871a62d
AB
79642018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7965
7966 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7967 is correctly aligned.
7968
fb5e1ed9
PW
79692018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7970
7971 * gdb.ada/info_auto_lang.exp: New testcase.
7972 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7973 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7974 * gdb.ada/info_auto_lang/some_c.c: New file.
7975
43d397ca
PW
79762018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7977
7978 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7979 FUNC_lang language syntax.
7980
beddd671
PW
79812018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7982
7983 * gdb.base/info_minsym.c: New file.
7984 * gdb.base/info_minsym.exp: New file.
7985
73fc52c4
TT
79862018-11-19 Tom Tromey <tom@tromey.com>
7987
7988 PR rust/23625:
7989 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7990 * gdb.rust/expr.exp: Update expected output. Change one test.
7991
994b876a
TT
79922018-11-19 Tom Tromey <tom@tromey.com>
7993
7994 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7995
6769f276
PA
79962018-11-19 Pedro Alves <palves@redhat.com>
7997
7998 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7999 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8000 see the expected warning.
8001
38a72da0
AH
80022018-11-16 Alan Hayward <alan.hayward@arm.com>
8003
8004 PR gdb/22736:
8005 * gdb.cp/infcall-nodebug-lib.c: New test.
8006 * gdb.cp/infcall-nodebug-main.c: New test.
8007 * gdb.cp/infcall-nodebug.exp: New file.
8008
53a89d6e
SM
80092018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8010
8011 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8012 completer tests.
8013
9325300d
TV
80142018-11-09 Tom de Vries <tdevries@suse.de>
8015
8016 * gdb.base/msym-lang.c: New test.
8017 * gdb.base/msym-lang.exp: New file.
8018 * gdb.base/msym-lang-main.c: New test.
8019
20f0d60d
TT
80202018-11-08 Tom Tromey <tom@tromey.com>
8021
8022 PR gdb/23555:
8023 PR gdb/23838:
8024 * gdb.base/warning.exp: New file.
8025
b5420128
JB
80262018-11-08 Jan Beulich <jbeulich@suse.com>
8027
8028 * testsuite/gdb.arch/i386-avx512.c,
8029 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8030
cd115d61
AB
80312018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8032
8033 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8034 point hardware.
8035
35ee2dc2
AB
80362018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8037
8038 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8039 * gdb.dwarf2/missing-type-name.exp: New file.
8040
31aceee8
TV
80412018-11-06 Tom de Vries <tdevries@suse.de>
8042
8043 * gdb.base/many-headers.c: New test.
8044 * gdb.base/many-headers.exp: New file.
8045
109be305
JW
80462018-11-06 Jim Wilson <jimw@sifive.com>
8047
8048 * gdb.base/code_elim.exp: For riscv, set additional_flags
8049 to include -msmall-data-limit=0.
8050
e2b7af72
JB
80512018-11-01 Joel Brobecker <brobecker@adacore.com>
8052
8053 * gdb.ada/watch_minus_l: New testcase.
8054
cdcda965
SM
80552018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8056
8057 * gdb.arch/aix-sighandle.c: New file.
8058 * gdb.arch/aix-sighandle.exp: New file.
8059
92dcebf3
AB
80602018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8061
8062 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8063 registers being unions.
8064
68b9ac18
TV
80652018-10-31 Tom de Vries <tdevries@suse.de>
8066
8067 * lib/valgrind.exp: New file.
8068 (vgdb_start, vgdb_stop): New procs, factored out of ...
8069 * gdb.base/valgrind-bt.exp: ... here, ...
8070 * gdb.base/valgrind-disp-step.exp: ... here and ...
8071 * gdb.base/valgrind-infcall.exp: ... here.
8072
1443936e
TV
80732018-10-31 Tom de Vries <tdevries@suse.de>
8074
8075 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8076
eb77c9df
AB
80772018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8078
8079 * gdb.dwarf2/void-type.c: New file.
8080 * gdb.dwarf2/void-type.exp: New file.
8081
82b5e646
PW
80822018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8083
8084 * gdb.base/info_qt.c: New file.
8085 * gdb.base/info_qt.exp: New file.
8086
8d619c01
EBM
80872018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8088
8089 * gdb.arch/powerpc-htm-regs.c: New file.
8090 * gdb.arch/powerpc-htm-regs.exp: New file.
8091
f2cf6173
EBM
80922018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8093
8094 * gdb.arch/powerpc-tar.c: New file.
8095 * gdb.arch/powerpc-tar.exp: New file.
8096
7ca18ed6
EBM
80972018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8098
8099 * gdb.arch/powerpc-ppr-dscr.c: New file.
8100 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8101
bfcc0eba
TV
81022018-10-25 Tom de Vries <tdevries@suse.de>
8103
8104 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8105
fe1a5cad
TV
81062018-10-24 Tom de Vries <tdevries@suse.de>
8107
8108 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8109 longer exists error.
8110
a76dc3b7
TV
81112018-10-24 Tom de Vries <tdevries@suse.de>
8112
8113 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8114
4df46df7
TV
81152018-10-24 Tom de Vries <tdevries@suse.de>
8116
8117 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8118 --db-attach in valgrind.
8119
0dbfcfff
AB
81202018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8121
8122 * gdb.arch/riscv-reg-aliases.c: New file.
8123 * gdb.arch/riscv-reg-aliases.exp: New file.
8124
b04480b1
AH
81252018-10-19 Alan Hayward <alan.hayward@arm.com>
8126
8127 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8128
2c6ac8d7
AH
81292018-10-19 Alan Hayward <alan.hayward@arm.com>
8130
8131 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8132
2bc69f25
AH
81332018-10-19 Alan Hayward <alan.hayward@arm.com>
8134
8135 * gdb.cp/ovldbreak.exp: Fix regexps.
8136
1f1ae3a3
AH
81372018-10-19 Alan Hayward <alan.hayward@arm.com>
8138
8139 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8140
94c18618
SDJ
81412018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8142
8143 PR cli/23785
8144 * gdb.base/restore.exp: New test to check if "restore" with an
8145 invalid file doesn't segfault.
8146
812cd6eb
TV
81472018-10-18 Tom de Vries <tdevries@suse.de>
8148
8149 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8150 * gdb.ada/excep_handle.exp: Same.
8151 * gdb.ada/mi_string_access.exp: Same.
8152 * gdb.ada/mi_var_union.exp: Same.
8153 * gdb.arch/arc-analyze-prologue.exp: Same.
8154 * gdb.arch/arc-decode-insn.exp: Same.
8155 * gdb.base/readnever.exp: Same.
8156 * gdb.fortran/printing-types.exp: Same.
8157 * gdb.guile/scm-lazy-string.exp: Same.
8158
c4b90788
TV
81592018-10-16 Tom de Vries <tdevries@suse.de>
8160
8161 PR gdb/23730
8162 * gdb.base/catch-follow-exec.c: Add copyright notice.
8163 * gdb.base/catch-follow-exec.exp: Rewrite to use
8164 gdb_spawn_with_cmdline_opts. Require gdb-native.
8165
8bca2978
SL
81662018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8167
8168 * gdb.trace/actions-changed.exp: Check for arch support.
8169 * gdb.trace/actions.exp: Likewise.
8170 * gdb.trace/ax.exp: Likewise.
8171 * gdb.trace/backtrace.exp: Likewise.
8172 * gdb.trace/change-loc.exp: Likewise.
8173 * gdb.trace/deltrace.exp: Likewise.
8174 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8175 * gdb.trace/ftrace.exp: Likewise.
8176 * gdb.trace/infotrace.exp: Check for arch support.
8177 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8178 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8179 * gdb.trace/mi-tsv-changed.exp: Likewise.
8180 * gdb.trace/packetlen.exp: Likewise.
8181 * gdb.trace/passc-dyn.exp: Likewise.
8182 * gdb.trace/passcount.exp: Likewise.
8183 * gdb.trace/pending.exp: Likewise.
8184 * gdb.trace/range-stepping.exp: Check for shlib support.
8185 * gdb.trace/report.exp: Check for arch support.
8186 * gdb.trace/save-trace.exp: Likewise.
8187 * gdb.trace/signal.exp: Check for signal support.
8188 * gdb.trace/tfind.exp: Check for arch support.
8189 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8190 * gdb.trace/trace-common.h: Add comment.
8191 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8192 * gdb.trace/trace-enable-disable.exp: Likewise.
8193 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8194 * gdb.trace/tracecmd.exp: Check for arch support.
8195 * gdb.trace/tspeed.exp: Check for shlib and target support.
8196 * gdb.trace/tstatus.exp: Check for arch support.
8197 * gdb.trace/tsv.exp: Likewise.
8198 * gdb.trace/while-dyn.exp: Likewise.
8199 * gdb.trace/while-stepping.exp: Likewise.
8200 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8201
f9c49bff
SM
82022018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8203
8204 * gdb.trace/tspeed.exp: Remove nowarnings.
8205 (prepare_for_trace_test): Declare "global ipalib".
8206 * gdb.trace/tspeed.c: Include unistd.h.
8207 (main): Remove superfluous printf argument.
8208
d4330bde
SL
82092018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8210
8211 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8212 directory prefix on the filename.
8213
8ecfd7bd
SDJ
82142018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8215
8216 * gdb.gdb/unittest.exp: Update expected message informing that
8217 selftests have been disabled.
8218 * gdb.server/unittest.exp: Likewise.
8219
58bbcd02
TV
82202018-10-09 Tom de Vries <tdevries@suse.de>
8221
8222 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8223 with runto_main.
8224
9f6b697b
WP
82252018-10-08 Weimin Pan <weimin.pan@oracle.com>
8226
8227 PR c++/16841
8228 * gdb.cp/virtbase2.cc: New file.
8229 * gdb.cp/virtbase2.exp: New file.
8230
add5ded5
TT
82312018-10-06 Tom Tromey <tom@tromey.com>
8232
8233 PR python/19399:
8234 * gdb.python/py-inferior.exp: Add architecture test.
8235
f9e48344
TT
82362018-10-06 Tom Tromey <tom@tromey.com>
8237
8238 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8239 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8240
2a8be203
TT
82412018-10-06 Tom Tromey <tom@tromey.com>
8242
8243 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8244 of a "throw" catchpoint.
8245
e04caa70
SDJ
82462018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8247
8248 * gdb.base/info-proc.exp: Update string expected from "help info
8249 proc".
8250
5ca8c39f
TT
82512018-10-04 Tom Tromey <tom@tromey.com>
8252
8253 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8254 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8255 (test_initial_complaints, test_empty_complaints): Update.
8256 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8257
3453e7e4
TT
82582018-10-04 Tom Tromey <tom@tromey.com>
8259
8260 PR cli/19551:
8261 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8262 * lib/gdb.exp (gdb_file_cmd): Update.
8263 * gdb.stabs/weird.exp (print_weird_var): Update.
8264 * gdb.server/solib-list.exp: Update.
8265 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8266 * gdb.mi/mi-cli.exp: Update.
8267 * gdb.linespec/linespec.exp: Update.
8268 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8269 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8270 * gdb.cp/cp-relocate.exp: Update.
8271 * gdb.base/sym-file.exp: Update.
8272 * gdb.base/relocate.exp: Update.
8273 * gdb.base/readnever.exp: Update.
8274 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8275 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8276 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8277 * gdb.base/code_elim.exp: Update.
8278 * gdb.base/break-unload-file.exp (test_break): Update.
8279 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8280 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8281 Update.
8282 * gdb.base/attach.exp (do_attach_tests): Update.
8283 * gdb.base/sepdebug.exp: Update.
8284 * gdb.python/py-section-script.exp: Update.
8285
6afcf761
TT
82862018-10-04 Tom Tromey <tom@tromey.com>
8287
8288 PR cli/22234:
8289 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8290 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8291 output.
8292
fef1b293
TT
82932018-10-04 Tom Tromey <tom@tromey.com>
8294
8295 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8296 set width and height to 0.
8297 (test_command_line_attach_run): Use -quiet.
8298
ca98345e
SL
82992018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8300
8301 * lib/gdb.exp (skip_ifunc_tests): New.
8302 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8303 other compile failures.
8304 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8305
ff34e6ae
SM
83062018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8307
8308 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8309 is_amd64_regs_target.
8310
6bb8890e
AH
83112018-10-01 Alan Hayward <alan.hayward@arm.com>
8312
8313 * gdb.arch/aarch64-sighandler-regs.c: New test.
8314 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8315 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8316
224d30d3
MM
83172018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8318
8319 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8320 assembly.
8321
f67ffa6a
AB
83222018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8323
8324 * gdb.base/frame-selection.exp: New file.
8325 * gdb.base/frame-selection.c: New file.
8326
9fc3183f
AH
83272018-09-27 Alan Hayward <alan.hayward@arm.com>
8328
8329 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8330 pthread barrier.
8331 (main): Likewise.
8332
d354055e
AB
83332018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8334
8335 * gdb.base/large-frame-1.c: New file.
8336 * gdb.base/large-frame-2.c: New file.
8337 * gdb.base/large-frame.exp: New file.
8338 * gdb.base/large-frame.h: New file.
8339
db727370
JL
83402018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8341
8342 PR gdb/20948
8343 * gdb.base/write_mem.exp: New test.
8344 * gdb.base/write_mem.c: Likewise.
8345
ae778caf
TT
83462018-09-23 Tom Tromey <tom@tromey.com>
8347
8348 PR python/18852:
8349 * gdb.python/py-parameter.exp: Add test for parameter that throws
8350 on "set".
8351
fd3ba736
TT
83522018-09-23 Tom Tromey <tom@tromey.com>
8353
8354 PR python/17284:
8355 * gdb.python/py-template.exp (test_template_arg): Add test for
8356 negative template argument number.
8357
39a24317
TT
83582018-09-23 Tom Tromey <tom@tromey.com>
8359
8360 PR python/14062:
8361 * gdb.python/python.exp: Add test for post_event error.
8362
f5769a2c
TT
83632018-09-23 Tom Tromey <tom@tromey.com>
8364
8365 PR python/18170:
8366 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8367 convert pointers to int and long.
8368
1c1e54f6
TT
83692018-09-23 Tom Tromey <tom@tromey.com>
8370
8371 PR python/20126:
8372 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8373 signed-ness conversion tests.
8374
fb4fa946
TT
83752018-09-23 Tom Tromey <tom@tromey.com>
8376
8377 PR python/18352;
8378 * gdb.python/py-value.exp (test_float_conversion): New proc.
8379 Use it.
8380
a466edac
HAQ
83812018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8382
8383 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8384
4ee9b0c5
SL
83852018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8386
8387 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8388 no readline.
8389 * gdb.base/utf8-identifiers.exp: Likewise.
8390 * gdb.cp/cpcompletion.exp: Likewise.
8391 * gdb.linespec/cpcompletion.exp: Likewise.
8392 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8393 * gdb.linespec/cpls-ops.exp: Likewise.
8394
23be8da7
RB
83952018-09-19 Richard Bunt <richard.bunt@arm.com>
8396 Chris January <chris.january@arm.com>
8397
8398 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8399 * gdb.fortran/short-circuit-argument-list.exp: New file.
8400 * gdb.fortran/short-circuit-argument-list.f90: New test.
8401
5031d0ae
SDJ
84022018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8403
8404 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8405 "arch=" keyword when executing "-stack-list-frames".
8406
b4c0d1a4
SDJ
84072018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8408
8409 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8410 "arch=" keyword when executing "-stack-list-frames".
8411
7a6d2b45
SDJ
84122018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8413
8414 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8415 break ada".
8416
8588b356
SM
84172018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8418
8419 PR python/23669
8420 * gdb.python/python.exp: Test gdb.execute("show commands").
8421
65e65158
TT
84222018-09-16 Tom Tromey <tom@tromey.com>
8423
8424 * gdb.base/new-ui.exp (do_execution_tests): Update.
8425 * gdb.base/dbx.exp (test_breakpoints): Update.
8426
bf326452
AH
84272018-09-14 Alan Hayward <alan.hayward@arm.com>
8428
8429 * lib/gdb.exp (gdb_simple_compile): Add proc.
8430 (is_elf_target): Use gdb_simple_compile.
8431 (skip_altivec_tests): Likewise.
8432 (skip_vsx_tests): Likewise.
8433 (skip_tsx_tests): Likewise.
8434 (skip_btrace_tests): Likewise.
8435 (skip_btrace_pt_tests): Likewise.
8436 (gdb_can_simple_compile): Likewise.
8437 (gdb_has_argv0): Likewise.
8438 (gdb_target_symbol_prefix): Likewise.
8439 (target_supports_scheduler_locking): Likewise.
8440
2361b0fb
TT
84412018-09-13 Tom Tromey <tom@tromey.com>
8442
8443 * Makefile.in (TAGS): Recognize proc_with_prefix and
8444 gdb_caching_proc.
8445
0ae1a321
SM
84462018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8447
8448 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8449 method.
8450
a40bf0c2
SM
84512018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8452
8453 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8454 and a few other Inferior properties when the Inferior is no
8455 longer valid.
8456
4a3fe98f
TT
84572018-09-13 Tom Tromey <tom@tromey.com>
8458
8459 PR rust/23650:
8460 * gdb.rust/simple.exp: Add test for enum field access error.
8461
098b2108
TT
84622018-09-13 Tom Tromey <tom@tromey.com>
8463
8464 PR rust/23626:
8465 * gdb.rust/simple.rs (EmptyEnum): New type.
8466 (main): Use it.
8467 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8468
1256af7d
SM
84692018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8470
8471 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8472 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8473 * gdb.python/py-symtab.exp: Update test printing an objfile.
8474
4aa8e6c2
SM
84752018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8476
8477 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8478 object.
8479
c221b2f7
AH
84802018-09-12 Alan Hayward <alan.hayward@arm.com>
8481
8482 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8483 (support_complex_tests): Use gdb_can_simple_compile.
8484 (is_ilp32_target): Likewise.
8485 (is_lp64_target): Likewise.
8486 (is_64_target): Likewise.
8487 (is_amd64_regs_target): Likewise.
8488 (is_aarch32_target): Likewise.
8489 (gdb_int128_helper): Likewise.
8490
6f1107b5
JK
84912018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8492
8493 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8494
1f5d1570
JG
84952018-09-10 Jerome Guitton <guitton@adacore.com>
8496
8497 * gdb.ada/same_component_name: Add test for case of tagged record
8498 with variable-length fields.
8499
cc330e39
XR
85002018-09-10 Xavier Roirand <roirand@adacore.com>
8501
8502 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8503 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8504 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8505 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8506
b9c50e9a
XR
85072018-09-10 Xavier Roirand <roirand@adacore.com>
8508
8509 * gdb.ada/mi_string_access.exp: New testcase.
8510 * gdb.ada/mi_string_access/bar.adb: New file.
8511 * gdb.ada/mi_string_access/pck.adb: New file.
8512 * gdb.ada/mi_string_access/pck.asd: New file.
8513
2963898f
XR
85142018-09-10 Xavier Roirand <roirand@adacore.com>
8515
8516 * gdb.ada/mi_var_union.exp: New testcase.
8517 * gdb.ada/mi_var_union/bar.adb: New file.
8518 * gdb.ada/mi_var_union/pck.adb: New file.
8519 * gdb.ada/mi_var_union/pck.asd: New file.
8520
1aac008f
TT
85212018-09-08 Tom Tromey <tom@tromey.com>
8522
8523 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8524
332cf4c9
TT
85252018-09-08 Tom Tromey <tom@tromey.com>
8526
8527 PR python/16047:
8528 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8529 (register_pretty_printers): Register new printer.
8530 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8531 test.
8532 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8533 (an_int_type3): New global.
8534
424da6cf
JB
85352018-09-08 Joel Brobecker <brobecker@adacore.com>
8536
8537 * gdb.ada/expr_with_funcall: New testcase.
8538
2a62dfa9
JB
85392018-09-08 Joel Brobecker <brobecker@adacore.com>
8540
8541 * gdb.ada/packed_array_assign: New testcase.
8542
96b6697f
AB
85432018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8544
8545 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8546 names, and add test prefixes to make test names unique.
8547
e4a62c65
TV
85482018-09-05 Tom de Vries <tdevries@suse.de>
8549
8550 * gdb.dwarf2/varval.exp: Add test.
8551
dd083ee2
GB
85522018-09-04 Gary Benson <gbenson@redhat.com>
8553
8554 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8555 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8556
aef9346c
TT
85572018-08-31 Tom Tromey <tom@tromey.com>
8558
8559 * gdb.rust/simple.rs: Rename second variable "v".
8560
c67f2e15
AB
85612018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8562
8563 * gdb.base/funcargs.c (use_a): New function.
8564 (recurse): Call use_a.
8565
078a0207
KS
85662018-08-29 Keith Seitz <keiths@redhat.com>
8567
8568 * gdb.compile/compile-cplus-anonymous.cc: New file.
8569 * gdb.compile/compile-cplus-anonymous.exp: New file.
8570 * gdb.compile/compile-cplus-array-decay.cc: New file.
8571 * gdb.compile/compile-cplus-array-decay.exp: New file.
8572 * gdb.compile/compile-cplus-inherit.cc: New file.
8573 * gdb.compile/compile-cplus-inherit.exp: New file.
8574 * gdb.compile/compile-cplus-member.cc: New file.
8575 * gdb.compile/compile-cplus-member.exp: New file.
8576 * gdb.compile/compile-cplus-method.cc: New file.
8577 * gdb.compile/compile-cplus-method.exp: New file.
8578 * gdb.compile/compile-cplus-mod.c: "New" file.
8579 * gdb.compile/compile-cplus-namespace.cc: New file.
8580 * gdb.compile/compile-cplus-namespace.exp: New file.
8581 * gdb.compile/compile-cplus-nested.cc: New file.
8582 * gdb.compile/compile-cplus-nested.exp: New file.
8583 * gdb.compile/compile-cplus-print.c: "New" file.
8584 * gdb.compile/compile-cplus-print.exp: "New" file.
8585 * gdb.compile/compile-cplus-virtual.cc: New file.
8586 * gdb.compile/compile-cplus-virtual.exp: New file.
8587 * gdb.compile/compile-cplus.c: "New" file.
8588 * gdb.compile/compile-cplus.exp: "New" file.
8589 * lib/compile-support.exp: New file.
8590
b0f492b9
GB
85912018-08-16 Gary Benson <gbenson@redhat.com>
8592
8593 PR gdb/13000:
8594 * gdb.base/batch-exit-status.exp: New file.
8595 * gdb.base/batch-exit-status.good-commands: Likewise.
8596 * gdb.base/batch-exit-status.bad-commands: Likewise.
8597
36eb4c5f
AH
85982018-08-29 Alan Hayward <alan.hayward@arm.com>
8599
8600 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8601 (struct struct02): Likewise.
8602 (struct struct03): Likewise.
8603 (struct struct04): Likewise.
8604 (struct struct_01_01): New struct.
8605 (struct struct_01_02): Likewise.
8606 (struct struct_01_03): Likewise.
8607 (struct struct_01_04): Likewise.
8608 (struct struct_02_01): Likewise.
8609 (struct struct_02_02): Likewise.
8610 (struct struct_02_03): Likewise.
8611 (struct struct_02_04): Likewise.
8612 (struct struct_04_01): Likewise.
8613 (struct struct_04_02): Likewise.
8614 (struct struct_04_03): Likewise.
8615 (struct struct_04_04): Likewise.
8616 (struct struct_05_01): Likewise.
8617 (struct struct_05_02): Likewise.
8618 (struct struct_05_03): Likewise.
8619 (struct struct_05_04): Likewise.
8620 (cmp_struct01): Remove function.
8621 (cmp_struct02): Likewise.
8622 (cmp_struct03): Likewise.
8623 (cmp_struct04): Likewise.
8624 (cmp_struct_01_01): Add Function.
8625 (cmp_struct_01_02): Likewise.
8626 (cmp_struct_01_03): Likewise.
8627 (cmp_struct_01_04): Likewise.
8628 (cmp_struct_02_01): Likewise.
8629 (cmp_struct_02_02): Likewise.
8630 (cmp_struct_02_03): Likewise.
8631 (cmp_struct_02_04): Likewise.
8632 (cmp_struct_04_01): Likewise.
8633 (cmp_struct_04_02): Likewise.
8634 (cmp_struct_04_03): Likewise.
8635 (cmp_struct_04_04): Likewise.
8636 (cmp_struct_05_01): Likewise.
8637 (cmp_struct_05_02): Likewise.
8638 (cmp_struct_05_03): Likewise.
8639 (cmp_struct_05_04): Likewise.
8640 (call_all): Add new structs.
8641 * gdb.base/infcall-nested-structs.exp: Likewise.
8642
3bf9c013
JV
86432018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8644
8645 * gdb.python/py-framefilter-mi.exp: Update regexp to
8646 check for "arch" field in frame output.
8647
450d1e88
KB
86482018-08-23 Kevin Buettner <kevinb@redhat.com>
8649
8650 * gdb.dwarf2/dw2-ranges-func.c: New file.
8651 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8652
ae739fe7
SM
86532018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8654
8655 * gdb.base/term.exp: Compare terminal settings with values from
8656 the inferior.
8657 * gdb.base/term.c: Get and set terminal settings.
8658
6d52907e
JV
86592018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8660
8661 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8662 accommodate new "arch" field in frame output.
8663 * gdb.mi/mi-return.exp: Likewise.
8664 * gdb.mi/mi-stack.exp: Likewise.
8665 * gdb.mi/mi-syn-frame.exp: Likewise.
8666 * gdb.mi/user-selected-context-sync.exp: Likewise.
8667
be2d111a
MS
86682018-08-19 Michael Spang <spang@google.com>
8669
8670 PR gdb/11786
8671 * gdb.base/gcore-tls-pie.c: New file.
8672 * gdb.base/gcore-tls-pie.exp: New file.
8673
ae3a7c47
KB
86742018-08-18 Kevin Buettner <kevinb@redhat.com>
8675
8676 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8677 * gdb.dwarf2/varval.c: New file.
8678 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8679
2ecae92e
AH
86802018-08-17 Alan Hayward <alan.hayward@arm.com>
8681
8682 PR gdb/18931
8683 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8684
c1854f1d
KS
86852018-08-16 Keith Seitz <keiths@redhat.com>
8686
8687 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8688 tests expected to pass.
8689
26fb3983
JV
86902018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8691
8692 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8693 -data-disassemble -a.
8694 (test_disassembly_bogus_args): Likewise.
8695
67943c00
AB
86962018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8697
8698 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8699
5ff2bbae
AB
87002018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8701
8702 * gdb.base/vla-optimized-out.exp: Add new test.
8703
e5bbcd0f
AB
87042018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8705
8706 * gdb.base/vla-optimized-out-o3.exp: Delete.
8707 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8708 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8709 deleted tests.
8710
9d4a934c
AB
87112018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8712
8713 PR gdb/18050:
8714 * gdb.server/extended-remote-restart.c: New file.
8715 * gdb.server/extended-remote-restart.exp: New file.
8716
045cf012
SM
87172018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8718
8719 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8720 "set variable index = 42".
8721
87d6a7aa
SM
87222018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8723
8724 * boards/index-cache-gdb.exp: New file.
8725 * gdb.dwarf2/index-cache.exp: New file.
8726 * gdb.dwarf2/index-cache.c: New file.
8727 * gdb.base/maint.exp: Check if we are using the index cache.
8728
96d68bd4
RO
87292018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8730
8731 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8732 MAKEFLAGS.
8733
5a699617
RO
87342018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 * dg-extract-results.sh: Move to toplevel contrib.
8737 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8738 * Makefile.in (check-parallel-racy): Likewise.
8739
5bd18990
AB
87402018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8741
8742 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8743 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8744 tests if the target supports scheduler locking.
8745
3fbbcf47
TV
87462018-08-04 Tom de Vries <tdevries@suse.de>
8747
8748 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8749
3e1d3d8c
TT
87502018-08-02 Tom Tromey <tom@tromey.com>
8751
8752 PR symtab/16842.
8753 * gdb.cp/temargs.exp: Test "info address" of a template
8754 parameter.
8755
5abe0f0c
JV
87562018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8757
8758 * gdb.python/py-mi-var-info-path-expression.c: New file.
8759 * gdb.python/py-mi-var-info-path-expression.py: New file.
8760 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8761
fb66cde8
SDJ
87622018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8763
8764 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8765 error after "cannot resolve name" string.
8766
c708f4d2
AB
87672018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8768
8769 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8770 started.
8771 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8772
37cc0cae
TV
87732018-07-28 Tom de Vries <tdevries@suse.de>
8774
8775 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8776
63b4ecf7
TV
87772018-07-26 Tom de Vries <tdevries@suse.de>
8778
8779 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8780
3c3bb058
AB
87812018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8782
8783 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8784 is visible.
8785
9e7f3bbb
TV
87862018-07-26 Tom de Vries <tdevries@suse.de>
8787
8788 PR breakpoints/23366
8789 * gdb.base/catch-follow-exec.c: New test.
8790 * gdb.base/catch-follow-exec.exp: New file.
8791
16f808ec
TV
87922018-07-25 Tom de Vries <tdevries@suse.de>
8793
8794 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8795 vla-optimized-out.c.
8796
d7154a8d
JV
87972018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8798
8799 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8800 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8801
232a0032
TV
88022018-07-20 Tom de Vries <tdevries@suse.de>
8803
8804 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8805 NOCLONE macro.
8806 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8807
fbb1d502
TV
88082018-07-19 Tom de Vries <tdevries@suse.de>
8809
8810 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8811 regular expression.
8812
42dc7699
TV
88132018-07-18 Tom de Vries <tdevries@suse.de>
8814
8815 * gdb.base/vla-optimized-out.c: New test.
8816 * gdb.base/vla-optimized-out.exp: New file.
8817
7f1f7e23
SDJ
88182018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8819
8820 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8821 message "No address associated with hostname" when gdbserver
8822 cannot resolve the hostname.
8823
5759ebb3
PW
88242018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8825
8826 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8827 Add some test prefixes to make tests unique.
8828
3606ccab
PW
88292018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8830
8831 * gdb.base/frameapply.c: New file.
8832 * gdb.base/frameapply.exp: New file.
8833
529c08b2
PW
88342018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8835
8836 * gdb.base/skip.exp: Update expected error message.
8837
c7ab0aef
SDJ
88382018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8839 Jan Kratochvil <jan.kratochvil@redhat.com>
8840 Paul Fertser <fercerpav@gmail.com>
8841 Tsutomu Seki <sekiriki@gmail.com>
8842
8843 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8844 parameter.
8845 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8846 by default.
8847 * boards/native-gdbserver.exp: Likewise.
8848 * gdb.server/run-without-local-binary.exp: Improve regexp used
8849 for detecting when a remote debugging connection succeeds.
8850 * gdb.server/server-connect.exp: New file.
8851 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8852 Do not prefix the port number with ":".
8853 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8854 support for detecting and using it. Add '$debughost_gdbserver'
8855 to the list of arguments used to start gdbserver. Handle case
8856 when gdbserver cannot resolve a network name.
8857
16ff70dd
SDJ
88582018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8859
8860 PR c++/23373
8861 * gdb.base/ptype-offsets.cc (struct static_member): New
8862 struct.
8863 (main) <stmember>: New variable.
8864 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8865 with a static member in it.
8866
3541979f
AB
88672018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8868
8869 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8870 watchpoints enabled and disabled.
8871
c8ad9b9a
AB
88722018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8873
8874 * gdb.base/examine-backward.exp: Still run tests around address
8875 0x0, even if address 0x0 is not readable. Update the pattern for
8876 matching address 0x0 in expected output.
8877
e0e5e971
AB
88782018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8879
8880 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8881 malloc/free.
8882
1ea5da02
TV
88832018-07-04 Tom de Vries <tdevries@suse.de>
8884
8885 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8886
471b9d15
MR
88872018-07-02 Maciej W. Rozycki <macro@mips.com>
8888
8889 PR tdep/8282
8890 * gdb.arch/mips-disassembler-options.exp: New test.
8891 * gdb.arch/mips-disassembler-options.s: New test source.
8892
75acb486
PA
88932018-06-29 Pedro Alves <palves@redhat.com>
8894
8895 * gdb.threads/names.exp: Adjust expected "info threads" output.
8896
cd2bb709
PA
88972018-06-29 Pedro Alves <palves@redhat.com>
8898
8899 * gdb.opt/inline-break.exp (line number, address): Add "info
8900 break" tests.
8901
991ff292
PA
89022018-06-29 Pedro Alves <palves@redhat.com>
8903
8904 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8905 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8906 number and address and running to them.
8907
356819b6 89082018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8909
8910 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8911
2512d7ef
JK
89122018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8913
8914 * lib/compiler.c: Remove executable permission flag.
8915
be1b6474
RB
89162018-06-28 Richard Bunt <richard.bunt@arm.com>
8917
8918 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8919 code.
8920 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8921
291f9a96
PT
89222018-06-28 Petr Tesarik <ptesarik@suse.cz>
8923
8924 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8925
ed6dfe51
PT
89262018-06-28 Petr Tesarik <ptesarik@suse.cz>
8927
8928 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8929 address argument is omitted.
8930
d4d429d5
PT
89312018-06-28 Petr Tesarik <ptesarik@suse.cz>
8932
8933 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8934
7ab6656f
OJ
89352018-06-27 Omair Javaid <omair.javaid@linaro.org>
8936
8937 PR gdb/21695
8938 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8939 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8940
a33ccfc7
TT
89412018-06-26 Tom Tromey <tom@tromey.com>
8942
8943 PR rust/22574:
8944 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8945 * gdb.rust/simple.rs (struct SimpleLayout): New.
8946
6d72d289
SM
89472018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8948
8949 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8950 "info registers" output.
8951
8363f9d5
RB
89522018-06-21 Richard Bunt <richard.bunt@arm.com>
8953
8954 * gdb.base/watchpoint-hw-attach.c: New test.
8955 * gdb.base/watchpoint-hw-attach.exp: New file.
8956
f00674fe
SM
89572018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8958
8959 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8960 through /bin/sh.
8961 * boards/dwarf4-gdb-index.exp: Likewise.
8962 * boards/fission-dwp.exp: Likewise.
8963
1d554008
UW
89642018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8965
8966 * gdb.base/float128.exp: Add comment and improved fail message
8967 to the failure case of "print large128" test.
8968
d0ac1c44
SM
89692018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8970
8971 * configure.ac: Remove AC_PREREQ.
8972 * configure: Re-generate.
8973
61b04dd0
PA
89742018-06-19 Pedro Alves <palves@redhat.com>
8975
8976 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8977 (func_extern_caller): New.
8978 (main): Call func_extern_caller.
8979 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8980 logic change.
8981
f63b508a
SM
89822018-06-18 Weimin Pan <weimin.pan@oracle.com>
8983
8984 PR gdb/16841
8985 * gdb.cp/typedef-base.cc: New file.
8986 * gdb.cp/typedef-base.exp: New file.
8987
0fe3a558
TV
89882018-06-18 Tom de Vries <tdevries@suse.de>
8989
8990 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8991
7010835a
AB
89922018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8993 Richard Bunt <Richard.Bunt@arm.com>
8994
8995 * gdb.threads/attach-slow-waitpid.c: New file.
8996 * gdb.threads/attach-slow-waitpid.exp: New file.
8997 * gdb.threads/slow-waitpid.c: New file.
8998
14897d65
PA
89992018-06-14 Pedro Alves <palves@redhat.com>
9000
9001 * gdb.base/fork-running-state.c: Include <errno.h>.
9002 (exit_if_relative_exits): New.
9003 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9004 exits.
9005 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9006 child exits.
9007
5d9a0608
TV
90082018-06-14 Tom de Vries <tdevries@suse.de>
9009
9010 PR cli/22573
9011 * gdb.base/finish-pretty.c: New test.
9012 * gdb.base/finish-pretty.exp: New file.
9013
11ae5818
PA
90142018-06-14 Pedro Alves <palves@redhat.com>
9015
9016 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9017 gdb's expected startup output.
9018
1d39de44
PA
90192018-06-14 Pedro Alves <palves@redhat.com>
9020
9021 * lib/selftest-support.exp (selftest_setup): Remove inlined
9022 function handling.
9023
70ee0000
TV
90242018-06-14 Tom de Vries <tdevries@suse.de>
9025
9026 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9027 matching of breakpoint printing.
9028
11f4b608
TV
90292018-06-13 Tom de Vries <tdevries@suse.de>
9030
9031 PR testsuite/23269
9032 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9033 (fork_child): ... here, and ...
9034 (fork_parent): ... here.
9035
90362018-06-12 Tom de Vries <tdevries@suse.de>
9037
9038 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9039
9516f85a
AB
90402018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9041 Stephen Roberts <stephen.roberts@arm.com>
9042
9043 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9044 rewrite test to describe action performed, rather than possible
9045 failure.
9046
5045b3d7
GB
90472018-06-08 Gary Benson <gbenson@redhat.com>
9048
9049 * gdb.threads/check-libthread-db.exp: New file.
9050 * gdb.threads/check-libthread-db.c: Likewise.
9051
c61b06a1
TT
90522018-06-05 Tom Tromey <tom@tromey.com>
9053
9054 * gdb.base/default.exp: Update expected "show version" output.
9055
eb6af809
TT
90562018-06-05 Tom Tromey <tom@tromey.com>
9057
9058 PR cli/12326:
9059 * gdb.cp/static-print-quit.exp: Update.
9060 * lib/gdb.exp (pagination_prompt): Update.
9061 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9062 * gdb.python/python.exp: Update.
9063
178d6a63
JB
90642018-06-04 Joel Brobecker <brobecker@adacore.com>
9065
9066 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9067
8e817061
JB
90682018-06-01 Joel Brobecker <brobecker@adacore.com>
9069
9070 * gdb.ada/bp_fun_addr: New testcase.
9071
e86ca25f
TT
90722018-06-01 Tom Tromey <tom@tromey.com>
9073
9074 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9075 results.
9076 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9077 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9078 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9079 * gdb.base/maint.exp (maint_pass_if): Update.
9080
4b2dfa9d
MR
90812018-05-31 Maciej W. Rozycki <macro@mips.com>
9082
9083 * gdb.base/endian.exp: New test.
9084 * gdb.base/endian.c: New test source.
9085
45f25d6c
AB
90862018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9087
9088 PR gdb/23203
9089 * gdb.base/bt-selected-frame.c: New file.
9090 * gdb.base/bt-selected-frame.exp: New file.
9091 * lib/gdb.exp (get_current_frame_number): New function.
9092
d9f6d7f8
MR
90932018-05-24 Maciej W. Rozycki <macro@mips.com>
9094 Pedro Alves <palves@redhat.com>
9095
9096 * gdb.threads/tls-core.c: Include <stdlib.h>
9097 (thread_proc): Call `abort'.
9098 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9099 (tls_core_test): New procedure, bits factored out from ...
9100 (top level): ... here. Test both native cores and gcore cores.
9101
ff1cf532
TT
91022018-05-23 Tom Tromey <tom@tromey.com>
9103
9104 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9105
b98664d3
TT
91062018-05-23 Tom Tromey <tom@tromey.com>
9107
9108 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9109 symfile_complaints.
9110 (test_short_complaints): Likewise.
9111 (test_empty_complaints): Likewise.
9112 (test_initial_complaints): Update.
9113
4e9668d0
TT
91142018-05-23 Tom Tromey <tom@tromey.com>
9115
9116 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9117
43ba33c7
TT
91182018-05-23 Tom Tromey <tom@tromey.com>
9119
9120 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9121 (test_short_complaints): Update.
9122
035522c0
PA
91232018-05-22 Pedro Alves <palves@redhat.com>
9124
9125 * gdb.base/remote.exp: Only gdb_start after compiling the
9126 testcase. Issue "disconnect" before testing "set remote" command
9127 defaults. Issue clean_restart before running to main.
9128
cc0be08f
PA
91292018-05-22 Pedro Alves <palves@redhat.com>
9130
9131 * gdb.base/remote.exp: Adjust expected output of "show remote
9132 memory-write-packet-size". Add tests for "set remote
9133 memory-write-packet-size 0" and "set remote
9134 memory-write-packet-size fixed/limit".
9135
b1b60145
PA
91362018-05-22 Pedro Alves <palves@redhat.com>
9137
9138 PR gdb/22973
9139 * gdb.base/utf8-identifiers.c: New file.
9140 * gdb.base/utf8-identifiers.exp: New file.
9141
0ec848ad
PFC
91422018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9143
9144 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9145
2c3305f6
PFC
91462018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9147
9148 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9149
ce1e8424
TT
91502018-05-18 Tom Tromey <tom@tromey.com>
9151
9152 * gdb.base/ptype-offsets.exp: Update.
9153
ddfe970e
KS
91542018-05-17 Keith Seitz <keiths@redhat.com>
9155
9156 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9157 in expected breakpoint stop locations.
9158 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9159 move to proper scope to test variable values.
9160 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9161 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9162 New functions.
9163 (main): Call not_inline_func3.
9164 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9165 inline_func1, inline_func2, and inline_func3. Test that when each
9166 breakpoint is hit, GDB properly reports both the stop location
9167 and the backtrace. Repeat tests for temporary breakpoints.
9168
0726fcc6
MR
91692018-05-15 Maciej W. Rozycki <macro@mips.com>
9170
9171 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9172 rather then trying to access it in determining whether the PID
9173 of `gdbserver' could have been retrieved.
9174
8ee22052
AB
91752018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9176
9177 * gdb.arch/amd64-init-x87-values.S: New file.
9178 * gdb.arch/amd64-init-x87-values.exp: New file.
9179
7785df48
JK
91802018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9181
9182 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9183
56bcdbea
TT
91842018-05-04 Tom Tromey <tom@tromey.com>
9185
9186 PR python/22730:
9187 * gdb.python/python.exp: Test multi-line execute.
9188
a913fffb
TT
91892018-05-04 Tom Tromey <tom@tromey.com>
9190
9191 PR python/22731:
9192 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9193
7a2c85f2
TT
91942018-05-04 Tom Tromey <tom@tromey.com>
9195
9196 PR gdb/11750:
9197 * gdb.base/define.exp: Test defining a user command inside a user
9198 command.
9199 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9200
a3b60e45
JK
92012018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9202 Pedro Alves <palves@redhat.com>
9203
9204 PR breakpoints/19806 and support for PR external/20207.
9205 * gdb.base/watchpoint-unaligned.c: New file.
9206 * gdb.base/watchpoint-unaligned.exp: New file.
9207
45fe4a03
AB
92082018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9209
9210 * gdb.base/maint.exp: Make test names unique, use
9211 test_prefix_command_help to test 'help maint info', and remove
9212 repeated test of 'help maint'.
9213
9be2ae8f
TT
92142018-05-04 Tom Tromey <tom@tromey.com>
9215
9216 PR gdb/22619:
9217 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9218 behavior.
9219
11859c31
AB
92202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9221
9222 * gdb.base/maint.exp: Process output from 'maint print registers'
9223 line at a time.
9224
089a9490
AB
92252018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9226
9227 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9228 timeout.
9229
9b0797e2
AB
92302018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9231
9232 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9233 filter pattern.
9234
f6ac5f3d
PA
92352018-05-02 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9238 to_log_command renames.
9239 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9240
77d3c63b
TT
92412018-05-02 Tom Tromey <tom@tromey.com>
9242
9243 * gdb.python/py-parameter.exp: Set test message.
9244
0489430a
TT
92452018-05-02 Tom Tromey <tom@tromey.com>
9246
9247 PR python/20084:
9248 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9249 PARAM_ZUINTEGER_UNLIMITED tests.
9250
1632f8ba
DR
92512018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9252
9253 PR rust/23124
9254 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9255 when casting.
9256
6d7bb824
TT
92572018-04-30 Tom Tromey <tom@tromey.com>
9258
9259 * gdb.python/py-type.exp: Check align attribute.
9260 * gdb.python/py-type.c: New "aligncheck" global.
9261
007e1530
TT
92622018-04-30 Tom Tromey <tom@tromey.com>
9263
9264 PR exp/17095:
9265 * gdb.dwarf2/dw2-align.exp: New file.
9266 * gdb.cp/align.exp: New file.
9267 * gdb.base/align.exp: New file.
9268 * lib/gdb.exp (gdb_int128_helper): New proc.
9269 (has_int128_c, has_int128_cxx): New caching procs.
9270
6873858b
TT
92712018-04-27 Tom Tromey <tom@tromey.com>
9272
9273 PR rust/22545:
9274 * gdb.rust/simple.exp: Add inclusive range tests.
9275
79188d8d
PA
92762018-04-26 Pedro Alves <palves@redhat.com>
9277
9278 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9279 ifunc breakpoint locations correctly of ifunc breakpoints set
9280 while the program resolves the ifunc.
9281
c7075ad5
PA
92822018-04-26 Pedro Alves <palves@redhat.com>
9283
9284 * gdb.base/gnu-ifunc-final.c: New file.
9285 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9286 * gdb.base/gnu-ifunc.exp (executable): Delete.
9287 (staticexecutable): Adjust.
9288 (lib_opts, exec_opts): Delete.
9289 (make_binsuffix, build, set-break): New procedures.
9290 (misc_tests): New, with tests factored out from the top level.
9291 (top level): Test different combinations of ifunc resolver name,
9292 resolver with and with debug info, and ifunc target with and
9293 without debug info. Wrap static tests with with_target_prefix.
9294
8388016d
PA
92952018-04-26 Pedro Alves <palves@redhat.com>
9296
9297 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9298 return type" warnings.
9299
249b5733
PA
93002018-04-25 Pedro Alves <palves@redhat.com>
9301
9302 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9303 killed".
9304 * gdb.base/kill-after-signal.exp: Likewise.
9305 * gdb.threads/kill.exp: Likewise.
9306
f67c0c91
SDJ
93072018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9308 Sergio Durigan Junior <sergiodj@redhat.com>
9309 Pedro Alves <palves@redhat.com>
9310
9311 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9312 regexps to expect for '[Inferior ... detached]' as well.
9313 * gdb.base/attach.exp: Likewise.
9314 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9315 "gdb_continue_to_end".
9316 (test_catch_syscall_with_wrong_args): Likewise.
9317 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9318 ']'. Don't set 'verbose' on.
9319 * gdb.base/foll-vfork.exp: Likewise.
9320 * gdb.base/fork-print-inferior-events.c: New file.
9321 * gdb.base/fork-print-inferior-events.exp: New file.
9322 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9323 '[Inferior ... has been killed]' message.
9324 * gdb.base/kill-after-signal.exp: Likewise.
9325 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9326 detach message.
9327 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9328 message.
9329 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9330 regexps to expect for '[Inferior ... detached]' as well.
9331 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9332
0a8ddac4
SM
93332018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9334
9335 PR gdb/23104
9336 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9337
701adfb0
PA
93382018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9339
9340 PR gdb/23095
9341 * gdb.base/break-probes.exp: Pass shlib_load to
9342 prepare_for_testing. Set normal_bp to r_debug_state if target is
9343 bsd.
9344
d27d16bf
RB
93452018-04-19 Richard Bunt <richard.bunt@arm.com>
9346
9347 * gdb.threads/multiple-successive-infcall.c: New test.
9348 * gdb.threads/multiple-successive-infcall.exp: New file.
9349
a037790e
TT
93502018-04-17 Tom Tromey <tom@tromey.com>
9351
9352 * gdb.rust/simple.rs (Union): New type.
9353 (main): New local "u".
9354 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9355
e3a91079
AA
93562018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9357
9358 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9359 number information in output of "whereis" command.
9360 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9361
b744723f
AA
93622018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9363
9364 * gdb.ada/info_types.exp: Adjust expected output to the line
9365 numbers now printed by "info var/func/type".
9366 * gdb.base/completion.exp: Likewise.
9367 * gdb.base/included.exp: Likewise.
9368 * gdb.cp/cp-relocate.exp: Likewise.
9369 * gdb.cp/cplusfuncs.exp: Likewise.
9370 * gdb.cp/namespace.exp: Likewise.
9371 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9372
4a4495d6
MM
93732018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9374
9375 * gdb.btrace/cpu.exp: New.
9376
1d509aa6
MM
93772018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9378
9379 * gdb.base/step-indirect-call-thunk.exp: New.
9380 * gdb.base/step-indirect-call-thunk.c: New.
9381 * gdb.reverse/step-indirect-call-thunk.exp: New.
9382 * gdb.reverse/step-indirect-call-thunk.c: New.
9383
6295b6da
SM
93842018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9385
9386 * gdb.base/pie-fork.c: New file.
9387 * gdb.base/pie-fork.exp: New file.
9388
50146e70
TT
93892018-04-11 Tom Tromey <tom@tromey.com>
9390
9391 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9392
f50d8a2e
PA
93932018-04-10 Pedro Alves <palves@redhat.com>
9394
9395 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9396 exits. Instead loop running forever.
9397 (fork_parent): Run forever too.
9398
a0be7a36
SM
93992018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9400
9401 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9402 mi_continue_to_line.
9403 * gdb.mi/mi-stack.c (callee4): Add comment.
9404
9b73db36
SM
94052018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9406
9407 * gdb.mi/mi-stack.exp: Fix indentation.
9408
c912f608
SM
94092018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9410
9411 PR gdb/22979
9412 * gdb.arch/amd64-osabi.exp: New file.
9413
26540402
SM
94142018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9415
9416 PR gdb/22980
9417 * gdb.base/osabi.exp: New file.
9418
121ad66c 94192018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9420
9421 * gdb.cp/static-typedef-print.exp: New file.
9422 * gdb.cp/static-typedef-print.cc: New file.
9423
3fcded8f
JB
94242018-03-27 Joel Brobecker <brobecker@adacore.com>
9425
9426 * gdb.ada/varsize_limit: New testcase.
9427
59cc4834
JB
94282018-03-27 Joel Brobecker <brobecker@adacore.com>
9429
9430 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9431
9432 * gdb.ada/notcplusplus: New testcase.
9433
9434 * gdb.base/c-linkage-name.c: New file.
9435 * gdb.base/c-linkage-name.exp: New testcase.
9436
4ca59a9f
TT
94372018-03-26 Tom Tromey <tom@tromey.com>
9438
9439 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9440 * gdb.python/py-framefilter.py (name_error): New global.
9441 (ErrorInName.function): Use name_error.
9442
978d6c75
TT
94432018-03-26 Tom Tromey <tom@tromey.com>
9444
9445 PR backtrace/15582:
9446 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9447
b7fee5a3
KS
94482018-03-23 Keith Seitz <keiths@redhat.com>
9449
9450 PR c++/22968
9451 * gdb.cp/subtypes.exp: New file.
9452 * gdb.cp/subtypes.h: New file.
9453 * gdb.cp/subtypes.cc: New file.
9454 * gdb.cp/subtypes-2.cc: New file.
9455
376be529
AB
94562018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9457
9458 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9459 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9460 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9461 -nostartfiles when compiling the test. Confirm that all registers
9462 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9463
066cfa98
AB
94642018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9465
9466 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9467 option, syntax was wrong anyway.
9468 * gdb.arch/arm-disp-step.exp: Likewise.
9469 * gdb.arch/sparc64-regs.exp: Likewise.
9470 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9471 option, syntax was wrong anyway, switch to use
9472 prepare_for_testing.
9473 * gdb.arch/i386-disp-step.exp: Likewise.
9474
079670b9
AA
94752018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9476
9477 * gdb.ada/exec_changed.exp: Replace "target_info exists
9478 use_gdb_stub" by "use_gdb_stub".
9479 * gdb.ada/start.exp: Likewise.
9480 * gdb.base/async-shell.exp: Likewise.
9481 * gdb.base/attach-pie-misread.exp: Likewise.
9482 * gdb.base/attach-wait-input.exp: Likewise.
9483 * gdb.base/break-entry.exp: Likewise.
9484 * gdb.base/break-interp.exp: Likewise.
9485 * gdb.base/dprintf-detach.exp: Likewise.
9486 * gdb.base/nostdlib.exp: Likewise.
9487 * gdb.base/solib-nodir.exp: Likewise.
9488 * gdb.base/statistics.exp: Likewise.
9489 * gdb.base/testenv.exp: Likewise.
9490 * gdb.mi/mi-exec-run.exp: Likewise.
9491 * gdb.mi/mi-start.exp: Likewise.
9492 * gdb.multi/dummy-frame-restore.exp: Likewise.
9493 * gdb.multi/multi-arch-exec.exp: Likewise.
9494 * gdb.multi/multi-arch.exp: Likewise.
9495 * gdb.multi/tids.exp: Likewise.
9496 * gdb.multi/watchpoint-multi.exp: Likewise.
9497 * gdb.python/py-events.exp: Likewise.
9498 * gdb.threads/attach-into-signal.exp: Likewise.
9499 * gdb.threads/attach-stopped.exp: Likewise.
9500 * gdb.threads/threadapply.exp: Likewise.
9501 * lib/selftest-support.exp: Likewise.
9502
26d6cec4
AA
95032018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9504
9505 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9506
4ee89e90
SR
95072018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9508
9509 * gdb.perf/template-breakpoints.cc: New file.
9510 * gdb.perf/template-breakpoints.exp: New file.
9511 * gdb.perf/template-breakpoints.py: New file.
9512
92630041
TT
95132018-03-19 Tom Tromey <tom@tromey.com>
9514
9515 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9516 y0.
9517 * gdb.rust/simple.exp: Test bare identifier form of struct
9518 initializer.
9519
76727919
TT
95202018-03-19 Tom Tromey <tom@tromey.com>
9521
9522 * gdb.gdb/observer.exp: Remove.
9523
194ed413
AA
95242018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9525
9526 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9527 "qualified" option when setting breakpoints.
9528 * gdb.trace/backtrace.exp: Likewise.
9529 * gdb.trace/circ.exp: Likewise.
9530 * gdb.trace/collection.exp: Likewise.
9531 * gdb.trace/disconnected-tracing.exp: Likewise.
9532 * gdb.trace/ftrace-lock.exp: Likewise.
9533 * gdb.trace/ftrace.exp: Likewise.
9534 * gdb.trace/infotrace.exp: Likewise.
9535 * gdb.trace/packetlen.exp: Likewise.
9536 * gdb.trace/passc-dyn.exp: Likewise.
9537 * gdb.trace/qtro.exp: Likewise.
9538 * gdb.trace/read-memory.exp: Likewise.
9539 * gdb.trace/report.exp: Likewise.
9540 * gdb.trace/signal.exp: Likewise.
9541 * gdb.trace/status-stop.exp: Likewise.
9542 * gdb.trace/strace.exp: Likewise.
9543 * gdb.trace/tfind.exp: Likewise.
9544 * gdb.trace/trace-break.exp: Likewise.
9545 * gdb.trace/trace-condition.exp: Likewise.
9546 * gdb.trace/trace-mt.exp: Likewise.
9547 * gdb.trace/tstatus.exp: Likewise.
9548 * gdb.trace/tsv.exp: Likewise.
9549 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9550 * gdb.trace/unavailable.exp: Likewise.
9551 * gdb.trace/while-dyn.exp: Likewise.
9552
8b067d2c
AA
95532018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9554
9555 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9556 that libinproctrace is copied to the target.
9557
3ae9ce5d
TT
95582018-03-14 Tom Tromey <tom@tromey.com>
9559
9560 PR cli/14977:
9561 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9562 a null pointer.
9563 * gdb.base/wchar.exp: Likewise.
9564
b8c2339b
TT
95652018-03-14 Tom Tromey <tom@tromey.com>
9566
9567 PR cli/19918:
9568 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9569 flag.
9570
4872dc46
SM
95712018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9572
9573 PR gdb/22841
9574 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9575 "target" to remote_exec.
9576
e4fe3756
SM
95772018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9578
9579 PR gdb/22841
9580 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9581 ${board}_upload): Remove.
9582
e95a97d4
AA
95832018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9584
9585 * gdb.cp/watch-cp.cc: New test.
9586 * gdb.cp/watch-cp.exp: New file.
9587
dbbb1059
AB
95882018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9589
9590 * gdb.base/infcall-nested-structs.exp: New file.
9591 * gdb.base/infcall-nested-structs.c: New file.
9592 * gdb.base/float.exp: Add riscv support.
9593
ecc054c0
TP
95942018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9595
9596 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9597 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9598
25e3c82c
SDJ
95992018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9600
9601 * gdb.server/abspath.exp: New file.
9602 * lib/gdb.exp (with_cwd): New procedure.
9603
3083294d
SM
96042018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9605
9606 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9607 use it.
9608 (gdb_is_target_remote_prompt): New proc.
9609 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9610 (gdb_is_target_native): Pass prompt parameter to
9611 gdb_is_target_1.
9612
3275ef47
SM
96132018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9614
9615 * gdb.base/load-command.c: New file.
9616 * gdb.base/load-command.exp: New file.
9617 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9618 (gdb_is_target_1): ...this, and generalize for other targets
9619 than just remote.
9620 (gdb_is_target_remote): Use gdb_is_target_1.
9621 (gdb_is_target_native): use gdb_is_target_1.
9622
6893c19a
TT
96232018-02-26 Tom Tromey <tom@tromey.com>
9624
9625 PR python/16497:
9626 * gdb.python/py-framefilter.exp: Update test.
9627
2ddeaf8a
TT
96282018-02-26 Tom Tromey <tom@tromey.com>
9629
9630 * gdb.dwarf2/variant.c: New file.
9631 * gdb.dwarf2/variant.exp: New file.
9632
c9317f21
TT
96332018-02-26 Tom Tromey <tom@tromey.com>
9634
9635 * gdb.rust/simple.exp: Accept more possible results in enum test.
9636
6f6d0c26
SM
96372018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9638
9639 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9640 parentheses.
9641
11b03145
MR
96422018-02-23 Maciej W. Rozycki <macro@mips.com>
9643
9644 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9645 name of a variable: $actual_linejj -> $actual_line.
9646
54a27fe5
JB
96472018-02-21 John Baldwin <jhb@FreeBSD.org>
9648
9649 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9650
de65820c
MM
96512018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9652
9653 * gdb.btrace/buffer-size.exp: Do not force BTS.
9654
980548fd
PA
96552018-02-14 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9658 getting a "Quit".
9659
c4e12631
MM
96602018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9661
9662 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9663 Fix test name.
9664
c2e0e465
SM
96652018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9666
9667 * gdb.cp/m-static.exp: Check type of optimized out static
9668 member.
9669
f7216783
AB
96702018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9671
9672 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9673 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9674
0625771b
LS
96752018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9676 Leszek Swirski <leszeks@google.com>
9677
9678 * gdb.python/py-prettyprint.c
9679 (struct to_string_returns_value_inner,
9680 struct to_string_returns_value_wrapper): New.
9681 (main): Add tsrvw variable.
9682 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9683 ToStringReturnsValueWrapper): New classes.
9684 (register_pretty_printers): Register new pretty-printers.
9685 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9686 recursive pretty printer.
9687 * gdb.python/py-mi.exp: Likewise.
9688
59498c30
LS
96892018-02-01 Leszek Swirski <leszeks@google.com>
9690
9691 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9692 functions with the same name as an include file are parsed
9693 correctly.
9694
d4d38844
YQ
96952018-02-01 Yao Qi <yao.qi@linaro.org>
9696
9697 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9698 "\[^\r\n\]*".
9699
07e5f5cf
NP
97002018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9701
9702 * gdb.arch/powerpc-prologue-frame.s: New file.
9703 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9704 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9705
929b5ad4
JB
97062018-01-31 Joel Brobecker <brobecker@adacore.com>
9707
9708 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9709
e671cd59
PA
97102018-01-30 Pedro Alves <palves@redhat.com>
9711
9712 PR gdb/13211
9713 * gdb.base/interrupt-daemon.c: New.
9714 * gdb.base/interrupt-daemon.exp: New.
9715 * gdb.multi/multi-term-settings.c: New.
9716 * gdb.multi/multi-term-settings.exp: New.
9717
fc413dc4
JB
97182018-01-30 Joel Brobecker <brobecker@adacore.com>
9719
9720 * gdb.base/break.exp: Save the location where the breakpoint
9721 on break.c:47 was actually inserted when debugging the version
9722 compiled at -O2 and use it in the expected output of the "info
9723 break" test performed soon after.
9724
5c319bb2
PA
97252018-01-22 Pedro Alves <palves@redhat.com>
9726 Sergio Durigan Junior <sergiodj@redhat.com>
9727
9728 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9729 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9730
a9e40818
JB
97312018-01-22 Joel Brobecker <brobecker@adacore.com>
9732
9733 * gdb.base/break-include.c, gdb.base/break-include.inc,
9734 gdb.base/break-include.exp: New files.
9735 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9736 line number now being the actual line number where the breakpoint
9737 was inserted.
9738 * gdb.mi/mi-break.exp: Likewise.
9739 * gdb.mi/mi-reverse.exp: Likewise.
9740 * gdb.mi/mi-simplerun.exp: Ditto.
9741
e707fc44
AB
97422018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9743
9744 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9745 varobj.
9746 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9747
ae451627
AB
97482018-01-21 Don Breazeal <donb@codesourcery.com>
9749 Andrew Burgess <andrew.burgess@embecosm.com>
9750
9751 * gdb.mi/basics.c: Add new global.
9752 * gdb.mi/mi-frame-regs.exp: New file.
9753 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9754 case.
9755
b1b189e0
AB
97562018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9757
9758 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9759 non-parameter, and on an unknown symbol.
9760
fcfcc376
TT
97612018-01-19 Tom Tromey <tom@tromey.com>
9762
9763 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9764 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9765
634c1c31
AA
97662018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9767
9768 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9769 setrlimit and chdir to int.
9770
d6ad07fd
AA
97712018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9772
9773 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9774 function.
9775 (my_tend): Likewise.
9776 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9777 rationale of avoiding FP- and vector instructions.
9778
adf8243b
RK
97792018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9780
9781 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9782 "info reg" with "\[ \t\]*".
9783 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9784 "\[ \t\]+".
9785 * gdb.arch/s390-multiarch.exp: Ditto.
9786 * gdb.base/pc-fp.exp: Ditto.
9787 * gdb.reverse/i386-precsave.exp: Ditto.
9788 * gdb.reverse/i386-reverse.exp: Ditto.
9789 * gdb.reverse/i387-env-reverse.exp: Ditto.
9790 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9791
dcc06925
AA
97922018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9793
9794 * lib/gdb.exp (gdb_compile): Re-enable use of
9795 universal_compile_options for languages other than Rust.
9796
25d4fd80
AA
97972018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9798
9799 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9800
ee7f689e 98012018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9802
9803 PR gdb/16577
9804 * gdb.base/solib-vanish.exp: New.
9805 * gdb.base/solib-vanish-main.c: New.
9806 * gdb.base/solib-vanish-lib1.c: New.
9807 * gdb.base/solib-vanish-lib2.c: New.
9808
d8447b6b
YQ
98092018-01-17 Yao Qi <yao.qi@linaro.org>
9810
9811 * gdb.compile/compile.exp: Match the address printed for
9812 frame in the output of command "bt".
9813
86d6a90c
TT
98142018-01-15 Tom Tromey <tom@tromey.com>
9815
9816 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9817 compute sp_reg.
9818
cbcdb1aa
AB
98192018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9820
9821 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9822 to prepare.
9823 (prepare): Return 0 on error, 1 on success.
9824
eea61984
PA
98252018-01-12 Pedro Alves <palves@redhat.com>
9826
9827 * gdb.base/continue-after-aborted-step-over.c: New.
9828 * gdb.base/continue-after-aborted-step-over.exp: New.
9829
6181e9c2
SM
98302018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9831
9832 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9833 options when not creating an executable.
9834
3cada740
PA
98352018-01-11 Pedro Alves <palves@redhat.com>
9836
9837 PR remote/22597
9838 * gdb.server/stop-reply-no-thread.c: New file.
9839 * gdb.server/stop-reply-no-thread.exp: New file.
9840
c63d3e8d
PA
98412018-01-10 Pedro Alves <palves@redhat.com>
9842
9843 PR gdb/22670
9844 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9845 functions too. Test setting breakpoints and printing C functions
9846 with no debug info too.
9847 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9848
d4c2a405
PA
98492018-01-10 Pedro Alves <palves@redhat.com>
9850
9851 PR gdb/22670
9852 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9853 a fail.
9854
8825213e
PA
98552018-01-10 Pedro Alves <palves@redhat.com>
9856
9857 PR gdb/22670
9858 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9859
605fd3c6
YQ
98602018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9861
9862 * gdb.server/unittest.exp: Match the output in non-development
9863 mode.
9864
1e5ded6c
YQ
98652018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9866
9867 * gdb.gdb/unittest.exp: Match output in non-development mode.
9868
30066b0b
JB
98692018-01-08 Joel Brobecker <brobecker@adacore.com>
9870
9871 * gdb.ada/access_tagged_param.exp: Relax expected output
9872 for value of "ObjL" in "continue" to pck.inspect breakpoint
9873 test.
9874
04bafb1e
XR
98752018-01-08 Joel Brobecker <brobecker@adacore.com>
9876
9f86398b
JB
9877 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9878 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9879
e379cee6
PA
98802018-01-05 Pedro Alves <palves@redhat.com>
9881
9882 PR gdb/18653
9883 * gdb.base/libsegfault.exp: New.
9884
de63c46b
PA
98852018-01-05 Joel Brobecker <brobecker@adacore.com>
9886
9887 PR gdb/22670
9888 * gdb.ada/access_tagged_param.exp: New file.
9889 * gdb.ada/access_tagged_param/foo.adb: New file.
9890
f98fc17b
PA
98912018-01-05 Pedro Alves <palves@redhat.com>
9892
9893 PR gdb/22670
9894 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9895 exercise lower case too, and to exercise both full matching and
9896 wild matching.
9897
342f8240
JB
98982018-01-05 Joel Brobecker <brobecker@adacore.com>
9899
9900 * gdb.ada/rename_subscript_param: New testcase.
9901
7150d33c
JG
99022018-01-05 Jerome Guitton <guitton@adacore.com>
9903
9904 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9905
cc0e770c
JB
99062018-01-05 Joel Brobecker <brobecker@adacore.com>
9907
9908 * gdb.ada/convvar_comp: New testcase.
9909
672a41aa 99102018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9911
9912 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9913 (My_Table): New global variable.
9914 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9915
7365ec2f
JB
99162018-01-04 Joel Brobecker <brobecker@adacore.com>
9917
9918 PR gdb/22670
9919 * gdb.ada/maint_with_ada: New testcase.
9920
289483b6
JB
99212018-01-04 Joel Brobecker <brobecker@adacore.com>
9922
9923 PR gdb/22670
9924 * gdb.ada/bp_c_mixed_case: New testcase.
9925
344420da
JB
99262018-01-04 Joel Brobecker <brobecker@adacore.com>
9927
9928 PR gdb/22670
9929 * gdb.ada/complete.exp: Add "complete break ada" test.
9930
66fc87a0
JB
99312018-01-04 Joel Brobecker <brobecker@adacore.com>
9932
9933 PR gdb/22670
9934 * gdb.ada/info_addr_mixed_case: New testcase.
9935
9f757bf7
XR
99362018-01-03 Xavier Roirand <roirand@adacore.com>
9937
9938 * gdb.ada/excep_handle.exp: New testcase.
9939 * gdb.ada/excep_handle/foo.adb: New file.
9940 * gdb.ada/excep_handle/pck.ads: New file.
9941
bd570f80
JB
99422018-01-03 Joel Brobecker <brobecker@adacore.com>
9943
9944 * gdb.base/step-line.c: Add extra empty line in copyright header.
9945 * gdb.base/step-line.inp: Likewise.
9946
9fe561ab
JB
99472018-01-02 Joel Brobecker <brobecker@adacore.com>
9948
9949 * gdb.ada/dyn_stride.exp: Add slice test.
9950
a405673c
JB
99512018-01-02 Joel Brobecker <brobecker@adacore.com>
9952
9953 * gdb.ada/dyn_stride: New testcase.
9954
cef0f868
SH
99552017-12-27 Stafford Horne <shorne@gmail.com>
9956
9957 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9958 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9959
b67d92b0
SH
99602017-12-27 Stafford Horne <shorne@gmail.com>
9961
9962 * gdb.base/reggroups.c: New file.
9963 * gdb.base/reggroups.exp: New file.
9964
eccab96d
JB
99652017-12-18 Joel Brobecker <brobecker@adacore.com>
9966
9967 * gdb.dwarf2/ada-valprint-error.c: New file.
9968 * gdb.dwarf2/ada-valprint-error.exp: New file.
9969
0e2da9f0
JB
99702017-12-18 Joel Brobecker <brobecker@adacore.com>
9971
9972 * gdb.ada/assign_arr: New testcase.
9973
cb923fcc
XR
99742017-12-18 Xavier Roirand <roirand@adacore.com>
9975
9976 * gdb.ada/funcall_ptr: New testcase.
9977
7c161838
SDJ
99782017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9979
9980 PR cli/16224
9981 * gdb.base/ptype-offsets.cc: New file.
9982 * gdb.base/ptype-offsets.exp: New file.
9983
1af17fd9
YQ
99842017-12-15 Yao Qi <yao.qi@linaro.org>
9985
9986 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9987 if XML is disabled.
9988
828d5846
XR
99892017-12-15 Xavier Roirand <roirand@adacore.com>
9990
9991 * gdb.ada/same_component_name: New testcase.
9992
79e8fcaa
JB
99932017-12-14 Joel Brobecker <brobecker@adacore.com>
9994
9995 * gdb.ada/str_binop_equal: New testcase.
9996
e05fa6f9
JB
99972017-12-14 Joel Brobecker <brobecker@adacore.com>
9998
9999 * gdb.ada/task_switch_in_core: New testcase.
10000
b89641ba
SM
100012017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10002
10003 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10004 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10005 call test_bkpt_qualified.
10006 (test_bkpt_qualified): New proc.
10007
6892d2e4
PA
100082017-12-13 Pedro Alves <palves@redhat.com>
10009
10010 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10011 Tighten regexp by matching with an anchor.
10012
a22ecf70
PA
100132017-12-13 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10016 ("expression with namespace"): New set of tests.
10017 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10018 (Nested::Test_NS::qux): New.
10019 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10020 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10021
9937536c
JB
100222017-12-13 Joel Brobecker <brobecker@adacore.com>
10023
10024 * gdb.base/server-del-break.c: New file.
10025 * gdb.base/server-del-break.exp: New file.
10026
fe49c6f5
SH
100272017-12-12 Stafford Horne <shorne@gmail.com>
10028
10029 * gdb.xml/tdesc-regs.exp: Add or1k support.
10030
c3d18620
SH
100312017-12-12 Stafford Horne <shorne@gmail.com>
10032
10033 * gdb.base/bp-permanent.c: Define nop of or1k.
10034
c5f9cfc8
JB
100352017-12-11 Joel Brobecker <brobecker@adacore.com>
10036
10037 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10038 output with components being reordered.
10039
a9c135fc
JB
100402017-12-11 Joel Brobecker <brobecker@adacore.com>
10041
10042 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10043 output with components being reordered.
10044
927aa2e7
JK
100452017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10046 Pedro Alves <palves@redhat.com>
10047
10048 * gdb.base/maint.exp (check for .gdb_index): Check also for
10049 .debug_names.
10050 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10051 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10052 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10053 (.gdb_index used after symbol reloading): Support also .debug_names.
10054 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10055
f17d9474
YQ
100562017-12-08 Yao Qi <yao.qi@linaro.org>
10057
10058 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10059 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10060
a0de8c21
YQ
100612017-12-08 Yao Qi <yao.qi@linaro.org>
10062
10063 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10064 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10065
a738ea1d
YQ
100662017-12-08 Yao Qi <yao.qi@linaro.org>
10067
10068 * gdb.arch/aarch64-tagged-pointer.c: New file.
10069 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10070
1cd9a73b
SDJ
100712017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10072
10073 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10074 "int".
10075
fa6eb693
KS
100762017-12-07 Keith Seitz <keiths@redhat.com>
10077
10078 PR breakpoints/22569
10079 * gdb.linespec/ls-errs.exp: Change expected result of "break
10080 -source this file has spaces.c -line 3".
10081 Check that an explicit source file followed by whitespace is
10082 identified as an invalid explicit location.
10083
883fd55a
KS
100842017-12-07 Keith Seitz <keiths@redhat.com>
10085
10086 * gdb.cp/nested-types.cc: New file.
10087 * gdb.cp/nested-types.exp: New file.
10088 * lib/cp-support.exp: Load data-structures.exp library.
10089 (debug_cp_test_ptype_class): New global.
10090 (cp_ptype_class_verbose, next_line): New procedures.
10091 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10092 Add and document new return value.
10093 Switch the list of lines to a queue.
10094 Add support for new `type' key for nested type definitions.
10095 Add debugging/troubleshooting messages.
10096 * lib/data-structures.exp: New file.
10097
ec72db3e
SM
100982017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10099
10100 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10101 with proc_with_prefix, don't use with_test_prefix.
10102
99598d71
TT
101032017-12-07 Tom Tromey <tom@tromey.com>
10104
10105 * gdb.base/break.exp: Add test for empty "commands".
10106
a8806230
YQ
101072017-12-07 Yao Qi <yao.qi@linaro.org>
10108
10109 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10110 malloc and catch syscall.
10111
824cc835
PM
101122017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10113
e79be6e5 10114 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10115 tests for explicit locations.
10116
7cc244de
PA
101172017-12-06 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10120 force-disabling XML descriptions.
10121
50a1fdd5
PA
101222017-12-04 Pedro Alves <palves@redhat.com>
10123
10124 PR gdb/22499
10125 * gdb.arch/amd64-disp-step-avx.S: New file.
10126 * gdb.arch/amd64-disp-step-avx.exp: New file.
10127
f0fb2488
PA
101282017-12-03 Pedro Alves <palves@redhat.com>
10129
10130 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10131 and <string.h>.
10132 (parent_function): Print distinct messages when waitpid fails, or
10133 the child exits with a signal, or the child exits for an unhandled
10134 reason.
10135 * gdb.threads/process-dies-while-detaching.exp
10136 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10137 it. Wait for both inferior output and GDB's prompt. Use an
10138 indirect spawn id list.
10139 (do_detach): New parameter 'child_exit'. Use it to compute
10140 expected inferior output.
10141 (test_detach, test_detach_watch, test_detach_killed_outside):
10142 Adjust to pass down the expected child exit kind.
10143
97cbe998
SDJ
101442017-12-01 Joel Brobecker <brobecker@adacore.com>
10145 Sergio Durigan Junior <sergiodj@redhat.com>
10146 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10149
40fc416f
SDJ
101502017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10151
10152 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10153 to 'symbol-file' and 'add-symbol-file' can be
10154 position-independent.
10155
1cc75e92
YQ
101562017-12-01 Yao Qi <yao.qi@linaro.org>
10157
10158 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10159 the URL in copyright header.
10160 * gdb.arch/aarch64-fp.exp: Likewise.
10161 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10162 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10163 * gdb.base/expand-psymtabs.exp: Likewise.
10164 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10165 * gdb.fortran/common-block.exp: Likewise.
10166 * gdb.fortran/common-block.f90: Likewise.
10167 * gdb.fortran/logical.exp: Likewise.
10168 * gdb.fortran/vla-datatypes.f90: Likewise.
10169 * gdb.fortran/vla-sub.f90: Likewise.
10170
875fb7a7
JB
101712017-11-30 Joel Brobecker <brobecker@adacore.com>
10172
10173 * gdb.ada/repeat_dyn: New testcase.
10174
6f14765f
UW
101752017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10176
10177 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10178 Update for changed thread numbering.
10179 * gdb.cell/bt.exp: Update for changed GDB output.
10180
f1af7b94
SM
101812017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10182
10183 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10184 setting isremote by hand.
10185 * boards/dwarf4-gdb-index.exp: Likewise.
10186 * boards/fission.exp: Likewise.
10187 * boards/stabs.exp: Likewise.
10188
e3919f3e
PA
101892017-11-30 Pedro Alves <palves@redhat.com>
10190
10191 * gdb.linespec/cpls-ops.exp
10192 (check_explicit_skips_function_argument): Extract the underlying
10193 type of size_t instead of hardcoding it.
10194
bd69330d
PA
101952017-11-29 Pedro Alves <palves@redhat.com>
10196
10197 PR c++/19436
10198 * gdb.linespec/cpls-abi-tag.cc: New file.
10199 * gdb.linespec/cpls-abi-tag.exp: New file.
10200
a20714ff
PA
102012017-11-29 Pedro Alves <palves@redhat.com>
10202
10203 * gdb.base/langs.exp: Use -qualified.
10204 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10205 it.
10206 * gdb.cp/namespace.exp: Use -qualified.
10207 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10208 (overload-3, template-overload, template-ret-type, const-overload)
10209 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10210 procedures.
10211 (test_driver): Call them.
10212 * gdb.cp/save-bp-qualified.cc: New.
10213 * gdb.cp/save-bp-qualified.exp: New.
10214 * gdb.linespec/explicit.exp: Test -qualified.
10215 * lib/completion-support.exp (completion::explicit_opts_list): Add
10216 "-qualified".
10217 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10218
f6f1d339
PM
102192017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10220
10221 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10222
02ca603a
TT
102232017-11-29 Tom Tromey <tom@tromey.com>
10224
10225 * gdb.base/relocate.exp: Update invalid argument test.
10226 Add new tests for invalid arguments.
10227
ed6c0bfb
TP
102282017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10229
10230 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10231 Return 0 as a long.
10232 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10233
f106e10e
TP
102342017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10235
10236 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10237 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10238 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10239 func ().
10240 * gdb.cp/shadow.cc (B.func): Return 0.
10241
10329bb2
JB
102422017-11-27 Joel Brobecker <brobecker@adacore.com>
10243
10244 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10245 expected output in gdb_expect call to allow the exception
10246 message to be present as well. Fix syntax confusion to avoid
10247 TCL thinking that exception_name is an array.
10248
617cd4bc
UW
102492017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10250
10251 * gdb.arch/spu-info.c: Include <unistd.h>.
10252 (do_signal_test): Fix broken calls to write.
10253 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10254 Fix checks for empty mailboxes. Update signal tests for corrected
10255 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10256 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10257 * gdb.cell/arch.exp: Use standard_output_file.
10258 * gdb.cell/break.exp: Likewise.
10259 * gdb.cell/bt.exp: Likewise.
10260 * gdb.cell/core.exp: Likewise.
10261 * gdb.cell/dwarfaddr.exp: Likewise.
10262 * gdb.cell/ea-cache.exp: Likewise.
10263 * gdb.cell/ea-standalone.exp: Likewise.
10264 * gdb.cell/f-regs.exp: Likewise.
10265 * gdb.cell/fork.exp: Likewise.
10266 * gdb.cell/gcore.exp: Likewise.
10267 * gdb.cell/mem-access.exp: Likewise.
10268 * gdb.cell/ptype.exp: Likewise.
10269 * gdb.cell/registers.exp: Likewise.
10270 * gdb.cell/sizeof.exp: Likewise.
10271 * gdb.cell/solib-symbol.exp: Likewise.
10272 * gdb.cell/solib.exp: Likewise.
617cd4bc 10273
a81aaca0
PA
102742017-11-25 Pedro Alves <palves@redhat.com>
10275
10276 * gdb.base/complete-empty.exp: New file.
10277 * gdb.base/completion.exp: Adjust.
10278
6a3c6ee4
PA
102792017-11-25 Pedro Alves <palves@redhat.com>
10280
10281 * gdb.linespec/cpls-ops.cc: New file.
10282 * gdb.linespec/cpls-ops.exp: New file.
10283 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10284 factored out from ...
10285 (test_complete_prefix_range): ... this.
10286
8955eb2d
PA
102872017-11-24 Pedro Alves <palves@redhat.com>
10288
10289 * gdb.linespec/cpcompletion.exp: New file.
10290 * gdb.linespec/cpls-hyphen.cc: New file.
10291 * gdb.linespec/cpls.cc: New file.
10292 * gdb.linespec/cpls2.cc: New file.
10293 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10294 test to use test_gdb_complete_unique. Add label completion,
10295 keyword completion and explicit location completion tests.
10296 * lib/completion-support.exp: New file.
10297
e547c119
JB
102982017-11-24 Joel Brobecker <brobecker@adacore.com>
10299
10300 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10301 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10302 when hitting an exception catchpoint.
10303
7c3c1aa8
YQ
103042017-11-22 Yao Qi <yao.qi@linaro.org>
10305
10306 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10307
41bd68f5
SM
103082017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10309
10310 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10311 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10312 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10313
1daad298
YQ
103142017-11-22 Yao Qi <yao.qi@linaro.org>
10315
10316 * gdb.base/info-os.exp: Pass pthreads.
10317 * gdb.multi/multi-attach.exp: Likewise.
10318
88465e87
YQ
103192017-11-22 Yao Qi <yao.qi@linaro.org>
10320
10321 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10322 compiler.
10323
dc196b23
YQ
103242017-11-22 Yao Qi <yao.qi@linaro.org>
10325
10326 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10327 * gdb.base/break-interp.exp: Likewise.
10328 * gdb.base/jit-attach-pie.exp: Likewise.
10329
2400729e
UW
103302017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10331
10332 * gdb.base/float128.c (large128): New variable.
10333 * gdb.base/float128.exp: Add test to print largest __float128 value.
10334
7a26362d
UW
103352017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10336
10337 * gdb.arch/vsx-regs.exp: Update register content checks.
10338
ed0f4273
UW
103392017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10340
10341 * gdb.arch/ppc-longdouble.exp: New file.
10342 * gdb.arch/ppc-longdouble.c: Likewise.
10343
a25d69c6
PA
103442017-11-21 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10347
73fcf641
PA
103482017-11-20 Pedro Alves <palves@redhat.com>
10349
10350 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10351 (long_double_typedef): New typedefs.
10352 Use DEF on double and long double.
10353 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10354 cases.
10355 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10356 and 'long_double_ptr_same_size' locals. Use them to decide
10357 whether cast from array/function to float is valid/invalid.
10358
71a3c369
TT
103592017-11-17 Tom Tromey <tom@tromey.com>
10360
10361 * gdb.rust/traits.rs: New file.
10362 * gdb.rust/traits.exp: New file.
10363
ced9779b
JB
103642017-11-17 Joel Brobecker <brobecker@adacore.com>
10365
10366 * gdb.ada/minsyms: New testcase.
10367
a0922d80
PA
103682017-11-16 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10371 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10372
ea04e54c
PA
103732017-11-16 Pedro Alves <palves@redhat.com>
10374
10375 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10376 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10377
e849ea89
PA
103782017-11-16 Pedro Alves <palves@redhat.com>
10379
10380 * gdb.server/reconnect-ctrl-c.c: New file.
10381 * gdb.server/reconnect-ctrl-c.exp: New file.
10382
d8ae99a7
PM
103832017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10384
10385 * gdb.python/py-rbreak.exp: New file.
10386 * gdb.python/py-rbreak.c: New file.
10387 * gdb.python/py-rbreak-func2.c: New file.
10388
968a13f8
PA
103892017-11-16 Pedro Alves <palves@redhat.com>
10390
10391 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10392 pattern.
10393 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10394 GDB.
10395
71774bc9
SM
103962017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10397
10398 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10399 regex.
10400
ddbb44cf
SM
104012017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10402
10403 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10404 test names.
10405
584a564f
PA
104062017-11-09 Pedro Alves <palves@redhat.com>
10407
10408 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10409 factored out from ...
10410 (top level): ... here, and adjusted to avoid expecting beyond the
10411 prompt in a single gdb_test_multiple.
10412
5ed7a928
PA
104132017-11-09 Pedro Alves <palves@redhat.com>
10414
10415 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10416 output.
10417 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10418 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10419 * gdb.server/ext-run.exp ("kill" test): Likewise.
10420 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10421
a60e0738
PA
104222017-11-09 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10425 match till end of line.
10426
2c88253f
PA
104272017-11-09 Pedro Alves <palves@redhat.com>
10428
10429 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10430
c7a38517
PA
104312017-11-09 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10434 New procedures, factored out from ...
10435 (top level): ... here, and adjusted to avoid expecting beyond the
10436 prompt in one go.
10437
f29f4b6b
PA
104382017-11-09 Pedro Alves <palves@redhat.com>
10439
10440 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10441 output. Fix '?' match.
10442
286acbb5
JB
104432017-11-08 Joel Brobecker <brobecker@adacore.com>
10444
10445 * gdb.ada/scoped_watch: New testcase.
10446 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10447 which is actually correct.
10448 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10449 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10450
62d7ae92
PA
104512017-11-08 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.gdb/complaints.exp (test_initial_complaints)
10454 (test_serial_complaints, test_short_complaints): Call
10455 complaint_internal instead of complaint.
10456
280ca31f
DT
104572017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10458
10459 * gdb.threads/tls-core.c: New file.
10460 * gdb.threads/tls-core.exp: Likewise.
10461
b5ec771e
PA
104622017-11-08 Pedro Alves <palves@redhat.com>
10463
10464 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10465 (p Exported_Capitalized): New test.
10466 (p exported_capitalized): New test.
10467
a02b41a7
PA
104682017-11-07 Pedro Alves <palves@redhat.com>
10469
10470 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10471
95e95a6d
PA
104722017-11-07 Pedro Alves <palves@redhat.com>
10473
10474 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10475 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10476 (disable_invalid, disable_inverted, disable_negative): New
10477 procedures.
10478 ("bad numbers"): New set of tests.
10479
cee62dbd
PA
104802017-11-07 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.cp/ena-dis-br-range.exp: Add tests.
10483
cc638e86
PA
104842017-11-07 Pedro Alves <palves@redhat.com>
10485
10486 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10487
d0fe4701
XR
104882017-11-07 Xavier Roirand <roirand@adacore.com>
10489 Pedro Alves <palves@redhat.com>
10490
10491 * gdb.base/ena-dis-br.exp: Add reference to
10492 gdb.cp/ena-dis-br-range.exp.
10493 * gdb.cp/ena-dis-br-range.exp: New file.
10494 * gdb.cp/ena-dis-br-range.cc: New file.
10495
46f67f80
PA
104962017-11-06 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/attach-non-pgrp-leader.c: New.
10499 * gdb.base/attach-non-pgrp-leader.exp: New.
10500
726e1356
PA
105012017-11-06 Pedro Alves <palves@redhat.com>
10502
10503 * configure.ac: No longer check for termio.h and sgtty.h.
10504 * configure: Regenerate.
10505 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10506 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10507 Remove termio and sgtty code.
10508
50ab6ace
YQ
105092017-11-03 Yao Qi <yao.qi@linaro.org>
10510
10511 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10512 in GDB is disabled.
10513
8e68731c
YQ
105142017-11-03 Yao Qi <yao.qi@linaro.org>
10515
10516 * gdb.python/py-thrhandle.exp: Skip it if python is not
10517 enabled.
10518
3a87ae65
SM
105192017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10520
10521 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10522 as a breakpoint command.
10523
484d8d36
MD
105242017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10525
10526 PR python/21213
10527 * gdb.python/py-infthread.exp: Test calling
10528 InferiorThread.inferior () multiple times in a row.
10529
4a27f119
KS
105302017-10-27 Keith Seitz <keiths@redhat.com>
10531
10532 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10533 Test "info break" for every inlined function breakpoint.
10534
bb11dd58
YQ
105352017-10-27 Yao Qi <yao.qi@linaro.org>
10536
10537 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10538
a43f3893
PF
105392017-10-26 Patrick Frants <osscontribute@gmail.com>
10540
10541 * gdb.cp/classes.exp (test_static_members): Test printing
10542 Outer::instance.
10543 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10544 (Inner::instance, Outer::instance): New.
10545
792ccf00
PA
105462017-10-24 Pedro Alves <palves@redhat.com>
10547
10548 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10549 extra console" test in two stages.
10550
eb2bfbad
PA
105512017-10-24 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10554
1f75a651
PA
105552017-10-24 Pedro Alves <palves@redhat.com>
10556
10557 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10558 loop.
10559
779990d9
PA
105602017-10-24 Pedro Alves <palves@redhat.com>
10561
10562 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10563 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10564
ad9b8f5d
PA
105652017-10-24 Pedro Alves <palves@redhat.com>
10566
10567 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10568 parameter and handle it. Don't output read value in test name.
10569
fee6da6e
PA
105702017-10-24 Pedro Alves <palves@redhat.com>
10571
10572 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10573 custom test name.
10574
10389c2c
PA
105752017-10-24 Pedro Alves <palves@redhat.com>
10576
10577 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10578 include the unstable output directory name in the test's name.
10579 (initial_setup_simple) <'set args'>: Use custom test name.
10580
a80e65a9
PA
105812017-10-24 Pedro Alves <palves@redhat.com>
10582
10583 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10584 with explicit test name.
10585
15763a09
PA
105862017-10-20 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10589 'wait -i'. Use gdb_assert and remote_close.
10590
49a4ce2e
AB
105912017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10592
10593 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10594 number from variable rather than hard-coded.
10595
a75868f5
PA
105962017-10-19 Pedro Alves <palves@redhat.com>
10597
10598 * gdb.base/long-inferior-output.c: New file.
10599 * gdb.base/long-inferior-output.exp: New file.
10600
c8ba13ad
KS
106012017-11-18 Keith Seitz <keiths@redhat.com>
10602
10603 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10604 method.
10605 (main): Call it.
10606 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10607 Add additional user-defined conversion operator tests.
10608
b27de576
PA
106092017-10-17 Pedro Alves <palves@redhat.com>
10610
10611 * boards/native-stdio-gdbserver.exp: Load "local-board".
10612
8484c955
PA
106132017-10-17 Pedro Alves <palves@redhat.com>
10614
10615 * gdb.base/quit-live.c: New file.
10616 * gdb.base/quit-live.exp: New file.
10617
83d5a34d
KS
106182017-10-16 Keith Seitz <keiths@redhat.com>
10619
10620 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10621 (class_with_protected_typedef, class_with_private_typedef)
10622 (struct_with_public_typedef, struct_with_protected_typedef)
10623 (struct_with_private_typedef): New classes/structs.
10624 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10625 typedefs and access specifiers.
10626
739b3f1d
PA
106272017-10-16 Pedro Alves <palves@redhat.com>
10628 Simon Marchi <simon.marchi@polymtl.ca>
10629
10630 * README (Local vs Remote vs Native): New section.
10631 * boards/local-board.exp: New file, with bits factored out from
10632 ...
10633 * boards/native-extended-gdbserver.exp: ... here. Load
10634 "local-board".
10635 * boards/native-gdbserver.exp: Load "local-board".
10636 (${board}_spawn, ${board}_exec): Delete.
10637 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10638 ...
10639 * boards/stdio-gdbserver-base.exp: ... this new file.
10640 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10641 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10642 procedure.
10643 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10644 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10645 stdio_gdbserver_command.
10646 (${board}_get_remote_address, ${board}_get_comm_port)
10647 (${board}_download, ${board}_upload): Delete.
10648 (get_target_remote_pipe_cmd): New.
10649
fe68b953
SM
106502017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10651
10652 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10653 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10654 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10655 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10656 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10657 remove with_test_prefix.
10658
300b6685
PA
106592017-10-13 Pedro Alves <palves@redhat.com>
10660
10661 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10662 * gdb.base/annota1.exp: Use it instead of is_remote.
10663 * gdb.base/annota3.exp: Use it instead of is_remote.
10664 * gdb.cp/annota2.exp: Use it instead of is_remote.
10665 * gdb.cp/annota3.exp: Use it instead of is_remote.
10666 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10667
50500caf
PA
106682017-10-13 Pedro Alves <palves@redhat.com>
10669
10670 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10671 (test_num_test_vars, run_and_count_vars, find_env)
10672 (test_set_unset_env, test_inherit_env_var): New procedures.
10673 (top level): Use them.
10674
dad0c6d2
PA
106752017-10-13 Pedro Alves <palves@redhat.com>
10676
10677 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10678 also skip on stub-like targets.
10679
8b0553c1
PA
106802017-10-13 Pedro Alves <palves@redhat.com>
10681
10682 PR gdb/22293
10683 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10684 (top level): Move some tests to ...
10685 (test_not_found): ... this new procedure.
10686 (top level): Call it.
10687
7594f623
PA
106882017-10-13 Pedro Alves <palves@redhat.com>
10689
10690 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10691 expect different "info terminal" output if testing with a
10692 non-native target.
10693
ebe3b402
PA
106942017-10-13 Pedro Alves <palves@redhat.com>
10695 Simon Marchi <simon.marchi@polymtl.ca>
10696
10697 PR python/12966
10698 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10699
42f1b161
PA
107002017-10-13 Pedro Alves <palves@redhat.com>
10701
10702 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10703 already.
10704
8d6ef72b
PA
107052017-10-13 Pedro Alves <palves@redhat.com>
10706
10707 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10708 is_remote.
10709
d7bcd5b8
PA
107102017-10-13 Pedro Alves <palves@redhat.com>
10711
10712 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10713 is_remote.
10714
df479dc6
PA
107152017-10-13 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10718 is set.
10719 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10720 instead of is_remote.
10721
23fb630a
PA
107222017-10-13 Pedro Alves <palves@redhat.com>
10723
10724 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10725 (top level): Add comment.
10726
cc77b1dc
PA
107272017-10-13 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.base/remote.exp (top level): Fix comment typo and add
10730 missing return.
10731
27c9e813
PA
107322017-10-13 Pedro Alves <palves@redhat.com>
10733 Simon Marchi <simon.marchi@polymtl.ca>
10734
10735 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10736 calls and add comments. Skip test if use_gdb_stub is set.
10737 (top level): Use "set cwd" command instead of "cd" command.
10738
5e830d98
PA
107392017-10-13 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10742 is_remote target check.
10743
f5ca0032
PA
107442017-10-13 Pedro Alves <palves@redhat.com>
10745
10746 * gdb.base/scope.exp: Use build_executable + clean_restart +
10747 gdb_file_cmd instead of prepare_for_testing and no longer skip
10748 "before run" tests on is_remote target boards. Update comments.
10749 * boards/native-extended-gdbserver.exp
10750 (extended_gdbserver_load_last_file): New, factored out from ...
10751 (gdb_load): ... this. Move further below and add comment.
10752 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10753
8aed1c0d
PA
107542017-10-12 Pedro Alves <palves@redhat.com>
10755
10756 * gdb.base/attach.exp: Remove references to gdb64.
10757 * gdb.base/dbx.exp: Remove references to gdb64.
10758
cfa34c87
SM
107592017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10760 Pedro Alves <palves@redhat.com>
10761
10762 * gdb.base/label.exp: Remove is_remote target check.
10763
9192b7de
PA
107642017-10-12 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.base/auvx.exp (coredir): Update comment.
10767 (top level) <core_works>: Use "set cwd" command instead of "cd"
10768 command.
10769
6bf0052d
PA
107702017-10-12 Pedro Alves <palves@redhat.com>
10771 Simon Marchi <simon.marchi@polymtl.ca>
10772
10773 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10774 target boards.
10775
e48ef82d
PA
107762017-10-12 Pedro Alves <palves@redhat.com>
10777 Simon Marchi <simon.marchi@polymtl.ca>
10778
10779 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10780 Instead skip if there's any gdb_protocol set.
10781
8d7aea57
SM
107822017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10783 Pedro Alves <palves@redhat.com>
10784
10785 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10786
30440677
PA
107872017-10-12 Pedro Alves <palves@redhat.com>
10788 Simon Marchi <simon.marchi@polymtl.ca>
10789
10790 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10791 instead of on dejagnu remote boards.
10792
4e04f045 107932017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10794 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10795
10796 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10797 checks. Use build_executable + clean_restart instead of
10798 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10799 of enabling non-stop after starting gdb.
10800
871a186e
PA
108012017-10-12 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10804 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10805 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10806 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10807
56d704da
AK
108082017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10809
10810 * gdb.arch/arc-tdesc-cpu.exp: New file.
10811 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10812
2f20e312
SM
108132017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10814
10815 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10816
65630365
PA
108172017-10-10 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10820 expect CLI output.
10821
bf469271
PA
108222017-10-10 Pedro Alves <palves@redhat.com>
10823
10824 * lib/selftest-support.exp (selftest_setup): Update for
10825 captured_command_loop's prototype change.
10826
777a42f1
PA
108272017-10-09 Pedro Alves <palves@redhat.com>
10828
10829 Test both arch1=>arch2 and arch2=>arch1.
10830
10831 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10832 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10833 factored out to...
10834 (append_arch1_options, append_arch2_options, append_arch_options)
10835 (build_executables): New procedures.
10836 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10837 local.
10838 (top level): Add new 'first_arch' testing axis.
10839
cbd2b4e3
PA
108402017-10-09 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10843 (barrier): New.
10844 (thread_start, all_started): New functions.
10845 (main): Spawn new thread and wait until it is scheduled.
10846 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10847 option.
10848 (do_test): Add 'selected_thread' parameter. Run to all_started
10849 instead of main. Explicitly set the breakpoint at main. Switch
10850 to the SELECTED_THREAD thread.
10851 (top level): Test handling the exec event with either the main
10852 thread or the second thread selected.
10853
5c9e4427
PA
108542017-10-09 Pedro Alves <palves@redhat.com>
10855
10856 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10857 logic. Move STOP marker after the value checks.
10858 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10859 regexp.
10860
b3b7c423
SL
108612017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10862
10863 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10864
3b4b2f16
UW
108652017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10866
10867 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10868 integer-to-dfp conversion.
10869 * gdb.base/dfp-test.exp: Likewise.
10870
5cd63fda
PA
108712017-10-04 Pedro Alves <palves@redhat.com>
10872
10873 * gdb.multi/hangout.c: Include <unistd.h>.
10874 (hangout_loop): New function.
10875 (main): Call alarm. Call hangout_loop in a loop.
10876 * gdb.multi/hello.c: Include <unistd.h>.
10877 (hello_loop): New function.
10878 (main): Call alarm. Call hangout_loop in a loop.
10879 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10880 inferior with the other selected.
10881
4c71c105
SM
108822017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10883
10884 * gdb.mi/list-thread-groups-available.exp: New file.
10885 * gdb.mi/list-thread-groups-available.c: New file.
10886
bc3b087d
SDJ
108872017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10888
10889 * gdb.base/set-cwd.exp: Make it available on
10890 native-extended-gdbserver.
10891
d092c5a2
SDJ
108922017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10893
10894 * gdb.base/set-cwd.c: New file.
10895 * gdb.base/set-cwd.exp: Likewise.
10896
45320ffa
TT
108972017-10-02 Tom Tromey <tom@tromey.com>
10898
10899 PR rust/22236:
10900 * gdb.rust/simple.rs (main): New variable "fslice".
10901 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10902
b3e3859b
TT
109032017-10-02 Tom Tromey <tom@tromey.com>
10904
10905 * gdb.rust/simple.exp: Test ptype of a slice.
10906
01af5e0d
TT
109072017-10-02 Tom Tromey <tom@tromey.com>
10908
10909 * gdb.rust/simple.exp: Test index of slice.
10910
a9bbfbd8
TT
109112017-09-27 Tom Tromey <tom@tromey.com>
10912
10913 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10914
df8899e5
TP
109152017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10916 Pedro Alves <palves@redhat.com>
10917
10918 * gdb.base/compare-sections.exp (get value of read-only section): Read
10919 as unsigned value.
10920 (corrupt read-only section): Likewise and don't set written if patching
10921 failed.
10922
757bf54b
KB
109232017-09-21 Kevin Buettner <kevinb@redhat.com>
10924
10925 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10926 files.
10927
06871ae8
PA
109282017-09-20 Pedro Alves <palves@redhat.com>
10929
10930 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10931 symbol names in gdb's output.
10932 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10933
e5f25bc5
PA
109342017-09-20 Pedro Alves <palves@redhat.com>
10935
10936 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10937 Rename to ...
10938 (test_list_ambiguous_symbol): ... this and add a symbol name
10939 parameter. Adjust.
10940 (test_list_ambiguous_function): Reimplement on top of
10941 test_list_ambiguous_symbol and also test listing ambiguous
10942 variables.
10943 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10944 (ambiguous_fun): ... this.
10945 (ambiguous_var): New.
10946 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10947 (ambiguous_fun): ... this.
10948 (ambiguous_var): New.
10949
4e5a4f58
JB
109502017-09-19 John Baldwin <jhb@FreeBSD.org>
10951
10952 * gdb.base/starti.c: New file.
10953 * gdb.base/starti.exp: New file.
10954 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10955
26e53f3e
PA
109562017-09-14 Pedro Alves <palves@redhat.com>
10957
10958 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10959 (top level): Use it instead of runto.
10960
cb791d59
TT
109612017-09-11 Tom Tromey <tom@tromey.com>
10962
10963 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10964
7c96f8c1
TT
109652017-09-11 Tom Tromey <tom@tromey.com>
10966
10967 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10968 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10969
469412dd
CW
109702017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10971
10972 * gdb.fortran/printing-types.exp: New file.
10973 * gdb.fortran/printing-types.exp: New file.
10974
e0f86435
BH
109752017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10976
10977 * gdb.fortran/vla-ptype.exp: Fix typos.
10978 * gdb.fortran/vla-value.exp: Same.
10979
9e9af4be
BH
109802017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10981
10982 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10983 * gdb.mi/mi-var-child-f.exp: Likewise.
10984 * gdb.mi/mi-vla-fortran.exp: Likewise.
10985
a5ad232b 109862017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10987 Christoph Weinmann <christoph.t.weinmann@intel.com>
10988 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10989
10990 * gdb.fortran/ptr-indentation.f90: New file.
10991 * gdb.fortran/ptr-indentation.exp: New file.
10992
5aec60eb
TT
109932017-09-05 Tom Tromey <tom@tromey.com>
10994
10995 PR gdb/22010:
10996 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10997
8f8f8152
TP
109982017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10999
11000 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11001
fbd1b771
JK
110022017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11003
11004 * gdb.threads/tls-nodebug-pie.c: New file.
11005 * gdb.threads/tls-nodebug-pie.exp: New file.
11006
5eb5f850
TT
110072017-09-05 Tom Tromey <tom@tromey.com>
11008
11009 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11010 for rust.
11011
ae780a21
SM
110122017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11013
11014 * gdb.multi/multi-arch-exec.exp: Test with different
11015 "follow-exec-mode" settings.
11016 (do_test): New procedure.
11017
3693fdb3
PA
110182017-09-04 Pedro Alves <palves@redhat.com>
11019
11020 * gdb.base/func-static.c (S::method const, S::method volatile)
11021 (S::method volatile const): New methods.
11022 (c_s, v_s, cv_s): New instances.
11023 (main): Call method() on them.
11024 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11025 (cannot_resolve): New procedure.
11026 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11027 print-quote-unquoted columns.
11028 (do_test): Test printing each scope too.
11029
e68cb8e0
PA
110302017-09-04 Pedro Alves <palves@redhat.com>
11031
11032 * gdb.base/local-static.exp: Also test with
11033 class::method::variable wholly quoted.
11034 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11035
858be34c
PA
110362017-09-04 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.base/local-static.c: New.
11039 * gdb.base/local-static.cc: New.
11040 * gdb.base/local-static.exp: New.
11041
46a4882b
PA
110422017-09-04 Pedro Alves <palves@redhat.com>
11043
11044 * gdb.asm/asm-source.exp: Add casts to int.
11045 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11046 (dataglobal64_1, dataglobal64_2): New globals.
11047 * gdb.base/nodebug.exp: Test different expressions involving the
11048 new globals, with print, whatis and ptype. Add casts to int.
11049 * gdb.base/solib-display.exp: Add casts to int.
11050 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11051 * gdb.cp/m-static.exp: Add cast to int.
11052 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11053 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11054 tls variable with no debug info without a cast. Test with a cast
11055 to int too.
11056 * gdb.trace/entry-values.exp: Add casts.
11057
2c5a2be1
PA
110582017-09-04 Pedro Alves <palves@redhat.com>
11059
11060 * gdb.base/nodebug.exp: Test that ptype's error about functions
11061 with unknown return type includes the function name too.
11062
7022349d
PA
110632017-09-04 Pedro Alves <palves@redhat.com>
11064
11065 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11066 return type of munmap in infcall.
11067 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11068 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11069 type of ftell in infcall.
11070 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11071 type of getpid in infcall.
11072 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11073 infcall.
11074 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11075 Bail on failure to extract the pid.
11076 * gdb.base/nodebug.c: #include <stdint.h>.
11077 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11078 New functions.
11079 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11080 Change expected output of print/whatis/ptype with functions with
11081 no debug info. Test all supported languages. Call
11082 test_call_promotion.
11083 * gdb.compile/compile.exp: Adjust expected output to expect
11084 warning.
11085 * gdb.threads/siginfo-threads.exp: Likewise.
11086
54990598
PA
110872017-09-04 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11090 "prototypes". Test calling float functions via prototyped and
11091 unprototyped function pointers.
11092 (perform_all_tests): New parameter "prototypes". Pass it down.
11093 (top level): Pass down "prototypes" parameter to
11094 perform_all_tests.
11095
34d16ea2
SM
110962017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11097
11098 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11099 Test with nested loops.
11100
9521ecda
SM
111012017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11102
11103 * gdb.base/commands.exp: Call the new procedures.
11104 (loop_break_test, loop_continue_test): New procedures.
11105
80a65e9b
SM
111062017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11107
11108 * gdb.base/commands.exp: Call new procedure.
11109 (define_if_without_arg_test): New procedure.
11110
e439fa14
PA
111112017-09-04 Pedro Alves <palves@redhat.com>
11112
11113 * gdb.base/list-ambiguous.exp: New file.
11114 * gdb.base/list-ambiguous0.c: New file.
11115 * gdb.base/list-ambiguous1.c: New file.
11116 * gdb.base/list.exp (test_list_range): Adjust expected output.
11117
0a2dde4a
SDJ
111182017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11119
11120 * gdb.base/share-env-with-gdbserver.c: New file.
11121 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11122
5e89eb3a
SM
111232017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11124
11125 * gdb.base/commands.exp (gdbvar_simple_if_test,
11126 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11127 progvar_simple_if_test, progvar_simple_while_test,
11128 progvar_complex_if_while_test, user_defined_command_test,
11129 user_defined_command_args_eval,
11130 user_defined_command_args_stack_test,
11131 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11132 temporary_breakpoint_commands,
11133 gdb_test_no_prompt, redefine_hook_test,
11134 redefine_backtrace_test): Remove "global gdb_prompt".
11135
fd437cbc
SM
111362017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11137
11138 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11139 New proc, call it from toplevel.
11140
87215ad1
SDJ
111412017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11142
11143 PR remote/21852
11144 * gdb.server/normal.c: New file, copied from gdb.base.
11145 * gdb.server/run-without-local-binary.exp: New file.
11146
58afddc6
WP
111472017-08-07 Weimin Pan <weimin.pan@oracle.com>
11148
11149 * gdb.arch/sparc64-adi.exp: New file.
11150 * gdb.arch/sparc64-adi.c: New file.
11151
5277199a
PA
111522017-08-22 Pedro Alves <palves@redhat.com>
11153
11154 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11155 (top level): Add "list all overloads" tests.
11156
14278e1f
TT
111572017-08-22 Tom Tromey <tom@tromey.com>
11158
11159 * gdb.gdb/xfullpath.exp: Remove.
11160
bf223d3e
PA
111612017-08-21 Pedro Alves <palves@redhat.com>
11162
11163 PR gdb/19487
11164 * gdb.base/symbol-alias.c: New.
11165 * gdb.base/symbol-alias2.c: New.
11166 * gdb.base/symbol-alias.exp: New.
11167
c973d0aa
PA
111682017-08-21 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.base/dfp-test.c
11171 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11172 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11173 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11174 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11175 * gdb.base/whatis-ptype-typedefs.c: New.
11176 * gdb.base/whatis-ptype-typedefs.exp: New.
11177 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11178 (an_int, an_int_type, an_int_type2): New globals.
11179 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11180 involving typedefs and cast expressions.
11181 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11182 (lookup_typedefs_function): New.
11183 (typedefs_pretty_printers_dict): New.
11184 (top level): Register lookup_typedefs_function in
11185 gdb.pretty_printers.
11186
6d580b63
YQ
111872017-08-18 Yao Qi <yao.qi@linaro.org>
11188
11189 * gdb.server/unittest.exp: New.
11190
206726fb
SDJ
111912017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11192
11193 PR gdb/21954
11194 * gdb.base/environ.exp: Add test to check if 'unset environment'
11195 works.
11196
bf0ec4c2
AA
111972017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11198
11199 * lib/gdb.exp (universal_compile_options): New caching proc.
11200 (gdb_compile): Suppress GCC's coloring of messages.
11201
d6382fff
TT
112022017-08-14 Tom Tromey <tom@tromey.com>
11203
11204 PR gdb/21675:
11205 * gdb.base/printcmds.exp (test_radices): New function.
11206 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11207 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11208 * lib/gdb.exp (get_integer_valueof): Use p/d.
11209
c2c2dd9f
SM
112102017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11211
11212 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11213 characters.
11214
fdffd6f4
TT
112152017-08-05 Tom Tromey <tom@tromey.com>
11216
11217 * gdb.rust/simple.exp: Allow String to appear in a different
11218 namespace.
11219
27d41eac
YQ
112202017-07-26 Yao Qi <yao.qi@linaro.org>
11221
11222 * gdb.gdb/unittest.exp: Invoke command
11223 "maintenance check xml-descriptions".
11224
031ed05d
AA
112252017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11226
11227 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11228 calling context.
11229 (hex128): Drop erroneous calculation of parameters.
11230
dcd27ddf
SM
112312017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11232
11233 * gdb.python/py-unwind.exp: Disable stack protection when
11234 building test file.
11235
47e77640
PA
112362017-07-20 Pedro Alves <palves@redhat.com>
11237
11238 * gdb.base/default.exp (set language): Adjust expected output.
11239
62d2a18a
PA
112402017-07-20 Pedro Alves <palves@redhat.com>
11241
11242 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11243 (test_minsym): ... this, and make static.
11244 (get_pck__foo__bar__minsym): Rename to ...
11245 (get_test_minsym): ... this.
11246 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11247 symbol names and comments.
11248 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11249 (get_test_minsym): ... this.
11250 (pck__foo__bar__minsym__2): Rename to ...
11251 (test_minsym): ... this.
11252 (main): Adjust.
11253
c45ec17c
PA
112542017-07-17 Pedro Alves <palves@redhat.com>
11255
11256 * gdb.base/completion.exp: Adjust expected output.
11257 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11258 the completer works.
11259
c6756f62
PA
112602017-07-17 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11263
5bd68487
AB
112642017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11265
11266 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11267
8880f2a9
TT
112682017-07-14 Tom Tromey <tom@tromey.com>
11269
11270 PR rust/21764:
11271 * gdb.rust/simple.exp: Add tests.
11272
65547233
TT
112732017-07-14 Tom Tromey <tom@tromey.com>
11274
11275 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11276
8f14146e
PA
112772017-07-14 Pedro Alves <palves@redhat.com>
11278
11279 * gdb.linespec/base/one/thefile.cc (z1): New function.
11280 * gdb.linespec/base/two/thefile.cc (z2): New function.
11281 * gdb.linespec/linespec.exp: Add tests.
11282
b4365d02
AB
112832017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11284
11285 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11286 to mi_create_breakpoint.
11287
5d2cbaa5
AB
112882017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11289
11290 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11291 mi_create_breakpoint.
11292
11cb5716
IB
112932017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11294
11295 * gdb.dlang/demangle.exp: Update for demangling changes.
11296
03278692
TT
112972017-07-09 Tom Tromey <tom@tromey.com>
11298
11299 * gdb.dwarf2/shortpiece.exp: New file.
11300
33c5cd75
DB
113012017-07-06 David Blaikie <dblaikie@gmail.com>
11302
11303 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11304 built from fissiont-multi-cu{1,2}.c.
11305 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11306 except putting 'main' and 'func' in separate CUs in the same DWO file.
11307 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11308 test.
11309 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11310 test.
11311
8455d262
PA
113122017-07-06 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.python/py-unwind.exp: Test flushregs.
11315
dc4bde35
SDJ
113162017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11317
11318 PR cli/21688
11319 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11320 tests for alias commands and trailing whitespace.
11321
51ed89aa
SDJ
113222017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11323
11324 PR cli/21688
11325 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11326 procedure. Call it.
11327
eb17d413
PA
113282017-06-29 Pedro Alves <palves@redhat.com>
11329
11330 * gdb.base/printcmds.exp: Add tests.
11331
41664b45
DG
113322017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11333
11334 PR gdb/21337
11335 * gdb.base/reread-readsym.exp: New file.
11336 * gdb.base/reread-readsym.c: New file.
11337
75312ae3
KB
113382017-06-21 Kevin Buettner <kevinb@redhat.com>
11339
11340 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11341 subpattern.
11342
66953522
PB
113432017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11344
11345 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11346 extended mnemonic.
11347 * gdb.arch/powerpc-power9.s: Likewise.
11348
5524b525
AA
113492017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11350
11351 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11352 on 32-bit x86 targets. Exploit is_*_target macros where
11353 appropriate.
11354
03c8af18
AA
113552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11356
11357 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11358 register pieces.
11359
3bf31011
AA
113602017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11361
11362 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11363 located in one or more DWARF pieces.
11364
805acca0
AA
113652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11366
11367 * lib/gdb.exp (get_endianness): New proc.
11368 * gdb.arch/aarch64-fp.exp: Use it.
11369 * gdb.arch/altivec-regs.exp: Likewise.
11370 * gdb.arch/e500-regs.exp: Likewise.
11371 * gdb.arch/vsx-regs.exp: Likewise.
11372 * gdb.base/dump.exp: Likewise.
11373 * gdb.base/funcargs.exp: Likewise.
11374 * gdb.base/gnu_vector.exp: Likewise.
11375 * gdb.dwarf2/formdata16.exp: Likewise.
11376 * gdb.dwarf2/implptrpiece.exp: Likewise.
11377 * gdb.dwarf2/nonvar-access.exp: Likewise.
11378 * gdb.python/py-inferior.exp: Likewise.
11379 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11380
e9352324
AA
113812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11382
11383 PR gdb/21226
11384 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11385 stack value pieces are taken from the LSB end.
11386
d5d1163e
AA
113872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11388
11389 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11390 variable at nonzero offset.
11391
0567c986
AA
113922017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11393
11394 * gdb.dwarf2/var-access.c: New file.
11395 * gdb.dwarf2/var-access.exp: New test.
11396 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11397
973e9aab
TT
113982017-06-12 Tom Tromey <tom@tromey.com>
11399
11400 * gdb.dwarf2/formdata16.exp: Add tests.
11401
d9109c80
TT
114022017-06-12 Tom Tromey <tom@tromey.com>
11403
11404 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11405
30a25466
TT
114062017-06-12 Tom Tromey <tom@tromey.com>
11407
11408 PR exp/16225:
11409 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11410 * gdb.arch/vsx-regs.exp: Update tests.
11411 * gdb.arch/s390-vregs.exp (hex128): New proc.
11412 Update test.
11413 * gdb.arch/altivec-regs.exp: Update tests.
11414
aefd8b33
SDJ
114152017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11416
11417 * gdb.base/startup-with-shell.c: New file.
11418 * gdb.base/startup-with-shell.exp: Likewise.
11419
2090129c
SDJ
114202017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11421
11422 * gdb.server/non-existing-program.exp: Update regex in order to
11423 reflect the fact that gdbserver is now using fork_inferior (with a
11424 shell) to startup the inferior.
11425
8e86a419
SM
114262017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11427
11428 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11429 support function calls from GDB.
11430
e6cf65f2
TT
114312017-05-21 Tom Tromey <tom@tromey.com>
11432
11433 PR rust/21466:
11434 * gdb.rust/unsized.exp: New file.
11435 * gdb.rust/unsized.rs: New file.
11436
43cc5389
TT
114372017-05-19 Tom Tromey <tom@tromey.com>
11438
11439 PR rust/21484:
11440 * gdb.rust/watch.exp: New file.
11441 * gdb.rust/watch.rs: New file.
11442
ec8df234
TT
114432017-05-18 Tom Tromey <tom@tromey.com>
11444
11445 * gdb.rust/simple.exp: Allow Box to be qualified.
11446
3e3e7fae
TP
114472017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11448
11449 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11450
59cc050d
PA
114512017-05-18 Pedro Alves <palves@redhat.com>
11452
11453 * gdb.base/fileio.c (test_write, test_read, test_close)
11454 (test_fstat): Don't print 'ret' in the fail path.
11455
c8f6abd1
PA
114562017-05-18 Pedro Alves <palves@redhat.com>
11457
11458 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11459 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11460 (test_system, test_rename, test_unlink, test_time): Change
11461 prototypes.
11462 * gdb.base/fileio.exp (stop_msg): Adjust.
11463
d2a03b77
PA
114642017-05-18 Pedro Alves <palves@redhat.com>
11465
11466 * gdb.base/fileio.c (null_str): New global.
11467 (test_stat): Use it.
11468 * gdb.base/fileio.exp: Remove nowarnings.
11469
0d5c6999
YQ
114702017-05-17 Yao Qi <yao.qi@linaro.org>
11471
11472 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11473
21873064
YQ
114742017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11475
11476 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11477 argument command.
11478 (top-level): Invoke test_set_inferior_tty.
11479
d512d31c
PA
114802017-05-04 Pedro Alves <palves@redhat.com>
11481
11482 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11483 Add parens to print call for Python 3.
11484
90cef2ed
KS
114852017-05-03 Keith Seitz <keiths@redhat.com>
11486
11487 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11488 (main): Call it.
11489
14f819c8
TW
114902017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11491
11492 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11493 to prev and next.
11494
913aeadd
TW
114952017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11496
11497 * gdb.python/py-record-btrace.exp: Remove test for
11498 gdb.BtraceInstruction.error.
11499
a3be24ad
TW
115002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11501
11502 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11503
ae20e79a
TW
115042017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11505
11506 * gdb.python/py-record-btrace-threads.c: New file.
11507 * gdb.python/py-record-btrace-threads.exp: New file.
11508
45ce1b47
SDJ
115092017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11510
11511 PR testsuite/8595
11512 * gdb.base/environ.exp: Make test available in all architectures.
11513 Move bits related to "info program" testing to
11514 gdb.base/info-program.exp. Rewrite tests to use the two new
11515 procedures mentione below.
11516 (test_set_show_env_var) New procedure.
11517 (test_set_show_env_var_equal): Likewise.
11518 * gdb.base/info-program.exp: New file.
11519
e15c3eb4
KS
115202017-04-27 Keith Seitz <keiths@redhat.com>
11521
11522 * gdb.cp/oranking.cc (test15): New function.
11523 (main): Call test15 and declare additional variables for testing.
11524 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11525 "p foo101('abc')" tests.
11526 Add tests for cv qualifier overloads.
11527 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11528 "lvalue reference overload" test.
11529 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11530 "print value of f1 on Child&& in f2" test.
11531
3a3fd0fd
PA
115322017-04-19 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11535 procedure.
11536 (top level): Call it.
11537 * lib/gdb.exp (gdb_define_cmd): New procedure.
11538
53375380
PA
115392017-04-12 Pedro Alves <palves@redhat.com>
11540
11541 PR gdb/21323
11542 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11543 (wchar): New global.
11544 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11545 (do_test_wide_char, wide_char_types_no_program, top level): Add
11546 wchar_t testing.
11547
53e710ac
PA
115482017-04-12 Pedro Alves <palves@redhat.com>
11549
11550 PR c++/21323
11551 * gdb.cp/wide_char_types.c: New file.
11552 * gdb.cp/wide_char_types.exp: New file.
11553
0ad9d8c7
SDJ
115542017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11555
11556 PR gdb/21352
11557 * gdb.trace/tsv.exp: Add test for "tsave -r".
11558
b1b45502
IB
115592017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11560
11561 * gdb.dlang/watch-loc.c: New file.
11562 * gdb.dlang/watch-loc.exp: New file.
11563
ec13808e
JK
115642017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11565
11566 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11567
fe5f7374
AK
115682017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11569
11570 * gdb.arch/arc-analyze-prologue.S: New file.
11571 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11572
eea78757
AK
115732017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11574
11575 * gdb.arch/arc-decode-insn.S: New file.
11576 * gdb.arch/arc-decode-insn.exp: Likewise.
11577
5badf10a
IR
115782017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11579
11580 PR tdep/20928
11581 * gdb.arch/sparc64-regs.exp: New file.
11582 * gdb.arch/sparc64-regs.S: Likewise.
11583
cee59b3f
TW
115842017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11585
11586 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11587 and memory view on Python 3.
11588
c0f55cc6
AV
115892017-03-20 Artemiy Volkov <artemiyv@acm.org>
11590 Keith Seitz <keiths@redhat.com>
11591
11592 PR gdb/14441
11593 * gdb.cp/demangle.exp: Add rvalue reference tests.
11594 * gdb.cp/rvalue-ref-casts.cc: New file.
11595 * gdb.cp/rvalue-ref-casts.exp: New file.
11596 * gdb.cp/rvalue-ref-overload.cc: New file.
11597 * gdb.cp/rvalue-ref-overload.exp: New file.
11598 * gdb.cp/rvalue-ref-params.cc: New file.
11599 * gdb.cp/rvalue-ref-params.exp: New file.
11600 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11601 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11602 * gdb.cp/rvalue-ref-types.cc: New file.
11603 * gdb.cp/rvalue-ref-types.exp: New file.
11604 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11605 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11606
51457a05
MAL
116072017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11608
11609 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11610 New procedure.
11611
5b291c04
MAL
116122017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11613
11614 * lib/mi-support.exp (mi_gdb_test): Add additional message
11615 for unexpected output.
11616
59a56148
AA
116172017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11618
11619 * gdb.base/examine-backward.c (Barrier): New character array
11620 constant, to ensure that TestStrings is preceded by a string
11621 terminator.
11622
7942e96e
AA
116232017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11624
11625 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11626 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11627 and implicit pointer into such a location.
11628
6ebac3fb
DE
116292017-03-16 Doug Evans <dje@google.com>
11630
11631 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11632
ec3b243d
TP
116332017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11634
11635 * gdb.cp/m-static.exp: Fix expectation for prototype of
11636 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11637
116382017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11639
11640 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11641 * gdb.guile/scm-lazy-string.c: New file.
11642 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11643 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11644 for pointer, array, typedef lazy strings.
11645
2cc36e25 116462017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11647
11648 PR python/17728, python/18439, python/18779
11649 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11650 * gdb.python/py-lazy-string.c (pointer): New typedef.
11651 (main): New locals ptr, array, typedef_ptr.
11652 * gdb.python/py-value.exp: Move lazy string tests to ...
11653 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11654 array, typedef lazy strings.
ec3b243d 11655
0efcde63
AK
116562017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11657
11658 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11659 Add optional 'test' parameter.
11660
7978d7c3
SM
116612017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11662
11663 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11664 Skip for versions of DejaGnu < 1.5.
11665
896c0c1e
SM
116662017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11667
11668 * lib/gdb.exp (dejagnu_version): New proc.
11669 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11670 Use dejagnu_version.
11671
5f4d1085
KS
116722017-03-10 Keith Seitz <keiths@redhat.com>
11673
11674 PR c++/8128
11675 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11676 type from destructor regexps.
11677 Add a branch which actually passes the test.
11678 Adjust "ptype t5i" test names.
11679
1de05205
PA
116802017-03-08 Pedro Alves <palves@redhat.com>
11681
11682 * gdb.base/step-over-exit.exp: Add explicit test message.
11683
c65d6b55
PA
116842017-03-08 Pedro Alves <palves@redhat.com>
11685
11686 PR gdb/18360
11687 * gdb.threads/interrupt-while-step-over.c: New file.
11688 * gdb.threads/interrupt-while-step-over.exp: New file.
11689
2e86a283
PA
116902017-03-08 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11693 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11694
25dcbff6
PA
116952017-03-08 Pedro Alves <palves@redhat.com>
11696
11697 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11698 PKRU as not supported as a PASS.
11699
dc9366eb
PA
117002017-03-08 Pedro Alves <palves@redhat.com>
11701
11702 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11703 prefix instead of $binfile1/$binfile2.
11704 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11705 in test message.
11706 * gdb.python/py-completion.exp: Use "load python file" as test
11707 messages instead of unstable path names.
11708
6e5d74e7
PA
117092017-03-08 Pedro Alves <palves@redhat.com>
11710 Jan Kratochvil <jan.kratochvil@redhat.com>
11711
11712 PR cli/21218
11713 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11714 New proc.
11715 (top level): Call it.
11716
9753a2f6
PA
117172017-03-08 Pedro Alves <palves@redhat.com>
11718
11719 PR tui/21216
11720 * gdb.tui/tui-nl-filtered-output.exp: New file.
11721
1a4dd9dd
PA
117222017-03-08 Pedro Alves <palves@redhat.com>
11723
11724 * gdb.base/completion.exp: Move TUI completion tests to ...
11725 * gdb.tui/completion.exp: ... this new file.
11726
7cbbff33
PA
117272017-03-08 Pedro Alves <palves@redhat.com>
11728
11729 * gdb.base/tui-disasm-long-lines.c,
11730 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11731 gdb.base/tui-layout.exp: Move to ...
11732 * gdb.tui/: ... this new directory.
11733
5f6fd321
PA
117342017-03-07 Pedro Alves <palves@redhat.com>
11735
11736 * gdb.base/tui-layout.c: New file.
11737 * gdb.base/tui-layout.exp: New file.
11738
44959fa8
PA
117392017-03-07 Pedro Alves <palves@redhat.com>
11740
11741 * gdb.base/tui-layout.c: Rename to ...
11742 * gdb.base/tui-disasm-long-lines.c: ... this.
11743 * gdb.base/tui-layout.exp: Rename to ...
11744 * gdb.base/tui-disasm-long-lines.exp: ... this.
11745
f8c4e718
PA
117462017-03-07 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11749
6dbb839a 117502017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11751
11752 * i386-mpx-call.c: New file.
11753 * i386-mpx-call.exp: New file.
11754
65b48a81
PB
117552017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11756
11757 * gdb.arch/powerpc-power.exp: Delete test.
11758 * gdb.arch/powerpc-power.s: Likewise.
11759 * gdb.disasm/disassembler-options.exp: New test.
11760 * gdb.arch/powerpc-altivec.exp: Likewise.
11761 * gdb.arch/powerpc-altivec.s: Likewise.
11762 * gdb.arch/powerpc-altivec2.exp: Likewise.
11763 * gdb.arch/powerpc-altivec2.s: Likewise.
11764 * gdb.arch/powerpc-altivec3.exp: Likewise.
11765 * gdb.arch/powerpc-altivec3.s: Likewise.
11766 * gdb.arch/powerpc-power7.exp: Likewise.
11767 * gdb.arch/powerpc-power7.s: Likewise.
11768 * gdb.arch/powerpc-power8.exp: Likewise.
11769 * gdb.arch/powerpc-power8.s: Likewise.
11770 * gdb.arch/powerpc-power9.exp: Likewise.
11771 * gdb.arch/powerpc-power9.s: Likewise.
11772 * gdb.arch/powerpc-vsx.exp: Likewise.
11773 * gdb.arch/powerpc-vsx.s: Likewise.
11774 * gdb.arch/powerpc-vsx2.exp: Likewise.
11775 * gdb.arch/powerpc-vsx2.s: Likewise.
11776 * gdb.arch/powerpc-vsx3.exp: Likewise.
11777 * gdb.arch/powerpc-vsx3.s: Likewise.
11778 * gdb.arch/arm-disassembler-options.exp: Likewise.
11779 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11780 * gdb.arch/s390-disassembler-options.exp: Likewise.
11781
17cd4947
LM
117822017-02-23 Luis Machado <lgustavo@codesourcery.com>
11783
11784 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11785 (check_supported_features): ... this. Changed return type to void.
11786 (supports_rdseed): New static global.
11787 (rdseed): Check supports_rdseed.
11788 (initialize): Call check_supported_features.
11789
2039d74e
EBM
117902017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11791
11792 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11793 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11794 and lqarx/stqcx.
11795 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11796 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11797
a51d7ecf
EBM
117982017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11799
11800 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11801 uppercase.
11802
0224619f
JK
118032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11804
11805 * gdb.dwarf2/formdata16.c: New file.
11806 * gdb.dwarf2/formdata16.exp: New file.
11807 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11808
216f72a1
JK
118092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11810
11811 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11812 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11813 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11814 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11815 DW_AT_GNU_*.
11816
43988095
JK
118172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11818
11819 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11820
99e8a4f9
SDJ
118212017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11822
11823 PR gdb/21164
11824 * gdb.base/maint.exp: Add testcases for when the commands do
11825 not have arguments.
11826
b58a8c0c
TP
118272017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11828
11829 * gdb.cp/chained-calls.exp: Use p instead of P.
11830
4e746bb6
TW
118312017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11832
11833 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11834 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11835
3f77c769
TT
118362017-02-14 Tom Tromey <tom@tromey.com>
11837
11838 PR python/13598:
11839 * gdb.python/py-events.exp: Add before_prompt event tests.
11840
075beec0
AA
118412017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11842
11843 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11844
bf5f525c
LM
118452017-02-13 Luis Machado <lgustavo@codesourcery.com>
11846
11847 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11848 (main): Call my_unique_function_name.
11849 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11850 completion of patterns with a single match.
11851 Add missing -re switches to gdb_test_multiple calls.
11852
13a66184
LM
118532017-02-13 Luis Machado <lgustavo@codesourcery.com>
11854
11855 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11856 return if core file is not recognized.
11857
26a06916
SM
118582017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11859
11860 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11861 and extra UIs.
11862
b761ca9e
SM
118632017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11864
11865 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11866 proc_with_prefix.
11867
b964bee0
TT
118682017-02-10 Tom Tromey <tom@tromey.com>
11869
11870 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11871
18da0c51
MG
118722017-02-10 Martin Galvan <martingalvan@sourceware.org>
11873
11874 PR gdb/21122
11875 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11876
604c4576
JG
118772017-02-08 Jerome Guitton <guitton@adacore.com>
11878
11879 * gdb.base/define.exp: Add test for command abbreviations
11880 in define.
11881
20b477a7
LM
118822017-02-06 Luis Machado <lgustavo@codesourcery.com>
11883
11884 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11885 * gdb.reverse/insn-reverse-x86.c: New file.
11886
3f7b46f2
IR
118872017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11888
11889 PR tdep/20936
11890 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11891
f0fd41c1
TT
118922017-02-03 Tom Tromey <tom@tromey.com>
11893
11894 PR rust/21097:
11895 * gdb.rust/simple.exp: Add new tests.
11896
5be5dbf0
PA
118972017-02-02 Pedro Alves <palves@redhat.com>
11898
11899 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11900 tests.
11901
7346ef59
AA
119022017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11903
11904 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11905 taking a 2-byte value out of a 4-byte DWARF implicit value on
11906 big-endian targets.
11907 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11908 logic. Add test cases for DW_OP_implicit.
11909
787f0025
MM
119102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11911
11912 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11913
68777c29
MM
119142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11915
11916 * gdb.btrace/enable.exp: Call gdb_exit before
11917 skip_gdbserver_tests.
11918
0a1c7e28
MM
119192017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11920
11921 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11922 GDBFLAGS.
11923
b5ac99b0
MM
119242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11925
11926 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11927 the test is skipped.
11928 * gdb.btrace/data.exp: Likewise.
11929 * gdb.btrace/delta.exp: Likewise.
11930 * gdb.btrace/dlopen.exp: Likewise.
11931 * gdb.btrace/enable-running.exp: Likewise.
11932 * gdb.btrace/enable.exp: Likewise.
11933 * gdb.btrace/exception.exp: Likewise.
11934 * gdb.btrace/function_call_history.exp: Likewise.
11935 * gdb.btrace/gcore.exp: Likewise.
11936 * gdb.btrace/instruction_history.exp: Likewise.
11937 * gdb.btrace/multi-thread-step.exp: Likewise.
11938 * gdb.btrace/nohist.exp: Likewise.
11939 * gdb.btrace/non-stop.exp: Likewise.
11940 * gdb.btrace/reconnect.exp: Likewise.
11941 * gdb.btrace/record_goto-step.exp: Likewise.
11942 * gdb.btrace/record_goto.exp: Likewise.
11943 * gdb.btrace/rn-dl-bind.exp: Likewise.
11944 * gdb.btrace/segv.exp: Likewise.
11945 * gdb.btrace/step.exp: Likewise.
11946 * gdb.btrace/stepi.exp: Likewise.
11947 * gdb.btrace/tailcall-only.exp: Likewise.
11948 * gdb.btrace/tailcall.exp: Likewise.
11949 * gdb.btrace/tsx.exp: Likewise.
11950 * gdb.btrace/unknown_functions.exp: Likewise.
11951 * gdb.btrace/vdso.exp: Likewise.
11952
cd4007e4
MM
119532017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11954
11955 * gdb.btrace/enable-running.c: New.
11956 * gdb.btrace/enable-running.exp: New.
11957
2735833d
WT
119582017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11959
11960 * gdb.arch/amd64-gs_base.c: New file.
11961 * gdb.arch/amd64-gs_base.exp: New file.
11962
b51e1e94
LM
119632017-01-26 Luis Machado <lgustavo@codesourcery.com>
11964
11965 * lib/memory.exp: Remove spurious empty newlines.
11966
72ca0410
SM
119672017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11968
11969 * gdb.python/py-bad-printers.exp: Load python file using "source".
11970 * gdb.python/py-events.exp: Likewise.
11971 * gdb.python/py-evsignal.exp: Likewise.
11972 * gdb.python/py-evthreads.exp: Likewise.
11973 * gdb.python/py-frame-args.exp: Likewise.
11974 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11975 * gdb.python/py-framefilter-mi.exp: Likewise.
11976 * gdb.python/py-framefilter.exp: Likewise.
11977 * gdb.python/py-mi.exp: Likewise.
11978 * gdb.python/py-pp-maint.exp: Likewise.
11979 * gdb.python/py-pp-registration.exp: Likewise.
11980 * gdb.python/py-prettyprint.exp: Likewise.
11981 (run_lang_tests): Likewise.
11982 * gdb.python/py-typeprint.exp: Likewise.
11983
e309aa65
LM
119842017-01-26 Luis Machado <lgustavo@codesourcery.com>
11985
11986 * lib/memory.exp: New file.
11987 * lib/gdb.exp: Load memory.exp.
11988 * gdb.base/memattr.exp (delete_memory): Move proc to
11989 lib/memory.exp and rename to delete_memory_regions.
11990 Replace delete_memory with delete_memory_regions.
11991 Cleanup memory regions before tests.
11992 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11993 before tests.
11994
515aff23
LM
119952017-01-26 Luis Machado <lgustavo@codesourcery.com>
11996
11997 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11998 files.
11999 (initialize): New function conditionally defined.
12000 (testcases): Move within conditional block.
12001 (main): Call initialize.
12002 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12003 of gdb.reverse/insn-reverse.c.
12004 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12005 gdb.reverse/insn-reverse.c.
12006
d8b49cf0
YQ
120072017-01-26 Yao Qi <yao.qi@linaro.org>
12008
12009 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12010 disassemble on address 0.
12011
f13a9a0c
YQ
120122017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12013 Yao Qi <yao.qi@linaro.org>
12014
12015 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12016 * gdb.dwarf2/implptr-64bit.S: Remove.
12017 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12018 variables in caller's context. Add DW_OP_implicit_value.
12019
5ac95241
YQ
120202017-01-25 Yao Qi <yao.qi@linaro.org>
12021
12022 * lib/dwarf.exp (Dwarf::_location): Handle
12023 DW_OP_GNU_implicit_pointer with proper size.
12024
23e82930
LM
120252017-01-20 Luis Machado <lgustavo@codesourcery.com>
12026
12027 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12028 and add untested calls.
12029
d334ae25
LM
120302017-01-20 Luis Machado <lgustavo@codesourcery.com>
12031
12032 * gdb.python/python.exp: Check line number against what GDB thinks
12033 the line number is for func1.
12034
f5e6296e
IB
120352017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12036
12037 * gdb.dlang/debug-expr.exp: New file.
12038
5b362f04
LM
120392016-12-23 Luis Machado <lgustavo@codesourcery.com>
12040
12041 Fix test names for the following files:
12042
12043 * gdb.ada/exec_changed.exp
12044 * gdb.ada/info_types.exp
12045 * gdb.arch/aarch64-atomic-inst.exp
12046 * gdb.arch/aarch64-fp.exp
12047 * gdb.arch/altivec-abi.exp
12048 * gdb.arch/altivec-regs.exp
12049 * gdb.arch/amd64-byte.exp
12050 * gdb.arch/amd64-disp-step.exp
12051 * gdb.arch/amd64-dword.exp
12052 * gdb.arch/amd64-entry-value-inline.exp
12053 * gdb.arch/amd64-entry-value-param.exp
12054 * gdb.arch/amd64-entry-value-paramref.exp
12055 * gdb.arch/amd64-entry-value.exp
12056 * gdb.arch/amd64-i386-address.exp
12057 * gdb.arch/amd64-invalid-stack-middle.exp
12058 * gdb.arch/amd64-invalid-stack-top.exp
12059 * gdb.arch/amd64-optimout-repeat.exp
12060 * gdb.arch/amd64-prologue-skip.exp
12061 * gdb.arch/amd64-prologue-xmm.exp
12062 * gdb.arch/amd64-stap-special-operands.exp
12063 * gdb.arch/amd64-stap-wrong-subexp.exp
12064 * gdb.arch/amd64-tailcall-cxx.exp
12065 * gdb.arch/amd64-tailcall-noret.exp
12066 * gdb.arch/amd64-tailcall-ret.exp
12067 * gdb.arch/amd64-tailcall-self.exp
12068 * gdb.arch/amd64-word.exp
12069 * gdb.arch/arm-bl-branch-dest.exp
12070 * gdb.arch/arm-disp-step.exp
12071 * gdb.arch/arm-neon.exp
12072 * gdb.arch/arm-single-step-kernel-helper.exp
12073 * gdb.arch/avr-flash-qualifier.exp
12074 * gdb.arch/disp-step-insn-reloc.exp
12075 * gdb.arch/e500-abi.exp
12076 * gdb.arch/e500-regs.exp
12077 * gdb.arch/ftrace-insn-reloc.exp
12078 * gdb.arch/i386-avx512.exp
12079 * gdb.arch/i386-bp_permanent.exp
12080 * gdb.arch/i386-byte.exp
12081 * gdb.arch/i386-cfi-notcurrent.exp
12082 * gdb.arch/i386-disp-step.exp
12083 * gdb.arch/i386-dr3-watch.exp
12084 * gdb.arch/i386-float.exp
12085 * gdb.arch/i386-gnu-cfi.exp
12086 * gdb.arch/i386-mpx-map.exp
12087 * gdb.arch/i386-mpx-sigsegv.exp
12088 * gdb.arch/i386-mpx-simple_segv.exp
12089 * gdb.arch/i386-mpx.exp
12090 * gdb.arch/i386-permbkpt.exp
12091 * gdb.arch/i386-prologue.exp
12092 * gdb.arch/i386-signal.exp
12093 * gdb.arch/i386-size-overlap.exp
12094 * gdb.arch/i386-unwind.exp
12095 * gdb.arch/i386-word.exp
12096 * gdb.arch/mips-fcr.exp
12097 * gdb.arch/powerpc-d128-regs.exp
12098 * gdb.arch/powerpc-stackless.exp
12099 * gdb.arch/ppc64-atomic-inst.exp
12100 * gdb.arch/s390-stackless.exp
12101 * gdb.arch/s390-tdbregs.exp
12102 * gdb.arch/s390-vregs.exp
12103 * gdb.arch/sparc-sysstep.exp
12104 * gdb.arch/thumb-bx-pc.exp
12105 * gdb.arch/thumb-singlestep.exp
12106 * gdb.arch/thumb2-it.exp
12107 * gdb.arch/vsx-regs.exp
12108 * gdb.asm/asm-source.exp
12109 * gdb.base/a2-run.exp
12110 * gdb.base/advance.exp
12111 * gdb.base/all-bin.exp
12112 * gdb.base/anon.exp
12113 * gdb.base/args.exp
12114 * gdb.base/arithmet.exp
12115 * gdb.base/async-shell.exp
12116 * gdb.base/async.exp
12117 * gdb.base/attach-pie-noexec.exp
12118 * gdb.base/attach-twice.exp
12119 * gdb.base/auto-load.exp
12120 * gdb.base/bang.exp
12121 * gdb.base/bitfields.exp
12122 * gdb.base/break-always.exp
12123 * gdb.base/break-caller-line.exp
12124 * gdb.base/break-entry.exp
12125 * gdb.base/break-inline.exp
12126 * gdb.base/break-on-linker-gcd-function.exp
12127 * gdb.base/break-probes.exp
12128 * gdb.base/break.exp
12129 * gdb.base/breakpoint-shadow.exp
12130 * gdb.base/call-ar-st.exp
12131 * gdb.base/call-sc.exp
12132 * gdb.base/call-signal-resume.exp
12133 * gdb.base/call-strs.exp
12134 * gdb.base/callfuncs.exp
12135 * gdb.base/catch-fork-static.exp
12136 * gdb.base/catch-gdb-caused-signals.exp
12137 * gdb.base/catch-load.exp
12138 * gdb.base/catch-signal-fork.exp
12139 * gdb.base/catch-signal.exp
12140 * gdb.base/catch-syscall.exp
12141 * gdb.base/charset.exp
12142 * gdb.base/checkpoint.exp
12143 * gdb.base/chng-syms.exp
12144 * gdb.base/code-expr.exp
12145 * gdb.base/code_elim.exp
12146 * gdb.base/commands.exp
12147 * gdb.base/completion.exp
12148 * gdb.base/complex.exp
12149 * gdb.base/cond-expr.exp
12150 * gdb.base/condbreak.exp
12151 * gdb.base/consecutive.exp
12152 * gdb.base/continue-all-already-running.exp
12153 * gdb.base/coredump-filter.exp
12154 * gdb.base/corefile.exp
12155 * gdb.base/dbx.exp
12156 * gdb.base/debug-expr.exp
12157 * gdb.base/define.exp
12158 * gdb.base/del.exp
12159 * gdb.base/disabled-location.exp
12160 * gdb.base/disasm-end-cu.exp
12161 * gdb.base/disasm-optim.exp
12162 * gdb.base/display.exp
12163 * gdb.base/duplicate-bp.exp
12164 * gdb.base/ena-dis-br.exp
12165 * gdb.base/ending-run.exp
12166 * gdb.base/enumval.exp
12167 * gdb.base/environ.exp
12168 * gdb.base/eu-strip-infcall.exp
12169 * gdb.base/eval-avoid-side-effects.exp
12170 * gdb.base/eval-skip.exp
12171 * gdb.base/exitsignal.exp
12172 * gdb.base/expand-psymtabs.exp
12173 * gdb.base/filesym.exp
12174 * gdb.base/find-unmapped.exp
12175 * gdb.base/finish.exp
12176 * gdb.base/float.exp
12177 * gdb.base/foll-exec-mode.exp
12178 * gdb.base/foll-exec.exp
12179 * gdb.base/foll-fork.exp
12180 * gdb.base/fortran-sym-case.exp
12181 * gdb.base/freebpcmd.exp
12182 * gdb.base/func-ptr.exp
12183 * gdb.base/func-ptrs.exp
12184 * gdb.base/funcargs.exp
12185 * gdb.base/gcore-buffer-overflow.exp
12186 * gdb.base/gcore-relro-pie.exp
12187 * gdb.base/gcore-relro.exp
12188 * gdb.base/gcore.exp
12189 * gdb.base/gdb1090.exp
12190 * gdb.base/gdb11530.exp
12191 * gdb.base/gdb11531.exp
12192 * gdb.base/gdb1821.exp
12193 * gdb.base/gdbindex-stabs.exp
12194 * gdb.base/gdbvars.exp
12195 * gdb.base/hbreak.exp
12196 * gdb.base/hbreak2.exp
12197 * gdb.base/included.exp
12198 * gdb.base/infcall-input.exp
12199 * gdb.base/inferior-died.exp
12200 * gdb.base/infnan.exp
12201 * gdb.base/info-macros.exp
12202 * gdb.base/info-os.exp
12203 * gdb.base/info-proc.exp
12204 * gdb.base/info-shared.exp
12205 * gdb.base/info-target.exp
12206 * gdb.base/infoline.exp
12207 * gdb.base/interp.exp
12208 * gdb.base/interrupt.exp
12209 * gdb.base/jit-reader.exp
12210 * gdb.base/jit-simple.exp
12211 * gdb.base/kill-after-signal.exp
12212 * gdb.base/kill-detach-inferiors-cmd.exp
12213 * gdb.base/label.exp
12214 * gdb.base/langs.exp
12215 * gdb.base/ldbl_e308.exp
12216 * gdb.base/line-symtabs.exp
12217 * gdb.base/linespecs.exp
12218 * gdb.base/list.exp
12219 * gdb.base/long_long.exp
12220 * gdb.base/longest-types.exp
12221 * gdb.base/maint.exp
12222 * gdb.base/max-value-size.exp
12223 * gdb.base/memattr.exp
12224 * gdb.base/mips_pro.exp
12225 * gdb.base/morestack.exp
12226 * gdb.base/moribund-step.exp
12227 * gdb.base/multi-forks.exp
12228 * gdb.base/nested-addr.exp
12229 * gdb.base/nextoverexit.exp
12230 * gdb.base/noreturn-finish.exp
12231 * gdb.base/noreturn-return.exp
12232 * gdb.base/nostdlib.exp
12233 * gdb.base/offsets.exp
12234 * gdb.base/opaque.exp
12235 * gdb.base/pc-fp.exp
12236 * gdb.base/permissions.exp
12237 * gdb.base/print-symbol-loading.exp
12238 * gdb.base/prologue-include.exp
12239 * gdb.base/psymtab.exp
12240 * gdb.base/ptype.exp
12241 * gdb.base/random-signal.exp
12242 * gdb.base/randomize.exp
12243 * gdb.base/range-stepping.exp
12244 * gdb.base/readline-ask.exp
12245 * gdb.base/recpar.exp
12246 * gdb.base/recurse.exp
12247 * gdb.base/relational.exp
12248 * gdb.base/restore.exp
12249 * gdb.base/return-nodebug.exp
12250 * gdb.base/return.exp
12251 * gdb.base/run-after-attach.exp
12252 * gdb.base/save-bp.exp
12253 * gdb.base/scope.exp
12254 * gdb.base/sect-cmd.exp
12255 * gdb.base/set-lang-auto.exp
12256 * gdb.base/set-noassign.exp
12257 * gdb.base/setvar.exp
12258 * gdb.base/sigall.exp
12259 * gdb.base/sigbpt.exp
12260 * gdb.base/siginfo-addr.exp
12261 * gdb.base/siginfo-infcall.exp
12262 * gdb.base/siginfo-obj.exp
12263 * gdb.base/siginfo.exp
12264 * gdb.base/signals-state-child.exp
12265 * gdb.base/signest.exp
12266 * gdb.base/sigstep.exp
12267 * gdb.base/sizeof.exp
12268 * gdb.base/skip.exp
12269 * gdb.base/solib-corrupted.exp
12270 * gdb.base/solib-nodir.exp
12271 * gdb.base/solib-search.exp
12272 * gdb.base/stack-checking.exp
12273 * gdb.base/stale-infcall.exp
12274 * gdb.base/stap-probe.exp
12275 * gdb.base/start.exp
12276 * gdb.base/step-break.exp
12277 * gdb.base/step-bt.exp
12278 * gdb.base/step-line.exp
12279 * gdb.base/step-over-exit.exp
12280 * gdb.base/step-over-syscall.exp
12281 * gdb.base/step-resume-infcall.exp
12282 * gdb.base/step-test.exp
12283 * gdb.base/store.exp
12284 * gdb.base/structs3.exp
12285 * gdb.base/sym-file.exp
12286 * gdb.base/symbol-without-target_section.exp
12287 * gdb.base/term.exp
12288 * gdb.base/testenv.exp
12289 * gdb.base/ui-redirect.exp
12290 * gdb.base/until.exp
12291 * gdb.base/unwindonsignal.exp
12292 * gdb.base/value-double-free.exp
12293 * gdb.base/vla-datatypes.exp
12294 * gdb.base/vla-ptr.exp
12295 * gdb.base/vla-sideeffect.exp
12296 * gdb.base/volatile.exp
12297 * gdb.base/watch-cond-infcall.exp
12298 * gdb.base/watch-cond.exp
12299 * gdb.base/watch-non-mem.exp
12300 * gdb.base/watch-read.exp
12301 * gdb.base/watch-vfork.exp
12302 * gdb.base/watchpoint-cond-gone.exp
12303 * gdb.base/watchpoint-delete.exp
12304 * gdb.base/watchpoint-hw-hit-once.exp
12305 * gdb.base/watchpoint-hw.exp
12306 * gdb.base/watchpoint-stops-at-right-insn.exp
12307 * gdb.base/watchpoints.exp
12308 * gdb.base/wchar.exp
12309 * gdb.base/whatis-exp.exp
12310 * gdb.btrace/buffer-size.exp
12311 * gdb.btrace/data.exp
12312 * gdb.btrace/delta.exp
12313 * gdb.btrace/dlopen.exp
12314 * gdb.btrace/enable.exp
12315 * gdb.btrace/exception.exp
12316 * gdb.btrace/function_call_history.exp
12317 * gdb.btrace/gcore.exp
12318 * gdb.btrace/instruction_history.exp
12319 * gdb.btrace/nohist.exp
12320 * gdb.btrace/reconnect.exp
12321 * gdb.btrace/record_goto-step.exp
12322 * gdb.btrace/record_goto.exp
12323 * gdb.btrace/rn-dl-bind.exp
12324 * gdb.btrace/segv.exp
12325 * gdb.btrace/step.exp
12326 * gdb.btrace/stepi.exp
12327 * gdb.btrace/tailcall-only.exp
12328 * gdb.btrace/tailcall.exp
12329 * gdb.btrace/tsx.exp
12330 * gdb.btrace/unknown_functions.exp
12331 * gdb.btrace/vdso.exp
12332 * gdb.compile/compile-ifunc.exp
12333 * gdb.compile/compile-ops.exp
12334 * gdb.compile/compile-print.exp
12335 * gdb.compile/compile-setjmp.exp
12336 * gdb.cp/abstract-origin.exp
12337 * gdb.cp/ambiguous.exp
12338 * gdb.cp/annota2.exp
12339 * gdb.cp/annota3.exp
12340 * gdb.cp/anon-ns.exp
12341 * gdb.cp/anon-struct.exp
12342 * gdb.cp/anon-union.exp
12343 * gdb.cp/arg-reference.exp
12344 * gdb.cp/baseenum.exp
12345 * gdb.cp/bool.exp
12346 * gdb.cp/breakpoint.exp
12347 * gdb.cp/bs15503.exp
12348 * gdb.cp/call-c.exp
12349 * gdb.cp/casts.exp
12350 * gdb.cp/chained-calls.exp
12351 * gdb.cp/class2.exp
12352 * gdb.cp/classes.exp
12353 * gdb.cp/cmpd-minsyms.exp
12354 * gdb.cp/converts.exp
12355 * gdb.cp/cp-relocate.exp
12356 * gdb.cp/cpcompletion.exp
12357 * gdb.cp/cpexprs.exp
12358 * gdb.cp/cplabel.exp
12359 * gdb.cp/cplusfuncs.exp
12360 * gdb.cp/cpsizeof.exp
12361 * gdb.cp/ctti.exp
12362 * gdb.cp/derivation.exp
12363 * gdb.cp/destrprint.exp
12364 * gdb.cp/dispcxx.exp
12365 * gdb.cp/enum-class.exp
12366 * gdb.cp/exception.exp
12367 * gdb.cp/exceptprint.exp
12368 * gdb.cp/expand-psymtabs-cxx.exp
12369 * gdb.cp/expand-sals.exp
12370 * gdb.cp/extern-c.exp
12371 * gdb.cp/filename.exp
12372 * gdb.cp/formatted-ref.exp
12373 * gdb.cp/fpointer.exp
12374 * gdb.cp/gdb1355.exp
12375 * gdb.cp/gdb2495.exp
12376 * gdb.cp/hang.exp
12377 * gdb.cp/impl-this.exp
12378 * gdb.cp/infcall-dlopen.exp
12379 * gdb.cp/inherit.exp
12380 * gdb.cp/iostream.exp
12381 * gdb.cp/koenig.exp
12382 * gdb.cp/local.exp
12383 * gdb.cp/m-data.exp
12384 * gdb.cp/m-static.exp
12385 * gdb.cp/mb-ctor.exp
12386 * gdb.cp/mb-inline.exp
12387 * gdb.cp/mb-templates.exp
12388 * gdb.cp/member-name.exp
12389 * gdb.cp/member-ptr.exp
12390 * gdb.cp/meth-typedefs.exp
12391 * gdb.cp/method.exp
12392 * gdb.cp/method2.exp
12393 * gdb.cp/minsym-fallback.exp
12394 * gdb.cp/misc.exp
12395 * gdb.cp/namelessclass.exp
12396 * gdb.cp/namespace-enum.exp
12397 * gdb.cp/namespace-nested-import.exp
12398 * gdb.cp/namespace.exp
12399 * gdb.cp/nextoverthrow.exp
12400 * gdb.cp/no-dmgl-verbose.exp
12401 * gdb.cp/non-trivial-retval.exp
12402 * gdb.cp/noparam.exp
12403 * gdb.cp/nsdecl.exp
12404 * gdb.cp/nsimport.exp
12405 * gdb.cp/nsnested.exp
12406 * gdb.cp/nsnoimports.exp
12407 * gdb.cp/nsrecurs.exp
12408 * gdb.cp/nsstress.exp
12409 * gdb.cp/nsusing.exp
12410 * gdb.cp/operator.exp
12411 * gdb.cp/oranking.exp
12412 * gdb.cp/overload-const.exp
12413 * gdb.cp/overload.exp
12414 * gdb.cp/ovldbreak.exp
12415 * gdb.cp/ovsrch.exp
12416 * gdb.cp/paren-type.exp
12417 * gdb.cp/parse-lang.exp
12418 * gdb.cp/pass-by-ref.exp
12419 * gdb.cp/pr-1023.exp
12420 * gdb.cp/pr-1210.exp
12421 * gdb.cp/pr-574.exp
12422 * gdb.cp/pr10687.exp
12423 * gdb.cp/pr12028.exp
12424 * gdb.cp/pr17132.exp
12425 * gdb.cp/pr17494.exp
12426 * gdb.cp/pr9067.exp
12427 * gdb.cp/pr9167.exp
12428 * gdb.cp/pr9631.exp
12429 * gdb.cp/printmethod.exp
12430 * gdb.cp/psmang.exp
12431 * gdb.cp/psymtab-parameter.exp
12432 * gdb.cp/ptype-cv-cp.exp
12433 * gdb.cp/ptype-flags.exp
12434 * gdb.cp/re-set-overloaded.exp
12435 * gdb.cp/ref-types.exp
12436 * gdb.cp/rtti.exp
12437 * gdb.cp/scope-err.exp
12438 * gdb.cp/shadow.exp
12439 * gdb.cp/smartp.exp
12440 * gdb.cp/static-method.exp
12441 * gdb.cp/static-print-quit.exp
12442 * gdb.cp/temargs.exp
12443 * gdb.cp/templates.exp
12444 * gdb.cp/try_catch.exp
12445 * gdb.cp/typedef-operator.exp
12446 * gdb.cp/typeid.exp
12447 * gdb.cp/userdef.exp
12448 * gdb.cp/using-crash.exp
12449 * gdb.cp/var-tag.exp
12450 * gdb.cp/virtbase.exp
12451 * gdb.cp/virtfunc.exp
12452 * gdb.cp/virtfunc2.exp
12453 * gdb.cp/vla-cxx.exp
12454 * gdb.disasm/t01_mov.exp
12455 * gdb.disasm/t02_mova.exp
12456 * gdb.disasm/t03_add.exp
12457 * gdb.disasm/t04_sub.exp
12458 * gdb.disasm/t05_cmp.exp
12459 * gdb.disasm/t06_ari2.exp
12460 * gdb.disasm/t07_ari3.exp
12461 * gdb.disasm/t08_or.exp
12462 * gdb.disasm/t09_xor.exp
12463 * gdb.disasm/t10_and.exp
12464 * gdb.disasm/t11_logs.exp
12465 * gdb.disasm/t12_bit.exp
12466 * gdb.disasm/t13_otr.exp
12467 * gdb.dlang/circular.exp
12468 * gdb.dwarf2/arr-stride.exp
12469 * gdb.dwarf2/arr-subrange.exp
12470 * gdb.dwarf2/atomic-type.exp
12471 * gdb.dwarf2/bad-regnum.exp
12472 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12473 * gdb.dwarf2/callframecfa.exp
12474 * gdb.dwarf2/clztest.exp
12475 * gdb.dwarf2/corrupt.exp
12476 * gdb.dwarf2/data-loc.exp
12477 * gdb.dwarf2/dup-psym.exp
12478 * gdb.dwarf2/dw2-anon-mptr.exp
12479 * gdb.dwarf2/dw2-anonymous-func.exp
12480 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12481 * gdb.dwarf2/dw2-bad-unresolved.exp
12482 * gdb.dwarf2/dw2-basic.exp
12483 * gdb.dwarf2/dw2-canonicalize-type.exp
12484 * gdb.dwarf2/dw2-case-insensitive.exp
12485 * gdb.dwarf2/dw2-common-block.exp
12486 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12487 * gdb.dwarf2/dw2-compressed.exp
12488 * gdb.dwarf2/dw2-const.exp
12489 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12490 * gdb.dwarf2/dw2-cu-size.exp
12491 * gdb.dwarf2/dw2-dup-frame.exp
12492 * gdb.dwarf2/dw2-entry-value.exp
12493 * gdb.dwarf2/dw2-icycle.exp
12494 * gdb.dwarf2/dw2-ifort-parameter.exp
12495 * gdb.dwarf2/dw2-inline-break.exp
12496 * gdb.dwarf2/dw2-inline-param.exp
12497 * gdb.dwarf2/dw2-intercu.exp
12498 * gdb.dwarf2/dw2-intermix.exp
12499 * gdb.dwarf2/dw2-lexical-block-bare.exp
12500 * gdb.dwarf2/dw2-linkage-name-trust.exp
12501 * gdb.dwarf2/dw2-minsym-in-cu.exp
12502 * gdb.dwarf2/dw2-noloc.exp
12503 * gdb.dwarf2/dw2-op-call.exp
12504 * gdb.dwarf2/dw2-op-out-param.exp
12505 * gdb.dwarf2/dw2-opt-structptr.exp
12506 * gdb.dwarf2/dw2-param-error.exp
12507 * gdb.dwarf2/dw2-producer.exp
12508 * gdb.dwarf2/dw2-ranges-base.exp
12509 * gdb.dwarf2/dw2-ref-missing-frame.exp
12510 * gdb.dwarf2/dw2-reg-undefined.exp
12511 * gdb.dwarf2/dw2-regno-invalid.exp
12512 * gdb.dwarf2/dw2-restore.exp
12513 * gdb.dwarf2/dw2-restrict.exp
12514 * gdb.dwarf2/dw2-single-line-discriminators.exp
12515 * gdb.dwarf2/dw2-strp.exp
12516 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12517 * gdb.dwarf2/dw2-unresolved.exp
12518 * gdb.dwarf2/dw2-var-zero-addr.exp
12519 * gdb.dwarf2/dw4-sig-types.exp
12520 * gdb.dwarf2/dwz.exp
12521 * gdb.dwarf2/dynarr-ptr.exp
12522 * gdb.dwarf2/enum-type.exp
12523 * gdb.dwarf2/gdb-index.exp
12524 * gdb.dwarf2/implptr-64bit.exp
12525 * gdb.dwarf2/implptr-optimized-out.exp
12526 * gdb.dwarf2/implptr.exp
12527 * gdb.dwarf2/implref-array.exp
12528 * gdb.dwarf2/implref-const.exp
12529 * gdb.dwarf2/implref-global.exp
12530 * gdb.dwarf2/implref-struct.exp
12531 * gdb.dwarf2/mac-fileno.exp
12532 * gdb.dwarf2/main-subprogram.exp
12533 * gdb.dwarf2/member-ptr-forwardref.exp
12534 * gdb.dwarf2/method-ptr.exp
12535 * gdb.dwarf2/missing-sig-type.exp
12536 * gdb.dwarf2/nonvar-access.exp
12537 * gdb.dwarf2/opaque-type-lookup.exp
12538 * gdb.dwarf2/pieces-optimized-out.exp
12539 * gdb.dwarf2/pieces.exp
12540 * gdb.dwarf2/pr10770.exp
12541 * gdb.dwarf2/pr13961.exp
12542 * gdb.dwarf2/staticvirtual.exp
12543 * gdb.dwarf2/subrange.exp
12544 * gdb.dwarf2/symtab-producer.exp
12545 * gdb.dwarf2/trace-crash.exp
12546 * gdb.dwarf2/typeddwarf.exp
12547 * gdb.dwarf2/valop.exp
12548 * gdb.dwarf2/watch-notconst.exp
12549 * gdb.fortran/array-element.exp
12550 * gdb.fortran/charset.exp
12551 * gdb.fortran/common-block.exp
12552 * gdb.fortran/complex.exp
12553 * gdb.fortran/derived-type-function.exp
12554 * gdb.fortran/derived-type.exp
12555 * gdb.fortran/logical.exp
12556 * gdb.fortran/module.exp
12557 * gdb.fortran/multi-dim.exp
12558 * gdb.fortran/nested-funcs.exp
12559 * gdb.fortran/print-formatted.exp
12560 * gdb.fortran/subarray.exp
12561 * gdb.fortran/vla-alloc-assoc.exp
12562 * gdb.fortran/vla-datatypes.exp
12563 * gdb.fortran/vla-history.exp
12564 * gdb.fortran/vla-ptr-info.exp
12565 * gdb.fortran/vla-ptype-sub.exp
12566 * gdb.fortran/vla-ptype.exp
12567 * gdb.fortran/vla-sizeof.exp
12568 * gdb.fortran/vla-type.exp
12569 * gdb.fortran/vla-value-sub-arbitrary.exp
12570 * gdb.fortran/vla-value-sub-finish.exp
12571 * gdb.fortran/vla-value-sub.exp
12572 * gdb.fortran/vla-value.exp
12573 * gdb.fortran/whatis_type.exp
12574 * gdb.go/chan.exp
12575 * gdb.go/handcall.exp
12576 * gdb.go/hello.exp
12577 * gdb.go/integers.exp
12578 * gdb.go/methods.exp
12579 * gdb.go/package.exp
12580 * gdb.go/strings.exp
12581 * gdb.go/types.exp
12582 * gdb.go/unsafe.exp
12583 * gdb.guile/scm-arch.exp
12584 * gdb.guile/scm-block.exp
12585 * gdb.guile/scm-breakpoint.exp
12586 * gdb.guile/scm-cmd.exp
12587 * gdb.guile/scm-disasm.exp
12588 * gdb.guile/scm-equal.exp
12589 * gdb.guile/scm-frame-args.exp
12590 * gdb.guile/scm-frame-inline.exp
12591 * gdb.guile/scm-frame.exp
12592 * gdb.guile/scm-iterator.exp
12593 * gdb.guile/scm-math.exp
12594 * gdb.guile/scm-objfile.exp
12595 * gdb.guile/scm-ports.exp
12596 * gdb.guile/scm-symbol.exp
12597 * gdb.guile/scm-symtab.exp
12598 * gdb.guile/scm-value-cc.exp
12599 * gdb.guile/types-module.exp
12600 * gdb.linespec/break-ask.exp
12601 * gdb.linespec/cpexplicit.exp
12602 * gdb.linespec/explicit.exp
12603 * gdb.linespec/keywords.exp
12604 * gdb.linespec/linespec.exp
12605 * gdb.linespec/ls-dollar.exp
12606 * gdb.linespec/ls-errs.exp
12607 * gdb.linespec/skip-two.exp
12608 * gdb.linespec/thread.exp
12609 * gdb.mi/mi-async.exp
12610 * gdb.mi/mi-basics.exp
12611 * gdb.mi/mi-break.exp
12612 * gdb.mi/mi-catch-load.exp
12613 * gdb.mi/mi-cli.exp
12614 * gdb.mi/mi-cmd-param-changed.exp
12615 * gdb.mi/mi-console.exp
12616 * gdb.mi/mi-detach.exp
12617 * gdb.mi/mi-disassemble.exp
12618 * gdb.mi/mi-eval.exp
12619 * gdb.mi/mi-file-transfer.exp
12620 * gdb.mi/mi-file.exp
12621 * gdb.mi/mi-fill-memory.exp
12622 * gdb.mi/mi-inheritance-syntax-error.exp
12623 * gdb.mi/mi-linespec-err-cp.exp
12624 * gdb.mi/mi-logging.exp
12625 * gdb.mi/mi-memory-changed.exp
12626 * gdb.mi/mi-read-memory.exp
12627 * gdb.mi/mi-record-changed.exp
12628 * gdb.mi/mi-reg-undefined.exp
12629 * gdb.mi/mi-regs.exp
12630 * gdb.mi/mi-return.exp
12631 * gdb.mi/mi-reverse.exp
12632 * gdb.mi/mi-simplerun.exp
12633 * gdb.mi/mi-solib.exp
12634 * gdb.mi/mi-stack.exp
12635 * gdb.mi/mi-stepi.exp
12636 * gdb.mi/mi-syn-frame.exp
12637 * gdb.mi/mi-until.exp
12638 * gdb.mi/mi-var-block.exp
12639 * gdb.mi/mi-var-child.exp
12640 * gdb.mi/mi-var-cmd.exp
12641 * gdb.mi/mi-var-cp.exp
12642 * gdb.mi/mi-var-display.exp
12643 * gdb.mi/mi-var-invalidate.exp
12644 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12645 * gdb.mi/mi-vla-fortran.exp
12646 * gdb.mi/mi-watch.exp
12647 * gdb.mi/mi2-var-child.exp
12648 * gdb.mi/user-selected-context-sync.exp
12649 * gdb.modula2/unbounded-array.exp
12650 * gdb.multi/dummy-frame-restore.exp
12651 * gdb.multi/multi-arch-exec.exp
12652 * gdb.multi/multi-arch.exp
12653 * gdb.multi/tids.exp
12654 * gdb.multi/watchpoint-multi.exp
12655 * gdb.opencl/callfuncs.exp
12656 * gdb.opencl/convs_casts.exp
12657 * gdb.opencl/datatypes.exp
12658 * gdb.opencl/operators.exp
12659 * gdb.opencl/vec_comps.exp
12660 * gdb.opt/clobbered-registers-O2.exp
12661 * gdb.opt/inline-break.exp
12662 * gdb.opt/inline-bt.exp
12663 * gdb.opt/inline-cmds.exp
12664 * gdb.opt/inline-locals.exp
12665 * gdb.pascal/case-insensitive-symbols.exp
12666 * gdb.pascal/floats.exp
12667 * gdb.pascal/gdb11492.exp
12668 * gdb.python/lib-types.exp
12669 * gdb.python/py-arch.exp
12670 * gdb.python/py-as-string.exp
12671 * gdb.python/py-bad-printers.exp
12672 * gdb.python/py-block.exp
12673 * gdb.python/py-breakpoint-create-fail.exp
12674 * gdb.python/py-breakpoint.exp
12675 * gdb.python/py-caller-is.exp
12676 * gdb.python/py-cmd.exp
12677 * gdb.python/py-explore-cc.exp
12678 * gdb.python/py-explore.exp
12679 * gdb.python/py-finish-breakpoint.exp
12680 * gdb.python/py-finish-breakpoint2.exp
12681 * gdb.python/py-frame-args.exp
12682 * gdb.python/py-frame-inline.exp
12683 * gdb.python/py-frame.exp
12684 * gdb.python/py-framefilter-mi.exp
12685 * gdb.python/py-infthread.exp
12686 * gdb.python/py-lazy-string.exp
12687 * gdb.python/py-linetable.exp
12688 * gdb.python/py-mi-events.exp
12689 * gdb.python/py-mi-objfile.exp
12690 * gdb.python/py-mi.exp
12691 * gdb.python/py-objfile.exp
12692 * gdb.python/py-pp-integral.exp
12693 * gdb.python/py-pp-maint.exp
12694 * gdb.python/py-pp-re-notag.exp
12695 * gdb.python/py-pp-registration.exp
12696 * gdb.python/py-recurse-unwind.exp
12697 * gdb.python/py-strfns.exp
12698 * gdb.python/py-symbol.exp
12699 * gdb.python/py-symtab.exp
12700 * gdb.python/py-sync-interp.exp
12701 * gdb.python/py-typeprint.exp
12702 * gdb.python/py-unwind-maint.exp
12703 * gdb.python/py-unwind.exp
12704 * gdb.python/py-value-cc.exp
12705 * gdb.python/py-xmethods.exp
12706 * gdb.reverse/amd64-tailcall-reverse.exp
12707 * gdb.reverse/break-precsave.exp
12708 * gdb.reverse/break-reverse.exp
12709 * gdb.reverse/consecutive-precsave.exp
12710 * gdb.reverse/consecutive-reverse.exp
12711 * gdb.reverse/finish-precsave.exp
12712 * gdb.reverse/finish-reverse-bkpt.exp
12713 * gdb.reverse/finish-reverse.exp
12714 * gdb.reverse/fstatat-reverse.exp
12715 * gdb.reverse/getresuid-reverse.exp
12716 * gdb.reverse/i386-precsave.exp
12717 * gdb.reverse/i386-reverse.exp
12718 * gdb.reverse/i386-sse-reverse.exp
12719 * gdb.reverse/i387-env-reverse.exp
12720 * gdb.reverse/i387-stack-reverse.exp
12721 * gdb.reverse/insn-reverse.exp
12722 * gdb.reverse/machinestate-precsave.exp
12723 * gdb.reverse/machinestate.exp
12724 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12725 * gdb.reverse/pipe-reverse.exp
12726 * gdb.reverse/readv-reverse.exp
12727 * gdb.reverse/recvmsg-reverse.exp
12728 * gdb.reverse/rerun-prec.exp
12729 * gdb.reverse/s390-mvcle.exp
12730 * gdb.reverse/step-precsave.exp
12731 * gdb.reverse/step-reverse.exp
12732 * gdb.reverse/time-reverse.exp
12733 * gdb.reverse/until-precsave.exp
12734 * gdb.reverse/until-reverse.exp
12735 * gdb.reverse/waitpid-reverse.exp
12736 * gdb.reverse/watch-precsave.exp
12737 * gdb.reverse/watch-reverse.exp
12738 * gdb.rust/generics.exp
12739 * gdb.rust/methods.exp
12740 * gdb.rust/modules.exp
12741 * gdb.rust/simple.exp
12742 * gdb.server/connect-with-no-symbol-file.exp
12743 * gdb.server/ext-attach.exp
12744 * gdb.server/ext-restart.exp
12745 * gdb.server/ext-wrapper.exp
12746 * gdb.server/file-transfer.exp
12747 * gdb.server/server-exec-info.exp
12748 * gdb.server/server-kill.exp
12749 * gdb.server/server-mon.exp
12750 * gdb.server/wrapper.exp
12751 * gdb.stabs/exclfwd.exp
12752 * gdb.stabs/gdb11479.exp
12753 * gdb.threads/clone-new-thread-event.exp
12754 * gdb.threads/corethreads.exp
12755 * gdb.threads/current-lwp-dead.exp
12756 * gdb.threads/dlopen-libpthread.exp
12757 * gdb.threads/gcore-thread.exp
12758 * gdb.threads/sigstep-threads.exp
12759 * gdb.threads/watchpoint-fork.exp
12760 * gdb.trace/actions-changed.exp
12761 * gdb.trace/backtrace.exp
12762 * gdb.trace/change-loc.exp
12763 * gdb.trace/circ.exp
12764 * gdb.trace/collection.exp
12765 * gdb.trace/disconnected-tracing.exp
12766 * gdb.trace/ftrace.exp
12767 * gdb.trace/mi-trace-frame-collected.exp
12768 * gdb.trace/mi-trace-unavailable.exp
12769 * gdb.trace/mi-traceframe-changed.exp
12770 * gdb.trace/mi-tsv-changed.exp
12771 * gdb.trace/no-attach-trace.exp
12772 * gdb.trace/passc-dyn.exp
12773 * gdb.trace/qtro.exp
12774 * gdb.trace/range-stepping.exp
12775 * gdb.trace/read-memory.exp
12776 * gdb.trace/save-trace.exp
12777 * gdb.trace/signal.exp
12778 * gdb.trace/status-stop.exp
12779 * gdb.trace/tfile.exp
12780 * gdb.trace/trace-break.exp
12781 * gdb.trace/trace-buffer-size.exp
12782 * gdb.trace/trace-condition.exp
12783 * gdb.trace/tracefile-pseudo-reg.exp
12784 * gdb.trace/tstatus.exp
12785 * gdb.trace/unavailable.exp
12786 * gdb.trace/while-dyn.exp
12787 * gdb.trace/while-stepping.exp
12788
34c41c68
DE
127892016-12-22 Doug Evans <xdje42@gmail.com>
12790
12791 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12792 and msymbols.
12793
16e69324
YQ
127942016-12-19 Yao Qi <yao.qi@linaro.org>
12795
12796 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12797 (test_with_self): Don't call do_steps_and_nexts, and remove
12798 code about stepping into xmalloc.
12799
f94f411b
YQ
128002016-12-09 Yao Qi <yao.qi@linaro.org>
12801
12802 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12803
128042016-12-09 Yao Qi <yao.qi@linaro.org>
12805
12806 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12807
f1b5deee
PA
128082016-12-09 Pedro Alves <palves@redhat.com>
12809
12810 * gdb.base/all-architectures-0.exp: New file.
12811 * gdb.base/all-architectures-1.exp: New file.
12812 * gdb.base/all-architectures-2.exp: New file.
12813 * gdb.base/all-architectures-3.exp: New file.
12814 * gdb.base/all-architectures-4.exp: New file.
12815 * gdb.base/all-architectures-5.exp: New file.
12816 * gdb.base/all-architectures-6.exp: New file.
12817 * gdb.base/all-architectures-7.exp: New file.
12818 * gdb.base/all-architectures.exp.in: New file.
12819
364ca42e
YQ
128202016-12-09 Yao Qi <yao.qi@linaro.org>
12821
12822 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12823
107c2d62
LM
128242016-12-02 Luis Machado <lgustavo@codesourcery.com>
12825
12826 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12827 possible.
12828 Remove useless pattern-matching code.
12829
df3ee9ca
PA
128302016-12-02 Pedro Alves <palves@redhat.com>
12831
12832 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12833 procedure.
12834 (top level): Call it.
12835
ec835369
PA
128362016-12-02 Pedro Alves <palves@redhat.com>
12837
12838 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12839 New procedure.
12840 (top level): Call it.
12841
01770bbd
PA
128422016-12-02 Pedro Alves <palves@redhat.com>
12843
12844 PR cli/20559
12845 * gdb.base/commands.exp (user_defined_command_args_eval): New
12846 procedure.
12847 (top level): Call it.
12848
008459ea
LM
128492016-12-02 Luis Machado <lgustavo@codesourcery.com>
12850
12851 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12852 timeout handling.
12853
0c1b455e
TT
128542016-12-02 Tom Tromey <tom@tromey.com>
12855
12856 * gdb.dwarf2/main-subprogram.c: New file.
12857 * gdb.dwarf2/main-subprogram.exp: New file.
12858
018572b8
LM
128592016-12-01 Luis Machado <lgustavo@codesourcery.com>
12860
12861 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12862 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12863 gdb_test_no_output for a couple of cases.
12864 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12865
84c93cd5
LM
128662016-12-01 Luis Machado <lgustavo@codesourcery.com>
12867
12868 Fix test names and standardize compilation error messages throughout
12869 the following files:
12870
12871 * gdb.ada/start.exp
12872 * gdb.arch/alpha-step.exp
12873 * gdb.arch/e500-prologue.exp
12874 * gdb.arch/ftrace-insn-reloc.exp
12875 * gdb.arch/gdb1291.exp
12876 * gdb.arch/gdb1431.exp
12877 * gdb.arch/gdb1558.exp
12878 * gdb.arch/i386-dr3-watch.exp
12879 * gdb.arch/i386-sse-stack-align.exp
12880 * gdb.arch/ia64-breakpoint-shadow.exp
12881 * gdb.arch/pa-nullify.exp
12882 * gdb.arch/powerpc-aix-prologue.exp
12883 * gdb.arch/thumb-bx-pc.exp
12884 * gdb.base/annota1.exp
12885 * gdb.base/annota3.exp
12886 * gdb.base/arrayidx.exp
12887 * gdb.base/assign.exp
12888 * gdb.base/attach.exp
12889 * gdb.base/auxv.exp
12890 * gdb.base/bang.exp
12891 * gdb.base/bfp-test.exp
12892 * gdb.base/bigcore.exp
12893 * gdb.base/bitfields2.exp
12894 * gdb.base/break-fun-addr.exp
12895 * gdb.base/break-probes.exp
12896 * gdb.base/call-rt-st.exp
12897 * gdb.base/callexit.exp
12898 * gdb.base/catch-fork-kill.exp
12899 * gdb.base/charset.exp
12900 * gdb.base/checkpoint.exp
12901 * gdb.base/comprdebug.exp
12902 * gdb.base/constvars.exp
12903 * gdb.base/coredump-filter.exp
12904 * gdb.base/cursal.exp
12905 * gdb.base/cvexpr.exp
12906 * gdb.base/detach.exp
12907 * gdb.base/display.exp
12908 * gdb.base/dmsym.exp
12909 * gdb.base/dprintf-pending.exp
12910 * gdb.base/dso2dso.exp
12911 * gdb.base/dtrace-probe.exp
12912 * gdb.base/dump.exp
12913 * gdb.base/enum_cond.exp
12914 * gdb.base/exe-lock.exp
12915 * gdb.base/exec-invalid-sysroot.exp
12916 * gdb.base/execl-update-breakpoints.exp
12917 * gdb.base/exprs.exp
12918 * gdb.base/fileio.exp
12919 * gdb.base/find.exp
12920 * gdb.base/finish.exp
12921 * gdb.base/fixsection.exp
12922 * gdb.base/foll-vfork.exp
12923 * gdb.base/frame-args.exp
12924 * gdb.base/gcore.exp
12925 * gdb.base/gdb1250.exp
12926 * gdb.base/global-var-nested-by-dso.exp
12927 * gdb.base/gnu-ifunc.exp
12928 * gdb.base/hashline1.exp
12929 * gdb.base/hashline2.exp
12930 * gdb.base/hashline3.exp
12931 * gdb.base/hbreak-in-shr-unsupported.exp
12932 * gdb.base/huge.exp
12933 * gdb.base/infcall-input.exp
12934 * gdb.base/info-fun.exp
12935 * gdb.base/info-shared.exp
12936 * gdb.base/jit-simple.exp
12937 * gdb.base/jit-so.exp
12938 * gdb.base/jit.exp
12939 * gdb.base/jump.exp
12940 * gdb.base/label.exp
12941 * gdb.base/lineinc.exp
12942 * gdb.base/logical.exp
12943 * gdb.base/longjmp.exp
12944 * gdb.base/macscp.exp
12945 * gdb.base/miscexprs.exp
12946 * gdb.base/new-ui-echo.exp
12947 * gdb.base/new-ui-pending-input.exp
12948 * gdb.base/new-ui.exp
12949 * gdb.base/nodebug.exp
12950 * gdb.base/nofield.exp
12951 * gdb.base/offsets.exp
12952 * gdb.base/overlays.exp
12953 * gdb.base/pending.exp
12954 * gdb.base/pointers.exp
12955 * gdb.base/pr11022.exp
12956 * gdb.base/printcmds.exp
12957 * gdb.base/prologue.exp
12958 * gdb.base/ptr-typedef.exp
12959 * gdb.base/realname-expand.exp
12960 * gdb.base/relativedebug.exp
12961 * gdb.base/relocate.exp
12962 * gdb.base/remote.exp
12963 * gdb.base/reread.exp
12964 * gdb.base/return2.exp
12965 * gdb.base/savedregs.exp
12966 * gdb.base/sep.exp
12967 * gdb.base/sepdebug.exp
12968 * gdb.base/sepsymtab.exp
12969 * gdb.base/set-inferior-tty.exp
12970 * gdb.base/setshow.exp
12971 * gdb.base/shlib-call.exp
12972 * gdb.base/sigaltstack.exp
12973 * gdb.base/siginfo-addr.exp
12974 * gdb.base/signals.exp
12975 * gdb.base/signull.exp
12976 * gdb.base/sigrepeat.exp
12977 * gdb.base/so-impl-ld.exp
12978 * gdb.base/solib-display.exp
12979 * gdb.base/solib-overlap.exp
12980 * gdb.base/solib-search.exp
12981 * gdb.base/solib-symbol.exp
12982 * gdb.base/structs.exp
12983 * gdb.base/structs2.exp
12984 * gdb.base/symtab-search-order.exp
12985 * gdb.base/twice.exp
12986 * gdb.base/unload.exp
12987 * gdb.base/varargs.exp
12988 * gdb.base/watchpoint-solib.exp
12989 * gdb.base/watchpoint.exp
12990 * gdb.base/whatis.exp
12991 * gdb.base/wrong_frame_bt_full.exp
12992 * gdb.btrace/dlopen.exp
12993 * gdb.cell/ea-standalone.exp
12994 * gdb.cell/ea-test.exp
12995 * gdb.cp/dispcxx.exp
12996 * gdb.cp/gdb2384.exp
12997 * gdb.cp/method2.exp
12998 * gdb.cp/nextoverthrow.exp
12999 * gdb.cp/pr10728.exp
13000 * gdb.disasm/am33.exp
13001 * gdb.disasm/h8300s.exp
13002 * gdb.disasm/mn10300.exp
13003 * gdb.disasm/sh3.exp
13004 * gdb.dwarf2/dw2-dir-file-name.exp
13005 * gdb.fortran/complex.exp
13006 * gdb.fortran/library-module.exp
13007 * gdb.guile/scm-pretty-print.exp
13008 * gdb.guile/scm-symbol.exp
13009 * gdb.guile/scm-type.exp
13010 * gdb.guile/scm-value.exp
13011 * gdb.linespec/linespec.exp
13012 * gdb.mi/gdb701.exp
13013 * gdb.mi/gdb792.exp
13014 * gdb.mi/mi-breakpoint-changed.exp
13015 * gdb.mi/mi-dprintf-pending.exp
13016 * gdb.mi/mi-dprintf.exp
13017 * gdb.mi/mi-exit-code.exp
13018 * gdb.mi/mi-pending.exp
13019 * gdb.mi/mi-solib.exp
13020 * gdb.mi/new-ui-mi-sync.exp
13021 * gdb.mi/pr11022.exp
13022 * gdb.mi/user-selected-context-sync.exp
13023 * gdb.opt/solib-intra-step.exp
13024 * gdb.python/py-events.exp
13025 * gdb.python/py-finish-breakpoint.exp
13026 * gdb.python/py-mi.exp
13027 * gdb.python/py-prettyprint.exp
13028 * gdb.python/py-shared.exp
13029 * gdb.python/py-symbol.exp
13030 * gdb.python/py-template.exp
13031 * gdb.python/py-type.exp
13032 * gdb.python/py-value.exp
13033 * gdb.reverse/solib-precsave.exp
13034 * gdb.reverse/solib-reverse.exp
13035 * gdb.server/solib-list.exp
13036 * gdb.stabs/weird.exp
13037 * gdb.threads/reconnect-signal.exp
13038 * gdb.threads/stepi-random-signal.exp
13039 * gdb.trace/actions.exp
13040 * gdb.trace/ax.exp
13041 * gdb.trace/backtrace.exp
13042 * gdb.trace/change-loc.exp
13043 * gdb.trace/deltrace.exp
13044 * gdb.trace/ftrace-lock.exp
13045 * gdb.trace/ftrace.exp
13046 * gdb.trace/infotrace.exp
13047 * gdb.trace/mi-tracepoint-changed.exp
13048 * gdb.trace/packetlen.exp
13049 * gdb.trace/passcount.exp
13050 * gdb.trace/pending.exp
13051 * gdb.trace/range-stepping.exp
13052 * gdb.trace/report.exp
13053 * gdb.trace/stap-trace.exp
13054 * gdb.trace/tfind.exp
13055 * gdb.trace/trace-break.exp
13056 * gdb.trace/trace-condition.exp
13057 * gdb.trace/trace-enable-disable.exp
13058 * gdb.trace/trace-mt.exp
13059 * gdb.trace/tracecmd.exp
13060 * gdb.trace/tspeed.exp
13061 * gdb.trace/tsv.exp
13062 * lib/perftest.exp
13063
fb9feb35
LM
130642016-12-01 Luis Machado <lgustavo@codesourcery.com>
13065
13066 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13067 with gdb_test_no_output.
13068 Use command as test name.
13069
cd2ddb6c
LM
130702016-12-01 Luis Machado <lgustavo@codesourcery.com>
13071
13072 Fix test names starting with uppercase throughout the files.
13073
13074 * gdb.ada/assign_1.exp
13075 * gdb.ada/boolean_expr.exp
13076 * gdb.base/arrayidx.exp
13077 * gdb.base/del.exp
13078 * gdb.base/gcore-buffer-overflow.exp
13079 * gdb.base/testenv.exp
13080 * gdb.compile/compile.exp
13081 * gdb.python/py-framefilter-invalidarg.exp
13082 * gdb.python/py-framefilter.exp
13083
bb95117e
LM
130842016-12-01 Luis Machado <lgustavo@codesourcery.com>
13085
13086 Fix test names starting with uppercase throughout the files.
13087
13088 * gdb.ada/array_return.exp
13089 * gdb.ada/expr_delims.exp
13090 * gdb.ada/mi_dyn_arr.exp
13091 * gdb.ada/mi_interface.exp
13092 * gdb.ada/mi_var_array.exp
13093 * gdb.ada/watch_arg.exp
13094 * gdb.arch/alpha-step.exp
13095 * gdb.arch/altivec-regs.exp
13096 * gdb.arch/e500-regs.exp
13097 * gdb.arch/powerpc-d128-regs.exp
13098 * gdb.base/arrayidx.exp
13099 * gdb.base/break.exp
13100 * gdb.base/checkpoint.exp
13101 * gdb.base/debug-expr.exp
13102 * gdb.base/dmsym.exp
13103 * gdb.base/radix.exp
13104 * gdb.base/sepdebug.exp
13105 * gdb.base/testenv.exp
13106 * gdb.base/watch_thread_num.exp
13107 * gdb.base/watchpoint-cond-gone.exp
13108 * gdb.cell/break.exp
13109 * gdb.cell/ea-cache.exp
13110 * gdb.compile/compile.exp
13111 * gdb.cp/gdb2495.exp
13112 * gdb.gdb/selftest.exp
13113 * gdb.gdb/xfullpath.exp
13114 * gdb.go/hello.exp
13115 * gdb.go/integers.exp
13116 * gdb.objc/basicclass.exp
13117 * gdb.pascal/hello.exp
13118 * gdb.pascal/integers.exp
13119 * gdb.python/py-breakpoint.exp
13120 * gdb.python/py-cmd.exp
13121 * gdb.python/py-linetable.exp
13122 * gdb.python/py-xmethods.exp
13123 * gdb.python/python.exp
13124 * gdb.reverse/consecutive-precsave.exp
13125 * gdb.reverse/finish-precsave.exp
13126 * gdb.reverse/i386-precsave.exp
13127 * gdb.reverse/machinestate-precsave.exp
13128 * gdb.reverse/sigall-precsave.exp
13129 * gdb.reverse/solib-precsave.exp
13130 * gdb.reverse/step-precsave.exp
13131 * gdb.reverse/until-precsave.exp
13132 * gdb.reverse/watch-precsave.exp
13133 * gdb.threads/leader-exit.exp
13134 * gdb.threads/pthreads.exp
13135 * gdb.threads/wp-replication.exp
13136 * gdb.trace/actions.exp
13137 * gdb.trace/mi-tsv-changed.exp
13138 * gdb.trace/tsv.exp
13139
de97fdd4
LM
131402016-12-01 Luis Machado <lgustavo@codesourcery.com>
13141
13142 Fix test names starting with uppercase throughout the files.
13143
13144 * gdb.arch/i386-bp_permanent.exp
13145 * gdb.arch/i386-gnu-cfi.exp
13146 * gdb.base/disasm-end-cu.exp
13147 * gdb.base/macscp.exp
13148 * gdb.base/pending.exp
13149 * gdb.base/watch_thread_num.exp
13150 * gdb.cp/exception.exp
13151 * gdb.cp/gdb2495.exp
13152 * gdb.cp/local.exp
13153 * gdb.python/py-evsignal.exp
13154 * gdb.python/python.exp
13155 * gdb.trace/tracecmd.exp
13156
9f058c10
LM
131572016-12-01 Luis Machado <lgustavo@codesourcery.com>
13158
13159 Fix test names starting with uppercase throughout the files.
13160
13161 * gdb.base/charset.exp
13162 * gdb.base/eval.exp
13163 * gdb.base/multi-forks.exp
13164 * gdb.guile/scm-progspace.exp
13165 * gdb.opencl/datatypes.exp
13166 * gdb.python/py-block.exp
13167 * gdb.python/py-function.exp
13168 * gdb.python/py-symbol.exp
13169 * gdb.python/py-symtab.exp
13170 * gdb.python/py-xmethods.exp
13171 * gdb.reverse/break-precsave.exp
13172 * gdb.reverse/break-reverse.exp
13173 * gdb.reverse/consecutive-precsave.exp
13174 * gdb.reverse/consecutive-reverse.exp
13175 * gdb.reverse/finish-precsave.exp
13176 * gdb.reverse/finish-reverse-bkpt.exp
13177 * gdb.reverse/finish-reverse.exp
13178 * gdb.reverse/fstatat-reverse.exp
13179 * gdb.reverse/getresuid-reverse.exp
13180 * gdb.reverse/i386-precsave.exp
13181 * gdb.reverse/i386-reverse.exp
13182 * gdb.reverse/i386-sse-reverse.exp
13183 * gdb.reverse/i387-stack-reverse.exp
13184 * gdb.reverse/insn-reverse.exp
13185 * gdb.reverse/machinestate-precsave.exp
13186 * gdb.reverse/machinestate.exp
13187 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13188 * gdb.reverse/pipe-reverse.exp
13189 * gdb.reverse/readv-reverse.exp
13190 * gdb.reverse/recvmsg-reverse.exp
13191 * gdb.reverse/rerun-prec.exp
13192 * gdb.reverse/s390-mvcle.exp
13193 * gdb.reverse/sigall-precsave.exp
13194 * gdb.reverse/sigall-reverse.exp
13195 * gdb.reverse/solib-precsave.exp
13196 * gdb.reverse/solib-reverse.exp
13197 * gdb.reverse/step-precsave.exp
13198 * gdb.reverse/step-reverse.exp
13199 * gdb.reverse/time-reverse.exp
13200 * gdb.reverse/until-precsave.exp
13201 * gdb.reverse/until-reverse.exp
13202 * gdb.reverse/waitpid-reverse.exp
13203 * gdb.reverse/watch-precsave.exp
13204 * gdb.reverse/watch-reverse.exp
13205
cdc7edd7
LM
132062016-12-01 Luis Machado <lgustavo@codesourcery.com>
13207
13208 Fix test names starting with uppercase throughout the files.
13209
13210 * gdb.arch/i386-mpx-simple_segv.exp
13211 * gdb.arch/i386-mpx.exp
13212 * gdb.arch/i386-permbkpt.exp
13213 * gdb.arch/pa-nullify.exp
13214 * gdb.arch/powerpc-d128-regs.exp
13215 * gdb.arch/vsx-regs.exp
13216 * gdb.base/bfp-test.exp
13217 * gdb.base/break.exp
13218 * gdb.base/breakpoint-shadow.exp
13219 * gdb.base/callfuncs.exp
13220 * gdb.base/charset.exp
13221 * gdb.base/commands.exp
13222 * gdb.base/completion.exp
13223 * gdb.base/dfp-test.exp
13224 * gdb.base/echo.exp
13225 * gdb.base/ending-run.exp
13226 * gdb.base/eval.exp
13227 * gdb.base/expand-psymtabs.exp
13228 * gdb.base/float128.exp
13229 * gdb.base/floatn.exp
13230 * gdb.base/foll-exec-mode.exp
13231 * gdb.base/gdb1056.exp
13232 * gdb.base/gdb11531.exp
13233 * gdb.base/kill-after-signal.exp
13234 * gdb.base/multi-forks.exp
13235 * gdb.base/overlays.exp
13236 * gdb.base/pending.exp
13237 * gdb.base/sepdebug.exp
13238 * gdb.base/testenv.exp
13239 * gdb.base/valgrind-db-attach.exp
13240 * gdb.base/watch_thread_num.exp
13241 * gdb.base/watchpoint-cond-gone.exp
13242 * gdb.base/watchpoint.exp
13243 * gdb.base/watchpoints.exp
13244 * gdb.cp/arg-reference.exp
13245 * gdb.cp/baseenum.exp
13246 * gdb.cp/operator.exp
13247 * gdb.cp/shadow.exp
13248 * gdb.dwarf2/dw2-op-out-param.exp
13249 * gdb.dwarf2/dw2-reg-undefined.exp
13250 * gdb.go/chan.exp
13251 * gdb.go/hello.exp
13252 * gdb.go/integers.exp
13253 * gdb.go/methods.exp
13254 * gdb.go/package.exp
13255 * gdb.guile/scm-parameter.exp
13256 * gdb.guile/scm-progspace.exp
13257 * gdb.guile/scm-value.exp
13258 * gdb.mi/mi-pending.exp
13259 * gdb.mi/user-selected-context-sync.exp
13260 * gdb.multi/multi-attach.exp
13261 * gdb.multi/tids.exp
13262 * gdb.opt/clobbered-registers-O2.exp
13263 * gdb.pascal/floats.exp
13264 * gdb.pascal/integers.exp
13265 * gdb.python/py-block.exp
13266 * gdb.python/py-events.exp
13267 * gdb.python/py-parameter.exp
13268 * gdb.python/py-symbol.exp
13269 * gdb.python/py-symtab.exp
13270 * gdb.python/py-type.exp
13271 * gdb.python/py-value.exp
13272 * gdb.python/py-xmethods.exp
13273 * gdb.python/python.exp
13274 * gdb.reverse/break-precsave.exp
13275 * gdb.reverse/consecutive-precsave.exp
13276 * gdb.reverse/finish-precsave.exp
13277 * gdb.reverse/i386-precsave.exp
13278 * gdb.reverse/machinestate-precsave.exp
13279 * gdb.reverse/sigall-precsave.exp
13280 * gdb.reverse/solib-precsave.exp
13281 * gdb.reverse/step-precsave.exp
13282 * gdb.reverse/until-precsave.exp
13283 * gdb.reverse/watch-precsave.exp
13284 * gdb.server/ext-attach.exp
13285 * gdb.server/ext-restart.exp
13286 * gdb.server/ext-run.exp
13287 * gdb.server/ext-wrapper.exp
13288 * gdb.stabs/gdb11479.exp
13289 * gdb.stabs/weird.exp
13290 * gdb.threads/attach-many-short-lived-threads.exp
13291 * gdb.threads/kill.exp
13292 * gdb.threads/watchpoint-fork.exp
13293
bc6c7af4
LM
132942016-12-01 Luis Machado <lgustavo@codesourcery.com>
13295
13296 Fix test names starting with uppercase throughout all the files below.
13297
13298 * gdb.ada/array_return.exp
13299 * gdb.ada/catch_ex.exp
13300 * gdb.ada/info_exc.exp
13301 * gdb.ada/mi_catch_ex.exp
13302 * gdb.ada/mi_dyn_arr.exp
13303 * gdb.ada/mi_ex_cond.exp
13304 * gdb.ada/mi_exc_info.exp
13305 * gdb.ada/mi_interface.exp
13306 * gdb.ada/mi_task_arg.exp
13307 * gdb.ada/mi_task_info.exp
13308 * gdb.ada/mi_var_array.exp
13309 * gdb.arch/alpha-step.exp
13310 * gdb.arch/amd64-disp-step.exp
13311 * gdb.arch/arm-disp-step.exp
13312 * gdb.arch/disp-step-insn-reloc.exp
13313 * gdb.arch/e500-prologue.exp
13314 * gdb.arch/ftrace-insn-reloc.exp
13315 * gdb.arch/gdb1558.exp
13316 * gdb.arch/i386-bp_permanent.exp
13317 * gdb.arch/i386-disp-step.exp
13318 * gdb.arch/i386-float.exp
13319 * gdb.arch/i386-gnu-cfi.exp
13320 * gdb.arch/ia64-breakpoint-shadow.exp
13321 * gdb.arch/mips16-thunks.exp
13322 * gdb.arch/pa-nullify.exp
13323 * gdb.arch/powerpc-aix-prologue.exp
13324 * gdb.arch/powerpc-power.exp
13325 * gdb.arch/ppc-dfp.exp
13326 * gdb.arch/s390-tdbregs.exp
13327 * gdb.arch/spu-info.exp
13328 * gdb.arch/spu-ls.exp
13329 * gdb.arch/thumb-bx-pc.exp
13330 * gdb.base/advance.exp
13331 * gdb.base/annota-input-while-running.exp
13332 * gdb.base/arrayidx.exp
13333 * gdb.base/asmlabel.exp
13334 * gdb.base/async.exp
13335 * gdb.base/attach-wait-input.exp
13336 * gdb.base/auto-connect-native-target.exp
13337 * gdb.base/batch-preserve-term-settings.exp
13338 * gdb.base/bfp-test.exp
13339 * gdb.base/bigcore.exp
13340 * gdb.base/bp-permanent.exp
13341 * gdb.base/break-always.exp
13342 * gdb.base/break-fun-addr.exp
13343 * gdb.base/break-idempotent.exp
13344 * gdb.base/break-main-file-remove-fail.exp
13345 * gdb.base/break-probes.exp
13346 * gdb.base/break-unload-file.exp
13347 * gdb.base/break.exp
13348 * gdb.base/call-ar-st.exp
13349 * gdb.base/call-rt-st.exp
13350 * gdb.base/call-sc.exp
13351 * gdb.base/call-signal-resume.exp
13352 * gdb.base/call-strs.exp
13353 * gdb.base/callexit.exp
13354 * gdb.base/callfuncs.exp
13355 * gdb.base/catch-gdb-caused-signals.exp
13356 * gdb.base/catch-signal-siginfo-cond.exp
13357 * gdb.base/catch-syscall.exp
13358 * gdb.base/compare-sections.exp
13359 * gdb.base/cond-eval-mode.exp
13360 * gdb.base/condbreak-call-false.exp
13361 * gdb.base/consecutive-step-over.exp
13362 * gdb.base/cursal.exp
13363 * gdb.base/disabled-location.exp
13364 * gdb.base/disasm-end-cu.exp
13365 * gdb.base/display.exp
13366 * gdb.base/double-prompt-target-event-error.exp
13367 * gdb.base/dprintf-bp-same-addr.exp
13368 * gdb.base/dprintf-detach.exp
13369 * gdb.base/dprintf-next.exp
13370 * gdb.base/dprintf-non-stop.exp
13371 * gdb.base/dprintf-pending.exp
13372 * gdb.base/dso2dso.exp
13373 * gdb.base/ending-run.exp
13374 * gdb.base/enum_cond.exp
13375 * gdb.base/examine-backward.exp
13376 * gdb.base/exe-lock.exp
13377 * gdb.base/exec-invalid-sysroot.exp
13378 * gdb.base/execl-update-breakpoints.exp
13379 * gdb.base/execution-termios.exp
13380 * gdb.base/fileio.exp
13381 * gdb.base/fixsection.exp
13382 * gdb.base/foll-exec-mode.exp
13383 * gdb.base/foll-exec.exp
13384 * gdb.base/fork-running-state.exp
13385 * gdb.base/frame-args.exp
13386 * gdb.base/fullpath-expand.exp
13387 * gdb.base/func-ptr.exp
13388 * gdb.base/gcore-relro-pie.exp
13389 * gdb.base/gdb1090.exp
13390 * gdb.base/gdb1555.exp
13391 * gdb.base/global-var-nested-by-dso.exp
13392 * gdb.base/gnu-ifunc.exp
13393 * gdb.base/hbreak-in-shr-unsupported.exp
13394 * gdb.base/hbreak-unmapped.exp
13395 * gdb.base/hook-stop.exp
13396 * gdb.base/infcall-input.exp
13397 * gdb.base/info-fun.exp
13398 * gdb.base/info-shared.exp
13399 * gdb.base/interrupt-noterm.exp
13400 * gdb.base/jit-so.exp
13401 * gdb.base/jit.exp
13402 * gdb.base/line-symtabs.exp
13403 * gdb.base/list.exp
13404 * gdb.base/longjmp.exp
13405 * gdb.base/macscp.exp
13406 * gdb.base/max-value-size.exp
13407 * gdb.base/nodebug.exp
13408 * gdb.base/nofield.exp
13409 * gdb.base/overlays.exp
13410 * gdb.base/paginate-after-ctrl-c-running.exp
13411 * gdb.base/paginate-bg-execution.exp
13412 * gdb.base/paginate-inferior-exit.exp
13413 * gdb.base/pending.exp
13414 * gdb.base/pr11022.exp
13415 * gdb.base/printcmds.exp
13416 * gdb.base/ptr-typedef.exp
13417 * gdb.base/ptype.exp
13418 * gdb.base/randomize.exp
13419 * gdb.base/range-stepping.exp
13420 * gdb.base/realname-expand.exp
13421 * gdb.base/relativedebug.exp
13422 * gdb.base/remote.exp
13423 * gdb.base/savedregs.exp
13424 * gdb.base/sepdebug.exp
13425 * gdb.base/set-noassign.exp
13426 * gdb.base/shlib-call.exp
13427 * gdb.base/shreloc.exp
13428 * gdb.base/sigaltstack.exp
13429 * gdb.base/sigbpt.exp
13430 * gdb.base/siginfo-addr.exp
13431 * gdb.base/siginfo-obj.exp
13432 * gdb.base/siginfo-thread.exp
13433 * gdb.base/signest.exp
13434 * gdb.base/signull.exp
13435 * gdb.base/sigrepeat.exp
13436 * gdb.base/skip.exp
13437 * gdb.base/so-impl-ld.exp
13438 * gdb.base/solib-corrupted.exp
13439 * gdb.base/solib-disc.exp
13440 * gdb.base/solib-display.exp
13441 * gdb.base/solib-overlap.exp
13442 * gdb.base/solib-search.exp
13443 * gdb.base/solib-symbol.exp
13444 * gdb.base/source-execution.exp
13445 * gdb.base/sss-bp-on-user-bp-2.exp
13446 * gdb.base/sss-bp-on-user-bp.exp
13447 * gdb.base/stack-checking.exp
13448 * gdb.base/stale-infcall.exp
13449 * gdb.base/step-break.exp
13450 * gdb.base/step-line.exp
13451 * gdb.base/step-over-exit.exp
13452 * gdb.base/step-test.exp
13453 * gdb.base/structs.exp
13454 * gdb.base/sym-file.exp
13455 * gdb.base/symtab-search-order.exp
13456 * gdb.base/term.exp
13457 * gdb.base/type-opaque.exp
13458 * gdb.base/unload.exp
13459 * gdb.base/until-nodebug.exp
13460 * gdb.base/until.exp
13461 * gdb.base/unwindonsignal.exp
13462 * gdb.base/watch-cond.exp
13463 * gdb.base/watch-non-mem.exp
13464 * gdb.base/watch_thread_num.exp
13465 * gdb.base/watchpoint-reuse-slot.exp
13466 * gdb.base/watchpoint-solib.exp
13467 * gdb.base/watchpoint.exp
13468 * gdb.btrace/dlopen.exp
13469 * gdb.cell/arch.exp
13470 * gdb.cell/break.exp
13471 * gdb.cell/bt.exp
13472 * gdb.cell/core.exp
13473 * gdb.cell/data.exp
13474 * gdb.cell/dwarfaddr.exp
13475 * gdb.cell/ea-cache.exp
13476 * gdb.cell/ea-standalone.exp
13477 * gdb.cell/ea-test.exp
13478 * gdb.cell/f-regs.exp
13479 * gdb.cell/fork.exp
13480 * gdb.cell/gcore.exp
13481 * gdb.cell/mem-access.exp
13482 * gdb.cell/ptype.exp
13483 * gdb.cell/registers.exp
13484 * gdb.cell/sizeof.exp
13485 * gdb.cell/solib-symbol.exp
13486 * gdb.cell/solib.exp
13487 * gdb.compile/compile-tls.exp
13488 * gdb.cp/exception.exp
13489 * gdb.cp/gdb2495.exp
13490 * gdb.cp/local.exp
13491 * gdb.cp/mb-inline.exp
13492 * gdb.cp/mb-templates.exp
13493 * gdb.cp/pr10687.exp
13494 * gdb.cp/pr9167.exp
13495 * gdb.cp/scope-err.exp
13496 * gdb.cp/templates.exp
13497 * gdb.cp/virtfunc.exp
13498 * gdb.dwarf2/dw2-dir-file-name.exp
13499 * gdb.dwarf2/dw2-single-line-discriminators.exp
13500 * gdb.fortran/complex.exp
13501 * gdb.fortran/library-module.exp
13502 * gdb.guile/guile.exp
13503 * gdb.guile/scm-cmd.exp
13504 * gdb.guile/scm-frame-inline.exp
13505 * gdb.guile/scm-objfile.exp
13506 * gdb.guile/scm-pretty-print.exp
13507 * gdb.guile/scm-symbol.exp
13508 * gdb.guile/scm-type.exp
13509 * gdb.guile/scm-value.exp
13510 * gdb.linespec/keywords.exp
13511 * gdb.linespec/ls-errs.exp
13512 * gdb.linespec/macro-relative.exp
13513 * gdb.linespec/thread.exp
13514 * gdb.mi/mi-breakpoint-changed.exp
13515 * gdb.mi/mi-dprintf-pending.exp
13516 * gdb.mi/mi-fullname-deleted.exp
13517 * gdb.mi/mi-logging.exp
13518 * gdb.mi/mi-pending.exp
13519 * gdb.mi/mi-solib.exp
13520 * gdb.mi/new-ui-mi-sync.exp
13521 * gdb.mi/user-selected-context-sync.exp
13522 * gdb.multi/dummy-frame-restore.exp
13523 * gdb.multi/multi-arch-exec.exp
13524 * gdb.multi/remove-inferiors.exp
13525 * gdb.multi/watchpoint-multi-exit.exp
13526 * gdb.opt/solib-intra-step.exp
13527 * gdb.perf/backtrace.exp
13528 * gdb.perf/single-step.exp
13529 * gdb.perf/skip-command.exp
13530 * gdb.perf/skip-prologue.exp
13531 * gdb.perf/solib.exp
13532 * gdb.python/lib-types.exp
13533 * gdb.python/py-as-string.exp
13534 * gdb.python/py-bad-printers.exp
13535 * gdb.python/py-block.exp
13536 * gdb.python/py-breakpoint.exp
13537 * gdb.python/py-cmd.exp
13538 * gdb.python/py-events.exp
13539 * gdb.python/py-evthreads.exp
13540 * gdb.python/py-finish-breakpoint.exp
13541 * gdb.python/py-finish-breakpoint2.exp
13542 * gdb.python/py-frame-inline.exp
13543 * gdb.python/py-frame.exp
13544 * gdb.python/py-inferior.exp
13545 * gdb.python/py-infthread.exp
13546 * gdb.python/py-mi.exp
13547 * gdb.python/py-objfile.exp
13548 * gdb.python/py-pp-maint.exp
13549 * gdb.python/py-pp-registration.exp
13550 * gdb.python/py-prettyprint.exp
13551 * gdb.python/py-recurse-unwind.exp
13552 * gdb.python/py-shared.exp
13553 * gdb.python/py-symbol.exp
13554 * gdb.python/py-symtab.exp
13555 * gdb.python/py-template.exp
13556 * gdb.python/py-type.exp
13557 * gdb.python/py-unwind-maint.exp
13558 * gdb.python/py-unwind.exp
13559 * gdb.python/py-value.exp
13560 * gdb.python/python.exp
13561 * gdb.reverse/finish-reverse-bkpt.exp
13562 * gdb.reverse/insn-reverse.exp
13563 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13564 * gdb.reverse/solib-precsave.exp
13565 * gdb.reverse/solib-reverse.exp
13566 * gdb.stabs/gdb11479.exp
13567 * gdb.stabs/weird.exp
13568 * gdb.threads/fork-child-threads.exp
13569 * gdb.threads/fork-plus-threads.exp
13570 * gdb.threads/fork-thread-pending.exp
13571 * gdb.threads/forking-threads-plus-breakpoint.exp
13572 * gdb.threads/hand-call-in-threads.exp
13573 * gdb.threads/interrupted-hand-call.exp
13574 * gdb.threads/linux-dp.exp
13575 * gdb.threads/local-watch-wrong-thread.exp
13576 * gdb.threads/next-while-other-thread-longjmps.exp
13577 * gdb.threads/non-ldr-exit.exp
13578 * gdb.threads/pending-step.exp
13579 * gdb.threads/print-threads.exp
13580 * gdb.threads/process-dies-while-detaching.exp
13581 * gdb.threads/process-dies-while-handling-bp.exp
13582 * gdb.threads/pthreads.exp
13583 * gdb.threads/queue-signal.exp
13584 * gdb.threads/reconnect-signal.exp
13585 * gdb.threads/signal-command-handle-nopass.exp
13586 * gdb.threads/signal-command-multiple-signals-pending.exp
13587 * gdb.threads/signal-delivered-right-thread.exp
13588 * gdb.threads/signal-sigtrap.exp
13589 * gdb.threads/sigthread.exp
13590 * gdb.threads/staticthreads.exp
13591 * gdb.threads/stepi-random-signal.exp
13592 * gdb.threads/thread-unwindonsignal.exp
13593 * gdb.threads/thread_check.exp
13594 * gdb.threads/thread_events.exp
13595 * gdb.threads/tid-reuse.exp
13596 * gdb.threads/tls-nodebug.exp
13597 * gdb.threads/tls-shared.exp
13598 * gdb.threads/tls-so_extern.exp
13599 * gdb.threads/tls.exp
13600 * gdb.threads/wp-replication.exp
13601 * gdb.trace/actions-changed.exp
13602 * gdb.trace/actions.exp
13603 * gdb.trace/backtrace.exp
13604 * gdb.trace/change-loc.exp
13605 * gdb.trace/collection.exp
13606 * gdb.trace/deltrace.exp
13607 * gdb.trace/disconnected-tracing.exp
13608 * gdb.trace/entry-values.exp
13609 * gdb.trace/ftrace-lock.exp
13610 * gdb.trace/ftrace.exp
13611 * gdb.trace/infotrace.exp
13612 * gdb.trace/mi-trace-frame-collected.exp
13613 * gdb.trace/mi-trace-unavailable.exp
13614 * gdb.trace/mi-traceframe-changed.exp
13615 * gdb.trace/mi-tracepoint-changed.exp
13616 * gdb.trace/mi-tsv-changed.exp
13617 * gdb.trace/no-attach-trace.exp
13618 * gdb.trace/packetlen.exp
13619 * gdb.trace/passc-dyn.exp
13620 * gdb.trace/passcount.exp
13621 * gdb.trace/pending.exp
13622 * gdb.trace/pr16508.exp
13623 * gdb.trace/qtro.exp
13624 * gdb.trace/range-stepping.exp
13625 * gdb.trace/read-memory.exp
13626 * gdb.trace/report.exp
13627 * gdb.trace/save-trace.exp
13628 * gdb.trace/signal.exp
13629 * gdb.trace/stap-trace.exp
13630 * gdb.trace/status-stop.exp
13631 * gdb.trace/strace.exp
13632 * gdb.trace/tfile.exp
13633 * gdb.trace/tfind.exp
13634 * gdb.trace/trace-break.exp
13635 * gdb.trace/trace-condition.exp
13636 * gdb.trace/trace-enable-disable.exp
13637 * gdb.trace/trace-mt.exp
13638 * gdb.trace/tracecmd.exp
13639 * gdb.trace/tracefile-pseudo-reg.exp
13640 * gdb.trace/tspeed.exp
13641 * gdb.trace/tstatus.exp
13642 * gdb.trace/tsv.exp
13643 * gdb.trace/unavailable.exp
13644 * gdb.trace/while-dyn.exp
13645 * gdb.trace/while-stepping.exp
13646 * lib/gdb-guile.exp
13647 * lib/gdb.exp
13648 * lib/mi-support.exp
13649 * lib/pascal.exp
13650 * lib/perftest.exp
13651 * lib/prelink-support.exp
13652 * lib/selftest-support.exp
13653
ad02e4fe
SM
136542016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13655
13656 * Makefile.in: Include disable-implicit-rules.mk.
13657
22347e55
AA
136582016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13659
13660 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13661 non-byte-aligned bit fields.
13662
da5b30da
AA
136632016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13664
13665 PR gdb/12616
13666 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13667 respects the DW_AT_data_bit_offset attribute.
13668
b593ecca
SM
136692016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13670
13671 * gdb.base/default.exp: Fix output of "set language".
13672
3b165252
SM
136732016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13674
13675 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13676 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13677 make.
13678 * configure.ac: Remove checks for the make program.
13679 * configure: Re-generate.
13680
1a2f3d7f
KB
136812016-11-16 Kevin Buettner <kevinb@redhat.com>
13682
13683 * gdb.python/py-recurse-unwind.c (main): Add loop.
13684 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13685 to read_register() and gdb.parse_and_eval(). Make each code
13686 call a separate case that can be individually tested.
13687 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13688 proc. Call cont_and_backtrace for each of the code paths that
13689 we want to test in the unwinder.
13690
b7f38fda
AA
136912016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13692
13693 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13694 the definition of struct S.
13695
1f8db343
CM
136962016-11-11 Catherine Moore <clm@codesourcery.com>
13697
13698 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13699
fad0c9fb
PA
137002016-11-09 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.base/commands.exp (runto_or_return): New procedure.
13703 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13704 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13705 (progvar_simple_while_test, progvar_complex_if_while_test)
13706 (if_while_breakpoint_command_test)
13707 (infrun_breakpoint_command_test, breakpoint_command_test)
13708 (user_defined_command_test, watchpoint_command_test)
13709 (test_command_prompt_position, redefine_hook_test)
13710 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13711 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13712 multi_line_input and multi_line. Remove gdb_expect and
13713 gdb_stop_suppressing_tests uses.
13714 * lib/gdb.exp (valnum_re): New global.
13715 (multi_line_input): New procedure.
13716
8354c62c
SM
137172016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13718
13719 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13720 Remove.
13721 (test_setup): Define with proc_with_prefix.
13722 (test_cli_inferior): Likewise.
13723 (test_cli_thread): Likewise.
13724 (test_cli_frame): Likewise.
13725 (test_cli_select_frame): Likewise.
13726 (test_cli_up_down): Likewise.
13727 (test_mi_thread_select): Likewise.
13728 (test_mi_stack_select_frame): Likewise.
13729 (test_cli_in_mi_inferior): Likewise.
13730 (test_cli_in_mi_thread): Likewise.
13731 (test_cli_in_mi_frame): Likewise.
13732 (top level): Do not use with_test_prefix_procname.
13733
64f367a2
PA
137342016-11-09 Pedro Alves <palves@redhat.com>
13735
13736 * gdb.base/commands.exp (gdbvar_simple_if_test)
13737 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13738 (progvar_simple_if_test, progvar_simple_while_test)
13739 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13740 (infrun_breakpoint_command_test, breakpoint_command_test)
13741 (user_defined_command_test, watchpoint_command_test)
13742 (test_command_prompt_position, deprecated_command_test)
13743 (bp_deleted_in_command, temporary_breakpoint_commands)
13744 (stray_arg0_test, source_file_with_indented_comment)
13745 (recursive_source_test, if_commands_test)
13746 (error_clears_commands_left, redefine_hook_test)
13747 (redefine_backtrace_test): Use proc_with_prefix.
13748 * lib/gdb.exp (proc_with_prefix): New proc.
13749
0bb65f1e
AA
137502016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13751
13752 * gdb.base/tui-layout.c: New file.
13753 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13754 disassembly window contains very long lines.
13755
7353f247
TT
137562016-11-08 Tom Tromey <tom@tromey.com>
13757
13758 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13759 depend on Python 2.
13760
30a7bb83
TT
137612016-11-08 Tom Tromey <tom@tromey.com>
13762
13763 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13764 New method.
13765
cdf5a07c
MG
137662016-10-29 Manish Goregaokar <manish@mozilla.com>
13767
2806dc7e 13768 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13769
51a789c3
MG
137702016-10-27 Manish Goregaokar <manish@mozilla.com>
13771
2806dc7e
PA
13772 * gdb.rust/simple.rs: Add test for univariant enums without
13773 discriminants and for encoded struct-like enums.
51a789c3 13774
f610ab6d
PA
137752016-10-28 Pedro Alves <palves@redhat.com>
13776
13777 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13778 gdb_test_multiple, tighten regexps and match symtabs and line
13779 tables incrementally.
13780
b129b0ca
LM
137812016-10-28 Luis Machado <lgustavo@codesourcery.com>
13782
13783 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13784 general.
13785
ecf45d2c
SL
137862016-10-25 Luis Machado <lgustavo@codesourcery.com>
13787
13788 * gdb.base/exec-invalid-sysroot.exp: New file.
13789
b8d38ee4
JK
137902016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13791
13792 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13793
f90fd8c2
JK
137942016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13795
13796 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13797
2d2476aa
MR
137982016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13799
2806dc7e
PA
13800 * gdb.base/killed-outside.exp: Remove $options from a call to
13801 `prepare_for_testing'.
2d2476aa 13802
e42b25a0
SM
138032016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13804
13805 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13806 Change test message.
13807
3ccdb432
SM
138082016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13809
13810 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13811 Update comment.
13812
5bad3170
SM
138132016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13814
13815 * gdb.trace/mi-trace-save.exp: New file.
13816
5ad9dba7
YQ
138172016-10-13 Yao Qi <yao.qi@linaro.org>
13818
13819 * gdb.base/code_elim.exp (get_var_address): Remove.
13820 * gdb.base/relocate.exp: Likewise.
13821 * gdb.base/shreloc.exp: Likewise.
13822 * lib/gdb.exp (get_var_address): New.
13823
62df7e21
YQ
138242016-10-13 Yao Qi <yao.qi@linaro.org>
13825
13826 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13827 floating point tests if $skip_float_test is false.
13828
4dac951e
LM
138292016-10-12 Luis Machado <lgustavo@codesourcery.com>
13830
13831 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13832 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13833 argc values.
13834 Add 1 to argc so we guarantee distinct initial/modified argc values.
13835
8f1a8fc4
JK
138362016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13837
13838 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13839
16c85b5d
JK
138402016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13841
13842 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13843 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13844 * gdb.arch/vsx-regs.exp: Likewise.
13845
1d0e042a
YQ
138462016-10-07 Yao Qi <yao.qi@linaro.org>
13847
13848 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13849
68dadef5
MM
138502016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13851
13852 * gdb.python/python.exp: Test decode_line("*0").
13853
33fa2c6e
DE
138542016-10-06 Doug Evans <dje@google.com>
13855
13856 * gdb.python/py-value.exp (test_value_creation): Add test for large
13857 unsigned 64-bit value.
13858
9c37b5ae
TT
138592016-10-06 Tom Tromey <tom@tromey.com>
13860
13861 * gdb.compile/compile.exp: Change java tests to rust.
13862 * gdb.base/setshow.exp: Change java tests to rust.
13863 * gdb.base/default.exp: Remove java from language list.
13864 * README (Examples): Update language example.
13865 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13866 test.
13867 * lib/gdb.exp (skip_java_tests): Remove.
13868 * lib/java.exp: Remove.
13869 * gdb.java: Remove.
13870
78b86327
MR
138712016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13872
13873 * gdb.arch/mips-fcr.exp: New test.
13874 * gdb.arch/mips-fcr.c: Source for the new test.
13875
7470adbb
MR
138762016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13877
13878 * gdb.base/solib-disc.exp: Use `standard_output_file'
13879 throughout.
13880
4a556533
PA
138812016-10-06 Pedro Alves <palves@redhat.com>
13882
13883 * gdb.base/jit-simple-dl.c: New file.
13884 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13885 * gdb.base/jit-simple.c: ... this.
13886 * gdb.base/jit-simple.exp (jit_run): Delete.
13887 (build_jit): New proc.
13888 (jit_test_reread): Recompile either the main program or the shared
13889 library, depending on what is being tested. Skip changing address
13890 if caller wants to. Compare before/after addresses. If testing
13891 standalone, explicitly load the binary. Test "maint info
13892 breakpoints".
13893 (top level): Add "standalone vs shared lib" and "change address"
13894 vs "same address" axes.
13895
5a122fbc
PA
138962016-10-06 Pedro Alves <palves@redhat.com>
13897
13898 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13899 call.
13900 (jit_run): Delete.
13901 (jit_test_reread): Use with_test_prefix. Reload the main binary
13902 explicitly. Compare the before/after addresses of the JIT
13903 descriptor.
13904
ee8da4b8
DE
139052016-08-15 Doug Evans <dje@google.com>
13906
13907 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13908 for single bitfields is bool.
13909 * gdb.xml/tdesc-regs.exp: Ditto.
13910
f389f6fe
JK
139112016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13912
13913 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13914
fdebf1a4
YQ
139152016-10-05 Yao Qi <yao.qi@linaro.org>
13916
13917 * lib/gdb.exp (support_complex_tests): Return zero if
13918 gdb_skip_float_test return true.
13919
9c36d954 139202016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13921 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13922
13923 PR gdb/20487
13924 * gdb.mi/user-selected-context-sync.exp: New file.
13925 * gdb.mi/user-selected-context-sync.c: New file.
13926
4034d0ff 139272016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13928 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13929
13930 PR gdb/20487
13931 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13932 =thread-select-event check.
13933
a4297203
PB
139342016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13935
13936 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13937 the compulsory L operand changes.
13938 * gdb.arch/powerpc-power.s: Likewise.
13939
bb805577
JK
139402016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13941
13942 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13943 * gdb.base/jit-attach-pie.c: New file.
13944 * gdb.base/jit-attach-pie.exp: New file.
13945
6d61dee5
PA
139462016-09-28 Pedro Alves <palves@redhat.com>
13947
13948 * gdb.base/infcall-input.c: New file.
13949 * gdb.base/infcall-input.exp: New file.
13950
f73842fc
YQ
139512016-09-22 Yao Qi <yao.qi@linaro.org>
13952
13953 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13954 (gdb_exit): Rename it to ...
13955 (gdbserver_gdb_exit): ... Close GDBserver.
13956 (gdb_exit): New proc, call gdbserver_gdb_exit.
13957 (mi_gdb_exit): Likewise.
13958
90681dab
YQ
139592016-09-22 Yao Qi <yao.qi@linaro.org>
13960
13961 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13962 path.
13963 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13964 Remove duplication.
13965
9c211fd8
YQ
139662016-09-22 Yao Qi <yao.qi@linaro.org>
13967
13968 * lib/gdbserver-support.exp: Check the existence of
13969 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13970
ad0a504f
AK
139712016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13972
13973 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13974
36cf1806
TT
139752016-09-21 Tom Tromey <tom@tromey.com>
13976
13977 PR gdb/20604:
13978 * gdb.base/quit.exp: New file.
13979
74172ecf
SM
139802016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13981
13982 * .gitignore: New file.
13983
3d0ec882
MR
139842016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13985
13986 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13987 throughout.
13988
8193adea
AA
139892016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13990
13991 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13992
d41a5c09
JK
139932016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13994
13995 * gdb.cp/casts.cc (decltype): Move it ...
13996 (main): ... with its call to ...
13997 * gdb.cp/casts03.cc: ... a new file.
13998 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13999
d2dfe700
JK
140002016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14001
14002 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14003
e2a92b16
PB
140042016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14005
14006 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14007 and sync up the test with tests in gas/testsuite/gas/ppc.
14008 * gdb.arch/powerpc-power.exp: Likewise.
14009
49b4de64
JK
140102016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14011
14012 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14013
2c29df25
SDJ
140142016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14015 Jan Kratochvil <jan.kratochvil@redhat.com>
14016
14017 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14018 make m1's definition to be different from m2's. Use 'dummy' as an
14019 argument for probe 'two'.
14020
cc3c2846
JB
140212016-09-10 Jon Beniston <jon@beniston.com>
14022
14023 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14024 for sim target.
14025
e1b2624a
AA
140262016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14027
14028 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14029 variable declaration.
14030 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14031 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14032 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14033 received HWCAP as its argument.
14034
4295e285
PA
140352016-09-06 Pedro Alves <palves@redhat.com>
14036
14037 * gdb.base/new-ui-pending-input.c: New file.
14038 * gdb.base/new-ui-pending-input.exp: New file.
14039 * gdb.exp (clear_gdb_spawn_id): New procedure.
14040 (with_spawn_id): Check whether gdb_spawn_id exists before
14041 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14042 on exit.
14043
00d5215e
UW
140442016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14045
14046 * gdb.base/float128.c: New file.
14047 * gdb.base/float128.exp: Likewise.
14048 * gdb.base/floatn.c: Likewise.
14049 * gdb.base/floatn.exp: Likewise.
14050
a9ff5f12
UW
140512016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14052
14053 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14054
f245535c
PA
140552016-09-05 Pedro Alves <palves@redhat.com>
14056
14057 PR backtrace/19927
14058 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14059 unwinders are immediately called as side effect of "source" or
14060 "disable unwinder" commands.
14061 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14062
ae9cf263
YQ
140632016-09-02 Yao Qi <yao.qi@linaro.org>
14064
14065 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14066 is true and $type is "float" or "double".
14067
27aba047
YQ
140682016-09-02 Yao Qi <yao.qi@linaro.org>
14069
14070 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14071 true.
14072 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14073 * gdb.base/call-rt-st.exp: Likewise.
14074 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14075 return value instead of gdb,skip_float_test.
14076 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14077 (do_function_calls): Use its return value instead of
14078 gdb,skip_float_test.
14079 * gdb.base/finish.exp: Likewise.
14080 * gdb.base/funcargs.exp: Likewise.
14081 * gdb.base/return.exp: Likewise.
14082 * gdb.base/return2.exp: Likewise.
14083 * gdb.base/varargs.exp: Likewise.
14084 * lib/gdb.exp (gdb_skip_float_test): Change it to
14085 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14086
5af962df
AA
140872016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14088
14089 * gdb.multi/tids.exp: Test "thread apply all".
14090
7fac6910
JK
140912016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14092
14093 * gdb.base/default.exp (tty): Remove.
14094
bb1fe4ac
KB
140952016-08-24 Kevin Buettner <kevinb@redhat.com>
14096
2806dc7e
PA
14097 * gdb.python/py-recurse-unwind.c: New file.
14098 * gdb.python/py-recurse-unwind.py: New file.
14099 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14100
0a1ddfa6
SM
141012016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14102
14103 * gdb.base/set-inferior-tty.exp: New file.
14104 * gdb.base/set-inferior-tty.c: New file.
14105
d9de1fe3
PA
141062016-08-23 Pedro Alves <palves@redhat.com>
14107
14108 PR gdb/20494
14109 * gdb.base/new-ui-echo.c: New file.
14110 * gdb.base/new-ui-echo.exp: New file.
14111
e9d9abd7
YQ
141122016-08-23 Yao Qi <yao.qi@linaro.org>
14113
14114 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14115 gdbserver_spawn.
14116 * gdb.server/connect-without-multi-process.exp (do_test):
14117 Likewise.
14118
3589529e
YQ
141192016-08-23 Yao Qi <yao.qi@linaro.org>
14120
14121 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14122 standalone_txt. Delete gdb_txt and standalone_txt on host
14123 and target. Spawn the binary on target. Copy files from
14124 target to host.
14125
6bb90213
PA
141262016-08-22 Pedro Alves <palves@redhat.com>
14127
14128 PR gdb/20505
14129 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14130 with_test_prefix. Factor out bits to ...
14131 (test_no_vdso): ... this new procedure.
14132
20c2c024
CL
141332016-08-19 Carl Love <cel@us.ibm.com>
14134
14135 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14136 maintaining separate logic for constructing the output path.
14137 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14138 * gdb.arch/ppc-dfp.exp: Likewise.
14139 * gdb.arch/ppc-fp.exp: Likewise.
14140 * gdb.arch/vsx-regs.exp: Likewise.
14141 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14142 binprefix for generating the additional binary files.
14143
0646e07d
PA
141442016-08-19 Pedro Alves <palves@redhat.com>
14145
14146 * gdb.trace/mi-trace-frame-collected.exp
14147 (test_trace_frame_collected): On x32, expect two registers.
14148
46da9242
CL
141492016-08-18 Carl Love <cel@us.ibm.com>
14150
14151 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14152 and sync up the test with tests in gas/testsuite/gas/ppc.
14153 * gdb.arch/powerpc-power.exp: Likewise.
14154
eb2332d7
SM
141552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14156
14157 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14158 expected error message.
14159
63c61e04
SM
141602016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14161
14162 * gdb.multi/remove-inferiors.exp: New file.
14163 * gdb.multi/remove-inferiors.c: New file.
14164
7b17065f
YQ
141652016-08-12 Yao Qi <yao.qi@linaro.org>
14166
14167 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14168 argument list.
14169
01d3dedf
PA
141702016-08-10 Pedro Alves <palves@redhat.com>
14171
14172 PR gdb/19187
14173 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14174 setup_kfails.
14175
3eb7562a
PA
141762016-08-09 Pedro Alves <palves@redhat.com>
14177 Simon Marchi <simon.marchi@ericsson.com>
14178
14179 PR gdb/20418
14180 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14181 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14182
80614914
PA
141832016-08-09 Pedro Alves <palves@redhat.com>
14184
14185 PR mi/20431
14186 * gdb.mi/mi-cmd-error.exp: New file.
14187
f348d89a
PA
141882016-08-09 Pedro Alves <palves@redhat.com>
14189
14190 PR gdb/18653
14191 * gdb.base/signals-state-child.c: New file.
14192 * gdb.base/signals-state-child.exp: New file.
14193 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14194
e5ca03b4
PA
141952016-08-09 Pedro Alves <palves@redhat.com>
14196
14197 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14198
282a0691
TT
141992016-08-03 Tom Tromey <tom@tromey.com>
14200
14201 PR python/18565:
14202 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14203
41bfcd63
YQ
142042016-08-01 Yao Qi <yao.qi@linaro.org>
14205
14206 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14207 variable mode to "multi-process" if $multi_process is 1, otherwise
14208 set it to "single-process".
14209
e3465b24
YQ
142102016-08-01 Yao Qi <yao.qi@linaro.org>
14211
14212 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14213 * gdb.cp/cpexprs.exp: Likewise.
14214 * gdb.cp/m-static.exp: Likewise.
14215
0b31a4bc
TT
142162016-07-26 Tom Tromey <tom@tromey.com>
14217
14218 PR python/20190:
14219 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14220 test.
14221
e0461dbb
MM
142222016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14223
14224 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14225 selecting assembly source files.
14226 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14227 assembly source files.
14228 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14229 assembly source files.
14230 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14231 selecting assembly source files.
14232
8194e927
SM
142332016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14234
14235 * gdb.base/new-ui.exp (do_test_invalid_args): New
14236 procedure.
14237
c0272db5
TW
142382016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14239
14240 * gdb.btrace/reconnect.c: New file.
14241 * gdb.btrace/reconnect.exp: New file.
14242
e3487908
GKB
142432016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14244
14245 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14246 to test_catch_syscall_group.
14247 (test_catch_syscall_group): New.
14248
12df5c00
TT
142492016-07-21 Tom Tromey <tom@tromey.com>
14250
14251 * gdb.rust/simple.rs (main): Use empty struct expression.
14252 * gdb.rust/simple.exp: Add tests for empty struct expression.
14253
bae62ee2
YQ
142542016-07-21 Yao Qi <yao.qi@linaro.org>
14255
14256 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14257 if gdb_skip_xml_test is true on some targets.
14258
b1b53fb3
YQ
142592016-07-21 Yao Qi <yao.qi@linaro.org>
14260
14261 * gdb.server/solib-list.exp: Unset last_loaded_file.
14262
027d97f8
JK
142632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14264
14265 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14266 "step into captured_main (args)".
14267
7674d381
JK
142682016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14269
14270 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14271
72b5d099
JK
142722016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14273
14274 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14275
1f960ced
PA
142762016-07-19 Pedro Alves <palves@redhat.com>
14277
14278 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14279 * gdb.opt/inline-bt.exp: Likewise.
14280 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14281 additional_flags=-Winline.
14282 * gdb.opt/inline-locals.exp: Likewise.
14283 * gdb.opt/inline-markers.c (ATTR): Define.
14284 (inlined_fn): Use it.
14285
f25827c1
YQ
142862016-07-19 Yao Qi <yao.qi@linaro.org>
14287
14288 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14289 (test_with_self): Remove some code. Remove argument executable.
14290 (top-level): Use do_self_tests.
14291
37539ebe
DB
142922016-07-15 Zachary Welch <zwelch@codesourcery.com>
14293 Don Breazeal <donb@codesourcery.com>
14294
14295 * gdb.base/maint.exp: Escape paths used in regular expressions.
14296 * gdb.stabs/weird.exp: Likewise.
14297
dac790e1
TT
142982016-07-13 Tom Tromey <tom@tromey.com>
14299
14300 PR python/15620, PR python/18620:
14301 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14302 (test_bkpt_events): New procs.
14303
93daf339
TT
143042016-07-13 Tom Tromey <tom@tromey.com>
14305
14306 PR python/17698:
14307 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14308 test.
14309 (test_watchpoints): Likewise.
14310 (test_bkpt_pending): New proc.
14311
6571a381
TT
143122016-07-13 Tom Tromey <tom@tromey.com>
14313
14314 PR cli/18053:
14315 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14316 completion test.
14317
e8732474
JK
143182016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14319
14320 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14321 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14322 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14323 f_label.
14324 (g): Rename g_end_lbl to g_label.
14325 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14326 low_pc and high_pc.
14327 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14328
e0f3fd7c
TT
143292016-07-12 Tom Tromey <tom@tromey.com>
14330
14331 PR python/19293:
14332 * gdb.python/py-unwind-maint.exp: Update tests.
14333
3cfe46b6
YQ
143342016-07-12 Yao Qi <yao.qi@linaro.org>
14335
14336 * lib/selftest-support.exp (selftest_setup): Match the output
14337 when captured_main is inlined.
14338
4f19a0e6
WT
143392016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14340
14341 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14342 New variables.
14343 (print this%a, print this%b, print this): New tests.
14344 * gdb.fortran/derived-types.f90 (this): New object and
14345 initialization.
14346
986cf455
SM
143472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14348
14349 * gdb.ada/arraydim.exp: Remove extra directory level in build
14350 directory.
14351
f0464b23
SM
143522016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14353
14354 * lib/ada.exp: Remove extra directory level in build directory.
14355 * gdb.ada/cond_lang.exp: Likewise.
14356 * gdb.ada/exec_changed.exp: Likewise.
14357 * gdb.ada/lang_switch.exp: Likewise.
14358
42d94011
MG
143592016-07-06 Manish Goregaokar <manish@mozilla.com>
14360
2806dc7e
PA
14361 * simple.rs: Add test for raw pointer subscripting.
14362 * simple.exp: Add test expectations.
42d94011 14363
647c264c
YQ
143642016-07-05 Yao Qi <yao.qi@linaro.org>
14365
14366 * gdb.mi/mi-reverse.exp: Match =record-started output.
14367
20aa2c60
PA
143682016-07-01 Pedro Alves <palves@redhat.com>
14369
14370 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14371 procedure.
14372 (jit_reader_test): Test the jit reader's unwinder.
14373 * gdb.base/jithost.c (jit_function_00_code): New global.
14374 (main): Use memcpy to fill in the mmapped code, instead of poking
14375 bytes manually here.
14376 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14377 value.
14378 (read_debug_info): Save the function's range.
14379 (read_sp): New function.
14380 (unwind_frame): Use it. Also unwind RBP.
14381 (get_frame_id): Use read_sp.
14382 (gdb_init_reader): Use calloc instead of malloc.
14383 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14384 parameter. Use gdb_test_multiple.
14385
ced2dffb
PA
143862016-07-01 Pedro Alves <palves@redhat.com>
14387 Antoine Tremblay <antoine.tremblay@ericsson.com>
14388
14389 * gdb.threads/process-dies-while-detaching.c: New file.
14390 * gdb.threads/process-dies-while-detaching.exp: New file.
14391
63000888
PA
143922016-07-01 Pedro Alves <palves@redhat.com>
14393
14394 * gdb.multi/watchpoint-multi-exit.c: New file.
14395 * gdb.multi/watchpoint-multi-exit.exp: New file.
14396
038d4868
PA
143972016-06-30 Pedro Alves <palves@redhat.com>
14398
14399 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14400 unset inferior_spawn_id.
14401
994e9c83
PA
144022016-06-30 Pedro Alves <palves@redhat.com>
14403
14404 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14405 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14406
e5653468
YQ
144072016-06-29 Yao Qi <yao.qi@linaro.org>
14408
14409 * gdb.base/return.c: Add copyright header.
14410
803b47e5
TT
144112016-06-29 Tom Tromey <tom@tromey.com>
14412
14413 PR python/20129:
14414 * gdb.python/py-framefilter.exp: Add tests for setting priority
14415 and disabling of non-existent frame filter.
14416
28244707
YQ
144172016-06-29 Yao Qi <yao.qi@linaro.org>
14418
14419 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14420 0x0f07ff.
14421
a31d2f06
YQ
144222016-06-28 Yao Qi <yao.qi@linaro.org>
14423
14424 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14425 triplets. Start gdb, execute catch syscall, and continue. Check
14426 gdb's output to determine catch syscall is supported.
14427
921d8f54
MG
144282016-06-27 Manish Goregaokar <manish@mozilla.com>
14429
25d49b86
PA
14430 * gdb.rust/simple.rs: Add test for returning unit in a function.
14431 * gdb.rust/simple.exp: Add expectation for functions returning
14432 unit.
921d8f54 14433
f4952523
PMR
144342016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14435
14436 * gdb.python/py-breakpoint-create-fail.c,
14437 gdb.python/py-breakpoint-create-fail.exp,
14438 gdb.python/py-breakpoint-create-fail.py: New testcase.
14439
fccb08f8
MG
144402016-06-25 Manish Goregaokar <manish@mozilla.com>
14441
14442 PR gdb/20239
14443 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14444 * gdb.rust/simple.exp: Add test expectations for new NonZero
14445 tests.
fccb08f8 14446
6b850546
DT
144472016-06-24 David Taylor <dtaylor@emc.com>
14448
14449 * gdb.base/offsets.exp: New file.
14450 * gdb.base/offsets.c: New file.
14451
17621150
TT
144522016-06-23 Tom Tromey <tom@tromey.com>
14453
14454 PR gdb/16483:
14455 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14456 before any filters are loaded.
14457
04d59df6
WT
144582016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14459
14460 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14461 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14462 structs.
14463 * gdb.fortran/derived-type-function.exp: New file.
14464 * gdb.fortran/derived-type-function.f90: New file.
14465
14466
ac69f786
PA
144672016-06-21 Pedro Alves <palves@redhat.com>
14468
14469 * gdb.base/new-ui.exp: New file.
14470 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14471 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14472 (with_spawn_id): New procedure.
14473
49940788
PA
144742016-06-21 Pedro Alves <palves@redhat.com>
14475
14476 * gdb.mi/mi-exec-run.exp: New file.
14477
ef274d26
PA
144782016-06-21 Pedro Alves <palves@redhat.com>
14479
14480 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14481 breakpoint command's output on the main UI.
14482 (test_break): New procedure, factored out from calls in the top
14483 level.
14484 (top level): Use foreach_with_prefix to test MI as main UI and as
14485 separate UI.
14486
468afe6c
PA
144872016-06-21 Pedro Alves <palves@redhat.com>
14488
14489 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14490 (test_awatch_creation_and_listing)
14491 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14492 Remove 'type' parameter.
14493 (test_watchpoint_all): New parameter mi_mode. Remove
14494 with_test_prefix.
14495 (top level): Use foreach_with_prefix, and add main/separate UI MI
14496 testing axis.
14497
51f77c37
PA
144982016-06-21 Pedro Alves <palves@redhat.com>
14499
14500 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14501 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14502 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14503 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14504 (gdb_main_spawn_id, mi_spawn_id): Declare and
14505 comment.
14506 (mi_create_inferior_pty): New procedure,
14507 factored out from default_mi_gdb_start.
14508 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14509 procedures.
14510 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14511 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14512 Use mi_create_inferior_pty.
14513 (mi_gdb_start): Use eval to pass down args list.
14514
8980e177
PA
145152016-06-21 Pedro Alves <palves@redhat.com>
14516
14517 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14518 * gdb.opt/inline-cmds.exp: Add MI tests.
14519
f38d3ad1
PA
145202016-06-21 Pedro Alves <palves@redhat.com>
14521
14522 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14523
45db7c09
PA
145242016-06-21 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14527 (top level): Use it instead of mi_execute_to.
14528
5a069ab3
PA
145292016-06-21 Pedro Alves <palves@redhat.com>
14530
14531 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14532 (cont_handler_str): New.
14533 (signal_stop_handler): Set stop_handler_str instead of printing to
14534 stdout.
14535 (continue_handler): Set cont_handler_str instead of printing to
14536 stdout.
14537 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14538 mi_send_resuming_command. Print stop_handler_str and
14539 cont_handler_str instead of expecting the python events print
14540 directly.
14541
2838cc1d
SD
145422016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14543
14544 * gdb.base/jit-reader.exp: New file.
14545 * gdb.base/jithost.c: New file.
14546 * gdb.base/jithost.h: New file.
14547 * gdb.base/jitreader.c : New file.
14548 * gdb.base/jit-protocol.h: New file.
14549
21a77091
YQ
145502016-06-17 Yao Qi <yao.qi@linaro.org>
14551
14552 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14553 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14554 and detach-on-fork. Adjust tests.
14555 (top level): Invoke break_cond_on_syscall with combinations of
14556 syscall, follow-fork-mode and detach-on-fork.
14557
f50bf8e5
YQ
145582016-06-17 Yao Qi <yao.qi@linaro.org>
14559
14560 * gdb.base/step-over-exit.c: New.
14561 * gdb.base/step-over-exit.exp: New.
14562
a28d8e50
YTL
145632016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14564
14565 * gdb.base/float.exp: Add target check for nds32*-*-*.
14566 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14567
cad8e26d
AB
145682016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14569
14570 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14571 for unsupported target features.
14572 * gdb.base/call-rt-st.exp: Likewise.
14573 * gdb.base/call-sc.exp: Likewise.
14574 * gdb.base/call-signal-resume.exp: Likewise.
14575 * gdb.base/call-strs.exp: Likewise.
14576 * gdb.base/callexit.exp: Likewise.
14577 * gdb.base/callfuncs.exp: Likewise.
14578 * gdb.base/nodebug.exp: Likewise.
14579 * gdb.base/printcmds.exp: Likewise.
14580 * gdb.base/ptype.exp: Likewise.
14581 * gdb.base/structs.exp: Likewise.
14582 * gdb.base/unwindonsignal.exp: Likewise.
14583 * gdb.cp/gdb2495.exp: Likewise.
14584 * gdb.cp/templates.exp: Likewise.
14585 * gdb.cp/virtfunc.exp: Likewise.
14586 * gdb.threads/hand-call-in-threads.exp: Likewise.
14587 * gdb.threads/interrupted-hand-call.exp: Likewise.
14588 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14589
347dc102
TT
145902016-06-10 Tom Tromey <tom@tromey.com>
14591
14592 PR rust/20110:
14593 * gdb.rust/expr.exp: Add test for integer constant larger than
14594 i32.
14595
5e13cf25
BH
145962016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14597
14598 * gdb.fortran/nested-funcs.exp: New.
14599 * gdb.fortran/nested-funcs.f90: New.
14600
bb556f1f
TK
146012016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14602
14603 * gdb.base/examine-backward.c: New file.
14604 * gdb.base/examine-backward.exp: New file.
14605
38b022b4
SM
146062016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14607
14608 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14609 matching.
14610
1b40ec05
TT
146112016-06-02 Tom Tromey <tom@tromey.com>
14612
14613 PR python/18984:
14614 * gdb.python/py-shared.exp: Add solib_name test.
14615
193bd378
SM
146162016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14617
14618 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14619
3326303b
MG
146202016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14621
14622 PR c++/19893
14623 * gdb.dwarf2/implref.exp: Rename to...
14624 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14625 * gdb.dwarf2/implref-array.c: New file.
14626 * gdb.dwarf2/implref-array.exp: Likewise.
14627 * gdb.dwarf2/implref-global.c: Likewise.
14628 * gdb.dwarf2/implref-global.exp: Likewise.
14629 * gdb.dwarf2/implref-struct.c: Likewise.
14630 * gdb.dwarf2/implref-struct.exp: Likewise.
14631
825c8ef2
AT
146322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14633
14634 * gdb.trace/trace-condition.exp: Add 64bit tests.
14635
2320162a
AT
146362016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14637
14638 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14639 bits types.
14640 (main): Adapt to 8 to 64 bits types.
14641 * gdb.trace/trace-condition.exp: Add new tests.
14642
a7818233
AT
146432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14644
14645 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14646
0d336466
AT
146472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14648
14649 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14650 Move condition tests...
14651 * gdb.trace/trace-condition.exp: Here.
14652
7faeb45a
AT
146532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14654
14655 * gdb.trace/trace-condition.exp: Add counter-case tests.
14656
e385593e
JK
146572016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14658
14659 PR c++/15231
14660 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14661 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14662
744608cc
PA
146632016-05-27 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14666 New procedure.
14667 (top level): Call it, and bail out of DejaGnu is known to be bad.
14668
ac775bf4
AB
146692016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14670
14671 * gdb.base/whatis.c: Extend the test case.
14672 * gdb.base/whatis.exp: Add additional tests.
14673
2bbad2ea
BH
146742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14675
14676* gdb.fortran/type.f90: Add pointer variable.
14677* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14678
8b70175d
BH
146792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14680
14681 * gdb.fortran/vla-type.exp: Fix testcase name.
14682
86d8a848
BH
146832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14684
14685 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14686
e188eb36
BH
146872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14688
14689 * gdb.fortran/type.f90: Add nested structures.
14690 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14691 * gdb.fortran/derived-type.exp: Adapt expected output.
14692 * gdb.fortran/vla-type.exp: Adapt expected output.
14693
9b2db1fd
BH
146942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14695
14696 * gdb.fortran/whatis_type.exp: Adapt expected output.
14697
72b17055
BH
146982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14699
14700 * gdb.fortran/print_type.exp: Fix expected output.
14701 * gdb.fortran/whatis_type.exp: Fix expected output.
14702
3cd81d8d
BH
147032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14704
14705 * gdb.fortran/whatis_type.exp: Use multi_line.
14706
ddae9462
TT
147072016-05-24 Tom Tromey <tom@tromey.com>
14708
14709 PR python/17386:
14710 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14711 use value as an index.
14712
1957f6b8
TT
147132016-05-23 Tom Tromey <tom@tromey.com>
14714
14715 PR python/17981:
14716 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14717 no-breakpoint case.
14718
026a9174
PA
147192016-05-24 Pedro Alves <palves@redhat.com>
14720
14721 PR gdb/19828
14722 * gdb.threads/clone-attach-detach.c: New file.
14723 * gdb.threads/clone-attach-detach.exp: New file.
14724
e70a7231
FR
147252016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14726
14727 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14728
0f6ed0e0
TT
147292016-05-23 Tom Tromey <tom@tromey.com>
14730
14731 PR python/19438, PR python/18393:
14732 * gdb.python/py-progspace.exp: Add "dir" test.
14733 * gdb.python/py-objfile.exp: Add "dir" test.
14734
ffd19d61
YQ
147352016-05-23 Yao Qi <yao.qi@linaro.org>
14736
14737 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14738 * gdb.arch/thumb2-it.exp: Likewise.
14739
9e8f9b05
SM
147402016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14741
14742 * gdb.mi/mi-threads-interrupt.c: New file.
14743 * gdb.mi/mi-threads-interrupt.exp: New file.
14744
61c6156d
SM
147452016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14746
14747 PR gdb/18077
14748 * gdb.mi/mi-async-run.exp: New file.
14749 * gdb.mi/mi-async-run.c: New file.
14750
67218854
TT
147512016-05-17 Tom Tromey <tom@tromey.com>
14752 Manish Goregaokar <manishsmail@gmail.com>
14753
14754 * lib/rust-support.exp: New file.
14755 * lib/gdb.exp (skip_rust_tests): New proc.
14756 (build_executable_from_specs): Handle rust.
14757 * lib/future.exp (gdb_find_rustc): New proc.
14758 (gdb_default_target_compile): Handle rust.
14759 * gdb.rust/expr.exp: New file.
14760 * gdb.rust/generics.exp: New file.
14761 * gdb.rust/generics.rs: New file.
14762 * gdb.rust/methods.exp: New file.
14763 * gdb.rust/methods.rs: New file.
14764 * gdb.rust/modules.exp: New file.
14765 * gdb.rust/modules.rs: New file.
14766 * gdb.rust/simple.exp: New file.
14767 * gdb.rust/simple.rs: New file.
14768
c44af4eb
TT
147692016-05-17 Tom Tromey <tom@tromey.com>
14770
14771 * gdb.base/default.exp (set language): Add rust.
14772
dcd1f979
TT
147732016-05-17 Tom Tromey <tom@tromey.com>
14774
14775 * gdb.gdb/unittest.exp: New file.
14776
155b7f57
YQ
147772016-05-16 Yao Qi <yao.qi@linaro.org>
14778
14779 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14780 shell_prompt. Update shell_prompt_re.
14781
8ddd5a6c
DE
147822016-05-12 Doug Evans <dje@google.com>
14783
14784 PR symtab/19999
14785 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14786 $options when building executable.
14787 * gdb.dwarf2/fission-loclists-pie.S: New file.
14788 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14789
02e370d9
SM
147902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14791
14792 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14793 of [is_remote target],
14794
8929ad8b
SM
147952016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14796
14797 * lib/gdb.exp (use_gdb_stub): New procedure.
14798
6c447423
DE
147992016-05-03 Yunlian Jiang <yunlian@google.com>
14800 Doug Evans <dje@google.com>
14801
14802 PR symtab/19914
14803 * gdb.dwarf2/dwp-sepdebug.c: New file.
14804 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14805
444e826c
SM
148062016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14807
14808 * gdb.base/detach.exp: Remove is_remote check.
14809
740feeaa
SM
148102016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14811
14812 * gdb.base/annota-input-while-running.exp: Don't check for
14813 [is_remote target]. Enable annotations after running to main.
14814 Remove unused "set test..." line.
14815
9080ac9d
SM
148162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14817
14818 * gdb.trace/trace-enable-disable.exp: New file.
14819 * gdb.trace/trace-enable-disable.c: New file.
14820
952ebca5
SM
148212016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14822
14823 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14824 use it in info sharedlibrary test.
14825 * gdb.trace/ftrace-lock.exp: Likewise.
14826 * gdb.trace/ftrace.exp: Likewise.
14827 * gdb.trace/range-stepping.exp: Likewise.
14828 * gdb.trace/trace-break.exp: Likewise.
14829 * gdb.trace/trace-condition.exp: Likewise.
14830 * gdb.trace/trace-mt.exp: Likewise.
14831
d9019901
SM
148322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14833
14834 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14835 (gdb_load_shlib): ... this.
14836 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14837 gdb_load_shlib.
14838 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14839 * gdb.base/ctxobj.exp: Likewise.
14840 * gdb.base/dprintf-pending.exp: Likewise.
14841 * gdb.base/dso2dso.exp: Likewise.
14842 * gdb.base/fixsection.exp: Likewise.
14843 * gdb.base/gcore-relro.exp: Likewise.
14844 * gdb.base/gdb1555.exp: Likewise.
14845 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14846 * gdb.base/gnu-ifunc.exp: Likewise.
14847 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14848 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14849 * gdb.base/pending.exp: Likewise.
14850 * gdb.base/print-file-var.exp: Likewise.
14851 * gdb.base/print-symbol-loading.exp: Likewise.
14852 * gdb.base/shlib-call.exp: Likewise.
14853 * gdb.base/shreloc.exp: Likewise.
14854 * gdb.base/so-impl-ld.exp: Likewise.
14855 * gdb.base/solib-disc.exp: Likewise.
14856 * gdb.base/solib-nodir.exp: Likewise.
14857 * gdb.base/solib-overlap.exp: Likewise.
14858 * gdb.base/solib-symbol.exp: Likewise.
14859 * gdb.base/solib-weak.exp (do_test): Likewise.
14860 * gdb.base/sym-file.exp: Likewise.
14861 * gdb.base/symtab-search-order.exp: Likewise.
14862 * gdb.base/type-opaque.exp: Likewise.
14863 * gdb.base/unload.exp: Likewise.
14864 * gdb.base/watchpoint-solib.exp: Likewise.
14865 * gdb.compile/compile.exp: Likewise.
14866 * gdb.cp/gdb2384.exp: Likewise.
14867 * gdb.cp/infcall-dlopen.exp: Likewise.
14868 * gdb.cp/re-set-overloaded.exp: Likewise.
14869 * gdb.fortran/library-module.exp: Likewise.
14870 * gdb.opt/solib-intra-step.exp: Likewise.
14871 * gdb.python/py-finish-breakpoint.exp: Likewise.
14872 * gdb.python/py-shared.exp: Likewise.
14873 * gdb.reverse/solib-precsave.exp: Likewise.
14874 * gdb.reverse/solib-reverse.exp: Likewise.
14875 * gdb.server/solib-list.exp: Likewise.
14876 * gdb.threads/dlopen-libpthread.exp: Likewise.
14877 * gdb.threads/tls-shared.exp: Likewise.
14878 * gdb.threads/tls-so_extern.exp: Likewise.
14879 * gdb.trace/change-loc.exp: Likewise.
14880 * gdb.trace/ftrace-lock.exp: Likewise.
14881 * gdb.trace/ftrace.exp: Likewise.
14882 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14883 * gdb.trace/pending.exp: Likewise.
14884 * gdb.trace/range-stepping.exp: Likewise.
14885 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14886 (strace_info_marker): Likewise.
14887 (strace_probe_marker): Likewise.
14888 (strace_trace_on_same_addr): Likewise.
14889 (strace_trace_on_diff_addr): Likewise.
14890 * gdb.trace/trace-break.exp: Likewise.
14891 * gdb.trace/trace-condition.exp: Likewise.
14892 * gdb.trace/trace-mt.exp: Likewise.
14893
fca4cfd9
SM
148942016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14895
14896 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14897 result of gdb_remote_download.
14898 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14899 * gdb.base/dso2dso.exp: Likewise.
14900 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14901 * gdb.base/print-file-var.exp: Likewise.
14902 * gdb.base/shlib-call.exp: Likewise.
14903 * gdb.base/shreloc.exp: Likewise.
14904 * gdb.base/solib-overlap.exp: Likewise.
14905 * gdb.base/solib-weak.exp (do_test): Likewise.
14906 * gdb.base/unload.exp: Likewise.
14907
11cf4ffb
YQ
149082016-04-27 Yao Qi <yao.qi@linaro.org>
14909
14910 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14911 exists.
14912
3e2e34f8
KB
149132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14914
14915 * vla-type.exp: Print structure from toplevel.
14916
8f07e298
BH
149172016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14918
14919 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14920 of dynamic types.
14921 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14922 of dynamic types.
14923
9920b434
BH
149242016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14925
14926 * gdb.fortran/vla-type.f90: New file.
14927 * gdb.fortran/vla-type.exp: New file.
14928
f3abeff5
YQ
149292016-04-25 Yao Qi <yao.qi@linaro.org>
14930
14931 * gdb.base/branch-to-self.c: New file.
14932 * gdb.base/branch-to-self.exp: New file.
14933
0a5d52f0
YQ
149342016-04-22 Yao Qi <yao.qi@linaro.org>
14935
14936 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14937 more after $hex.
14938
495346f6
YQ
149392016-04-22 Yao Qi <yao.qi@linaro.org>
14940
14941 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14942 * gdb.base/annota3.exp: Likewise.
14943
4a7e075c
YQ
149442016-04-22 Yao Qi <yao.qi@linaro.org>
14945
14946 * gdb.reverse/step-precsave.exp: Do one step and test program
14947 stops in "callee" and do multiple steps until program goes out
14948 of "callee".
14949 * gdb.reverse/step-reverse.exp: Likewise.
14950
5b061e98
YQ
149512016-04-22 Yao Qi <yao.qi@linaro.org>
14952
14953 * gdb.trace/signal.exp: Also pass if
14954 $tracepoint_hits($i) > $iterations.
14955
5c5dc57f
YQ
149562016-04-22 Yao Qi <yao.qi@linaro.org>
14957
14958 * gdb.trace/signal.c: New file.
14959 * gdb.trace/signal.exp: New file.
14960
a55411b9
DE
149612016-04-19 Doug Evans <xdje42@gmail.com>
14962
14963 * gdb.base/bad-file.exp: New file.
14964
a22df60a
MG
149652016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14966
14967 * gdb.dwarf2/implref.exp: New file.
14968
0c13f7e5
BH
149692016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14970
14971 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14972 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14973 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14974 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14975 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14976 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14977 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14978 * lib/fortran.exp (fortran_int4): New procedure.
14979 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14980 (fortran_logical4): Likewise.
14981
9b9b09e9
BH
149822016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14983
14984 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14985
a14d1f4d
BH
149862016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14987
14988 * lib/compiler.c: Add Intel specific preprocessor macros.
14989 * lib/compiler.cc: Likewise.
25d49b86 14990
7d49b1d0
LM
149912016-04-13 Luis Machado <lgustavo@codesourcery.com>
14992
14993 * gdb.server/connect-with-no-symbol-file.c: New file.
14994 * gdb.server/connect-with-no-symbol-file.exp: New file.
14995
8392fa22
SM
149962016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14997
14998 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14999
8c4c4aeb
SM
150002016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15001
15002 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15003 standard output directory.
15004
45e3745e
AT
150052016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15006
15007 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15008
e26b7e41
MM
150092016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15010
15011 * gdb.btrace/instruction_history.c (loop): Add declaration.
15012
8ce09462
AT
150132016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15014
15015 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15016
2e88a1ea
SM
150172016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15018
15019 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15020 parentheses to print.
15021 (continue_handler): Likewise.
15022
f48e22e3
SM
150232016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15024
15025 * gdb.server/solib-list.exp: Remove is_remote check.
15026 Pass shlib= to gdb_compile. Don't link shared library with
15027 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15028 Run binary filename through "readlink -f" on the target.
15029
096be756
PA
150302016-04-08 Pedro Alves <palves@redhat.com>
15031
15032 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15033 interpreter filename as argument to gdbserver_spawn.
15034 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15035 Return empty if $last_loaded_file does not exist.
15036
06500533
JK
150372016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15038
15039 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15040 * gdb.base/jit-main.c: Use exit after usage.
15041
2d35e871
JK
150422016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15043
15044 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15045 GDBHISTSIZE prior to the tests.
15046 * gdb.base/gdbinit-history.exp: Likewise.
15047
150482016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15049
15050 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15051 instead of build_executable. Use gdb_load_shlibs.
15052
c8064e7e
YQ
150532016-04-07 Yao Qi <yao.qi@linaro.org>
15054
15055 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15056 Execute "si" command.
15057
bde47561
YQ
150582016-04-07 Yao Qi <yao.qi@linaro.org>
15059
15060 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15061 number instead of the comments on some line.
15062
b16f8a3b
DB
150632016-04-06 Don Breazeal <donb@codesourcery.com>
15064
15065 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15066 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15067
c2f901df
SM
150682016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15069
15070 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15071 standard_output_file. Remove unused binfile variable.
15072
ac17fda0
CU
150732016-04-05 Catalin Udma <catalin.udma@freescale.com>
15074
15075 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15076 * gdb.python/py-mi-objfile.exp: Match "list main" output
15077 in console format.
15078
03a8c4df
SM
150792016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15080
15081 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15082 absolute.
15083
6e774b13
SM
150842016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15085
15086 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15087 absolute.
15088 * gdb.trace/ftrace.exp: Likewise.
15089 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15090 targets as well.
15091 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15092 (gdb_load_shlibs): Copy libraries to test directory when testing
15093 natively. Only set solib-search-path if testing remotely.
15094 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15095
7817ea46
SM
150962016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15097
15098 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15099 gdb_download. Use it even if the target is not remote.
15100 * gdb.base/jit.exp (compile_jit_test): Likewise.
15101 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15102 output directory if the destination board is local, otherwise use
15103 the standard remote_download from DejaGnu.
15104 (gdb_download): Remove.
15105 (gdb_load_shlibs): Use gdb_remote_download instead of
15106 gdb_download.
15107 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15108 Use gdb_remote_download instead of gdb_download. Use it even if
15109 the target is not remote.
15110 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15111 instead of gdb_download.
15112
7beb7f68
SM
151132016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15114
15115 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15116 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15117 run.
15118
cc63428a
AV
151192016-04-01 Artemiy Volkov <artemiyv@acm.org>
15120
15121 PR gdb/19820
15122 * gdb.base/printcmds.exp: Add artificial arrays tests.
15123
64cdf930
PA
151242016-03-31 Pedro Alves <palves@redhat.com>
15125
15126 PR gdb/19858
15127 * gdb.base/jit-main.c: Include unistd.h.
15128 (ATTACH): Define to 0 if not already defined.
15129 (wait_for_gdb, mypid): New globals.
15130 (WAIT_FOR_GDB): New macro.
15131 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15132 some breakpoint locations.
15133 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15134 New procedures.
15135 (one_jit_test): Add REATTACH parameter, and handle it. Use
15136 continue_to_test_location.
15137 (top level): Test attach, and adjusts calls to one_jit_test.
15138
40dea8cb
PA
151392016-03-31 Pedro Alves <palves@redhat.com>
15140
15141 PR gdb/19858
15142 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15143 BINSUFFIX parameter, and handle it.
15144 (top level): Adjust calls compile_jit_test.
15145
e7ea3ec7
CU
151462016-03-31 Catalin Udma <catalin.udma@freescale.com>
15147
15148 PR python/19743
15149 * gdb.python/py-mi-events-gdb.py: New file.
15150 * gdb.python/py-mi-events.c: New file.
15151 * gdb.python/py-mi-events.exp: New file.
15152
e6359af3
YQ
151532016-03-30 Yao Qi <yao.qi@linaro.org>
15154
15155 * gdb.reverse/until-precsave.exp: Match function name only.
15156 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15157 Move malloc to a condition block.
15158 * gdb.reverse/until-reverse.exp: Match function name only.
15159
a4105d04
MK
151602016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15161
15162 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15163 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15164 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15165 variable for GPR 0 instead of assuming it is register 0.
15166 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15167 * lib/trace-support.exp: Add s390 registers.
15168
bfa6adb9
YQ
151692016-03-29 Yao Qi <yao.qi@linaro.org>
15170
15171 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15172
1e6697ea
YQ
151732016-03-24 Yao Qi <yao.qi@linaro.org>
15174
15175 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15176 test message.
15177
64bcd522
AA
151782016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15179
15180 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15181 maintaining separate logic for constructing the output path.
15182
7868401b
DB
151832016-03-16 Don Breazeal <donb@codesourcery.com>
15184
15185 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15186 Retry fork and waitpid on interrupted system call errors.
15187 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15188 Use with_timeout_factor to increase timeout by factor of 10.
15189
1cafadb4
DB
151902016-03-15 Don Breazeal <donb@codesourcery.com>
15191
15192 * gdb.cp/scope-err.cc: New test program.
15193 * gdb.cp/scope-err.exp: New test script.
15194 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15195 lines and "set breakpoint here" comment.
15196 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15197 Fixed some whitespace and format issues.
15198 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15199 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15200
81516450
DE
152012016-03-15 Doug Evans <dje@google.com>
15202
15203 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15204 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15205 All callers updated. Add tests for enums, mixed flags register.
15206
aa52b601
DE
152072016-03-15 Doug Evans <dje@google.com>
15208
15209 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15210 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15211
fa4ff313
SM
152122016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15213
15214 * gdb.base/default.exp: Add $_as_string to the list of expected
15215 convenience functions.
15216
f2403c39
AB
152172016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15218
15219 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15220
f2f3ccb9
SM
152212016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15222
15223 * gdb.python/py-as-string.exp: New file.
15224 * gdb.python/py-as-string.c: New file.
15225
00dbd492
PA
152262016-03-09 Pedro Alves <palves@redhat.com>
15227
15228 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15229 signal" -> "Thread NN received signal" output change.
15230 * gdb.threads/ia64-sigill.exp: Likewise.
15231 * gdb.threads/linux-dp.exp: Likewise.
15232 * gdb.threads/manythreads.exp: Likewise.
15233 * gdb.threads/pending-step.exp: Likewise.
15234 * gdb.threads/print-threads.exp: Likewise.
15235 * gdb.threads/sigstep-threads.exp: Likewise.
15236 * gdb.threads/staticthreads.exp: Likewise.
15237 * gdb.threads/tls.exp: Likewise.
15238
1e6697ea
YQ
152392016-03-09 Pedro Alves <palves@redhat.com>
15240
15241 * gdb.base/command-line-input.exp: New file.
15242
b04fd3be
MK
152432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15244
15245 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15246 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15247 * gdb.trace/pending.exp: Accept leading dot before function name.
15248 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15249 * lib/trace-support.exp: Set registers for ppc.
15250
98fa59e9
MK
152512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15252
15253 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15254 use it for disassembly; accept .main in addition to main in backtrace.
15255
f77198c8
MK
152562016-03-09 Wei-cheng Wang <cole945@gmail.com>
15257 Marcin Kościelnicki <koriakin@0x04.net>
15258
15259 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15260 (gdb_recursion_test_ptr): New global variable.
15261 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15262 gdb_recursion_test.
15263 (gdb_c_test): Ditto.
15264
ba84e0da
MK
152652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15266
15267 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15268 ordering.
15269
4366d36e
MK
152702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15271
15272 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15273 (bar): Add bar_start_lbl label.
15274 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15275 of foo/bar for emitting DWARF and tracing.
15276
5eb264df
SDJ
152772016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15278
15279 * analyze-racy-logs.py: Set executable bit.
15280
fb6a751f
SDJ
152812016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15282
15283 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15284 (CHECK_TARGET_TMP): Likewise.
15285 (check-single-racy): New rule.
15286 (check-parallel-racy): Likewise.
15287 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15288 (do-check-parallel-racy): New rule.
15289 (check-racy/%.exp): Likewise.
15290 * README (Racy testcases): New section.
15291 * analyze-racy-logs.py: New file.
15292
bdf7e230
DE
152932016-03-03 Doug Evans <dje@google.com>
15294
15295 * gdb.base/skip.exp: Use with_test_prefix.
15296
4719d415
YQ
152972016-03-03 Yao Qi <yao.qi@linaro.org>
15298
15299 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15300 Invoke step_over_syscall "clone" and break_cond_on_syscall
15301 "clone".
15302 * gdb.base/step-over-clone.c: New file.
15303
ea507862
YQ
153042016-03-03 Yao Qi <yao.qi@linaro.org>
15305
15306 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15307 code format.
15308
8fc8cbda
YQ
153092016-03-03 Yao Qi <yao.qi@linaro.org>
15310
15311 * gdb.base/disp-step-fork.c: Rename to ...
15312 * gdb.base/step-over-fork.c: ... it. New file.
15313 * gdb.base/disp-step-vfork.c: Rename to ...
15314 * gdb.base/step-over-vfork.c: ... it. New file.
15315 * gdb.base/disp-step-syscall.exp: Rename to ...
15316 * gdb.base/step-over-syscall.exp: ... it. New file.
15317 (disp_step_cross_syscall): Rename to ...
15318 (step_over_syscall): ... it.
15319
92fa70b0
YQ
153202016-03-03 Yao Qi <yao.qi@linaro.org>
15321
15322 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15323 If target supports condition evaluation on target, invoke
15324 break_cond_on_syscall for fork and vfork.
15325
e197ad3c
YQ
153262016-03-03 Yao Qi <yao.qi@linaro.org>
15327
15328 * gdb.base/disp-step-syscall.exp: Don't invoke
15329 support_displaced_stepping.
15330 (disp_step_cross_syscall): Test with displaced stepping off and
15331 on if supported.
15332
0b47da9f
YQ
153332016-03-03 Yao Qi <yao.qi@linaro.org>
15334
15335 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15336 proc.
15337 (setup): New proc.
15338 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15339 and setup.
15340
065ab6dc
BH
153412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15342
15343 * gdb.fortran/vla-history.exp: Remove breakpoint.
15344
07e448ad 153452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15346
25d49b86
PA
15347 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15348 exceeds timeout.
07e448ad 15349
9ac2d526 153502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15351
25d49b86
PA
15352 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15353 breakpoint.
9ac2d526 15354
17807369
BH
153552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15356
15357 * gdb.mi/vla.f90: Nullify pointer after declaration.
15358
86e501af
PA
153592016-03-01 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15362
1e903e32
PA
153632016-03-01 Pedro Alves <palves@redhat.com>
15364
15365 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15366 before anything else.
15367 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15368 _GNU_SOURCE here.
15369 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15370 before anything else.
15371 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15372
6ccb54e2
PA
153732016-03-01 Pedro Alves <palves@redhat.com>
15374
15375 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15376
30ca9da1
YQ
153772016-03-01 Yao Qi <yao.qi@linaro.org>
15378
15379 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15380 prepare_for_testing.
15381
dc856b38
YQ
153822016-03-01 Yao Qi <yao.qi@linaro.org>
15383
15384 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15385
4a932159
AA
153862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15387
15388 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15389 manually constructing the output path.
15390
f2489477
AA
153912016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15392
15393 * gdb.arch/s390-stackless.S: New.
15394 * gdb.arch/s390-stackless.exp: New.
15395
38899f16
IB
153962016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15397
15398 * gdb.dlang/circular.c: New file.
15399 * gdb.dlang/circular.exp: New file.
15400
9fde51ed
YQ
154012016-02-26 Yao Qi <yao.qi@linaro.org>
15402
15403 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15404 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15405 (testcases): Update.
15406
ce90fefe
YQ
154072016-02-26 Yao Qi <yao.qi@linaro.org>
15408
15409 * gdb.reverse/aarch64.c: Rename to ...
15410 * gdb.reverse/insn-reverse.c: ... it.
15411 * gdb.reverse/aarch64.exp: Rename to ...
15412 * gdb.reverse/insn-reverse.exp: ... it.
15413
3263bceb
YQ
154142016-02-26 Yao Qi <yao.qi@linaro.org>
15415
15416 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15417 (testcase_ftype): New.
15418 (testcases): New array.
15419 (n_testcases): New.
15420 (main): Call each element in testcases.
15421 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15422 (read_testcase): New.
15423 Do the tests in a loop.
15424
6cb59ff1
YQ
154252016-02-25 Yao Qi <yao.qi@linaro.org>
15426
15427 * gdb.base/branches.c: Remove.
15428
ae91f625
MK
154292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15430
15431 PR gdb/13808
15432 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15433
678b48b7
MK
154342016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15435
15436 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15437
7337a6f2
MK
154382016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15439
15440 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15441 change x86_64 call_insn to 'callq'.
15442
861ca91f
AT
154432016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15444
15445 * gdb.trace/tfile-avx.c: Move to...
15446 * gdb.trace/tracefile-pseudo-reg.c: Here.
15447 * gdb.trace/tfile-avx.exp: Move to...
15448 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15449
bf74e428
GB
154502016-02-24 Gary Benson <gbenson@redhat.com>
15451
15452 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15453 message on attach.
15454
cce0e923
DE
154552016-02-23 Doug Evans <dje@google.com>
15456
15457 * gdb.base/skip.c (test_skip): New function.
15458 (end_test_skip_file_and_function): New function.
15459 (test_skip_file_and_function): New function.
15460 * gdb.base/skip1.c (test_skip): New function.
15461 (skip1_test_skip_file_and_function): New function.
15462 * gdb.base/skip.exp: Add tests for new skip options.
15463 * gdb.base/skip-solib.exp: Update expected output.
15464 * gdb.perf/skip-command.cc: New file.
15465 * gdb.perf/skip-command.exp: New file.
15466 * gdb.perf/skip-command.py: New file.
15467
4000e47e
MK
154682016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15469
15470 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15471 info registers pattern.
15472
24f75ead
IB
154732016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15474
15475 * lib/future.exp: Add D support.
15476 (gdb_find_gdc): New proc.
15477 (gdb_default_target_compile): Add D support.
15478
fbb7bcbe
WW
154792016-02-18 Wei-cheng Wang <cole945@gmail.com>
15480
15481 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15482 user+system time.
15483 (trace_speed_test): Determine the iteration count for a time
15484 between 15..30 seconds.
15485
012b3a21
WT
154862016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15487
15488 * gdb.arch/i386-mpx-sigsegv.c: New file.
15489 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15490 * gdb.arch/i386-mpx-simple_segv.c: New file.
15491 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15492
2d5189bd
YQ
154932016-02-18 Yao Qi <yao.qi@linaro.org>
15494
15495 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15496 Don't call setup_kfail.
15497
40fb20d0
YQ
154982016-02-18 Yao Qi <yao.qi@linaro.org>
15499
15500 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15501 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15502
21b1f8d2
DE
155032016-02-16 Doug Evans <dje@google.com>
15504
15505 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15506 * gdb.base/skip1.c: Ditto.
15507 * gdb.base/skip.exp: Whitespace cleanup.
15508
4041ed77
DB
155092016-02-16 Don Breazeal <donb@codesourcery.com>
15510
15511 PR remote/19496
15512 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15513 Remove kfail for PR remote/19496.
15514
c4ef31bf
SM
155152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15516
15517 * lib/gdb.exp (standard_temp_file): Return a path specific to
15518 the runtest invocation.
15519
266b65b3
SM
155202016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15521
15522 * gdb.trace/save-trace.exp: Change relative path to be in the
15523 standard output directory.
15524
a7a0a6a9
JK
155252016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15526
15527 * gdb.arch/i386-prologue.c: Add missing prototypes.
15528
c99dbb42
JK
155292016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15530
15531 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15532 * gdb.arch/i386-prologue.exp: Likewise.
15533 * gdb.arch/i386-size.exp: Likewise.
15534
aa480355
SM
155352016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15536
15537 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15538 define object file path.
15539 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15540 file path.
15541 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15542 standard_output_file to define binfile.
15543
ba881f50
JK
155442016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15545
15546 Fix compatibility with recent gfortran-5.3.1.
15547 * gdb.fortran/vla-history.exp (print vla1 allocated)
15548 (print vla2 allocated, print $2, print $3): Remove
15549 (print $4): Rename to ...
15550 (print $2): ... here.
15551 (print $9): Rename to ...
15552 (print $5): ... here.
15553 (print $10): Rename to ...
15554 (print $6): ... here.
15555 * gdb.fortran/vla.f90: Add pvla initialization.
15556
e9fb005c
JK
155572016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15558
15559 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15560 New test.
15561 * gdb.fortran/vla-value-sub.exp: Likewise.
15562
e44e00ff
MK
155632016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15564
15565 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15566
97e94151
SM
155672016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15568
15569 * i386-biarch-core.exp: Define corefile using
15570 standard_output_file.
15571
01113bc1
YQ
155722016-02-12 Yao Qi <yao.qi@linaro.org>
15573
15574 * gdb.arch/arm-single-step-kernel-helper.c: New.
15575 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15576
33b4777c
MM
155772016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15578
15579 * gdb.btrace/tailcall-only.exp: New.
15580 * gdb.btrace/tailcall-only.c: New.
15581 * gdb.btrace/x86_64-tailcall-only.S: New.
15582 * gdb.btrace/i686-tailcall-only.S: New.
15583
acc23c11
PA
155842016-02-11 Pedro Alves <palves@redhat.com>
15585
15586 * README (Parallel testing): Add missing double quotes.
15587
e352bf0a
PA
155882016-02-11 Pedro Alves <palves@redhat.com>
15589
15590 * README (Parallel testing): New section.
15591 (GDB_PARALLEL): Rewrite.
15592 (FORCE_PARALLEL): Document.
15593
9f5fed78
MK
155942016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15595
15596 * gdb.trace/tfile-avx.c: New test.
15597 * gdb.trace/tfile-avx.exp: New test.
15598
9ef9e6a6
KS
155992016-02-09 Keith Seitz <keiths@redhat.com>
15600
15601 PR breakpoints/19546
15602 * gdb.base/infcall-exec.c: New file.
15603 * gdb.base/infcall-exec2.c: New file.
15604 * gdb.base/infcall-exec.exp: New file.
15605
a96e36da
KS
156062016-02-09 Keith Seitz <keiths@redhat.com>
15607
15608 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15609 (toplevel): Call test_bkpt_address.
15610
9f61929f
KS
156112016-02-09 Keith Seitz <keiths@redhat.com>
15612
15613 PR python/19506
15614 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15615 (toplevel): Call test_bkpt_address.
15616
1e94266c
SM
156172016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15618
15619 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15620 to AC_OUTPUT.
15621 * configure: Regenerate.
15622
2a7f3dff
PA
156232016-02-09 Pedro Alves <palves@redhat.com>
15624
15625 PR breakpoints/19548
15626 * gdb.base/execl-update-breakpoints.c (some_function): New
15627 function.
15628 (main): Call it.
15629 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15630 Tighten expected GDB output.
15631
2151ccc5
SM
156322016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15633
15634 * Makefile.in (ALL_SUBDIRS): Remove.
15635 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15636 (distclean maintainer-clean realclean): Likewise.
15637 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15638 * configure: Regenerate.
15639 * gdb.ada/Makefile.in: Delete.
15640 * gdb.arch/Makefile.in: Likewise.
15641 * gdb.asm/Makefile.in: Likewise.
15642 * gdb.base/Makefile.in: Likewise.
15643 * gdb.btrace/Makefile.in: Likewise.
15644 * gdb.cell/Makefile.in: Likewise.
15645 * gdb.compile/Makefile.in: Likewise.
15646 * gdb.cp/Makefile.in: Likewise.
15647 * gdb.disasm/Makefile.in: Likewise.
15648 * gdb.dlang/Makefile.in: Likewise.
15649 * gdb.dwarf2/Makefile.in: Likewise.
15650 * gdb.fortran/Makefile.in: Likewise.
15651 * gdb.gdb/Makefile.in: Likewise.
15652 * gdb.go/Makefile.in: Likewise.
15653 * gdb.guile/Makefile.in: Likewise.
15654 * gdb.java/Makefile.in: Likewise.
15655 * gdb.linespec/Makefile.in: Likewise.
15656 * gdb.mi/Makefile.in: Likewise.
15657 * gdb.modula2/Makefile.in: Likewise.
15658 * gdb.multi/Makefile.in: Likewise.
15659 * gdb.objc/Makefile.in: Likewise.
15660 * gdb.opencl/Makefile.in: Likewise.
15661 * gdb.opt/Makefile.in: Likewise.
15662 * gdb.pascal/Makefile.in: Likewise.
15663 * gdb.perf/Makefile.in: Likewise.
15664 * gdb.python/Makefile.in: Likewise.
15665 * gdb.reverse/Makefile.in: Likewise.
15666 * gdb.server/Makefile.in: Likewise.
15667 * gdb.stabs/Makefile.in: Likewise.
15668 * gdb.threads/Makefile.in: Likewise.
15669 * gdb.trace/Makefile.in: Likewise.
15670 * gdb.xml/Makefile.in: Likewise.
15671 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15672 GDB_PARALLEL.
15673 (standard_output_file): Remove check for GDB_PARALLEL, always
15674 return path in outputs/$subdir/$testname.
15675
437277d4
SM
156762016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15677
15678 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15679 (site.exp): Assign abs_srcdir to tcl's srcdir.
15680
31d913c7
YQ
156812016-02-04 Yao Qi <yao.qi@linaro.org>
15682
15683 * gdb.base/foll-exec-mode.c: Include limits.h.
15684 (main): Add parameters argc and argv. Get directory from
15685 argv[0].
15686 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15687 compilation.
15688 * gdb.base/foll-exec.c: Include limits.h.
15689 (main): Add parameters argc and argv.
15690 Get directory from argv[0].
15691 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15692 Adjust tests on the number of lines as source code changed.
15693 * gdb.base/foll-vfork-exit.c: Include limits.h.
15694 (main): Add one line of statement before vfork.
15695 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15696 (main): Add parameters argc and argv. Get directory from
15697 argv[0].
15698 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15699 (setup_gdb): Set tbreak to skip some source lines.
15700 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15701 (main): Add parameters argc and argv. Get directory from
15702 argv[0].
15703 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15704 compilation.
15705 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15706 (main): Add parameters argc and argv. Get directory from
15707 argv[0].
15708 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15709 compilation.
15710
9482b9fb
DE
157112016-02-01 Doug Evans <dje@google.com>
15712
15713 * gdb.base/skip.exp: Clean up multiple references to same test name.
15714
6b2e4f10
PA
157152016-02-01 Pedro Alves <palves@redhat.com>
15716
ccb6afd6 15717 PR remote/19496
6b2e4f10
PA
15718 * gdb.threads/forking-threads-plus-breakpoint.exp
15719 (displaced_stepping_supported): New global.
15720 (probe_displaced_stepping_support): New procedure.
15721 (do_test): Add 'displaced' parameter, and use it.
15722 (top level): Check for displaced stepping support. Add displaced
15723 stepping on/off testing axis.
15724
37a8db1a
AB
157252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15726
15727 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15728 pointer. Don't perform further tests on the unassociated pointer
15729 if the first test fails.
15730
5fdf6324
AB
157312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15732
15733 * gdb.base/max-value-size.c: New file.
15734 * gdb.base/max-value-size.exp: New file.
15735 * gdb.base/huge.exp: Disable max-value-size for this test.
15736
935c6144
IB
157372016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15738
15739 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15740
7fe8399d
YQ
157412016-01-28 Yao Qi <yao.qi@linaro.org>
15742
15743 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15744
a2077e25
PA
157452016-01-25 Pedro Alves <palves@redhat.com>
15746
15747 PR threads/19461
15748 * gdb.base/fork-running-state.c: New file.
15749 * gdb.base/fork-running-state.exp: New file.
15750
1d2736d4
PA
157512016-01-25 Pedro Alves <palves@redhat.com>
15752
15753 PR gdb/19494
15754 * gdb.base/catch-fork-kill.c: New file.
15755 * gdb.base/catch-fork-kill.exp: New file.
15756
f1da4b11
PA
157572016-01-25 Pedro Alves <palves@redhat.com>
15758
15759 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15760 Delete, moved to lib/gdb.exp.
15761 * gdb.threads/forking-threads-plus-breakpoint.exp
15762 (foreach_with_prefix): Likewise.
15763 * gdb.threads/process-dies-while-handling-bp.exp
15764 (foreach_with_prefix): Likewise.
15765 * lib/gdb.exp (foreach_with_prefix): New procedure.
15766
45f38546
MK
157672016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15768
15769 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15770 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15771
dc29a1ce
MK
157722016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15773
15774 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15775 endian targets.
15776
092127d7
JK
157772016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15778 Pedro Alves <palves@redhat.com>
15779
15780 Fix testsuite compatibility with Guile.
15781 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15782 number.
15783
31d765d3
JK
157842016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15785
15786 Fix testsuite compatibility with Guile.
15787 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15788 (thread 1): New test for backtrace through signal handler.
15789
1ac78c04
YQ
157902016-01-22 Yao Qi <yao.qi@linaro.org>
15791
15792 PR testsuite/19491
15793 * gdb.base/multi-forks.c: Include
15794 ../lib/unbuffer_output.c
15795 (main): Call gdb_unbuffer_output.
15796
4f5946a8
DE
157972016-01-21 Doug Evans <dje@google.com>
15798
15799 * lib/ada.exp (gdb_compile_ada): Fix typo.
15800
305e13e6
JB
158012016-01-21 Joel Brobecker <brobecker@adacore.com>
15802
15803 * gdb.base/break-fun-addr.exp: New file.
15804 * gdb.base/break-fun-addr1.c: New file.
15805 * gdb.base/break-fun-addr2.c: New file.
15806
5f5dfff6
SM
158072016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15808
15809 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15810 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15811 enum flag values.
15812
fd356fa2
AA
158132016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15814
15815 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15816 when GDB can not set the vector return value. Add more comments
15817 for clarification.
15818
9df22175
AT
158192016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15820
15821 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15822 command.
15823
41d1845e
SM
158242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15825
15826 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15827
01ac6840
SM
158282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15829
15830 * Makefile.in (check-single): Pass --status to runtest.
15831 (check/%.exp): Likewise.
15832
158332016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15834
15835 * Makefile.in (check-parallel): Propagate return code from make
15836 do-check-parallel.
15837
bd0a71fa
MK
158382016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15839
15840 * gdb.trace/ftrace.exp: Fix expected message on continue.
15841 * gdb.trace/pending.exp: Fix expected message on continue.
15842 * gdb.trace/trace-break.exp: Fix expected message on continue.
15843
8bcbad33
SM
158442016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15845
15846 * lib/gdb.exp (gdb_test): Remove unused global references.
15847
f303dbd6
PA
158482016-01-18 Pedro Alves <palves@redhat.com>
15849
15850 * gdb.base/async-shell.exp: Adjust expected output.
15851 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15852 * gdb.base/siginfo-thread.exp: Adjust expected output.
15853 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15854 * gdb.java/jnpe.exp: Adjust expected output.
15855 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15856 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15857 * gdb.threads/leader-exit.exp: Adjust expected output.
15858 * gdb.threads/manythreads.exp: Adjust expected output.
15859 * gdb.threads/pthreads.exp: Adjust expected output.
15860 * gdb.threads/schedlock.exp: Adjust expected output.
15861 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15862 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15863 expected output.
15864 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15865 output.
15866 * gdb.threads/sigthread.exp: Adjust expected output.
15867 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15868
b2789696
YQ
158692016-01-18 Yao Qi <yao.qi@linaro.org>
15870
15871 * gdb.guile/scm-section-script.c: Replace @progbits with
15872 %progbits.
15873 * gdb.python/py-section-script.c: Likewise.
15874
71ef29a8
PA
158752016-01-15 Pedro Alves <palves@redhat.com>
15876
15877 * gdb.multi/tids.exp: Test star wildcard ranges.
15878
3f5b7598
PA
158792016-01-15 Pedro Alves <palves@redhat.com>
15880
15881 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15882 command from "thread apply" invocation.
15883 (thr_apply_info_thr_invalid): Default the expected output to the
15884 input tid list.
15885 (top level): Add tests that use convenience variables. Add tests
15886 for "thread apply" with a valid TID list, but missing the command.
15887
663f6d42
PA
158882016-01-13 Pedro Alves <palves@redhat.com>
15889
15890 * gdb.base/default.exp: Expect $_gthread as well.
15891 * gdb.multi/tids.exp: Test $_gthread.
15892 * gdb.threads/thread-specific.exp: Test $_gthread.
15893
c84f6bbf
PA
158942016-01-13 Pedro Alves <palves@redhat.com>
15895
15896 * gdb.multi/tids.exp: Test "info threads -gid".
15897
22a02324
PA
158982016-01-13 Pedro Alves <palves@redhat.com>
15899
15900 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15901 Breakpoint.thread.
15902 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15903
5d5658a1
PA
159042016-01-07 Pedro Alves <palves@redhat.com>
15905
15906 * gdb.base/break.exp: Adjust to output changes.
15907 * gdb.base/hbreak2.exp: Likewise.
15908 * gdb.base/sepdebug.exp: Likewise.
15909 * gdb.base/watch_thread_num.exp: Likewise.
15910 * gdb.linespec/keywords.exp: Likewise.
15911 * gdb.multi/info-threads.exp: Likewise.
15912 * gdb.threads/thread-find.exp: Likewise.
15913 * gdb.multi/tids.c: New file.
15914 * gdb.multi/tids.exp: New file.
15915
84654457
PA
159162016-01-13 Pedro Alves <palves@redhat.com>
15917
15918 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15919
e3940304
PA
159202016-01-13 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/default.exp: Expect $_inferior as well.
15923 * gdb.multi/base.exp: Test $_inferior.
15924
a911d87a
PA
159252016-01-13 Pedro Alves <palves@redhat.com>
15926
15927 PR breakpoints/19388
15928 * gdb.base/catch-signal-siginfo-cond.c: New file.
15929 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15930
82075af2
JS
159312016-01-12 Josh Stone <jistone@redhat.com>
15932 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15933
15934 * gdb.base/catch-syscall.c (do_execve): New variable.
15935 (main): Conditionally trigger an execve.
15936 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15937 (test_catch_syscall_execve): New, check entry/return across execve.
15938 (do_syscall_tests): Call test_catch_syscall_execve.
15939
e46eeedd
PA
159402016-01-12 Pedro Alves <palves@redhat.com>
15941
15942 * gdb.base/random-signal.exp (do_test): New procedure, with body
15943 of testcase moved in.
15944
01d8c27e
JK
159452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15946 Pedro Alves <palves@redhat.com>
15947
15948 * gdb.base/funcargs.exp (finish from indirectly called function):
15949 Reintroduce the case for 'First'.
15950
9a706302
JK
159512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15952 Pedro Alves <palves@redhat.com>
15953
15954 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15955 (tcatch_vfork_then_child_follow_exec)
15956 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15957 identification.
15958
c0ecb95f
JK
159592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15960
15961 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15962 and repeats to unlimited.
15963 * gdb.python/py-value.exp: Likewise.
15964 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15965 and repeats to unlimited.
15966
6cfc1fcb
JK
159672016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15968
15969 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15970 and reordering the functions.
15971 * gdb.multi/hangout.c: Likewise.
15972 * gdb.multi/hello.c: Likewise.
15973
582a1b00
SM
159742016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15975
15976 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15977 absolute.
15978 (SingleStatisticTestResult.report): Use dict.keys instead of
15979 dict.iterkeys.
15980
79bc59cb
PA
159812016-01-06 Pedro Alves <palves@redhat.com>
15982
15983 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15984
43368e1d
MM
159852016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15986
15987 * gdb.btrace/dlopen.exp: New.
15988 * gdb.btrace/dlopen.c: New.
15989 * gdb.btrace/dlopen-dso.c: New.
15990
79fad5b8
SL
159912015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15992
15993 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15994 PATTERN argument is optional.
15995
ab8314b3
JB
159962015-12-24 Joel Brobecker <brobecker@adacore.com>
15997
15998 * lib/ada.exp (target_compile_ada_from_dir): New function.
15999 (gdb_compile_ada): Reimplement avoiding the use of project files.
16000 * gdb.ada/gnat_ada.gpr: Delete.
16001 * gdb.ada/cond_lang.exp: Adjust test to make path before
16002 filename optional.
16003 * gdb.ada/small_reg_param.exp: Likewise.
16004
fe33faff
SM
160052015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16006
16007 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16008
6d265cb4
TP
160092015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16010
16011 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16012 case.
16013
10125099
SM
160142015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16015
16016 * gdb.base/break.exp: Remove dead code.
16017 * gdb.base/sepdebug.exp: Likewise.
16018
3ca22649
SM
160192015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16020
16021 * gdb.asm/asm-source.exp: Remove HP-UX references.
16022 * gdb.base/annota1.exp: Likewise.
16023 * gdb.base/annota3.exp: Likewise.
16024 * gdb.base/attach.exp: Likewise.
16025 * gdb.base/bigcore.exp: Likewise.
16026 * gdb.base/break.exp: Likewise.
16027 * gdb.base/call-ar-st.exp: Likewise.
16028 * gdb.base/callfuncs.exp: Likewise.
16029 * gdb.base/catch-fork-static.exp: Likewise.
16030 * gdb.base/display.exp: Likewise.
16031 * gdb.base/foll-exec-mode.exp: Likewise.
16032 * gdb.base/foll-exec.exp: Likewise.
16033 * gdb.base/foll-fork.exp: Likewise.
16034 * gdb.base/foll-vfork.exp: Likewise.
16035 * gdb.base/funcargs.exp: Likewise.
16036 * gdb.base/hbreak2.exp: Likewise.
16037 * gdb.base/inferior-died.exp: Likewise.
16038 * gdb.base/interrupt.exp: Likewise.
16039 * gdb.base/multi-forks.exp: Likewise.
16040 * gdb.base/nodebug.exp: Likewise.
16041 * gdb.base/sepdebug.exp: Likewise.
16042 * gdb.base/solib1.c: Likewise.
16043 * gdb.base/step-test.exp: Likewise.
16044 * gdb.mi/non-stop.c: Likewise.
16045 * gdb.mi/pthreads.c: Likewise.
16046 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16047 * gdb.threads/pthreads.c: Likewise.
16048 * gdb.threads/staticthreads.exp: Likewise.
16049 * lib/future.exp: Likewise.
16050 * lib/gdb.exp: Likewise.
16051 * gdb.base/so-indr-cl.c: Remove.
16052 * gdb.base/so-indr-cl.exp: Likewise.
16053 * gdb.base/solib.c: Likewise.
16054 * gdb.base/solib.exp: Likewise.
16055 * gdb.base/solib2.c: Likewise.
16056
b6304613
SM
160572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16058
16059 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16060 * gdb.base/call-ar-st.exp: Likewise.
16061 * gdb.base/callfuncs.exp: Likewise.
16062 * gdb.base/condbreak.exp: Likewise.
16063 * gdb.base/constvars.exp: Likewise.
16064 * gdb.base/hbreak2.exp: Likewise.
16065 * gdb.base/langs.exp: Likewise.
16066 * gdb.base/list.exp: Likewise.
16067 * gdb.base/long_long.exp: Likewise.
16068 * gdb.base/ptype.exp: Likewise.
16069 * gdb.base/scope.exp: Likewise.
16070 * gdb.base/signals.exp: Likewise.
16071 * gdb.base/so-impl-ld.exp: Likewise.
16072 * gdb.base/varargs.exp: Likewise.
16073 * gdb.base/volatile.exp: Likewise.
16074 * gdb.base/whatis.exp: Likewise.
16075 * gdb.cp/cplusfuncs.exp: Likewise.
16076 * gdb.cp/inherit.exp: Likewise.
16077 * gdb.cp/local.exp: Likewise.
16078 * gdb.cp/member-ptr.exp: Likewise.
16079 * gdb.cp/method.exp: Likewise.
16080 * gdb.cp/overload.exp: Likewise.
16081 * gdb.cp/templates.exp: Likewise.
16082 * gdb.stabs/weird.exp: Likewise.
16083 * lib/compiler.c: Likewise.
16084 * lib/compiler.cc: Likewise.
16085 * lib/cp-support.exp: Likewise.
16086 * lib/gdb.exp: Likewise.
16087
bf401b07
SM
160882015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16089
16090 * configure.ac: Remove HP-UX case.
16091 * configure: Regenerate.
16092
aff9c0f8
SM
160932015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16094
16095 * lib/gdb.exp (gdb_compile): Add function doc.
16096
a6904d5a
PA
160972015-12-17 Pedro Alves <palves@redhat.com>
16098
16099 PR threads/19354
16100 * gdb.multi/info-threads.exp: New file.
16101
a22279dd
YQ
161022015-12-15 Yao Qi <yao.qi@linaro.org>
16103
16104 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16105 is aarch64*-*-*.
16106
0588c796
SL
161072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16108
16109 * gdb.base/history-duplicates.exp: Skip if no readline support.
16110
5d978e17
SL
161112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16112
16113 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16114
7e763b86
SL
161152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16116
16117 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16118
87a3a92c
SL
161192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16120
16121 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16122 ctrl-C if nointerrupts target property is set.
16123 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16124 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16125 * gdb.base/paginate-bg-execution.exp: Likewise.
16126 * gdb.base/paginate-execution-startup.exp: Likewise.
16127 * gdb.base/random-signal.exp: Likewise.
16128 * gdb.base/range-stepping.exp: Likewise.
16129 * gdb.cp/annota2.exp: Likewise.
16130 * gdb.cp/annota3.exp: Likewise.
16131 * gdb.gdb/selftest.exp: Likewise.
16132 * gdb.threads/continue-pending-status.exp: Likewise.
16133 * gdb.threads/leader-exit.exp: Likewise.
16134 * gdb.threads/manythreads.exp: Likewise.
16135 * gdb.threads/pthreads.exp: Likewise.
16136 * gdb.threads/schedlock.exp: Likewise.
16137 * gdb.threads/sigthread.exp: Likewise.
16138
a8f077dc
DB
161392015-12-11 Don Breazeal <donb@codesourcery.com>
16140
16141 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16142 remote.
16143 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16144 * gdb.base/foll-exec.exp (main): Enable for target remote.
16145 * gdb.base/foll-fork.exp (main): Likewise.
16146 * gdb.base/foll-vfork.exp (main): Likewise.
16147 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16148 (proc continue_to_exit_bp_loc): Use clean_restart.
16149 * gdb.base/pie-execl.exp (main): Disable for target remote.
16150 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16151 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16152 * gdb.threads/execl.exp (main): Likewise.
16153 * gdb.threads/fork-child-threads.exp (main): Likewise.
16154 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16155 remote.
16156 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16157 remote.
16158 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16159 pid.tid style ptids, instead of just tid.
16160 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16161 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16162 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16163 ptids, instead of just tid.
16164
3b2464a8
AB
161652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16166
16167 * gdb.base/list.exp (test_list_forward): Add end of file error
16168 test.
16169 (test_repeat_list_command): Add end of file error test.
16170 (test_list_backwards): Add beginning of file error test.
16171
a0def019
AB
161722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16173
16174 * gdb.base/list.exp (test_list_invalid_args): New function,
16175 defined, and called.
16176
5c000dff
AB
161772015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16178
16179 * gdb.base/list.exp (test_list): Make test names unique.
16180
f1637ebe
YQ
161812015-12-11 Yao Qi <yao.qi@linaro.org>
16182
16183 * gdb.base/coremaker2.c: Remove.
16184
36d6fc0a
PA
161852015-12-10 Pedro Alves <palves@redhat.com>
16186
16187 * gdb.multi/base.exp: Remove stale "spaces" references.
16188
762f7747
PA
161892015-12-10 Pedro Alves <palves@redhat.com>
16190
16191 * gdb.multi/base.exp: Don't use nowarnings.
16192 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16193 * gdb.multi/hangout.c: Include stdio.h.
16194 * gdb.multi/hello.c: Include stdlib.h.
16195 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16196 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16197 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16198
28d2bfb9
AB
161992015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16200
16201 * gdb.dwarf2/dw2-ranges-base.c: New file.
16202 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16203 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16204 support additional line table, and debug ranges generation.
16205 (Dwarf::ranges): New function, generate .debug_ranges.
16206 (Dwarf::lines): Support generating simple line table programs.
16207 (Dwarf::assemble): Initialise new namespace variables.
16208
5fc2beac
KB
162092015-12-09 Kevin Buettner <kevinb@redhat.com>
16210
16211 * gdb.base/async.exp (proc test_background): Add case for
16212 asynchronous execution not supported.
16213
1c35a88f
LM
162142015-12-09 Luis Machado <lgustavo@codesourcery.com>
16215
16216 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16217 format and change test names to make them unique.
16218
b593e3d9
RK
162192015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16220 Pedro Alves <pedro@redhat.com>
16221
16222 PR gdb/18702
16223 Add checking of floatformats setup on x86_64 hosts.
16224 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16225 (smallval, bigval): New labels/constants.
16226 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16227 float" after loading bigval and smallval.
16228
d72413e6
PMR
162292015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16230
16231 * gdb.ada/fun_overload_menu.exp: New testcase.
16232 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16233
ece66d65
JS
162342015-12-04 Josh Stone <jistone@redhat.com>
16235
16236 * gdb.base/catch-fork-static.exp: New.
16237
41d0efca
YQ
162382015-12-03 Yao Qi <yao.qi@linaro.org>
16239
16240 * gdb.base/sizeof.c: Don't include stdio.h and
16241 ../lib/unbuffer_output.c.
16242 (main): New variable 'size' and 'value'. Remove printf and
16243 gdb_unbuffer_output. Assign return value to size and value.
16244 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16245 at the beginning.
16246 (check_sizeof): Check the result by printing variable 'size'.
16247 (check_valueof): Check the result by printing variable 'value'.
16248
99fd02d9
YQ
162492015-12-01 Yao Qi <yao.qi@linaro.org>
16250
16251 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16252 for aarch64*-*-linux* target.
16253
f2faf941
PA
162542015-11-30 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16257
04bf20c5
PA
162582015-11-30 Pedro Alves <palves@redhat.com>
16259
16260 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16261 Handle non-stop mode vCont replies.
16262
09df4675
PA
162632015-11-30 Pedro Alves <palves@redhat.com>
16264
16265 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16266 prepare_for_testing. Start gdb with "set non-stop on" appended to
16267 GDBFLAGS. Lax expected stop output.
16268
58b584af
YQ
162692015-11-27 Yao Qi <yao.qi@linaro.org>
16270
16271 * gdb.arch/arm-neon.exp: New.
16272 * gdb.arch/arm-neon.c: New.
16273
dfcb77a8
YQ
162742015-11-27 Yao Qi <yao.qi@linaro.org>
16275
16276 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16277
88e8ec1b
YQ
162782015-11-27 Yao Qi <yao.qi@linaro.org>
16279
16280 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16281 frames-invalid annotation.
16282
bfde72c2
YQ
162832015-11-27 Yao Qi <yao.qi@linaro.org>
16284
16285 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16286
f6512a69
SM
162872015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16288
16289 * gdb.threads/names.exp: New file.
16290 * gdb.threads/names.c: New file.
16291 * README: Mention gdb,no_thread_names.
16292
46a3515b
MM
162932015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16294
16295 PR 19297
16296 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16297 support" error.
16298
62147a22
PA
162992015-11-24 Pedro Alves <palves@redhat.com>
16300
16301 PR 17539
16302 * gdb.base/display.exp: Expect displays to be sorted in ascending
16303 order. Use multi_line.
16304 * gdb.base/solib-display.exp: Likewise.
16305
2f341b6e
PA
163062015-11-24 Pedro Alves <palves@redhat.com>
16307
16308 PR 17539
25d49b86
PA
16309 * gdb.base/display.exp: Expect displays to be sorted in ascending
16310 order. Use multi_line.
16311 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16312
7e0aa6aa
PA
163132015-11-24 Pedro Alves <palves@redhat.com>
16314
16315 PR 17539
16316 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16317 threads in ascending order.
16318 * gdb.base/foll-fork.exp: Likewise.
16319 * gdb.base/foll-vfork.exp: Likewise.
16320 * gdb.base/multi-forks.exp: Likewise.
16321 * gdb.mi/mi-nonstop.exp: Likewise.
16322 * gdb.mi/mi-nsintrall.exp: Likewise.
16323 * gdb.multi/base.exp: Likewise.
16324 * gdb.multi/multi-arch.exp: Likewise.
16325 * gdb.python/py-inferior.exp: Likewise.
16326 * gdb.threads/break-while-running.exp: Likewise.
16327 * gdb.threads/execl.exp: Likewise.
16328 * gdb.threads/gcore-thread.exp: Likewise.
16329 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16330 * gdb.threads/kill.exp: Likewise.
16331 * gdb.threads/linux-dp.exp: Likewise.
16332 * gdb.threads/multiple-step-overs.exp: Likewise.
16333 * gdb.threads/next-bp-other-thread.exp: Likewise.
16334 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16335 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16336 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16337 * gdb.threads/thread-find.exp: Likewise.
16338 * gdb.threads/tls.exp: Likewise.
16339 * lib/mi-support.exp (mi_reverse_list): Delete.
16340 (mi_check_thread_states): No longer reverse list.
16341
2cc57ad8
PA
163422015-11-24 Pedro Alves <palves@redhat.com>
16343
16344 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16345 use lowercase.
16346
c93e8391
SM
163472015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16348
16349 * gdb.trace/actions.c: Include trace-common.h.
16350 (main): Add a location for a fast tracepoint.
16351 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16352 the normal tracepoints.
16353 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16354
045ccf91
SM
163552015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16356
16357 * save-trace.exp: Factor out code to these...
16358 (gdb_save_tracepoints): New.
16359 (gdb_load_tracepoints): New.
16360 (do_save_load_test): New.
16361
5506f9f6
KB
163622015-11-23 Kevin Buettner <kevinb@redhat.com>
16363
16364 * gdb.base/asmlabel.exp: New test.
16365 * gdb.base/asmlabel.c: New test case.
16366
16c3b12f
JB
163672015-11-23 Joel Brobecker <brobecker@adacore.com>
16368
16369 * gdb.base/wrong_frame_bt_full-main.c: New file.
16370 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16371 * gdb.base/wrong_frame_bt_full.exp: New file.
16372
155bfbd3
JB
163732015-11-23 Joel Brobecker <brobecker@adacore.com>
16374
16375 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16376
bb097445
JM
163772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16378
206853a0 16379 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16380 pstate register when comparing registers values in
16381 sparc64-*-linux-gnu targets to avoid spurious differences.
16382
9c88ed8f
JM
163832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16384
206853a0 16385 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16386
96161e25
SL
163872015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16388
16389 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16390 as type argument to gdb_compile.
16391 * gdb.base/nested-subp2.exp: Likewise.
16392 * gdb.base/nested-subp3.exp: Likewise.
16393
340c2830
DV
163942015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16395
16396 * lib/dwarf.exp (_note): Fix left shift of negative value.
16397 * gdb.trace/trace-condition.exp: Likewise.
16398
c1862d0f
YQ
163992015-11-13 Yao Qi <yao.qi@linaro.org>
16400
16401 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16402 comments about d10v.
16403 (test_scalar_returns): Likewise.
16404 * gdb.base/d10v.ld: Remove.
16405 * gdb.base/overlays.exp: Remove the target triplet checking for
16406 d10v-*-*.
16407 * gdb.base/structs.exp (test_struct_returns): Remove the
16408 comments about d10v.
16409 (test_struct_calls): Likewise.
16410
77ae9c19
YQ
164112015-11-13 Yao Qi <yao.qi@linaro.org>
16412
16413 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16414 * gdb.base/gnu_vector.c: Don't include stdio.h.
16415 (main): Don't print res and call add_some_intvecs.
16416
430e004e
MK
164172015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16418
16419 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16420 macro.
16421 (func5): Removed.
16422 (func4): Use FAST_TRACEPOINT_LABEL.
16423 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16424 macro.
16425 (func): Removed.
16426 (thread_function): Use FAST_TRACEPOINT_LABEL.
16427 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16428 (func): Remove.
16429 (marker): Use FAST_TRACEPOINT_LABEL.
16430 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16431 (pendfunc1): Remove.
16432 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16433 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16434 (foo): Remove.
16435 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16436 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16437 macro.
16438 (func): Remove.
16439 (marker): Use FAST_TRACEPOINT_LABEL.
16440 * gdb.trace/trace-common.h: New header.
16441 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16442 macro.
16443 (func): Remove.
16444 (marker): Use FAST_TRACEPOINT_LABEL.
16445 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16446 (func): Remove.
16447 (thread_function): Use FAST_TRACEPOINT_LABEL.
16448
6e7675a7
MK
164492015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16450
16451 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16452 in front.
16453 * gdb.trace/change-loc.exp: Use global pcreg definition.
16454 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16455 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16456 in front.
16457 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16458 * gdb.trace/pending.exp: Likewise.
16459 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16460 * gdb.trace/trace-break.exp: Likewise.
16461 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16462 in front.
16463 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16464 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16465 in front.
16466 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16467
dddc0e16
JB
164682015-11-09 Joel Brobecker <brobecker@adacore.com>
16469
16470 * gdb.ada/fin_fun_out: New testcase.
16471
c6f0b406
KB
164722015-11-07 Kevin Buettner <kevinb@redhat.com>
16473
16474 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16475 value associated with DW_AT_byte_size.
16476 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16477 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16478 DW_AT_upper_bound.
16479
f01dcfd9
KB
164802015-11-07 Kevin Buettner <kevinb@redhat.com>
16481
16482 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16483 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16484 version.
16485 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16486 gdb.dwarf2/dw2-canonicalize-type.exp,
16487 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16488 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16489 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16490 provided by gdb_target_symbol_prefix_flags_asm.
16491 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16492 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16493 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16494 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16495 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16496 macros where needed). Use this macro for symbols which require
16497 the prefix provided by SYMBOL_PREFIX.
16498
2223449a
KB
164992015-11-05 Kevin Buettner <kevinb@redhat.com>
16500
16501 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16502 New procs.
16503 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16504 representing expressions, of more than one list element.
16505 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16506 to prepend linker symbol prefix to f.
16507 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16508 table_1 and table_2.
16509 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16510 Likewise, for f and g.
16511 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16512 for ptr.
16513 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16514 for main.
16515 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16516 table_1_ptr and table_2_ptr.
16517
6f2f1a3a
JK
165182015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16519 Joel Brobecker <brobecker@adacore.com>
16520
16521 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16522
566c56c9
MK
165232015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16524
16525 * gdb.reverse/s390-mvcle.c: New test.
16526 * gdb.reverse/s390-mvcle.exp: New file.
16527 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16528
d5f0636b
MK
165292015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16530
16531 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16532
7ad8b86c
MK
165332015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16534
16535 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16536 reaching marker2.
16537 * gdb.reverse/getresuid-reverse.exp: Likewise.
16538 * gdb.reverse/pipe-reverse.exp: Likewise.
16539 * gdb.reverse/readv-reverse.exp: Likewise.
16540 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16541 * gdb.reverse/time-reverse.exp: Likewise.
16542 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16543
4081c0f1
YQ
165442015-10-30 Yao Qi <yao.qi@linaro.org>
16545
16546 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16547 (empty_cycle): Remove.
16548 (main): Don't call empty_cycle. Don't use watch_count_done.
16549 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16550 empty_cycle. Rewrite the code counting HW watchpoints.
16551
452b4ba5
MK
165522015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16553
16554 * gdb.reverse/fstatat-reverse.c: New test.
16555 * gdb.reverse/fstatat-reverse.exp: New file.
16556 * gdb.reverse/getresuid-reverse.c: New test.
16557 * gdb.reverse/getresuid-reverse.exp: New file.
16558 * gdb.reverse/pipe-reverse.c: New test.
16559 * gdb.reverse/pipe-reverse.exp: New file.
16560 * gdb.reverse/readv-reverse.c: New test.
16561 * gdb.reverse/readv-reverse.exp: New file.
16562 * gdb.reverse/recvmsg-reverse.c: New test.
16563 * gdb.reverse/recvmsg-reverse.exp: New file.
16564 * gdb.reverse/time-reverse.c: New test.
16565 * gdb.reverse/time-reverse.exp: New file.
16566 * gdb.reverse/waitpid-reverse.c: New test.
16567 * gdb.reverse/waitpid-reverse.exp: New file.
16568
5e2e7507
JK
165692015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16570
16571 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16572
0fde2c53
DE
165732015-10-26 Doug Evans <dje@google.com>
16574
16575 PR symtab/17391
16576 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16577 * gdb.dwarf2/bad-regnum.c: New file.
16578 * gdb.dwarf2/bad-regnum.exp: New file.
16579
1a70ae97
DE
165802015-10-26 Doug Evans <dje@google.com>
16581
16582 PR python/18938
16583 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16584 file.
16585
27dc26ab
JK
165862015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16587
16588 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16589 for a change by "Mention language in compile error message".
16590
bed91f4d
SM
165912015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16592
16593 PR python/18073
16594 * gdb.python/py-type.c (C::a_method): New.
16595 (C::a_const_method): New.
16596 (C::a_static_method): New.
16597 (a_function): New.
16598 * gdb.python/py-type.exp (test_fields): Test getting fields
16599 from function and method.
16600
3f2f83dd
KB
166012015-10-21 Keven Boell <keven.boell@intel.com>
16602
16603 * gdb.fortran/vla-alloc-assoc.exp: New file.
16604 * gdb.fortran/vla-datatypes.exp: New file.
16605 * gdb.fortran/vla-datatypes.f90: New file.
16606 * gdb.fortran/vla-history.exp: New file.
16607 * gdb.fortran/vla-ptype-sub.exp: New file.
16608 * gdb.fortran/vla-ptype.exp: New file.
16609 * gdb.fortran/vla-sizeof.exp: New file.
16610 * gdb.fortran/vla-sub.f90: New file.
16611 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16612 * gdb.fortran/vla-value-sub-finish.exp: New file.
16613 * gdb.fortran/vla-value-sub.exp: New file.
16614 * gdb.fortran/vla-value.exp: New file.
16615 * gdb.fortran/vla-ptr-info.exp: New file.
16616 * gdb.mi/mi-vla-fortran.exp: New file.
16617 * gdb.mi/vla.f90: New file.
16618
27145d50
SL
166192015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16620
16621 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16622 of hardwired timeout value.
16623
5f3ff4f8
JK
166242015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16625 Pedro Alves <palves@redhat.com>
16626
16627 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16628 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16629
bfd09d20
JS
166302015-10-19 Josh Stone <jistone@redhat.com>
16631
16632 * gdb.base/catch-syscall.c: Include <sched.h>.
16633 (unknown_syscall): New variable.
16634 (main): Trigger a vfork and an unknown syscall.
16635 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16636 (unknown_syscall_number): Likewise.
16637 (check_call_to_syscall): Accept an optional syscall pattern.
16638 (check_return_from_syscall): Likewise.
16639 (check_continue): Likewise.
16640 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16641 (test_catch_syscall_skipping_return): New test toggling off 'catch
16642 syscall' to step over the syscall return, then toggling back on.
16643 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16644 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16645 (do_syscall_tests): Call test_catch_syscall_without_args and
16646 test_catch_syscall_mid_vfork.
16647 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16648 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16649
b32b93c6
AS
166502015-10-19 Andrew Stubbs <ams@codesourcery.com>
16651
16652 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16653 print g_vE): Add new pass patterns.
16654 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16655 print various symbol names for vptr fields.
16656
9d622bda
AB
166572015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16658
16659 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16660 results.
16661
0fd8ac1c
YQ
166622015-10-12 Yao Qi <yao.qi@linaro.org>
16663
16664 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16665
34240514
YQ
166662015-10-12 Yao Qi <yao.qi@linaro.org>
16667
16668 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16669 is aarch64*-*-linux*.
16670
8240f442
YQ
166712015-10-12 Yao Qi <yao.qi@linaro.org>
16672
16673 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16674 (can_relocate_bcond_true): ... it.
16675 (can_relocate_bcond_false): New function.
16676 (foo): Likewise.
16677 (can_relocate_bl): Likewise.
16678 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16679 can_relocate_bl.
16680
2520f728
PMR
166812015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16682
16683 * gdb.base/nested-addr.c: New file.
16684 * gdb.base/nested-addr.exp: New testcase.
16685
abcef95a
MM
166862015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16687
16688 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16689 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16690 its output. Ignore the output of "record goto begin" and instead
16691 check that GDB is replaying.
16692
145e3ddb
PA
166932015-10-09 Pedro Alves <palves@redhat.com>
16694
16695 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16696 (top level): Use it in the run with no args test.
16697
d5d8c4e1
IB
166982015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16699
16700 * gdb.dlang/properties.exp: New file.
16701
06e635ef
SL
167022015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16703
16704 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16705 whether or not address 0x1000 is mapped on the target.
16706
e019fd1d
SM
167072015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16708
16709 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16710 build.
16711
77ba2a67
MM
167122015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16713
16714 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16715 instruction-history test.
16716
c60eb31f
DE
167172015-09-28 Doug Evans <dje@google.com>
16718
16719 * gdb.base/gcore.c (array_func): Add reference to static_array.
16720
9a3c8263
SM
167212015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16722
16723 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16724 source line.
16725
9720e656
SL
167262015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16727
16728 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16729 short or char as base type.
16730
938d3bf2
SL
167312015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16732
16733 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16734 to allow any size enum.
16735
e6c2c623
PMR
167362015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16737
16738 * gdb.ada/array_ptr_renaming.exp: New testcase.
16739 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16740 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16741
06da0f77
PL
167422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16743
16744 * gdb.trace/ftrace-lock.c: New file.
16745 * gdb.trace/ftrace-lock.exp: New file.
16746
4f51c22a
PL
167472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16748
16749 * gdb.arch/insn-reloc.c: New file.
16750 * gdb.arch/ftrace-insn-reloc.exp: New file.
16751
7041adf4
PL
167522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16753
16754 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16755 instruction.
16756 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16757 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16758 * gdb.trace/range-stepping.c: Likewise.
16759 * gdb.trace/trace-break.c: Likewise.
16760 * gdb.trace/trace-mt.c (thread_function): Likewise.
16761 * gdb.trace/ftrace.c (marker): Likewise.
16762 * gdb.trace/trace-condition.c (marker): Likewise.
16763 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16764 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16765 is_aarch64_target.
16766
015d2e7e
DE
167672015-09-18 Doug Evans <xdje42@gmail.com>
16768
16769 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16770 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16771
26b188a2
SL
167722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16773
16774 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16775 the breakpoint.
16776
79dc332b
SL
167772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16778
16779 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16780 the pending breakpoint. Remove timeout override for "Run till
16781 MI pending breakpoint on pendfunc3 on thread 2" test.
16782
f57929f2
SL
167832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16784
16785 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16786 filename pattern.
16787
3f469b17
SL
167882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16789
16790 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16791 in breakpoint filename pattern.
16792
515b89b3
SL
167932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16794
7800dbe4
SL
16795 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16796
167972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16798
515b89b3
SL
16799 * gdb.linespec/explicit.exp: Check for readline support for
16800 tab-completion tests. Fix obvious typo.
16801
d2939ba2
MM
168022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16803
16804 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16805 and replay.
16806
cbb55fa7
MM
168072015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16808
16809 * gdb.btrace/non-stop.c: New.
16810 * gdb.btrace/non-stop.exp: New.
16811
43691ca1
PL
168122015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16813 Yao Qi <yao.qi@linaro.org>
16814
16815 * gdb.trace/trace-condition.c: New file.
16816 * gdb.trace/trace-condition.exp: New file.
16817
d78908cf
WW
168182015-09-16 Wei-cheng Wang <cole945@gmail.com>
16819
16820 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16821 for testing bytecode compilation.
16822
1ed415e2
PA
168232015-09-16 Pedro Alves <palves@redhat.com>
16824 Sandra Loosemore <sandra@codesourcery.com>
16825
16826 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16827 (SECONDS): Redefine.
16828 (main): Call pthread_kill and alarm early.
16829 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16830 support.
16831 (test): If the target can't hardware step and doesn't support
16832 displaced stepping, increase the timeout.
16833
d136eff5
PA
168342015-09-16 Pedro Alves <palves@redhat.com>
16835
16836 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16837 (enable_debug): New procedures.
16838 (test): Use them. Bail out if waiting for threads fails.
16839 (top level): Bail out if a test fails.
16840
991f019c
YQ
168412015-09-16 Yao Qi <yao.qi@linaro.org>
16842
16843 * gdb.asm/asm-source.exp: Set asm-arch for
16844 aarch64*-*-* target.
16845 * gdb.asm/aarch64.inc: New file.
16846
bfca584f
PMR
168472015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16848
16849 * gdb.ada/array_of_variable_length.exp: New testcase.
16850 * gdb.ada/array_of_variable_length/foo.adb: New file.
16851 * gdb.ada/array_of_variable_length/pck.adb: New file.
16852 * gdb.ada/array_of_variable_length/pck.ads: New file.
16853
b326e587
DE
168542015-09-15 Doug Evans <dje@google.com>
16855
16856 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16857 of function static local variable.
16858
5382cfab
PW
168592015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16860
16861 * gdb.threads/tls-so_extern.exp: New test file.
16862 * gdb.threads/tls-so_extern.c: New test file.
16863 * gdb.threads/tls-so_extern_main.c: New test file.
16864
141c5cc4
JK
168652015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16866
16867 * gdb.opt/solib-intra-step-lib.c: New file.
16868 * gdb.opt/solib-intra-step-main.c: New file.
16869 * gdb.opt/solib-intra-step.exp: New file.
16870
d15dcecd
PA
168712015-09-15 Pedro Alves <palves@redhat.com>
16872
16873 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16874 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16875
4c2f2a79
PA
168762015-09-14 Pedro Alves <palves@redhat.com>
16877
16878 * gdb.base/hook-stop-continue.c: Delete.
16879 * gdb.base/hook-stop-continue.exp: Delete.
16880 * gdb.base/hook-stop-frame.c: Delete.
16881 * gdb.base/hook-stop-frame.exp: Delete.
16882 * gdb.base/hook-stop.c: New file.
16883 * gdb.base/hook-stop.exp: New file.
16884
919e6dbe
PMR
168852015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16886
16887 * gdb.ada/access_to_packed_array.exp: New testcase.
16888 * gdb.ada/access_to_packed_array/foo.adb: New file.
16889 * gdb.ada/access_to_packed_array/pack.adb: New file.
16890 * gdb.ada/access_to_packed_array/pack.ads: New file.
16891
157280a4
MM
168922015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16893
16894 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16895 buffer size test.
16896
2fd33e94
DB
168972015-09-11 Don Breazeal <donb@codesourcery.com>
16898
16899 * gdb.base/foll-exec.c: Add copyright header. Fix
16900 formatting issues.
16901 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16902 (do_exec_tests): Use clean_restart in place of zap_session,
16903 and for test initialization. Fix formatting issues. Use
16904 fail in place of perror.
16905 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16906 an expect statement to match an expression with output from
16907 the program under debug.
16908 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16909 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16910 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16911 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16912 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16913
e70b6e8e
DE
169142015-09-09 Doug Evans <dje@google.com>
16915
16916 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16917
7a551a51
DE
169182015-09-09 Doug Evans <dje@google.com>
16919
16920 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16921
4c666f84
DE
169222015-09-09 Doug Evans <dje@google.com>
16923
16924 * gdb.base/savedregs.exp: Fix typo.
16925
243a9253
PA
169262015-09-09 Pedro Alves <palves@redhat.com>
16927
16928 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16929
c0fa8fbd
SL
169302015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16931
16932 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16933 command actually switches threads. Give up on remaining
16934 tests if target fails to stop at breakpoint.
16935
cd7c1778
PMR
169362015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16937
16938 * gdb.ada/funcall_char.exp: New testcase.
16939 * gdb.ada/funcall_char/foo.adb: New file.
16940
dc5c8746
PMR
169412015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16942
16943 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16944 expected outputs. Add two testcases for completing ambiguous
16945 functions.
16946 * gdb.ada/complete/aux_pck.adb: New file.
16947 * gdb.ada/complete/aux_pck.ads: New file.
16948 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16949 Ambiguous_Func functions.
16950 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16951 * gdb.ada/complete/pck.adb: Likewise.
16952
4e83a1e7
UW
169532015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16954
16955 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16956 failures to run the test program under GDB.
16957
8ce74153
LM
169582015-08-26 Luis Machado <lgustavo@codesourcery.com>
16959
16960 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16961 to C.
16962
e9756d52
PP
169632015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16964
16965 * gdb.base/run-after-attach.exp: New test file.
16966 * gdb.base/run-after-attach.c: New test file.
16967
8d37573b
DB
169682015-08-26 Don Breazeal <donb@codesourcery.com>
16969
16970 * gdb.base/foll-exec-2.c: New test program.
16971 * gdb.base/foll-exec-2.exp: New test.
16972
63e43d3a
PMR
169732015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16974
16975 * gdb.base/nested-subp1.exp: New file.
16976 * gdb.base/nested-subp1.c: New file.
16977 * gdb.base/nested-subp2.exp: New file.
16978 * gdb.base/nested-subp2.c: New file.
16979 * gdb.base/nested-subp3.exp: New file.
16980 * gdb.base/nested-subp3.c: New file.
16981
3d40fbb5
PA
169822015-08-24 Pedro Alves <palves@redhat.com>
16983
16984 * gdb.server/connect-without-multi-process.c: New file.
16985 * gdb.server/connect-without-multi-process.exp: New file.
16986
4422ac93
LM
169872015-08-24 Luis Machado <lgustavo@codesourcery.com>
16988
16989 * gdb.opt/inline-markers.c: Make z int.
16990
91dddb86
LM
169912015-08-24 Luis Machado <lgustavo@codesourcery.com>
16992
16993 * gdb.opt/inline-markers.c: Make z volatile.
16994
a48847ee
LM
169952015-08-24 Luis Machado <lgustavo@codesourcery.com>
16996
16997 * gdb.opt/inline-bt.c: New volatile global z.
16998 * gdb.opt/inline-cmds.c: Likewise.
16999 * gdb.opt/inline-locals.c: Likewise.
17000 * gdb.opt/inline-markers.c: New extern global z.
17001 (marker): Use z.
17002 (inline_fn): Likewise.
17003
0ebbc52b
PA
170042015-08-24 Pedro Alves <palves@redhat.com>
17005
17006 * config/m32r-stub.exp: Remove file.
17007 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17008 * gdb.base/call-rt-st.exp: Likewise.
17009 * gdb.base/call-strs.exp: Likewise.
17010 * gdb.base/default.exp: Remove references to h8300-*-hms and
17011 *-*-udi*.
17012 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17013
77c365df
AA
170142015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17015
17016 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17017 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17018 and "return" use KFAIL when GDB can not read/write the vector
17019 return value.
17020
4313b8c0
GB
170212015-08-21 Gary Benson <gbenson@redhat.com>
17022
17023 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17024
0e433b32
PA
170252015-08-20 Pedro Alves <palves@redhat.com>
17026
17027 * gdb.server/solib-list.exp: No longer expect an interior stop in
17028 non-stop mode.
17029
221e1a37
PA
170302015-08-20 Pedro Alves <palves@redhat.com>
17031
17032 * gdb.server/connect-stopped-target.c: New file.
17033 * gdb.server/connect-stopped-target.exp: New file.
17034
40e3ad0e
PA
170352015-08-20 Pedro Alves <palves@redhat.com>
17036
17037 * gdb.dwarf2/comp-unit-lang.exp: New file.
17038 * gdb.dwarf2/comp-unit-lang.c: New file.
17039
af39b327
PMR
170402015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17041
17042 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17043 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17044
7d45c7c3 170452015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17046
7d45c7c3
KB
17047 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17048 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17049
4d6cceb4
DE
170502015-08-18 Doug Evans <dje@google.com>
17051 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17052
17053 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17054 skip_python_tests. New arg prompt_regexp.
17055 (skip_python_tests): New function.
17056 * lib/mi-support.exp (mi_skip_python_tests): New function.
17057 * gdb.python/py-mi-objfile-gdb.py: New file.
17058 * gdb.python/py-mi-objfile.c: New file.
17059 * gdb.python/py-mi-objfile.exp: New file.
17060
ad89c2aa
KS
170612015-08-17 Keith Seitz <keiths@redhat.com>
17062
17063 * gdb.linespec/explicit.exp: Move strace test from here ...
17064 * gdb.trace/strace.exp: ... to here.
17065
e3ae3c43
PP
170662015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17067
17068 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17069 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17070
604b2636
DE
170712015-08-14 Doug Evans <xdje42@gmail.com>
17072
17073 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17074 inferior before selecting a new file.
17075
6ff0ba5f
DE
170762015-08-14 Doug Evans <xdje42@gmail.com>
17077
17078 * gdb.mi/mi-disassemble.exp: Update.
17079 * gdb.base/disasm-optim.S: New file.
17080 * gdb.base/disasm-optim.c: New file.
17081 * gdb.base/disasm-optim.h: New file.
17082 * gdb.base/disasm-optim.exp: New file.
17083
9ca98f92
KS
170842015-08-14 Keith Seitz <keiths@redhat.com>
17085
17086 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17087 "evaluated-by".
17088
52bbc560
JB
170892015-08-13 Joel Brobecker <brobecker@adacore.com>
17090
17091 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17092
5d8c3ed3
PMR
170932015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17094
17095 * gdb.ada/fun_renaming.exp: New testcase.
17096 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17097 * gdb.ada/fun_renaming/pack.adb: New file.
17098 * gdb.ada/fun_renaming/pack.ads: New file.
17099
ea8812bc
KS
171002015-08-12 Keith Seitz <keiths@redhat.com>
17101
17102 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17103 gdb_get_line_number.
17104
4dafcdeb
JB
171052015-08-12 Joel Brobecker <brobecker@adacore.com>
17106
17107 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17108 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17109 gdb.base/dso2dso.exp: New files.
17110
5ba32597
SDJ
171112015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17112 Pedro Alves <palves@redhat.com>
17113 Keith Seitz <keiths@redhat.com>
17114
17115 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17116 GDBFLAGS.
17117
b6dafabf
PP
171182015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17119
17120 * gdb.base/gdbhistsize-history.exp
17121 (test_histsize_history_setting): Use save_vars.
17122 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17123 Use save_vars.
17124 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17125 * gdb.base/readline.exp: Use save_vars.
17126
abe8e607
PP
171272015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17128
17129 * lib/gdb.exp (save_vars): New proc.
17130
629500fa
KS
171312015-08-11 Keith Seitz <keiths@redhat.com>
17132
17133 * gdb.base/help.exp: Update help_breakpoint_text.
17134
eb8c4e2e
KS
171352015-08-11 Keith Seitz <keiths@redhat.com>
17136
17137 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17138 (at toplevel): Call test_explicit_breakpoints.
17139 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17140 breakpoints.
17141 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17142 breakpoint conditions, "-cond".
17143
87f0e720
KS
171442015-08-11 Keith Seitz <keiths@redhat.com>
17145
17146 * gdb.linespec/3explicit.c: New file.
17147 * gdb.linespec/cpexplicit.cc: New file.
17148 * gdb.linespec/cpexplicit.exp: New file.
17149 * gdb.linespec/explicit.c: New file.
17150 * gdb.linespec/explicit.exp: New file.
17151 * gdb.linespec/explicit2.c: New file.
17152 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17153 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17154 before using in the matching pattern.
17155 Clarify that `prefix' is a regular expression.
17156
f00aae0f
KS
171572015-08-11 Keith Seitz <keiths@redhat.com>
17158
17159 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17160 test.
17161 Add tests for missing ",FMT" and ",".
17162
e27852be
DE
171632015-08-10 Doug Evans <dje@google.com>
17164 Keith Seitz <keiths@redhat.com>
17165
17166 PR gdb/17960
17167 * gdb.base/completion.exp: Add location completer tests.
17168
7f03bd92
PA
171692015-08-07 Pedro Alves <palves@redhat.com>
17170
17171 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17172 tests here.
17173 (top level): Run do_test with and without displaced stepping.
17174
3fc8eb30
PA
171752015-08-07 Pedro Alves <palves@redhat.com>
17176
17177 * gdb.base/valgrind-disp-step.c: New file.
17178 * gdb.base/valgrind-disp-step.exp: New file.
17179
d4569d7b
PA
171802015-08-07 Pedro Alves <palves@redhat.com>
17181
17182 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17183 Delete function.
17184 (main): Add alarm. Run an infinite loop instead of calling
17185 wait_threads.
17186 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17187 comment.
17188 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17189 Delete function.
17190 (main): Add alarm. Run an infinite loop instead of calling
17191 wait_threads.
17192 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17193 comment.
17194
e1316e60
PA
171952015-08-07 Pedro Alves <palves@redhat.com>
17196
17197 * gdb.base/checkpoint-ns.exp: New file.
17198 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17199 standard_testfile.
17200
da8c46d2
MM
172012015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17202
17203 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17204 * gdb.btrace/instruction_history.exp: Update.
17205 * gdb.btrace/tsx.exp: New.
17206 * gdb.btrace/tsx.c: New.
17207
de1c2c52
PA
172082015-08-06 Pedro Alves <palves@redhat.com>
17209
17210 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17211 increase timeout.
17212 * gdb.reverse/until-precsave.exp: Bump timeouts.
17213
782e0bf4
PA
172142015-08-06 Pedro Alves <palves@redhat.com>
17215
17216 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17217
83e97ed0
PA
172182015-08-06 Pedro Alves <palves@redhat.com>
17219
17220 PR gdb/18749
17221 * gdb.threads/process-dies-while-handling-bp.c: New file.
17222 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17223
863d01bd
PA
172242015-08-06 Pedro Alves <palves@redhat.com>
17225
17226 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17227 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17228
0a39bb32
PA
172292015-08-05 Pedro Alves <palves@redhat.com>
17230
17231 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17232 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17233
ee2d2b10
SL
172342015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17235
17236 * gdb.base/bp-permanent.exp: Report test as unsupported if
17237 the target cannot stop at the permanent breakpoint.
17238
4e1bdb00
DE
172392015-08-03 Doug Evans <dje@google.com>
17240
17241 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17242 10000.
17243
3d338901
DE
172442015-08-03 Doug Evans <dje@google.com>
17245
17246 * Makefile.in (workers/%.worker, build-perf): New rule.
17247 (GDB_PERFTEST_MODE): New variable.
17248 (check-perf): Use it.
17249 (clean): Clean up gdb.perf parallel build subdirs.
17250 * lib/build-piece.exp: New file.
17251 * lib/gdb.exp (make_gdb_parallel_path): New function
17252 (standard_output_file, standard_temp_file): Call it.
17253 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17254 of $GDB_PARALLEL.
17255 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17256
af061d3e
DE
172572015-08-03 Doug Evans <dje@google.com>
17258
8e1afc81 17259 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17260 (LOG_FILE_NAME): New global.
17261 (TextReporter.__init__): Initialize self.txt_sum.
17262 (TextReporter.report): Add support for multiple data-points.
17263 Move report to perftest.sum, put raw data in perftest.log.
17264 (TextReporter.start): Open sum and log files.
17265 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17266 * gdb.perf/lib/perftest/testresult.py
17267 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17268
2c8c5d37
PA
172692015-07-31 Pedro Alves <palves@redhat.com>
17270
17271 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17272 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17273 kill_wait_spawned_process instead of explicit "kill -9".
17274 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17275 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17276 kill_wait_spawned_process.
17277 * gdb.base/attach-twice.exp: Likewise.
17278 * gdb.base/attach.exp: Likewise.
17279 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17280 gdb_test_multiple.
17281 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17282 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17283 kill_wait_spawned_process.
17284 * gdb.base/valgrind-infcall.exp: Likewise.
17285 * gdb.multi/multi-attach.exp: Likewise.
17286 * gdb.python/py-prompt.exp: Likewise.
17287 * gdb.python/py-sync-interp.exp: Likewise.
17288 * gdb.server/ext-attach.exp: Likewise.
17289 * gdb.threads/attach-into-signal.exp (corefunc): Use
17290 spawn_wait_for_attach, spawn_id_get_pid and
17291 kill_wait_spawned_process.
17292 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17293 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17294 spawn_id_get_pid and kill_wait_spawned_process.
17295 * gdb.threads/attach-stopped.exp (corefunc): Use
17296 spawn_wait_for_attach, spawn_id_get_pid and
17297 kill_wait_spawned_process.
17298 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17299 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17300 kill_wait_spawned_process instead of explicit "kill -9".
17301 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17302 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17303 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17304 processes. Don't map cygwin/windows pids here. Now returns a
17305 spawn id list.
17306
032a0fca
SL
173072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17308
17309 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17310 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17311 correct patch.
17312
61a934ca
SL
173132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17314
17315 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17316
4bc4d428
SL
173172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17318
17319 Reapply:
17320 2014-05-21 Mark Wielaard <mjw@redhat.com>
17321
17322 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17323
998d452a
PA
173242015-07-30 Pedro Alves <palves@redhat.com>
17325
17326 * linux-low.c (handle_extended_wait): Set the child's last
17327 reported status to TARGET_WAITKIND_STOPPED.
17328
69dde7dc
PA
173292015-07-30 Pedro Alves <palves@redhat.com>
17330
17331 PR threads/18600
17332 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17333 only shows inferior 1.
17334
4dd63d48
PA
173352015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17336 Pedro Alves <palves@redhat.com>
17337
17338 PR threads/18600
17339 * gdb.threads/fork-plus-threads.c: New file.
17340 * gdb.threads/fork-plus-threads.exp: New file.
17341
d618e4c5
PP
173422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17343
17344 * gdb.base/batch-preserve-term-settings.exp
17345 (test_terminal_settings_preserved_after_cli_exit): Use
17346 send_quit_command.
17347
1eef6428
PA
173482015-07-29 Pedro Alves <palves@redhat.com>
17349 Don Breazeal <donb@codesourcery.com>
17350
17351 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17352 output from both inferior_spawn_id and gdb_spawn_id.
17353
7da5b897
SDJ
173542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17355
17356 * gdb.threads/attach-into-signal.exp (corefunc): Use
17357 with_test_prefix on nested loops, uniquefying the test messages.
17358
dac804df
SDJ
173592015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17360
17361 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17362 commit.
17363
06265e53
PP
173642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17365
17366 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17367 New proc.
17368 (test_terminal_settings_preserved_after_sigterm): New test.
17369
18206ca3
PP
173702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17371
17372 * gdb.base/batch-preserve-term-settings.exp
17373 (test_terminal_settings_preserved_after_cli_exit): New test.
17374
90074d11
PP
173752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17376
17377 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17378 manipulation of saved_gdbflags.
17379 (test_terminal_settings_preserved): Remove global declaration of
17380 the unused variable pagination_prompt. Remove manipulation of
17381 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17382 GDBFLAGS.
17383
eb1a7902
PA
173842015-07-29 Pedro Alves <palves@redhat.com>
17385
17386 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17387
8b75dd3b
PA
173882015-07-29 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17391 at the top.
17392
dedad4e3
PA
173932015-07-29 Pedro Alves <palves@redhat.com>
17394
17395 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17396 (main): Call gdb_unbuffer_output.
17397 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17398 (main): Call gdb_unbuffer_output.
17399 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17400 (main): Call gdb_unbuffer_output.
17401 * gdb.base/call-strs.exp: Adjust to step over the
17402 gdb_unbuffer_output call.
17403 * gdb.base/catch-gdb-caused-signals.c: Include
17404 "../lib/unbuffer_output.c".
17405 (main): Call gdb_unbuffer_output.
17406 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17407 (main): Call gdb_unbuffer_output.
17408 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17409 (main): Call gdb_unbuffer_output.
17410 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17411 (main): Call gdb_unbuffer_output.
17412 * gdb.base/shlib-call.exp: Adjust to step over the
17413 gdb_unbuffer_output call.
17414 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17415 (main): Call gdb_unbuffer_output.
17416 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17417 (main): Call gdb_unbuffer_output.
17418 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17419 (main): Rename to ...
17420 (test): ... this.
17421 (main): Reimplement.
17422 * gdb.base/varargs.exp: Run to test instead of to main.
17423 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17424 (main): Call gdb_unbuffer_output.
17425
58789a91
PA
174262015-07-29 Pedro Alves <palves@redhat.com>
17427
17428 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17429 factore out from mi_continue_dprintf. For call-style dprintfs,
17430 expect dprintf output out of $inferior_spawn_id.
17431 (mi_continue_dprintf): Use mi_expect_dprintf.
17432 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17433 (main): Call gdb_unbuffer_output.
17434
e8376742
PA
174352015-07-29 Pedro Alves <palves@redhat.com>
17436
17437 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17438 (default_mi_gdb_start): Set inferior_spawn_id instead of
17439 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17440 gdb_spawn_id.
17441 (mi_gdb_test): Always expect inferior output from both
17442 $inferior_spawn_id and $gdb_spawn_id.
17443
08280010
PA
174442015-07-29 Pedro Alves <palves@redhat.com>
17445
17446 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17447 send_inferior and $inferior_spawn_id.
17448
4d30e432
PA
174492015-07-29 Pedro Alves <palves@redhat.com>
17450
17451 * gdb.gdb/complaints.exp (test_initial_complaints)
17452 (test_serial_complaints, test_short_complaints): Use
17453 gdb_test_stdio.
17454 (test_empty_complaint): Handle $inferior_spawn_id !=
17455 $gdb_spawn_id.
17456
0d30a335
PA
174572015-07-29 Pedro Alves <palves@redhat.com>
17458
17459 * gdb.base/varargs.exp: Use gdb_test_stdio.
17460
39413b29
PA
174612015-07-29 Pedro Alves <palves@redhat.com>
17462
17463 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17464
7cb000a9
PA
174652015-07-29 Pedro Alves <palves@redhat.com>
17466
17467 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17468
d7b8ac82
PA
174692015-07-29 Pedro Alves <palves@redhat.com>
17470
17471 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17472 parameter into two new parameters, "inf_result" and "gdb_result".
17473 Expect inferior output and gdb output from $inferior_spawn_id and
17474 $gdb_spawn_id, respectively. Adjust all callers.
17475
789c3a0c
PA
174762015-07-29 Pedro Alves <palves@redhat.com>
17477
17478 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17479 of gdb_test_sequence.
17480
77e760c3
PA
174812015-07-29 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17484 (saw_spurious_output): Expect inferior output from
17485 $inferior_spawn_id. Use gdb_test_stdio.
17486
8396d2cd
PA
174872015-07-29 Pedro Alves <palves@redhat.com>
17488
17489 * gdb.base/dprintf.exp: Use standard_testfile. Change
17490 prepare_for_testing call.
17491 (srcfile): Don't set.
17492 (restart): New procedure.
17493 (test_dprintf): New procecure, use to continue over dprintfs.
17494 (test_call, test_agent): New procedures, tests moved here.
17495 Restart gdb and recreate dprintfs. Adjust expected output.
17496
2051d61f
PA
174972015-07-29 Pedro Alves <palves@redhat.com>
17498
17499 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17500
452397af
PA
175012015-07-29 Pedro Alves <palves@redhat.com>
17502
17503 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17504
8aed9555
PA
175052015-07-29 Pedro Alves <palves@redhat.com>
17506
17507 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17508 gdb_test_stdio.
17509
188a61b4
PA
175102015-07-29 Pedro Alves <palves@redhat.com>
17511
17512 * lib/gdb.exp (gdb_test_stdio): New procedure.
17513
12264a45
PA
175142015-07-29 Pedro Alves <palves@redhat.com>
17515
17516 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17517
23ffc893
PA
175182015-07-29 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.base/call-signal-resume.exp: Remove check for
17521 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17522 * gdb.base/unwindonsignal.exp: Likewise.
17523 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17524 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17525
65566918
PA
175262015-07-29 Pedro Alves <palves@redhat.com>
17527
17528 * gdb.base/siginfo-addr.c (pass): New function.
17529 (handler): Call it iff si_addr is correct.
17530 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17531 Set a breakpoint at "pass" and continue to it.
17532
d60a9221
SDJ
175332015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17534
17535 * gdb.python/py-objfile.exp: Make some tests have unique names.
17536 * gdb.python/py-pp-registration.exp: Likewise.
17537
bde40b8f
PA
175382015-07-28 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17541
13e1dec8
SM
175422015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17543
17544 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17545
da33c9a7
SM
175462015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17547
17548 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17549
077836f7
PP
175502015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17551
17552 * gdb.base/gdb-sigterm-2.exp: New test.
17553
b8cc7b2e
DE
175542015-07-25 Doug Evans <xdje42@gmail.com>
17555
17556 Revert:
17557 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17558 (workers/%.worker, build-perf): New rule.
17559 (GDB_PERFTEST_MODE): New variable.
17560 (check-perf): Use it.
17561 (clean): Clean up gdb.perf parallel build subdirs.
17562 * lib/build-piece.exp: New file.
17563 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17564 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17565 name.
17566 (standard_temp_file): Ditto.
17567 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17568 of $GDB_PARALLEL.
17569
c8bd4544
DE
175702015-07-24 Doug Evans <dje@google.com>
17571
17572 * gdb.perf/lib/perftest/utils.py: New file.
17573 * gdb.perf/gm-hello.cc: New file.
17574 * gdb.perf/gm-pervasive-typedef.cc: New file.
17575 * gdb.perf/gm-pervasive-typedef.h: New file.
17576 * gdb.perf/gm-std.cc: New file.
17577 * gdb.perf/gm-std.h: New file.
17578 * gdb.perf/gm-use-cerr.cc: New file.
17579 * gdb.perf/gm-utils.h: New file.
17580 * gdb.perf/gmonster-null-lookup.py: New file.
17581 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17582 * gdb.perf/gmonster-print-cerr.py: New file.
17583 * gdb.perf/gmonster-ptype-string.py: New file.
17584 * gdb.perf/gmonster-runto-main.py: New file.
17585 * gdb.perf/gmonster-select-file.py: New file.
17586 * gdb.perf/gmonster1-null-lookup.exp: New file.
17587 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17588 * gdb.perf/gmonster1-print-cerr.exp: New file.
17589 * gdb.perf/gmonster1-ptype-string.exp: New file.
17590 * gdb.perf/gmonster1-runto-main.exp: New file.
17591 * gdb.perf/gmonster1-select-file.exp: New file.
17592 * gdb.perf/gmonster1.cc: New file.
17593 * gdb.perf/gmonster1.exp: New file.
17594 * gdb.perf/gmonster2-null-lookup.exp: New file.
17595 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17596 * gdb.perf/gmonster2-print-cerr.exp: New file.
17597 * gdb.perf/gmonster2-ptype-string.exp: New file.
17598 * gdb.perf/gmonster2-runto-main.exp: New file.
17599 * gdb.perf/gmonster2-select-file.exp: New file.
17600 * gdb.perf/gmonster2.cc: New file.
17601 * gdb.perf/gmonster2.exp: New file.
17602
6eab34f3
DE
176032015-07-24 Doug Evans <dje@google.com>
17604
17605 * gdb.perf/README: New file.
17606 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17607 * lib/gen-perf-test.exp: New file.
17608
63738bfd
DE
176092015-07-24 Doug Evans <dje@google.com>
17610
17611 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17612 (PerfTest::startup): New function.
17613 (PerfTest::run): Return result of calling body.
17614 (PerfTest::assemble): Rewrite.
17615 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17616 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17617 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17618 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17619 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17620
7b606f95
DE
176212015-07-24 Doug Evans <dje@google.com>
17622
17623 * lib/gdb.exp (clean_restart): Make executable optional.
17624
a97b16b8
DE
176252015-07-24 Doug Evans <dje@google.com>
17626
17627 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17628 compiler_info references.
17629 * gdb.cp/temargs.exp: Ditto.
17630 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17631 (get_compiler_info): Early exit if already computed. Set compiler_info
17632 to "unknown" if there was a problem.
17633 (test_compiler_info): Add function comment. Call get_compiler_info.
17634
35baa57f
DE
176352015-07-24 Doug Evans <dje@google.com>
17636
17637 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17638 (workers/%.worker, build-perf): New rule.
17639 (GDB_PERFTEST_MODE): New variable.
17640 (check-perf): Use it.
17641 (clean): Clean up gdb.perf parallel build subdirs.
17642 * lib/build-piece.exp: New file.
17643 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17644 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17645 name.
17646 (standard_temp_file): Ditto.
17647 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17648 of $GDB_PARALLEL.
17649
6ebea266
DE
176502015-07-24 Doug Evans <dje@google.com>
17651
17652 * lib/future.exp (gdb_default_target_compile): New option
17653 "early_flags".
17654 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17655 --as-needed.
17656
1e76a7e9
SDJ
176572015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17658
17659 * gdb.base/catch-syscall.exp: Call gdb_exit before
17660 gdb_skip_xml_test.
17661
5068630a
PA
176622015-07-24 Pedro Alves <palves@redhat.com>
17663
17664 * gdb.python/py-events.exp: Accept output between the stop event
17665 and the prompt.
17666 * gdb.python/py-evsignal.exp: Likewise.
17667 * gdb.python/py-evthreads.exp: Likewise.
17668
77598427
PA
176692015-07-24 Pedro Alves <palves@redhat.com>
17670
17671 PR gdb/18717
17672 * gdb.threads/non-ldr-exit.c: New file.
17673 * gdb.threads/non-ldr-exit.exp: New file.
17674
11e6c98f
YQ
176752015-07-24 Yao Qi <yao.qi@linaro.org>
17676
17677 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17678 restarting process.
17679
51aee833
YQ
176802015-07-24 Yao Qi <yao.qi@linaro.org>
17681
17682 * gdb.server/ext-restart.exp: New file.
17683
8cfe207c
YQ
176842015-07-24 Yao Qi <yao.qi@linaro.org>
17685
17686 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17687 argument options.
17688 * gdb.server/ext-wrapper.exp: New file.
17689
cc12ce38
DE
176902015-07-23 Doug Evans <dje@google.com>
17691
17692 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17693 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17694
d0d84780
PMR
176952015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17696
17697 * gdb.ada/var_arr_typedef.exp: New testcase.
17698 * gdb.ada/var_arr_typedef/pack.adb: New file.
17699 * gdb.ada/var_arr_typedef/pack.ads: New file.
17700 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17701
8b558f79
JB
177022015-07-20 Joel Brobecker <brobecker@adacore.com>
17703
17704 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17705
775a3298
JK
177062015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17707
17708 * gdb.arch/i386-biarch-core.exp: Replace istarget
17709 by "complete set gnutarget". Remove expectation for the "core-file"
17710 command.
17711
db1ff28b
JK
177122015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17713
17714 Revert the previous commit:
17715 Tests for validate symbol file using build-id.
17716
0a94970d
JK
177172015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17718
17719 Tests for validate symbol file using build-id.
17720 * gdb.base/solib-mismatch-lib.c: New file.
17721 * gdb.base/solib-mismatch-libmod.c: New file.
17722 * gdb.base/solib-mismatch.c: New file.
17723 * gdb.base/solib-mismatch.exp: New file.
17724
03346981
SL
177252015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17726
17727 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17728 nios2-*-linux*.
17729 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17730 * gdb.base/siginfo.exp: Likewise.
17731 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17732
42422cc7
PL
177332015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17734
17735 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17736 Move it to ...
17737 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17738 ... here.
17739 * gdb.trace/range-stepping.exp: Check that the target supports
17740 range stepping.
17741
cfa68bae
JK
177422015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17743
17744 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17745
8ffdba26
PA
177462015-07-14 Pedro Alves <palves@redhat.com>
17747
17748 * gdb.base/killed-outside.exp: New file.
17749 * gdb.base/killed-outside.c: New file.
17750
218a5a11
JK
177512015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17752
17753 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17754 (n at main): New.
17755 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17756
e03ed3c6
AA
177572015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17758
17759 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17760 infcall tests instead of setting up for KFAIL.
17761
485668e5
MM
177622015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17763
17764 * gdb.btrace/record_goto-step.exp: New.
17765
08464196
JK
177662015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17767
17768 PR compile/18484
17769 * gdb.compile/compile.c (struct struct_type): Add volatile to
17770 selffield's type.
17771 * gdb.compile/compile.exp
17772 (compile code struct_object.selffield = &struct_object): Skip further
17773 struct_object tests if this one xfails.
17774
bcf5c1d9
RC
177752015-07-08 Robert O'Callahan <robert@ocallahan.org>
17776
17777 PR exp/18617
17778 * gdb.trace/ax.exp: Add test.
17779
4931af25
YQ
177802015-07-07 Yao Qi <yao.qi@linaro.org>
17781
17782 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17783 instead of istarget "aarch64*-*-*".
17784 * gdb.arch/aarch64-fp.exp: Likewise.
17785 * gdb.base/float.exp: Likewise.
17786 * gdb.reverse/aarch64.exp: Likewise.
17787 * lib/gdb.exp (is_aarch64_target): New proc.
17788
9fcf688e
YQ
177892015-07-07 Yao Qi <yao.qi@linaro.org>
17790
17791 * lib/gdb.exp (is_aarch32_target): New proc.
17792 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17793 instead of "istarget "arm*-*-*"".
17794 * gdb.arch/arm-disp-step.exp: Likewise.
17795 * gdb.arch/thumb-bx-pc.exp: Likewise.
17796 * gdb.arch/thumb-prologue.exp: Likewise.
17797 * gdb.arch/thumb-singlestep.exp: Likewise.
17798 * gdb.base/disp-step-syscall.exp: Likewise.
17799 * gdb.base/float.exp: Likewise.
17800
fbd8d50d
YQ
178012015-07-07 Yao Qi <yao.qi@linaro.org>
17802
17803 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17804 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17805
71be1fdc
YQ
178062015-07-07 Yao Qi <yao.qi@linaro.org>
17807
17808 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17809 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17810 if it exists.
17811 * gdb.multi/multi-arch.exp: Likewise.
17812
3e221d36
SM
178132015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17814
17815 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17816 print.
17817
d441430b
YQ
178182015-07-07 Yao Qi <yao.qi@linaro.org>
17819
17820 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17821
06f810bd
MG
178222015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17823
17824 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17825 '[' and ']' characters.
17826
5e61e7c0
IB
178272015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17828
17829 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17830
28bf096c
PA
178312015-06-29 Pedro Alves <palves@redhat.com>
17832
17833 PR threads/18127
17834 * gdb.threads/hand-call-new-thread.c: New file.
17835 * gdb.threads/hand-call-new-thread.c: New file.
17836
ee93cd5e
KS
178372015-06-26 Keith Seitz <keiths@redhat.com>
17838 Doug Evans <dje@google.com>
17839
17840 PR 16253
17841 * gdb.cp/var-tag-2.cc: New file.
17842 * gdb.cp/var-tag-3.cc: New file.
17843 * gdb.cp/var-tag-4.cc: New file.
17844 * gdb.cp/var-tag.cc: New file.
17845 * gdb.cp/var-tag.exp: New file.
17846
fc637f04
PP
178472015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17848
17849 * gdb.base/history-duplicates.exp: New test.
17850
2e52ae68
PP
178512015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17852
17853 * gdb.base/completion.exp: Test the completion of the "focus"
17854 command.
17855
6e22494e
JK
178562015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17857
17858 * gdb.arch/amd64-prologue-skip.S: New file.
17859 * gdb.arch/amd64-prologue-skip.exp: New file.
17860
bf7b9cd9
SM
178612015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17862
17863 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17864 is_address_zero_readable check.
17865
201e8dfd
PB
178662015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17867
17868 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17869 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17870
5cd867b4
YQ
178712015-06-24 Yao Qi <yao.qi@linaro.org>
17872
17873 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17874 linux targets.
17875
4d7be007
YQ
178762015-06-24 Yao Qi <yao.qi@linaro.org>
17877
17878 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17879 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17880 * gdb.base/siginfo-thread.exp: Likewise.
17881
07fcd301
YQ
178822015-06-22 Yao Qi <yao.qi@linaro.org>
17883
17884 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17885
52042a00
YQ
178862015-06-22 Yao Qi <yao.qi@linaro.org>
17887
17888 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17889 aarch64*-*-*.
17890 (skip_hw_watchpoint_tests): Likewise.
17891
74bd41ce
PP
178922015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17893
17894 * gdb.base/gdbinit-history.exp: Test the interaction between
17895 setting GDBHISTSIZE and setting the history size via .gdbinit.
17896
bc460514
PP
178972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17898
17899 PR gdb/16999
17900 * gdb.base/gdbhistsize-history.exp: New test.
17901
b58c513b
PP
179022015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17903
17904 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17905 with GDBHISTSIZE.
17906 * gdb.base/readline.exp: Likewise.
17907
92046791
YQ
179082015-06-17 Yao Qi <yao.qi@linaro.org>
17909
17910 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17911 line.
17912
2093d2d3
PP
179132015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17914
17915 * gdb.base/gdbinit-history.exp: Add test case to check that
17916 an unlimited history file does not get truncated on exit.
17917
e6c693af
AA
179182015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17919
17920 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17921 (VECTOR): New macro. Use it...
17922 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17923 ...for these typedefs.
17924 (int8, char1, int1, double1): New typedefs.
17925 (struct just_int2, struct two_int2): New structures.
17926 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17927 (add_structvecs, add_singlevecs): New functions.
17928 (main): Call add_some_intvecs twice.
17929 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17930 the compile and exit upon failure. Try compiling for the "native"
17931 architecture. Test inferior function calls with vector arguments
17932 and vector return value handling with "finish" and "return".
17933
c74f7d1c
JT
179342015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17935
17936 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17937 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17938 PE file.
17939 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17940
98aa42ee
AT
179412015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17942
17943 PR breakpoints/16465
17944 * gdb.mi/mi-dprintf-pending.c: New file.
17945 * gdb.mi/mi-dprintf-pending.exp: New test.
17946 * gdb.mi/mi-dprintf-pendshr.c: New file.
17947
7d73c23c 179482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17949 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17950
17951 * gdb.arch/i386-mpx-map.c: New file.
17952 * gdb.arch/i386-mpx-map.exp: New File.
17953
179542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17955
17956 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17957 * gdb.arch/i386-mpx.exp: Indentation fixed.
17958
179592015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17960
17961 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17962 function and improved indentation.
17963 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17964 gdb_test_multiple. Added additional tests to skip the test.
17965
179662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17967
17968 * gdb.arch/i386-avx512.c: Change path in include file.
17969 * gdb.arch/i386-avx512.exp: Change include dir path
17970 compilation flag.
17971 * gdb.arch/i386-mpx.c: Change path in include file.
17972 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17973 flag.
17974
d5eba19a
JK
179752015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17976
17977 * gdb.compile/compile-print.exp (compile print *vararray@3)
17978 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17979
7f361056
JK
179802015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17981
17982 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17983 (do not keep jit in memory): ... this.
17984 (expect 5): Change it to ...
17985 (expect no 5): ... this.
17986
3b462ec2
SM
179872015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17988
17989 PR gdb/15564
17990 * gdb.mi/mi-detach.exp: New file.
17991
e0619de6
JK
179922015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17993
17994 PR symtab/18392
17995 * gdb.arch/amd64-tailcall-self.S: New file.
17996 * gdb.arch/amd64-tailcall-self.c: New file.
17997 * gdb.arch/amd64-tailcall-self.exp: New file.
17998
e970cb34
DB
179992015-05-28 Don Breazeal <donb@codesourcery.com>
18000
18001 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18002 tests for remote targets by checking is_target_gdbserver.
18003
b2e2f908
DE
180042015-05-27 Doug Evans <dje@google.com>
18005
18006 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18007 * gdb.dwarf2/opaque-type-lookup.c: New file.
18008 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18009
82c7be31
DE
180102015-05-26 Doug Evans <dje@google.com>
18011
18012 * gdb.cp/iostream.cc: New file.
18013 * gdb.cp/iostream.exp: New file.
18014
b4f54984
DE
180152015-05-26 Doug Evans <dje@google.com>
18016
18017 * gdb.dwarf2/dw2-op-call.exp: Update.
18018 * gdb.dwarf2/dw4-sig-types.exp: Update.
18019 * gdb.dwarf2/implptr.exp: Update.
18020 * gdb.mi/mi-cmd-param-changed.exp: Update.
18021
4ea6efe9
DE
180222015-05-26 Doug Evans <dje@google.com>
18023
18024 * gdb.python/py-lazy-string.c: New file.
18025 * gdb.python/py-lazy-string.exp: New file.
18026 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18027 (main): Update. Add estring3.
18028 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18029 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18030
f6bb7db3
YQ
180312015-05-26 Omair Javaid <omair.javaid@linaro.org>
18032 Yao Qi <yao.qi@linaro.org>
18033
18034 * gdb.reverse/aarch64.c: New.
18035 * gdb.reverse/aarch64.exp: New.
18036
a81bfbd0
OJ
180372015-05-26 Omair Javaid <omair.javaid@linaro.org>
18038
25d49b86
PA
18039 * lib/gdb.exp (supports_process_record): Return true for
18040 aarch64*-linux*.
a81bfbd0
OJ
18041 (supports_reverse): Likewise.
18042
158bf1b4
PP
180432015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18044
18045 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18046 Use with_test_prefix.
18047
a0145030
AB
180482015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18049
18050 * gdb.base/completion.exp: Add test for completion of layout
18051 names.
18052
ebe3b578
AB
180532015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18054
18055 * lib/gdb.exp (skip_tui_tests): New proc.
18056 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18057
84204ed7
PA
180582015-05-19 Pedro Alves <palves@redhat.com>
18059
18060 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18061 Save the whole env array instead of just HOME. Unset HISTSIZE in
18062 the environment while testing. Restore whole environment
18063 afterwards.
18064
37442ce1
DE
180652015-05-16 Doug Evans <xdje42@gmail.com>
18066
18067 * gdb.guile/scm-ports.c: New file.
18068 * gdb.guile/scm-ports.exp: Add memory port tests.
18069
36de76f9
JK
180702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18071
18072 * gdb.compile/compile-print.c: New file.
18073 * gdb.compile/compile-print.exp: New file.
18074
3a9558c4
JK
180752015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18076
18077 * gdb.compile/compile-ops.exp: Cast param to void.
18078 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18079 (compile code struct_object.selffield = &struct_object): Add xfail.
18080
aa715135
JG
180812015-05-15 Joel Brobecker <brobecker@adacore.com>
18082
18083 * gdb.ada/arr_enum_with_gap: New testcase.
18084
931e5bc3
JG
180852015-05-15 Joel Brobecker <brobecker@adacore.com>
18086
18087 * gdb.ada/byte_packed_arr: New testcase.
18088
9cd4d857
JB
180892015-05-15 Joel Brobecker <brobecker@adacore.com>
18090
18091 * gdb.ada/pckd_neg: New testcase.
18092
ebfd00d2
PP
180932015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18094
18095 PR gdb/17820
18096 * gdb.base/gdbinit-history.exp: New test.
18097 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18098 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18099
4c082a81
SC
181002015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18101
18102 * gdb.python/py-xmethods.cc: Enhance test case.
18103 * gdb.python/py-xmethods.exp: New tests.
18104 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18105 function.
18106 (B_indexoper): Likewise.
18107 (global_dm_list) : Add new xmethod worker functions.
18108
f7797074
SDJ
181092015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18110
18111 * gdb.base/coredump-filter.exp: Correctly unset
18112 "coredump_var_addr" array.
18113
a4674e4e
PA
181142015-05-08 Pedro Alves <palves@redhat.com>
18115
18116 * gdb.server/non-existing-program.exp: Unset spawn_id.
18117
df2eb078
SC
181182015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18119
18120 PR python/18291
18121 * gdb.python/py-xmethods.exp: Add tests.
18122
422349a3
YQ
181232015-05-08 Yao Qi <yao.qi@linaro.org>
18124
18125 PR gdb/18208
18126 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18127 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18128 function set_coredump_filter, and remove remote_exec call.
18129 Remove argument ipid. Callers update.
18130 (top level): Don't get inferior's PID.
18131
63fc80ce
AA
181322015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18133
18134 * gdb.base/watch_thread_num.exp: Skip test on targets without
18135 access watchpoints.
18136
80ad801e
PA
181372015-05-06 Pedro Alves <palves@redhat.com>
18138
18139 PR server/18081
18140 * gdb.server/non-existing-program.exp: New file.
18141
0fa7fe50
JB
181422015-05-05 Joel Brobecker <brobecker@adacore.com>
18143
18144 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18145
3ea89b92
PMR
181462015-05-05 Joel Brobecker <brobecker@adacore.com>
18147
18148 * gdb.ada/out_of_line_in_inlined: New testcase.
18149
87b8eff0
JB
181502015-05-05 Joel Brobecker <brobecker@adacore.com>
18151
18152 * gdb.ada/var_rec_arr: New testcase.
18153
5fccc635
YQ
181542015-04-30 Yao Qi <yao.qi@linaro.org>
18155
18156 * gdb.base/break-idempotent.exp: If
18157 skip_hw_watchpoint_multi_tests returns true, skip the tests
18158 on "rwatch" and "awatch".
18159
42d38f42
YQ
181602015-04-30 Yao Qi <yao.qi@linaro.org>
18161
18162 * gdb.base/relativedebug.exp: Invoke gdb command
18163 "info sharedlibrary", and if libc.so doesn't have debug info,
18164 skip the test.
18165
2ce1cdbf
DE
181662015-04-29 Doug Evans <dje@google.com>
18167
18168 * gdb.python/py-xmethods.exp: Add ptype tests.
18169 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18170 get_result_type method.
18171
f24a38c5
LM
181722015-04-29 Luis Machado <lgustavo@codesourcery.com>
18173
18174 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18175 the target does not support hardware watchpoints.
18176
ecbf2b3c
LM
181772015-04-29 Luis Machado <lgustavo@codesourcery.com>
18178
18179 * gdb.base/break-always.exp: Abort testing if writing to memory
18180 causes an error.
18181
34f5f757
DE
181822015-04-28 Doug Evans <dje@google.com>
18183
18184 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18185 * gdb.python/py-pp-registration.exp: ... here. New file.
18186 * gdb.python/py-pp-registration.c: New file.
18187 * gdb.python/py-pp-registration.py: New file.
18188
69b4374a
DE
181892015-04-28 Doug Evans <dje@google.com>
18190
18191 * gdb.python/py-bad-printers.c: New file.
18192 * gdb.python/py-bad-printers.py: New file.
18193 * gdb.python/py-bad-printers.exp: New file.
18194
59fb7612
SS
181952015-04-28 Sasha Smundak <asmundak@google.com>
18196
18197 * gdb.python/py-type.exp: New test.
18198
2631b16a
AW
181992015-04-28 Andy Wingo <wingo@igalia.com>
18200
18201 * gdb.python/py-parameter.exp:
18202 * gdb.guile/scm-parameter.exp: Escape the path that we are
18203 matching against, as it might contain characters that are special
18204 to regular expressions.
18205
460efde1
JB
182062015-04-27 Joel Brobecker <brobecker@adacore.com>
18207
18208 * gdb.ada/rec_comp: New testcase.
18209
2d369d8e
SDJ
182102015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18211
18212 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18213 before using it.
18214
cf75d6c3
AB
182152015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18216
18217 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18218 new tests for verilog output.
18219
8dbe7ca5
YQ
182202015-04-24 Yao Qi <yao.qi@linaro.org>
18221
18222 * boards/remote-gdbserver-on-localhost.exp: New file.
18223
4ef9fb2f
PA
182242015-04-23 Pedro Alves <palves@redhat.com>
18225
18226 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18227 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18228 "end of file", remove $inferior_spawn_id from the indirect list.
18229
0a803169
PA
182302015-04-23 Pedro Alves <palves@redhat.com>
18231
18232 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18233
749ef8f8
PA
182342015-04-23 Pedro Alves <palves@redhat.com>
18235
18236 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18237 on $any_spawn_id instead of only on $gdb_spawn_id.
18238
8aae4344
PM
182392015-04-21 Pierre Muller <muller@sourceware.org>
18240
18241 PR pascal/17815
18242 * lib/pascal.exp (gpc_compile): Add new option "class".
18243 (fpc_compile): Likewise.
18244 * gdb.pascal/case-insensitive-symbols.pas: New file.
18245 * gdb.pascal/case-insensitive-symbols.exp: New file.
18246
1586c8fb
GB
182472015-04-20 Gary Benson <gbenson@redhat.com>
18248
18249 * gdb.base/attach.exp: Fix three extended remote failures.
18250
1b6e6f5c
GB
182512015-04-17 Gary Benson <gbenson@redhat.com>
18252
18253 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18254 the main executable over the remote protocol.
18255
e797481d
PA
182562015-04-16 Pedro Alves <palves@redhat.com>
18257
18258 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18259 a new gdbserver if gdbserver_reconnect_p is set.
18260
1ca99c42
PA
182612015-04-16 Pedro Alves <palves@redhat.com>
18262
18263 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18264 is set, don't exit gdbserver.
18265
af9fd6f8
AA
182662015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18267
18268 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18269 appropriate .insn, such that an older assembler can be used.
18270 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18271 the z/Architecture instruction set on 31-bit targets as well.
18272
04ff1e61
AA
182732015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18274
18275 * gdb.go/handcall.exp: Remove all logic related to the first
18276 breakpoint and rely on go_runto_main instead.
18277 * gdb.go/strings.exp: Likewise.
18278 * gdb.go/unsafe.exp: Likewise.
18279 * gdb.go/hello.exp: Likewise. Also rename the remaining
18280 breakpoint marker to "breakpoint 1".
18281 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18282 * gdb.go/strings.go: Likewise.
18283 * gdb.go/unsafe.go: Likewise.
18284 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18285 "set breakpoint 2 here" and rename the remaining breakpoint marker
18286 to "breakpoint 1".
18287
40d2f8d6
SM
182882015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18289
18290 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18291 if itertools.imap is not present.
18292 * gdb.python/py-objfile.exp: Add parentheses.
18293 * gdb.python/py-type.exp: Same.
18294 * gdb.python/py-unwind-maint.py: Same.
18295
8cbc97c6
YQ
182962015-04-15 Yao Qi <yao.qi@linaro.org>
18297
18298 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18299 of ":$ptr_size" and set its form explicitly.
18300
45fd756c
YQ
183012015-04-15 Pedro Alves <palves@redhat.com>
18302 Yao Qi <yao.qi@linaro.org>
18303
18304 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18305 timeout by factor of 4.
18306 (test_regular_watch): Likewise.
18307 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18308 * gdb.reverse/sigall-reverse.exp: Likewise.
18309 * gdb.reverse/until-precsave.exp: Likewise.
18310 * lib/gdb.exp (with_timeout_factor): New proc.
18311 (gdb_expect): Move some code to ...
18312 (get_largest_timeout): ... here. New procedure.
18313
9e811bc3
LM
183142015-04-14 Luis Machado <lgustavo@codesourcery.com>
18315
18316 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18317
0ff6fcb2
LM
183182015-04-13 Luis Machado <lgustavo@codesourcery.com>
18319
18320 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18321 to write to the .text section.
18322
7578d5f7
LM
183232015-04-13 Luis Machado <lgustavo@codesourcery.com>
18324
18325 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18326 Handle the case of targets that do not provide PID information.
18327
2efe15c4
YQ
183282015-04-13 Yao Qi <yao.qi@linaro.org>
18329
18330 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18331 and use expect instead of gdb_expect.
18332
8cd8f2f8
SDJ
183332015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18334
18335 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18336 "coredump_var_addr" to avoid naming conflict with other testcases.
18337
9ee41772
PA
183382015-04-10 Pedro Alves <palves@redhat.com>
18339
18340 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18341 gdb_test_sequence and gdb_assert.
18342
07473109
PA
183432015-04-10 Pedro Alves <palves@redhat.com>
18344
18345 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18346 test messages that don't include the breakpoint address.
18347
de3db44c
YQ
183482015-04-10 Yao Qi <yao.qi@linaro.org>
18349
18350 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18351 false for some offset and width combinations which aren't
18352 supported by linux kernel.
18353
c79d856c
PA
183542015-04-10 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18357 procedure, factored out from ...
18358 (top level): ... here. Add "set displaced-stepping" testing axis.
18359 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18360 parameter "displaced". Use it.
18361 (top level): Use foreach and add "set displaced-stepping" testing
18362 axis.
18363
ebc90b50
PA
183642015-04-10 Pedro Alves <palves@redhat.com>
18365
18366 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18367 Remove comment.
18368 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18369 both the address of the instruction that triggers the watchpoint
18370 and the address of the instruction immediately after, and use
18371 those addresses for the test. Fix comment.
18372
8f572e5c
PA
183732015-04-10 Pedro Alves <palves@redhat.com>
18374
18375 * gdb.base/sigstep.exp (breakpoint_to_handler)
18376 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18377 Test "backtrace" in handler.
18378 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18379 (top level): Add new "displaced" test axis to
18380 breakpoint_to_handler, breakpoint_to_handler_entry and
18381 breakpoint_over_handler.
18382
8d707a12
PA
183832015-04-10 Pedro Alves <palves@redhat.com>
18384
18385 PR gdb/18216
18386 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18387
ef713951
YQ
183882015-04-10 Yao Qi <yao.qi@linaro.org>
18389
18390 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18391 (test_add_rn_pc): New function.
18392 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18393 (top level): Invoke test_add_rn_pc.
18394
906d60cf
PA
183952015-04-10 Pedro Alves <palves@redhat.com>
18396
18397 PR gdb/13858
18398 * gdb.base/step-over-no-symbols.exp: New file.
18399
f2983cc3
AW
184002015-04-09 Andy Wingo <wingo@igalia.com>
18401
18402 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18403 after the Python tests.
18404
6d62641c
SDJ
184052015-04-08 Keith Seitz <keiths@redhat.com>
18406
18407 PR python/16699
18408 * gdb.python/py-completion.exp: New tests for completion.
18409 * gdb.python/py-completion.py (CompleteLimit1): New class.
18410 (CompleteLimit2): Likewise.
18411 (CompleteLimit3): Likewise.
18412 (CompleteLimit4): Likewise.
18413 (CompleteLimit5): Likewise.
18414 (CompleteLimit6): Likewise.
18415 (CompleteLimit7): Likewise.
18416
f3770638
PA
184172015-04-08 Pedro Alves <palves@redhat.com>
18418
18419 PR gdb/18214
18420 PR gdb/18216
18421 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18422 function.
18423 (main): Install it as SIGUSR1 handler.
18424 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18425 parameter. Always use "setup" as prefix. Toggle "set
18426 displaced-stepping" off/on depending on global. Don't switch to
18427 thread 1 here.
18428 (top level): Add displaced stepping "off/on" test axis. Update
18429 "setup" calls. Wrap each subtest with with_test_prefix. Test
18430 continuing with a queued signal in each thread.
18431
4496bed7
PA
184322015-04-08 Pedro Alves <palves@redhat.com>
18433
18434 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18435 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18436 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18437 Return early if running to main fails.
18438 * gdb.trace/while-stepping.exp: Likewise.
18439
b97fde92
PA
184402015-04-07 Pedro Alves <palves@redhat.com>
18441
18442 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18443 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18444 interact with inferior program.
18445
f71c18e7
PA
184462015-04-07 Pedro Alves <palves@redhat.com>
18447
18448 * lib/gdb.exp (inferior_spawn_id): New global.
18449 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18450 spawn id after processing the user code.
18451 (default_gdb_start): Set inferior_spawn_id.
18452 (send_inferior): New procedure.
18453 * lib/gdbserver-support.exp (gdbserver_start): Set
18454 inferior_spawn_id.
18455 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18456
6423214f
PA
184572015-04-07 Pedro Alves <palves@redhat.com>
18458
18459 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18460 * lib/gdbserver-support.exp (gdbserver_start): Make
18461 $server_spawn_id global.
18462 (gdbserver_start): Don't wait for gdbserver's spawn id with
18463 expect_background.
18464 (close_gdbserver): New procedure.
18465 (gdb_exit): Rename the default version and reimplement.
18466
71c0ee8c
PA
184672015-04-07 Pedro Alves <palves@redhat.com>
18468
72f4393d 18469 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18470 append the substituted item, not the original item.
18471
203bc29b
PA
184722015-04-07 Pedro Alves <palves@redhat.com>
18473
18474 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18475 gdb_expect.
18476
508a3ddf
PA
184772015-04-07 Pedro Alves <palves@redhat.com>
18478
18479 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18480 output appearing once only.
18481
9f6dbe2b
PA
184822015-04-07 Pedro Alves <palves@redhat.com>
18483
18484 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18485 that doesn't expect anything. Return early if running to main
18486 fails.
18487
337532fa
YQ
184882015-04-07 Yao Qi <yao.qi@linaro.org>
18489
18490 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18491 (child_function): Call alarm.
18492 (main): Move call to alarm into the loop.
18493 * gdb.threads/non-stop-fair-events.exp: Build program with
18494 -DTIMEOUT=$timeout.
18495
01b622d4
DE
184962015-04-06 Doug Evans <xdje42@gmail.com>
18497
18498 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18499 Fix dest parameter to board_info.
18500 (fpc_compile): Ditto.
18501 (gdb_compile_pascal): Rename dest arg to destfile.
18502
961f4160
PMR
185032015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18504
18505 * gdb.ada/funcall_ref.exp: New file.
18506 * gdb.ada/funcall_ref/foo.adb: New file.
18507
cafda597
YQ
185082015-04-02 Yao Qi <yao.qi@linaro.org>
18509
18510 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18511 is remote.
18512
fed040c6
GB
185132015-04-02 Gary Benson <gbenson@redhat.com>
18514
18515 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18516
d11916aa
SS
185172015-04-01 Sasha Smundak <asmundak@google.com>
18518
18519 * gdb.python/py-unwind-maint.c: New file.
18520 * gdb.python/py-unwind-maint.exp: New test.
18521 * gdb.python/py-unwind-maint.py: New file.
18522 * gdb.python/py-unwind.c: New file.
18523 * gdb.python/py-unwind.exp: New test.
18524 * gdb.python/py-unwind.py: New test.
18525
a1471180
PA
185262015-04-01 Pedro Alves <palves@redhat.com>
18527
18528 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18529 to fail instead of non-existent $test.
18530
0bbeccb1
PA
185312015-04-01 Pedro Alves <palves@redhat.com>
18532
18533 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18534 GDBFLAGS if not empty.
18535
3c724c8c
PMR
185362015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18537
18538 * gdb.ada/complete.exp: Remove "multi_line".
18539 * gdb.ada/info_exc.exp: Remove "multi_line".
18540 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18541 * gdb.ada/ptype_field.exp: Remove "multi_line".
18542 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18543 * gdb.ada/tagged.exp: Remove "multi_line".
18544 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18545 [multi_line ...]
18546 * gdb.btrace/delta.exp: Likewise.
18547 * gdb.btrace/exception.exp: Likewise.
18548 * gdb.btrace/function_call_history.exp: Likewise.
18549 * gdb.btrace/instruction_history.exp: Likewise.
18550 * gdb.btrace/nohist.exp: Likewise.
18551 * gdb.btrace/record_goto.exp: Likewise.
18552 * gdb.btrace/segv.exp: Likewise.
18553 * gdb.btrace/stepi.exp: Likewise.
18554 * gdb.btrace/tailcall.exp: Likewise.
18555 * gdb.btrace/unknown_functions.exp: Likewise.
18556 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18557 * lib/gdb.exp: Add the "multi_line" helper.
18558
4eec2deb
PA
185592015-04-01 Pedro Alves <palves@redhat.com>
18560
18561 * gdb.threads/tid-reuse.c: New file.
18562 * gdb.threads/tid-reuse.exp: New file.
18563
df8411da
SDJ
185642015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18565
18566 PR corefiles/16092
18567 * gdb.base/coredump-filter.c: New file.
18568 * gdb.base/coredump-filter.exp: Likewise.
18569
6ef37366
PM
185702015-03-27 Petr Machata <pmachata@redhat.com>
18571
18572 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18573 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18574 (Dwarf::assemble): Initialize them.
18575 (Dwarf::lines): New function.
18576
7ec911b0
JT
185772015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18578
18579 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18580 SYMBOL_PREFIX for x86_64-*-cygwin.
18581
ff908ebf
AW
185822015-03-26 Andy Wingo <wingo@igalia.com>
18583
18584 PR symtab/18148
18585 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18586 const_value but not a location.
18587 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18588 location defined in non-main CUs are visible.
18589
6d5f0679
YQ
185902015-03-26 Yao Qi <yao.qi@linaro.org>
18591
18592 PR testsuite/18139
18593 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18594 Add a line number entry for the same line.
18595 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18596 Add a line number entry for the same line.
18597
2898689b
YQ
185982015-03-26 Yao Qi <yao.qi@linaro.org>
18599
18600 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18601 .int 0.
18602 (func): Likewise. Add .Lfunc_1 label.
18603 Use .Lfunc_1 label.
18604 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18605 .int 0.
18606 (func): Likewise.
18607 Use .Lfunc_1 label.
18608
85180498
YQ
186092015-03-26 Yao Qi <yao.qi@linaro.org>
18610
18611 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18612 Call gdb_compile instead to compile each .s files without debug
18613 information.
18614
8aa08a8d
YQ
186152015-03-26 Yao Qi <yao.qi@linaro.org>
18616
18617 * gdb.base/savedregs.exp (process_saved_regs): Make
18618 "Saved registers:" optional in the pattern.
18619
66849923
MM
186202015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18621
18622 * gdb.btrace/next.exp: Merged into step.exp.
18623 * gdb.btrace/finish.exp: Merged into step.exp.
18624 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18625 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18626 "record goto" and checking the exact replay position.
18627 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18628 check for "Recording format" in "info record" output.
18629 * gdb.btrace/record_goto.exp: Choose test file based on target.
18630 * gdb.btrace/x86-record_goto.S: Renamed into ...
18631 * gdb.btrace/x86_64-record_goto.S: ... this.
18632 * gdb.btrace/i686-record_goto.S: New.
18633 * gdb.btrace/x86-tailcall.S: Renamed into ...
18634 * gdb.btrace/x86_64-tailcall.S: ... this.
18635 * gdb.btrace/i686-tailcall.S: New.
18636 * gdb.btrace/x86-tailcall.c: Renamed into ...
18637 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18638 separate statements. Update test.
18639 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18640 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18641 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18642 * gdb.btrace/tailcall.exp: Choose test file based on target.
18643 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18644
11cc1b74
MM
186452015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18646
18647 * gdb.btrace/exception.exp: Increase BTS buffer size.
18648
a25d8bf9
PA
186492015-03-24 Pedro Alves <palves@redhat.com>
18650
18651 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18652
856e7dd6
PA
186532015-03-24 Pedro Alves <palves@redhat.com>
18654
18655 * gdb.threads/schedlock.exp (test_step): No longer expect that
18656 "set scheduler-locking step" with "next" over a function call runs
18657 threads unlocked.
18658
ad235a41
AT
186592015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18660
18661 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18662
15630549
AT
186632015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18664
18665 PR breakpoints/16466
18666 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18667 * gdb.mi/mi-pending.c (thread_func): New function.
18668 (int main): Add threading support required.
18669 * gdb.mi/mi-pending.exp: Add tests for this issue.
18670 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18671 (pendfunc2): Remove stdio dependency.
18672 * gdb.mi/mi-pendshr2.c: New file.
18673
693dca06
KS
186742015-03-23 Keith Seitz <keiths@redhat.com>
18675
18676 * gdb.linespec/keywords.c: New file.
18677 * gdb.linespec/keywords.exp: New file.
18678
7e993ebf
KS
186792015-03-23 Keith Seitz <keiths@redhat.com>
18680
18681 PR gdb/18021
18682 * gdb.dwarf2/staticvirtual.exp: New test.
18683
bc23328c
JK
186842015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18685
18686 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18687 * README: Remove HP-UX and gdb.hp.
18688 (configuration):
18689 * configure: Regenerate.
18690 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18691 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18692 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18693 gdb.hp/gdb.defects/Makefile.
18694 * gdb.hp/Makefile.in: File deleted.
18695 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18696 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18697 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18698 * gdb.hp/gdb.aCC/run.c: File deleted.
18699 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18700 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18701 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18702 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18703 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18704 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18705 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18706 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18707 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18708 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18709 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18710 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18711 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18712 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18713 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18714 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18715 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18716 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18717 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18718 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18719 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18720 * gdb.hp/gdb.compat/average.c: File deleted.
18721 * gdb.hp/gdb.compat/sum.c: File deleted.
18722 * gdb.hp/gdb.compat/xdb.c: File deleted.
18723 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18724 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18725 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18726 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18727 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18728 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18729 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18730 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18731 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18732 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18733 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18734 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18735 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18736 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18737 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18738 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18739 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18740 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18741 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18742 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18743 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18744 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18745 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18746 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18747 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18748 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18749 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18750 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18751 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18752 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18753 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18754 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18755 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18756 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18757 * gdb.hp/tools/odump: File deleted.
18758
8bf3b159
PA
187592015-03-19 Pedro Alves <palves@redhat.com>
18760
18761 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18762 (saw_thread_3): New globals.
18763 (top level): Increment them when an event for the corresponding
18764 thread is seen.
18765 (no thread starvation): New test.
18766
eb54c8bf
PA
187672015-03-19 Pedro Alves <palves@redhat.com>
18768
18769 * gdb.threads/continue-pending-status.c: New file.
18770 * gdb.threads/continue-pending-status.exp: New file.
18771
32d2e5d6
PA
187722015-03-18 Pedro Alves <palves@redhat.com>
18773
18774 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18775 Use gdb_is_target_remote instead of is_remote. Use
18776 gdb_test_multiple instead of gdb_expect. Exit early if
18777 gdb_test_multiple hits its internal matches. Tighten stepi tests
18778 expected output. Fail on exit with any signal, instead of just
18779 SIGILL.
18780
f68f11b7
YQ
187812015-03-18 Yao Qi <yao.qi@linaro.org>
18782
18783 PR tdep/18107
18784 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18785 variable.
18786 * gdb.base/catch-syscall.exp: Don't skip it on
18787 aarch64*-*-linux* target. Remove elements in all_syscalls.
18788 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18789 target.
18790 (setup_all_syscalls): New proc.
18791
ca5fd19b
YQ
187922015-03-16 Yao Qi <yao.qi@linaro.org>
18793
18794 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18795 (top level): Skip tests if valid_addr_p returns false for
18796 $cmd1 or $cmd2.
18797
85642ba0
AW
187982015-03-11 Andy Wingo <wingo@igalia.com>
18799
18800 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18801
e03f9645
YQ
188022015-03-11 Yao Qi <yao.qi@linaro.org>
18803
18804 * gdb.base/catch-syscall.exp: Fix typo in comments.
18805
5d0962b2
YQ
188062015-03-11 Yao Qi <yao.qi@linaro.org>
18807
18808 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18809
b2df3cef
PA
188102015-03-09 Pedro Alves <palves@redhat.com>
18811
18812 * dg-extract-results.py: Delete.
18813
ef878e53
PA
188142015-03-09 Pedro Alves <palves@redhat.com>
18815
18816 Merge dg-extract-results.sh from GCC upstream (r218843).
18817
18818 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18819 * dg-extract-results.sh: Use --text with grep to avoid issues with
18820 binary files. Fall back to cat -v, if that doesn't work.
18821
9494d219
PA
188222015-03-05 Pedro Alves <palves@redhat.com>
18823
18824 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18825
a8d9763a
SM
188262015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18827
18828 * lib/mi-support.exp (mi_expect_interrupt): Accept
18829 alternative event for when in all-stop mode.
18830
be9957b8
PA
188312015-03-04 Pedro Alves <palves@redhat.com>
18832
18833 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18834
d57be0f4 188352015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18836
18837 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18838
c214c7cf
AA
188392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18840
18841 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18842 regexps for GDB's current line display, accept a hex address
18843 preceding the line number.
18844
6d74a497
AA
188452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18846
18847 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18848 the 'arch1' variable for "s390*-linux*" targets.
18849
511aee7c
PA
188502015-03-04 Pedro Alves <palves@redhat.com>
18851
18852 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18853 (main): Pass missing retval argument to pthread_join call.
18854
95e50b27
PA
188552015-03-02 Pedro Alves <palves@redhat.com>
18856
18857 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18858 (top level): Call do_test with non-stop as well.
18859
28054d69
PA
188602015-03-02 Pedro Alves <palves@redhat.com>
18861
18862 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18863 -1.
18864
4fa5d7b4
AA
188652015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18866
18867 * gdb.arch/s390-vregs.exp: New test.
18868 * gdb.arch/s390-vregs.S: New file.
18869
97c18565
PA
188702015-02-27 Pedro Alves <palves@redhat.com>
18871
18872 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18873 call to catch_command_errors.
18874 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18875 catch_command_errors.
18876
a37bfa30
PA
188772015-02-27 Pedro Alves <palves@redhat.com>
18878
18879 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18880 "true" for boolean result.
18881 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18882 prototype of main.
18883
6f98576f
PA
188842015-02-27 Pedro Alves <palves@redhat.com>
18885
18886 * lib/unbuffer_output.c: New file.
18887 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18888 (main): Call gdb_unbuffer_output.
18889
eba5ab56
YQ
188902015-02-27 Yao Qi <yao.qi@linaro.org>
18891
18892 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18893 target.
18894
0def5aaa
DE
188952015-02-26 Doug Evans <dje@google.com>
18896
18897 * gdb.cp/class2.cc (Dbase, D): New classes.
18898 (main): New local delta.
18899 * gdb.cp/class2.exp: Test printing delta.
18900 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18901 (dynbar): New global.
18902 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18903
081a1c2c
JK
189042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18905
18906 * gdb.compile/compile-ifunc.c: New file.
18907 * gdb.compile/compile-ifunc.exp: New file.
18908
2f41223f
AT
189092015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18910
18911 * gdb.base/structs.exp: Check for correct struct on finish.
18912
03eddd80
YQ
189132015-02-26 Yao Qi <yao.qi@linaro.org>
18914
18915 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18916 is zero.
18917
80c57053
JK
189182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18919
18920 * gdb.arch/cordic.ko.bz2: New file.
18921 * gdb.arch/cordic.ko.debug.bz2: New file.
18922 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18923
21613c12
YQ
189242015-02-25 Yao Qi <yao.qi@linaro.org>
18925
18926 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18927 aarch64*-*-* target.
18928
d8b901ed
PA
189292015-02-23 Pedro Alves <palves@redhat.com>
18930
18931 * lib/gdb.exp (delete_breakpoints): Rewrite using
18932 gdb_test_multiple.
18933
e5b85ead
PA
189342015-02-23 Pedro Alves <palves@redhat.com>
18935
18936 * gdb.base/info-os.c: Include stdlib.h.
18937
85c3a371
DE
189382015-02-22 Doug Evans <xdje42@gmail.com>
18939
18940 PR symtab/17855
18941 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18942 is read after symbols have been re-read.
18943 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18944 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18945
96553a0c
DE
189462015-02-21 Doug Evans <dje@google.com>
18947
18948 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18949
97a0c697
JK
189502015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18951
18952 PR corefiles/17808
18953 * gdb.arch/i386-biarch-core.core.bz2: New file.
18954 * gdb.arch/i386-biarch-core.exp: New file.
18955
a47cd6e9
PA
189562015-02-21 Pedro Alves <palves@redhat.com>
18957
18958 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18959 runto_main fails.
18960
c5facdc4
PA
189612015-02-20 Pedro Alves <palves@redhat.com>
18962
18963 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18964 info probes.
18965
2db9a427
PA
189662015-02-20 Pedro Alves <palves@redhat.com>
18967
18968 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18969
60fb7e9e
PA
189702015-02-20 Pedro Alves <palves@redhat.com>
18971
18972 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18973 clean_restart before gdb_target_supports_trace.
18974
5c5019c2
PA
189752015-02-20 Pedro Alves <palves@redhat.com>
18976
18977 PR threads/18006
18978 * gdb.threads/clone-thread_db.c: New file.
18979 * gdb.threads/clone-thread_db.exp: New file.
18980
c9587f88
AT
189812015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18982
18983 PR breakpoints/16812
18984 * gdb.base/catch-gdb-caused-signals.c: New file.
18985 * gdb.base/catch-gdb-caused-signals.exp: New file.
18986
f6a88844
JM
189872015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18988
18989 * configure: Regenerated.
18990 * configure.ac: Use GDB_AC_TRANSFORM.
18991 * aclocal.m4: sinclude ../transform.m4.
18992
497c491b
JM
189932015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18994
18995 * lib/dtrace.exp: New file.
18996 * gdb.base/dtrace-probe.exp: Likewise.
18997 * gdb.base/dtrace-probe.d: Likewise.
18998 * gdb.base/dtrace-probe.c: Likewise.
18999 * lib/pdtrace.in: Likewise.
19000 * configure.ac: Output variables with the transformed names of
19001 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19002 * configure: Regenerated.
19003
03e98035
JM
190042015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19005
19006 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19007 expected message when trying to access $_probe_* convenience
19008 variables while not on a probe.
19009
63cc30e9
JK
190102015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19011
19012 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19013
0703599a
PA
190142015-02-11 Pedro Alves <pedro@codesourcery.com>
19015
19016 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19017 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19018
7e60a48e
DE
190192015-02-10 Doug Evans <xdje42@gmail.com>
19020
19021 * lib/gdb.exp (gdb_load): Always return a result.
19022
01b088bc
PA
190232015-02-10 Pedro Alves <palves@redhat.com>
19024
19025 * gdb.threads/signal-sigtrap.c: New file.
19026 * gdb.threads/signal-sigtrap.exp: New file.
19027
b05ec7a5
AT
190282015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19029
19030 * gdb.trace/no-attach-trace.c: New file.
19031 * gdb.trace/no-attach-trace.exp: New file.
19032
a2c2acaf
MW
190332015-02-09 Mark Wielaard <mjw@redhat.com>
19034
19035 * gdb.dwarf2/atomic.c: New file.
19036 * gdb.dwarf2/atomic-type.exp: Likewise.
19037
31fd9caa
MM
190382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19039
19040 * gdb.btrace/buffer-size.exp: Update "info record" output.
19041 * gdb.btrace/delta.exp: Update "info record" output.
19042 * gdb.btrace/enable.exp: Update "info record" output.
19043 * gdb.btrace/finish.exp: Update "info record" output.
19044 * gdb.btrace/instruction_history.exp: Update "info record" output.
19045 * gdb.btrace/next.exp: Update "info record" output.
19046 * gdb.btrace/nexti.exp: Update "info record" output.
19047 * gdb.btrace/step.exp: Update "info record" output.
19048 * gdb.btrace/stepi.exp: Update "info record" output.
19049 * gdb.btrace/nohist.exp: Update "info record" output.
19050
d33501a5
MM
190512015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19052
19053 * gdb.btrace/buffer-size: New.
19054
f4abbc16
MM
190552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19056
19057 * gdb.btrace/delta.exp: Update "info record" output.
19058 * gdb.btrace/enable.exp: Update "info record" output.
19059 * gdb.btrace/finish.exp: Update "info record" output.
19060 * gdb.btrace/instruction_history.exp: Update "info record" output.
19061 * gdb.btrace/next.exp: Update "info record" output.
19062 * gdb.btrace/nexti.exp: Update "info record" output.
19063 * gdb.btrace/step.exp: Update "info record" output.
19064 * gdb.btrace/stepi.exp: Update "info record" output.
19065 * gdb.btrace/nohist.exp: Update "info record" output.
19066
b9d61307
SM
190672015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19068
19069 PR gdb/15678
19070 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19071
e584fdbc
PA
190722015-02-06 Pedro Alves <palves@redhat.com>
19073
19074 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19075 macro.
19076 (seconds_left, again): New globals.
19077 (main): Wait seconds_left in a 1-second sleep loop instead of
19078 sleeping 180 seconds. If 'again' is set, reset the seconds
19079 counter.
19080 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19081 'again' in the inferior before detaching. Print the seconds left.
19082 (options): New global.
19083 (top level): Build program with -DTIMEOUT=$timeout.
19084
77f41761
PA
190852015-02-06 Pedro Alves <palves@redhat.com>
19086
19087 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19088 determine how many seconds to pass to 'alarm'.
19089 * gdb.base/gdb-sigterm.exp (top level): Build program with
19090 -DTIMEOUT=$timeout.
19091 (do_test): Return success/failure indication. Add more verbose
19092 logging. Don't fail if 200 single steps are seen. Instead, fail
19093 when the test times out.
19094 (passes): New global.
19095 (top level): Break the testing loop if testing fails on any
19096 iteration. Use gdb_assert.
19097
b9394193
DB
190982015-02-04 Don Breazeal <donb@codesourcery.com>
19099
19100 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19101 and initialize them.
19102 (ipc_cleanup): New function.
19103 (main): Don't declare shmid, semid, and msqid. Add a call to
19104 atexit so that we call ipc_cleanup on exit.
19105
42d9e528
PA
191062015-02-04 Pedro Alves <palves@redhat.com>
19107
19108 * boards/native-extended-gdbserver.exp: Remove any target variant
19109 specifications from the board name before clearing the isremote
19110 flag from board_info.
19111
ae6ae975
DE
191122015-01-31 Doug Evans <xdje42@gmail.com>
19113
19114 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19115
cfb069a8
GB
191162015-01-31 Gary Benson <gbenson@redhat.com>
19117
19118 * gdb.base/completion.exp: Disable completion limiting for
19119 existing tests. Add new tests to check completion limiting.
19120 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19121
5dd31d79
DE
191222015-01-31 Doug Evans <xdje42@gmail.com>
19123
19124 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19125
9f050062
DE
191262015-01-31 Doug Evans <xdje42@gmail.com>
19127
19128 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19129 entries. Duplicate file section script entries.
19130 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19131 inlined entries. Add test for safe-path rejection.
19132 * gdb.python/py-section-script.c: Add duplicate inlined section script
19133 entries. Duplicate file section script entries.
19134 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19135 inlined entries. Add test for safe-path rejection.
19136
df25ebbd
JB
191372015-01-29 Joel Brobecker <brobecker@adacore.com>
19138
19139 * gdb.ada/disc_arr_bound: New testcase.
19140
4a0ca9ec
JB
191412015-01-29 Joel Brobecker <brobecker@adacore.com>
19142
19143 * gdb.ada/mi_var_array: New testcase.
19144
3a8b707a
DE
191452015-01-27 Doug Evans <dje@google.com>
19146
19147 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19148 Add test for objfile.filename, objfile.username after objfile
19149 has been unloaded.
19150
f8313f6e
JB
191512015-01-26 Joel Brobecker <brobecker@adacore.com>
19152
19153 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19154 the second test to print the name attribute of value
19155 returned by the call to gdb.lookup_type, and adjust
19156 the expected output accordingly.
19157
37bc665e
MW
191582015-01-25 Mark Wielaard <mjw@redhat.com>
19159
19160 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19161 * gdb.base/disp-step-fork.c: Include unistd.h.
19162 * gdb.base/siginfo-obj.c: Include stdio.h.
19163 * gdb.base/siginfo-thread.c: Likewise.
19164 * gdb.mi/non-stop.c: Include unistd.h.
19165 * gdb.mi/nsthrexec.c: Include stdio.h.
19166 * gdb.mi/pthreads.c: Include unistd.h.
19167 * gdb.modula2/unbounded1.c (main): Declare returns int.
19168 * gdb.reverse/consecutive-reverse.c: Likewise.
19169 * gdb.threads/create-fail.c: Include unistd.h.
19170 * gdb.threads/killed.c: Likewise.
19171 * gdb.threads/linux-dp.c: Likewise.
19172 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19173 * gdb.threads/non-ldr-exc-2.c: Likewise.
19174 * gdb.threads/non-ldr-exc-3.c: Likewise.
19175 * gdb.threads/non-ldr-exc-4.c: Likewise.
19176 * gdb.threads/pthreads.c: Include unistd.h.
19177 (main): Declare returns int.
19178 * gdb.threads/tls-main.c (foo): New declaration.
19179 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19180
f7e5394d
SM
191812015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19182
19183 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19184 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19185
743649fd
MW
191862015-01-15 Mark Wielaard <mjw@redhat.com>
19187
19188 * gdb.base/noreturn-return.c: New file.
19189 * gdb.base/noreturn-return.exp: New file.
19190 * gdb.base/noreturn-finish.c: New file.
19191 * gdb.base/noreturn-finish.exp: New file.
19192
198297aa
PA
191932015-01-23 Pedro Alves <palves@redhat.com>
19194
19195 * gdb.threads/continue-pending-after-query.c: New file.
19196 * gdb.threads/continue-pending-after-query.exp: New file.
19197
717cf30c
AG
191982015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19199 Simon Marchi <simon.marchi@ericsson.com>
19200
19201 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19202 * gdb.base/valgrind-db-attach.exp: Same.
19203 * gdb.base/valgrind-infcall.exp: Same.
19204 * lib/mi-support.exp (default_mi_gdb_start): Same.
19205 * lib/prompt.exp (default_prompt_gdb_start): Same.
19206 * lib/gdb.exp (default_gdb_spawn): Same.
19207 (gdb_interact): New.
19208
19209
4b62a76e
JK
192102015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19211
19212 * gdb.compile/compile.exp (pointer to jit function): New test.
19213
b4cdae6f
WW
192142015-01-17 Wei-cheng Wang <cole945@gmail.com>
19215
19216 * lib/gdb.exp (supports_process_record): Return true for
19217 powerpc*-*-linux*.
19218 (supports_reverse): Likewise.
19219
d221e7ef
DB
192202015-01-15 Don Breazeal <donb@codesourcery.com>
19221
19222 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19223 instead of checking whether the target board is remote and
19224 use spawn_wait_for_attach instead of exec/sleep.
19225 * gdb.base/attach-twice.exp: Likewise.
19226
bafffb51
JB
192272015-01-15 Joel Brobecker <brobecker@adacore.com>
19228
19229 * gdb.ada/var_arr_attrs: New testcase.
19230
5589af0e
PA
192312015-01-14 Pedro Alves <palves@redhat.com>
19232 Joel Brobecker <brobecker@adacore.com>
19233
19234 PR gdb/17525
19235 * gdb.base/bp-cmds-execution-x-script.c: New file.
19236 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19237 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19238
6c400b59
PA
192392015-01-14 Pedro Alves <palves@redhat.com>
19240
19241 PR cli/17828
19242 * gdb.base/batch-preserve-term-settings.c: New file.
19243 * gdb.base/batch-preserve-term-settings.exp: New file.
19244
e02c96a7
DE
192452015-01-13 Doug Evans <dje@google.com>
19246
19247 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19248 binary.
19249
576fd14c
JB
192502015-01-13 Joel Brobecker <brobecker@adacore.com>
19251
19252 * Makefile.in (clean mostlyclean): Do not delete *.py.
19253
04dccad0
JB
192542015-01-13 Joel Brobecker <brobecker@adacore.com>
19255
19256 * gdb.python/py-lookup-type.exp: New file.
19257
3d230f71
PA
192582015-01-12 Pedro Alves <palves@redhat.com>
19259
19260 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19261 restore GDBFLAGS before returning.
19262
7e67715d
JK
192632015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19264
19265 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19266 is_amd64_regs_target and is_x86_like_target.
19267
f2e0d4b4
DE
192682015-01-11 Doug Evans <xdje42@gmail.com>
19269
19270 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19271 is given without an explicit form.
19272 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19273 attributes.
19274 * gdb.dwarf/corrupt.exp: Ditto.
19275 * gdb.dwarf2/enum-type.exp: Ditto.
19276 * gdb.trace/entry-values.exp: Ditto.
19277 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19278
439250fb
DE
192792015-01-11 Doug Evans <xdje42@gmail.com>
19280
19281 PR gdb/15830
19282 * gdb.base/maint.exp: Remove references to "maint demangle".
19283 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19284 Add tests for explicitly specifying language to demangle.
19285 * gdb.dlang/demangle.exp: Ditto.
19286
ede9f622
PA
192872015-01-09 Pedro Alves <palves@redhat.com>
19288
19289 * gdb.threads/non-stop-fair-events.c: New file.
19290 * gdb.threads/non-stop-fair-events.exp: New file.
19291
a7b796db
PA
192922015-01-09 Pedro Alves <palves@redhat.com>
19293
19294 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19295 the global scope. Set a breakpoint after all threads are started
19296 rather than stepping over two source lines. Expect the prompt.
19297 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19298 global.
19299 (NUM): Now 15.
19300 (main): Use threads_started_barrier to wait for all threads to
19301 start. Main thread no longer calls thread_function. Exit after
19302 180 seconds.
19303 (loop): New function.
19304 (thread_function): Wait on threads_started_barrier barrier. Call
19305 'loop' at each iteration.
19306 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19307 threads have started, instead of hardcoding number of "next"
19308 steps. Use an access watchpoint instead of a write watchpoint.
19309
9665ffdd
PA
193102015-01-09 Pedro Alves <palves@redhat.com>
19311
19312 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19313 (thread_func): Wait on barrier.
19314 (main): Wait for all threads to start before stopping GDB.
19315 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19316 global.
19317 (thread1_func, thread2_func): Wait on barrier.
19318 (main): Wait for all threads to start before stopping GDB.
19319 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19320 New global.
19321 (thread1_func, thread2_func): Wait on barrier.
19322 (main): Wait for all threads to start before stopping GDB.
19323
c945a99f
PA
193242015-01-09 Pedro Alves <palves@redhat.com>
19325
19326 * gdb.threads/attach-many-short-lived-threads.c: New file.
19327 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19328
c1a747c1
PA
193292014-01-09 Pedro Alves <palves@redhat.com>
19330
19331 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19332 instead of to thread 2.
19333 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19334 Add barrier around each pthread_create call instead of around all
19335 calls.
19336 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19337 Set a break on thread_function and have the child threads hit it
19338 one at at a time.
19339
60b3033e
PA
193402015-01-09 Pedro Alves <palves@redhat.com>
19341
19342 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19343 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19344 false.
19345 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19346 checking whether the target board is remote.
19347 * gdb.multi/multi-attach.exp: Likewise.
19348 * gdb.python/py-sync-interp.exp: Likewise.
19349 * gdb.server/ext-attach.exp: Likewise.
19350 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19351 tests that need to attach, instead of checking whether the target
19352 board is remote at the top of the file.
19353
acc018ac
YQ
193542015-01-08 Yao Qi <yao@codesourcery.com>
19355
19356 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19357
50a18af8
JK
193582015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19359
19360 Fix testcase compilation.
19361 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19362
8503d6e1
JB
193632015-01-06 Joel Brobecker <brobecker@adacore.com>
19364
19365 * gdb.python/py-type.exp: Add a couple test about empty
19366 array creation, and negative-length array creation.
19367
cc73dbcc
DE
193682015-01-02 Doug Evans <xdje42@gmail.com>
19369
19370 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19371
0300bbc7
DE
193722015-01-02 Doug Evans <dje@google.com>
19373
19374 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19375
9d85a0ec
YQ
193762014-12-29 Yao Qi <yao@codesourcery.com>
19377
19378 * gdb.trace/entry-values.exp: Update comments. Rename variable
19379 bar_call_foo to returned_from_foo.
19380
87186c6a
MMN
193812014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19382
19383 PR gdb/17394
19384 * gdb.linespec/break-asm-file.c: New file.
19385 * gdb.linespec/break-asm-file.exp: New file.
19386 * gdb.linespec/break-asm-file0.s: New file.
19387 * gdb.linespec/break-asm-file1.s: New file.
19388
1bab7383
YQ
193892014-12-18 Nigel Stephens <nigel@mips.com>
19390 Maciej W. Rozycki <macro@codesourcery.com>
19391
19392 * gdb.base/float.exp: Handle the new output from "info float" on
19393 MIPS targets.
19394
1bc1068a
JK
193952014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19396
19397 Fix MinGW compilation.
19398 * gdb.compile/compile-ops.exp: Update untested message if
19399 !skip_compile_feature_tests.
19400 * gdb.compile/compile-setjmp.exp: Likewise.
19401 * gdb.compile/compile-tls.exp: Likewise.
19402 * gdb.compile/compile.exp: Likewise.
19403 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19404 supported on this host".
19405
b6615d10
DE
194062014-12-16 Doug Evans <xdje42@gmail.com>
19407
19408 * boards/stabs.exp: New file.
19409
25dda427
AA
194102014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19411
19412 * gdb.base/completion.exp: Adjust to format changes of "maint
19413 print user-registers".
19414
bf330350
CU
194152014-12-16 Catalin Udma <catalin.udma@freescale.com>
19416
19417 PR server/17457
19418 * gdb.arch/aarch64-fp.c: New file.
19419 * gdb.arch/aarch64-fp.exp: New file.
19420
395cf596
SDJ
194212014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19422
19423 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19424 r210637, r210913, r211666, r215400, r215817).
19425
19426 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19427 * dg-extract-results.py: New file.
19428 * dg-extract-results.sh: Use it if the environment seems
19429 suitable.
19430
19431 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19432
19433 * dg-extract-results.py (parse_run): Handle warnings that
19434 are printed before a test harness is run.
19435
19436 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19437
19438 * dg-extract-results.py (Named): Remove __cmp__ method.
19439 (output_variation): Use a key to sort variation.harnesses.
19440
19441 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19442
19443 * dg-extract-results.py: For Python 3, force sys.stdout to
19444 handle surrogate escape sequences.
19445 (safe_open): New function.
19446 (output_segment, main): Use it.
19447
19448 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19449
19450 * dg-extract-results.py (Prog.result_re): Include options
19451 in test name.
19452
19453 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19454
19455 * dg-extract-results.py (output_variation): Always sort if
19456 do_sum.
19457
e882ef3c
SM
194582014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19459
19460 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19461 as long as we get pagination notifications.
19462
4992aa20
JM
194632014-12-15 Jason Merrill <jason@redhat.com>
19464
19465 * Makefile.in (check-gdb.%): Restore.
19466 * README: Mention it.
19467
c1b5a1a6
JB
194682014-12-13 Joel Brobecker <brobecker@adacore.com>
19469
19470 * gdb.ada/str_uninit: New testcase.
19471
5537b577
JK
194722014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19473
19474 PR symtab/17642
19475 * gdb.base/vla-stub-define.c: New file.
19476 * gdb.base/vla-stub.c: New file.
19477 * gdb.base/vla-stub.exp: New file.
19478
bb2ec1b3
TT
194792014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19480 Jan Kratochvil <jan.kratochvil@redhat.com>
19481 Tom Tromey <tromey@redhat.com>
19482
19483 * configure.ac: Add gdb.compile/.
19484 * configure: Regenerate.
19485 * gdb.compile/Makefile.in: New file.
19486 * gdb.compile/compile-ops.exp: New file.
19487 * gdb.compile/compile-ops.c: New file.
19488 * gdb.compile/compile-tls.c: New file.
19489 * gdb.compile/compile-tls.exp: New file.
19490 * gdb.compile/compile-constvar.S: New file.
19491 * gdb.compile/compile-constvar.c: New file.
19492 * gdb.compile/compile-mod.c: New file.
19493 * gdb.compile/compile-nodebug.c: New file.
19494 * gdb.compile/compile-setjmp-mod.c: New file.
19495 * gdb.compile/compile-setjmp.c: New file.
19496 * gdb.compile/compile-setjmp.exp: New file.
19497 * gdb.compile/compile-shlib.c: New file.
19498 * gdb.compile/compile.c: New file.
19499 * gdb.compile/compile.exp: New file.
19500 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19501
4ff709eb
TT
195022014-12-12 Tom Tromey <tromey@redhat.com>
19503
19504 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19505 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19506
6dddd6a5
DE
195072014-12-12 Doug Evans <dje@google.com>
19508
19509 * lib/gdb-python.exp (get_python_valueof): New function.
19510 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19511
71c24708
AA
195122014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19513
19514 * gdb.base/completion.exp: Add test for completion of "info
19515 registers ".
19516
3e29f34a
MR
195172014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19518
19519 * gdb.base/func-ptrs.c: New file.
19520 * gdb.base/func-ptrs.exp: New file.
19521
fc126975
SM
195222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19523
19524 PR breakpoints/17012
19525 * gdb.base/dprintf-detach.c: New file.
19526 * gdb.base/dprintf-detach.exp: New file.
19527
0a46d518
SM
195282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19529
19530 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19531 * lib/gdb.exp (target_is_gdbserver): New procedure.
19532
a0be3e44
DE
195332014-12-08 Doug Evans <dje@google.com>
19534
19535 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19536
df1b803a
YQ
195372014-12-05 Yao Qi <yao@codesourcery.com>
19538
19539 * gdb.guile/scm-error.exp: Remove the third argument to
19540 gdb_remote_download.
19541 * gdb.guile/scm-frame-args.exp: Likewise.
19542 * gdb.guile/scm-section-script.exp: Likewise.
19543
ddb9f679
YQ
195442014-12-05 Yao Qi <yao@codesourcery.com>
19545
19546 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19547
86e4ed39
DE
195482014-12-04 Doug Evans <dje@google.com>
19549
19550 * gdb.python/py-objfile.exp: Add tests for
19551 objfile.add_separate_debug_file.
19552
7c50a931
DE
195532014-12-04 Doug Evans <dje@google.com>
19554
19555 * lib/gdb.exp (get_build_id): New function.
19556 (build_id_debug_filename_get): Rewrite to use it.
19557 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19558
621661e3
MR
195592014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19560
19561 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19562 `method(long)', not just 0x0.
19563 * gdb.cp/nsalias.exp: Align code labels to 4.
19564 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19565 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19566 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19567 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19568 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19569 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19570
29f0c3b7
DE
195712014-12-02 Doug Evans <dje@google.com>
19572
e1e061e7 19573 PR symtab/17602
29f0c3b7 19574 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19575 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19576 * gdb.cp/anon-ns.exp: Update.
19577
162078c8
NB
195782014-12-02 Nick Bull <nicholaspbull@gmail.com>
19579
19580 * gdb.python/py-events.py (inferior_call_handler): New.
19581 (register_changed_handler, memory_changed_handler): New.
19582 (test_events.invoke): Register new handlers.
19583 * gdb.python/py-events.exp: Add tests for inferior call,
19584 memory_changed and register_changed events.
19585
fdb09caf
AA
195862014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19587
19588 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19589 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19590 if the linker doesn't understand this.
19591
55cfb2c4
SM
195922014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19593
19594 * gdb.python/python.exp: Change expected reply to help().
19595
9e8cd6df
YQ
195962014-12-01 Yao Qi <yao@codesourcery.com>
19597
19598 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19599 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19600 * configure: Re-generated.
19601
6c659fc2
SC
196022014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19603
19604 * gdb.cp/chained-calls.cc: New file.
19605 * gdb.cp/chained-calls.exp: New file.
19606 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19607
d7fc3181
SM
196082014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19609
19610 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19611 * gdb.dwarf2/symtab-producer.exp: Same.
19612 * gdb.gdb/python-interrupts.exp: Same.
19613 * gdb.gdb/python-selftest.exp: Same.
19614 * gdb.python/py-linetable.exp: Same.
19615 * gdb.python/py-type.exp: Same.
19616 * gdb.python/py-value-cc.exp: Same.
19617 * gdb.python/py-value.exp: Same.
19618
10e79639
YQ
196192014-11-28 Yao Qi <yao@codesourcery.com>
19620
19621 * gdb.base/break-probes.exp: Match library name prefixed with
19622 sysroot.
19623
f28a0564
SM
196242014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19625
19626 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19627 test expected output. Add parentheses for the call to print.
19628 Remove L suffix from integers.
19629
3fe1ce1d
DE
196302014-11-26 Doug Evans <dje@google.com>
19631
19632 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19633
84429e27
YQ
196342014-11-22 Yao Qi <yao@codesourcery.com>
19635
19636 * gdb.trace/entry-values.c: Remove asms.
19637 (foo): Add foo_label.
19638 (bar): Add bar_label.
19639 * gdb.trace/entry-values.exp: Remove code computing foo's
19640 length and bar's length.
19641 (Dwarf::assemble): Invoke function_range for bar and use
19642 MACRO_AT_func for foo.
19643
26741859
YQ
196442014-11-22 Yao Qi <yao@codesourcery.com>
19645
19646 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19647 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19648 Use .Lgcc43_procstart instead of gcc43.
19649
45e44d27
JB
196502014-11-21 Joel Brobecker <brobecker@adacore.com>
19651
19652 * gdb.ada/n_arr_bound: New testcase.
19653
458c8db8
SDJ
196542014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19655
19656 PR breakpoints/10737
19657 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19658 test_catch_syscall_multi_arch.
19659 (test_catch_syscall_multi_arch): New function.
19660
43f3e411
DE
196612014-11-20 Doug Evans <xdje42@gmail.com>
19662
19663 * gdb.base/maint.exp: Update expected output.
19664
0d7b2549
AA
196652014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19666
19667 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19668 4-byte instruction on S390.
19669
8908fca5
JB
196702014-11-19 Joel Brobecker <brobecker@adacore.com>
19671
19672 * gdb.ada/arr_arr: New testcase.
19673
4a46959e
JB
196742014-11-19 Joel Brobecker <brobecker@adacore.com>
19675
19676 * gdb.ada/pkd_arr_elem: New Testcase.
19677
470e2f4e
LM
196782014-11-18 Luis Machado <lgustavo@codesourcery.com>
19679
19680 * gdb.reverse/break-precsave: Expect completion message for
19681 core file reads.
19682 * gdb.reverse/consecutive-precsave.exp: Likewise.
19683 * gdb.reverse/finish-precsave.exp: Likewise.
19684 * gdb.reverse/i386-precsave.exp: Likewise.
19685 * gdb.reverse/machinestate-precsave.exp: Likewise.
19686 * gdb.reverse/sigall-precsave.exp: Likewise.
19687 * gdb.reverse/solib-precsave.exp: Likewise.
19688 * gdb.reverse/step-precsave.exp: Likewise.
19689 * gdb.reverse/until-precsave.exp: Likewise.
19690 * gdb.reverse/watch-precsave.exp: Likewise.
19691
a267f3ad
AA
196922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19693
19694 * gdb.base/bp-permanent.c: Include unistd.h.
19695 * gdb.python/py-framefilter-mi.c (main): Add return type.
19696 * gdb.python/py-framefilter.c (main): Likewise.
19697 * gdb.trace/actions-changed.c (main): Likewise.
19698
12084a9a
AA
196992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19700
19701 * gdb.mi/until.c: Add eye-catchers.
19702 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19703 line numbers.
19704
dc7e1a77
AA
197052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19706
19707 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19708 function header variants in break1.c.
19709 * gdb.base/ena-dis-br.exp: Likewise.
19710 * gdb.base/hbreak2.exp: Likewise.
19711 * gdb.reverse/until-precsave.exp: Drop references to removed
19712 non-prototype function header variants in ur1.c.
19713 * gdb.reverse/until-reverse.exp: Likewise.
19714
41c77605
PM
197152014-11-17 Petr Machata <pmachata@redhat.com>
19716
19717 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19718 ${_cu_offset_size} bytes abbrev offset.
19719
34248c3a
DE
197202014-11-15 Doug Evans <xdje42@gmail.com>
19721
19722 PR symtab/17559
19723 * gdb.base/line-symtabs.exp: New file.
19724 * gdb.base/line-symtabs.c: New file.
19725 * gdb.base/line-symtabs.h: New file.
19726
646da059
YQ
197272014-11-14 Yao Qi <yao@codesourcery.com>
19728
19729 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19730 (func): Add label func_label.
19731 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19732 Replace low_pc and high_pc with MACRO_AT_range.
19733 Replace name, low_pc and high_pc with MACRO_AT_func.
19734
9301ebe6
YQ
197352014-11-14 Yao Qi <yao@codesourcery.com>
19736
19737 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19738 Replace name, low_pc and high_pc with MACRO_AT_func.
19739
f166b542
YQ
197402014-11-14 Yao Qi <yao@codesourcery.com>
19741
19742 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19743 produce debug information.
19744 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19745
0f6e71e3
YQ
197462014-11-14 Yao Qi <yao@codesourcery.com>
19747
19748 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19749 object and get function length.
19750 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19751 with MACRO_AT_func.
19752 (top-level): Replace gdb_compile and clean_restart with
19753 prepare_for_testing.
19754 * gdb.dwarf2/main.c (main): Add label main_label.
19755
876c4df9
YQ
197562014-11-14 Yao Qi <yao@codesourcery.com>
19757
19758 * lib/dwarf.exp (function_range): New procedure.
19759 (Dwarf::_handle_macro_at_func): New procedure.
19760 (Dwarf::_handle_macro_at_range): New procedure.
19761 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19762
02ad9cf1
YQ
197632014-11-14 Yao Qi <yao@codesourcery.com>
19764
19765 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19766 (_handle_attribute): New procedure.
19767
a59add0c
AA
197682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19769
19770 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19771 * gdb.base/call-sc.c (zed): Likewise.
19772 * gdb.base/checkpoint.c (main): Likewise.
19773 * gdb.base/dump.c (main): Likewise.
19774 * gdb.base/gcore.c (main): Likewise.
19775 * gdb.base/huge.c (main): Likewise.
19776 * gdb.base/multi-forks.c (main): Likewise.
19777 * gdb.base/pr10179-a.c (main): Likewise.
19778 * gdb.base/savedregs.c (main): Likewise.
19779 * gdb.base/sigaltstack.c (main): Likewise.
19780 * gdb.base/siginfo.c (main): Likewise.
19781 * gdb.base/structs.c (zed): Likewise.
19782 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19783 * gdb.mi/mi-syn-frame.c (main): Likewise.
19784 * gdb.mi/until.c (foo, main): Likewise.
19785 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19786 * gdb.base/solib-weak.c (foo): Declare.
19787 * gdb.base/attach-twice.c: Include stdio.h.
19788 * gdb.base/weaklib1.c: Likewise.
19789 * gdb.base/weaklib2.c: Likewise.
19790 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19791 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19792 unistd.h.
19793 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19794 * gdb.mi/mi-exit-code.c: Likewise.
19795 * gdb.base/break-interp-lib.c: Include string.h.
19796 * gdb.base/coremaker.c: Likewise.
19797 * gdb.base/testenv.c: Likewise.
19798 * gdb.python/py-finish-breakpoint.c: Likewise.
19799 * gdb.base/inferior-died.c: Include sys/wait.h.
19800 * gdb.base/fileio.c: Include time.h.
19801 * gdb.base/async-shell.c: Include unistd.h.
19802 * gdb.base/dprintf-non-stop.c: Likewise.
19803 * gdb.base/info-os.c: Likewise.
19804 * gdb.mi/mi-console.c: Likewise.
19805 * gdb.mi/watch-nonstop.c: Likewise.
19806 * gdb.python/py-events.c: Likewise.
19807 * gdb.base/async.c (baz): Move up before its invocation.
19808 * gdb.base/code_elim2.c (my_global_func): Likewise.
19809 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19810 * gdb.base/advance.c (func2): Likewise.
19811
3b5d5997
AA
198122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19813
19814 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19815 variant.
19816 * gdb.base/annota3.c: Likewise.
19817 * gdb.base/async.c: Likewise.
19818 * gdb.base/average.c: Likewise.
19819 * gdb.base/call-ar-st.c: Likewise.
19820 * gdb.base/call-rt-st.c: Likewise.
19821 * gdb.base/call-sc.c: Likewise.
19822 * gdb.base/call-strs.c: Likewise.
19823 * gdb.base/ending-run.c: Likewise.
19824 * gdb.base/execd-prog.c: Likewise.
19825 * gdb.base/exprs.c: Likewise.
19826 * gdb.base/foll-exec.c: Likewise.
19827 * gdb.base/foll-fork.c: Likewise.
19828 * gdb.base/foll-vfork.c: Likewise.
19829 * gdb.base/funcargs.c: Likewise.
19830 * gdb.base/gcore.c: Likewise.
19831 * gdb.base/jump.c: Likewise.
19832 * gdb.base/langs0.c: Likewise.
19833 * gdb.base/langs1.c: Likewise.
19834 * gdb.base/langs2.c: Likewise.
19835 * gdb.base/mips_pro.c: Likewise.
19836 * gdb.base/nodebug.c: Likewise.
19837 * gdb.base/opaque0.c: Likewise.
19838 * gdb.base/opaque1.c: Likewise.
19839 * gdb.base/recurse.c: Likewise.
19840 * gdb.base/run.c: Likewise.
19841 * gdb.base/scope0.c: Likewise.
19842 * gdb.base/scope1.c: Likewise.
19843 * gdb.base/setshow.c: Likewise.
19844 * gdb.base/setvar.c: Likewise.
19845 * gdb.base/shmain.c: Likewise.
19846 * gdb.base/shr1.c: Likewise.
19847 * gdb.base/shr2.c: Likewise.
19848 * gdb.base/sigall.c: Likewise.
19849 * gdb.base/signals.c: Likewise.
19850 * gdb.base/so-indr-cl.c: Likewise.
19851 * gdb.base/solib2.c: Likewise.
19852 * gdb.base/structs.c: Likewise.
19853 * gdb.base/sum.c: Likewise.
19854 * gdb.base/vforked-prog.c: Likewise.
19855 * gdb.base/watchpoint.c: Likewise.
19856 * gdb.reverse/shr2.c: Likewise.
19857 * gdb.reverse/until-reverse.c: Likewise.
19858 * gdb.reverse/ur1.c: Likewise.
19859 * gdb.reverse/watch-reverse.c: Likewise.
19860
066a77c5
AA
198612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19862
19863 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19864 variant.
19865 * gdb.base/sepdebug.exp: Drop references to removed code.
19866
4f204ea5
AA
198672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19868
19869 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19870 variant. Preserve original line numbering.
19871 * gdb.base/list1.c: Likewise.
19872
3b377a3a
AA
198732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19874
19875 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19876 variant.
19877 * gdb.base/break1.c: Likewise.
19878 * gdb.base/break.exp: Drop references to removed code.
19879
e444df73
AA
198802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19881
19882 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19883 variant.
19884
8008f2a7
AA
198852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19886
19887 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19888
a5a06887
AA
198892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19890
19891 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19892 logic into perform_all_tests() and invoke it with and without
19893 function header prototypes.
19894 (do_function_calls): Remove conditional XFAIL for PR 5318.
19895 (rerun_and_prepare): Remove duplicate code.
19896 (perform_all_tests): New. Main logic moved here.
19897
44dba9b9
AA
198982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19899
19900 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19901 code guarded by #ifdef NO_PROTOTYPES.
19902 (t_double_many_args): Likewise.
19903 (DEF_FUNC_MANY_ARGS_1): Likewise.
19904 (DEF_FUNC_VALUES_1): Likewise.
19905 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19906 guarded by #ifdef PROTOTYPES.
19907
d1fbcd56
AA
199082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19909
19910 * gdb.mi/mi-console.c: Add eye-catcher.
19911 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19912 instead of literal line number.
19913
b0e59b8f
AA
199142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19915
19916 * gdb.base/shr2.c: Add eye-catcher.
19917 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19918 line number.
19919
78f98cca
AA
199202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19921
19922 * gdb.base/jump.c: Add eye-catchers.
19923 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19924 numbers.
19925
58fa2af0
AA
199262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19927
19928 * gdb.base/execd-prog.c: Add eye-catchers.
19929 * gdb.base/foll-exec.c: Likewise.
19930 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19931 line numbers.
19932
04e5059b
AA
199332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19934
19935 * gdb.base/ending-run.c: Add eye-catchers.
19936 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19937 literal line numbers.
19938
dbfdb174
AA
199392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19940
19941 * gdb.base/call-rt-st.c: Add eye-catchers.
19942 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19943 literal line numbers.
19944
888a2ade
AA
199452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19946
19947 * gdb.base/call-ar-st.c: Add eye-catchers.
19948 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19949 literal line numbers.
19950
6acc2dde
AA
199512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19952
19953 * gdb.base/average.c: Add eye-catchers.
19954 * gdb.base/sum.c: Likewise.
19955 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19956 regexps dynamically.
19957
9ecfcd1d
AA
199582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19959
19960 * gdb.base/solib1.c: Add eye-catchers.
19961 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19962 literal line numbers.
19963
78708b7c
PA
199642014-11-12 Pedro Alves <palves@redhat.com>
19965
19966 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19967 leader has exited.
19968
af48d08f
PA
199692014-11-12 Pedro Alves <palves@redhat.com>
19970
19971 * gdb.arch/i386-bp_permanent.c: New file.
19972 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19973 (srcfile): Set to i386-bp_permanent.c.
19974 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19975 that stepi does not execute the 'leave' instruction, instead of
19976 testing it does execute.
19977 * gdb.base/bp-permanent.c: New file.
19978 * gdb.base/bp-permanent.exp: New file.
19979
af3768e9
DE
199802014-11-10 Doug Evans <xdje42@gmail.com>
19981
19982 PR symtab/17564
19983 * gdb.base/symtab-search-order.exp: New file.
19984 * gdb.base/symtab-search-order.c: New file.
19985 * gdb.base/symtab-search-order-1.c: New file.
19986 * gdb.base/symtab-search-order-shlib-1.c: New file.
19987
9de00a4a
PA
199882014-11-07 Pedro Alves <palves@redhat.com>
19989
19990 PR gdb/17511
19991 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19992 i?86-*-linux*.
19993
e0f52461
SC
199942014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19995
19996 PR c++/17494
19997 * gdb.cp/pr17494.cc: New file.
19998 * gdb.cp/pr17494.exp: New file.
19999
6ce8c980
YQ
200002014-11-02 Yao Qi <yao@codesourcery.com>
20001
20002 * gdb.python/python.exp: Get working directory and match the
20003 output of "set extended-prompt \\w " with it.
20004
02be9a71
DE
200052014-10-30 Doug Evans <dje@google.com>
20006
20007 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20008 in objfiles.
20009 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20010 in progspaces.
20011
3bdff46b
LM
200122014-10-30 Janis Johnson <janisjo@codesourcery.com>
20013
20014 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20015 * gdb.base/realname-expand.exp: Likewise.
20016 * gdb.linespec/macro-relative.exp: Likewise.
20017
ab917dfb
PA
200182014-10-29 Pedro Alves <palves@redhat.com>
20019
20020 PR gdb/17408
20021 * gdb.threads/schedlock.c (some_function): New function.
20022 (call_function): New global.
20023 (MAYBE_CALL_SOME_FUNCTION): New macro.
20024 (thread_function): Call it.
20025 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20026 and use it instead of a global counter. Adjust all callers.
20027 (get_current_thread): Use "find current thread" for test message
20028 here rather than having all callers pass down the same string.
20029 (goto_loop): New procedure, factored out from ...
20030 (my_continue): ... this.
20031 (step_ten_loops): Change parameter from test message to command to
20032 use. Adjust.
20033 (list_count): Delete global.
20034 (check_result): New procedure, factored out from duplicate top
20035 level code.
20036 (continue tests): Wrap in with_test_prefix.
20037 (test_step): New procedure, factored out from duplicate top level
20038 code.
20039 (top level): Test "step" in combination with all scheduler-locking
20040 modes. Test "next" in combination with all scheduler-locking
20041 modes, and in combination with stepping over a function call or
20042 not.
20043 * gdb.threads/next-bp-other-thread.c: New file.
20044 * gdb.threads/next-bp-other-thread.exp: New file.
20045
d3d4baed
PA
200462014-10-29 Pedro Alves <palves@redhat.com>
20047
20048 PR python/17372
20049 * gdb.python/python.exp: Test a multi-line command that spawns
20050 interactive Python.
20051 * gdb.base/multi-line-starts-subshell.exp: New file.
20052
563e8d85
YQ
200532014-10-29 Yao Qi <yao@codesourcery.com>
20054
20055 * gdb.base/fileio.exp: Make directories on host.
20056
0ea4d52e
YQ
200572014-10-29 Yao Qi <yao@codesourcery.com>
20058
20059 * gdb.base/fileio.c (test_write): Close the file.
20060
7f5ef605
PA
200612014-10-28 Pedro Alves <palves@redhat.com>
20062
20063 PR gdb/12623
20064 * gdb.base/sigstep.c (no_handler): New global.
20065 (main): If 'no_handler is true, set the signal handlers to
20066 SIG_IGN.
20067 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20068 with_sw_watch and no_handler parameters. Handle them.
20069 (top level) <stepping over handler when stopped at a breakpoint
20070 test>: Add a test axis for testing with a software watchpoint, and
20071 another for testing with the signal handler set to SIG_IGN.
20072 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20073 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20074
abbdbd03
PA
200752014-10-28 Pedro Alves <palves@redhat.com>
20076
20077 PR gdb/17511
20078 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20079 * gdb.base/sigstep.exp (other_handler_location): New global.
20080 (advance): Support stepping into the signal handler, and running
20081 commands while in the handler.
20082 (in_handler_map): New global.
20083 (top level): In the advance test, add combinations for getting
20084 into the handler with stepping commands, and for running commands
20085 in the handler. Add comment descripting the advancei tests.
20086
1df4399f
PA
200872014-10-28 Pedro Alves <palves@redhat.com>
20088
20089 * gdb.base/sigstep.exp: Use build_executable instead of
20090 prepare_for_testing.
20091 (top level): Move code that starts GDB, runs to main and creates a
20092 display to ...
20093 (restart): ... this new procedure.
20094 (top level): Move backtrace from signal handler test to ...
20095 (validate_backtrace): ... this new procedure.
20096 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20097 with_test_prefix. Always restart GDB.
20098 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20099 with_test_prefix. Always restart GDB. No need to delete
20100 breakpoints after the test.
20101 (test_skip_handler): Remove prefix parameter.
20102 (skip_over_handler, breakpoint_to_handler)
20103 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20104 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20105 restart GDB. No need to delete breakpoints after the test.
20106 (top level): Use foreach to call the test procedures with
20107 different commands.
20108
a5b6e449
PA
201092014-10-28 Pedro Alves <palves@redhat.com>
20110
20111 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20112 instead of GNATS numbers.
20113 * gdb.base/sigbpt.exp: Likewise.
20114 * gdb.base/siginfo.exp: Likewise.
20115 * gdb.base/sigstep.exp: Likewise.
20116
e5f8a7cc
PA
201172014-10-27 Pedro Alves <palves@redhat.com>
20118
20119 * gdb.base/sigstep.c (dummy): New global.
20120 (main): Issue a couple writes to the new global.
20121 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20122 procedures.
20123 (skip_over_handler): Use test_skip_handler.
20124 (top level): Call skip_over_handler for stepi and nexti too.
20125 (breakpoint_over_handler): Use test_skip_handler.
20126 (top level): Call breakpoint_over_handler for stepi and nexti too.
20127
763905a3
YQ
201282014-10-27 Yao Qi <yao@codesourcery.com>
20129
20130 * gdb.trace/tfile.c (adjust_function_address)
20131 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20132 function descriptor.
20133
6f259a23
DB
201342014-10-24 Don Breazeal <donb@codesourcery.com>
20135
20136 * gdb.base/foll-fork.exp (test_follow_fork,
20137 catch_fork_child_follow): Check for updated fork messages emitted
20138 from infrun.c.
20139 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20140 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20141 vfork_and_exec_child_follow_through_step): Check for updated vfork
20142 messages emitted from infrun.c.
20143
09dd9a69
PA
201442014-10-24 Pedro Alves <palves@redhat.com>
20145
20146 * gdb.base/corefile.exp: Remove references to ultrix.
20147 * gdb.base/interrupt.exp: Likewise.
20148 * gdb.base/whatis.exp: Likewise.
20149 * gdb.gdb/selftest.exp: Likewise.
20150 * gdb.threads/manythreads.exp: Likewise.
20151 * gdb.threads/print-threads.exp: Likewise.
20152 * gdb.threads/pthreads.exp:: Likewise.
20153 * gdb.threads/schedlock.exp: Likewise.
20154
3433cfa5
SC
201552014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20156
20157 * gdb.cp/non-trivial-retval.cc: Add a test case.
20158 * gdb.cp/non-trivial-retval.exp: Add a test.
20159
092f880b
YQ
201602014-10-20 Yao Qi <yao@codesourcery.com>
20161
20162 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20163 * gdb.python/py-objfile-script-gdb.py: New file.
20164 * gdb.python/py-objfile-script.exp: Update reference to
20165 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20166 of remote_download. Remove the dest file.
20167
acbdb7f3
YQ
201682014-10-20 Yao Qi <yao@codesourcery.com>
20169
20170 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20171 * gdb.base/step-line.exp: Likewise.
20172 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20173 * gdb.dwarf2/dw2-basic.exp: Likewise.
20174 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20175 * gdb.dwarf2/dw2-filename.exp: Likewise.
20176 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20177 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20178 * gdb.dwarf2/dw2-producer.exp: Likewise.
20179 * gdb.dwarf2/mac-fileno.exp: Likewise.
20180 * gdb.python/py-frame-args.exp: Likewise.
20181 * gdb.python/py-framefilter.exp: Likewise.
20182 * gdb.python/py-mi.exp: Likewise.
20183 * gdb.python/py-objfile-script.exp: Likewise
20184 * gdb.python/py-pp-integral.exp: Likewise.
20185 * gdb.python/py-pp-re-notag.exp: Likewise.
20186 * gdb.python/py-prettyprint.exp: Likewise.
20187 * gdb.python/py-section-script.exp: Likewise.
20188 * gdb.python/py-typeprint.exp: Likewise.
20189 * gdb.python/py-xmethods.exp: Likewise.
20190 * gdb.stabs/weird.exp: Likewise.
20191 * gdb.xml/tdesc-regs.exp: Likewise.
20192
bd286a29
KCY
201932014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20194
20195 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20196 (out_cu): Use addr_len for the size of addresses.
20197 (out_line): Likewise. Size DW_LNE_set_address instruction
20198 according to addr_len.
20199 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20200 (FUNC): Add START_INSNS to definition.
20201
673dc4a0
YQ
202022014-10-18 Yao Qi <yao@codesourcery.com>
20203
20204 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20205 gdb_has_argv0 return true.
20206 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20207 check [target_info exists noargs], check [gdb_has_argv0]
20208 instead.
20209 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20210 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20211 procedures.
20212
4ffbba72
DE
202132014-10-17 Doug Evans <dje@google.com>
20214
20215 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20216 event.
20217 * gdb.python/py-events.py: Add clear_objfiles event.
20218
d096d8c1
DE
202192014-10-17 Doug Evans <dje@google.com>
20220
20221 * gdb.python/py-objfile.exp: Test progspace attribute.
20222
a80db015
LM
202232014-10-17 Luis Machado <lgustavo@codesourcery.com>
20224
20225 * gdb.guile/scm-breakpoint.exp: Do not assume any
20226 directory separators when matching source file paths.
20227 * gdb.python/py-breakpoint.exp: Likewise.
20228 * gdb.reverse/break-precsave.exp: Likewise.
20229 * gdb.reverse/break-reverse.exp: Likewise.
20230 * gdb.reverse/consecutive-precsave.exp: Likewise.
20231 * gdb.reverse/finish-precsave.exp: Likewise.
20232 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20233 * gdb.reverse/finish-reverse.exp: Likewise.
20234 * gdb.reverse/i386-precsave.exp: Likewise.
20235 * gdb.reverse/i387-env-reverse.exp: Likewise.
20236 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20237 * gdb.reverse/machinestate-precsave.exp: Likewise.
20238 * gdb.reverse/machinestate.exp: Likewise.
20239 * gdb.reverse/sigall-precsave.exp: Likewise.
20240 * gdb.reverse/solib-precsave.exp: Likewise.
20241 * gdb.reverse/step-precsave.exp: Likewise.
20242 * gdb.reverse/until-precsave.exp: Likewise.
20243 * gdb.reverse/watch-precsave.exp: Likewise.
20244 * gdb.reverse/watch-reverse.exp: Likewise.
20245
b22089ab
YQ
202462014-10-17 Yao Qi <yao@codesourcery.com>
20247
20248 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20249 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20250
6c4486e6
PA
202512014-10-17 Pedro Alves <palves@redhat.com>
20252
20253 PR gdb/17471
20254 * gdb.base/bg-execution-repeat.c: New file.
20255 * gdb.base/bg-execution-repeat.exp: New file.
20256
0ff33695
PA
202572014-10-17 Pedro Alves <palves@redhat.com>
20258
20259 PR gdb/17300
20260 * gdb.base/continue-all-already-running.c: New file.
20261 * gdb.base/continue-all-already-running.exp: New file.
20262
6fdebc3d
PA
202632014-10-17 Pedro Alves <palves@redhat.com>
20264
20265 PR gdb/17472
20266 * gdb.base/annota-input-while-running.c: New file.
20267 * gdb.base/annota-input-while-running.exp: New file.
20268
32a8097b
PA
202692014-10-17 Pedro Alves <palves@redhat.com>
20270
20271 * gdb.base/callfuncs.exp: emove references to osf.
20272 * gdb.base/sigall.exp: Likewise.
20273 * gdb.gdb/selftest.exp: Likewise.
20274 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20275 * gdb.mi/non-stop.c: Likewise.
20276 * gdb.mi/pthreads.c: Likewise.
20277 * gdb.reverse/sigall-precsave.exp: Likewise.
20278 * gdb.reverse/sigall-reverse.exp: Likewise.
20279 * gdb.threads/pthreads.c: Likewise.
20280 * gdb.threads/pthreads.exp: Likewise.
20281
7a3517ff
YQ
202822014-10-17 Yao Qi <yao@codesourcery.com>
20283
20284 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20285 check 'target_info exists noargs'.
20286 (test_command_prompt_position): Likewise.
20287 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20288 Remove "set args".
20289 (progvar_simple_while_test): Likewise.
20290 (progvar_complex_if_while_test): Likewise.
20291 (if_while_breakpoint_command_test): Likewise.
20292 (infrun_breakpoint_command_test): Likewise.
20293 (breakpoint_command_test): Likewise.
20294 (watchpoint_command_test): Likewise.
20295 (bp_deleted_in_command_test): Likewise.
20296 (temporary_breakpoint_commands): Likewise.
20297
bb99c472
YQ
202982014-10-16 Yao Qi <yao@codesourcery.com>
20299
20300 * gdb.base/remotetimeout.exp: Remove noargs checking.
20301
7c16b83e
PA
203022014-10-15 Pedro Alves <palves@redhat.com>
20303
20304 PR breakpoints/9649
20305 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20306 * gdb.base/breakpoint-in-ro-region.exp
20307 (probe_target_hardware_step): New procedure.
20308 (top level): Probe hardware stepping and hardware breakpoint
20309 support. Test stepping through a read-only region, with both
20310 "breakpoint auto-hw" on and off and both "always-inserted" on and
20311 off.
20312
35a49624
IB
203132014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20314
20315 * gdb.dlang/demangle.exp: Update for demangling changes.
20316
2d1c107c
SC
203172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20318
20319 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20320 * gdb.cp/non-trivial-retval.exp: Add new tests.
20321
778811d5
SC
203222014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20323
20324 PR c++/13403
20325 PR c++/15154
20326 * gdb.cp/non-trivial-retval.cc: New file.
20327 * gdb.cp/non-trivial-retval.exp: New file.
20328
10c5f0a8
YQ
203292014-10-15 Yao Qi <yao@codesourcery.com>
20330
20331 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20332 remote host.
20333
65d7b369
YQ
203342014-10-15 Yao Qi <yao@codesourcery.com>
20335
20336 * gdb.python/py-symbol.exp: Match file base name if host is
20337 remote, otherwise match file name with dir name.
20338 * gdb.python/py-symtab.exp: Likewise.
20339 * gdb.python/python.exp: Likewise.
20340
46dc1394
YQ
203412014-10-15 Yao Qi <yao@codesourcery.com>
20342
20343 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20344 pattern.
20345 * gdb.python/py-symtab.exp: Likewise.
20346 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20347 locationn.
20348
c40cc657
JB
203492014-10-14 Joel Brobecker <brobecker@adacore.com>
20350
20351 * gdb.ada/addr_arith: New testcase.
20352
2abf49e1
MR
203532014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20354
20355 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20356 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20357 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20358 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20359
f7088df3
SDJ
203602014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20361
20362 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20363 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20364 * gdb.arch/stap-eval-lang-ada.exp: New file.
20365
4dc06805
YQ
203662014-10-14 Yao Qi <yao@codesourcery.com>
20367
20368 * gdb.mi/mi-var-child.c (nothing1): New function.
20369 (nothing2): New function.
20370 (do_children_tests): Set function pointers by nothing1 and
20371 nothing2.
20372 * gdb.mi/mi-var-child.exp: Step over new added statements.
20373 Update test to match the new output.
20374 * gdb.mi/var-cmd.c (nothing1): New function.
20375 (nothing2): New function.
20376 (do_children_tests): Set function pointers by nothing1 and
20377 nothing2.
20378 * gdb.mi/mi-var-display.exp: Update test to match output.
20379 Step to the line specified by $line_dct_nothing.
20380 Increase the number of lines to step.
20381
46a93de2
YQ
203822014-10-14 Yao Qi <yao@codesourcery.com>
20383
20384 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20385 tests.
20386 * gdb.mi/mi2-var-child.exp: Likewise.
20387
14ea52ee
DE
203882014-10-13 Doug Evans <dje@google.com>
20389
20390 * gdb.python/py-objfile.exp: Change name of file name test.
20391
e5c6e92b
DE
203922014-10-13 Doug Evans <dje@google.com>
20393
20394 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20395 from the start of the CU.
20396
c780cc2f
JK
203972014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20398 Yao Qi <yao@codesourcery.com>
20399
20400 Fix "save breakpoints" for "catch" command.
20401 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20402 Remove -nonewline. Match also the added "main" line.
20403
99894e11
JK
204042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20405
20406 Fix "save breakpoints" for "disable $bpnum" command.
20407 * gdb.base/save-bp.c (main): Add label.
20408 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20409
6e1ac5a3
JK
204102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20411
20412 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20413
754dd2b0
YQ
204142014-10-11 Yao Qi <yao@codesourcery.com>
20415
20416 * gdb.server/server-kill.exp: Execute command
20417 "set remote trace-status-packet on" before "tstatus".
20418
f90183d7
YQ
204192014-10-11 Yao Qi <yao@codesourcery.com>
20420
20421 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20422 (main): Call getppid.
20423 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20424 and continue to it. Read variable "server_pid".
20425
bf40a607
YQ
204262014-10-11 Yao Qi <yao@codesourcery.com>
20427
20428 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20429
052ca370
YQ
204302014-10-11 Yao Qi <yao@codesourcery.com>
20431
20432 * gdb.threads/thread-find.exp: Don't execute command
20433 "info threads".
20434 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20435 * gdb.threads/linux-dp.exp: Don't check the condition
20436 $threads_created equals to zero.
20437
3831839c
PA
204382014-10-10 Pedro Alves <palves@redhat.com>
20439
20440 * gdb.base/bigcore.exp: Remove references to IRIX.
20441 * gdb.base/funcargs.exp: Likewise.
20442 * gdb.base/interrupt.exp: Likewise.
20443 * gdb.base/mips_pro.exp: Likewise.
20444 * gdb.base/nodebug.exp: Likewise.
20445 * gdb.base/setvar.exp: Likewise.
20446 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20447
8b9a549d
PA
204482014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20449 Pedro Alves <palves@redhat.com>
20450
20451 PR symtab/14466
20452 * gdb.base/vdso-warning.c: New file.
20453 * gdb.base/vdso-warning.exp: New file.
20454
d48ba5e8
DE
204552014-10-02 Doug Evans <dje@google.com>
20456
20457 * gdb.base/structs.c (main): Don't run forever.
20458
2278c276
PA
204592014-10-02 Pedro Alves <palves@redhat.com>
20460
20461 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20462 (top level) <stop threads 1, stop threads 2>: Use it.
20463
b57bacec
PA
204642014-10-02 Pedro Alves <palves@redhat.com>
20465
20466 * gdb.threads/break-while-running.exp (test): Add new
20467 'update_thread_list' argument. Skip "info threads" if false.
20468 (top level): Add new 'update_thread_list' axis.
20469
13fd3ff3
PA
204702014-10-02 Pedro Alves <palves@redhat.com>
20471
20472 PR breakpoints/17431
20473 * gdb.base/execl-update-breakpoints.c: New file.
20474 * gdb.base/execl-update-breakpoints.exp: New file.
20475
0fec99e8
PA
204762014-10-01 Pedro Alves <palves@redhat.com>
20477
20478 * gdb.base/breakpoint-in-ro-region.c: New file.
20479 * gdb.base/breakpoint-in-ro-region.exp: New file.
20480
2ddf4301
SM
204812014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20482
20483 * gdb.mi/mi-exit-code.exp: New file.
20484 * gdb.mi/mi-exit-code.c: New file.
20485
6a5f3f43
YQ
204862014-09-30 Yao Qi <yao@codesourcery.com>
20487
20488 * lib/prelink-support.exp (build_executable_own_libs): Error if
20489 the target isn't native.
20490
345bcc73
YQ
204912014-09-30 Yao Qi <yao@codesourcery.com>
20492
20493 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20494 false.
20495
a25a5a45
PA
204962014-09-22 Pedro Alves <palves@redhat.com>
20497
20498 * gdb.threads/break-while-running.exp: New file.
20499 * gdb.threads/break-while-running.c: New file.
20500
00ba3162
YQ
205012014-09-19 Yao Qi <yao@codesourcery.com>
20502
20503 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20504 Invoke test. Restart GDB with --readnow and invoke test again.
20505
c3b7b696
YQ
205062014-09-19 Yao Qi <yao@codesourcery.com>
20507
20508 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20509 proc set_breakpoint_on_gcd_function. Invoke
20510 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20511 invoke set_breakpoint_on_gcd_function again.
20512
2b4fd423
DE
205132014-09-18 Doug Evans <dje@google.com>
20514
20515 * gdb.dwarf2/symtab-producer.exp: New file.
20516
a5947601
SDJ
205172014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20518
20519 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20520 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20521 * gdb.base/global-var-nested-by-dso.c: Likewise.
20522 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20523
91c19059
SDJ
205242014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20525 Pedro Alves <palves@redhat.com>
20526
20527 * gdb.base/watch-bitfields.exp: Pass string other than test file
20528 name to prepare_for_testing.
20529 (watch): New procedure.
20530 (expect_watchpoint): Use with_test_prefix.
20531 (top level): Factor out tests to ...
20532 (test_watch_location, test_regular_watch): ... these new
20533 procedures, and use with_test_prefix and gdb_continue_to_end.
20534
bb9d5f81
PP
205352014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20536
20537 PR breakpoints/12526
20538 * gdb.base/watch-bitfields.exp: New file.
20539 * gdb.base/watch-bitfields.c: New file.
20540
635856f5
PA
205412014-09-16 Pedro Alves <palves@redhat.com>
20542
20543 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20544 software and hardware addresses, not software address against
20545 itself.
20546
7280ceea
PA
205472014-09-16 Pedro Alves <palves@redhat.com>
20548
20549 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20550 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20551
428b16bd
PA
205522014-09-16 Pedro Alves <palves@redhat.com>
20553
20554 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20555 files.
20556 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20557 "*-*-vxworks*" throughout.
20558 * gdb.base/break.exp: Likewise.
20559 * gdb.base/default.exp: Likewise.
20560 * gdb.base/scope.exp: Likewise.
20561 * gdb.base/sepdebug.exp: Likewise.
20562 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20563 throughout.
20564 * gdb.base/run.c: Likewise.
20565 * gdb.base/sepdebug.c: Likewise.
20566 * gdb.hp/gdb.aCC/run.c: Likewise.
20567 * gdb.reverse/until-reverse.c: Likewise.
20568 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20569
666d413c
YQ
205702014-09-16 Yao Qi <yao@codesourcery.com>
20571
20572 * boards/local-remote-host-native.exp: New file.
20573
57cbd724
DE
205742014-09-14 Doug Evans <xdje42@gmail.com>
20575
20576 * gdb.threads/queue-signal.c (thread_count): New variable.
20577 (thread_count_mutex, thread_count_condvar): New variables.
20578 (incr_thread_count, wait_all_threads_running): New functions.
20579 (main): Wait for all threads to be in their thread functions.
20580
81219e53
DE
205812014-09-13 Doug Evans <xdje42@gmail.com>
20582
20583 * gdb.threads/queue-signal.c: New file.
20584 * gdb.threads/queue-signal.exp: New file.
20585
3714cea7
DE
205862014-09-13 Doug Evans <xdje42@gmail.com>
20587
20588 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20589 be consistent with what default_gdb_init uses.
20590 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20591 the plain text of the prompt. Add some logging printfs.
20592 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20593
fa43b1d7
PA
205942014-09-12 Pedro Alves <palves@redhat.com>
20595
20596 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20597 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20598 * gdb.arch/i386-size-overlap.exp: Likewise.
20599 * gdb.arch/i386-size.exp: Likewise.
20600 * gdb.arch/i386-unwind.exp: Likewise.
20601 * gdb.base/a2-run.exp: Likewise.
20602 * gdb.base/break.exp: Likewise.
20603 * gdb.base/charset.exp: Likewise.
20604 * gdb.base/chng-syms.exp: Likewise.
20605 * gdb.base/commands.exp: Likewise.
20606 * gdb.base/dbx.exp: Likewise.
20607 * gdb.base/find.exp: Likewise.
20608 * gdb.base/funcargs.exp: Likewise.
20609 * gdb.base/jit-simple.exp: Likewise.
20610 * gdb.base/reread.exp: Likewise.
20611 * gdb.base/sepdebug.exp: Likewise.
20612 * gdb.base/step-bt.exp: Likewise.
20613 * gdb.cp/mb-inline.exp: Likewise.
20614 * gdb.cp/mb-templates.exp: Likewise.
20615 * gdb.objc/basicclass.exp: Likewise.
20616 * gdb.threads/killed.exp: Likewise.
20617
9d9bf2df
EBM
206182014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20619
20620 PR tdep/17379
20621 * gdb.arch/powerpc-stackless.S: New file.
20622 * gdb.arch/powerpc-stackless.exp: New file.
20623
1cf2f1b0
JK
206242014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20625
20626 * gdb.base/attach.c: Include unistd.h.
20627 (main): Call alarm. Add label postloop.
20628 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20629 gdb_breakpoint, gdb_continue_to_breakpoint.
20630 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20631
98880d46
PA
206322014-09-11 Pedro Alves <palves@redhat.com>
20633
20634 PR gdb/17347
20635 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20636 * gdb.base/attach.exp (test_command_line_attach_run): New
20637 procedure.
20638 (top level): Call it.
20639
4c92ff2c
PA
206402014-09-11 Pedro Alves <palves@redhat.com>
20641
20642 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20643 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20644 (do_command_attach_tests): Use spawn_wait_for_attach.
20645 * gdb.base/solib-overlap.exp: Likewise.
20646 * gdb.multi/multi-attach.exp: Likewise.
20647 * gdb.python/py-prompt.exp: Likewise.
20648 * gdb.python/py-sync-interp.exp: Likewise.
20649 * gdb.server/ext-attach.exp: Likewise.
20650
3adc1a7d
GKB
206512014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20652
20653 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20654 command in testcase. Simplify testcase.
20655
96334934
JB
206562014-09-10 Joel Brobecker <brobecker@adacore.com>
20657
20658 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20659
eb479039
JB
206602014-09-10 Joel Brobecker <brobecker@adacore.com>
20661
20662 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20663
deede10c
JB
206642014-09-10 Joel Brobecker <brobecker@adacore.com>
20665
20666 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20667
7828a5f5
JB
206682014-09-10 Joel Brobecker <brobecker@adacore.com>
20669
20670 * gdb.dwarf2/dynarr-ptr.c: New file.
20671 * gdb.dwarf2/dynarr-ptr.exp: New file.
20672
33aeebcf
MR
206732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20674
20675 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20676 of 30 rather than hardcoding 120 for a slow test case. Take the
20677 `gdb,timeout' target setting into account for this calculation.
20678 Don't extend the timeout for the test cases that don't need it.
20679
7b415901
MR
206802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20681
20682 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20683 a factor of 2 for a slow test case. Take the `gdb,timeout'
20684 target setting into account for this calculation.
20685 * gdb.reverse/until-precsave.exp: Increase the timeout by
20686 a factor of 15 and 3 respectively rather than adding 120
20687 for a pair of slow test cases. Take the `gdb,timeout'
20688 target setting into account for this calculation.
20689
4a40f85a
MR
206902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20691
20692 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20693 timeout, don't pass one down to gdb_expect.
20694 (gdb_expect): Rework timeout selection.
20695
09635af7
MR
206962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20697
20698 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20699 exception on timeout.
20700 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20701 (gdbserver_start_extended): Catch any `gdbserver_start' error
20702 exceptions.
20703 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20704 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20705 `gdbserver_gdb_load' error exceptions.
20706
2bdd10b7
MR
207072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20708
20709 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20710 120 on waiting for the TCP socket to open.
20711
316935f0
DE
207122014-09-09 Doug Evans <xdje42@gmail.com>
20713
20714 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20715 _caller_matches, _any_caller_is, _any_caller_matches.
20716
83740597
DE
207172014-09-09 Doug Evans <xdje42@gmail.com>
20718
20719 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20720
4c122fc3
YQ
207212014-09-09 Yao Qi <yao@codesourcery.com>
20722
20723 * gdb.mi/mi-var-display.exp: Set print symbol off.
20724
a9f116cb
GKB
207252014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20726
20727 PR gdb/17035
20728 * gdb.base/commands.exp: Add tests to verify user-defined
20729 commands with empty bodies.
20730 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20731 python commands in `show user command`.
20732 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20733 scheme commands in `show user command`.
20734
c75bd3a2
JK
207352014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20736
20737 PR python/17355
20738 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20739 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20740 * gdb.python/py-framefilter-invalidarg.exp: New file.
20741 * gdb.python/py-framefilter-invalidarg.py: New file.
20742
faa42425
DE
207432014-09-06 Doug Evans <xdje42@gmail.com>
20744
20745 PR 15276
20746 * gdb.python/py-caller-is.c: New file.
20747 * gdb.python/py-caller-is.exp: New file.
20748
474ca4f6
SDJ
207492014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20750
20751 PR gdb/17235
20752 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20753 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20754
eb0b0463
SDJ
207552014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20756
20757 PR fortran/17237
20758 * gdb.fortran/print-formatted.exp: New file.
20759 * gdb.fortran/print-formatted.f90: Likewise.
20760
5f3b99cf
SS
207612014-09-03 Sasha Smundak <asmundak@google.com>
20762
20763 * gdb.python/py-frame.exp: Test Frame.read_register.
20764
7d793aa9
SDJ
207652014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20766
20767 PR python/16699
20768 * gdb.python/py-completion.exp: New file.
20769 * gdb.python/py-completion.py: Likewise.
20770
fb0576e9
DE
207712014-08-28 Doug Evans <dje@google.com>
20772
20773 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20774 eax,etc. are live with values set by gdb and thus the compiler can't
20775 use them.
20776 * gdb.arch/i386-pseudo.c (main): Ditto.
20777
ee92b0dd
DE
207782014-08-27 Doug Evans <dje@google.com>
20779
20780 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20781
6649db35
DE
207822014-08-25 Doug Evans <dje@google.com>
20783
20784 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20785 (main): Ditto.
20786
564b7600
DE
207872014-08-25 Doug Evans <dje@google.com>
20788
20789 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20790
3881fb67
YQ
207912014-08-24 Yao Qi <yao@codesourcery.com>
20792
20793 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20794 symbol off.
20795 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20796
a05a36a5
DE
207972014-08-22 Doug Evans <dje@google.com>
20798
20799 PR 17276
20800 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20801 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20802 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20803
7c343b48
YQ
208042014-08-22 Yao Qi <yao@codesourcery.com>
20805
20806 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20807 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20808 * gdb.python/python.exp: Likewise. Use .py file on the host
20809 instead of the build.
20810
22fd09ae
JK
208112014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20812
20813 * gdb.threads/gcore-stale-thread.c: New file.
20814 * gdb.threads/gcore-stale-thread.exp: New file.
20815
a8454a7c
PA
208162014-08-21 Pedro Alves <palves@redhat.com>
20817
20818 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20819 * gdb.base/gcore-relro-pie.exp: Likewise.
20820 * gdb.base/gcore-relro.exp: Likewise.
20821 * gdb.base/gcore.exp: Likewise.
20822 * gdb.base/print-symbol-loading.exp: Likewise.
20823 * gdb.threads/gcore-thread.exp: Likewise.
20824 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20825
2a31c623
PA
208262014-08-20 Pedro Alves <palves@redhat.com>
20827 Jan Kratochvil <jan.kratochvil@redhat.com>
20828
20829 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20830 configure.
20831 (EXPECT): Handle READ1 being set.
20832 (all): Depend on EXTRA_RULES.
20833 (check-read1, expect-read1, read1.so, read1): New rules.
20834 * README (Testsuite Parameters): Document the READ1 make variable.
20835 (Race detection): New section.
20836 * configure: Regenerate.
20837 * configure.ac: If build==host==target, and running under a
20838 GNU/glibc system, add read1 to the extra Makefile rules.
20839 (EXTRA_RULES): AC_SUBST it.
20840 * lib/read1.c: New file.
20841
d36430db
JB
208422014-08-20 Joel Brobecker <brobecker@adacore.com>
20843
20844 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20845 the handling of variables declared as a typedef to an array
20846 which a DW_AT_data_location attribute.
20847
9a0dc9e3
PA
208482014-08-19 Andrew Burgess <aburgess@broadcom.com>
20849 Pedro Alves <palves@redhat.com>
20850
20851 PR symtab/14604
20852 PR symtab/14605
20853 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20854 gdb_test.
20855
0718a8da
PA
208562014-08-19 Pedro Alves <palves@redhat.com>
20857
20858 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20859
13b448cd
YQ
208602014-08-19 Yao Qi <yao@codesourcery.com>
20861
20862 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20863 right line.
20864
1cbf5077
DB
208652014-08-18 David Blaikie <dblaikie@gmail.com>
20866
20867 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20868
bf0fae19
JB
208692014-08-18 Joel Brobecker <brobecker@adacore.com>
20870
20871 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20872 attribute in array range.
20873
3c8c5dcc
JB
208742014-08-18 Joel Brobecker <brobecker@adacore.com>
20875
20876 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20877
e66d4446
SC
208782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20879
20880 PR c++/17132
20881 * gdb.cp/pr17132.cc: New file.
20882 * gdb.cp/pr17132.exp: New file.
20883
940df408
SC
208842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20885
20886 * gdb.python/py-xmethods.py (A_getarrayind)
20887 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20888 Use 'print' with function call syntax.
20889 (E_method_matcher.match): Fix tab vs space indentation mixup.
20890
ebcc6c3a
YQ
208912014-08-15 Yao Qi <yao@codesourcery.com>
20892
20893 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20894 false.
20895
775e0f04
YQ
208962014-08-15 Yao Qi <yao@codesourcery.com>
20897
20898 * gdb.cp/casts.exp: Set print symbol off.
20899 * gdb.cp/class2.exp: Likewise.
20900 * gdb.cp/overload.exp: Likewise.
20901 * gdb.cp/templates.exp: Likewise.
20902
d769e349
DE
209032014-08-11 Doug Evans <dje@google.com>
20904
20905 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20906 (test_load_shlib): Update.
20907
20c6f1e1
YQ
209082014-08-09 Yao Qi <yao@codesourcery.com>
20909
20910 * gdb.base/display.exp: Invoke is_address_zero_readable.
20911 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20912 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20913 * gdb.base/hbreak-unmapped.exp: Return if
20914 is_address_zero_readable returns true.
20915 * gdb.base/signest.exp: Likewise.
20916 * gdb.base/signull.exp: Likewise.
20917 * gdb.base/sigbpt.exp: Likewise.
20918 * gdb.guile/scm-disasm.exp: Do the test if
20919 is_address_zero_readable returns false.
20920 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20921 * gdb.python/py-arch.exp: Likewise.
20922 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20923 * lib/gdb.exp (is_address_zero_readable): New proc.
20924
5792e8e3
YQ
209252014-08-09 Yao Qi <yao@codesourcery.com>
20926
20927 PR testsuite/13443
20928 * gdb.mi/mi-var-display.exp: Make test messages unique.
20929
3cecbbbe
TT
209302014-08-04 Tom Tromey <tromey@redhat.com>
20931
20932 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20933 target 0".
20934
00b51ff5
TT
209352014-08-04 Tom Tromey <tromey@redhat.com>
20936
20937 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20938 "target_resume".
20939
6908c509
JB
209402014-08-01 Joel Brobecker <brobecker@adacore.com>
20941
20942 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20943 inner_vla_struct_object_size.
20944 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20945 as xfail.
20946
cc6563d2
PA
209472014-07-30 Pedro Alves <palves@redhat.com>
20948
20949 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20950 comment.
20951
7e09a223
YQ
209522014-07-29 Yao Qi <yao@codesourcery.com>
20953
20954 PR gdb/17206
20955 * gdb.base/until-nodebug.exp: New.
20956
7ebdbe92
DE
209572014-07-28 Doug Evans <xdje42@gmail.com>
20958
20959 PR guile/17203
20960 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20961 previously existing parameter, and previously ambiguously spelled
20962 parameter.
20963
fdb1adc6
WN
209642014-07-28 Will Newton <will.newton@linaro.org>
20965
20966 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20967
186fcde0
DE
209682014-07-26 Ludovic Courtès <ludo@gnu.org>
20969 Doug Evans <xdje42@gmail.com>
20970
20971 PR guile/17146
20972 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20973
70509625
PA
209742014-07-25 Pedro Alves <palves@redhat.com>
20975
20976 * gdb.threads/signal-command-handle-nopass.c: New file.
20977 * gdb.threads/signal-command-handle-nopass.exp: New file.
20978 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20979 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20980 * gdb.threads/signal-delivered-right-thread.c: New file.
20981 * gdb.threads/signal-delivered-right-thread.exp: New file.
20982
c3f814a1
PA
209832014-07-25 Pedro Alves <palves@redhat.com>
20984
20985 * gdb.base/double-prompt-target-event-error.exp
20986 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20987 match.
20988 (cancel_pagination_in_target_event): Rework double prompt
20989 detection.
20990 * gdb.base/paginate-after-ctrl-c-running.exp
20991 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20992 <return>' match.
20993 * gdb.base/paginate-bg-execution.exp
20994 (test_bg_execution_pagination_return)
20995 (test_bg_execution_pagination_cancel): Remove '-notransfer
20996 <return>' matches.
20997 * gdb.base/paginate-execution-startup.exp
20998 (test_fg_execution_pagination_return)
20999 (test_fg_execution_pagination_cancel): Remove '-notransfer
21000 <return>' matches.
21001 * gdb.base/paginate-inferior-exit.exp
21002 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21003 match.
21004 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21005 * lib/gdb.exp (pagination_prompt): Run text through
21006 string_to_regexp.
21007 (gdb_test_multiple): Match $pagination_prompt instead of
21008 "<return>".
21009 (string_to_regexp): Move to lib/gdb-utils.exp.
21010
e214cf6c
JK
210112014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21012
21013 * gdb.arch/amd64-entry-value-paramref.S: New file.
21014 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21015 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21016 * gdb.arch/amd64-optimout-repeat.S: New file.
21017 * gdb.arch/amd64-optimout-repeat.c: New file.
21018 * gdb.arch/amd64-optimout-repeat.exp: New file.
21019
17d0c5c8
JK
210202014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21021
21022 PR gdb/17170
21023 * gdb.base/statistics.exp: New file.
21024
b8b8facf
DE
210252014-07-17 Doug Evans <dje@google.com>
21026
74b49205 21027 PR gdb/17170
b8b8facf
DE
21028 * gdb.base/maint.exp: Update testing of per-command stats.
21029
1b5d0ab3
PA
210302014-07-16 Pedro Alves <palves@redhat.com>
21031
21032 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21033 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21034 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21035 (tfile_write_buf): New functions.
21036 (add_memory_block): Rewrite using the above.
21037 (adjust_function_address): New function.
21038 (FUNCTION_ADDRESS): New macro.
21039 (write_basic_trace_file): Remove short_x local, and use
21040 tfile_write_16. Change type of func_addr local to unsigned long
21041 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21042 here. Cast argument of add_memory_block to char pointer.
21043 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21044 (main): Remove parameters.
21045 * gdb.trace/tfile.exp: Remove nowarnings.
21046
4d974e88
SM
210472014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21048
21049 * gdb.base/debug-expr.exp: Test string evaluation with
21050 "debug expression" on.
21051
41e99568
PA
210522014-07-15 Pedro Alves <palves@redhat.com>
21053
21054 * gdb.base/reread.exp: Use clean_restart.
21055
487d9753
PL
210562014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21057
21058 * gdb.arch/avr-flash-qualifer.c: New.
21059 * gdb.arch/avr-flash-qualifer.exp: New.
21060
cc1c52ad
PA
210612014-07-14 Pedro Alves <palves@redhat.com>
21062
21063 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21064 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21065
1e973570
PA
210662014-07-14 Pedro Alves <palves@redhat.com>
21067
21068 * gdb.base/double-prompt-target-event-error.c: New file.
21069 * gdb.base/double-prompt-target-event-error.exp: New file.
21070
93d6eb10
PA
210712014-07-14 Pedro Alves <palves@redhat.com>
21072
21073 PR gdb/17072
21074 * gdb.base/paginate-inferior-exit.c: New file.
21075 * gdb.base/paginate-inferior-exit.exp: New file.
21076
0017922d
PA
210772014-07-14 Pedro Alves <palves@redhat.com>
21078
21079 PR gdb/17072
21080 * gdb.base/paginate-bg-execution.c: New file.
21081 * gdb.base/paginate-bg-execution.exp: New file.
21082
94696ad3
PA
210832014-07-14 Pedro Alves <palves@redhat.com>
21084
21085 PR gdb/17072
21086 * gdb.base/paginate-execution-startup.c: New file.
21087 * gdb.base/paginate-execution-startup.exp: New file.
21088 * lib/gdb.exp (pagination_prompt): New global.
21089 (default_gdb_spawn): New procedure, factored out from
21090 default_gdb_spawn.
21091 (default_gdb_start): Adjust to call default_gdb_spawn.
21092 (gdb_spawn): New procedure.
21093
bd293940
PA
210942014-07-14 Pedro Alves <palves@redhat.com>
21095
21096 * lib/gdb.exp (gdb_assert): New procedure.
21097 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21098
c933f875
PA
210992014-07-14 Pedro Alves <palves@redhat.com>
21100
21101 * gdb.base/execution-termios.c: New file.
21102 * gdb.base/execution-termios.exp: New file.
21103
d98b7a16
TT
211042014-07-14 Tom Tromey <tromey@redhat.com>
21105
21106 * gdb.cp/vla-cxx.cc: New file.
21107 * gdb.cp/vla-cxx.exp: New file.
21108
548740d6
TT
211092014-07-14 Tom Tromey <tromey@redhat.com>
21110
21111 * gdb.reverse/rerun-prec.c: New file.
21112 * gdb.reverse/rerun-prec.exp: New file.
21113
a25eb028
MR
211142014-07-12 Maciej W. Rozycki <macro@mips.com>
21115 Maciej W. Rozycki <macro@codesourcery.com>
21116
21117 * lib/gdb-utils.exp: New file.
21118 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21119 inline `gdb_init_command' processing.
21120 (gdb_start_cmd): Likewise.
21121 * lib/mi-support.exp (mi_run_cmd): Likewise.
21122 * README: Document `gdb_init_command' and `gdb_init_commands'.
21123
218c2655
JK
211242014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21125
21126 Fix false FAIL running under a very long directory name.
21127 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21128 and "set print elements 10000". Twice.
21129
5401fde3
YQ
211302014-07-11 Yao Qi <yao@codesourcery.com>
21131
21132 * gdb.base/exprs.exp: "set print symbol off".
21133
e76126e8
PA
211342014-07-11 Pedro Alves <palves@redhat.com>
21135
21136 * gdb.threads/kill.c: New file.
21137 * gdb.threads/kill.exp: New file.
21138
2d6f0de6
YQ
211392014-07-10 Yao Qi <yao@codesourcery.com>
21140
21141 * gdb.trace/tfile.c (write_basic_trace_file)
21142 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21143 address written to trace file.
21144
7180e04a
PA
211452014-07-09 Pedro Alves <palves@redhat.com>
21146
21147 * gdb.base/attach-wait-input.exp: New file.
21148 * gdb.base/attach-wait-input.c: New file.
21149
9a9a7608
AB
211502014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21151
21152 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21153 setting up test structures.
21154 (main): Call new test function.
21155 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21156 test function, continue into test function and walk test
21157 structures.
21158
161ac41e
YQ
211592014-07-02 Yao Qi <yao@codesourcery.com>
21160
21161 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21162 'bar_start' at the beginning of functions 'foo' and 'bar'
21163 respectively.
21164 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21165 instead of 'foo' and 'bar'.
21166
1f267ae3
MM
211672014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21168
21169 * gdb.btrace/segv.exp: New.
21170 * gdb.btrace/segv.c: New.
21171
2b239efb
LM
211722014-07-02 Luis Machado <lgustavo@codesourcery.com>
21173
21174 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21175 instruction.
21176
cf363f18
MW
211772014-06-30 Mark Wielaard <mjw@redhat.com>
21178
21179 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21180 vulture, vilify, villar): New volatile array constants.
21181 (vindictive, vegetation): New const volatile array constants.
21182 * gdb.base/volatile.exp: Test volatile and const volatile array
21183 types.
21184
aebf9d24
AA
211852014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21186
21187 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21188 target lacks support for awatch, rwatch, or hbreak.
21189
b67a2c6f
YQ
211902014-06-27 Yao Qi <yao@codesourcery.com>
21191
21192 * gdb.multi/dummy-frame-restore.exp: New.
21193 * gdb.multi/dummy-frame-restore.c: New.
21194
aef92902
MM
211952014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21196
21197 * gdb.btrace/gcore.exp: New.
21198
8e9db26e
PA
211992014-06-23 Pedro Alves <palves@redhat.com>
21200
21201 * gdb.base/watchpoint-reuse-slot.c: New file.
21202 * gdb.base/watchpoint-reuse-slot.exp: New file.
21203
70afc5b7
SC
212042014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21205
21206 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21207 progspace's filename in 'info', 'enable' and 'disable' command
21208 tests.
21209
b972bd9c
JK
212102014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21211
21212 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21213 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21214 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21215
125f8a3d
GB
212162014-06-20 Gary Benson <gbenson@redhat.com>
21217
21218 * gdb.arch/i386-avx.exp: Fix include file location.
21219 * gdb.arch/i386-sse.exp: Likewise.
21220
3ed9baed
IB
212212014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21222
21223 * gdb.dlang/expression.exp: New file.
21224
034f788c
PA
212252014-06-19 Pedro Alves <palves@redhat.com>
21226
21227 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21228 out from ...
21229 (top level): ... here. Iterate running tests under different
21230 scheduler-locking settings.
21231
45371d0c
LM
212322014-06-18 Luis Machado <lgustavo@codesourcery.com>
21233
21234 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21235 to DW_FORM_addr and use non-zero addresses.
21236
5d376983
SC
212372014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21238
21239 PR gdb/17017
21240 * gdb.python/py-xmethods.cc: Add global function call counters and
21241 increment them in their respective functions. Remove "cout"
21242 statements.
21243 * gdb.python/py-xmethods.exp: Make tests check the global function
21244 call counters instead of depending on inferior IO.
21245
a1aa2221
LM
212462014-06-18 Don Breazeal <donb@codesourcery.com>
21247
21248 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21249 Deleted procedure.
21250 (explicit_fork_parent_follow): Deleted procedure.
21251 (explicit_fork_child_follow): Deleted procedure.
21252 (test_follow_fork): New procedure.
21253 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21254 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21255 procedure calls.
21256
0fc05997
YQ
212572014-06-17 Yao Qi <yao@codesourcery.com>
21258
21259 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21260 CP1252.
21261
70795c52
LM
212622014-06-17 Luis Machado <lgustavo@codesourcery.com>
21263
21264 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21265 Initialize ptr and S explicitly.
21266 (skip_type_update_when_not_use_rtti_test): Likewise.
21267
6be47f0c
KS
212682014-06-16 Keith Seitz <keiths@redhat.com>
21269
21270 PR mi/15863
21271 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21272 the inferior is started.
21273
d03de421
PA
212742014-06-16 Pedro Alves <palves@redhat.com>
21275
21276 * gdb.base/break-main-file-remove-fail.c: New file.
21277 * gdb.base/break-main-file-remove-fail.exp: New file.
21278 * gdb.base/break-unload-file.exp: Use build_executable instead of
21279 prepare_for_testing.
21280 (test_break): New parameter "initial_load". Handle it.
21281 (top level): Add initial_load cmdline/file axis.
21282
f9579b99
TT
212832014-06-12 Tom Tromey <tromey@redhat.com>
21284
21285 * gdb.base/completion.exp: Don't use directory name in test.
21286
3657956b
GB
212872014-06-09 Gary Benson <gbenson@redhat.com>
21288
21289 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21290 separate the always-available ANSI-standard signals from the
21291 signals that require checking.
21292 (main): Likewise.
21293 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21294 Likewise.
21295 (main): Likewise.
21296
4186eb54
KS
212972014-06-07 Keith Seitz <keiths@redhat.com>
21298
21299 Revert:
21300 PR c++/16253
21301 * gdb.cp/var-tag.cc: New file.
21302 * gdb.cp/var-tag.exp: New file.
21303 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21304 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21305 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21306 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21307
25326a28 213082014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21309
21310 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21311
829155c9
PA
213122014-06-06 Pedro Alves <palves@redhat.com>
21313
21314 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21315 in target debug output instead of looking at RSP packets,
21316 disabling the test on any target that uses hardware stepping.
21317 Update comments.
21318
61c8d22e
PA
213192014-06-06 Pedro Alves <palves@redhat.com>
21320
21321 * gdb.base/break-unload-file.exp: Fix typo.
21322
d9a47287
YQ
213232014-06-06 Yao Qi <yao@codesourcery.com>
21324
21325 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21326 from "jit_function" to "^jit_function".
21327
e5e01dbf
YQ
213282014-06-06 Yao Qi <yao@codesourcery.com>
21329
21330 * gdb.base/async.c (foo): Add one statement.
21331 * gdb.base/async.exp: Get the next instruction address and
21332 match the output of "nexti" by instruction address. Match
21333 the hex address in the output of "finish".
21334
73ba372c
GB
213352014-06-06 Gary Benson <gbenson@redhat.com>
21336
21337 * gdb.base/call-signals.c: Remove preprocessor conditionals
21338 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21339 SIGSEGV and SIGTERM.
21340 * gdb.base/sigall.c: Likewise.
21341 * gdb.base/unwindonsignal.c: Likewise.
21342 * gdb.reverse/sigall-reverse.c: Likewise.
21343
831517df
YQ
213442014-06-06 Yao Qi <yao@codesourcery.com>
21345
21346 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21347 readable, skip the test.
21348
b8b91e98
YQ
213492014-06-06 Yao Qi <yao@codesourcery.com>
21350
21351 * gdb.threads/staticthreads.c (thread_function): Move the line
21352 setting breakpoint on forward.
21353 * gdb.threads/staticthreads.exp: Update comments.
21354
fb934770
LC
213552014-06-05 Ludovic Courtès <ludo@gnu.org>
21356
21357 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21358 "history-append! type error".
21359
6ef284bd
SM
213602014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21361
21362 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21363 erroneous dprintf expected input.
21364
a872e241
DE
213652014-06-04 Doug Evans <xdje42@gmail.com>
21366
21367 * gdb.guile/scm-generics.exp: Delete.
21368
16f691fb
DE
213692014-06-04 Doug Evans <xdje42@gmail.com>
21370
21371 * gdb.guile/scm-breakpoint.exp: Update.
21372 Add tests for breakpoint registration.
21373
012370f6
TT
213742014-06-04 Tom Tromey <tromey@redhat.com>
21375
21376 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21377 VLA-in-union.
21378 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21379 inner_vla_struct, vla_union types. Initialize objects of those
21380 types and compute their sizes.
21381
9f5a4cef
HZ
213822014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21383 Hui Zhu <hui@codesourcery.com>
21384
21385 * gdb.base/fileio.exp: Add test for shell not available as well as
21386 available.
21387 * gdb.base/fileio.c (test_system): Check for shell twice.
21388
90a45c4d
YQ
213892014-06-04 Yao Qi <yao@codesourcery.com>
21390
21391 * gdb.base/auto-connect-native-target.exp: Remove redundant
21392 space from the regexp pattern.
21393
70017e41
YQ
213942014-06-04 Yao Qi <yao@codesourcery.com>
21395
21396 * gdb.base/default.exp: Replace "child" with "native" in
21397 regexp pattern.
21398
883964a7
SC
213992014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21400
21401 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21402 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21403 * gdb.python/py-xmethods.py: Python script supporting the
21404 new testcase and tests.
21405
ef370185
JB
214062014-06-03 Joel Brobecker <brobecker@adacore.com>
21407 Pedro Alves <palves@redhat.com>
21408
21409 PR breakpoints/17000
21410 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21411 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21412
1e2ccb61
BM
214132014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21414
21415 * gdb.base/subst.exp: Add tests to verify partial path matching
21416 output.
21417
c6ec5ab2
PA
214182014-06-03 Pedro Alves <palves@redhat.com>
21419
21420 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21421 target that doesn't use software single-stepping.
21422
835c559f
PA
214232014-06-03 Pedro Alves <palves@redhat.com>
21424
21425 PR breakpoints/17000
21426 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21427 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21428
06eb1586
DE
214292014-06-02 Doug Evans <xdje42@gmail.com>
21430
21431 * gdb.guile/scm-parameter.exp: New file.
21432
e698b8c4
DE
214332014-06-02 Doug Evans <xdje42@gmail.com>
21434
21435 * gdb.guile/scm-cmd.c: New file.
21436 * gdb.guile/scm-cmd.exp: New file.
21437
ded03782
DE
214382014-06-02 Doug Evans <xdje42@gmail.com>
21439
21440 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21441 pretty-printer lookup.
21442 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21443 (make-pp_s-printer): Call it.
21444 (make-pretty-printer-from-dict): New function.
21445 (lookup-pretty-printer-maker-from-dict): New function.
21446 (*pretty-printer*): Simplify.
21447 (make-objfile-pp_s-printer): New function.
21448 (install-objfile-pretty-printers!): New function.
21449 (make-progspace-pp_s-printer): New function.
21450 (install-progspace-pretty-printers!): New function.
21451 * gdb.guile/scm-progspace.c: New file.
21452 * gdb.guile/scm-progspace.exp: New file.
21453
41fac0cf
PA
214542014-06-02 Pedro Alves <palves@redhat.com>
21455
21456 * gdb.base/dprintf-bp-same-addr.c: New file.
21457 * gdb.base/dprintf-bp-same-addr.exp: New file.
21458
96ae5695
EBM
214592014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21460
21461 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21462 * gdb.arch/powerpc-power.s: Likewise.
21463
da02b3a8
JB
214642014-06-02 Joel Brobecker <brobecker@adacore.com>
21465
21466 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21467
c72b2e7b
YQ
214682014-06-01 Yao Qi <yao@codesourcery.com>
21469
21470 * gdb.base/watchpoint.exp (test_watch_location): Check null
21471 pointer can be dereferenced. If not, do the test, otherwise
21472 skip it.
21473
53e8a631
AB
214742014-05-30 Andrew Burgess <aburgess@broadcom.com>
21475
21476 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21477 results.
21478 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21479
938f0e2f
AB
214802014-05-30 Andrew Burgess <aburgess@broadcom.com>
21481
21482 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21483 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21484 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21485 * gdb.arch/amd64-invalid-stack-top.c: New file.
21486 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21487
9ba6657a
PA
214882014-05-30 Pedro Alves <palves@redhat.com>
21489
21490 PR breakpoints/17000
21491 * gdb.base/sss-bp-on-user-bp.c: New file.
21492 * gdb.base/sss-bp-on-user-bp.exp: New file.
21493
522c09bf
DB
214942014-05-30 David Blaikie <dblaikie@gmail.com>
21495
21496 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21497 gnu_inline semantics via attribute.
21498 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21499 source explicitly specifies the required semantics.
21500
bf4ef81e
MR
215012014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21502
21503 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21504
329ea579
PA
215052014-05-29 Pedro Alves <palves@redhat.com>
21506 Tom Tromey <tromey@redhat.com>
21507
21508 * gdb.base/async-shell.exp: Don't enable target-async.
21509 * gdb.base/async.exp
21510 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21511 parameter. Adjust.
21512 (top level): Don't test with "target-async".
21513 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21514 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21515 * gdb.base/inferior-died.exp: Don't enable target-async.
21516 * gdb.base/interrupt-noterm.exp: Likewise.
21517 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21518 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21519 * gdb.mi/mi-nonstop.exp: Likewise.
21520 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21521 * gdb.mi/mi-nsintrall.exp: Likewise.
21522 * gdb.mi/mi-nsmoribund.exp: Likewise.
21523 * gdb.mi/mi-nsthrexec.exp: Likewise.
21524 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21525 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21526 * gdb.python/py-evsignal.exp: Don't enable target-async.
21527 * gdb.python/py-evthreads.exp: Likewise.
21528 * gdb.python/py-prompt.exp: Likewise.
21529 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21530 * gdb.server/solib-list.exp: Don't enable target-async.
21531 * gdb.threads/thread-specific-bp.exp: Likewise.
21532 * lib/mi-support.exp: Adjust to use mi-async.
21533
fd664c91
PA
215342014-05-29 Pedro Alves <palves@redhat.com>
21535
21536 PR gdb/13860
21537 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21538 reason, even in sync mode.
21539
251bde03
PA
215402014-05-29 Pedro Alves <palves@redhat.com>
21541 Hui Zhu <hui@codesourcery.com>
21542
21543 PR PR15693
21544 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21545 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21546 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21547 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21548
7f3c0343
JB
215492014-05-28 Joel Brobecker <brobecker@adacore.com>
21550
21551 * config/monitor.exp (gdb_target_monitor): Replace use of
21552 "set remotebaud" by "set serial baud".
21553
b2715b27
AW
215542014-05-26 Andy Wingo <wingo@igalia.com>
21555
21556 * gdb.guile/scm-breakpoint.exp:
21557 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21558 properties instead of gdb-object-properties.
21559
498a4489
YQ
215602014-05-26 Yao Qi <yao@codesourcery.com>
21561
21562 * gdb.server/no-thread-db.exp: Specify source file name
21563 explicitly when setting a breakpoint.
21564
589fdceb
MM
215652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21566
21567 * gdb.btrace/vdso.c: New.
21568 * gdb.btrace/vdso.exp: New.
21569
e9089e05
MM
215702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21571
21572 * gdb.base/gcore.exp (capture_command_output): Move ...
21573 * lib/gdb.exp (capture_command_output): ... here.
21574
67b5c0c1
MM
215752014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21576
21577 * gdb.btrace/data.exp: Test memory access during btrace replay.
21578
a2199296
SM
215792014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21580
21581 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21582
17b2616c
PA
215832014-05-21 Pedro Alves <palves@redhat.com>
21584
21585 PR gdb/13860
21586 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21587 (top level): Test that output related to execution commands is
21588 sent to the console with CLI commands, but not with MI commands.
21589 Test that breakpoint events are always mirrored to the console.
21590 Also expect the new source line to be output after a "next" in
21591 async mode too. Make it a pass/fail test.
21592 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21593 output.
21594 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21595
5166082f
PA
215962014-05-21 Pedro Alves <palves@redhat.com>
21597
21598 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21599 Use them to test variations of "list" after reaching a breakpoint.
21600 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21601 Test "list" with listsize 10 after reaching a breakpoint.
21602 * gdb.python/python.exp (decode_line current location line
21603 number): Adjust expected line number.
21604
2f25d70f
SM
216052014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21606
21607 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21608 behavior for $args, pass it directly to "run".
21609
ff604a67
MR
216102014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21611
21612 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21613 30000 to 65536.
21614
6a3cb8e8
PA
216152014-05-21 Pedro Alves <palves@redhat.com>
21616
21617 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21618 auto-connect-native-target off".
21619 * gdb.base/auto-connect-native-target.c: New file.
21620 * gdb.base/auto-connect-native-target.exp: New file.
21621
4ebfc96e
PA
216222014-05-21 Pedro Alves <palves@redhat.com>
21623
21624 * gdb.base/default.exp: Test "target native" instead of "target
21625 child".
21626
36d46afb
MW
216272014-05-21 Mark Wielaard <mjw@redhat.com>
21628
21629 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21630
5876f503
JK
216312014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21632
21633 Fix TLS access for -static -pthread.
21634 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21635 <HAVE_TLS> (thread_function, main): Initialize it.
21636 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21637 Add clean_restart.
21638 <$have_tls != "">: Check TLSVAR.
21639
0256a6ac
PA
216402014-05-21 Pedro Alves <palves@redhat.com>
21641
21642 * gdb.base/dcache-line-read-error.c: New.
21643 * gdb.base/dcache-line-read-error.exp: New.
21644
936d2992
PA
216452014-05-20 Pedro Alves <palves@redhat.com>
21646
21647 * gdb.base/compare-sections.c: New file.
21648 * gdb.base/compare-sections.exp: New file.
21649
802e8e6d
PA
216502014-05-20 Pedro Alves <palves@redhat.com>
21651
21652 * gdb.base/break-idempotent.c: New file.
21653 * gdb.base/break-idempotent.exp: New file.
21654
e59fa00f
MM
216552014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21656
21657 * gdb.btrace/nohist.exp: New.
21658
8b696e31
YQ
216592014-05-20 Yao Qi <yao@codesourcery.com>
21660
21661 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21662 gdb.reverse directory and gdb_reverse_timeout exists in board
21663 setting.
21664 * README: Document gdb_reverse_timeout.
21665
73c9764f
YQ
216662014-05-20 Yao Qi <yao@codesourcery.com>
21667
21668 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21669 'test_file_name'. Treat args as a string instead of a list.
21670 (gdb_init): Rename argument 'args' by 'test_file_name'.
21671
f1f4348a
JK
216722014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21673
21674 * gdb.arch/powerpc-power.exp: New file.
21675 * gdb.arch/powerpc-power.s: New file.
21676
0dbe70ce
DE
216772014-05-16 Doug Evans <dje@google.com>
21678
21679 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21680 * gdb.base/completion.exp: Check that all expected files exist
21681 before doing file completion.
0dbe70ce 21682
8d551b02
DE
216832014-05-16 Doug Evans <dje@google.com>
21684
21685 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21686 Update.
21687 (do_syscall_tests_without_xml): Update.
21688
73eb7709
PA
216892014-05-16 Pedro Alves <palves@redhat.com>
21690
21691 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21692 instead of "unknown output after running".
21693
3fae92fc
YQ
216942014-05-16 Yao Qi <yao@codesourcery.com>
21695
21696 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21697 file1.txt from host at the end.
21698 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21699
c2b2ccc5
DE
217002014-05-15 Doug Evans <dje@google.com>
21701
21702 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21703 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21704 loading file. Add test for TU lookup.
21705
8c217a4b
SM
217062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21707
21708 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21709 calling "-exec-arguments" or "set args" before running the
21710 inferior.
21711
3deb39c6
SM
217122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21713
21714 * lib/mi-support.exp (mi_expect_stop): Expect message for
21715 inferiors that exit with non-zero exit code.
21716
71a79f8c
YQ
217172014-05-14 Yao Qi <yao@codesourcery.com>
21718
21719 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21720 match absolute path on remote host.
21721 (test_file_list_exec_source_files): Remove "/" from the
21722 pattern.
21723
f23fcd46
YQ
217242014-05-14 Yao Qi <yao@codesourcery.com>
21725
21726 * boards/local-remote-host-notty.exp (${board}_file): New
21727 proc.
21728
9404b58f
KM
217292014-05-07 Kyle McMartin <kyle@redhat.com>
21730
21731 Pushed by Joel Brobecker <brobecker@adacore.com>.
21732 * gdb.arch/aarch64-atomic-inst.c: New file.
21733 * gdb.arch/aarch64-atomic-inst.exp: New file.
21734
5e45f04c
YQ
217352014-05-07 Yao Qi <yao@codesourcery.com>
21736
21737 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21738 in current context" too.
21739
c888a17d
KS
217402014-05-05 Keith Seitz <keiths@redhat.com>
21741
21742 * gdb.linespec/ls-dollar.exp: Add test for linespec
21743 file:convenience_variable.
21744
290a839c
YQ
217452014-05-05 Yao Qi <yao@codesourcery.com>
21746
21747 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21748 traceframes into tfile and ctf trace files. Read data from
21749 trace file and test collected data.
21750 (gdb_collect_locals_test): Likewise.
21751 (gdb_unavailable_registers_test): Likewise.
21752 (gdb_unavailable_floats): Likewise.
21753 (gdb_collect_globals_test): Likewise.
21754 (top-level): Append "ctf" to trace_file_targets if GDB
21755 supports.
21756
b5262cd0
YQ
217572014-05-05 Yao Qi <yao@codesourcery.com>
21758
21759 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21760 code to ...
21761 (gdb_collect_args_test_1): ... it. New proc.
21762 (gdb_collect_locals_test): Move some code to ...
21763 (gdb_collect_locals_test_1): ... it. New proc.
21764 (gdb_unavailable_registers_test): Move some code to ...
21765 (gdb_unavailable_registers_test_1): ... it. New proc.
21766 (gdb_unavailable_floats): Move some code to ...
21767 (gdb_unavailable_floats_1): ... it. New proc.
21768
30a1e6cc
SDJ
217692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21770
21771 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21772 probes to test for bitness recognition.
21773 * gdb.arch/amd64-stap-optional-prefix.exp
21774 (test_probe_value_without_reg): New procedure.
21775 Add code to test for different kinds of bitness.
21776
f33da99a
SDJ
217772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21778
21779 PR breakpoints/16889
21780 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21781 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21782
5b80f00d
PA
217832014-05-01 Pedro Alves <palves@redhat.com>
21784
21785 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21786 gdb_file_cmd if no file is specified.
21787 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21788 last_loaded_file to set the remote exec-file.
21789
f8c2a73c
PA
217902014-05-01 Pedro Alves <palves@redhat.com>
21791
21792 * boards/local-remote-host.exp: New file.
21793
be6e8ac7
PA
217942014-05-01 Pedro Alves <palves@redhat.com>
21795
21796 * boards/local-remote-host.exp: Rename to ...
21797 * boards/local-remote-host-notty.exp: ... this.
21798
cac0dc8f
JB
217992014-04-28 Joel Brobecker <brobecker@adacore.com>
21800
21801 * gdb.ada/dyn_arrayidx: New testcase.
21802
9730e6cc
YQ
218032014-04-26 Yao Qi <yao@codesourcery.com>
21804
21805 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21806 and compute the length of function main. Save it in
21807 $main_length.
21808 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21809 (top-level): Use gdb_compile to compile objects into
21810 executable and restart GDB. Remove invocation to
21811 prepare_for_testing.
21812
7ae1a6a6
PA
218132014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21814 Pedro Alves <palves@redhat.com>
21815
21816 PR server/16255
21817 * gdb.multi/multi-attach.c: New file.
21818 * gdb.multi/multi-attach.exp: New file.
21819
4082afcc
PA
218202014-04-25 Pedro Alves <palves@redhat.com>
21821
21822 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21823 user.
21824 (top level): Test that "set remote conditional-breakpoints-packet
21825 off" works as intended.
21826 * gdb.base/dprintf.exp: Test that "set remote
21827 breakpoint-commands-packet off" works as intended.
21828 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21829 New function.
21830 (top level): Call it.
21831 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21832 remote fast-tracepoints-packet off" works as intended.
21833 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21834 * lib/gdb.exp (gdb_is_target_remote): ... here.
21835
2abc3f8d
DB
218362014-04-24 David Blaikie <dblaikie@gmail.com>
21837
21838 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21839 ensure clang would not discard them.
21840 * gdb.base/gdbvars.c: Ditto.
21841 * gdb.base/memattr.c: Ditto.
21842 * gdb.base/whatis.c: Ditto.
21843 * gdb.python/py-prettyprint.c: Ditto.
21844 * gdb.trace/actions.c: Ditto.
21845 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21846 ensure clang would not discard it.
21847
bfd39632
DB
218482014-04-24 David Blaikie <dblaikie@gmail.com>
21849
21850 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21851 clang to emit the full definition of type required by the test
21852 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21853
22842ff6
DB
218542014-04-24 David Blaikie <dblaikie@gmail.com>
21855
21856 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21857 coax Clang into emitting the definition of the type.
21858 * gdb.cp/pr10728-x.h (y): Ditto.
21859 * gdb.cp/pr10728-y.cc (y): Ditto.
21860
c2e827ad
DB
218612014-04-24 David Blaikie <dblaikie@gmail.com>
21862
21863 * gdb.base/label.exp: XFAIL label related tests under Clang.
21864 * gdb.cp/cplabel.exp: Ditto.
21865 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21866 under Clang those using labels.
21867
4c2d33e7
YQ
218682014-04-25 Yao Qi <yao@codesourcery.com>
21869
21870 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21871 double_label.
21872 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21873 partial_label and double_label.
21874
56083b99
DB
218752014-04-24 David Blaikie <dblaikie@gmail.com>
21876
21877 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21878
25d4e99d
DB
218792014-04-24 David Blaikie <dblaikie@gmail.com>
21880
21881 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21882 of the function to work across GCC and Clang.
21883 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21884 pointer types (const void ** const V void **).
21885
01f9f808
MS
218862014-04-24 Michael Sturm <michael.sturm@mintel.com>
21887 Walfred Tedeschi <walfred.tedeschi@intel.com>
21888
21889 * Makefile.in (EXECUTABLES): Added i386-avx512.
21890 * gdb.arch/i386-avx512.c: New file.
21891 * gdb.arch/i386-avx512.exp: Likewise.
21892
4b48d439
KS
218932014-04-23 Keith Seitz <keiths@redhat.com>
21894
21895 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21896 (mi_make_breakpoint_table): New procedure.
21897 (mi_create_breakpoint): Use mi_make_breakpoint
21898 and return the result.
21899 (mi_make_breakpoint): New procedure.
21900 (mi_build_kv_pairs): New procedure.
21901
21902 * gdb.mi/mi-break.exp: Remove unused globals,
21903 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21904 All callers updated.
21905 * gdb.mi/mi-dprintf.exp: Use variable to track command
21906 number.
21907 Update all callers of mi_create_breakpoint and use
21908 mi_make_breakpoint_table.
21909 Remove any unused global variables.
21910 * gdb.mi/mi-nonstop.exp: Likewise.
21911 * gdb.mi/mi-nsintrall.exp: Likewise.
21912 * gdb.mi/mi-nsmoribund.exp: Likewise.
21913 * gdb.mi/mi-nsthrexec.exp: Likewise.
21914 * gdb.mi/mi-reverse.exp: Likewise.
21915 * gdb.mi/mi-simplerun.exp: Likewise.
21916 * gdb.mi/mi-stepn.exp: Likewise.
21917 * gdb.mi/mi-syn-frame.exp: Likewise.
21918 * gdb.mi/mi-until.exp: Likewise.
21919 * gdb.mi/mi-var-cp.exp: Likewise.
21920 * gdb.mi/mi-var-display.exp: Likewise.
21921 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21922 * gdb.mi/mi2-var-child.exp: Likewise.
21923 * gdb.mi/mi-vla-c99.exp: Likewise.
21924 * lib/mi-support.exp: Likewise.
21925
21926 From Ian Lance Taylor <iant@cygnus.com>:
21927 * lib/gdb.exp (parse_args): New procedure.
21928
08351840
PA
219292014-04-23 Pedro Alves <palves@redhat.com>
21930
21931 * gdb.base/break-unload-file.c: New file.
21932 * gdb.base/break-unload-file.exp: New file.
21933 * gdb.base/sym-file-lib.c (baz): New function.
21934 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21935 field.
21936 (load): Store the segment's mapped size.
21937 (unload): New function.
21938 (unload_shlib): New function.
21939 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21940 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21941 set a breakpoint at baz, and call it.
21942 * gdb.base/sym-file.exp: New tests for stale breakpoint
21943 instructions.
21944
076855f9
PA
219452014-04-23 Pedro Alves <palves@redhat.com>
21946
21947 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21948 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21949 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21950 * gdb.base/hbreak-unmapped.c: New file.
21951 * gdb.base/hbreak-unmapped.exp: New file.
21952 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21953 * lib/gdb.exp (gdb_is_target_remote): ... here.
21954
483805cf
PA
219552014-04-22 Pedro Alves <palves@redhat.com>
21956
21957 * gdb.base/consecutive-step-over.c: New file.
21958 * gdb.base/consecutive-step-over.exp: New file.
21959
06d97543
PA
219602014-04-22 Pedro Alves <palves@redhat.com>
21961
21962 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21963 instead of send_gdb/gdb_expect.
21964
b4429ea2
YQ
219652014-04-22 Yao Qi <yao@codesourcery.com>
21966
21967 * lib/trace-support.exp (generate_tracefile): New procedure.
21968 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21969 return 0.
21970 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21971 if generate_tracefile returns 1.
21972
51d48146
PA
219732014-04-18 Tom Tromey <palves@redhat.com>
21974 Pedro alves <tromey@redhat.com>
21975
21976 PR backtrace/15558
21977 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21978 with a backtrace limit.
21979 * gdb.python/py-frame-inline.exp: Test running to an inline
21980 function with a backtrace limit, and printing the newest frame.
21981 * gdb.python/py-frame-inline.c (main): Call f.
21982
bd1dce5f
MS
219832014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21984
21985 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21986
40d1a503
MS
219872014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21988
21989 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21990 Drop prefix from unsupported source file path.
21991
389b98f7
YQ
219922014-04-17 Yao Qi <yao@codesourcery.com>
21993
21994 * lib/gdb.exp (with_target_charset): New proc.
21995 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21996 with_target_charset.
21997 (test_print_strings): Likewise.
21998 (test_repeat_bytes): Likewise.
21999 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22000 for some tests.
22001
22869d73
KS
220022014-04-16 Keith Seitz <keiths@redhat.com>
22003
22004 PR gdb/15827
22005 * gdb.dwarf2/corrupt.c: New file.
22006 * gdb.dwarf2/corrupt.exp: New file.
22007
c4f87ca6
KS
220082014-04-16 Keith Seitz <keiths@redhat.com>
22009
22010 PR c++/16597
22011 * gdb.cp/namelessclass.cc: New file.
22012 * gdb.cp/namelessclass.exp: New file.
22013 * gdb.cp/namelessclass.S: New file.
22014
ab19de87
DE
220152014-04-16 Doug Evans <dje@google.com>
22016
22017 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22018 Add comment.
22019 (gdbserver_default_get_comm_port): New function.
22020 (gdbserver_start): Check if board file provided
22021 "gdbserver,get_comm_port" and use it if so.
22022 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22023 (gdb,socketport): Set to "stdio".
22024 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22025 (stdio_gdbserver_template): Delete.
22026 (${board}_get_remote_address): Update.
22027 (${board}_build_remote_cmd): Delete.
22028 (${board}_get_comm_port): New function.
22029 (${board}_spawn): Update.
22030 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22031 Delete.
22032 (${board}_get_remote_address): Update.
22033 (${board}_get_comm_port): New function.
22034
fc98a809
AB
220352014-04-16 Andrew Burgess <aburgess@broadcom.com>
22036
22037 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22038 appearing in any order.
22039
87fd9e6e
DE
220402014-04-15 Doug Evans <dje@google.com>
22041
22042 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22043 uninitialized value of "description".
22044
099fc3ea
KS
220452014-04-15 Keith Seitz <keiths@redhat.com>
22046
22047 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22048 Remove unused globals.
22049 (test_running_the_program): Likewise.
22050 (test_controlled_execution): Likewise.
22051 (test_controlling_breakpoints): Likewise.
22052 (test_program_termination): Likewise.
22053
5da151d4
KS
220542014-04-15 Keith Seitz <keiths@redhat.com>
22055
22056 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22057 unused globals.
22058 (test_rbreak_creation_and_listing): Likewise.
22059 (test_ignore_count): Likewise.
22060 (test_error): Likewise.
22061
35e5d2f0
PA
220622014-04-15 Pedro Alves <palves@redhat.com>
22063
22064 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22065 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22066 sym-file-loader.c.
22067 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22068 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22069 to sym-file-loader.c.
22070 (struct library): Forward declare.
22071 (load_shlib, lookup_function): Change prototypes.
22072 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22073 (translate_offset): Remove declarations.
22074 (get_text_addr): New declaration.
22075 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22076 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22077 sym-file-loader.h.
22078 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22079 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22080 here from sym-file-loader.h.
22081 (struct library): New structure.
22082 (load_shlib, lookup_function): Change prototypes and adjust to
22083 work with a struct library.
22084 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22085 (translate_offset): Make static.
22086 (get_text_addr): New function.
22087 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22088
eb4c1710
PA
220892014-04-15 Pedro Alves <palves@redhat.com>
22090
22091 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22092
2d1baf52
PA
220932014-04-15 Pedro Alves <palves@redhat.com>
22094
22095 * gdb.base/sym-file-loader.c: Include <limits.h>.
22096 (SELF_LINK): New define.
22097 (get_origin): New function.
22098 (load_shlib): Use it.
22099 * gdb.base/sym-file.exp: Don't early return if the target is
22100 remote. Use runto_main, and issue fail is that fails. Use
22101 gdb_load_shlibs.
22102 (shlib_name): Delete.
22103 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22104
7dd6df01
PA
221052014-04-15 Pedro Alves <palves@redhat.com>
22106
22107 * gdb.base/sym-file.exp: Remove regex characters from test
22108 message. Don't refer to breakpoint numbers in test messages.
22109
b50c8614
KS
221102014-04-14 Keith Seitz <keiths@redhat.com>
22111
22112 PR c++/16253
22113 * gdb.cp/var-tag.cc: New file.
22114 * gdb.cp/var-tag.exp: New file.
22115 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22116 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22117 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22118 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22119
3d567982
TT
221202014-04-14 Tom Tromey <tromey@redhat.com>
22121
22122 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22123 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22124 type.
22125 * gdb.cp/enum-class.exp: New file.
22126 * gdb.cp/enum-class.cc: New file.
22127
0626fc76
TT
221282014-04-14 Tom Tromey <tromey@redhat.com>
22129
22130 * gdb.dwarf2/enum-type.exp: New file.
22131
dca325b3
SA
221322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22133
22134 * gdb.mi/mi-vla-c99.exp: New file.
22135 * gdb.mi/vla.c: New file.
22136
5854b38a
SA
221372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22138
22139 * gdb.base/vla-datatypes.c: New file.
22140 * gdb.base/vla-datatypes.exp: New file.
22141
463bb957
SA
221422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22143
22144 * gdb.base/vla-ptr.c: New file.
22145 * gdb.base/vla-ptr.exp: New file.
22146
3dd170be
SA
221472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22148
22149 * gdb.dwarf2/count.exp: New file.
22150
5ecaaa66
SA
221512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22152
22153 * gdb.base/vla-sideeffect.c: New file.
22154 * gdb.base/vla-sideeffect.exp: New file.
22155
41f1ada5
DB
221562014-04-14 David Blaikie <dblaikie@gmail.com>
22157
22158 * gdb.mi/non-stop.c: Add return value for non-void function return
22159 statement.
22160 * gdb.threads/staticthreads.c: Ditto.
22161
0be03e84
DE
221622014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22163 Doug Evans <xdje42@gmail.com>
22164
22165 * gdb.guile/scm-value.c: Improve test case.
22166 * gdb.guile/scm-value.exp: Add new test.
22167
f180a1fb
DB
221682014-04-11 David Blaikie <dblaikie@gmail.com>
22169
22170 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22171 override Clang's default.
22172
6b662e19
JB
221732014-04-11 Joel Brobecker <brobecker@adacore.com>
22174
22175 Revert the following changes (regressions):
22176
22177 * gdb.base/vla-sideeffect.c: New file.
22178 * gdb.base/vla-sideeffect.exp: New file.
22179
22180 * gdb.dwarf2/count.exp: New file.
22181
22182 * gdb.base/vla-multi.c: New file.
22183 * gdb.base/vla-multi.exp: New file.
22184
22185 * gdb.base/vla-ptr.c: New file.
22186 * gdb.base/vla-ptr.exp: New file.
22187
22188 * gdb.base/vla-datatypes.c: New file.
22189 * gdb.base/vla-datatypes.exp: New file.
22190
22191 * gdb.mi/mi-vla-c99.exp: New file.
22192 * gdb.mi/vla.c: New file.
22193
245a5f0b
KS
221942014-04-11 Keith Seitz <keiths@redhat.com>
22195
22196 PR c++/16675
22197 * gdb.cp/cpsizeof.exp: New file.
22198 * gdb.cp/cpsizeof.cc: New file.
22199
58a84dcf
SA
222002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22201
191a8a90
JB
22202 * gdb.mi/mi-vla-c99.exp: New file.
22203 * gdb.mi/vla.c: New file.
58a84dcf 22204
c8655f75
SA
222052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22206
22207 * gdb.base/vla-datatypes.c: New file.
22208 * gdb.base/vla-datatypes.exp: New file.
22209
024e13b4
SA
222102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22211
22212 * gdb.base/vla-ptr.c: New file.
22213 * gdb.base/vla-ptr.exp: New file.
22214
1a237e0e
SA
222152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22216
22217 * gdb.base/vla-multi.c: New file.
22218 * gdb.base/vla-multi.exp: New file.
22219
504f3432
SA
222202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22221
22222 * gdb.dwarf2/count.exp: New file.
22223
3bce8237
SA
222242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22225
191a8a90
JB
22226 * gdb.base/vla-sideeffect.c: New file.
22227 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22228
322f9c21
YQ
222292014-04-11 Yao Qi <yao@codesourcery.com>
22230
22231 * gdb.base/completion.exp: Check file exists before running tests
22232 on file completion.
22233
d708bcd1
PA
222342014-04-10 Pedro Alves <palves@redhat.com>
22235
22236 * gdb.base/cond-eval-mode.c: New file.
22237 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22238 prepare_for_testing to build the new file. Check result of
22239 runto_main.
22240 (test_break, test_watch): New procedures.
22241 (top level): Use them.
22242
ae1d2761
PM
222432014-04-08 Pierre Muller <muller@sourceware.org>
22244
22245 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22246 Ctrl-V use for mingw hosts.
22247
7af389b8
SC
222482014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22249
22250 * gdb.python/py-value.c: Improve test case.
22251 * gdb.python/py-value.exp: Add new test.
22252
5e703181
DE
222532014-04-07 David Blaikie <dblaikie@gmail.com>
22254
22255 * lib/compiler.c: Identify the clang compiler.
22256 * lib/compiler.cc: Ditto.
22257
9810b410
YQ
222582014-04-03 Yao Qi <yao@codesourcery.com>
22259
22260 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22261
98d1b8dc
AB
222622014-04-01 Anton Blanchard <anton@samba.org>
22263
22264 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22265 messages unique.
22266
3114cea1
AB
222672014-04-01 Anton Blanchard <anton@samba.org>
22268
22269 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22270 prepare_for_testing.
22271
62f7182c
AB
222722014-04-01 Anton Blanchard <anton@samba.org>
22273
22274 * gdb.arch/ppc64-atomic-inst.c: Remove.
22275 * gdb.arch/ppc64-atomic-inst.S: New file.
22276 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22277
770e7fc7
DE
222782014-03-31 Doug Evans <dje@google.com>
22279
22280 * gdb.base/print-symbol-loading-lib.c: New file.
22281 * gdb.base/print-symbol-loading-main.c: New file.
22282 * gdb.base/print-symbol-loading.exp: New file.
22283
46e2bafa
YQ
222842014-03-31 Yao Qi <yao@codesourcery.com>
22285
22286 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22287
8776cfe9
JB
222882014-03-28 Joel Brobecker <brobecker@adacore.com>
22289
22290 * gdb.ada/mi_dyn_arr: New testcase.
22291
5d1ef361
DE
222922014-03-27 Doug Evans <dje@google.com>
22293
22294 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22295
b5bee914
YQ
222962014-03-27 Yao Qi <yao@codesourcery.com>
22297
22298 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22299 if target is nios2-*-*.
22300
0d4d0e77
YQ
223012014-03-26 Yao Qi <yao@codesourcery.com>
22302
22303 * lib/gdb.exp (readline_is_used): New proc.
22304 * gdb.base/completion.exp: Move tests on command complete up.
22305 Skip the rest of tests if readline is not used.
22306 * gdb.ada/complete.exp: Skp the test if readline is not
22307 used.
22308 * gdb.base/filesym.exp: Likewise.
22309 * gdb.base/macscp.exp: Likewise.
22310 * gdb.base/readline-ask.exp: Likewise.
22311 * gdb.base/readline.exp: Likewise.
22312 * gdb.python/py-cmd.exp: Likewise.
22313 * gdb.trace/tfile.exp: Likewise.
22314
29361eee
YQ
223152014-03-26 Yao Qi <yao@codesourcery.com>
22316
22317 * gdb.base/macscp.exp: Fix code format issues.
22318
bc9a5525
UW
223192014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22320
22321 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22322 * gdb.asm/powerpc64le.inc: New file.
22323
d3839ede
PA
223242014-03-25 Pedro Alves <palves@redhat.com>
22325 Doug Evans <dje@google.com>
22326
22327 * gdb.base/source-execution.c: New file.
22328 * gdb.base/source-execution.exp: New file.
22329 * gdb.base/source-execution.gdb: New file.
22330
01672a57
DE
223312014-03-24 Doug Evans <dje@google.com>
22332
22333 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22334 using fission.
22335
88bbeca9
HZ
223362014-03-24 Hui Zhu <hui@codesourcery.com>
22337 Pedro Alves <palves@redhat.com>
22338
22339 PR breakpoints/16101
22340 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22341 test pass/fail messages. Detect missing support for dprintf when
22342 breakpoints are actually inserted.
22343 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22344 breakpoints are actually inserted.
22345 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22346 fails.
22347
d2348791
JK
223482014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22349
22350 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22351
feef67ab
DE
223522014-03-22 Doug Evans <xdje42@gmail.com>
22353
22354 * gdb.python/python.exp (python not supported): Verify multi-line
22355 python command issues an error.
25d743f9 22356 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22357 guile command issues an error.
feef67ab 22358
ecebef6a
MR
223592014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22360
22361 * gdb.threads/thread-specific.exp: Handle the lack of usable
22362 $this_breakpoint and $this_thread.
22363
ccdd1909
HZ
223642014-03-21 Hui Zhu <hui@codesourcery.com>
22365
22366 * gdb.base/attach.exp (do_command_attach_tests): New.
22367
beb460e8
PA
223682014-03-20 Tom Tromey <tromey@redhat.com>
22369 Pedro Alves <palves@redhat.com>
22370
22371 PR cli/15718
22372 * gdb.base/condbreak-call-false.c: New file.
22373 * gdb.base/condbreak-call-false.exp: New file.
22374
40acf43a
PA
223752014-03-20 Pedro Alves <palves@redhat.com>
22376
22377 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22378 Delete.
22379 (block_signals, unblock_signals): Delete.
22380 (child_function_2, main): Remove references to deleted variable
22381 and functions.
22382
9f5e1e02
PA
223832014-03-20 Pedro Alves <palves@redhat.com>
22384
22385 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22386 Use pthread_kill to signal thread 2.
22387 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22388 Adjust to make the test send itself a signal rather than using the
22389 host's "kill" command.
22390
99619bea
PA
223912014-03-20 Pedro Alves <palves@redhat.com>
22392
22393 * gdb.threads/multiple-step-overs.c: New file.
22394 * gdb.threads/multiple-step-overs.exp: New file.
22395 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22396 Adjust expected infrun debug output.
22397
2adfaa28
PA
223982014-03-20 Pedro Alves <palves@redhat.com>
22399
22400 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22401 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22402
31e77af2
PA
224032014-03-20 Pedro Alves <palves@redhat.com>
22404
22405 PR breakpoints/7143
22406 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22407 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22408 of gdb_test_multiple.
22409 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22410 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22411
b9f437de
PA
224122014-03-20 Pedro Alves <palves@redhat.com>
22413
22414 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22415 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22416
05adc73e
PA
224172014-03-19 Pedro Alves <palves@redhat.com>
22418
22419 * gdb.base/async.exp: Remove early return.
22420
6048b950
PA
224212014-03-19 Pedro Alves <palves@redhat.com>
22422
22423 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22424
8bcfb00a
PA
224252014-03-19 Pedro Alves <palves@redhat.com>
22426
22427 * gdb.base/async.exp (test_background): Expect \r\n after
22428 "completed." in the fail pattern.
22429
884e37dc
PA
224302014-03-19 Pedro Alves <palves@redhat.com>
22431
22432 * gdb.base/async.exp (test_background): New procedure.
22433 Use it for all background execution command tests.
22434
148e57e2
PA
224352014-03-19 Pedro Alves <palves@redhat.com>
22436
22437 * gdb.base/async.exp: Use prepare_for_testing.
22438
f48088c7
PA
224392014-03-19 Pedro Alves <palves@redhat.com>
22440
22441 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22442 the same line.
22443
e2f6c966
PA
224442014-03-19 Pedro Alves <palves@redhat.com>
22445
22446 * gdb.base/async.c (main): Add "jump here" and "until here" line
22447 marker comments.
22448 * gdb.base/async.exp (jump_here): New global.
22449 (jump& test): Use it.
22450 (until_here): New global.
22451 (until& test): Use it.
22452
c30568d4
PA
224532014-03-19 Pedro Alves <palves@redhat.com>
22454
22455 * gdb.base/async.exp: Don't frob gdb_protocol.
22456
0172b6a7
DE
224572014-03-18 Doug Evans <xdje42@gmail.com>
22458
22459 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22460 Fix spelling of exec-done-display.
22461
06c868a8
JK
224622014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22463
22464 PR gdb/15358
22465 * gdb.base/gdb-sigterm.c: New file.
22466 * gdb.base/gdb-sigterm.exp: New file.
22467
0c7e1a46
PA
224682014-03-18 Pedro Alves <palves@redhat.com>
22469
22470 PR gdb/13860
22471 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22472 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22473 solib-event.
22474
f7c77d93
JB
224752014-03-17 Joel Brobecker <brobecker@adacore.com>
22476
22477 * gdb.ada/pckd_arr_ren: New testcase.
22478
5a1e8c7a
DE
224792014-03-13 Doug Evans <xdje42@gmail.com>
22480
22481 PR guile/16612
22482 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22483 collect after discarding symbols.
22484
350e1a76
DE
224852014-03-13 Ludovic Courtès <ludo@gnu.org>
22486 Doug Evans <xdje42@gmail.com>
22487
22488 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22489 to history survives a gc.
22490
a69900ae
PA
224912014-03-13 Pedro Alves <palves@redhat.com>
22492
22493 * gdb.base/default.exp: Don't test "target procfs".
22494
5db9f0bd
PA
224952014-03-13 Pedro Alves <palves@redhat.com>
22496
22497 * gdb.base/default.exp: Update "target child" and "target procfs"
22498 tests to not expect "Unix".
22499
b3ccfe11
TT
225002014-03-12 Tom Tromey <tromey@redhat.com>
22501
22502 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22503 New procs. Add target-async tests.
22504 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22505 Add target-async tests.
22506
646f4417
AA
225072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22508
22509 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22510 'func_start' and 'func_end' for the beginning and end of the
22511 function code, respectively.
22512 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22513 'func_end' instead of 'func' and 'main'.
22514
288c211f
AA
225152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22516
22517 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22518 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22519 generate the debug info assembler source.
22520
e0c0f156
AA
225212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22522
22523 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22524 * gdb.dwarf2/arr-subrange.exp: Likewise.
22525 * gdb.dwarf2/dwz.exp: Likewise.
22526 * gdb.dwarf2/method-ptr.exp: Likewise.
22527 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22528 * gdb.dwarf2/subrange.exp: Likewise.
22529 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22530 * gdb.dwarf2/implptrpiece.exp: Likewise.
22531 * gdb.dwarf2/nostaticblock.exp: Likewise.
22532
0e5c4555
AA
225332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22534
22535 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22536 directory to absolute path name arguments.
22537
5ec18f2b
JG
225382014-03-10 Joel Brobecker <brobecker@adacore.com>
22539
22540 * gdb.ada/tagged_access: New testcase.
22541
847fc4f2
MM
225422014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22543
22544 * gdb.btrace/data.exp: Update expected output.
22545
cc3da688
YQ
225462014-03-06 Yao Qi <yao@codesourcery.com>
22547
22548 * gdb.trace/pr16508.exp: New file.
22549
0f26cec1
PA
225502014-03-05 Pedro Alves <palves@redhat.com>
22551
22552 PR gdb/16575
22553 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22554 procedure.
22555 (top level): Adjust to use it. Add tests that exercise breakpoint
22556 interaction with the code-cache.
22557
7a5a839f
LC
225582014-02-26 Ludovic Courtès <ludo@gnu.org>
22559
22560 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22561 test for 'history-append!'.
22562
31aa7e4e
JB
225632014-02-26 Joel Brobecker <brobecker@adacore.com>
22564
22565 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22566 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22567 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22568 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22569 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22570 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22571
1b588015
JB
225722014-02-26 Joel Brobecker <brobecker@adacore.com>
22573
22574 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22575 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22576 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22577
55426c9d
JB
225782014-02-26 Joel Brobecker <brobecker@adacore.com>
22579
22580 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22581
dc53a7ad
JB
225822014-02-26 Joel Brobecker <brobecker@adacore.com>
22583
22584 * gdb.dwarf2/arr-stride.c: New file.
22585 * gdb.dwarf2/arr-stride.exp: New file.
22586
12ab52e9
PA
225872014-02-26 Pedro Alves <palves@redhat.com>
22588
22589 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22590 that won't ever trigger. Make sure that GDB reports the correct
22591 breakpoint that caused the stop.
22592
849c862e
JK
225932014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22594
22595 PR gdb/16626
22596 * gdb.base/auto-load-script: New file.
22597 * gdb.base/auto-load.c: New file.
22598 * gdb.base/auto-load.exp: New file.
22599
71b7d793
JK
22600 PR gdb/16626
22601 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22602
e2f0d509
JK
226032014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22604
22605 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22606 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22607
50cc37c8
DE
226082014-02-24 Doug Evans <dje@google.com>
22609
22610 * lib/gdb.exp (run_on_host): Log error output if program fails.
22611
ea4758f2
PA
226122014-02-21 Pedro Alves <palves@redhat.com>
22613
22614 * gdb.threads/step-after-sr-lock.c: Rename to ...
22615 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22616 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22617 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22618 ... this.
22619
d7b30f67
SDJ
226202014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22621
22622 PR tdep/16397
22623 * gdb.arch/amd64-stap-special-operands.exp: New file.
22624 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22625 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22626 * gdb.arch/amd64-stap-triplet.S: Likewise.
22627 * gdb.arch/amd64-stap-triplet.c: Likewise.
22628
83deb43f
JB
226292014-02-20 Joel Brobecker <brobecker@adacore.com>
22630
22631 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22632 in .section pseudo-op.
22633
adde2bff
DE
226342014-02-20 lin zuojian <manjian2006@gmail.com>
22635 Joel Brobecker <brobecker@adacore.com>
22636 Doug Evans <xdje42@gmail.com>
22637
22638 PR symtab/16581
22639 * gdb.dwarf2/dw2-icycle.S: New file.
22640 * gdb.dwarf2/dw2-icycle.c: New file.
22641 * gdb.dwarf2/dw2-icycle.exp: New file.
22642
f7bd0f78
SC
226432014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22644
22645 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22646 operations on gdb.Value objects.
22647 * gdb.python/py-value-cc.exp: Add new test to test operations on
22648 gdb.Value objects.
22649
c17ef0d5
DE
226502014-02-18 Doug Evans <dje@google.com>
22651
22652 * Makefile.in (TESTS): New variable.
22653 (expanded_tests, expanded_tests_or_none): New variables
22654 (check-single): Pass $(expanded_tests_or_none) to runtest.
22655 (check-parallel): Only run tests in $(TESTS) if non-empty.
22656 (check/no-matching-tests-found): New rule.
22657 * README: Document TESTS makefile variable.
22658
5dd3176f
DE
226592014-02-18 Doug Evans <dje@google.com>
22660
22661 * Makefile.in (check-parallel): rm -rf outputs temp.
22662
0b10be4f
JK
226632014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22664
22665 Fix "ERROR: no fileid for" in the testsuite.
22666 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22667
85f224e7
DE
226682014-02-12 Doug Evans <dje@google.com>
22669
22670 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22671 (MISCELLANEOUS): New variable.
22672 (clean): rm -rf $(MISCELLANEOUS).
22673 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22674 dwp live in the same directory as symlinks, with each symlink pointed
22675 to a differently named file in a different directory.
22676
149b30ff
DE
226772014-02-11 Doug Evans <dje@google.com>
22678
22679 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22680 of Tcl file commands.
22681
1dfdac32
MK
226822014-02-10 Mark Kettenis <kettenis@gnu.org>
22683
22684 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22685 "kill -SIGUSR1 -1".
22686
aa4fb036
JB
226872014-02-10 Joel Brobecker <brobecker@adacore.com>
22688
22689 * gdb.ada/tick_length_array_enum_idx: New testcase.
22690
ed3ef339
DE
226912014-02-10 Doug Evans <xdje42@gmail.com>
22692
22693 * configure.ac (AC_OUTPUT): Add gdb.guile.
22694 * configure: Regenerate.
22695 * lib/gdb-guile.exp: New file.
22696 * lib/gdb.exp (get_target_charset): New function.
22697 * gdb.base/help.exp: Update expected output from "apropos apropos".
22698 * gdb.guile/Makefile.in: New file.
22699 * gdb.guile/guile.exp: New file.
22700 * gdb.guile/scm-arch.c: New file.
22701 * gdb.guile/scm-arch.exp: New file.
22702 * gdb.guile/scm-block.c: New file.
22703 * gdb.guile/scm-block.exp: New file.
22704 * gdb.guile/scm-breakpoint.c: New file.
22705 * gdb.guile/scm-breakpoint.exp: New file.
22706 * gdb.guile/scm-disasm.c: New file.
22707 * gdb.guile/scm-disasm.exp: New file.
22708 * gdb.guile/scm-equal.c: New file.
22709 * gdb.guile/scm-equal.exp: New file.
22710 * gdb.guile/scm-error.exp: New file.
22711 * gdb.guile/scm-error.scm: New file.
22712 * gdb.guile/scm-frame-args.c: New file.
22713 * gdb.guile/scm-frame-args.exp: New file.
22714 * gdb.guile/scm-frame-args.scm: New file.
22715 * gdb.guile/scm-frame-inline.c: New file.
22716 * gdb.guile/scm-frame-inline.exp: New file.
22717 * gdb.guile/scm-frame.c: New file.
22718 * gdb.guile/scm-frame.exp: New file.
22719 * gdb.guile/scm-generics.exp: New file.
22720 * gdb.guile/scm-gsmob.exp: New file.
22721 * gdb.guile/scm-iterator.c: New file.
22722 * gdb.guile/scm-iterator.exp: New file.
22723 * gdb.guile/scm-math.c: New file.
22724 * gdb.guile/scm-math.exp: New file.
22725 * gdb.guile/scm-objfile-script-gdb.in: New file.
22726 * gdb.guile/scm-objfile-script.c: New file.
22727 * gdb.guile/scm-objfile-script.exp: New file.
22728 * gdb.guile/scm-objfile.c: New file.
22729 * gdb.guile/scm-objfile.exp: New file.
22730 * gdb.guile/scm-ports.exp: New file.
22731 * gdb.guile/scm-pretty-print.c: New file.
22732 * gdb.guile/scm-pretty-print.exp: New file.
22733 * gdb.guile/scm-pretty-print.scm: New file.
22734 * gdb.guile/scm-section-script.c: New file.
22735 * gdb.guile/scm-section-script.exp: New file.
22736 * gdb.guile/scm-section-script.scm: New file.
22737 * gdb.guile/scm-symbol.c: New file.
22738 * gdb.guile/scm-symbol.exp: New file.
22739 * gdb.guile/scm-symtab-2.c: New file.
22740 * gdb.guile/scm-symtab.c: New file.
22741 * gdb.guile/scm-symtab.exp: New file.
22742 * gdb.guile/scm-type.c: New file.
22743 * gdb.guile/scm-type.exp: New file.
22744 * gdb.guile/scm-value-cc.cc: New file.
22745 * gdb.guile/scm-value-cc.exp: New file.
22746 * gdb.guile/scm-value.c: New file.
22747 * gdb.guile/scm-value.exp: New file.
22748 * gdb.guile/source2.scm: New file.
22749 * gdb.guile/types-module.cc: New file.
22750 * gdb.guile/types-module.exp: New file.
22751
7026a7c1
YQ
227522014-02-10 Yao Qi <yao@codesourcery.com>
22753
22754 PR testsuite/16543
22755 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22756 * configure: Regenerated.
22757 * Makefile.in: New file.
22758
6c466447
AS
227592014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22760
22761 * gdb.python/py-framefilter.exp: Fix typo.
22762
6e854735
YQ
227632014-02-08 Yao Qi <yao@codesourcery.com>
22764
22765 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22766 that no =breakpoint-modified is emitted when breakpoints are
22767 modified through MI commands.
22768
d137e6dc
PA
227692014-02-07 Pedro Alves <pedro@codesourcery.com>
22770 Pedro Alves <palves@redhat.com>
22771
22772 * gdb.threads/step-after-sr-lock.c: New file.
22773 * gdb.threads/step-after-sr-lock.exp: New file.
22774
b5ee5a50
PA
227752014-02-07 Pedro Alves <palves@redhat.com>
22776
22777 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22778
3c77faf3
JK
227792014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22780
22781 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22782 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22783
6dddc817
DE
227842014-02-06 Doug Evans <xdje42@gmail.com>
22785
22786 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22787 output.
22788
22789 * gdb.gdb/python-interrupts.exp: New file.
22790
de7b2893
YQ
227912014-02-05 Yao Qi <yao@codesourcery.com>
22792
22793 * gdb.trace/report.exp (use_collected_data): Test the output
22794 of "info threads" and "info inferiors".
22795
66d032ac
YQ
227962014-02-05 Yao Qi <yao@codesourcery.com>
22797
22798 Revert this patch:
22799
22800 2013-05-24 Yao Qi <yao@codesourcery.com>
22801
22802 * gdb.trace/tfile.exp: Test inferior and thread.
22803
591a12a1
UW
228042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22805
22806 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22807 on a function.
22808 * gdb.base/step-bt.c: Call hello via function pointer to make
22809 sure its first instruction is executed on powerpc64le-linux.
22810
0ff3e01f
UW
228112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22812
22813 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22814
084ee545
UW
228152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22816
22817 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22818 of the test patterns for use on little-endian systems.
22819
6ed14ff3
UW
228202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22821
22822 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22823 (decimal_vector): Fix for little-endian.
22824
401e27fd
JM
228252014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22826
22827 * gdb.arch/sparc-sysstep.exp: New file.
22828 * gdb.arch/sparc-sysstep.c: Likewise.
22829
22830 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22831
8b924729
EBM
228322014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22833
22834 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22835
fb151210
JB
228362014-01-23 Tom Tromey <tromey@redhat.com>
22837
22838 * gdb.ada/array_char_idx: New testcase.
22839
0740f8d8
TT
228402014-01-23 Tom Tromey <tromey@redhat.com>
22841
22842 PR python/16487:
22843 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22844 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22845 classes.
22846
21909fa1
TT
228472014-01-23 Tom Tromey <tromey@redhat.com>
22848
22849 PR python/16491:
22850 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22851 string from an inferior frame.
22852 * gdb.python/py-framefilter-mi.exp: Update.
22853
87ce2a04
DE
228542014-01-22 Doug Evans <dje@google.com>
22855
22856 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22857
237b092b
AA
228582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22859
22860 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22861
d674a709
AA
228622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22863
22864 * gdb.trace/entry-values.exp: Remove excess space character from
22865 regex patterns. Handle s390 call instruction.
22866
20fa3390
AA
228672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22868
22869 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22870 define "*_start" label. Make "name" static.
22871 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22872 ${name} by references to ${name}_start.
22873
78466714
AA
228742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22875
22876 * gdb.base/info-macros.exp: Remove "debug" from the compile
22877 options.
22878
ec9f644a
IB
228792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22880
22881 * gdb.dlang/demangle.exp: New file.
22882
94b1b47e
IB
228832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22884
22885 * gdb.dlang/primitive-types.exp: New file.
22886
7f420862
IB
228872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22888
22889 * configure.ac: Create gdb.dlang/Makefile.
22890 * configure: Regenerate.
22891 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22892 * gdb.dlang/Makefile.in: New file.
22893 * lib/d-support.exp: New file.
22894 * lib/gdb.exp (skip_d_tests): New proc.
22895
52834460
MM
228962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22897
22898 * gdb.btrace/delta.exp: Check reverse stepi.
22899 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22900 * gdb.btrace/finish.exp: New.
22901 * gdb.btrace/next.exp: New.
22902 * gdb.btrace/nexti.exp: New.
22903 * gdb.btrace/record_goto.c: Add comments.
22904 * gdb.btrace/step.exp: New.
22905 * gdb.btrace/stepi.exp: New.
22906 * gdb.btrace/multi-thread-step.c: New.
22907 * gdb.btrace/multi-thread-step.exp: New.
22908 * gdb.btrace/rn-dl-bind.c: New.
22909 * gdb.btrace/rn-dl-bind.exp: New.
22910 * gdb.btrace/data.c: New.
22911 * gdb.btrace/data.exp: New.
22912 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22913
6e07b1d2
MM
229142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22915
22916 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22917 * gdb.btrace/exception.exp: Update.
22918 * gdb.btrace/instruction_history.exp: Update.
22919 * gdb.btrace/record_goto.exp: Update.
22920 * gdb.btrace/tailcall.exp: Update.
22921 * gdb.btrace/unknown_functions.exp: Update.
22922 * gdb.btrace/delta.exp: New.
22923
0b722aec
MM
229242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22925
22926 * gdb.btrace/record_goto.exp: Add backtrace test.
22927 * gdb.btrace/tailcall.exp: Add backtrace test.
22928
066ce621
MM
229292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22930
22931 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22932 * gdb.btrace/record_goto.c: New.
22933 * gdb.btrace/record_goto.exp: New.
22934 * gdb.btrace/x86-record_goto.S: New.
22935
0688d04e
MM
229362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22937
22938 * gdb.btrace/function_call_history.exp: Update tests.
22939 * gdb.btrace/instruction_history.exp: Update tests.
22940
8710b709
MM
229412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22942
22943 * gdb.btrace/function_call_history.exp: Fix expected field
22944 order for "record function-call-history".
22945 Add new tests for "record function-call-history /c".
22946 * gdb.btrace/exception.cc: New.
22947 * gdb.btrace/exception.exp: New.
22948 * gdb.btrace/tailcall.exp: New.
22949 * gdb.btrace/x86-tailcall.S: New.
22950 * gdb.btrace/x86-tailcall.c: New.
22951 * gdb.btrace/unknown_functions.c: New.
22952 * gdb.btrace/unknown_functions.exp: New.
22953 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22954
5de9129b
MM
229552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22956
22957 * gdb.btrace/instruction_history.exp: Update.
22958 * gdb.btrace/function_call_history.exp: Update.
22959
23a7fe75
MM
229602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22961
22962 * gdb.btrace/function_call_history.exp: Fix expected function
22963 trace.
22964 * gdb.btrace/instruction_history.exp: Initialize traced.
22965 Remove traced_functions.
22966
724c7dd8
MM
229672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22968
22969 * gdb.btrace/function_call_history.exp: Update
22970 * gdb.btrace/instruction_history.exp: Update.
22971
6d78d93b
MM
229722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22973
22974 * gdb.btrace/enable.exp: Update expected text.
22975
93a360cc
OJ
229762014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22977
22978 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22979 bytes.
22980
3772b53f
MR
229812014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22982
22983 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22984
596662fa
OJ
229852014-01-15 Omair Javaid <omair.javaid@linaro.org>
22986
22987 * lib/gdb.exp (supports_process_record): Return true for
22988 arm*-linux*. (supports_reverse): Likewise.
22989
b5b08fb4
SC
229902014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22991
22992 PR python/15464
22993 PR python/16113
22994 * gdb.python/py-type.c: Enhance test case.
22995 * gdb.python/py-value-cc.cc: Likewise
22996 * gdb.python/py-type.exp: Add new tests.
22997 * gdb.python/py-value-cc.exp: Likewise
22998
52d7fb13
AA
229992014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23000 Pedro Alves <palves@redhat.com>
23001
23002 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23003 Make "name" extern.
23004 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23005 references to ${name}_start by references to ${name}.
23006
a2cd8cfe
JB
230072014-01-10 Joel Brobecker <brobecker@adacore.com>
23008
23009 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23010
4e23fced
JB
230112014-01-10 Joel Brobecker <brobecker@adacore.com>
23012
23013 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23014
c6a9e42c
PA
230152014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23016 Pedro Alves <palves@redhat.com>
23017
23018 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23019 mi_gdb_target_load.
c6a9e42c 23020
b7ea362b
PA
230212014-01-08 Pedro Alves <palves@redhat.com>
23022
23023 * gdb.threads/reconnect-signal.c: New file.
23024 * gdb.threads/reconnect-signal.exp: New file.
23025
5e3f4fab
EBM
230262014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23027
23028 * gdb.base/source-dir.exp: New file.
23029
79301218
JB
230302014-01-07 Joel Brobecker <brobecker@adacore.com>
23031
23032 * gdb.ada/mi_interface: New testcase.
23033
8e355c5d
JB
230342014-01-07 Joel Brobecker <brobecker@adacore.com>
23035
23036 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23037 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23038 gdb.ada/pp-rec-component/pck.ads: New files.
23039
c0d48811
JB
230402014-01-07 Joel Brobecker <brobecker@adacore.com>
23041
23042 * gdb.python/py-pp-integral.c: New file.
23043 * gdb.python/py-pp-integral.py: New file.
23044 * gdb.python/py-pp-integral.exp: New file.
23045
17b609c3 23046For older changes see ChangeLog-1993-2013.
c906108c 23047\f
8d8cb839
EZ
23048;; Local Variables:
23049;; mode: change-log
23050;; left-margin: 8
23051;; fill-column: 74
23052;; version-control: never
23053;; End:
902f2ccb 23054
3666a048 23055 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23056 Copying and distribution of this file, with or without modification,
23057 are permitted provided the copyright notice and this notice are preserved.