gdb/testsuite: make test names unique in gdb.python/py-mi.exp
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
4 unique.
5
6 2021-03-09 Tom Tromey <tromey@adacore.com>
7
8 * gdb.base/cast-call.exp: New file.
9 * gdb.base/cast-call.c: New file.
10
11 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * gdb.gdb/python-helper.exp: New file.
14
15 2020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
16
17 * gdb.fortran/intrinsics.exp: Add LOC tests.
18
19 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
20
21 * gdb.fortran/shape.exp: New file.
22 * gdb.fortran/shape.f90: New file.
23
24 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * gdb.fortran/size.exp: New file.
27 * gdb.fortran/size.f90: New file.
28
29 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
30
31 * gdb.fortran/rank.exp: New file.
32 * gdb.fortran/rank.f90: New file.
33
34 2021-03-08 Tom Tromey <tom@tromey.com>
35
36 * gdb.fortran/debug-expr.exp: Update tests.
37
38 2021-03-08 Tom Tromey <tom@tromey.com>
39
40 * gdb.base/debug-expr.exp: Update expected dump output.
41
42 2021-03-06 Tom Tromey <tom@tromey.com>
43
44 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
45 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
46 * gdb.dwarf2/dwznolink.exp: New file.
47
48 2021-03-05 Mark Wielaard <mark@klomp.org>
49
50 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
51
52 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
53
54 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
55
56 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
57
58 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
59
60 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
61
62 * gdb.btrace/non-stop.exp: Adjust expected source lines.
63
64 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
65
66 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
67
68 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
69
70 * gdb.btrace/exception.cc (main): Update test source.
71 * gdb.btrace/exception.exp: Update patterns.
72 * gdb.btrace/function_call_history.exp: Likewise.
73
74 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
75
76 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
77
78 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
79
80 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
81 reverse-continue to breakpoint.
82
83 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
84
85 * gdb.btrace/delta.exp: Remove instruction-history and
86 function-call-history checks.
87
88 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
89
90 * README (Note): Add nopie_ldflag.
91 * lib/gdb.exp (gdb_compile): Extend nopie handling.
92
93 2021-03-02 Tom Tromey <tromey@adacore.com>
94
95 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
96 encodings.
97
98 2021-02-27 Lancelot Six <lsix@lancelotix.com>
99
100 PR gdb/27393
101 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
102
103
104 2021-02-26 Tom Tromey <tom@tromey.com>
105
106 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
107
108 2021-02-26 Jan Vrany <jan.vrany@labware.com>
109
110 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
111 Remove trailing \n from expected output.
112
113 2021-02-26 Markus Metzger <markus.t.metzger@intel.com>
114
115 * lib/gdb.exp (use_gdb_stub): Extend comment.
116
117 2021-02-25 Jan Matyas <jmatyas@codasip.com>
118
119 PR gdb/26819
120 * gdb.server/stop-reply-no-thread.exp: Add two test
121 scenarios that cover remote targets which do not have
122 the concept of threads.
123
124 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
127
128 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 PR fortran/26155
131 * gdb.fortran/call-no-debug-func.f90: New file.
132 * gdb.fortran/call-no-debug-prog.f90: New file.
133 * gdb.fortran/call-no-debug.exp: New file.
134
135 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.fortran/associated.exp: New file.
138 * gdb.fortran/associated.f90: New file.
139
140 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
143
144 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * gdb.base/sect-cmd.exp: Update expected results.
147
148 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
151 techniques. Enable the test for all targets.
152
153 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.base/maint-info-sections.exp: Add new tests.
156 (check_maint_info_target_sections_output): New proc.
157
158 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
159
160 * gdb.arch/riscv-default-tdesc.exp: New file.
161
162 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
165
166 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * gdb.arch/i386-biarch-core.exp: Add target check.
169
170 2021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
171
172 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
173
174 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * gdb.fortran/allocated.exp: New file.
177 * gdb.fortran/allocated.f90: New file.
178
179 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.fortran/lbound-ubound.exp: Remove old comment.
182
183 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
184
185 * gdb.base/maint-info-sections.exp: Update expected output, and
186 add additional tests. Again.
187
188 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.base/maint-info-sections.exp: Update expected output, and
191 add additional tests.
192
193 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * gdb.base/maint-info-sections.exp: New file, content is moved
196 from gdb.base/maint.exp and cleaned up to use latest testsuite
197 techniques.
198 * gdb.base/maint.exp: Tests moved out to
199 gdb.base/maint-info-sections.exp.
200
201 2021-02-10 Simon Marchi <simon.marchi@efficios.com>
202
203 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
204 GDBFLAGS.
205
206 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.fortran/lbound-ubound.F90: New file.
209 * gdb.fortran/lbound-ubound.exp: New file.
210
211 2021-02-10 Tom de Vries <tdevries@suse.de>
212
213 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
214 "Restore saved setting of complaints".
215
216 2021-02-09 Tom de Vries <tdevries@suse.de>
217
218 PR symtab/27341
219 * lib/gdb.exp (with_complaints): New proc, factored out of ...
220 (gdb_load_no_complaints): ... here.
221 * gdb.fortran/function-calls.exp: Add test-case.
222
223 2021-02-09 Abid Qadeer <abidh@codesourcery.com>
224
225 * gdb.threads/signal-command-handle-nopass.exp: Call
226 'standard_testfile' before using 'testfile'.
227 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
228 * gdb.threads/signal-delivered-right-thread.exp: Likewise
229 * gdb.threads/signal-sigtrap.exp: Likewise
230
231 2021-02-08 Luis Machado <luis.machado@linaro.org>
232
233 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
234
235 2021-02-08 Tom de Vries <tdevries@suse.de>
236
237 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
238
239 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
240
241 * gdb.python/tui-window-disabled.c: New file.
242 * gdb.python/tui-window-disabled.exp: New file.
243 * gdb.python/tui-window-disabled.py: New file.
244
245 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.python/tui-window.exp: Add new tests.
248 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
249 TestWindow object into global the_window.
250 <remote_title>: New method.
251 (delete_window_title): New function.
252
253 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
254
255 * gdb.tui/winheight.exp: Add more tests.
256
257 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
258
259 * gdb.python/py-framefilter.exp: Update expected results.
260 * gdb.python/python.exp: Update expected results.
261
262 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
265 about bug in GDB, update expected results, and add more tests.
266
267 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.tui/scroll.exp: New file.
270 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
271 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
272 remaining lines up.
273 (Term::check_region_contents): New proc.
274 (Term::check_box_contents): Use check_region_contents.
275
276 2021-02-06 Tom de Vries <tdevries@suse.de>
277
278 PR testsuite/26922
279 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
280 scrolling.
281
282 2021-02-05 Tom de Vries <tdevries@suse.de>
283
284 PR breakpoints/27313
285 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
286 rejected.
287
288 2021-02-05 Tom de Vries <tdevries@suse.de>
289
290 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
291 * gdb.fortran/mixed-lang-stack.exp: Same.
292
293 2021-02-05 Tom de Vries <tdevries@suse.de>
294
295 PR exp/27265
296 * gdb.base/complex-parts.exp: Add tests.
297
298 2021-02-05 Tom de Vries <tdevries@suse.de>
299
300 PR symtab/27307
301 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
302
303 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
304
305 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
306
307 2021-02-03 Pedro Alves <pedro@palves.net>
308
309 * gdb.threads/detach-step-over.c: New file.
310 * gdb.threads/detach-step-over.exp: New file.
311
312 2021-02-03 Pedro Alves <pedro@palves.net>
313
314 * gdb.threads/attach-non-stop.c: New file.
315 * gdb.threads/attach-non-stop.exp: New file.
316
317 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
318
319 * gdb.base/inferior-noarg.c: New test.
320 * gdb.base/inferior-noarg.exp: New test.
321
322 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
323
324 * gdb.base/scope.exp: Use proc_with_prefix.
325
326 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
327
328 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
329 table proc.
330 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
331 .debug_rnglists table without offset array.
332 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
333 .debug_loclists table without offset array.
334
335 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
336
337 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
338 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
339 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
340 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
341 attribute
342
343 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
344
345 PR gdb/26813
346 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
347 (loclists): New proc.
348 * gdb.dwarf2/loclists-multiple-cus.c: New.
349 * gdb.dwarf2/loclists-multiple-cus.exp: New.
350 * gdb.dwarf2/loclists-sec-offset.c: New.
351 * gdb.dwarf2/loclists-sec-offset.exp: New.
352
353 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
354
355 * lib/dwarf.exp (_location): Add parameters.
356 (_handle_DW_FORM): Adjust.
357
358 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
359
360 PR gdb/26813
361 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
362 (cu): Generate header for DWARF 5.
363 (rnglists): New proc.
364 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
365 * gdb.dwarf2/rnglists-sec-offset.exp: New.
366
367 2021-02-02 Tom de Vries <tdevries@suse.de>
368
369 PR symtab/24620
370 * gdb.dwarf2/fission-reread.exp: Add test-case.
371
372 2021-02-01 Tom de Vries <tdevries@suse.de>
373
374 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
375 * gdb.dwarf2/fission-loclists-pie.S: Same.
376 * gdb.dwarf2/fission-loclists.S: Same.
377 * gdb.dwarf2/fission-multi-cu.S: Same.
378 * gdb.dwarf2/fission-reread.S: Same.
379 * gdb.dwarf2/fission-base.exp: Use DWO.
380 * gdb.dwarf2/fission-loclists-pie.exp: Same.
381 * gdb.dwarf2/fission-loclists.exp: Same.
382 * gdb.dwarf2/fission-multi-cu.exp: Same.
383 * gdb.dwarf2/fission-reread.exp: Same.
384
385 2021-01-29 Tom de Vries <tdevries@suse.de>
386
387 PR breakpoints/26063
388 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
389 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
390
391 2021-01-29 Tom de Vries <tdevries@suse.de>
392
393 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
394
395 2021-01-28 Tom de Vries <tdevries@suse.de>
396
397 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
398 in the backtrace, and use that in the rest of the test instead of
399 hardcoded constant 3. Use "frame" instead of "up" for robustness.
400
401 2021-01-28 Tom de Vries <tdevries@suse.de>
402
403 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
404 * gdb.arch/i386-sse-stack-align.c: Same.
405 * gdb.arch/i386-sse-stack-align.exp: Same.
406
407 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
410
411 2021-01-28 Tom de Vries <tdevries@suse.de>
412
413 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
414
415 2021-01-28 Tom de Vries <tdevries@suse.de>
416
417 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
418 "maint info line-table". Make PASS pattern more specific. Make
419 FAIL pattern work for -m32.
420
421 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
422
423 PR gdb/27133
424 * gdb.base/ui-redirect.exp: Add test case that ensures that
425 redirecting both logging and debug does not cause gdb to crash.
426
427
428 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
429
430 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
431
432 2021-01-26 Tom de Vries <tdevries@suse.de>
433
434 * gdb.threads/killed-outside.exp: Allow regular output.
435
436 2021-01-26 Tom de Vries <tdevries@suse.de>
437
438 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
439
440 2021-01-25 Tom de Vries <tdevries@suse.de>
441
442 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
443 * lib/gdb.exp: Use gdb_load_no_complaints.
444
445 2021-01-25 Tom Tromey <tromey@adacore.com>
446
447 * gdb.ada/fixed_points.exp: Add regression test.
448 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
449 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
450
451 2021-01-25 Tom Tromey <tromey@adacore.com>
452
453 * gdb.ada/local-enum.exp: Add enumerator resolution test.
454
455 2021-01-25 Tom Tromey <tromey@adacore.com>
456
457 * gdb.ada/local-enum.exp: New file.
458 * gdb.ada/local-enum/local.adb: New file.
459
460 2021-01-23 Tom Tromey <tom@tromey.com>
461
462 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
463
464 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
465
466 * gdb.base/line65535.exp: Fix test expectation.
467
468 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
469
470 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
471 suppression.
472 (default_gdb_exit): Likewise.
473 (default_gdb_spawn): Likewise.
474 (send_gdb): Likewise.
475 (gdb_expect): Likewise.
476 (gdb_expect_list): Likewise.
477 (default_gdb_init): Likewise.
478 (gdb_suppress_entire_file): Remove.
479 (gdb_suppress_tests): Remove.
480 (gdb_stop_suppressing_tests): Remove.
481 (gdb_clear_suppressed): Remove.
482 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
483 related to test suppression.
484 (default_mi_gdb_start): Likewise.
485 (mi_gdb_reinitialize_dir): Likewise.
486 (mi_gdb_test): Likewise.
487 (mi_run_cmd_full): Likewise.
488 (mi_runto_helper): Likewise.
489 (mi_execute_to): Likewise.
490 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
491 * gdb.base/bitfields.exp: Likewise.
492 * gdb.base/bitfields2.exp: Likewise.
493 * gdb.base/break.exp: Likewise.
494 * gdb.base/call-sc.exp: Likewise.
495 * gdb.base/callfuncs.exp: Likewise.
496 * gdb.base/dfp-test.exp: Likewise.
497 * gdb.base/endian.exp: Likewise.
498 * gdb.base/exprs.exp: Likewise.
499 * gdb.base/funcargs.exp: Likewise.
500 * gdb.base/hbreak2.exp: Likewise.
501 * gdb.base/recurse.exp: Likewise.
502 * gdb.base/scope.exp: Likewise.
503 * gdb.base/sepdebug.exp: Likewise.
504 * gdb.base/structs.exp: Likewise.
505 * gdb.base/until.exp: Likewise.
506 * gdb.cp/misc.exp: Likewise.
507
508 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 PR cli/25956
511 * gdb.base/style.exp (run_style_tests): Add version string test.
512 (test_startup_version_string): Use version style name.
513 * lib/gdb-utils.exp (style): Handle version style name.
514
515 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
516
517 * gdb.base/style.exp (limited_style): New proc.
518 (clean_restart_and_disable): New proc.
519 (run_style_tests): New proc. Most of the old tests from this file
520 are now in this proc.
521 (test_startup_version_string): New proc. Reamining test from the
522 old file is in this proc.
523
524 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
525
526 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
527 Adjust to "set debug remote" changes.
528
529 2021-01-21 Luis Machado <luis.machado@linaro.org>
530
531 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
532 message.
533
534 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
535
536 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
537
538 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
539
540 PR python/19151
541 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
542
543 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
544
545 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
546
547 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
548
549 * lib/tuiterm.exp: Add links in comments.
550
551 2021-01-20 Tom de Vries <tdevries@suse.de>
552
553 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
554 offset.
555
556 2021-01-20 Tom de Vries <tdevries@suse.de>
557
558 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
559
560 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
561
562 * gdb.arch/amd64-stap-expressions.S: New file.
563 * gdb.arch/amd64-stap-expressions.exp: New file.
564
565 2021-01-19 Tom de Vries <tdevries@suse.de>
566
567 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
568 sequence.
569
570 2021-01-19 Tom de Vries <tdevries@suse.de>
571
572 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
573
574 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
575
576 * gdb.fortran/array-slices.exp (run_test): Avoid including
577 addresses in test names.
578
579 2021-01-15 Tom de Vries <tdevries@suse.de>
580
581 PR testsuite/26997
582 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
583 when adding sizeof.
584
585 2021-01-14 Tom de Vries <tdevries@suse.de>
586
587 PR testsuite/24590
588 * gdb.base/style.exp: Handle shorter argv in frame command output.
589
590 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
591
592 PR gdb/26819
593 * gdb.server/stop-reply-no-thread-multi.c: New file.
594 * gdb.server/stop-reply-no-thread-multi.exp: New file.
595
596 2021-01-12 Tom de Vries <tdevries@suse.de>
597
598 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
599 (main): Remove call to have_mpx.
600 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
601 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
602 (main): Remote call to have_mpx.
603 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
604 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
605 (main): Remove call to have_mpx.
606 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
607 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
608 (main): Remove call to have_mpx.
609 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
610 * gdb.arch/i386-mpx.c (have_mpx): Remove.
611 (main): Remote call to have_mpx.
612 * gdb.arch/i386-mpx.exp: Use have_mpx.
613 * lib/gdb.exp (have_mpx): New proc.
614
615 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
616
617 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
618
619 2021-01-12 Tom de Vries <tdevries@suse.de>
620
621 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
622
623 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
624
625 * gdb.fortran/debug-expr.exp: Add new tests.
626
627 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * gdb.fortran/dot-ops.exp: Add new tests.
630
631 2021-01-11 Tom de Vries <tdevries@suse.de>
632
633 PR testsuite/26968
634 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
635 Move insn setting $eax to before probe point.
636
637 2021-01-09 Tom Tromey <tom@tromey.com>
638
639 * gdb.trace/ax.exp: Do not require an "ext".
640
641 2021-01-08 Tom Tromey <tromey@adacore.com>
642
643 * gdb.ada/voidctx/pck.adb: New file.
644 * gdb.ada/voidctx/pck.ads: New file.
645 * gdb.ada/voidctx/voidctx.adb: New file.
646 * gdb.ada/voidctx.exp: New file.
647
648 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
649
650 PR gdb/27157
651 * gdb.base/empty-host-env-vars.exp: New test.
652
653 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
654
655 * gdb.base/completion.exp: Add a new test.
656
657 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
658
659 * gdb.fortran/intvar-dynamic-types.exp: New file.
660 * gdb.fortran/intvar-dynamic-types.f90: New file.
661
662 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
663
664 * gdb.fortran/intvar-array.exp: New file.
665 * gdb.fortran/intvar-array.f90: New file.
666
667 2021-01-07 Tom Tromey <tromey@adacore.com>
668
669 * gdb.ada/assign_arr.exp: Add 'others' test.
670
671 2021-01-06 Tom Tromey <tromey@adacore.com>
672
673 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
674 (FP4_Type): New type.
675 (FP4_Var): New variable.
676 * gdb.ada/fixed_points/fixed_points.adb: Update.
677 * gdb.ada/fixed_points.exp: Add tests for binary operators.
678
679 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
680
681 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
682 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
683 Pass prompt containing debug print to gdb_test_sequence.
684
685 2021-01-04 Tom de Vries <tdevries@suse.de>
686
687 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
688
689 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
690
691
692
693 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
694
695 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
696 * gdb.server/connect-without-multi-process.exp: Likewise.
697 * gdb.server/exit-multiple-threads.exp: Likewise.
698 * gdb.server/ext-attach.exp: Likewise.
699 * gdb.server/ext-restart.exp: Likewise.
700 * gdb.server/ext-run.exp: Likewise.
701 * gdb.server/ext-wrapper.exp: Likewise.
702 * gdb.server/multi-ui-errors.exp: Likewise.
703 * gdb.server/no-thread-db.exp: Likewise.
704 * gdb.server/reconnect-ctrl-c.exp: Likewise.
705 * gdb.server/run-without-local-binary.exp: Likewise.
706 * gdb.server/server-kill.exp: Likewise.
707 * gdb.server/server-run.exp: Likewise.
708 * gdb.server/solib-list.exp: Likewise.
709 * gdb.server/stop-reply-no-thread.exp: Likewise.
710 * gdb.server/wrapper.exp: Likewise.
711 * gdb.server/sysroot.exp: Increase timeout when testing the
712 target: sysroot.
713
714 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
715
716 * gdb.server/server-run.exp: Use clean_restart.
717
718 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
719
720 * gdb.server/ext-run.exp: Use clean_restart.
721
722 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
723
724 * gdb.server/stop-reply-no-thread.exp: Use build_executable
725 instead of prepare_for_testing.
726
727 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
728
729 * gdb.server/solib-list.exp: Use clean_restart.
730
731 2021-01-04 Tom de Vries <tdevries@suse.de>
732
733 * gdb.base/morestack.c: Remove printf.
734 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
735
736 2020-12-31 Tom Tromey <tom@tromey.com>
737
738 * gdb.rust/simple.exp: Update output for Rust 1.49.
739
740 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
741
742 * gdb.cp/step-and-next-inline.exp: Fix test case.
743
744 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
745
746 * gdb.python/py-frame-args.exp: De-duplicate test names.
747
748 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
749
750 PR gdb/27059
751 * gdb.dwarf2/dyn-type-unallocated.c: New file.
752 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
753
754 2020-12-21 Peter Waller <p@pwaller.net>
755
756 * gdb.base/style-interp-exec-mi.exp: New.
757 * gdb.base/style-interp-exec-mi.c: New.
758
759 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
760
761 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
762 gdb_test. Use proc_with_prefix.
763
764 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
765
766 * gdb.btrace/exception.exp: Build with nopie.
767 * gdb.btrace/function_call_history.exp: Likewise.
768 * gdb.btrace/unknown_functions.exp: Likewise.
769
770 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
771
772 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
773
774 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
775
776 * gdb.python/py-record-btrace.exp: Make test names unique.
777 * gdb.python/py-record-full.exp: Likewise.
778
779 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
780
781 * gdb.btrace/data.exp: Make test names unique.
782 * gdb.btrace/delta.exp: Likewise.
783 * gdb.btrace/enable.exp: Likewise.
784 * gdb.btrace/function_call_history.exp: Likewise.
785 * gdb.btrace/nohist.exp: Likewise.
786 * gdb.btrace/non-stop.exp: Likewise.
787 * gdb.btrace/rn-dl-bind.exp: Likewise.
788 * gdb.btrace/step.exp: Likewise.
789 * gdb.btrace/stepi.exp: Likewise.
790 * gdb.btrace/tailcall.exp: Likewise.
791
792 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
793
794 * gdb.btrace/enable.exp: Update error message.
795 * gdb.btrace/multi-inferior.exp: Likewise.
796 * gdb.btrace/reconnect.exp: Likewise.
797 * gdb.python/py-record-btrace.exp: Likewise.
798 * gdb.python/py-record-full.exp: Likewise.
799
800 2020-12-20 Tom de Vries <tdevries@suse.de>
801
802 * lib/gdb.exp (save_target_board_info): New proc.
803 (gdb_compile_shlib): Use save_target_board_info.
804
805 2020-12-19 Tom de Vries <tdevries@suse.de>
806
807 * lib/gdb.exp (supports_scalar_storage_order_attribute)
808 (supports_gnuc): New proc.
809 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
810 test_compiler_info calls. Add unsupported message.
811 * gdb.base/endianity.c: Use TEST_SSO.
812
813 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
814
815 PR exp/27070
816 * gdb.python/compare-enum-type-a.c: New test.
817 * gdb.python/compare-enum-type-b.c: New test.
818 * gdb.python/compare-enum-type.exp: New file.
819 * gdb.python/compare-enum-type.h: New test.
820
821 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
822
823 * gdb.python/py-format-string.exp: Add tests for address keyword.
824
825 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
826
827 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
828
829 2020-12-18 Tom Tromey <tromey@adacore.com>
830
831 * gdb.ada/fixed_points.exp: Also run with
832 -fgnat-encodings=minimal. Update expected output.
833
834 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
835
836 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
837 * gdb.base/continue-all-already-running.exp: Likewise.
838 * gdb.base/moribund-step.exp: Likewise.
839 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
840
841 2020-12-16 Tom de Vries <tdevries@suse.de>
842
843 * gdb.base/batch-preserve-term-settings.exp:
844
845 2020-12-16 Tom de Vries <tdevries@suse.de>
846
847 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
848 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
849
850 2020-12-16 Luis Machado <luis.machado@linaro.org>
851
852 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
853 pointer-based memory accesses.
854 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
855 hw watchpoint cases.
856
857 2020-12-15 Rae Kim <rae.kim@gmail.com>
858
859 * gdb.base/document.exp: New test.
860
861 2020-12-15 Tom Tromey <tromey@adacore.com>
862
863 * gdb.base/style.exp: Add deprecation tests.
864
865 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
866
867 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
868
869 2020-12-14 Mark Wielaard <mark@klomp.org>
870
871 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
872 specially, set attr_form_comment to the actual FORM string used.
873
874 2020-12-14 Mark Wielaard <mark@klomp.org>
875
876 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
877 _constants(SPECIAL_expr) here, but set it...
878 (Dwarf::cu): ...here based on _cu_version.
879
880 2020-12-14 Tom de Vries <tdevries@suse.de>
881
882 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
883 pass -fPIC.
884 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
885 * gdb.base/break-probes.exp: Same.
886 * gdb.base/ctxobj.exp: Same.
887 * gdb.base/dso2dso.exp: Same.
888 * gdb.base/global-var-nested-by-dso.exp: Same.
889 * gdb.base/info-shared.exp: Same.
890 * gdb.base/jit-reader-simple.exp: Same.
891 * gdb.base/print-file-var.exp: Same.
892 * gdb.base/skip-solib.exp: Same.
893 * gdb.btrace/dlopen.exp: Same.
894
895 2020-12-14 Tom de Vries <tdevries@suse.de>
896
897 PR testsuite/26963
898 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
899
900 2020-12-14 Tom de Vries <tdevries@suse.de>
901
902 PR testsuite/26962
903 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
904 cast it to its declared type".
905
906 2020-12-14 Tom de Vries <tdevries@suse.de>
907
908 PR testsuite/26951
909 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
910 shell prompt.
911
912 2020-12-14 Tom Tromey <tromey@adacore.com>
913
914 * gdb.ada/nested.exp: Add new tests.
915 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
916
917 2020-12-14 Tom Tromey <tromey@adacore.com>
918
919 * gdb.dwarf2/ada-thick-pointer.exp: New file.
920
921 2020-12-14 Tom Tromey <tromey@adacore.com>
922
923 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
924
925 2020-12-13 Tom de Vries <tdevries@suse.de>
926
927 PR testsuite/26953
928 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
929 attribute support if compiler doesn't support it.
930
931 2020-12-13 Tom de Vries <tdevries@suse.de>
932
933 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
934 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
935 source to shared lib. Add ada to options.
936
937 2020-12-13 Tom de Vries <tdevries@suse.de>
938
939 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
940 calling gnatbind and gnatlink.
941
942 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
943
944 * gdb.base/dcache-flush.c: New file.
945 * gdb.base/dcache-flush.exp: New file.
946
947 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
948
949 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
950 commands.
951 * gdb.base/killed-outside.exp: Likewise.
952 * gdb.opt/inline-bt.exp: Likewise.
953 * gdb.perf/gmonster-null-lookup.py: Likewise.
954 * gdb.perf/gmonster-print-cerr.py: Likewise.
955 * gdb.perf/gmonster-ptype-string.py: Likewise.
956 * gdb.python/py-unwind.exp: Likewise.
957
958 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
959
960 * gdb.base/commands.exp: Update expected results.
961
962 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
963
964 PR cli/15104
965 * gdb.base/commands.exp: Add additional tests.
966 * gdb.base/completion.exp: Add additional tests.
967
968 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
969
970 * gdb.base/completion.exp: Add additional tests.
971
972 2020-12-11 Tom de Vries <tdevries@suse.de>
973
974 PR testsuite/26991
975 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
976 violations by setting bounds registers if the bounds are passed in the
977 Bounds Table.
978
979 2020-12-11 Tom de Vries <tdevries@suse.de>
980
981 PR testsuite/26954
982 * gdb.base/float128.exp: Detect and handle no mpfr support.
983
984 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
985
986 PR gdb/24694
987 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
988 calls.
989
990 2020-12-10 Tom de Vries <tdevries@suse.de>
991
992 PR testsuite/26947
993 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
994 braces for tcl 8.5 and earlier.
995
996 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
997
998 PR 26875, PR 26901
999 * gdb.base/flexible-array-member.c: New test.
1000 * gdb.base/flexible-array-member.exp: New test.
1001
1002 2020-12-08 Tom de Vries <tdevries@suse.de>
1003
1004 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1005 using is_amd64_regs_target.
1006
1007 2020-12-08 Tom de Vries <tdevries@suse.de>
1008
1009 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1010 self_id.
1011
1012 2020-12-07 Pedro Alves <pedro@palves.net>
1013
1014 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1015 'additional_flags' variable.
1016
1017 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1018
1019 * gdb.linespec/explicit.exp: Extend with a test to check completing
1020 '-' after seemingly complete options.
1021
1022 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1023
1024 * gdb.linespec/keywords.exp: Add tests to check positional
1025 flexibility of "-force-condition".
1026
1027 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1028
1029 * gdb.base/bp-cmds-run-with-ex.c: New file.
1030 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1031 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1032 * gdb.gdb/python-interrupts.exp: Update the call to
1033 'catch_command_errors' with the new argument.
1034 * gdb.gdb/python-selftest.exp: Ditto.
1035
1036 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1037
1038 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1039 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1040 * gdb.threads/non-stop-fair-events.exp: Likewise.
1041
1042 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1043
1044 * gdb.threads/step-over-exec.exp: New.
1045 * gdb.threads/step-over-exec.c: New.
1046 * gdb.threads/step-over-exec-execd.c: New.
1047 * lib/my-syscalls.S: New.
1048 * lib/my-syscalls.h: New.
1049
1050 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1051
1052 * lib/dwarf.exp (declare_labels): Use name as text if text is
1053 not provided.
1054
1055 2020-12-04 Tom de Vries <tdevries@suse.de>
1056
1057 PR testsuite/26990
1058 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1059 are unsupported.
1060
1061 2020-12-04 Tom de Vries <tdevries@suse.de>
1062
1063 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1064 clause.
1065
1066 2020-12-04 Tom de Vries <tdevries@suse.de>
1067
1068 * gdb.reverse/insn-reverse.exp: Fix count handling.
1069
1070 2020-12-04 Tom de Vries <tdevries@suse.de>
1071
1072 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1073 __x86_64__.
1074
1075 2020-12-04 Tom de Vries <tdevries@suse.de>
1076
1077 * gdb.reverse/insn-reverse.c (test_nr): New var.
1078 (usage, parse_args): New function.
1079 (main): Call parse_args. Only run test for test_nr.
1080 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1081 and bail out. Run subtests individually, using an inferior arg
1082 specifying the subtest.
1083
1084 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1085
1086 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1087
1088 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1089
1090 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1091 update test to use this.
1092
1093 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1094
1095 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1096
1097 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1098
1099 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1100 (do_test): Don't use with_test_prefix.
1101 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1102 (do_test): Don't use with_test_prefix.
1103 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1104 (do_test): Don't use with_test_prefix.
1105 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1106 (do_test): Don't use with_test_prefix.
1107
1108 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1109
1110 * gdb.threads/non-ldr-exit.exp: Fix comment.
1111
1112 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.xml/maint-xml-dump-03.xml: New file.
1115
1116 2020-11-30 Tom de Vries <tdevries@suse.de>
1117
1118 PR symtab/26905
1119 * gdb.dwarf2/count.exp: Remove kfails.
1120
1121 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1122
1123 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1124 indices.
1125
1126 2020-11-24 Joel Brobecker <brobecker@adacore.com>
1127
1128 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1129 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1130 languages. Remove the associated setup_xfail.
1131
1132 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
1133
1134 * lib/gdb.exp (gdb_assert): Show error message on error.
1135
1136 2020-11-23 Tom de Vries <tdevries@suse.de>
1137
1138 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1139 * gdb.ada/mod_from_name.exp: Same.
1140 * gdb.ada/pckd_arr_ren.exp: Same.
1141
1142 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1143
1144 * gdb.base/template.exp: New.
1145 * gdb.base/template.c: New.
1146
1147 2020-11-22 Gary Benson <gbenson@redhat.com>
1148
1149 PR gdb/26905
1150 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1151 is defined using a DW_AT_count which references another DIE.
1152
1153 2020-11-21 Tom de Vries <tdevries@suse.de>
1154
1155 * gdb.base/vla-ptr.exp: Add XFAIL.
1156
1157 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1158
1159 * gdb.fortran/array-slices-bad.exp: New file.
1160 * gdb.fortran/array-slices-bad.f90: New file.
1161 * gdb.fortran/array-slices-sub-slices.exp: New file.
1162 * gdb.fortran/array-slices-sub-slices.f90: New file.
1163 * gdb.fortran/array-slices.exp: Rewrite tests.
1164 * gdb.fortran/array-slices.f90: Rewrite tests.
1165 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1166
1167 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1168
1169 * gdb.base/completion.exp: Add new completion tests.
1170
1171 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1172
1173 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1174 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1175 * gdb.mi/mi-nsintrall.exp: Likewise.
1176 * gdb.mi/mi-nsmoribund.exp: Likewise.
1177 * gdb.mi/mi-nsthrexec.exp: Likewise.
1178 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1179
1180 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1181
1182 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1183 of perror.
1184
1185 2020-11-18 Joseph Myers <joseph@codesourcery.com>
1186
1187 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1188 $arg.exe exists but $arg does not.
1189
1190 2020-11-17 Gary Benson <gbenson@redhat.com>
1191
1192 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1193 __attribute__ ((used)).
1194
1195 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1198
1199 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.base/completion.exp: Add new tests.
1202
1203 2020-11-16 Tom Tromey <tromey@adacore.com>
1204
1205 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1206 tests.
1207
1208 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1209
1210 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1211 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1212 (main): Add reference to pck__fp1_var2.
1213 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1214
1215 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1216
1217 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1218
1219 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1220
1221 * gdb.ada/fixed_points.exp: Add ptype tests.
1222 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1223
1224 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1225
1226 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1227
1228 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1229
1230 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1231 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1232 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1233 New files.
1234 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1235
1236 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1237 New files.
1238
1239 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1240
1241 PR cli/26879
1242 * gdb.fortran/completion.exp: New file.
1243 * gdb.fortran/completion.f90: New file.
1244
1245 2020-11-12 Joseph Myers <joseph@codesourcery.com>
1246
1247 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1248 but $arg does not.
1249
1250 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1251
1252 * gdb.fortran/types.exp: Add more tests.
1253
1254 2020-11-12 Tom Tromey <tom@tromey.com>
1255
1256 PR rust/26799:
1257 * gdb.rust/traits.exp: Remove kfails.
1258
1259 2020-11-12 Gary Benson <gbenson@redhat.com>
1260
1261 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1262 statement.
1263
1264 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
1265
1266 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1267 always-inserted" axis.
1268 (do_test): Add breakpoint_always_inserted parameter.
1269
1270 2020-11-10 Tom Tromey <tromey@adacore.com>
1271
1272 * gdb.ada/bias.exp: Update.
1273 * gdb.ada/bias/bias.adb (X): Change value.
1274
1275 2020-11-10 Gary Benson <gbenson@redhat.com>
1276
1277 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1278 regexp fragment in parentheses to prevent false matching.
1279
1280 2020-11-10 Gary Benson <gbenson@redhat.com>
1281
1282 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1283
1284 2020-11-10 Gary Benson <gbenson@redhat.com>
1285
1286 * gdb.cp/step-and-next-inline.exp: Only require
1287 -gstatement-frontiers when building with GCC.
1288 Only setup KFAIL's for GCC issues when using
1289 a GCC-built executable.
1290
1291 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1292
1293 * gdb.base/debug-expr.c: Add extra function to allow for an
1294 additional test.
1295 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1296 to this proc with gdb_test_debug_expr. Add an extra test.
1297 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1298 to this proc with gdb_test_debug_expr, give the tests names
1299 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1300 calls to this proc with gdb_test_debug_expr, give the tests names
1301 * gdb.fortran/debug-expr.exp: New file.
1302 * gdb.fortran/debug-expr.f90: New file.
1303 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1304
1305 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
1306
1307 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1308 proceduresu.
1309 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1310 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1311 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1312 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1313 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1314 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1315 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1316 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1317
1318 2020-11-04 Tom Tromey <tromey@adacore.com>
1319
1320 * gdb.ada/funcall_ref.exp: Update.
1321 * gdb.ada/var_rec_arr.exp: Update.
1322
1323 2020-11-04 Tom Tromey <tromey@adacore.com>
1324
1325 * gdb.ada/rec_ptype.exp: New file.
1326 * gdb.ada/rec_ptype/main.adb: New file.
1327 * gdb.ada/rec_ptype/p.ads: New file.
1328
1329 2020-11-04 Tom Tromey <tromey@adacore.com>
1330
1331 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1332 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1333 (PT_Full): New variable.
1334 * gdb.ada/tick_length_array_enum_idx/pck.adb
1335 (Full_PT): New type.
1336
1337 2020-11-04 Tom Tromey <tromey@adacore.com>
1338
1339 * gdb.ada/array_of_variant.exp: New file.
1340 * gdb.ada/array_of_variant/p.adb: New file.
1341 * gdb.ada/array_of_variant/pck.ads: New file.
1342 * gdb.ada/array_of_variant/pck.adb: New file.
1343
1344 2020-11-04 Tom Tromey <tromey@adacore.com>
1345
1346 * gdb.ada/enum_idx_packed.exp: Add test.
1347 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1348 New variable.
1349 * gdb.ada/enum_idx_packed/pck.ads (Short)
1350 (Multi_Dimension, Multi_Dimension_Access): New types.
1351
1352 2020-11-04 Tom Tromey <tromey@adacore.com>
1353
1354 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1355
1356 2020-11-04 Tom Tromey <tromey@adacore.com>
1357
1358 * gdb.ada/set_pckd_arr_elt.exp: Also test
1359 -fgnat-encodings=minimal. Add tests.
1360 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1361 Call Update_Small a second time.
1362 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1363 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1364 (Variant_Access): New types.
1365 (New_Variant): Declare.
1366
1367 2020-11-04 Tom Tromey <tromey@adacore.com>
1368
1369 * gdb.ada/mod_from_name.exp: Test printing slice.
1370
1371 2020-11-04 Tom Tromey <tromey@adacore.com>
1372
1373 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1374 values.
1375 * gdb.ada/access_to_unbounded_array.exp: Test different
1376 -fgnat-encodings values.
1377 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1378 values.
1379 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1380 values.
1381 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1382 values.
1383 * gdb.ada/array_of_variable_length.exp: Test different
1384 -fgnat-encodings values.
1385 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1386 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1387 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1388 change.
1389 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1390 values.
1391 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1392 * gdb.ada/out_of_line_in_inlined.exp: Test different
1393 -fgnat-encodings values.
1394 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1395 values.
1396 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1397 values.
1398 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1399 -fgnat-encodings values.
1400 * gdb.ada/variant_record_packed_array.exp: Test different
1401 -fgnat-encodings values.
1402
1403 2020-11-04 Tom Tromey <tromey@adacore.com>
1404
1405 * gdb.ada/enum_idx_packed.exp: Add tests.
1406 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1407 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1408 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1409 declarations.
1410
1411 2020-11-03 Tom de Vries <tdevries@suse.de>
1412
1413 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1414 terminator comments.
1415 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1416 terminator.
1417
1418 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1419
1420 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1421 integer format test with regexp.
1422
1423 2020-11-02 Gary Benson <gbenson@redhat.com>
1424
1425 * gdb.base/print-file-var.exp (test): Separate compiler and
1426 linker options, and build using build_executable_from_specs
1427 to accommodate this.
1428
1429 2020-11-02 Gary Benson <gbenson@redhat.com>
1430
1431 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1432 for .c files compiled as C++ with Clang if any shared
1433 libraries are specified.
1434
1435 2020-11-02 Gary Benson <gbenson@redhat.com>
1436
1437 * lib/attributes.h: New header.
1438 * gdb.base/backtrace.c: Include the above. Replace
1439 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1440 * gdb.base/infcall-nested-structs.c: Likewise.
1441 * gdb.base/vla-optimized-out.c: Likewise.
1442
1443 2020-11-02 Tom de Vries <tdevries@suse.de>
1444
1445 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1446
1447 2020-11-01 Joel Brobecker <brobecker@adacore.com>
1448
1449 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1450 System.Min_Int and System.Max_Int with smaller hardcoded
1451 constants.
1452
1453 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1454
1455 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1456 * configure: Re-generate.
1457
1458 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
1459
1460 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1461 expected output.
1462
1463 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1464
1465 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1466 behavior.
1467 * gdb.base/paginate-bg-execution.exp: Ditto.
1468 * gdb.base/paginate-inferior-exit.exp: Ditto.
1469 * gdb.base/double-prompt-target-event-error.c: Remove.
1470 * gdb.base/double-prompt-target-event-error.exp: Remove.
1471
1472 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1473
1474 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1475 inferiors' and 'detach inferiors' do not change the current
1476 inferior.
1477
1478 2020-10-29 Tom de Vries <tdevries@suse.de>
1479
1480 * gdb.threads/tls.exp: Fix DUPLICATEs.
1481
1482 2020-10-28 Tom de Vries <tdevries@suse.de>
1483
1484 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1485
1486 2020-10-28 Tom de Vries <tdevries@suse.de>
1487
1488 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1489 * gdb.base/reread.exp: Same.
1490
1491 2020-10-28 Tom de Vries <tdevries@suse.de>
1492
1493 * lib/gdb.exp (readnow): Handle arg.
1494 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1495
1496 2020-10-28 Tom de Vries <tdevries@suse.de>
1497
1498 * gdb.base/relocate.exp: Update regexp for -readnow.
1499
1500 2020-10-28 Tom de Vries <tdevries@suse.de>
1501
1502 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1503 -readnow.
1504
1505 2020-10-28 Tom de Vries <tdevries@suse.de>
1506
1507 PR symtab/26772
1508 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1509 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1510
1511 2020-10-28 Tom de Vries <tdevries@suse.de>
1512
1513 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1514 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1515 complaint during file command for -readnow.
1516
1517 2020-10-28 Tom de Vries <tdevries@suse.de>
1518
1519 * gdb.cp/nsalias.exp: Fix typo in test name.
1520
1521 2020-10-28 Tom de Vries <tdevries@suse.de>
1522
1523 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1524
1525 2020-10-28 Tom de Vries <tdevries@suse.de>
1526
1527 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1528 -readnow.
1529
1530 2020-10-27 Tom de Vries <tdevries@suse.de>
1531
1532 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1533
1534 2020-10-27 Tom de Vries <tdevries@suse.de>
1535
1536 * gdb.base/maint.exp: Update for -readnow.
1537
1538 2020-10-27 Tom de Vries <tdevries@suse.de>
1539
1540 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1541 -readnow.
1542
1543 2020-10-14 Gary Benson <gbenson@redhat.com>
1544
1545 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1546 "_vptr$Base" as correct, in addition to "_vptr.Base".
1547 (test_mixed): Likewise.
1548
1549 2020-10-27 Gary Benson <gbenson@redhat.com>
1550
1551 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1552 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1553
1554 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1555
1556 * gdb.base/condbreak.exp: Update the completion tests to
1557 consider the '-force' flag.
1558
1559 2020-10-27 Tom de Vries <tdevries@suse.de>
1560
1561 * gdb.base/list-ambiguous-readnow.exp: New file.
1562
1563 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1564
1565 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1566 the condition.
1567 * gdb.linespec/cpcompletion.exp: Update to consider the
1568 '-force-condition' keyword.
1569 * gdb.linespec/explicit.exp: Ditto.
1570 * lib/completion-support.exp: Ditto.
1571
1572 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1573
1574 * gdb.base/condbreak-multi-context.cc: New file.
1575 * gdb.base/condbreak-multi-context.exp: New file.
1576
1577 2020-10-26 Tom Tromey <tom@tromey.com>
1578
1579 * lib/mi-support.exp (default_mi_gdb_start): Call
1580 gdb_stdin_log_init.
1581 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1582 subtract one from gdb_instances.
1583 (gdb_stdin_log_write): Flush in_file.
1584
1585 2020-10-26 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1588
1589 2020-10-26 Tom Tromey <tromey@adacore.com>
1590
1591 * gdb.ada/unsigned_range/foo.adb: New file.
1592 * gdb.ada/unsigned_range/pack.adb: New file.
1593 * gdb.ada/unsigned_range/pack.ads: New file.
1594 * gdb.ada/unsigned_range.exp: New file.
1595
1596 2020-10-26 Tom de Vries <tdevries@suse.de>
1597
1598 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1599
1600 2020-10-26 Tom de Vries <tdevries@suse.de>
1601
1602 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1603 for CU.
1604 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1605
1606 2020-10-23 Tom de Vries <tdevries@suse.de>
1607
1608 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1609 DW_FORM_string.
1610 (Dwarf::_default_form): New proc.
1611 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1612 guessed.
1613
1614 2020-10-23 Tom de Vries <tdevries@suse.de>
1615
1616 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1617 * gdb.dwarf2/atomic-type.exp: Same.
1618 * gdb.dwarf2/bad-regnum.exp: Same.
1619 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1620 * gdb.dwarf2/dw2-align.exp: Same.
1621 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1622 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1623 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1624 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1625 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1626 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1627 * gdb.dwarf2/enum-type.exp: Same.
1628 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1629 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1630 * gdb.dwarf2/main-subprogram.exp: Same.
1631 * gdb.dwarf2/missing-type-name.exp: Same.
1632 * gdb.dwarf2/nonvar-access.exp: Same.
1633 * gdb.dwarf2/typedef-void-finish.exp: Same.
1634 * gdb.dwarf2/var-access.exp: Same.
1635 * gdb.dwarf2/void-type.exp: Same.
1636
1637 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1638
1639 PR gdb/26693
1640 * gdb.dwarf2/template-specification-full-name.exp: New test.
1641
1642 2020-10-22 Luis Machado <luis.machado@linaro.org>
1643
1644 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1645 expected an offset from the function.
1646 * gdb.base/msym-bp.exp (test): Likewise.
1647
1648 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1649
1650 * gdb.fortran/array-slices.exp: Add a new test.
1651
1652 2020-10-21 Gary Benson <gbenson@redhat.com>
1653
1654 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1655 fullname test with Clang. Also expand comments generally.
1656
1657 2020-10-20 Tom de Vries <tdevries@suse.de>
1658
1659 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1660
1661 2020-10-20 Tom de Vries <tdevries@suse.de>
1662
1663 * gdb.dwarf2/arr-stride.c: Remove.
1664 * gdb.dwarf2/arr-stride.exp: Use main.c.
1665 * gdb.dwarf2/arr-subrange.c: Remove.
1666 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1667 * gdb.dwarf2/bad-regnum.c: Remove.
1668 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1669 * gdb.dwarf2/corrupt.c: Remove.
1670 * gdb.dwarf2/corrupt.exp: Use main.c.
1671 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1672 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1673 * gdb.dwarf2/dw2-icycle.c: Remove.
1674 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1675 * gdb.dwarf2/formdata16.c: Remove.
1676 * gdb.dwarf2/formdata16.exp: Use main.c.
1677 * gdb.dwarf2/implptrconst.c: Remove.
1678 * gdb.dwarf2/implptrconst.exp: Use main.c.
1679 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1680 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1681 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1682 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1683
1684 2020-10-20 Tom de Vries <tdevries@suse.de>
1685
1686 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1687 file.
1688 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1689
1690 2020-10-20 Tom de Vries <tdevries@suse.de>
1691
1692 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1693 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1694 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1695 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1696 * gdb.dwarf2/dw2-ranges.exp: Same.
1697 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1698 * gdb.dwarf2/var-access.exp: Same.
1699
1700 2020-10-19 Tom Tromey <tromey@adacore.com>
1701
1702 PR tui/26719
1703 * gdb.tui/list.exp: Check source window contents after focus
1704 change.
1705
1706 2020-10-17 Tom de Vries <tdevries@suse.de>
1707
1708 PR symtab/26317
1709 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1710
1711 2020-10-17 Tom de Vries <tdevries@suse.de>
1712
1713 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1714 as suffix.
1715 * gdb.dwarf2/atomic.c: Rename to ...
1716 * gdb.dwarf2/atomic-type.c: ... this.
1717 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1718 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1719 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1720 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1721 * gdb.dwarf2/fission-mix2.c: Rename to ...
1722 * gdb.dwarf2/fission-mix-2.c: ... this.
1723 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1724 standard_testfile.
1725 * gdb.dwarf2/ada-valprint-error.exp: Same.
1726 * gdb.dwarf2/arr-stride.exp: Same.
1727 * gdb.dwarf2/arr-subrange.exp: Same.
1728 * gdb.dwarf2/atomic-type.exp: Same.
1729 * gdb.dwarf2/bad-regnum.exp: Same.
1730 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1731 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1732 * gdb.dwarf2/clang-debug-names.exp: Same.
1733 * gdb.dwarf2/comp-unit-lang.exp: Same.
1734 * gdb.dwarf2/corrupt.exp: Same.
1735 * gdb.dwarf2/count.exp: Same.
1736 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1737 * gdb.dwarf2/data-loc.exp: Same.
1738 * gdb.dwarf2/dw2-align.exp: Same.
1739 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1740 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1741 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1742 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1743 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1744 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1745 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1746 * gdb.dwarf2/dw2-inline-param.exp: Same.
1747 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1748 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1749 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1750 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1751 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1752 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1753 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1754 * gdb.dwarf2/dw2-param-error.exp: Same.
1755 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1756 * gdb.dwarf2/dw2-ranges.exp: Same.
1757 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1758 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1759 * gdb.dwarf2/dw4-sig-types.exp: Same.
1760 * gdb.dwarf2/dynarr-ptr.exp: Same.
1761 * gdb.dwarf2/enum-type.exp: Same.
1762 * gdb.dwarf2/fission-mix.exp: Same.
1763 * gdb.dwarf2/formdata16.exp: Same.
1764 * gdb.dwarf2/implptrconst.exp: Same.
1765 * gdb.dwarf2/implptrpiece.exp: Same.
1766 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1767 * gdb.dwarf2/main-subprogram.exp: Same.
1768 * gdb.dwarf2/method-ptr.exp: Same.
1769 * gdb.dwarf2/missing-sig-type.exp: Same.
1770 * gdb.dwarf2/nonvar-access.exp: Same.
1771 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1772 * gdb.dwarf2/shortpiece.exp: Same.
1773 * gdb.dwarf2/staticvirtual.exp: Same.
1774 * gdb.dwarf2/subrange.exp: Same.
1775 * gdb.dwarf2/symtab-producer.exp: Same.
1776 * gdb.dwarf2/typedef-void-finish.exp: Same.
1777 * gdb.dwarf2/var-access.exp: Same.
1778 * gdb.dwarf2/variant.exp: Same.
1779 * gdb.dwarf2/void-type.exp: Same.
1780 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1781 dw2-ranges-main.c.
1782 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1783
1784 2020-10-16 Tom de Vries <tdevries@suse.de>
1785
1786 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1787
1788 2020-10-16 Tom de Vries <tdevries@suse.de>
1789
1790 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1791
1792 2020-10-14 Tom de Vries <tdevries@suse.de>
1793
1794 PR testsuite/26732
1795 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1796 scenario 2.
1797 * gdb.ada/mi_catch_ex_hand.exp: Same.
1798
1799 2020-10-13 Pedro Alves <pedro@palves.net>
1800
1801 * lib/mi-support.exp (mi_clean_restart): New.
1802 (mi_run_to_main): Delete.
1803 All callers adjust to use mi_clean_restart / mi_runto_main.
1804
1805 2020-10-13 Pedro Alves <pedro@palves.net>
1806
1807 * config/monitor.exp: Use "list -q".
1808 * gdb.arch/gdb1558.exp: Use "break -q".
1809 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1810 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1811 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1812 * gdb.base/commands.exp: Use "break -q".
1813 * gdb.base/condbreak.exp: Use "break -q".
1814 * gdb.base/ctf-ptype.exp: Use "list -q".
1815 * gdb.base/define.exp: Use "break -q".
1816 * gdb.base/del.exp: Use "break -q".
1817 * gdb.base/fullname.exp: Use "break -q".
1818 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1819 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1820 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1821 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1822 "hbreak -q".
1823 * gdb.base/included.exp: Use "list -q".
1824 * gdb.base/label.exp: Use "break -q".
1825 * gdb.base/lineinc.exp: Use "break -q".
1826 * gdb.base/list.exp: Use "list -q".
1827 * gdb.base/macscp.exp: Use "list -q".
1828 * gdb.base/pending.exp: Use "break -q".
1829 * gdb.base/prologue-include.exp: Use "break -q".
1830 * gdb.base/ptype.exp: Use "list -q".
1831 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1832 * gdb.base/server-del-break.exp: Use "break -q".
1833 * gdb.base/style.exp: Use "break -q".
1834 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1835 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1836 * gdb.cp/exception.exp: Use "tbreak -q".
1837 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1838 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1839 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1840 * gdb.dwarf2/pr13961.exp: Use "break -q".
1841 * gdb.linespec/explicit.exp: Use "list -q".
1842 * gdb.linespec/linespec.exp: Use "break -q".
1843 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1844 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1845 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1846 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1847 * gdb.trace/change-loc.exp: Use "break -q".
1848 * gdb.trace/pending.exp: Use "break -q".
1849 * gdb.tui/basic.exp: Use "list -q".
1850 * gdb.tui/list-before.exp: Use "list -q".
1851 * gdb.tui/list.exp: Use "list -q".
1852 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1853
1854 2020-10-13 Pedro Alves <pedro@palves.net>
1855
1856 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1857 saved breakpoints file.
1858 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1859 inspecting breakpoint list.
1860 * lib/gdb.exp (runto_main): Add "qualified" to options.
1861 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1862 and handle it.
1863 (mi_runto_main): Pass 1 as qualified argument.
1864
1865 2020-10-13 Pedro Alves <pedro@palves.net>
1866
1867 * lib/mi-support.exp (mi_runto_main): New proc.
1868 (mi_run_to_main): Use it.
1869 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1870 * gdb.mi/mi-var-cmd.exp: Likewise.
1871 * gdb.mi/mi-var-invalidate.exp: Likewise.
1872 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1873 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1874 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1875 * gdb.mi/user-selected-context-sync.exp: Likewise.
1876 * gdb.opt/inline-cmds.exp: Likewise.
1877 * gdb.python/py-framefilter-mi.exp: Likewise.
1878 * gdb.python/py-mi.exp: Likewise.
1879
1880 2020-10-13 Pedro Alves <pedro@palves.net>
1881
1882 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1883 "runto main".
1884 * gdb.ada/small_reg_param.exp: Likewise.
1885 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1886 * gdb.base/annota1.exp: Likewise.
1887 * gdb.base/anon.exp: Likewise.
1888 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1889 * gdb.base/dprintf-non-stop.exp: Likewise.
1890 * gdb.base/dprintf.exp: Likewise.
1891 * gdb.base/gdb11530.exp: Likewise.
1892 * gdb.base/gdb11531.exp: Likewise.
1893 * gdb.base/gnu_vector.exp: Likewise.
1894 * gdb.base/interrupt-noterm.exp: Likewise.
1895 * gdb.base/memattr.exp: Likewise.
1896 * gdb.base/step-over-syscall.exp: Likewise.
1897 * gdb.base/watch-cond-infcall.exp: Likewise.
1898 * gdb.base/watch-read.exp: Likewise.
1899 * gdb.base/watch-vfork.exp: Likewise.
1900 * gdb.base/watch_thread_num.exp: Likewise.
1901 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1902 * gdb.guile/scm-frame-inline.exp: Likewise.
1903 * gdb.linespec/explicit.exp: Likewise.
1904 * gdb.opt/inline-break.exp: Likewise.
1905 * gdb.python/py-frame-inline.exp: Likewise.
1906 * gdb.reverse/break-precsave.exp: Likewise.
1907 * gdb.reverse/break-reverse.exp: Likewise.
1908 * gdb.reverse/consecutive-precsave.exp: Likewise.
1909 * gdb.reverse/consecutive-reverse.exp: Likewise.
1910 * gdb.reverse/finish-precsave.exp: Likewise.
1911 * gdb.reverse/finish-reverse.exp: Likewise.
1912 * gdb.reverse/fstatat-reverse.exp: Likewise.
1913 * gdb.reverse/getresuid-reverse.exp: Likewise.
1914 * gdb.reverse/i386-precsave.exp: Likewise.
1915 * gdb.reverse/i386-reverse.exp: Likewise.
1916 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1917 * gdb.reverse/i387-env-reverse.exp: Likewise.
1918 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1919 * gdb.reverse/insn-reverse.exp: Likewise.
1920 * gdb.reverse/machinestate-precsave.exp: Likewise.
1921 * gdb.reverse/machinestate.exp: Likewise.
1922 * gdb.reverse/pipe-reverse.exp: Likewise.
1923 * gdb.reverse/readv-reverse.exp: Likewise.
1924 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1925 * gdb.reverse/rerun-prec.exp: Likewise.
1926 * gdb.reverse/s390-mvcle.exp: Likewise.
1927 * gdb.reverse/solib-precsave.exp: Likewise.
1928 * gdb.reverse/solib-reverse.exp: Likewise.
1929 * gdb.reverse/step-precsave.exp: Likewise.
1930 * gdb.reverse/step-reverse.exp: Likewise.
1931 * gdb.reverse/time-reverse.exp: Likewise.
1932 * gdb.reverse/until-precsave.exp: Likewise.
1933 * gdb.reverse/until-reverse.exp: Likewise.
1934 * gdb.reverse/waitpid-reverse.exp: Likewise.
1935 * gdb.reverse/watch-precsave.exp: Likewise.
1936 * gdb.reverse/watch-reverse.exp: Likewise.
1937 * gdb.threads/kill.exp: Likewise.
1938 * gdb.threads/tid-reuse.exp: Likewise.
1939
1940 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1941
1942 PR gdb/26642
1943 * gdb.base/maint-target-async-off.c: New test.
1944 * gdb.base/maint-target-async-off.exp: New test.
1945
1946 2020-10-13 Alan Modra <amodra@gmail.com>
1947
1948 * gdb.arch/powerpc-altivec.s,
1949 * gdb.arch/powerpc-power7.s,
1950 * gdb.arch/powerpc-power8.s,
1951 * gdb.arch/powerpc-power9.s,
1952 * gdb.arch/powerpc-vsx.s,
1953 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1954 * gdb.arch/powerpc-altivec.exp,
1955 * gdb.arch/powerpc-power7.exp,
1956 * gdb.arch/powerpc-power8.exp,
1957 * gdb.arch/powerpc-power9.exp,
1958 * gdb.arch/powerpc-vsx.exp,
1959 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1960 disassembly of mfvsrd/mtvsrd.
1961
1962 2020-10-13 Alan Modra <amodra@gmail.com>
1963
1964 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1965 "target architecture" output.
1966 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1967 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1968 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1969 * gdb.arch/s390-disassembler-options.exp: Likewise.
1970
1971 2020-10-12 Pedro Alves <pedro@palves.net>
1972
1973 PR exp/26602
1974 PR c++/26550
1975 * gdb.cp/ambiguous.cc (marker1): Delete.
1976 (main): Initialize all the fields of the locals. Replace marker1
1977 call with a "set breakpoint here" marker.
1978 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1979 instead of running to marker1. Add tests printing all the
1980 variables and all the fields of the variables.
1981 (test_ambiguous): New proc, expecting the new GDB output when a
1982 field access is ambiguous. Change all "warning: X ambiguous"
1983 tests to use it.
1984
1985 2020-10-12 Gary Benson <gbenson@redhat.com>
1986
1987 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1988 * gdb.base/msym-bp-2.c (foo): Likewise.
1989 * gdb.base/msym-lang.c (foo): Likewise.
1990 * gdb.base/msym-lang-main.c (foo): Likewise.
1991 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1992 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1993 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1994 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1995 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1996 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1997 * gdb.python/py-objfile.c (static_var): Likewise.
1998 * gdb.python/py-symbol.c (rr): Likewise.
1999 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2000 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2001
2002 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2003
2004 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2005 output of backtrace.
2006
2007 2020-10-09 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2010 (Rec): Add field. Fix range.
2011 * gdb.ada/scalar_storage.exp: Update.
2012
2013 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
2014
2015 PR exp/26714
2016 * gdb.base/printcmds.exp: Add tests for void results.
2017
2018 2020-10-09 Jan Vrany <jan.vrany@labware.com>
2019
2020 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2021 is emmited for both 'set directories' and 'directory' commands.
2022
2023 2020-10-08 Tom Tromey <tom@tromey.com>
2024
2025 * gdb.base/style.exp: Check that "main"'s name is styled.
2026
2027 2020-10-07 Tom Tromey <tromey@adacore.com>
2028
2029 * gdb.base/find.exp: Rename some tests.
2030
2031 2020-10-06 Gary Benson <gbenson@redhat.com>
2032
2033 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2034 * gdb.base/list1.c (unused): Likewise.
2035
2036 2020-10-06 Gary Benson <gbenson@redhat.com>
2037
2038 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2039 __attribute__ ((used)).
2040 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2041
2042 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2043
2044 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2045 make use of regions throughout.
2046 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2047 not {...}.
2048 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2049
2050 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
2051
2052 * gdb.base/call-sc.c: Fix return struct on stack test case.
2053 * gdb.base/call-sc.exp: Likewise.
2054
2055 2020-10-02 Gary Benson <gbenson@redhat.com>
2056
2057 * README: Fix "paralell".
2058
2059 2020-09-30 Gary Benson <gbenson@redhat.com>
2060
2061 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2062 Convert directive to lowercase.
2063 (.Labbrev1_begin): Add missing label.
2064 (abbrev code 0x1): Remove DW_AT_stmt_list.
2065 (.Ldie_b): Likewise.
2066
2067 2020-09-27 Tom Tromey <tom@tromey.com>
2068
2069 * gdb.tui/new-layout.exp: Use with_test_prefix.
2070
2071 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2072
2073 PR python/26586
2074 * gdb.python/python.exp: add test cases for the from_tty
2075 argument to gdb.execute.
2076
2077 2020-09-25 Gary Benson <gbenson@redhat.com>
2078
2079 * gdb.base/infcall-nested-structs.exp.tcl: Add
2080 additional_flags=-Wno-tautological-compare for C++
2081 tests when compiling using Clang.
2082
2083 2020-09-25 Gary Benson <gbenson@redhat.com>
2084
2085 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2086 for .c files.
2087
2088 2020-09-24 Tom Tromey <tromey@adacore.com>
2089
2090 PR tui/26638:
2091 * gdb.tui/list.exp: Check output of "focus next".
2092
2093 2020-09-23 Tom Tromey <tom@tromey.com>
2094
2095 * gdb.dwarf2/intbits.exp: New file.
2096 * gdb.dwarf2/intbits.c: New file.
2097
2098 2020-09-20 Pedro Alves <pedro@palves.net>
2099
2100 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2101 spawn_id before calling remote_close. Close secondary MI channel.
2102
2103 2020-09-20 Pedro Alves <pedro@palves.net>
2104
2105 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2106 fails.
2107
2108 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * gdb.fortran/array-slices.exp: Update expected results.
2111 * gdb.fortran/class-allocatable-array.exp: Likewise.
2112 * gdb.fortran/multi-dim.exp: Likewise.
2113 * gdb.fortran/vla-type.exp: Likewise.
2114 * gdb.mi/mi-vla-fortran.exp: Likewise.
2115
2116 2020-09-18 Victor Collod <vcollod@nvidia.com>
2117
2118 PR gdb/26635
2119 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2120 compatible with i386, and move it to...
2121 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2122 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2123 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2124
2125 2020-09-18 Pedro Alves <pedro@palves.net>
2126
2127 PR gdb/26631
2128 * gdb.multi/multi-target-thread-find.exp: New file.
2129
2130 2020-09-18 Pedro Alves <pedro@palves.net>
2131
2132 * gdb.multi/multi-target-continue.exp: New file, factored out from
2133 multi-target.exp.
2134 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2135 multi-target.exp.
2136 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2137 multi-target.exp.
2138 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2139 multi-target.exp.
2140 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2141 multi-target.exp.
2142 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2143 multi-target.exp.
2144 * gdb.multi/multi-target.exp: Delete.
2145
2146 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2147
2148 * gdb.fortran/array-slices.exp: Add missing message data.
2149
2150 2020-09-17 Pedro Alves <pedro@palves.net>
2151
2152 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2153
2154 2020-09-17 Pedro Alves <pedro@palves.net>
2155
2156 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2157 full prototype.
2158
2159 2020-09-17 Pedro Alves <pedro@palves.net>
2160
2161 * gdb.python/py-as-string.c: Add cast.
2162
2163 2020-09-17 Pedro Alves <pedro@palves.net>
2164
2165 * gdb.base/sizeof.c (fill): Add cast.
2166
2167 2020-09-17 Pedro Alves <pedro@palves.net>
2168
2169 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2170
2171 2020-09-17 Pedro Alves <pedro@palves.net>
2172
2173 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2174 linkage name.
2175 * gdb.base/prologue.exp: Use print /d.
2176 * gdb.base/symbol-alias.exp: Handle C++ output.
2177 * gdb.base/symbol-alias2.c: Handle C++ output.
2178 [__cplusplus] (func): Explicitly specify linkage name.
2179
2180 2020-09-17 Pedro Alves <pedro@palves.net>
2181
2182 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2183 (struct my_key_t): ... this. Adjust all references.
2184 (struct value_t): Rename to ...
2185 (struct my_value_t): ... this. Adjust all references.
2186 (create_map, add_map_element, create_map_map)
2187 (add_map_map_element): Add casts.
2188
2189 2020-09-17 Pedro Alves <pedro@palves.net>
2190
2191 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2192 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2193
2194 2020-09-17 Pedro Alves <pedro@palves.net>
2195
2196 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2197
2198 2020-09-17 Pedro Alves <pedro@palves.net>
2199
2200 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2201 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2202 (charfoo, intfoo): Define full prototype.
2203 * gdb.base/ptype1.c (charfoo): Define full prototype.
2204 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2205 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2206
2207 2020-09-17 Pedro Alves <pedro@palves.net>
2208
2209 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2210 Don't define.
2211 (utf_32_string): Compile for both C and C++.
2212 * gdb.base/charset.exp: Use "print /d".
2213
2214 2020-09-17 Pedro Alves <pedro@palves.net>
2215
2216 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2217 (nullptr): Rename to ...
2218 (null_ptr): ... this.
2219 * gdb.base/watchpoint.exp: Adjust to rename.
2220
2221 2020-09-17 Pedro Alves <pedro@palves.net>
2222
2223 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2224 (three_not_flag): Add casts.
2225
2226 2020-09-17 Pedro Alves <pedro@palves.net>
2227
2228 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2229 char array.
2230 (main): Add references to Barrier, TestStrings, TestStringsH and
2231 TestStringsW.
2232 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2233 and expect a full prototype in C++.
2234
2235 2020-09-17 Pedro Alves <pedro@palves.net>
2236
2237 * gdb.base/nested-addr.c (main): Add cast.
2238 * gdb.base/nested-addr.exp: Use "print /d".
2239
2240 2020-09-17 Pedro Alves <pedro@palves.net>
2241
2242 * gdb.base/break.exp (func): New. Use it throughout when
2243 expecting a function name.
2244
2245 2020-09-17 Pedro Alves <pedro@palves.net>
2246
2247 * gdb.base/display.exp: Issue "set print asm-demangle on".
2248
2249 2020-09-17 Pedro Alves <pedro@palves.net>
2250
2251 * gdb.base/find.c: Include <string.h>.
2252 (init_bufs): Add cast.
2253 * gdb.base/find.exp: Issue "set print asm-demangle on".
2254
2255 2020-09-16 Tom Tromey <tromey@adacore.com>
2256
2257 PR gdb/26598:
2258 * gdb.base/skipcxx.exp: New file.
2259 * gdb.base/skipcxx.cc: New file.
2260
2261 2020-09-16 Tom de Vries <tdevries@suse.de>
2262
2263 PR testsuite/26617
2264 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2265 WITH_DEBUG_SECTIONS is defined.
2266 (xstr, str): New macro.
2267 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2268 to get start and size of _Dmain.
2269 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2270 using additional_flags.
2271
2272 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2273
2274 * gdb.base/bp-cmds-sourced-script.c: New file.
2275 * gdb.base/bp-cmds-sourced-script.exp: New test.
2276 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2277
2278 2020-09-16 Tom de Vries <tdevries@suse.de>
2279
2280 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2281 get the gdb prompt after issuing "monitor exit".
2282
2283 2020-09-16 Tom de Vries <tdevries@suse.de>
2284
2285 PR testsuite/26624
2286 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2287
2288 2020-09-16 Tom de Vries <tdevries@suse.de>
2289
2290 PR testsuite/26618
2291 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2292
2293 2020-09-15 Tom Tromey <tromey@adacore.com>
2294
2295 PR rust/26197:
2296 * lib/rust-support.exp (rust_llvm_version): New proc.
2297 * gdb.rust/simple.exp: Check rust_llvm_version.
2298
2299 2020-09-14 Tom de Vries <tdevries@suse.de>
2300
2301 * gdb.rust/traits.exp: Fix PATH warning.
2302
2303 2020-09-13 Pedro Alves <pedro@palves.net>
2304
2305 * gdb.base/catch-follow-exec.c (main): Add explicit return
2306 statement.
2307 * gdb.base/catch-signal.c (main): Likewise.
2308 * gdb.base/condbreak-call-false.c (main): Likewise.
2309 * gdb.base/consecutive.c (main): Add explicit return
2310 statement and return type.
2311 * gdb.base/cursal.c (main): Add explicit return statement.
2312 * gdb.base/cvexpr.c (main): Likewise.
2313 * gdb.base/display.c (main): Add explicit return statement and
2314 return type.
2315 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2316 * gdb.base/endianity.c (main): Likewise.
2317 * gdb.base/execd-prog.c (main): Likewise.
2318 * gdb.base/gdb1090.c (main): Likewise.
2319 * gdb.base/info_qt.c (main): Likewise.
2320 * gdb.base/lineinc.c (main): Likewise.
2321 * gdb.base/load-command.c (main): Likewise.
2322 * gdb.base/macscp1.c (main): Likewise.
2323 * gdb.base/pr10179-a.c (main): Likewise.
2324 * gdb.base/quit-live.c (main): Likewise.
2325 * gdb.base/scope0.c (main): Likewise.
2326 * gdb.base/settings.c (main): Likewise.
2327 * gdb.base/stack-checking.c (main): Return int.
2328 * gdb.base/varargs.c (main): Add explicit return statement.
2329 * gdb.cp/ambiguous.cc (main): Likewise.
2330 * gdb.cp/anon-struct.cc (main): Likewise.
2331 * gdb.cp/anon-union.cc (main): Likewise.
2332 * gdb.cp/bool.cc (main): Likewise.
2333 * gdb.cp/bs15503.cc (main): Likewise.
2334 * gdb.cp/cplusfuncs.cc (main): Likewise.
2335 * gdb.cp/cttiadd.cc (main): Likewise.
2336 * gdb.cp/extern-c.cc (main): Likewise.
2337 * gdb.cp/filename.cc (main): Likewise.
2338 * gdb.cp/formatted-ref.cc (main): Likewise.
2339 * gdb.cp/mb-ctor.cc (main): Likewise.
2340 * gdb.cp/member-ptr.cc (main): Likewise.
2341 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2342 * gdb.cp/overload-const.cc (main): Likewise.
2343 * gdb.cp/paren-type.cc (main): Likewise.
2344 * gdb.cp/parse-lang.cc (main): Likewise.
2345 * gdb.cp/pr-1023.cc (main): Likewise.
2346 * gdb.cp/psmang1.cc (main): Likewise.
2347 * gdb.cp/readnow-language.cc (main): Likewise.
2348 * gdb.cp/ref-params.cc (main): Likewise.
2349 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2350 * gdb.cp/virtbase2.cc (main): Likewise.
2351 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2352 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2353 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2354 * gdb.mi/mi-console.c (main): Likewise.
2355 * gdb.mi/mi-read-memory.c (main): Likewise.
2356 * gdb.modula2/multidim.c (main): Likewise.
2357 * gdb.opt/inline-small-func.c (main): Likewise.
2358 * gdb.python/py-rbreak.c (main): Likewise.
2359 * gdb.stabs/exclfwd1.c (main): Likewise.
2360 * gdb.trace/qtro.c (main): Likewise.
2361
2362 2020-09-13 Pedro Alves <pedro@palves.net>
2363
2364 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2365 instead of getenv.
2366
2367 2020-09-13 Pedro Alves <pedro@palves.net>
2368
2369 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2370 instead of spawning GDB with remote_spawn.
2371 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2372 gdb_spawn instead of spawning GDB with remote_spawn.
2373
2374 2020-09-13 Pedro Alves <pedro@palves.net>
2375
2376 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2377 file and add calls to first and second.
2378 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2379 add call to f.
2380
2381 2020-09-13 Pedro Alves <pedro@palves.net>
2382
2383 * gdb.mi/mi-break-qualified.cc: New file.
2384 * gdb.mi/mi-break-qualified.exp: New file.
2385 * lib/mi-support.exp (mi_create_breakpoint_multi)
2386 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2387 procedures.
2388 (mi_create_breakpoint_1): New, factored out from
2389 mi_create_breakpoint.
2390
2391 2020-09-13 Pedro Alves <pedro@palves.net>
2392
2393 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2394 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2395 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2396 (register_class): Delete.
2397 (main): Don't call register_class.
2398
2399 2020-09-13 Pedro Alves <pedro@palves.net>
2400
2401 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2402 (do_tests): Remove "calling method for small class" test.
2403 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2404 (register_class): Delete.
2405 (main): Don't call register_class.
2406 * gdb.cp/call-method-register.exp: New file, based on bits removed
2407 from classes.exp.
2408 * gdb.cp/call-method-register.cc: New file, based on bits removed
2409 from classes.cc.
2410
2411 2020-09-13 Pedro Alves <pedro@palves.net>
2412
2413 * gdb.base/msym-bp-2.c: New.
2414 * gdb.base/msym-bp-shl-lib.c: New file.
2415 * gdb.base/msym-bp-shl-main-2.c: New file.
2416 * gdb.base/msym-bp-shl-main.c: New file.
2417 * gdb.base/msym-bp-shl.exp: New file.
2418 * gdb.base/msym-bp.c: New file.
2419 * gdb.base/msym-bp.exp: New file.
2420
2421 2020-09-13 Joel Brobecker <brobecker@adacore.com>
2422
2423 * gdb.base/default.exp: Change $_gdb_major to 11.
2424
2425 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2426 Felix Willgerodt <Felix.Willgerodt@intel.com>
2427
2428 * x86-avx512bf16.c: New file.
2429 * x86-avx512bf16.exp: Likewise.
2430 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2431
2432 2020-09-11 Tom de Vries <tdevries@suse.de>
2433
2434 PR exp/26602
2435 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2436
2437 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2438
2439 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2440
2441 2020-09-10 Alan Modra <amodra@gmail.com>
2442
2443 PR 26597
2444 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2445
2446 2020-09-08 Tom de Vries <tdevries@suse.de>
2447
2448 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2449 after gdb_starti_cmd.
2450
2451 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2452
2453 * lib/fortran.exp (fortran_complex8): New proc.
2454 (fortran_complex16): New proc.
2455 * gdb.fortran/complex.exp: Use routines from fortran.exp
2456 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2457 * gdb.fortran/vla-ptr-info.exp: Likewise.
2458
2459 2020-09-03 Tom de Vries <tdevries@suse.de>
2460
2461 PR breakpoint/26546
2462 * gdb.base/label-without-address.exp: Runto main first.
2463
2464 2020-09-02 Tom Tromey <tromey@adacore.com>
2465
2466 * gdb.ada/mi_var_access.exp: Test children of access variable.
2467 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2468 * gdb.ada/mi_var_array.exp: Update.
2469
2470 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2471
2472 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2473 on docker w/ AUFS storage driver.
2474
2475 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2476
2477 * gdb.base/corefile2.exp (renamed binfile): New tests.
2478
2479 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2480
2481 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2482
2483 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2484
2485 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2486 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2487
2488 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2489
2490 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2491 output, printing a "not saved" value from history and printing a
2492 convenience variable created from a "not saved" value.
2493
2494 2020-08-31 Tom de Vries <tdevries@suse.de>
2495
2496 * gdb.base/eh_return.exp: Use nopie.
2497
2498 2020-08-28 Pedro Alves <pedro@palves.net>
2499
2500 * gdb.base/advance-until-multiple-locations.exp
2501 (advance_overload, until_overload): Adjust to match the
2502 frame/function header instead of the source line text.
2503
2504 2020-08-28 Tom de Vries <tdevries@suse.de>
2505
2506 * gdb.base/label-without-address.c: New test.
2507 * gdb.base/label-without-address.exp: New file.
2508
2509 2020-08-27 Pedro Alves <pedro@palves.net>
2510
2511 PR gdb/26523
2512 PR gdb/26524
2513 * gdb.base/advance-until-multiple-locations.cc: New.
2514 * gdb.base/advance-until-multiple-locations.exp: New.
2515
2516 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2517
2518 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2519
2520 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2521
2522 * gdb.arch/amd64-byte.exp: Make test names unique, use
2523 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2524 * gdb.arch/amd64-dword.exp: Likewise.
2525 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2526 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2527 unique.
2528 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2529 * gdb.arch/amd64-word.exp: Make test names unique, use
2530 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2531 * gdb.arch/i386-byte.exp: Make test names unique, use
2532 gdb_breakpoint.
2533 * gdb.arch/i386-word.exp: Likewise.
2534
2535 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
2536
2537 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2538
2539 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2540
2541 PR gdb/26532
2542 * gdb.threads/stepi-random-signal.exp: Update pattern.
2543
2544 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
2545
2546 PR gdb/26532
2547 * gdb.base/ui-redirect.exp: Update pattern.
2548
2549 2020-08-25 Gary Benson <gbenson@redhat.com>
2550
2551 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2552 when compiling with clang.
2553 * gdb.dwarf2/dw2-restore.exp: Likewise.
2554
2555 2020-08-25 Gary Benson <gbenson@redhat.com>
2556
2557 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2558 Add additional_flags=-Wno-inaccessible-base when compiling
2559 with GCC >= 10.1 or clang. Add additional_flags=-w when
2560 compiling with GCC < 10.
2561
2562 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2563
2564 PR m2/26372
2565 * gdb.modula2/multidim.c: New file.
2566 * gdb.modula2/multidim.exp: New file.
2567
2568 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2569
2570 * lib/gdb.exp (runto): Always emit fail on internal error.
2571
2572 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
2573
2574 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2576 Likewise.
2577 * gdb.threads/stepi-random-signal.exp: Likewise.
2578
2579 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2580
2581 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2582 * gdb.trace/strace.exp: Ditto.
2583
2584 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2585
2586 * gdb.fortran/vla-type.exp: Skip commands not required for
2587 the Flang compiled binaries after prologue fix.
2588
2589 2020-08-17 Tom de Vries <tdevries@suse.de>
2590 Tom Tromey <tromey@adacore.com>
2591
2592 PR rust/26197:
2593 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2594
2595 2020-08-17 Tom Tromey <tromey@adacore.com>
2596
2597 * gdb.ada/mi_var_access.exp: New file.
2598 * gdb.ada/mi_var_access/mi_access.adb: New file.
2599 * gdb.ada/mi_var_access/pck.adb: New file.
2600 * gdb.ada/mi_var_access/pck.ads: New file.
2601
2602 2020-08-16 Tom de Vries <tdevries@suse.de>
2603
2604 PR gdb/25350
2605 * gdb.base/eh_return.c: New test.
2606 * gdb.base/eh_return.exp: New file.
2607
2608 2020-08-15 Tom de Vries <tdevries@suse.de>
2609
2610 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2611 (mixed_func_1d_): Use fortran_charlen_t in decl.
2612
2613 2020-08-15 Tom de Vries <tdevries@suse.de>
2614
2615 PR backtrace/26390
2616 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2617 Update expected pattern.
2618
2619 2020-08-13 Pedro Alves <pedro@palves.net>
2620
2621 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2622 * gdb.fortran/library-module.exp: Likewise.
2623 * gdb.fortran/logical.exp: Likewise.
2624 * gdb.fortran/module.exp: Likewise.
2625 * gdb.fortran/print_type.exp: Likewise.
2626 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2627 * gdb.fortran/vla-datatypes.exp: Likewise.
2628 * gdb.fortran/vla-history.exp: Likewise.
2629 * gdb.fortran/vla-ptr-info.exp: Likewise.
2630 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2631 * gdb.fortran/vla-ptype.exp: Likewise.
2632 * gdb.fortran/vla-sizeof.exp: Likewise.
2633 * gdb.fortran/vla-type.exp: Likewise.
2634 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2635 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2636 * gdb.fortran/vla-value-sub.exp: Likewise.
2637 * gdb.fortran/vla-value.exp: Likewise.
2638
2639 2020-08-13 Pedro Alves <pedro@palves.net>
2640
2641 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2642 * gdb.ada/access_to_packed_array.exp: Likewise.
2643 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2644 * gdb.ada/addr_arith.exp: Likewise.
2645 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2646 * gdb.ada/arr_arr.exp: Likewise.
2647 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2648 * gdb.ada/array_bounds.exp: Likewise.
2649 * gdb.ada/array_of_variable_length.exp: Likewise.
2650 * gdb.ada/array_ptr_renaming.exp: Likewise.
2651 * gdb.ada/array_subscript_addr.exp: Likewise.
2652 * gdb.ada/arraydim.exp: Likewise.
2653 * gdb.ada/arrayparam.exp: Likewise.
2654 * gdb.ada/arrayptr.exp: Likewise.
2655 * gdb.ada/assign_1.exp: Likewise.
2656 * gdb.ada/assign_arr.exp: Likewise.
2657 * gdb.ada/atomic_enum.exp: Likewise.
2658 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2659 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2660 * gdb.ada/bias.exp: Likewise.
2661 * gdb.ada/boolean_expr.exp: Likewise.
2662 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2663 * gdb.ada/bp_enum_homonym.exp: Likewise.
2664 * gdb.ada/bp_inlined_func.exp: Likewise.
2665 * gdb.ada/bp_on_var.exp: Likewise.
2666 * gdb.ada/bp_range_type.exp: Likewise.
2667 * gdb.ada/bp_reset.exp: Likewise.
2668 * gdb.ada/call_pn.exp: Likewise.
2669 * gdb.ada/catch_assert_if.exp: Likewise.
2670 * gdb.ada/catch_ex.exp: Likewise.
2671 * gdb.ada/catch_ex_std.exp: Likewise.
2672 * gdb.ada/char_enum.exp: Likewise.
2673 * gdb.ada/char_param.exp: Likewise.
2674 * gdb.ada/complete.exp: Likewise.
2675 * gdb.ada/cond_lang.exp: Likewise.
2676 * gdb.ada/convvar_comp.exp: Likewise.
2677 * gdb.ada/dgopt.exp: Likewise.
2678 * gdb.ada/disc_arr_bound.exp: Likewise.
2679 * gdb.ada/display_nested.exp: Likewise.
2680 * gdb.ada/dot_all.exp: Likewise.
2681 * gdb.ada/dyn_loc.exp: Likewise.
2682 * gdb.ada/dyn_stride.exp: Likewise.
2683 * gdb.ada/excep_handle.exp: Likewise.
2684 * gdb.ada/expr_delims.exp: Likewise.
2685 * gdb.ada/expr_with_funcall.exp: Likewise.
2686 * gdb.ada/exprs.exp: Likewise.
2687 * gdb.ada/fin_fun_out.exp: Likewise.
2688 * gdb.ada/fixed_cmp.exp: Likewise.
2689 * gdb.ada/formatted_ref.exp: Likewise.
2690 * gdb.ada/frame_arg_lang.exp: Likewise.
2691 * gdb.ada/frame_args.exp: Likewise.
2692 * gdb.ada/fullname_bp.exp: Likewise.
2693 * gdb.ada/fun_addr.exp: Likewise.
2694 * gdb.ada/fun_in_declare.exp: Likewise.
2695 * gdb.ada/fun_overload_menu.exp: Likewise.
2696 * gdb.ada/fun_renaming.exp: Likewise.
2697 * gdb.ada/funcall_char.exp: Likewise.
2698 * gdb.ada/funcall_param.exp: Likewise.
2699 * gdb.ada/funcall_ptr.exp: Likewise.
2700 * gdb.ada/funcall_ref.exp: Likewise.
2701 * gdb.ada/homonym.exp: Likewise.
2702 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2703 * gdb.ada/info_auto_lang.exp: Likewise.
2704 * gdb.ada/info_exc.exp: Likewise.
2705 * gdb.ada/info_types.exp: Likewise.
2706 * gdb.ada/int_deref.exp: Likewise.
2707 * gdb.ada/interface.exp: Likewise.
2708 * gdb.ada/iwide.exp: Likewise.
2709 * gdb.ada/lang_switch.exp: Likewise.
2710 * gdb.ada/length_cond.exp: Likewise.
2711 * gdb.ada/maint_with_ada.exp: Likewise.
2712 * gdb.ada/mi_catch_assert.exp: Likewise.
2713 * gdb.ada/mi_catch_ex.exp: Likewise.
2714 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2715 * gdb.ada/mi_dyn_arr.exp: Likewise.
2716 * gdb.ada/mi_ex_cond.exp: Likewise.
2717 * gdb.ada/mi_exc_info.exp: Likewise.
2718 * gdb.ada/mi_interface.exp: Likewise.
2719 * gdb.ada/mi_prot.exp: Likewise.
2720 * gdb.ada/mi_ref_changeable.exp: Likewise.
2721 * gdb.ada/mi_string_access.exp: Likewise.
2722 * gdb.ada/mi_task_arg.exp: Likewise.
2723 * gdb.ada/mi_task_info.exp: Likewise.
2724 * gdb.ada/mi_var_array.exp: Likewise.
2725 * gdb.ada/mi_var_union.exp: Likewise.
2726 * gdb.ada/mi_variant.exp: Likewise.
2727 * gdb.ada/minsyms.exp: Likewise.
2728 * gdb.ada/mod_from_name.exp: Likewise.
2729 * gdb.ada/nested.exp: Likewise.
2730 * gdb.ada/null_array.exp: Likewise.
2731 * gdb.ada/optim_drec.exp: Likewise.
2732 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2733 * gdb.ada/packed_array_assign.exp: Likewise.
2734 * gdb.ada/packed_tagged.exp: Likewise.
2735 * gdb.ada/pp-rec-component.exp: Likewise.
2736 * gdb.ada/print_chars.exp: Likewise.
2737 * gdb.ada/print_pc.exp: Likewise.
2738 * gdb.ada/ptr_typedef.exp: Likewise.
2739 * gdb.ada/ptype_arith_binop.exp: Likewise.
2740 * gdb.ada/ptype_array.exp: Likewise.
2741 * gdb.ada/ptype_field.exp: Likewise.
2742 * gdb.ada/ptype_tagged_param.exp: Likewise.
2743 * gdb.ada/ptype_union.exp: Likewise.
2744 * gdb.ada/py_range.exp: Likewise.
2745 * gdb.ada/py_taft.exp: Likewise.
2746 * gdb.ada/rdv_wait.exp: Likewise.
2747 * gdb.ada/rec_comp.exp: Likewise.
2748 * gdb.ada/rec_return.exp: Likewise.
2749 * gdb.ada/ref_param.exp: Likewise.
2750 * gdb.ada/ref_tick_size.exp: Likewise.
2751 * gdb.ada/rename_subscript_param.exp: Likewise.
2752 * gdb.ada/repeat_dyn.exp: Likewise.
2753 * gdb.ada/same_component_name.exp: Likewise.
2754 * gdb.ada/same_enum.exp: Likewise.
2755 * gdb.ada/scalar_storage.exp: Likewise.
2756 * gdb.ada/set_wstr.exp: Likewise.
2757 * gdb.ada/small_reg_param.exp: Likewise.
2758 * gdb.ada/str_binop_equal.exp: Likewise.
2759 * gdb.ada/str_ref_cmp.exp: Likewise.
2760 * gdb.ada/str_uninit.exp: Likewise.
2761 * gdb.ada/sub_variant.exp: Likewise.
2762 * gdb.ada/sym_print_name.exp: Likewise.
2763 * gdb.ada/taft_type.exp: Likewise.
2764 * gdb.ada/tagged.exp: Likewise.
2765 * gdb.ada/tagged_access.exp: Likewise.
2766 * gdb.ada/task_bp.exp: Likewise.
2767 * gdb.ada/task_switch_in_core.exp: Likewise.
2768 * gdb.ada/tasks.exp: Likewise.
2769 * gdb.ada/tick_last_segv.exp: Likewise.
2770 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2771 * gdb.ada/type_coercion.exp: Likewise.
2772 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2773 * gdb.ada/unchecked_union.exp: Likewise.
2774 * gdb.ada/uninitialized_vars.exp: Likewise.
2775 * gdb.ada/var_arr_attrs.exp: Likewise.
2776 * gdb.ada/var_arr_typedef.exp: Likewise.
2777 * gdb.ada/var_rec_arr.exp: Likewise.
2778 * gdb.ada/variant-record.exp: Likewise.
2779 * gdb.ada/variant.exp: Likewise.
2780 * gdb.ada/variant_record_packed_array.exp: Likewise.
2781 * gdb.ada/varsize_limit.exp: Likewise.
2782 * gdb.ada/whatis_array_val.exp: Likewise.
2783 * gdb.ada/widewide.exp: Likewise.
2784 * gdb.ada/win_fu_syms.exp: Likewise.
2785
2786 2020-08-12 Gary Benson <gbenson@redhat.com>
2787
2788 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2789
2790 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2791
2792 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2793 unset the array variable.
2794
2795 2020-08-03 Tom de Vries <tdevries@suse.de>
2796
2797 PR symtab/26333
2798 * lib/dwarf.exp (DW_LNE_user): New proc.
2799 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2800 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2801
2802 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2803
2804 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2805 to 'uintptr_t'
2806 (inttypes.h): Include.
2807
2808 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2809
2810 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2811 (C5_24k): Delete.
2812 (C5_8k, C5_64k, C5_256k): New macros.
2813 (buf_ro): Allocate 256 KiB of initialized data.
2814
2815 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2816
2817 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2818 that attempt to overwrite an existing condition with a condition
2819 that fails parsing and also with a condition that parses fine
2820 but contains junk at the end.
2821
2822 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2823
2824 * gdb.base/condbreak-bad.c: New test.
2825 * gdb.base/condbreak-bad.exp: New file.
2826
2827 2020-07-30 Tom de Vries <tdevries@suse.de>
2828
2829 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2830 out of ...
2831 (GDBInfoModuleSymbols::check_entry): ... here.
2832 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2833 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2834 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2835
2836 2020-07-30 Tom de Vries <tdevries@suse.de>
2837
2838 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2839 "__class_some_module_Number_t" optional.
2840
2841 2020-07-29 Tom de Vries <tdevries@suse.de>
2842
2843 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2844 multiple locations.
2845
2846 2020-07-29 Tom de Vries <tdevries@suse.de>
2847
2848 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2849 rather than function name.
2850
2851 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 PR symtab/26270:
2854 * gdb.cp/disasm-func-name.cc: New file.
2855 * gdb.cp/disasm-func-name.exp: New file.
2856
2857 2020-07-28 Tom Tromey <tromey@adacore.com>
2858
2859 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2860 'varval' location.
2861
2862 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2863
2864 * gdb.python/py-unwind.py: Update to make use of a register
2865 descriptor.
2866
2867 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2870
2871 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2872
2873 PR fortran/23051
2874 PR fortran/26139
2875 * gdb.fortran/class-allocatable-array.exp: New file.
2876 * gdb.fortran/class-allocatable-array.f90: New file.
2877 * gdb.fortran/pointer-to-pointer.exp: New file.
2878 * gdb.fortran/pointer-to-pointer.f90: New file.
2879
2880 2020-07-25 Tom de Vries <tdevries@suse.de>
2881
2882 PR symtab/26243
2883 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2884 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2885
2886 2020-07-24 Tom de Vries <tdevries@suse.de>
2887
2888 PR testsuite/26293
2889 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2890
2891 2020-07-23 Pedro Alves <pedro@palves.net>
2892
2893 * gdb.server/server-kill.exp (prepare): New, factored out from the
2894 top level.
2895 (kill_server): New.
2896 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2897 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2898
2899 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2900
2901 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2902
2903 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2904
2905 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2906 Initialize to empty string at top level.
2907 (gdb_wrapper_init): Revert check for file existence on build.
2908 Build the wrapper in its default place, not a build-specific
2909 location. When host == build, make the pathname absolute.
2910 (gdb_compile): Delete leftover declaration of
2911 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2912 string instead of uninitialized.
2913
2914 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2915
2916 * gdb.base/corefile2.exp: New file.
2917 * gdb.base/coremaker2.exp: New file.
2918
2919 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2920
2921 * gdb.base/coredump-filter.exp: Add second
2922 non-Private-Shared-Anon-File test.
2923 (test_disasm): Rename binfile for test which is expected
2924 to fail.
2925
2926 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2927
2928 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2929 data in core file".
2930 * gdb.base/coremaker.c (buf2ro): New global.
2931 (mmapdata): Add a read-only mmap mapping.
2932
2933 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2934
2935 PR corefiles/25631
2936 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2937 New test.
2938 * gdb.base/coremaker.c (buf3): New global.
2939 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2940 flags.
2941
2942 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2943
2944 * gdb.base/coremaker.c (filler_ro): New global constant.
2945
2946 2020-07-22 Tom Tromey <tromey@adacore.com>
2947
2948 * gdb.ada/mi_prot.exp: New file.
2949 * gdb.ada/mi_prot/pkg.adb: New file.
2950 * gdb.ada/mi_prot/pkg.ads: New file.
2951 * gdb.ada/mi_prot/prot.adb: New file.
2952
2953 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2954
2955 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2956 loads two JITers.
2957
2958 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2959
2960 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2961
2962 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2963
2964 * gdb.python/py-arch-reg-names.exp: Additional tests.
2965
2966 2020-07-21 Tom de Vries <tdevries@suse.de>
2967
2968 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2969 breakpoint locations".
2970 * gdb.reverse/solib-reverse.exp: Same.
2971
2972 2020-07-21 Tom de Vries <tdevries@suse.de>
2973
2974 * gdb.reverse/step-reverse.c (callee): Merge statements.
2975
2976 2020-07-21 Tom de Vries <tdevries@suse.de>
2977
2978 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2979 line numbers for some variables.
2980
2981 2020-07-21 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.opt/inline-locals.c (init_array): New func.
2984 (func1): Use init_array.
2985 * gdb.opt/inline-locals.exp: Update pattern.
2986
2987 2020-07-21 Tom de Vries <tdevries@suse.de>
2988
2989 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2990 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2991
2992 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2993
2994 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2995 * gdb.guile/types-module.exp: Remove "ERROR:" from
2996 regexps since Guile 3.0 no longer prints that.
2997
2998 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2999
3000 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3001 error regexp to match on Guile 2.2.
3002
3003 2020-07-20 Gary Benson <gbenson@redhat.com>
3004
3005 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3006 with clang.
3007
3008 2020-07-20 Tom de Vries <tdevries@suse.de>
3009
3010 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3011 (omp_set_lock_in_order): New function.
3012 (single_scope, multi_scope, nested_func, nested_parallel): Use
3013 omp_set_lock_in_order and omp_unset_lock.
3014 (main): Init and destroy lock and lock2.
3015
3016 2020-07-20 Tom de Vries <tdevries@suse.de>
3017
3018 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3019
3020 2020-07-20 Tom de Vries <tdevries@suse.de>
3021
3022 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3023
3024 2020-07-17 Tom de Vries <tdevries@suse.de>
3025
3026 * gdb.base/valgrind-infcall-2.c: New test.
3027 * gdb.base/valgrind-infcall-2.exp: New file.
3028 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3029
3030 2020-07-17 Tom de Vries <tdevries@suse.de>
3031
3032 * gdb.dlang/circular.c (found): Use found_label as label name.
3033 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3034 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3035 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3036 * gdb.dwarf2/ada-linkage-name.exp: Same.
3037 * gdb.dwarf2/arr-subrange.exp: Same.
3038 * gdb.dwarf2/atomic-type.exp: Same.
3039 * gdb.dwarf2/comp-unit-lang.exp: Same.
3040 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3041 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3042 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3043 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3044 * gdb.dwarf2/implptr-64bit.exp: Same.
3045 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3046 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3047 * gdb.dwarf2/imported-unit.exp: Same.
3048 * gdb.dwarf2/main-subprogram.exp: Same.
3049 * gdb.dwarf2/missing-type-name.exp: Same.
3050 * gdb.dwarf2/nonvar-access.exp: Same.
3051 * gdb.dwarf2/struct-with-sig.exp: Same.
3052 * gdb.dwarf2/typedef-void-finish.exp: Same.
3053 * gdb.dwarf2/void-type.exp: Same.
3054
3055 2020-07-17 Tom de Vries <tdevries@suse.de>
3056
3057 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3058 src parameter.
3059 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3060 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3061 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3062 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3063 * gdb.dwarf2/dwz.exp: Same.
3064 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3065 * gdb.dwarf2/implref-array.exp: Same.
3066 * gdb.dwarf2/implref-const.exp: Same.
3067 * gdb.dwarf2/implref-global.exp: Same.
3068 * gdb.dwarf2/implref-struct.exp: Same.
3069 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3070 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3071 * gdb.dwarf2/var-access.exp: Same.
3072 * gdb.dwarf2/varval.exp: Same.
3073 * gdb.trace/entry-values.exp: Same.
3074
3075 2020-07-17 Tom de Vries <tdevries@suse.de>
3076
3077 * lib/dwarf.exp (Dwarf::extern): Remove.
3078 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3079 * gdb.dlang/circular.exp: Same.
3080 * gdb.dwarf2/comp-unit-lang.exp: Same.
3081 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3082 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3083 * gdb.dwarf2/dwz.exp: Same.
3084 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3085 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3086 * gdb.dwarf2/imported-unit.exp: Same.
3087 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3088
3089 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3090
3091 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3092 Use double quotes instead of single quotes.
3093
3094 2020-07-16 Caroline Tice <cmtice@google.com>
3095
3096 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3097 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3098
3099 2020-07-16 Tom de Vries <tdevries@suse.de>
3100
3101 * lib/dwarf.exp (program): Initialize _line.
3102 (DW_LNE_end_sequence): Reinitialize _line.
3103 (DW_LNS_advance_line): Update _line.
3104 (line): New proc.
3105 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3106 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3107 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3108 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3109 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3110 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3111
3112 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3113
3114 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3115 generic.
3116
3117 2020-07-15 Tom de Vries <tdevries@suse.de>
3118
3119 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3120 is_amd64_regs_target.
3121
3122 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3123
3124 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3125 * gdb.fortran/ptype-on-functions.f90: Likewise.
3126
3127 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3128
3129 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3130 values in documentation for addr_size to 4 and 8.
3131
3132 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.arch/amd64-osabi.exp: Update.
3135 * gdb.arch/arm-disassembler-options.exp: Update.
3136 * gdb.arch/powerpc-disassembler-options.exp: Update.
3137 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3138 * gdb.arch/s390-disassembler-options.exp: Update.
3139 * gdb.base/all-architectures.exp.tcl: Update.
3140 * gdb.base/attach-pie-noexec.exp: Update.
3141 * gdb.base/catch-syscall.exp: Update.
3142 * gdb.xml/tdesc-arch.exp: Update.
3143
3144 2020-07-14 Tom de Vries <tdevries@suse.de>
3145
3146 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3147 (local_gettid): ... this.
3148 (fn): Update.
3149
3150 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3151
3152 * gdb.base/info_sources.exp: Skip directory match tests on
3153 remote hosts.
3154
3155 2020-07-13 Gary Benson <gbenson@redhat.com>
3156
3157 * gdb.base/savedregs.exp (caller): Use parentheses to
3158 make expected expression evaluation ordering explicit.
3159
3160 2020-07-13 Gary Benson <gbenson@redhat.com>
3161
3162 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3163
3164 2020-07-13 Gary Benson <gbenson@redhat.com>
3165
3166 * gdb.base/bigcore.c (main): Use a volatile pointer when
3167 attempting to trigger a SIGSEGV.
3168 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3169 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3170 * gdb.base/savedregs.c (thrower): Likewise.
3171 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3172
3173 2020-07-13 Gary Benson <gbenson@redhat.com>
3174
3175 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3176 defining and using VLA structure fields into...
3177 * gdb.base/vla-struct-fields.c: New file.
3178 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3179 tests into...
3180 * gdb.base/vla-struct-fields.exp: New file.
3181
3182 2020-07-13 Tom de Vries <tdevries@suse.de>
3183
3184 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3185 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3186 * gdb.base/gold-gdb-index.exp: Same.
3187 * gdb.base/morestack.exp: Same.
3188
3189 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3190
3191 PR rust/26121
3192 * gdb.rust/modules.rs: Prevent linker from discarding test
3193 symbol.
3194
3195 2020-07-10 Pedro Alves <pedro@palves.net>
3196
3197 PR gdb/26199
3198 * gdb.multi/multi-target.c (exit_thread): New.
3199 (thread_start): Break loop if EXIT_THREAD.
3200 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3201 (top level) Call test_no_resumed.
3202
3203 2020-07-08 Tom Tromey <tromey@adacore.com>
3204
3205 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3206 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3207
3208 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3209
3210 PR python/22748
3211 * gdb.opt/inline-frame-tailcall.c: New file.
3212 * gdb.opt/inline-frame-tailcall.exp: New file.
3213 * gdb.python/py-unwind-inline.c: New file.
3214 * gdb.python/py-unwind-inline.exp: New file.
3215 * gdb.python/py-unwind-inline.py: New file.
3216
3217 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3218
3219 * gdb.python/py-arch-reg-groups.exp: New file.
3220
3221 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3222
3223 * gdb.python/py-arch-reg-names.exp: New file.
3224
3225 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3226
3227 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3228 gdb.PendingFrame.architecture method.
3229
3230 2020-07-06 Tom de Vries <tdevries@suse.de>
3231
3232 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3233
3234 2020-07-03 Pedro Alves <palves@redhat.com>
3235
3236 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3237 explicitly write negative numbers.
3238 * gdb.base/structs2.exp: Adjust expected output.
3239
3240 2020-07-03 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.base/charset.c (init_string): Change all char parameters to
3243 unsigned char parameters.
3244
3245 2020-07-03 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.base/call-sc.exp (start_scalars_test): Use
3248 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3249 * gdb.base/overlays.c: Remove references to PARAMS.
3250 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3251 * gdb.base/reread.exp: Don't set 'prototypes' global.
3252 * gdb.base/structs.exp (start_structs_test): Use
3253 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3254 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3255 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3256 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3257 call.
3258 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3259
3260 2020-07-03 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.base/m32rovly.c: Delete.
3263 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3264
3265 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3266
3267 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3268 of gdb_py_test_multiple.
3269 * gdb.python/py-cmd.exp: Likewise.
3270 * gdb.python/py-events.exp: Likewise.
3271 * gdb.python/py-function.exp: Likewise.
3272 * gdb.python/py-inferior.exp: Likewise.
3273 * gdb.python/py-infthread.exp: Likewise.
3274 * gdb.python/py-linetable.exp: Likewise.
3275 * gdb.python/py-parameter.exp: Likewise.
3276 * gdb.python/py-value.exp: Likewise.
3277
3278 2020-06-30 Tom de Vries <tdevries@suse.de>
3279
3280 PR testsuite/26175
3281 * lib/future.exp (gdb_default_target_compile): Detect and handle
3282 early_flags.
3283
3284 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
3285
3286 * boards/simavr.exp (gdb_load): Catch errors when closing
3287 previous connection. Close connection, wait for process and
3288 unset simavr_spawn_id on failure.
3289
3290 2020-06-29 Tom de Vries <tdevries@suse.de>
3291
3292 * lib/gdb.exp (unknown): Make test-case unresolved.
3293
3294 2020-06-29 Tom de Vries <tdevries@suse.de>
3295
3296 PR gdb/25475
3297 * gdb.server/solib-list.exp: Verify that the symbol reload
3298 confirmation question is asked.
3299
3300 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3301
3302 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3303 have a input seq nr in each pass message.
3304 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
3305 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3306 * gdb.python/python.exp: Make test names unique,
3307 use gdb_test_multiline instead of gdb_py_test_multiple,
3308 use $gdb_test_name.
3309 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3310
3311 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
3312
3313 * configure.ac: Add --enable-libctf.
3314 * aclocal.m4: sinclude ../config/enable.m4.
3315 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3316 * lib/gdb.exp (skip_ctf_tests): Use it.
3317 * gdb.base/ctf-constvars.exp: Error message tweak.
3318 * gdb.base/ctf-ptype.exp: Likewise.
3319 * configure: Regenerate.
3320
3321 2020-06-26 Gary Benson <gbenson@redhat.com>
3322
3323 * gdb.cp/try_catch.cc: Include string.h.
3324 (main): Replace comparison against string literal with
3325 strcmp, avoiding build failure with -Wstring-compare.
3326 Add "marker test-complete".
3327 * gdb.cp/try_catch.exp: Run the test to the above marker,
3328 then verify that the value of "test" is still true.
3329
3330 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3331
3332 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3333
3334 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3337
3338 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3341 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3342 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3343 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3344 * gdb.arch/riscv-tdesc-loading.exp: New file.
3345
3346 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3347
3348 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3349
3350 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3351
3352 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3353 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3354 * gdb.arch/riscv-tdesc-regs.c: New file.
3355 * gdb.arch/riscv-tdesc-regs.exp: New file.
3356
3357 2020-06-24 Pedro Alves <palves@redhat.com>
3358
3359 * gdb.arch/amd64-entry-value-paramref.exp: Use
3360 prepare_for_testing_full and don't pass "c++" for the .S file
3361 build spec.
3362 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3363 $options, since it's an assembly file. Remove -Wno-deprecated.
3364 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3365 compiling C++ programs.
3366
3367 2020-06-24 Pedro Alves <palves@redhat.com>
3368
3369 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3370 Clang, add "-Wno-unknown-warning-option" to the options.
3371
3372 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 * gdb.xml/tdesc-reload.c: New file.
3375 * gdb.xml/tdesc-reload.exp: New file.
3376 * gdb.xml/maint-xml-dump-01.xml: New file.
3377 * gdb.xml/maint-xml-dump-02.xml: New file.
3378 * gdb.xml/maint-xml-dump.exp: New file.
3379
3380 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3381
3382 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3383 Adjust for omitted commands when TUI is disabled.
3384
3385 2020-06-23 Gary Benson <gbenson@redhat.com>
3386 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3389 * gdb.cp/nsimport.cc: Likewise.
3390 * gdb.cp/nsnested.cc: Likewise.
3391 * gdb.cp/nsnoimports.cc: Likewise.
3392 * gdb.cp/nsusing.cc: Likewise.
3393 * gdb.cp/smartp.cc: Likewise.
3394 * gdb.python/py-pp-integral.c: Likewise.
3395 * gdb.python/py-pp-re-notag.c: Likewise.
3396
3397 2020-06-23 Gary Benson <gbenson@redhat.com>
3398
3399 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3400 * gdb.cp/nsimport.cc: Likewise.
3401 * gdb.cp/nsnested.cc: Likewise.
3402 * gdb.cp/nsnoimports.cc: Likewise.
3403 * gdb.cp/nsusing.cc: Likewise.
3404 * gdb.cp/smartp.cc: Likewise.
3405 * gdb.python/py-pp-integral.c: Likewise.
3406 * gdb.python/py-pp-re-notag.c: Likewise.
3407
3408 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3409
3410 * gdb.base/default-args.exp: New test.
3411 * gdb.base/default-args.c: New file.
3412 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3413 * gdb.base/default.exp: Update to new help text.
3414 * gdb.base/help.exp: Likewise.
3415 * gdb.base/page.exp: Likewise.
3416 * gdb.base/style.exp: Likewise.
3417 * gdb.guile/guile.exp: Likewise.
3418 * gdb.python/python.exp: Likewise.
3419
3420 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3421
3422 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3423 remote host. Fix search path syntax on Windows host.
3424
3425 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3426
3427 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3428 over 'exec-file-mismatch'.
3429 * gdb.base/attach.c: Mark should_exit volatile.
3430 * gdb.base/attach2.c: Likewise. Add a comment explaining
3431 why the sleep cannot be big.
3432 * gdb.base/attach3.c: New file.
3433
3434 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3435
3436 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3437 prefix optional.
3438
3439 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3440
3441 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3442 for remote host.
3443
3444 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3445 Hafiz Abid Qadeer <abidh@codesourcery.com>
3446
3447 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3448 file sent to remote host.
3449 (top level): Allow int32_t as type of 32-bit register.
3450
3451 2020-06-19 Tom de Vries <tdevries@suse.de>
3452
3453 * lib/gdb.exp (gdb_note): New proc.
3454 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3455 (gdb_default_target_compile): ... here. Only call
3456 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3457 (use_gdb_compile): Change to array.
3458 (toplevel): Update sets of use_gdb_compile to specify language.
3459 Warn about default_target_compile override. Store dejagnu's version
3460 of default_target_compile in dejagnu_default_target_compile.
3461
3462 2020-06-18 Tom de Vries <tdevries@suse.de>
3463
3464 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3465 (default_gdb_init): ... here.
3466
3467 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3468
3469 Fix TUI support checks in gdb.tui tests.
3470
3471 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3472 just say UNSUPPORTED.
3473 * gdb.tui/corefile-run.exp: Likewise.
3474 * gdb.tui/empty.exp: Likewise.
3475 * gdb.tui/list-before.exp: Likewise.
3476 * gdb.tui/list.exp: Likewise.
3477 * gdb.tui/main.exp: Likewise.
3478 * gdb.tui/regs.exp: Likewise.
3479 * gdb.tui/resize.exp: Likewise.
3480 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3481 * gdb.tui/tui-layout-asm.exp: Likewise.
3482 * gdb.tui/tui-missing-src.exp: Likewise.
3483 * gdb.tui/winheight.exp: Likewise.
3484 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3485
3486 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3487
3488 Fix TCL error in gdb.python/py-format-string.exp.
3489
3490 * gdb.python/py-format-string.exp: Move test for python support
3491 earlier, out of function body.
3492
3493 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
3494
3495 * gdb.base/index-cache-load-twice.c: New.
3496 * gdb.base/index-cache-load-twice.exp: New.
3497
3498 2020-06-17 Keith Seitz <keiths@redhat.com>
3499
3500 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
3501 when executing "gdb --configuration".
3502
3503 2020-06-17 Tom de Vries <tdevries@suse.de>
3504
3505 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3506 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3507 conditional on presence of gdb_tcl_unknown.
3508 (gdb_finish): Make override undo conditional on presence of
3509 gdb_tcl_unknown.
3510
3511 2020-06-16 Tom Tromey <tom@tromey.com>
3512
3513 * gdb.python/tui-window.py (failwin): New function. Register it
3514 as a TUI window type.
3515 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3516
3517 2020-06-16 Gary Benson <gbenson@redhat.com>
3518
3519 * gdb.python/py-nested-maps.c (create_map): Add missing return
3520 value.
3521 (create_map_map): Likewise.
3522
3523 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3524
3525 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3526 variable.
3527 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3528 and use the already-defined 'options' variable.
3529
3530 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3531 Tom de Vries <tdevries@suse.de>
3532
3533 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3534 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3535 (gdb_setup_known_globals): New proc.
3536 (gdb_cleanup_globals): New proc.
3537 * lib/gdb.exp (load_lib): New override proc.
3538 (gdb_stdin_log_init): Set var in_file as persistent global.
3539 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3540 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3541 fpc_compiler as persistent global.
3542
3543 2020-06-12 Tom de Vries <tdevries@suse.de>
3544
3545 * lib/tuiterm.exp (spawn): Rename to ...
3546 (tui_spawn): ... this.
3547 (toplevel): Move rename of spawn ...
3548 (gdb_init_tuiterm): ... here. New proc.
3549 (gdb_finish_tuiterm): New proc.
3550 * lib/gdb.exp (gdb_finish_hooks): New global var.
3551 (gdb_finish): Handle gdb_finish_hooks.
3552 (tuiterm_env): New proc.
3553 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3554 tuiterm_env.
3555 * gdb.tui/basic.exp: Same.
3556 * gdb.tui/corefile-run.exp: Same.
3557 * gdb.tui/empty.exp: Same.
3558 * gdb.tui/list-before.exp: Same.
3559 * gdb.tui/list.exp: Same.
3560 * gdb.tui/main.exp: Same.
3561 * gdb.tui/new-layout.exp: Same.
3562 * gdb.tui/regs.exp: Same.
3563 * gdb.tui/resize.exp: Same.
3564 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3565 * gdb.tui/tui-layout-asm.exp: Same.
3566 * gdb.tui/tui-missing-src.exp: Same.
3567 * gdb.tui/winheight.exp: Same.
3568
3569 2020-06-12 Tom de Vries <tdevries@suse.de>
3570
3571 PR testsuite/26110
3572 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3573 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3574
3575 2020-06-11 Tom Tromey <tom@tromey.com>
3576
3577 PR gdb/18318:
3578 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3579 floating point tests.
3580
3581 2020-06-11 Keith Seitz <keiths@redhat.com>
3582
3583 PR gdb/21356
3584 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3585 vla_struct.
3586 Add new struct vla_typedef and union vla_typedef_union and
3587 corresponding instantiation objects.
3588 Initialize new objects.
3589 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3590 and vla_typedef_union_object.
3591 Fixup type for vla_struct_object.
3592
3593 2020-06-11 Tom de Vries <tdevries@suse.de>
3594
3595 * lib/gdb.exp (with_override): New proc, factored out of ...
3596 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3597
3598 2020-06-10 Tom de Vries <tdevries@suse.de>
3599
3600 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3601
3602 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3603
3604 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3605 parameter, update callers.
3606
3607 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
3608
3609 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3610 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3611 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3612
3613 2020-06-04 Tom de Vries <tdevries@suse.de>
3614
3615 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3616
3617 2020-06-04 Tom de Vries <tdevries@suse.de>
3618
3619 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3620 exp_continue.
3621
3622 2020-06-04 Tom de Vries <tdevries@suse.de>
3623
3624 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3625
3626 2020-06-03 Tom de Vries <tdevries@suse.de>
3627
3628 PR symtab/26046
3629 * gdb.cp/breakpoint-locs-2.cc: New test.
3630 * gdb.cp/breakpoint-locs.cc: New test.
3631 * gdb.cp/breakpoint-locs.exp: New file.
3632 * gdb.cp/breakpoint-locs.h: New test.
3633
3634 2020-06-03 Tom de Vries <tdevries@suse.de>
3635
3636 PR testsuite/25609
3637 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3638 value of global verbose.
3639 * gdb.base/jit-elf.exp: Same.
3640 * gdb.base/jit-reader.exp: Same.
3641
3642 2020-06-02 Tom de Vries <tdevries@suse.de>
3643
3644 * gdb.dwarf2/multidictionary.exp: Don't use
3645 gdb_spawn_with_cmdline_opts.
3646
3647 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3650 use_header case.
3651 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3652 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3653 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3654 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3655 * gdb.dwarf2/dw2-inline-header.c: New file.
3656 * gdb.dwarf2/dw2-inline-header.h: New file.
3657
3658 2020-05-30 Pedro Alves <palves@redhat.com>
3659
3660 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3661 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3662
3663 2020-05-29 Gary Benson <gbenson@redhat.com>
3664
3665 * gdb.compile/compile-cplus.exp (additional_flags): Also
3666 set when building with clang.
3667 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3668 when building with clang.
3669
3670 2020-05-29 Gary Benson <gbenson@redhat.com>
3671
3672 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3673 building with clang.
3674 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3675
3676 2020-05-29 Gary Benson <gbenson@redhat.com>
3677
3678 * gdb.cp/koenig.exp (prepare_for_testing): Add
3679 additional_flags=-Wno-unused-comparison.
3680 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3681
3682 2020-05-28 Gary Benson <gbenson@redhat.com>
3683
3684 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3685 statement.
3686
3687 2020-05-28 Gary Benson <gbenson@redhat.com>
3688
3689 * gdb.cp/classes.exp (prepare_for_testing): Add
3690 additional_flags=-Wno-deprecated-register.
3691 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3692 * gdb.cp/misc.exp: Likewise.
3693
3694 2020-05-28 Gary Benson <gbenson@redhat.com>
3695
3696 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3697 (test_op_new::operator new): Add return statement.
3698 (test_op_new_array::operator new[]): Likewise.
3699
3700 2020-05-27 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3703 check. Use test_gdb_complete_unique instead of
3704 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3705 test_gdb_complete_multiple instead of
3706 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3707
3708 2020-05-27 Luis Machado <luis.machado@linaro.org>
3709
3710 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3711 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3712 * gdb.arch/arm-disassembler-options.exp: Likewise.
3713 * gdb.arch/arm-disp-step.exp: Likewise.
3714 * gdb.arch/thumb-prologue.exp: Likewise.
3715 * gdb.base/async.exp: Likewise.
3716 * gdb.base/auxv.exp: Likewise.
3717 * gdb.base/complex-parts.exp: Likewise.
3718 * gdb.base/ena-dis-br.exp: Likewise.
3719 * gdb.base/foll-exec.exp: Likewise.
3720 * gdb.base/permissions.exp: Likewise.
3721 * gdb.base/relocate.exp: Likewise.
3722 * gdb.base/return2.exp: Likewise.
3723 * gdb.base/sigbpt.exp: Likewise.
3724 * gdb.base/siginfo-obj.exp: Likewise.
3725 * gdb.cp/converts.exp: Likewise.
3726 * gdb.cp/exceptprint.exp: Likewise.
3727 * gdb.cp/inherit.exp: Likewise.
3728 * gdb.cp/nsnoimports.exp: Likewise.
3729 * gdb.cp/virtbase2.exp: Likewise.
3730 * gdb.mi/mi-var-cmd.exp: Likewise.
3731 * gdb.mi/var-cmd.c: Likewise.
3732
3733 2020-05-26 Tom Tromey <tromey@adacore.com>
3734
3735 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3736
3737 2020-05-26 Tom Tromey <tromey@adacore.com>
3738
3739 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3740 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3741 type.
3742 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3743 variable.
3744
3745 2020-05-26 Christian Biesinger <cbiesinger@google.com>
3746
3747 * Makefile.in: Use = instead of == for the test command
3748 for portability.
3749
3750 2020-05-26 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.base/gold-gdb-index-2.c: New test.
3753 * gdb.base/gold-gdb-index.c: New test.
3754 * gdb.base/gold-gdb-index.exp: New file.
3755 * gdb.base/gold-gdb-index.h: New test.
3756
3757 2020-05-25 Tom de Vries <tdevries@suse.de>
3758
3759 * boards/gold-gdb-index.exp: New file.
3760
3761 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3762
3763 * boards/simavr.exp: New file.
3764
3765 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3766
3767 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3768 * gdb.base/inferior-args.exp: New file.
3769 * gdb.base/inferior-args.c: New file.
3770
3771 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3772
3773 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3774 inferior_args. Pass it to gdb_reload.
3775 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3776 inferior_args.
3777 (gdb_reload): Add inferior_args argument.
3778 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3779 pass it to gdbserver_run.
3780 * boards/native-gdbserver.exp: Do not set noargs.
3781 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3782 inferior_args argument.
3783 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3784 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3785 * gdb.base/args.exp: Likewise.
3786
3787 2020-05-25 Tom de Vries <tdevries@suse.de>
3788
3789 * lib/gdb.exp (exec_is_pie): Add comment.
3790
3791 2020-05-25 Tom de Vries <tdevries@suse.de>
3792
3793 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3794 instead of $binfile in the untested message.
3795
3796 2020-05-25 Tom de Vries <tdevries@suse.de>
3797
3798 PR testsuite/26031
3799 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3800
3801 2020-05-25 Tom de Vries <tdevries@suse.de>
3802
3803 * boards/gold.exp: New file.
3804
3805 2020-05-23 Tom Tromey <tom@tromey.com>
3806
3807 * gdb.base/style.exp: Remove completion styling test.
3808 * lib/gdb-utils.exp (style): Remove completion styles.
3809
3810 2020-05-23 Tom Tromey <tom@tromey.com>
3811
3812 * gdb.base/style.exp: Add completion styling test.
3813 * lib/gdb-utils.exp (style): Add completion styles.
3814
3815 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3816
3817 * gdb.base/annota1.exp: Update expected results.
3818 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3819 test name.
3820 * gdb.cp/annota3.exp: Update expected results.
3821
3822 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
3823
3824 PR gdb/26016
3825 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3826 against MAP_FAILED.
3827 * gdb.base/coremaker.c (mmapdata): Likewise.
3828 * gdb.base/jit-reader-host.c (main): Likewise.
3829 * gdb.base/sym-file-loader.c (load): Likewise.
3830 (load_shlib): Likewise.
3831
3832 2020-05-20 Tom Tromey <tromey@adacore.com>
3833
3834 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3835
3836 2020-05-20 Tom de Vries <tdevries@suse.de>
3837
3838 PR symtab/25833
3839 * gdb.base/with-mf-inc.c: New test.
3840 * gdb.base/with-mf-main.c: New test.
3841 * gdb.base/with-mf.exp: New file.
3842
3843 2020-05-19 Tom Tromey <tromey@adacore.com>
3844
3845 * gdb.rust/simple.exp: Restore missing test result.
3846
3847 2020-05-19 Tom de Vries <tdevries@suse.de>
3848
3849 * gdb.base/gdb-caching-proc.exp: Fix typo.
3850
3851 2020-05-19 Tom Tromey <tromey@adacore.com>
3852
3853 * gdb.rust/simple.exp: Add some test descriptions.
3854 (test_one_slice): Use with_test_prefix.
3855
3856 2020-05-18 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3859
3860 2020-05-17 Pedro Alves <palves@redhat.com>
3861
3862 PR gdb/25741
3863 * gdb.base/hw-sw-break-same-address.exp: New file.
3864
3865 2020-05-16 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3868 LAST_LOADED_FILE accordingly.
3869
3870 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3871
3872 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3873
3874 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3875
3876 * gdb.base/help.exp: Test apropos and help for commands
3877 having aliases. Fixed comments not starting with an
3878 upper-case letter or not finishing with a dot.
3879
3880 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3881
3882 * gdb.base/alias.exp: Update help output check.
3883
3884 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3885
3886 * gdb.base/default.exp: Update output following fixes.
3887
3888 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3889
3890 * gdb.base/alias.exp: Test aliases starting with a prefix of
3891 another alias.
3892
3893 2020-05-15 Gary Benson <gbenson@redhat.com>
3894
3895 * gdb.base/info-os.c (main): Add return statement.
3896 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3897 * gdb.base/large-frame-2.c (func): Likewise.
3898 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3899 * gdb.base/pr10179-b.c (foo2): Likewise.
3900 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3901 * gdb.base/watch-cond.c (func): Likewise.
3902 * gdb.multi/goodbye.c (verylongfun): Likewise.
3903 * gdb.multi/hello.c (commonfun): Likewise.
3904 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3905 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3906 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3907 Likewise.
3908 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3909 * gdb.threads/interrupt-while-step-over.c (child_function):
3910 Likewise.
3911 * gdb.trace/actions-changed.c (end): Likewise.
3912
3913 2020-05-15 Gary Benson <gbenson@redhat.com>
3914
3915 * gdb.opencl/callfuncs.exp: Report when test skipped.
3916 * gdb.opencl/convs_casts.exp: Likewise.
3917 * gdb.opencl/datatypes.exp: Likewise.
3918 * gdb.opencl/operators.exp: Likewise.
3919 * gdb.opencl/vec_comps.exp: Likewise.
3920
3921 2020-05-15 Tom de Vries <tdevries@suse.de>
3922
3923 * gdb.base/align.exp.in: Rename to ...
3924 * gdb.base/align.exp.tcl: ... this.
3925 * gdb.base/align-c++.exp: Update.
3926 * gdb.base/align-c.exp: Update.
3927 * gdb.base/all-architectures.exp.in: Rename to ...
3928 * gdb.base/all-architectures.exp: ... this.
3929 * gdb.base/all-architectures-0.exp: Update.
3930 * gdb.base/all-architectures-1.exp: Update.
3931 * gdb.base/all-architectures-2.exp: Update.
3932 * gdb.base/all-architectures-3.exp: Update.
3933 * gdb.base/all-architectures-4.exp: Update.
3934 * gdb.base/all-architectures-5.exp: Update.
3935 * gdb.base/all-architectures-6.exp: Update.
3936 * gdb.base/all-architectures-7.exp: Update.
3937 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3938 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3939 * gdb.base/infcall-nested-structs-c++.exp: Update.
3940 * gdb.base/infcall-nested-structs-c.exp: Update.
3941 * gdb.base/info-types.exp.in: Rename to ...
3942 * gdb.base/info-types.exp.tcl: ... this.
3943 * gdb.base/info-types-c++.exp: Update.
3944 * gdb.base/info-types-c.exp: Update.
3945 * gdb.base/max-depth.exp.in: Rename to ...
3946 * gdb.base/max-depth.exp.tcl: ... this.
3947 * gdb.base/max-depth-c++.exp: Update.
3948 * gdb.base/max-depth-c.exp: Update.
3949 * gdb.cp/cpexprs.exp.in: Rename to ...
3950 * gdb.cp/cpexprs.exp.tcl: ... this.
3951 * gdb.cp/cpexprs-debug-types.exp: Update.
3952 * gdb.cp/cpexprs.exp: Update.
3953 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3954 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3955 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3956 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3957 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3958 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3959 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3960 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3961 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3962 * gdb.dwarf2/clang-debug-names.exp: Update.
3963
3964 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3965
3966 * lib/check-test-names.exp: Remove code that prevents this file
3967 loading when tests are run in parallel.
3968
3969 2020-05-15 Pedro Alves <palves@redhat.com>
3970
3971 * gdb.multi/multi-kill.exp (start_inferior): Remove
3972 'testpid' parameter. Refer to namespace variable directly.
3973 (testpid): Declare as namespace variable.
3974
3975 2020-05-15 Pedro Alves <palves@redhat.com>
3976
3977 * gdb.multi/multi-kill.exp: Wrap in namespace.
3978 (start_inferior): Add TESTPID parameter. Use it instead of the
3979 testpid global.
3980 (top level): Define empty TESTPID array, and pass it down to
3981 start_inferior.
3982
3983 2020-05-14 Tom de Vries <tdevries@suse.de>
3984
3985 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3986 output.
3987
3988 2020-05-14 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.base/align.exp: Split into ...
3991 * gdb.base/align.exp.in: ...
3992 * gdb.base/align-c++.exp: ...
3993 * gdb.base/align-c.exp: ... these.
3994 * gdb.base/infcall-nested-structs.exp: Split into ...
3995 * gdb.base/infcall-nested-structs.exp.in: ...
3996 * gdb.base/infcall-nested-structs-c++.exp: ...
3997 * gdb.base/infcall-nested-structs-c.exp: ... these.
3998 * gdb.base/info-types.exp: Split into ...
3999 * gdb.base/info-types.exp.in: ...
4000 * gdb.base/info-types-c++.exp: ...
4001 * gdb.base/info-types-c.exp: ... these.
4002 * gdb.base/max-depth.exp: Split into ...
4003 * gdb.base/max-depth.exp.in: ...
4004 * gdb.base/max-depth-c++.exp: ...
4005 * gdb.base/max-depth-c.exp: ... these.
4006 * gdb.cp/infcall-nodebug.exp: Split into ...
4007 * gdb.cp/infcall-nodebug.exp.in: ...
4008 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4009 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4010 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4011 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4012
4013 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4014 Pedro Alves <palves@redhat.com>
4015
4016 * gdb.multi/multi-exit.c: New file.
4017 * gdb.multi/multi-exit.exp: New file.
4018 * gdb.multi/multi-kill.c: New file.
4019 * gdb.multi/multi-kill.exp: New file.
4020
4021 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4022
4023 * gdb.base/annota1.exp: Update the expected output.
4024 * gdb.cp/annota2.exp: Ditto.
4025
4026 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4027
4028 * lib/check-test-names.exp: Disable when testing is being run in
4029 parallel.
4030
4031 2020-05-12 Tom de Vries <tdevries@suse.de>
4032
4033 * gdb.base/jit-elf.exp: Fix string concat.
4034
4035 2020-05-12 Tom de Vries <tdevries@suse.de>
4036
4037 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4038 messages.
4039
4040 2020-05-12 Tom de Vries <tdevries@suse.de>
4041
4042 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4043
4044 2020-05-12 Tom de Vries <tdevries@suse.de>
4045
4046 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4047 * gdb.ada/mi_catch_ex.exp: Same.
4048 * gdb.ada/mi_catch_ex_hand.exp: Same.
4049
4050 2020-05-12 Tom de Vries <tdevries@suse.de>
4051
4052 * gdb.fortran/complex.exp: Use with_test_prefix.
4053
4054 2020-05-12 Tom de Vries <tdevries@suse.de>
4055
4056 * gdb.trace/passcount.exp: Fix test-names.
4057
4058 2020-05-12 Tom de Vries <tdevries@suse.de>
4059
4060 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4061
4062 2020-05-12 Tom de Vries <tdevries@suse.de>
4063
4064 * gdb.gdb/complaints.exp: Use with_test_prefix.
4065 * gdb.xml/tdesc-regs.exp: Same.
4066 * gdb.opt/inline-locals.exp: Fix test name.
4067
4068 2020-05-12 Tom de Vries <tdevries@suse.de>
4069
4070 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4071 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4072 * gdb.dwarf2/implref-struct.exp: Same.
4073 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4074 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4075
4076 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4077
4078 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4079
4080 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4081
4082 * lib/check-test-names.exp (all_test_names): New module variable.
4083 (counts): Add 'duplicates' field.
4084 (_check_duplicates): New procedure.
4085 (check): Also check for duplicates.
4086 (do_log_summary): Print duplicates count.
4087 (do_reset_vars): Reset counter for duplicate test names, and
4088 discard all know test names.
4089
4090 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4091
4092 * lib/gdb.exp: Include check-test-names.exp library.
4093 * lib/check-test-names.exp: New file.
4094
4095 2020-05-11 Tom de Vries <tdevries@suse.de>
4096
4097 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4098
4099 2020-05-11 Keith Seitz <keiths@redhat.com>
4100
4101 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4102
4103 2020-05-11 Tom de Vries <tdevries@suse.de>
4104
4105 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4106 * gdb.cp/cpexprs.exp.in: .. here.
4107 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4108 cpexprs.exp.
4109
4110 2020-05-11 Keith Seitz <keiths@redhat.com>
4111
4112 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4113 test names.
4114 * gdb.ada/arrayptr.exp: Likewise.
4115 * gdb.ada/assign_arr.exp: Likewise.
4116 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4117 * gdb.ada/bp_on_var.exp: Likewise.
4118 * gdb.ada/call_pn.exp: Likewise.
4119 * gdb.ada/complete.exp: Likewise.
4120 * gdb.ada/fun_overload_menu.exp: Likewise.
4121 * gdb.ada/funcall_param.exp: Likewise.
4122 * gdb.ada/funcall_ref.exp: Likewise.
4123 * gdb.ada/packed_array_assign.exp: Likewise.
4124 * gdb.ada/same_component_name.exp: Likewise.
4125 * gdb.ada/type_coercion.exp: Likewise.
4126 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4127 * gdb.ada/variant_record_packed_array.exp: Likewise.
4128
4129 2020-05-11 Tom de Vries <tdevries@suse.de>
4130
4131 PR symtab/25941
4132 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4133 out of ...
4134 * gdb.dwarf2/clang-debug-names.exp: ... here.
4135 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4136 clang-debug-names.exp.in.
4137 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4138 * gdb.dwarf2/clang-debug-names-2.c: New test.
4139
4140 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4141
4142 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4143 (fortran_runto_main): New Proc, fortran version of runto_main.
4144 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4145 * gdb.fortran/array-bounds.exp: Likewise.
4146 * gdb.fortran/array-slices.exp: Likewise.
4147 * gdb.fortran/block-data.exp: Likewise.
4148 * gdb.fortran/charset.exp: Likewise.
4149 * gdb.fortran/common-block.exp: Likewise.
4150 * gdb.fortran/complex.exp: Likewise.
4151 * gdb.fortran/derived-type-function.exp: Likewise.
4152 * gdb.fortran/derived-type.exp: Likewise.
4153 * gdb.fortran/info-modules.exp: Likewise.
4154 * gdb.fortran/info-types.exp: Likewise.
4155 * gdb.fortran/intrinsics.exp: Likewise.
4156 * gdb.fortran/library-module.exp: Likewise.
4157 * gdb.fortran/logical.exp: Likewise.
4158 * gdb.fortran/max-depth.exp: Likewise.
4159 * gdb.fortran/module.exp: Likewise.
4160 * gdb.fortran/multi-dim.exp: Likewise.
4161 * gdb.fortran/nested-funcs.exp: Likewise.
4162 * gdb.fortran/print-formatted.exp: Likewise.
4163 * gdb.fortran/print_type.exp: Likewise.
4164 * gdb.fortran/printing-types.exp: Likewise.
4165 * gdb.fortran/ptr-indentation.exp: Likewise.
4166 * gdb.fortran/ptype-on-functions.exp: Likewise.
4167 * gdb.fortran/subarray.exp: Likewise.
4168 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4169 * gdb.fortran/vla-datatypes.exp: Likewise.
4170 * gdb.fortran/vla-history.exp: Likewise.
4171 * gdb.fortran/vla-ptr-info.exp: Likewise.
4172 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4173 * gdb.fortran/vla-ptype.exp: Likewise.
4174 * gdb.fortran/vla-sizeof.exp: Likewise.
4175 * gdb.fortran/vla-type.exp: Likewise.
4176 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4177 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4178 * gdb.fortran/vla-value-sub.exp: Likewise.
4179 * gdb.fortran/vla-value.exp: Likewise.
4180 * gdb.fortran/whatis_type.exp: Likewise.
4181 * gdb.mi/mi-var-child-f.exp: Likewise.
4182
4183 2020-05-09 Tom de Vries <tdevries@suse.de>
4184
4185 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4186
4187 2020-05-08 Tom de Vries <tdevries@suse.de>
4188
4189 * gdb.dwarf2/clang-debug-names.c: New test.
4190 * gdb.dwarf2/clang-debug-names.exp: New file.
4191
4192 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
4193
4194 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4195 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4196
4197 2020-05-06 Tom de Vries <tdevries@suse.de>
4198
4199 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4200 breakpoint is at a "recommended breakpoint location".
4201 * gdb.reverse/consecutive-reverse.exp: Same.
4202
4203 2020-05-06 Tom de Vries <tdevries@suse.de>
4204
4205 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4206 address.
4207
4208 2020-05-06 Tom de Vries <tdevries@suse.de>
4209
4210 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4211
4212 2020-05-06 Tom de Vries <tdevries@suse.de>
4213
4214 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4215 info for r.
4216
4217 2020-05-06 Tom de Vries <tdevries@suse.de>
4218
4219 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4220 necessary.
4221
4222 2020-05-06 Tom de Vries <tdevries@suse.de>
4223
4224 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4225 void.
4226
4227 2020-05-06 Tom de Vries <tdevries@suse.de>
4228
4229 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4230 of ...
4231 * gdb.base/async.exp: ... here.
4232 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4233 "recommended breakpoint location".
4234
4235 2020-05-06 Tom de Vries <tdevries@suse.de>
4236
4237 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4238
4239 2020-05-04 Tom de Vries <tdevries@suse.de>
4240
4241 * gdb.base/async.exp: Check whether instruction addresses are a
4242 "recommended breakpoint location".
4243
4244 2020-05-03 Tom Tromey <tom@tromey.com>
4245
4246 * gdb.base/sepdebug.exp: Remove "catch" test.
4247 * gdb.base/break.exp: Remove "catch" test.
4248 * gdb.base/default.exp: Update expected output.
4249
4250 2020-05-02 Tom de Vries <tdevries@suse.de>
4251
4252 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4253 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4254 * gdb.arch/i386-mpx-map.exp: Same.
4255 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4256 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4257 * gdb.arch/i386-mpx.exp: Same.
4258
4259 2020-05-02 Tom de Vries <tdevries@suse.de>
4260
4261 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4262
4263 2020-05-01 Tom de Vries <tdevries@suse.de>
4264
4265 * gdb.ada/operator_bp.exp: Allow more than required amount of
4266 breakpoint.
4267
4268 2020-05-01 Tom de Vries <tdevries@suse.de>
4269
4270 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4271
4272 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4273
4274 PR gdb/18706
4275 * gdb.cp/stub-array-size.cc: New test.
4276 * gdb.cp/stub-array-size.exp: New file.
4277 * gdb.cp/stub-array-size.h: New test.
4278 * gdb.cp/stub-array-size2.cc: New test.
4279
4280 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4281
4282 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4283 output to the new format.
4284
4285 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
4286
4287 * gdb.base/break.exp: Use with_test_prefix.
4288
4289 2020-04-29 Tom de Vries <tdevries@suse.de>
4290
4291 * lib/gdb.exp (debug_types): New proc.
4292 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4293 * gdb.python/py-symtab.exp: Same.
4294
4295 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
4296
4297 PR gdb/17320
4298 * gdb.base/pretty-array.c: New test.
4299 * gdb.base/pretty-array.exp: New file.
4300
4301 2020-04-29 Tom de Vries <tdevries@suse.de>
4302
4303 PR symtab/25889
4304 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4305 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4306 and include cpexprs.exp.
4307
4308 2020-04-28 Mark Williams <mark@myosotissp.com>
4309
4310 PR gdb/24480
4311 * dw4-toplevel-types.exp: Test for top level types.
4312 * dw4-toplevel-types.cc: Test for top level types.
4313
4314 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4315
4316 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4317 (theads -> threads).
4318
4319 2020-04-28 Tom de Vries <tdevries@suse.de>
4320
4321 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4322
4323 2020-04-28 Tom de Vries <tdevries@suse.de>
4324
4325 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4326
4327 2020-04-28 Tom de Vries <tdevries@suse.de>
4328
4329 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4330
4331 2020-04-28 Tom de Vries <tdevries@suse.de>
4332
4333 * gdb.dwarf2/main-foo.c: New test.
4334 * gdb.dwarf2/struct-with-sig.exp: New file.
4335
4336 2020-04-25 Tom de Vries <tdevries@suse.de>
4337
4338 * boards/debug-types.exp: New file.
4339
4340 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4341
4342 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4343
4344 2020-04-24 Tom Tromey <tom@tromey.com>
4345
4346 PR symtab/12707:
4347 * gdb.python/py-symbol.exp: Update expected results for
4348 linkage_name test.
4349 * gdb.cp/print-demangle.exp: New file.
4350 * gdb.base/c-linkage-name.exp: Fix test.
4351 * gdb.guile/scm-symbol.exp: Update expected results for
4352 linkage_name test.
4353
4354 2020-04-24 Tom Tromey <tom@tromey.com>
4355
4356 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4357 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4358 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4359 assembler.
4360
4361 2020-04-24 Tom de Vries <tdevries@suse.de>
4362
4363 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4364 C++.
4365
4366 2020-04-24 Tom Tromey <tromey@adacore.com>
4367
4368 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4369 values.
4370 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4371 values. Update test for minimal encodings.
4372 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4373 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4374 values. Update test for minimal encodings.
4375
4376 2020-04-24 Tom Tromey <tromey@adacore.com>
4377
4378 PR python/23662:
4379 * gdb.ada/variant.exp: Add Python checks.
4380 * gdb.rust/simple.exp: Add dynamic type checks.
4381
4382 2020-04-24 Tom Tromey <tromey@adacore.com>
4383
4384 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4385 Make array type matching more lax.
4386 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4387 * gdb.ada/mi_variant.exp: New file.
4388 * gdb.ada/mi_variant/pck.ads: New file.
4389 * gdb.ada/mi_variant/pkg.adb: New file.
4390 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4391 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4392
4393 2020-04-24 Tom Tromey <tromey@adacore.com>
4394
4395 * gdb.ada/variant.exp: Add dynamic field offset tests.
4396 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4397 * gdb.ada/variant/pkg.adb: Add new variables.
4398
4399 2020-04-24 Tom Tromey <tromey@adacore.com>
4400
4401 * gdb.ada/variant.exp: New file
4402 * gdb.ada/variant/pkg.adb: New file
4403 * gdb.ada/variant/pck.adb: New file
4404
4405 2020-04-24 Tom de Vries <tdevries@suse.de>
4406
4407 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4408
4409 2020-04-24 Tom de Vries <tdevries@suse.de>
4410
4411 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4412 flags.
4413
4414 2020-04-24 Tom de Vries <tdevries@suse.de>
4415
4416 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4417
4418 2020-04-24 Tom de Vries <tdevries@suse.de>
4419
4420 * lib/gdb.exp (default_gdb_start): Handle eof.
4421 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4422 failure.
4423 * gdb.base/readnever.exp: Handle clean_restart failure.
4424
4425 2020-04-23 Tom de Vries <tdevries@suse.de>
4426
4427 * gdb.base/decl-before-def.exp: Run to main and print a again.
4428
4429 2020-04-23 Tom de Vries <tdevries@suse.de>
4430
4431 * gdb.base/decl-before-def-decl.c: New test.
4432 * gdb.base/decl-before-def-def.c: New test.
4433 * gdb.base/decl-before-def.exp: New file.
4434
4435 2020-04-23 Tom de Vries <tdevries@suse.de>
4436
4437 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4438
4439 2020-04-22 Tom de Vries <tdevries@suse.de>
4440
4441 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4442 debug_info_offset.
4443 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4444 before $objsfile in the line line.
4445
4446 2020-04-22 Tom de Vries <tdevries@suse.de>
4447
4448 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4449
4450 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4451
4452 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4453 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4454 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4455 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4456 * gdb.base/jit-protocol.h: Update definitions to match all usage
4457 contexts.
4458
4459 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4460
4461 * gdb.base: Rename all jit related test and source files.
4462
4463 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4464
4465 * gdb.base/jit-reader.exp: Relax register output check.
4466
4467 2020-04-22 Tom de Vries <tdevries@suse.de>
4468
4469 PR symtab/25764
4470 * gdb.base/psym-external-decl-2.c: New test.
4471 * gdb.base/psym-external-decl.c: New test.
4472 * gdb.base/psym-external-decl.exp: New file.
4473 * gdb.threads/tls.exp: Add PR25807 kfail.
4474
4475 2020-04-22 Tom de Vries <tdevries@suse.de>
4476
4477 PR symtab/25801
4478 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4479 in "info source" output.
4480
4481 2020-04-22 Tom de Vries <tdevries@suse.de>
4482
4483 PR symtab/25700
4484 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4485 symtab for imported_unit.c.
4486
4487 2020-04-21 Gary Benson <gbenson@redhat.com>
4488
4489 * gdb.base/advance.c (func): New argument, to match call site.
4490 (func2, func3): Add return statements.
4491
4492 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4493
4494 * gdb.multi/run-only-second-inf.c: New file.
4495 * gdb.multi/run-only-second-inf.exp: New file.
4496
4497 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4498
4499 * gdb.btrace/multi-inferior.c: New test.
4500 * gdb.btrace/multi-inferior.exp: New file.
4501
4502 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4503
4504 * gdb.btrace/enable-new-thread.c: New test.
4505 * gdb.btrace/enable-new-thread.exp: New file.
4506
4507 2020-04-21 Tom de Vries <tdevries@suse.de>
4508
4509 PR gdb/25471
4510 * gdb.threads/killed-outside.c: New test.
4511 * gdb.threads/killed-outside.exp: New file.
4512
4513 2020-04-20 Gary Benson <gbenson@redhat.com>
4514
4515 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4516 * gdb.base/nested-subp2.exp: Likewise.
4517 * gdb.base/nested-subp3.exp: Likewise.
4518
4519 2020-04-20 Gary Benson <gbenson@redhat.com>
4520
4521 * gdb.base/nested-subp1.exp: Disable test when using clang.
4522 * gdb.base/nested-subp2.exp: Likewise.
4523 * gdb.base/nested-subp3.exp: Likewise.
4524
4525 2020-04-20 Gary Benson <gbenson@redhat.com>
4526
4527 * gdb.cp/exception.cc: Fix compilation error with clang.
4528
4529 2020-04-20 Gary Benson <gbenson@redhat.com>
4530
4531 * gdb.trace/tspeed.c: Fix compilation error with clang.
4532
4533 2020-04-20 Gary Benson <gbenson@redhat.com>
4534
4535 * gdb.base/jit-main.c: Fix compilation error with clang.
4536
4537 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4538
4539 * gdb.base/attach-twice.c: Include "sys/types.h".
4540 (PTRACE_ATTACH): Add fallback definition.
4541 (main): Pass `0' to the 4th argument of `ptrace'.
4542
4543 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4544
4545 * gdb.base/fork-running-state.c: Include "signal.h".
4546
4547 2020-04-17 Tom Tromey <tromey@adacore.com>
4548
4549 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4550 Update tests.
4551 * gdb.btrace/cpu.exp: Update tests.
4552 * gdb.base/maint.exp: Update tests.
4553 * gdb.base/default.exp: Update tests.
4554 * gdb.base/completion.exp: Update tests.
4555
4556 2020-04-16 Tom de Vries <tdevries@suse.de>
4557
4558 PR symtab/25791
4559 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4560 (ensure_gdb_index): and factor out and move ...
4561 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4562 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4563
4564 2020-04-16 Tom de Vries <tdevries@suse.de>
4565
4566 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4567 loading exec.
4568
4569 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4570
4571 * gdb.base/many-completions.exp: New file.
4572
4573 2020-04-14 Tom de Vries <tdevries@suse.de>
4574
4575 PR symtab/25718
4576 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4577
4578 2020-04-14 Tom de Vries <tdevries@suse.de>
4579
4580 PR symtab/25720
4581 * gdb.base/maint-expand-symbols-header-file.c: New test.
4582 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4583 * gdb.base/maint-expand-symbols-header-file.h: New test.
4584
4585 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4588 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4589 get_func_info.
4590 (get_func_info): Delete.
4591 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4592 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4593 * lib/dwarf.exp (get_func_info): New function.
4594
4595 2020-04-13 Tom de Vries <tdevries@suse.de>
4596
4597 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4598 to what find_gnatmake does.
4599
4600 2020-04-10 Tom de Vries <tdevries@suse.de>
4601
4602 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4603 -readnow.
4604
4605 2020-04-10 Tom de Vries <tdevries@suse.de>
4606
4607 PR cli/25808
4608 * gdb.base/style.c: Add leading newlines.
4609 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4610 Check listing of main's one-line body.
4611
4612 2020-04-08 Tom de Vries <tdevries@suse.de>
4613
4614 * lib/gdb.exp (psymtabs_p): New proc.
4615 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4616 importing unit" unsupported if there are no partial symbols.
4617
4618 2020-04-08 Tom de Vries <tdevries@suse.de>
4619
4620 PR testsuite/25760
4621 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4622
4623 2020-04-07 Tom de Vries <tdevries@suse.de>
4624
4625 PR symtab/25796
4626 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4627
4628 2020-04-07 Tom de Vries <tdevries@suse.de>
4629
4630 * gdb.base/check-psymtab.c: New test.
4631 * gdb.base/check-psymtab.exp: New file.
4632
4633 2020-04-06 Tom Tromey <tromey@adacore.com>
4634
4635 * gdb.ada/variant-record/proc.adb: New file.
4636 * gdb.ada/variant-record/value.adb: New file.
4637 * gdb.ada/variant-record/value.s: New file.
4638 * gdb.ada/variant-record.exp: New file.
4639
4640 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
4641
4642 PR gdb/25325
4643 * gdb.cp/typed-enum.cc: New test.
4644 * gdb.cp/typed-enum.exp: New file.
4645
4646 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4647
4648 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4649 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4650 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4651 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4652 * gdb.opt/inline-small-func.c: New file.
4653 * gdb.opt/inline-small-func.exp: New file.
4654 * gdb.opt/inline-small-func.h: New file.
4655
4656 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4657
4658 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4659 function.
4660
4661 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * lib/dwarf.exp (function_range): Allow compiler options to be
4664 specified.
4665
4666 2020-04-02 Tom de Vries <tdevries@suse.de>
4667
4668 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4669 __attribute__((always_inline)).
4670 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4671
4672 2020-04-02 Tom de Vries <tdevries@suse.de>
4673
4674 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4675 (gdbserver_gdb_exit): ... here. Add timeout warning.
4676 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4677 (connect_target_extended_remote): Append new server_spawn_id to
4678 server_spawn_ids.
4679 (cleanup): New proc.
4680 (setup, <toplevel>): Call cleanup.
4681
4682 2020-04-02 Tom de Vries <tdevries@suse.de>
4683
4684 * gdb.base/main-psymtab.exp: New file.
4685
4686 2020-04-02 Tom de Vries <tdevries@suse.de>
4687
4688 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4689
4690 2020-04-01 Tom Tromey <tom@tromey.com>
4691
4692 * gdb.base/complex-parts.exp: Add type tests.
4693
4694 2020-04-01 Tom Tromey <tom@tromey.com>
4695
4696 * gdb.base/complex-parts.exp: Add arithmetic tests.
4697
4698 2020-04-01 Tom Tromey <tom@tromey.com>
4699
4700 * gdb.compile/compile.exp: Update.
4701 * gdb.compile/compile-cplus.exp: Update.
4702 * gdb.base/varargs.exp: Update.
4703 * gdb.base/floatn.exp: Update.
4704 * gdb.base/endianity.exp: Update.
4705 * gdb.base/callfuncs.exp (do_function_calls): Update.
4706 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4707 (complex_float_integral_args): Update.
4708 * gdb.base/complex.exp: Update.
4709 * gdb.base/complex-parts.exp: Update.
4710
4711 2020-04-01 Tom Tromey <tromey@adacore.com>
4712
4713 * gdb.rust/union.rs: New file.
4714 * gdb.rust/union.exp: New file.
4715 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4716 (main): Update.
4717 * gdb.rust/simple.exp: Move union tests to union.exp.
4718
4719 2020-04-01 Tom Tromey <tromey@adacore.com>
4720
4721 * gdb.rust/simple.rs (main): Remove "y0".
4722
4723 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4724
4725 * gdb.multi/stop-all-on-exit.c: New test.
4726 * gdb.multi/stop-all-on-exit.exp: New file.
4727
4728 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
4729
4730 PR gdb/24789
4731 * gdb.cp/misc.cc: Add integer reference variable.
4732 * gdb.cp/misc.exp: Add test.
4733
4734 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4735
4736 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4737 scenario to cover execution until the end and also the case
4738
4739 2020-03-31 Tom de Vries <tdevries@suse.de>
4740
4741 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4742 c. Use "maint info symtabs" to check symtab expansion.
4743
4744 2020-03-30 Tom de Vries <tdevries@suse.de>
4745
4746 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4747 unsupported.
4748 (verify_psymtab_expanded): Move ...
4749 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4750 test.
4751 (readnow): New proc.
4752
4753 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4754
4755 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4756 with $hex.
4757
4758 2020-03-20 Tom Tromey <tromey@adacore.com>
4759
4760 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4761
4762 2020-03-20 Tom Tromey <tromey@adacore.com>
4763
4764 * gdb.ada/sub_variant/subv.adb: New file.
4765 * gdb.ada/sub_variant.exp: New file.
4766
4767 2020-03-20 Tom de Vries <tdevries@suse.de>
4768
4769 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4770 first break fails.
4771 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4772
4773 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4774
4775 * gdb.server/exit-multiple-threads.c: New file.
4776 * gdb.server/exit-multiple-threads.exp: New file.
4777
4778 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4779
4780 * gdb.fortran/mixed-lang-stack.c: New file.
4781 * gdb.fortran/mixed-lang-stack.cpp: New file.
4782 * gdb.fortran/mixed-lang-stack.exp: New file.
4783 * gdb.fortran/mixed-lang-stack.f90: New file.
4784
4785 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4786
4787 * gdb.linespec/cp-completion-aliases.cc: New file.
4788 * gdb.linespec/cp-completion-aliases.exp: New file.
4789
4790 2020-03-19 Tom de Vries <tdevries@suse.de>
4791
4792 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4793 more precise.
4794
4795 2020-03-18 Tom de Vries <tdevries@suse.de>
4796
4797 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4798 * gdb.dwarf2/break-inline-psymtab.c: New test.
4799 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4800
4801 2020-03-16 Tom de Vries <tdevries@suse.de>
4802
4803 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4804 cache_verify and cache_verify_proc.
4805
4806 2020-03-15 Tom de Vries <tdevries@suse.de>
4807
4808 * gdb.server/solib-list.exp: Handle
4809 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4810
4811 2020-03-15 Tom de Vries <tdevries@suse.de>
4812
4813 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4814 objfiles".
4815
4816 2020-03-14 Tom Tromey <tom@tromey.com>
4817
4818 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4819
4820 2020-03-14 Tom de Vries <tdevries@suse.de>
4821
4822 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4823
4824 2020-03-14 Tom de Vries <tdevries@suse.de>
4825
4826 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4827 result in line-by-line fashion.
4828
4829 2020-03-14 Tom de Vries <tdevries@suse.de>
4830
4831 * lib/gdb.exp (supports_statement_frontiers): New proc.
4832 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4833
4834 2020-03-14 Tom de Vries <tdevries@suse.de>
4835
4836 * gdb.base/printcmds.exp: Add missing quoting for "print
4837 teststring2".
4838
4839 2020-03-13 Tom Tromey <tom@tromey.com>
4840
4841 * gdb.base/printcmds.exp (test_print_strings): Add regression
4842 test.
4843 * gdb.base/printcmds.c (charptr): New typedef.
4844 (teststring2): New global.
4845
4846 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4847
4848 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4849 full path in the test name.
4850 (test_ld): Add some with_test_prefix blocks to make test names
4851 unique.
4852
4853 2020-03-13 Tom de Vries <tdevries@suse.de>
4854
4855 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4856
4857 2020-03-13 Tom de Vries <tdevries@suse.de>
4858
4859 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4860
4861 2020-03-13 Tom de Vries <tdevries@suse.de>
4862
4863 PR symtab/25646
4864 * gdb.dwarf2/imported-unit.exp: Add test.
4865
4866 2020-03-13 Tom de Vries <tdevries@suse.de>
4867
4868 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4869 (var1, var2): New variable.
4870 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4871 matching symbols.
4872
4873 2020-03-13 Tom de Vries <tdevries@suse.de>
4874
4875 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4876 (Term::command): Use prompt prefix.
4877 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4878 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4879 command_no_prompt_prefix instead of prefix.
4880 * gdb.tui/tui-layout-asm.exp: Same.
4881
4882 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4883
4884 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4885
4886 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4887
4888 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4889 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4890 on" while stepping over the test instruction, match printed
4891 message.
4892
4893 2020-03-12 Tom de Vries <tdevries@suse.de>
4894
4895 * gdb.base/info-types.exp: Use exp_continue during matching of output
4896 of "info types".
4897
4898 2020-03-12 Tom de Vries <tdevries@suse.de>
4899
4900 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4901
4902 2020-03-12 Tom de Vries <tdevries@suse.de>
4903
4904 * gdb.fortran/module.exp: Use exp_continue during matching of output
4905 of "info variable -n".
4906
4907 2020-03-12 Tom de Vries <tdevries@suse.de>
4908
4909 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4910 gdb.dwarf2/dw2-ranges-base.c.
4911
4912 2020-03-12 Tom de Vries <tdevries@suse.de>
4913
4914 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4915 in presence of GLIBC debuginfo.
4916
4917 2020-03-12 Tom de Vries <tdevries@suse.de>
4918
4919 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4920 $core.
4921
4922 2020-03-12 Tom de Vries <tdevries@suse.de>
4923
4924 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4925 more precise.
4926
4927 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
4928
4929 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4930 from Unix to Windows path.
4931
4932 2020-03-11 Tom de Vries <tdevries@suse.de>
4933
4934 * gdb.ada/minsyms.exp: Set language to ada.
4935
4936 2020-03-11 Tom de Vries <tdevries@suse.de>
4937
4938 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4939
4940 2020-03-11 Tom de Vries <tdevries@suse.de>
4941
4942 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4943
4944 2020-03-11 Tom Tromey <tromey@adacore.com>
4945
4946 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4947
4948 2020-03-11 Tom de Vries <tdevries@suse.de>
4949
4950 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4951
4952 2020-03-11 Tom de Vries <tdevries@suse.de>
4953
4954 * gdb.base/break-interp.exp: Limit verbose scope.
4955
4956 2020-03-11 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.fortran/logical.f90: Define variable with character type.
4959 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4960
4961 2020-03-11 Tom de Vries <tdevries@suse.de>
4962
4963 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4964
4965 2020-03-11 Tom de Vries <tdevries@suse.de>
4966
4967 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4968 symtabs.
4969
4970 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4971 Bernd Edlinger <bernd.edlinger@hotmail.de>
4972
4973 * gdb.cp/step-and-next-inline.cc: New file.
4974 * gdb.cp/step-and-next-inline.exp: New file.
4975 * gdb.cp/step-and-next-inline.h: New file.
4976 * gdb.dwarf2/dw2-is-stmt.c: New file.
4977 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4978 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4979 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4980 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4981
4982 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4985 is-stmt flag in the line table.
4986
4987 2020-03-09 Tom de Vries <tdevries@suse.de>
4988
4989 * lib/gdb.exp (cached_file): Create cache dir.
4990
4991 2020-03-07 Tom de Vries <tdevries@suse.de>
4992
4993 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4994 * gdb.cp/rvalue-ref-params.exp: Same.
4995
4996 2020-03-06 Tom de Vries <tdevries@suse.de>
4997
4998 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4999 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5000
5001 2020-03-06 Tom de Vries <tdevries@suse.de>
5002
5003 * README: Fix "the the".
5004 * gdb.base/dprintf.exp: Same.
5005
5006 2020-03-05 Tom de Vries <tdevries@suse.de>
5007
5008 * gdb.base/maint.exp: Update "main print statistics" expected output.
5009
5010 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5011
5012 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5013 (fortran_int8): Likewise.
5014 (fortran_real4): Likewise.
5015 (fortran_real8): Likewise.
5016 (fortran_complex4): Likewise.
5017 (fortran_logical4): Likewise.
5018 (fortran_character1): Likewise.
5019
5020 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5021
5022 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5023 printed as true.
5024
5025 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5026
5027 * gdb.base/printcmds.exp: Add test to verify printf of a
5028 variable holding an address.
5029
5030 2020-03-03 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5033
5034 2020-03-03 Tom de Vries <tdevries@suse.de>
5035
5036 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5037 gdb_test_multiple call.
5038
5039 2020-03-03 Tom de Vries <tdevries@suse.de>
5040
5041 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5042 gdb_test_multiple calls.
5043
5044 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5045
5046 * gdb.base/default.exp: Remove test of 'set history filename'.
5047 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5048 filename to the empty string.
5049 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5050 and GDBHISTSIZE.
5051
5052 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5053
5054 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5055 disabled.
5056
5057 2020-03-02 Pedro Alves <palves@redhat.com>
5058 Tom de Vries <tdevries@suse.de>
5059
5060 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5061 -prompt prefix, before user_code argument. Add -lbl option likewise.
5062 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5063 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5064 argument.
5065 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5066 have "\r\n" at start-of-line, instead of at end-of-line.
5067
5068 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
5069
5070 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5071 libinproctrace.so.
5072
5073 2020-02-28 Luis Machado <luis.machado@linaro.org>
5074
5075 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5076 to "p/x".
5077
5078 2020-02-28 Luis Machado <luis.machado@linaro.org>
5079
5080 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5081 asm/ptrace.h and error.h.
5082
5083 2020-02-28 Tom de Vries <tdevries@suse.de>
5084
5085 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5086 (struct wrapper, do_something, mundane/symada__cS): Move ...
5087 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5088 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5089 Update "print symada__cS before partial symtab expansion" regexp.
5090 Update breakpoint location. Flush symbol cache after expansion.
5091
5092 2020-02-28 Luis Machado <luis.machado@linaro.org>
5093
5094 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5095
5096 2020-02-27 Tom de Vries <tdevries@suse.de>
5097
5098 * config/sid.exp: Remove unused globals.
5099 * gdb.base/attach.exp: Same.
5100 * gdb.base/catch-load.exp: Same.
5101 * gdb.base/dbx.exp: Same.
5102 * lib/gdb.exp: Same.
5103 * lib/mi-support.exp: Same.
5104 * lib/prompt.exp: Same.
5105
5106 2020-02-27 Tom de Vries <tdevries@suse.de>
5107
5108 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5109 not set.
5110
5111 2020-02-26 Aaron Merey <amerey@redhat.com>
5112
5113 * gdb.debuginfod: New directory for debuginfod tests.
5114 * gdb.debuginfod/main.c: New test file.
5115 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5116
5117 2020-02-26 Tom de Vries <tdevries@suse.de>
5118
5119 PR gdb/25603
5120 * gdb.base/persistent-lang.cc: New test.
5121 * gdb.base/persistent-lang.exp: New file.
5122
5123 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5124
5125 * gdb.fortran/derived-type-striding.exp: Add a new test.
5126 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5127 new test.
5128
5129 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5130
5131 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5132 names.
5133
5134 2020-02-25 Tom de Vries <tdevries@suse.de>
5135
5136 PR go/18926
5137 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5138
5139 2020-02-24 Tom de Vries <tdevries@suse.de>
5140
5141 PR gdb/25592
5142 * gdb.base/info-locals-unused-static-var.c: New test.
5143 * gdb.base/info-locals-unused-static-var.exp: New file.
5144
5145 2020-02-22 Tom Tromey <tom@tromey.com>
5146
5147 * gdb.python/tui-window.exp: New file.
5148 * gdb.python/tui-window.py: New file.
5149
5150 2020-02-22 Tom Tromey <tom@tromey.com>
5151
5152 PR tui/17850:
5153 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5154 tests.
5155
5156 2020-02-22 Tom Tromey <tom@tromey.com>
5157
5158 * gdb.tui/new-layout.exp: Add sub-layout tests.
5159
5160 2020-02-22 Tom Tromey <tom@tromey.com>
5161
5162 * gdb.tui/new-layout.exp: New file.
5163
5164 2020-02-22 Tom Tromey <tom@tromey.com>
5165
5166 * gdb.rust/rust-style.rs: New file.
5167 * gdb.rust/rust-style.exp: New file.
5168 * gdb.base/style.exp: Test structure printing.
5169 * gdb.base/style.c (struct some_struct): New type.
5170 (enum etype): New type.
5171 (struct_value): New global.
5172
5173 2020-02-21 Tom de Vries <tdevries@suse.de>
5174
5175 PR go/18926
5176 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5177 Remove blanket xfails. Use message argument for gdb_breakpoint.
5178 Make continuing to breakpoint test conditional on setting breakpoint.
5179 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5180 DW_AT_name attribute. Add xfail for GCC PR93866.
5181
5182 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5183
5184 * gdb.dwarf2/cpp-linkage-name.c: New file.
5185 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5186
5187 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
5188
5189 * lib/gdb.exp (gdb_wrapper_init): Reset
5190 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5191 not exist.
5192
5193 2020-02-20 Tom de Vries <tdevries@suse.de>
5194
5195 PR go/17018
5196 * gdb.go/hello.exp: Copy ...
5197 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5198 print of st to print value of global definition. Add xfail for GCC
5199 PR93844.
5200 * gdb.go/hello.exp: Remove printing of st before definition.
5201 * gdb.go/hello.go: Copy ...
5202 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5203 to st.
5204 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5205
5206 2020-02-20 Tom de Vries <tdevries@suse.de>
5207
5208 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5209 (gdb_simple_compile): Handle compile_flags go by using .go extension
5210 for source file.
5211 * gdb.go/chan.exp: Use support_go_compile.
5212 * gdb.go/handcall.exp: Same.
5213 * gdb.go/hello.exp: Same.
5214 * gdb.go/integers.exp: Same.
5215 * gdb.go/max-depth.exp: Same.
5216 * gdb.go/methods.exp: Same.
5217 * gdb.go/package.exp: Same.
5218 * gdb.go/strings.exp: Same.
5219 * gdb.go/types.exp: Same.
5220 * gdb.go/unsafe.exp: Same.
5221
5222 2020-02-19 Tom de Vries <tdevries@suse.de>
5223
5224 * gdb.python/lib-types.exp: Make xfail more strict.
5225
5226 2020-02-19 Tom de Vries <tdevries@suse.de>
5227
5228 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5229
5230 2020-02-19 Doug Evans <dje@google.com>
5231
5232 PR rust/25535
5233 * gdb.rust/simple.exp: Add test.
5234 * gdb.rust/simple.rs: Add test.
5235
5236 2020-02-19 Tom de Vries <tdevries@suse.de>
5237
5238 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5239 output line-by-line.
5240
5241 2020-02-19 Tom de Vries <tdevries@suse.de>
5242
5243 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5244
5245 2020-02-19 Tom de Vries <tdevries@suse.de>
5246
5247 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5248 prelink.
5249
5250 2020-02-19 Tom de Vries <tdevries@suse.de>
5251
5252 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5253 (gdb_do_cache): Use gdb_do_cache_wrap.
5254 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5255
5256 2020-02-19 Tom de Vries <tdevries@suse.de>
5257
5258 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5259 gdb_compile option.
5260
5261 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5262
5263 * gdb.base/printcmds.exp (test_print_enums): Update expected
5264 output.
5265
5266 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5267
5268 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5269 for "unknown".
5270
5271 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5272
5273 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5274 enumerator.
5275
5276 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5277
5278 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5279 FE_, add FE_NONE.
5280 (three): Update.
5281 (enum flag_enum_without_zero): New enum.
5282 (flag_enum_without_zero): New variable.
5283 (enum not_flag_enum): New enum.
5284 (three_not_flag): New variable.
5285 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5286 (test_print_enums): Add more tests for printing flag enums.
5287
5288 2020-02-18 Tom de Vries <tdevries@suse.de>
5289
5290 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5291 (gdb_compile_ada): ... here.
5292 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5293 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5294
5295 2020-02-14 Tom Tromey <tom@tromey.com>
5296
5297 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5298 build directory.
5299 * boards/gdbserver-base.exp: Update path to gdbserver.
5300
5301 2020-02-13 Tom de Vries <tdevries@suse.de>
5302
5303 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5304
5305 2020-02-13 Tom de Vries <tdevries@suse.de>
5306
5307 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5308 are missing.
5309
5310 2020-02-13 Tom de Vries <tdevries@suse.de>
5311
5312 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5313 call.
5314
5315 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5316
5317 PR tui/25126
5318 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5319 * gdb.base/cached-source-file.c: New file.
5320 * gdb.base/cached-source-file.exp: New file.
5321
5322 2020-02-11 Tom de Vries <tdevries@suse.de>
5323
5324 PR testsuite/25488
5325 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5326
5327 2020-02-10 Tom de Vries <tdevries@suse.de>
5328
5329 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5330
5331 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
5332
5333 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5334 and $after_addr are both integers before making a comparison.
5335
5336 2020-02-09 Tom de Vries <tdevries@suse.de>
5337
5338 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5339 command output and paste it into gdb.log. If any, paste catch message
5340 to gdb.log.
5341
5342 2020-02-07 Tom Tromey <tromey@adacore.com>
5343
5344 PR breakpoints/24915:
5345 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5346
5347 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
5348
5349 * gdb.tui/tui-missing-src.exp: Add the "missing source
5350 file" test for the TUI.
5351
5352 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5353
5354 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5355 including a port number in the output.
5356
5357 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5358
5359 * lib/fortran.exp (fortran_int4): Handle clang.
5360 (fortran_int8): Likewise.
5361 (fortran_real4): Likewise.
5362 (fortran_real8): Likewise.
5363 (fortran_complex4): Likewise.
5364 (fortran_logical4): Likewise.
5365 (fortran_character1): Likewise.
5366
5367 2020-02-04 Tom de Vries <tdevries@suse.de>
5368
5369 * README (Race detection): Add note.
5370
5371 2020-02-04 Tom de Vries <tdevries@suse.de>
5372
5373 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5374
5375 2020-02-04 Tom de Vries <tdevries@suse.de>
5376
5377 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5378
5379 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5380
5381 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5382 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5383 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5384 blttar, bnetarl.
5385 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5386 binary for blttar, bnetarl.
5387 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5388 wait instruction. Delete ldmx test.
5389 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5390
5391 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5392
5393 * gdb.fortran/array-bounds-high.exp: New file.
5394 * gdb.fortran/array-bounds-high.f90: New file.
5395
5396 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5397
5398 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5399 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5400
5401 2020-02-01 Tom de Vries <tdevries@suse.de>
5402
5403 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5404
5405 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5406
5407 PR tui/9765
5408 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5409 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5410
5411 2020-01-29 Luis Machado <luis.machado@linaro.org>
5412
5413 * gdb.arch/aarch64-brk-patterns.c: New source file.
5414 * gdb.arch/aarch64-brk-patterns.exp: New test.
5415
5416 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5417
5418 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5419 GCC/Clang version.
5420 * gdb.cp/pass-by-ref.exp: Ditto.
5421
5422 2020-01-29 Tom de Vries <tdevries@suse.de>
5423
5424 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5425 * gdb.threads/watchpoint-fork-mt.c: Same.
5426 * gdb.threads/watchpoint-fork-parent.c: Same.
5427 * gdb.threads/watchpoint-fork-st.c: Same.
5428 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5429
5430 2020-01-27 Luis Machado <luis.machado@linaro.org>
5431
5432 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5433 sitting at a syscall instruction when we hit the syscall function's
5434 breakpoint.
5435 Check PC against one obtained with the x command.
5436 Validate syscall number.
5437 (step_over_syscall): Don't continue to the syscall instruction if
5438 we're already there.
5439
5440 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5441
5442 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5443
5444 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5445
5446 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5447 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5448
5449 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5450
5451 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5452 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5453
5454 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5455
5456 * gdb.base/maint.exp: Update line table parsing test.
5457 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5458
5459 2020-01-24 Pedro Alves <palves@redhat.com>
5460
5461 PR gdb/25410
5462 * gdb.multi/multi-re-run-1.c: New.
5463 * gdb.multi/multi-re-run-2.c: New.
5464 * gdb.multi/multi-re-run.exp: New.
5465
5466 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5467
5468 PR gdb/23718
5469 * gdb.server/server-kill-python.exp: New file.
5470
5471 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5472
5473 * gdb.server/multi-ui-errors.c: New file.
5474 * gdb.server/multi-ui-errors.exp: New file.
5475
5476 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5477
5478 PR tui/9765
5479 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5480
5481 2020-01-19 Tom Tromey <tom@tromey.com>
5482
5483 * gdb.tui/main.exp: Add check for plain "file".
5484
5485 2020-01-16 Christian Biesinger <cbiesinger@google.com>
5486
5487 * lib/gdb.exp: Fix spelling error (seperatelly).
5488
5489 2020-01-14 Tom Tromey <tom@tromey.com>
5490
5491 PR symtab/12535:
5492 * gdb.python/python.exp: Test decode_line with empty string
5493 argument.
5494
5495 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5496
5497 * gdb.base/skip-inline.exp: Extend test.
5498
5499 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5500
5501 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5502 * gdb.dwarf2/dw2-bad-elf.c: New file.
5503 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5504
5505 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5506
5507 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5508 _line_saw_file.
5509
5510 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5511
5512 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5513 border.
5514
5515 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5516
5517 * gdb.multi/multi-target.exp (setup): Factor out "info
5518 connections" and "info inferiors" tests to ...
5519 (test_info_inferiors): ... this new procedure.
5520 (top level): Run new "info-inferiors" tests.
5521
5522 2020-01-10 Pedro Alves <palves@redhat.com>
5523
5524 * gdb.server/bkpt-other-inferior.exp: New file.
5525
5526 2020-01-10 Pedro Alves <palves@redhat.com>
5527
5528 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5529 of "add-inferior".
5530 * gdb.base/quit-live.exp: Likewise.
5531 * gdb.base/remote-exec-file.exp: Likewise.
5532 * gdb.guile/scm-progspace.exp: Likewise.
5533 * gdb.linespec/linespec.exp: Likewise.
5534 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5535 * gdb.mi/user-selected-context-sync.exp: Likewise.
5536 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5537 "info inferiors" tests.
5538 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5539 "add-inferior".
5540 * gdb.multi/watchpoint-multi.exp: Likewise.
5541 * gdb.python/py-inferior.exp: Likewise.
5542 * gdb.server/extended-remote-restart.exp: Likewise.
5543 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5544 "info inferiors".
5545 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5546 * gdb.trace/report.exp: Likewise.
5547
5548 2020-01-10 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.multi/multi-target.c: New file.
5551 * gdb.multi/multi-target.exp: New file.
5552 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5553 mode requested, but remote does not support non-stop".
5554
5555 2020-01-10 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5558 disconnect before reconnecting.
5559
5560 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5561 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.server/connect-without-multi-process.exp: Also test
5564 continuing to end.
5565
5566 2020-01-10 Pedro Alves <palves@redhat.com>
5567
5568 * gdb.base/remote-exec-file.exp: New file.
5569
5570 2020-01-10 Pedro Alves <palves@redhat.com>
5571
5572 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5573 output.
5574 * gdb.threads/async.c: New.
5575 * gdb.threads/async.exp: New.
5576 * gdb.multi/tids-gid-reset.c: New.
5577 * gdb.multi/tids-gid-reset.exp: New.
5578
5579 2020-01-10 George Barrett <bob@bob131.so>
5580
5581 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5582 to help in finding the image relocation offset.
5583 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5584 options in arguments.
5585 (stap_test_no_debuginfo): Likewise.
5586 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5587 test variants.
5588 (stap_test): Add null semaphore relocation test.
5589
5590 2020-01-10 George Barrett <bob@bob131.so>
5591
5592 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5593 * gdb.base/stap-probe.exp: Likewise.
5594 (stap_test): Pass argument as an additional flag.
5595 (stap_test_no_debuginfo): Likewise.
5596 (stap_test): Check `info probes stap' output for semaphore
5597 addresses if the test binary is supposed to have them.
5598
5599 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5600
5601 * gdb.tui/basic.exp: Add more scrolling tests.
5602
5603 2020-01-09 Tom Tromey <tom@tromey.com>
5604
5605 PR tui/18932:
5606 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5607 meangingful value.
5608 (Term::command, Term::resize): Update.
5609 * gdb.tui/basic.exp: Add scrolling test.
5610
5611 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5612
5613 * gdb.tui/tui-layout-asm.exp: New file.
5614
5615 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5616
5617 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5618
5619 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5620
5621 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5622 (Term::enter_tui): Use Term::prepare_for_tui.
5623
5624 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5625
5626 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5627 called.
5628
5629 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5630
5631 * gdb.base/skip.exp: Fix race condition in test.
5632
5633 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5634
5635 * gdb.base/backtrace.c: New file.
5636 * gdb.base/backtrace.exp: New file.
5637
5638 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5639
5640 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5641
5642 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5643
5644 * gdb.base/style.exp: Test that warnings are styled.
5645
5646 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5647
5648 * gdb.base/line65535.exp: New file.
5649 * gdb.base/line65535.c: New file.
5650
5651 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5652
5653 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5654 * lib/gnat_debug_info_test.adb: New file.
5655 * gdb.ada/ptype_tagged_param.exp: Use
5656 gnat_runtime_has_debug_info, expect a different output if
5657 runtime does not have debug info.
5658
5659 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5660
5661 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5662 (another) quote in test name.
5663
5664 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5665
5666 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5667 Add quote in test name.
5668
5669 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5670
5671 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5672 directory instead.
5673 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5674 * gdb.cp/pass-by-ref-2.cc: New file.
5675 * gdb.cp/pass-by-ref-2.exp: New file.
5676
5677 2019-12-20 Tom Tromey <tom@tromey.com>
5678
5679 * gdb.tui/list-before.exp: New file.
5680
5681 2019-12-20 Tom Tromey <tom@tromey.com>
5682
5683 * gdb.tui/list.exp: Check for source on initial listing.
5684
5685 2019-12-11 Tom Tromey <tromey@adacore.com>
5686
5687 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5688 Add crlf test.
5689
5690 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
5691
5692 * gdb.base/default.exp: Update value of $_gdb_major.
5693
5694 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5695
5696 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5697
5698 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5699
5700 * gdb.base/skip.exp: Whitespace fix.
5701
5702 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5703
5704 * gdb.base/skip-inline.c: New file.
5705 * gdb.base/skip-inline.exp: New file.
5706
5707 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5708
5709 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5710 jit_function_00 to jit_function_stack_mangle.
5711 * gdb.base/jithost.c (jit_function_t): Rename to...
5712 (jit_function_stack_mangle_t): ... this.
5713 (jit_function_add_t): New typedef.
5714 (jit_function_00_code): Rename to...
5715 (jit_function_stack_mangle_code): ... this, make static.
5716 (jit_function_add_code): New.
5717 (main): Generate "add" function and call it. Adjust to changes
5718 in jithost_abi.
5719 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5720 (struct jithost_abi) <begin, end>: Remove fields.
5721 <object, function_stack_mangle, function_add>: New fields.
5722 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5723 code_end>: Remove fields.
5724 <func_stack_mangle>: New field.
5725 (read_debug_info): Adjust to renaming, create block for "add"
5726 function.
5727 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5728
5729 2019-12-11 Tom Tromey <tom@tromey.com>
5730
5731 * gdb.tui/resize.exp: Fix regexp.
5732 * gdb.tui/regs.exp: Fix regexps.
5733 * gdb.tui/main.exp: Fix regexp.
5734
5735 2019-12-11 Tom Tromey <tom@tromey.com>
5736
5737 * gdb.tui/resize.exp: Update.
5738 * gdb.tui/empty.exp (layouts): Update.
5739
5740 2019-12-11 Tom Tromey <tom@tromey.com>
5741
5742 * gdb.tui/regs.exp: Update.
5743 * gdb.tui/empty.exp (layouts): Update.
5744 * gdb.tui/basic.exp: Update.
5745 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5746
5747 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5748
5749 * gdb.base/options.exp: Add -raw-values in the print completion list.
5750 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5751
5752 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5753
5754 * gdb.threads/omp-par-scope.c: New file.
5755 * gdb/threads/omp-par-scope.exp: New file.
5756
5757 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5758
5759 * lib/gdb.exp (support_nested_function_tests): New proc.
5760
5761 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5762
5763 * lib/gdb.exp (gdb_compile_openmp): New proc.
5764 (build_executable_from_specs): Add an "openmp" option.
5765 (gdb_compile_pthreads): Add non-executable case.
5766
5767 2019-12-10 Tom Tromey <tromey@adacore.com>
5768
5769 * gdb.ada/unchecked_union.exp: New file.
5770 * gdb.ada/unchecked_union/pck.adb: New file.
5771 * gdb.ada/unchecked_union/pck.ads: New file.
5772 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5773 * gdb-utils.exp (string_to_regexp): Also quote "?".
5774
5775 2019-12-10 George Barrett <bob@bob131.so>
5776
5777 Test scripted probe breakpoints.
5778 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5779 * gdb.python/py-breakpoint.c (main): Likewise.
5780 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5781 specifier test.
5782 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5783
5784 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5785
5786 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5787 an rvalue parameter.
5788 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5789 parameter.
5790
5791 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5792
5793 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5794 modules.
5795
5796 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5797
5798 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5799 broken version of GCC.
5800
5801 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5802
5803 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5804 sym-info-cmds library.
5805 * gdb.fortran/info-types.exp: Likewise.
5806 * lib/sym-info-cmds.exp: New file.
5807
5808 2019-12-08 Tom de Vries <tdevries@suse.de>
5809
5810 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5811
5812 2019-12-07 Keith Seitz <keiths@redhat.com>
5813
5814 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5815 * gdb.base/corefile-buildid-shlib.c: New file.
5816 * gdb.base/corefile-buildid.c: New file.
5817 * gdb.base/corefile-buildid.exp: New file.
5818
5819 2019-12-06 Tom de Vries <tdevries@suse.de>
5820
5821 * gdb.dwarf2/varval.exp: Add decl before def test.
5822
5823 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5824
5825 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5826
5827 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5828
5829 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5830 CV and reference conversion for overload resolution.
5831 * gdb.cp/rvalue-ref-overload.exp: Test it.
5832
5833 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5834
5835 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5836 * gdb.base/frameapply.exp: Test faas without command.
5837
5838 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5839
5840 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5841 Fortran tests.
5842 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5843 order.
5844
5845 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5846
5847 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5848 casting to type with no kind specified.
5849 (test_basic_parsing_of_type_kinds): Additional tests for types
5850 with no kind specified, and add tests for single/double
5851 precision/complex types.
5852
5853 2019-12-04 Tom Tromey <tromey@adacore.com>
5854
5855 * gdb.base/endianity.c (struct other) <x>: New field.
5856 (main): Initialize it.
5857 * gdb.base/endianity.exp: Update.
5858
5859 2019-12-04 Tom Tromey <tromey@adacore.com>
5860
5861 * gdb.ada/scalar_storage/storage.adb: New file.
5862 * gdb.ada/scalar_storage/pck.adb: New file.
5863 * gdb.ada/scalar_storage/pck.ads: New file.
5864 * gdb.ada/scalar_storage.exp: New file.
5865
5866 2019-12-04 Tom Tromey <tromey@adacore.com>
5867
5868 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5869 (main): Initialize it.
5870 * gdb.base/endianity.exp: Update.
5871
5872 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5873
5874 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5875
5876 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5877
5878 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5879 -symbol-info-module-functions and -symbol-info-module-variables.
5880
5881 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5882
5883 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5884
5885 2019-12-01 Richard Bunt <richard.bunt@arm.com>
5886 Andrew Burgess <andrew.burgess@embecosm.com>
5887
5888 * gdb.fortran/derived-type-striding.exp: New file.
5889 * gdb.fortran/derived-type-striding.f90: New file.
5890 * gdb.fortran/array-slices.exp: New file.
5891 * gdb.fortran/array-slices.f90: New file.
5892
5893 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5894
5895 * gdb.base/define.exp: Test . in command names.
5896 * gdb.base/setshow.exp: Update test, as . is now part of
5897 command name.
5898
5899 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5900
5901 * gdb.base/define-prefix.exp: New file.
5902
5903 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5904
5905 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5906 compile.
5907 (skip_btrace_pt_tests): Likewise.
5908
5909 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5910
5911 * gdb.fortran/info-modules.exp: Compile source files in correct
5912 order.
5913
5914 2019-11-27 Kevin Buettner <kevinb@redhat.com>
5915
5916 * gdb.dwarf2/imported-unit.exp: New file.
5917 * gdb.dwarf2/imported-unit.c: New file.
5918
5919 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5920
5921 * gdb.mi/mi-fortran-modules-2.f90: New file.
5922 * gdb.mi/mi-fortran-modules.exp: New file.
5923 * gdb.mi/mi-fortran-modules.f90: New file.
5924
5925 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5926
5927 * gdb.mi/mi-sym-info-1.c: New file.
5928 * gdb.mi/mi-sym-info-2.c: New file.
5929 * gdb.mi/mi-sym-info.exp: New file.
5930
5931 2019-11-22 Tom Tromey <tromey@adacore.com>
5932
5933 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5934 * gdb.ada/tasks/foo.adb: Add another stopping location.
5935
5936 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5937
5938 * gdb.base/endianity.c: New test.
5939 * gdb.base/endianity.exp: New file.
5940
5941 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5942
5943 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5944
5945 2019-11-21 Tom de Vries <tdevries@suse.de>
5946
5947 PR gdb/24956
5948 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5949
5950 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5951
5952 * gdb.python/py-progspace.exp: Add missing parentheses on some
5953 'print' commands.
5954
5955 2019-11-19 Tom Tromey <tom@tromey.com>
5956
5957 * gdb.tui/winheight.exp: New file.
5958
5959 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5960
5961 * gdb.base/ctf-whatis.c: Delete.
5962 * gdb.base/ctf-whatis.exp: Delete.
5963 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5964
5965 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5966
5967 * gdb.base/ctf-cvexpr.exp: Delete.
5968 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5969
5970 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5973 the compiler. Clean up header comment a little.
5974 * gdb.base/ctf-ptype.exp: Likewise.
5975 * gdb.base/ctf-whatis.exp: Likewise.
5976 * lib/gdb.exp (skip_ctf_tests): New proc.
5977
5978 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5979
5980 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5981 * gdb.tui/corefile-run.exp: New file.
5982
5983 2019-11-14 Tom Tromey <tromey@adacore.com>
5984
5985 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5986 regression tests.
5987
5988 2019-11-12 Tom Tromey <tom@tromey.com>
5989
5990 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5991 after any command. Expect prompt after WAIT_FOR is seen.
5992 (enter_tui): Enable resize messages.
5993 (command): Expect command in output.
5994 (get_line): Avoid error when cursor appears to be off-screen.
5995 (dump_screen): Include screen size in title.
5996 (_do_resize): New proc, from "resize".
5997 (resize): Rewrite. Do resize in two steps.
5998 * gdb.tui/empty.exp (layouts): Fix entries.
5999 (check_boxes): Remove xfail.
6000 (check_text): Dump screen on failure.
6001
6002 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6003
6004 * gdb.python/py-symbol.exp: Add test for
6005 gdb.lookup_static_symbols.
6006
6007 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6008
6009 * gdb.python/py-symbol.c: Declare and call function from new
6010 py-symbol-2.c file.
6011 * gdb.python/py-symbol.exp: Compile both source files, and add new
6012 tests for gdb.lookup_static_symbol.
6013 * gdb.python/py-symbol-2.c: New file.
6014
6015 2019-11-02 Tom de Vries <tdevries@suse.de>
6016
6017 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6018 * gdb.base/anon.exp: Same.
6019 * gdb.base/auto-connect-native-target.exp: Same.
6020 * gdb.base/call-ar-st.exp: Same.
6021 * gdb.base/catch-syscall.exp: Same.
6022 * gdb.base/commands.exp: Same.
6023 * gdb.base/default.exp: Same.
6024 * gdb.base/display.exp: Same.
6025 * gdb.base/float.exp: Same.
6026 * gdb.base/foll-fork.exp: Same.
6027 * gdb.base/help.exp: Same.
6028 * gdb.base/info-macros.exp: Same.
6029 * gdb.base/info-proc.exp: Same.
6030 * gdb.base/info-target.exp: Same.
6031 * gdb.base/long_long.exp: Same.
6032 * gdb.base/macscp.exp: Same.
6033 * gdb.base/memattr.exp: Same.
6034 * gdb.base/nofield.exp: Same.
6035 * gdb.base/pointers.exp: Same.
6036 * gdb.base/printcmds.exp: Same.
6037 * gdb.base/ptype.exp: Same.
6038 * gdb.base/restore.exp: Same.
6039 * gdb.base/return.exp: Same.
6040 * gdb.base/scope.exp: Same.
6041 * gdb.base/set-noassign.exp: Same.
6042 * gdb.base/setshow.exp: Same.
6043 * gdb.base/shlib-call.exp: Same.
6044 * gdb.base/signals.exp: Same.
6045 * gdb.base/sigstep.exp: Same.
6046 * gdb.base/skip.exp: Same.
6047 * gdb.base/solib-symbol.exp: Same.
6048 * gdb.base/stap-probe.exp: Same.
6049 * gdb.base/step-line.exp: Same.
6050 * gdb.base/step-test.exp: Same.
6051 * gdb.base/style.exp: Same.
6052 * gdb.base/varargs.exp: Same.
6053 * gdb.base/vla-datatypes.exp: Same.
6054 * gdb.base/vla-ptr.exp: Same.
6055 * gdb.base/vla-sideeffect.exp: Same.
6056 * gdb.base/volatile.exp: Same.
6057 * gdb.base/watch-cond-infcall.exp: Same.
6058 * gdb.base/watchpoint.exp: Same.
6059
6060 2019-11-02 Tom de Vries <tdevries@suse.de>
6061
6062 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6063 * gdb.cp/cpexprs.exp: Same.
6064 * gdb.cp/except-multi-location.exp: Same.
6065 * gdb.cp/exceptprint.exp: Same.
6066 * gdb.cp/gdb2384.exp: Same.
6067 * gdb.cp/inherit.exp: Same.
6068 * gdb.cp/m-static.exp: Same.
6069 * gdb.cp/meth-typedefs.exp: Same.
6070 * gdb.cp/misc.exp: Same.
6071 * gdb.cp/namespace.exp: Same.
6072 * gdb.cp/non-trivial-retval.exp: Same.
6073 * gdb.cp/overload.exp: Same.
6074 * gdb.cp/pr17132.exp: Same.
6075 * gdb.cp/re-set-overloaded.exp: Same.
6076 * gdb.cp/rvalue-ref-types.exp: Same.
6077 * gdb.cp/templates.exp: Same.
6078
6079 2019-11-01 Luis Machado <luis.machado@linaro.org>
6080
6081 PR gdb/25124
6082
6083 * gdb.arch/pr25124.S: New file.
6084 * gdb.arch/pr25124.exp: New file.
6085
6086 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6087
6088 * gdb.fortran/info-modules.exp: Update expected results, and add
6089 additional tests for 'info module functinos', and 'info module
6090 variables'.
6091 * gdb.fortran/info-types.exp: Update expected results.
6092 * gdb.fortran/info-types.f90: Extend testcase with additional
6093 module variables and functions.
6094
6095 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6096
6097 * gdb.fortran/info-modules.exp: New file.
6098 * gdb.fortran/info-types.exp: Build with new file.
6099 * gdb.fortran/info-types.f90: Include and use new module.
6100 * gdb.fortran/info-types-2.f90: New file.
6101
6102 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6103
6104 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6105 * gdb.base/settings.exp: Test all settings types using
6106 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6107 that now verifies that the value of "maint show" is the same as
6108 returned by the settings functions. Test the type of the
6109 maintenance settings.
6110 * gdb.base/default.exp: Update show_conv_list.
6111
6112 2019-10-31 Tom de Vries <tdevries@suse.de>
6113
6114 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6115 gdb_test.
6116 * gdb.arch/amd64-disp-step.exp: Same.
6117 * gdb.asm/asm-source.exp: Same.
6118 * gdb.btrace/buffer-size.exp: Same.
6119 * gdb.btrace/cpu.exp: Same.
6120 * gdb.btrace/enable.exp: Same.
6121 * gdb.dwarf2/count.exp: Same.
6122 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6123 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6124 * gdb.fortran/vla-datatypes.exp: Same.
6125 * gdb.fortran/vla-history.exp: Same.
6126 * gdb.fortran/vla-ptype.exp: Same.
6127 * gdb.fortran/vla-value.exp: Same.
6128 * gdb.fortran/whatis_type.exp: Same.
6129 * gdb.guile/guile.exp: Same.
6130 * gdb.multi/tids.exp: Same.
6131 * gdb.python/py-finish-breakpoint.exp: Same.
6132 * gdb.python/py-framefilter.exp: Same.
6133 * gdb.python/py-pp-registration.exp: Same.
6134 * gdb.python/py-xmethods.exp: Same.
6135 * gdb.python/python.exp: Same.
6136 * gdb.server/connect-with-no-symbol-file.exp: Same.
6137 * gdb.server/no-thread-db.exp: Same.
6138 * gdb.server/run-without-local-binary.exp: Same.
6139 * gdb.stabs/weird.exp: Same.
6140 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6141 * gdb.threads/thread-find.exp: Same.
6142 * gdb.threads/tls-shared.exp: Same.
6143 * gdb.threads/tls.exp: Same.
6144 * gdb.threads/wp-replication.exp: Same.
6145 * gdb.trace/ax.exp: Same.
6146 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6147
6148 2019-10-31 Tom de Vries <tdevries@suse.de>
6149
6150 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6151 * gdb.ada/array_subscript_addr.exp: Same.
6152 * gdb.ada/arrayidx.exp: Same.
6153 * gdb.ada/arrayparam.exp: Same.
6154 * gdb.ada/arrayptr.exp: Same.
6155 * gdb.ada/boolean_expr.exp: Same.
6156 * gdb.ada/call_pn.exp: Same.
6157 * gdb.ada/complete.exp: Same.
6158 * gdb.ada/fixed_cmp.exp: Same.
6159 * gdb.ada/fun_addr.exp: Same.
6160 * gdb.ada/funcall_param.exp: Same.
6161 * gdb.ada/interface.exp: Same.
6162 * gdb.ada/mod_from_name.exp: Same.
6163 * gdb.ada/null_array.exp: Same.
6164 * gdb.ada/packed_array.exp: Same.
6165 * gdb.ada/packed_tagged.exp: Same.
6166 * gdb.ada/print_chars.exp: Same.
6167 * gdb.ada/print_pc.exp: Same.
6168 * gdb.ada/ptype_arith_binop.exp: Same.
6169 * gdb.ada/ptype_field.exp: Same.
6170 * gdb.ada/ptype_tagged_param.exp: Same.
6171 * gdb.ada/rec_return.exp: Same.
6172 * gdb.ada/ref_tick_size.exp: Same.
6173 * gdb.ada/str_ref_cmp.exp: Same.
6174 * gdb.ada/taft_type.exp: Same.
6175 * gdb.ada/tagged.exp: Same.
6176 * gdb.ada/type_coercion.exp: Same.
6177 * gdb.ada/uninitialized_vars.exp: Same.
6178
6179 2019-10-30 Tom de Vries <tdevries@suse.de>
6180
6181 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6182
6183 2019-10-26 Tom de Vries <tdevries@suse.de>
6184
6185 * gdb.base/bigcore.c: Fix typos in comments.
6186 * gdb.base/ctf-ptype.c: Same.
6187 * gdb.base/long_long.c: Same.
6188 * gdb.dwarf2/dw2-op-out-param.S: Same.
6189 * gdb.python/py-evthreads.c: Same.
6190 * gdb.reverse/i387-stack-reverse.c: Same.
6191 * gdb.trace/tfile.c: Same.
6192 * lib/compiler.c: Same.
6193 * lib/compiler.cc: Same.
6194
6195 2019-10-25 Tom de Vries <tdevries@suse.de>
6196
6197 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6198 gdb_test_multiple calls.
6199 * gdb.reverse/sigall-reverse.exp: Same.
6200 * gdb.reverse/solib-precsave.exp: Same.
6201 * gdb.reverse/solib-reverse.exp: Same.
6202 * gdb.reverse/until-precsave.exp: Same.
6203 * gdb.reverse/until-reverse.exp: Same.
6204
6205 2019-10-24 Tom de Vries <tdevries@suse.de>
6206
6207 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6208 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6209 kfail using -wrap pattern flag and convenience variable
6210 gdb_test_name.
6211
6212 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6213
6214 * gdb.python/py-progspace.exp: Add tests for the
6215 Progspace.block_for_pc method.
6216
6217 2019-10-23 Tom Tromey <tom@tromey.com>
6218
6219 * configure: Rebuild.
6220 * aclocal.m4: Use m4_include, not sinclude.
6221
6222 2019-10-21 Tom de Vries <tdevries@suse.de>
6223
6224 * gdb.base/infcall-nested-structs.c: Add
6225 __attribute__((noinline,noclone)) to all functions.
6226 (call_all): Add missing variable initialization. Simplify return value.
6227 (breakpt): Increment volatile variable, to prevent call from being
6228 optimized out.
6229 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6230
6231 2019-10-17 Tom de Vries <tdevries@suse.de>
6232
6233 * gdb.fortran/module.exp: Allow info variables to print info for files
6234 other than module.f90.
6235
6236 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6237
6238 * gdb.fortran/module.exp: Extend with 'info variables' test.
6239
6240 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6241
6242 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6243 F77_FOR_TARGET.
6244
6245 2019-10-16 Tom de Vries <tdevries@suse.de>
6246
6247 PR tdep/25096
6248 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6249
6250 2019-10-16 Tom de Vries <tdevries@suse.de>
6251
6252 PR tdep/24104
6253 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6254 Add KFAIL for PR tdep/25096.
6255
6256 2019-10-16 Tom de Vries <tdevries@suse.de>
6257
6258 PR testsuite/25059
6259 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6260
6261 2019-10-16 Tom de Vries <tdevries@suse.de>
6262
6263 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6264 as signed.
6265
6266 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6267
6268 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6269 one instead of increasing timeout.
6270
6271 2019-10-13 Tom de Vries <tdevries@suse.de>
6272
6273 PR record/25038
6274 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6275 * gdb.reverse/sigall-reverse.exp: Same.
6276 * gdb.reverse/solib-precsave.exp: Same.
6277 * gdb.reverse/solib-reverse.exp: Same.
6278 * gdb.reverse/step-precsave.exp: Same.
6279 * gdb.reverse/until-precsave.exp: Same.
6280 * gdb.reverse/until-reverse.exp: Same.
6281 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6282
6283 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6284
6285 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6286 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6287 (cmp_struct_05_01, cmp_struct_static_02_01)
6288 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6289 comparisons.
6290
6291 2019-10-10 Tom de Vries <tdevries@suse.de>
6292
6293 PR testsuite/24888
6294 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6295 gnatlink.
6296
6297 2019-10-09 Tom de Vries <tdevries@suse.de>
6298
6299 PR testsuite/25048
6300 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6301
6302 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6303
6304 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6305 exceptions due to missing debug information.
6306
6307 2019-10-07 Tom de Vries <tdevries@suse.de>
6308
6309 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6310
6311 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6312
6313 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6314 * gdb.base/annota1.exp: Update to use gdb_test_name.
6315
6316 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
6317
6318 * gdb.base/ctf-whatis.exp: New file.
6319 * gdb.base/ctf-whatis.c: New file.
6320 * gdb.base/ctf-ptype.exp: New file.
6321 * gdb.base/ctf-ptype.c: New file.
6322 * gdb.base/ctf-constvars.exp: New file.
6323 * gdb.base/ctf-constvars.c: New file.
6324 * gdb.base/ctf-cvexpr.exp: New file.
6325
6326 2019-10-04 Tom de Vries <tdevries@suse.de>
6327
6328 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6329 for loop.
6330
6331 2019-10-03 Tom Tromey <tom@tromey.com>
6332
6333 PR rust/24976:
6334 * gdb.rust/simple.rs (Union2): New type.
6335 (main): Use Union2.
6336 * gdb.rust/simple.exp: Add test.
6337
6338 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6339
6340 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6341 nested function prefix.
6342
6343 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6344 Richard Bunt <richard.bunt@arm.com>
6345 Andrew Burgess <andrew.burgess@embecosm.com>
6346
6347 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6348 nested functions.
6349 * gdb.fortran/nested-funcs.f90: Update expected results.
6350 * gdb.fortran/nested-funcs-2.exp: New file.
6351 * gdb.fortran/nested-funcs-2.f90: New file.
6352
6353 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.python/py-parameter.exp: Make test names unique.
6356 * gdb.python/py-template.exp: Likewise.
6357 * gdb.python/py-value.exp: Likewise.
6358
6359 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6360
6361 * gdb.base/break-interp.exp: Reduce test name duplication.
6362 * gdb.base/call-sc.exp: Likewise.
6363 * gdb.base/callfuncs.exp: Likewise.
6364 * gdb.base/charset.exp: Likewise.
6365 * gdb.base/dump.exp: Likewise.
6366 * gdb.base/ena-dis-br.exp: Likewise.
6367 * gdb.base/relational.exp: Likewise.
6368 * gdb.base/step-over-syscall.exp: Likewise.
6369 * gdb.base/structs.exp: Likewise.
6370
6371 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6372
6373 * gdb.linespec/explicit.exp: Make test names unique.
6374 * gdb.linespec/ls-errs.exp: Likewise.
6375
6376 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6377
6378 * gdb.reverse/break-precsave.exp: Make test names unique.
6379 * gdb.reverse/break-reverse.exp: Likewise.
6380 * gdb.reverse/finish-precsave.exp: Likewise.
6381 * gdb.reverse/finish-reverse.exp: Likewise.
6382 * gdb.reverse/machinestate-precsave.exp: Likewise.
6383 * gdb.reverse/machinestate.exp: Likewise.
6384 * gdb.reverse/readv-reverse.exp: Likewise.
6385 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6386 * gdb.reverse/sigall-precsave.exp: Likewise.
6387 * gdb.reverse/sigall-reverse.exp: Likewise.
6388 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6389 * gdb.reverse/watch-precsave.exp: Likewise.
6390 * gdb.reverse/watch-reverse.exp: Likewise.
6391
6392 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6393
6394 * gdb.threads/stop-with-handle.c: New file.
6395 * gdb.threads/stop-with-handle.exp: New file.
6396
6397 2019-10-03 Tom de Vries <tdevries@suse.de>
6398
6399 PR testsuite/25059
6400 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6401 directory" line to be missing.
6402
6403 2019-10-03 Tom de Vries <tdevries@suse.de>
6404
6405 PR testsuite/25059
6406 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6407 type optional.
6408
6409 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6410
6411 * gdb.python/py-format-string.c (string.h): New include.
6412 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6413 the same value, for endianness-independence.
6414 * gdb.python/py-format-string.exp (default_regexp_dict)
6415 (test_pretty_structs, test_format): Adjust expected output to the
6416 changed initialization.
6417
6418 2019-10-02 Tom Tromey <tromey@adacore.com>
6419
6420 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6421
6422 2019-10-02 Pedro Alves <palves@redhat.com>
6423 Andrew Burgess <andrew.burgess@embecosm.com>
6424
6425 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6426 "print-file-var.h".
6427 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6428 (get_version_1): Print this_version_id and its address.
6429 Add extern "C" wrappers around interface functions.
6430 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6431 "print-file-var.h".
6432 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6433 (get_version_2): Print this_version_id and its address.
6434 Add extern "C" wrappers around interface functions.
6435 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6436 <stddef.h> and "print-file-var.h".
6437 Add extern "C" wrappers around interface functions.
6438 [VERSION_ID_MAIN] (this_version_id): Define.
6439 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6440 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6441 up extern "C" blocks.
6442 * gdb.base/print-file-var.exp (test): New, factored out from top
6443 level.
6444 (top level): Test all combinations of attribute hidden or not,
6445 dlopen or not, and this_version_id symbol in main file or not.
6446 Compile tests as both C++ and C, make test names unique.
6447
6448 2019-10-01 Tom Tromey <tom@tromey.com>
6449
6450 * gdb.base/style.exp: Test "show logging filename".
6451
6452 2019-10-01 Tom Tromey <tom@tromey.com>
6453
6454 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6455 * gdb.base/style.exp: Add metadata style test.
6456
6457 2019-10-01 Tom Tromey <tom@tromey.com>
6458
6459 * gdb.base/style.exp: Test "pwd".
6460
6461 2019-10-01 Tom Tromey <tom@tromey.com>
6462
6463 * gdb.base/style.exp: Update tests.
6464
6465 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6466
6467 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6468 'six' to unsigned.
6469 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6470 'five'. Use an all-ones bit pattern for each.
6471 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6472 to its changed values.
6473
6474 2019-09-30 Tom Tromey <tromey@adacore.com>
6475
6476 * gdb.rust/traits.rs: Disable all warnings.
6477
6478 2019-09-29 Tom de Vries <tdevries@suse.de>
6479
6480 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
6481
6482 2019-09-29 Tom de Vries <tdevries@suse.de>
6483
6484 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6485
6486 2019-09-27 Tom de Vries <tdevries@suse.de>
6487
6488 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6489
6490 2019-09-27 Tom de Vries <tdevries@suse.de>
6491
6492 PR record/23188
6493 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6494
6495 2019-09-26 Tom Tromey <tromey@adacore.com>
6496
6497 * gdb.ada/py_taft.exp: New file.
6498 * gdb.ada/py_taft/main.adb: New file.
6499 * gdb.ada/py_taft/pkg.adb: New file.
6500 * gdb.ada/py_taft/pkg.ads: New file.
6501
6502 2019-09-24 Tom de Vries <tdevries@suse.de>
6503
6504 PR gdb/24598
6505 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6506
6507 2019-09-22 Tom de Vries <tdevries@suse.de>
6508
6509 * gdb.base/restore.exp: Allow register variables to be optimized out at
6510 -O0.
6511
6512 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6513
6514 * gdb.arch/spu-info.exp: Remove file.
6515 * gdb.arch/spu-info.c: Remove file.
6516 * gdb.arch/spu-ls.exp: Remove file.
6517 * gdb.arch/spu-ls.c: Remove file.
6518
6519 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6520 * gdb.asm/spu.inc: Remove file.
6521
6522 * gdb.base/dump.exp: Remove support for spu*-*-*.
6523 * gdb.base/stack-checking.exp: Likewise.
6524 * gdb.base/overlays.exp: Likewise.
6525 * gdb.base/ovlymgr.c: Likewise.
6526 * gdb.base/spu.ld: Remove file.
6527
6528 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6529 * gdb.cp/cpexprs.exp: Likewise.
6530 * gdb.cp/exception.exp: Likewise.
6531 * gdb.cp/gdb2495.exp: Likewise.
6532 * gdb.cp/mb-templates.exp: Likewise.
6533 * gdb.cp/pr9167.exp: Likewise.
6534 * gdb.cp/userdef.exp: Likewise.
6535
6536 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6537
6538 * gdb.cell: Remove directory.
6539 * lib/cell.exp: Remove file.
6540
6541 2019-09-19 Tom de Vries <tdevries@suse.de>
6542
6543 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6544
6545 2019-09-19 Tom de Vries <tdevries@suse.de>
6546
6547 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6548
6549 2019-09-19 Tom de Vries <tdevries@suse.de>
6550
6551 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6552 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6553 (gdb_target_cmd): ... here.
6554 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6555 value 2.
6556
6557 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6558
6559 * gdb.base/source-dir.exp: Avoid having directory names in test
6560 names.
6561
6562 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6563
6564 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6565 directory.
6566
6567 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6568
6569 * gdb.base/list-missing-source.exp: New file.
6570
6571 2019-09-14 Tom de Vries <tdevries@suse.de>
6572
6573 PR teststuite/24599
6574 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6575 * lib/ada.exp (gnatmake_version_at_least): New proc.
6576
6577 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6578
6579 * gdb.base/maint.exp: Use exec_has_index_section.
6580
6581 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6582
6583 * gdb.base/maint.exp: Add test for 'maint info sections'.
6584
6585 2019-09-12 Tom de Vries <tdevries@suse.de>
6586
6587 * gdb.base/store.exp: Allow register variables to be optimized out at
6588 -O0.
6589
6590 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6591
6592 * gdb.ada/rdv_wait.exp: Update to new task names.
6593 * gdb.base/task_switch_in_core.exp: Likewise.
6594 * gdb.base/info_sources_base.c: Likewise.
6595
6596 2019-09-10 Tom Tromey <tromey@adacore.com>
6597
6598 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6599
6600 2019-09-10 Tom Tromey <tromey@adacore.com>
6601
6602 * gdb.ada/dgopt.exp: New file.
6603 * gdb.ada/dgopt/x.adb: New file.
6604
6605 2019-09-08 Tom Tromey <tom@tromey.com>
6606
6607 * gdb.tui/resize.exp: Remove setup_xfail.
6608 * gdb.tui/regs.exp: Remove setup_xfail.
6609 * gdb.tui/basic.exp: Remove setup_xfail.
6610
6611 2019-09-06 David Blaikie <dblaikie@gmail.com>
6612
6613 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6614 * gdb.cp/cplabel.exp: Ditto.
6615 * gdb.linespec/ls-errs.exp: Ditto.
6616
6617 2019-09-05 Tom de Vries <tdevries@suse.de>
6618
6619 * lib/gdb.exp (cmp_file_string): New proc.
6620 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6621 runto_main. Verify save breakpoints output.
6622
6623 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6624
6625 * gdb.base/info-var.exp: Test info variables without running
6626 to main, to avoid expect's buffer overflow.
6627
6628 2019-09-03 Tom Tromey <tromey@adacore.com>
6629
6630 * gdb.ada/bias.exp: New file.
6631 * gdb.ada/bias/bias.adb: New file.
6632 * gdb.ada/print_chars.exp: Add regression test.
6633 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6634 (MC): New variable.
6635
6636 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6637
6638 * gdb.base/argv0-symlink.exp: Run only on native target
6639 and local host.
6640
6641 2019-08-29 Tom de Vries <tdevries@suse.de>
6642
6643 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6644 diverse debug info.
6645 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6646
6647 2019-08-28 Tom de Vries <tdevries@suse.de>
6648
6649 * gdb.base/info-var.exp: Allow info variables to print info for files
6650 other than info-var-f1.c and info-var-f2.c.
6651
6652 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6653
6654 * gdb.fortran/info-types.exp: Add module.
6655 * gdb.fortran/info-types.f90: Update expected results.
6656
6657 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6658
6659 * gdb.fortran/info-types.exp: New file.
6660 * gdb.fortran/info-types.f90: New file.
6661 * lib/fortran.exp (fortran_character1): New proc.
6662
6663 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6664
6665 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6666 functions'. Reindent as needed.
6667 * gdb.base/info-var-f1.c: New file.
6668 * gdb.base/info-var-f2.c: New file.
6669 * gdb.base/info-var.exp: New file.
6670 * gdb.base/info-var.h: New file.
6671
6672 2019-08-26 Tom de Vries <tdevries@suse.de>
6673
6674 PR c++/24852
6675 * gdb.cp/no-libstdcxx-probe.exp: New test.
6676
6677 2019-08-26 Tom de Vries <tdevries@suse.de>
6678
6679 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6680 * tests need to be skipped.
6681 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6682 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6683 mi_skip_libstdcxx_probe_tests.
6684
6685 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6686
6687 * gdb.python/py-xmethods.exp: Use raw strings when passing
6688 arguments to SimpleXMethodMatcher.
6689
6690 2019-08-22 Tom de Vries <tdevries@suse.de>
6691
6692 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6693 more informative.
6694
6695 2019-08-21 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/with.exp: Test "with" with no arguments.
6698
6699 2019-08-21 Tom de Vries <tdevries@suse.de>
6700
6701 * gdb.base/gdb-caching-proc.exp: Sort files.
6702
6703 2019-08-20 Tom de Vries <tdevries@suse.de>
6704
6705 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6706 compilation.
6707
6708 2019-08-16 Tom de Vries <tdevries@suse.de>
6709
6710 * gdb.base/compare-sections.exp ("after run to main"): Allow
6711 mismatched read-only sections for PIE executables.
6712
6713 2019-08-16 Tom Tromey <tom@tromey.com>
6714
6715 * lib/tuiterm.exp (_csi_Z): New proc.
6716 * gdb.tui/basic.exp: Update window positions.
6717 * gdb.tui/empty.exp: Update window positions.
6718
6719 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6720
6721 * gdb.base/examine-backward.exp: Correct regexp for
6722 "examine 3 bytes backward from ${address_zero}".
6723
6724 2019-08-15 Tom Tromey <tom@tromey.com>
6725
6726 * gdb.tui/empty.exp: Enable resizing tests.
6727
6728 2019-08-15 Tom Tromey <tromey@adacore.com>
6729
6730 * gdb.ada/char_enum.exp: Add regression tests.
6731 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6732 and '0'.
6733 (Char, Gchar): Update.
6734 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6735
6736 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6737
6738 * gdb.python/python.exp: Expect a leading underscore on
6739 GdbOutput{,Error}File.
6740
6741 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6742
6743 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6744 Windows host.
6745
6746 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6747
6748 * gdb.base/batch-preserve-term-settings.exp
6749 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6750
6751 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6752
6753 * lib/gdb.exp: When running on a mingw target, replace
6754 /x/ with x:/.
6755
6756 2019-08-14 Alan Hayward <alan.hayward@arm.com>
6757
6758 * gdb.arch/aarch64-prologue.c: New test.
6759 * gdb.arch/aarch64-prologue.exp: New file.
6760
6761 2019-08-13 Tom de Vries <tdevries@suse.de>
6762
6763 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6764 Thread.
6765
6766 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6767
6768 * gdb.python/py-completion.exp: Download the .py file to the host
6769 and use its host pathname. Conditionalize tests that use
6770 tab completion and manipulate files on the build machine.
6771 * gdb.python/py-events.exp: Download the .py file to the host
6772 and use its host pathname.
6773 * gdb.python/py-evsignal.exp: Likewise.
6774 * gdb.python/py-evthreads.exp: Likewise.
6775 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6776 pathname syntax.
6777 * gdb.python/py-framefilter.exp: Download the .py file to the right
6778 place on the host. Match Windows pathname syntax.
6779 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6780 .py file to the host and use its host pathname.
6781 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6782 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6783 build pathname. Skip symlink test on Windows host. Add missing
6784 newline at end of file.
6785 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6786 and use its host pathname.
6787 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6788 * gdb.python/py-section-script.exp: Use host location of binfile
6789 on safe-path. Use correct path separator on Windows host.
6790 Reorder alternatives in gdb_test_multiple to prevent matching
6791 the wrong alternative on success.
6792 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6793
6794 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6795
6796 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6797 expect the GDB inferior to no longer immediately stop after
6798 being resumed with "signal SIGINT".
6799
6800 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6801
6802 * gdb.linespec/break-ask.exp: Generalize regexps to match
6803 Windows pathnames too.
6804
6805 2019-08-08 Tom de Vries <tdevries@suse.de>
6806
6807 PR testsuite/24862
6808 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6809
6810 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6811
6812 * gdb.base/style.exp: Update tests for help doc new invariants.
6813 * gdb.base/help.exp: Likewise.
6814
6815 2019-08-06 Tom Tromey <tom@tromey.com>
6816
6817 * gdb.base/style.exp: Add disassemble test.
6818 * gdb.base/style.c (some_called_function): New function.
6819 (main): Use it.
6820
6821 2019-08-05 Christian Biesinger <cbiesinger@google.com>
6822
6823 * gdb.python/py-block.exp: Test dictionary access on blocks.
6824
6825 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
6826
6827 PR gdb/24863
6828 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6829 -list-thread-groups --available test when running under
6830 check-read1.
6831
6832 2019-08-05 Tom de Vries <tdevries@suse.de>
6833
6834 PR testsuite/24863
6835 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6836 * gdb.base/help.exp: Use with_read1_timeout_factor.
6837 * gdb.base/info-macros.exp: Same.
6838 * gdb.cp/nested-types.exp: Same.
6839
6840 2019-08-05 Tom de Vries <tdevries@suse.de>
6841
6842 * lib/gdb.exp (version_at_least): Factor out of ...
6843 (tcl_version_at_least): ... here.
6844 (gdb_compile): Fail if pie results in non-PIE executable.
6845 (readelf_version, readelf_prints_pie): New proc.
6846 (exec_is_pie): Return -1 if unknown.
6847
6848 2019-08-05 Tom de Vries <tdevries@suse.de>
6849
6850 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6851
6852 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6853
6854 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6855
6856 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6857
6858 * lib/completion-support.exp (test_gdb_complete_none): Skip
6859 tab completion tests if no readline support.
6860 (test_gdb_complete_unique_re): Likewise.
6861 (test_gdb_complete_multiple): Likewise.
6862
6863 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6864
6865 * gdb.base/info_sources.exp: New file.
6866 * gdb.base/info_sources.c: New file.
6867 * gdb.base/info_sources_base.c: New file.
6868
6869 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6870
6871 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6872 prefix argument.
6873 (test_exit_status): Add prefix argument.
6874
6875 2019-08-01 Tom de Vries <tdevries@suse.de>
6876
6877 PR testsuite/24863
6878 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6879 calling exp_continue for new thread and thread exited messages.
6880
6881 2019-08-01 Tom de Vries <tdevries@suse.de>
6882
6883 PR testsuite/24863
6884 * gdb.base/structs.exp: Fix check-read1 timeout using
6885 gdb_test_sequence.
6886 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6887
6888 2019-08-01 Tom de Vries <tdevries@suse.de>
6889
6890 PR testsuite/24863
6891 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6892 line.
6893
6894 2019-08-01 Tom de Vries <tdevries@suse.de>
6895
6896 PR testsuite/24863
6897 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6898
6899 2019-07-30 Tom Tromey <tromey@adacore.com>
6900
6901 * gdb.ada/display_nested.exp: New file.
6902 * gdb.ada/display_nested/foo.adb: New file.
6903 * gdb.ada/display_nested/pack.adb: New file.
6904 * gdb.ada/display_nested/pack.ads: New file.
6905
6906 2019-07-30 Christian Biesinger <cbiesinger@google.com>
6907
6908 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6909 namespace.
6910 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6911
6912 2019-07-30 Tom de Vries <tdevries@suse.de>
6913
6914 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6915 instead.
6916
6917 2019-07-30 Tom de Vries <tdevries@suse.de>
6918
6919 PR testsuite/24834
6920 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6921 (exec_is_pie): New proc.
6922
6923 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6924
6925 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6926
6927 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6928
6929 * gdb.python/py-objfile.c: Add global and static vars.
6930 * gdb.python/py-objfile.exp: Test new functions Objfile.
6931 lookup_global_symbol and lookup_static_symbol.
6932
6933 2019-07-29 Tom Tromey <tom@tromey.com>
6934
6935 * lib/tuiterm.exp (Term::_csi_@): New proc.
6936 (Term::_csi_X): Don't move cursor.
6937
6938 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6939
6940 * gdb.base/options.exp: Update backtrace - completion to
6941 new option -frame-info.
6942 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6943 Test new 'set print frame-info'. Test backtrace -frame-info
6944 overriding 'set print frame-info'.
6945 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6946 Test new 'set print frame-info'.
6947 Verify consistency of backtrace with and without filters, with and
6948 without -no-filters.
6949 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6950 default.
6951
6952 2019-07-29 Tom de Vries <tdevries@suse.de>
6953
6954 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6955 no arguments".
6956
6957 2019-07-29 Tom de Vries <tdevries@suse.de>
6958
6959 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6960 is a substring of the first for "complete non-unique file name".
6961
6962 2019-07-29 Tom de Vries <tdevries@suse.de>
6963
6964 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6965 with ".*".
6966
6967 2019-07-29 Tom de Vries <tdevries@suse.de>
6968
6969 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6970 Pass prompt_regexp parameter to gdb_test_multiple calls.
6971
6972 2019-07-29 Tom de Vries <tdevries@suse.de>
6973
6974 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
6975 print registers" regexps.
6976
6977 2019-07-29 Tom de Vries <tdevries@suse.de>
6978
6979 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6980
6981 2019-07-29 Tom de Vries <tdevries@suse.de>
6982
6983 PR gdb/24855
6984 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6985 (skip_python_tests_prompt): Add prompt_regexp argument to
6986 gdb_test_multiple calls.
6987
6988 2019-07-27 Tom Tromey <tom@tromey.com>
6989
6990 * gdb.tui/main.exp: New file.
6991
6992 2019-07-27 Tom Tromey <tom@tromey.com>
6993
6994 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6995 optional.
6996 * gdb.tui/empty.exp: New file.
6997
6998 2019-07-27 Tom Tromey <tom@tromey.com>
6999
7000 * lib/tuiterm.exp (spawn): New proc.
7001 (Term::resize): New proc.
7002 * gdb.tui/resize.exp: New file.
7003
7004 2019-07-27 Tom Tromey <tom@tromey.com>
7005
7006 * gdb.tui/list.exp: New file.
7007
7008 2019-07-27 Tom Tromey <tom@tromey.com>
7009
7010 * gdb.tui/regs.exp: New file.
7011
7012 2019-07-27 Tom Tromey <tom@tromey.com>
7013
7014 * gdb.tui/basic.exp: Add "layout split" test.
7015
7016 2019-07-27 Tom Tromey <tom@tromey.com>
7017
7018 * gdb.tui/basic.exp: Add "layout asm" test.
7019
7020 2019-07-27 Tom Tromey <tom@tromey.com>
7021
7022 * lib/tuiterm.exp: New file.
7023 * gdb.tui/basic.exp: New file.
7024
7025 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7026
7027 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7028 Enable tests associated with this flag. Adjust regex
7029 referencing "foo_low" to now refer to "foo_cold" instead.
7030
7031 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7032
7033 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7034 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7035 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7036 foo_cold. Revise comments to match.
7037 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7038 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7039 were wrapped into this proc; Call do_test in loop from outermost
7040 level.
7041 (foo_low): Rename all occurrences to "foo_cold".
7042 (backtrace from baz): New test.
7043 (x2/i foo_cold): New test.
7044 (info line *foo_cold): New test.
7045
7046 2019-07-26 Tom de Vries <tdevries@suse.de>
7047
7048 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7049
7050 2019-07-25 Tom de Vries <tdevries@suse.de>
7051
7052 PR testsuite/24830
7053 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7054 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7055 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7056 (skip_libstdcxx_probe_tests): ... here.
7057 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7058
7059 2019-07-24 Tom de Vries <tdevries@suse.de>
7060
7061 PR testsuite/24807
7062 * gdb.objc/basicclass.m: Include stdio.h.
7063 * gdb.objc/nondebug.m: Same.
7064 * gdb.objc/objcdecode.m: Same.
7065
7066 2019-07-24 Tom de Vries <tdevries@suse.de>
7067
7068 PR testsuite/24612
7069 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7070 additional_flags.
7071
7072 2019-07-24 Tom de Vries <tdevries@suse.de>
7073
7074 PR testsuite/24831
7075 * gdb.multi/tids.exp: Update error messages for info threads.
7076
7077 2019-07-24 Tom de Vries <tdevries@suse.de>
7078
7079 * gdb.base/info-types.exp: Allow info types to print info for more than
7080 one file.
7081
7082 2019-07-23 Tom de Vries <tdevries@suse.de>
7083
7084 PR testsuite/24842
7085 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7086 gdb_spawn_with_cmdline_opts.
7087
7088 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7089
7090 * gdb.arch/arm-cmse-sgstubs.c: New test.
7091 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7092
7093 2019-07-23 Tom de Vries <tdevries@suse.de>
7094
7095 PR testsuite/24711
7096 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7097 issuing next command.
7098
7099 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7100
7101 * gdb.ada/info_auto_lang.exp: Update expected results.
7102 * gdb.base/info-types.c: Add additional types to check.
7103 * gdb.base/info-types.exp: Update expected results.
7104
7105 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7106
7107 * gdb.base/info-types.c: New file.
7108 * gdb.base/info-types.exp: New file.
7109
7110 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7111
7112 * gdb.arch/riscv-bp-infcall.c: New file.
7113 * gdb.arch/riscv-bp-infcall.exp: New file.
7114
7115 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7116
7117 PR breakpoints/24541
7118 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7119
7120 2019-07-14 Tom de Vries <tdevries@suse.de>
7121
7122 PR testsuite/24760
7123 * gdb.objc/basicclass.exp: Fix unterminated string.
7124
7125 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7126 Andrew Burgess <andrew.burgess@embecosm.com>
7127
7128 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7129 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7130 negative bounds.
7131 * gdb.fortran/vla-value.exp: Print elements of an array with
7132 negative bounds.
7133 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7134 testing.
7135
7136 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7137
7138 * gdb.base/options.exp (expect_string): Dequote strings in
7139 results.
7140 (test-string): Test strings with different quoting and reindent.
7141
7142 2019-07-10 Tom Tromey <tromey@adacore.com>
7143
7144 * gdb.ada/mi_ex_cond.exp: Update expected results.
7145 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7146 * gdb.ada/mi_catch_ex.exp: Update expected results.
7147 * gdb.ada/mi_catch_assert.exp: Update expected results.
7148 * gdb.ada/catch_ex.exp (catch_exception_info)
7149 (catch_exception_entry, catch_assert_entry)
7150 (catch_unhandled_entry): Update.
7151 * gdb.ada/catch_assert_if.exp: Update expected results.
7152
7153 2019-07-10 Richard Bunt <richard.bunt@arm.com>
7154 Stephen Roberts <stephen.roberts@arm.com>
7155
7156 * gdb.base/define.exp: Restore original prompt.
7157
7158 2019-07-09 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7161 breakpoints" output.
7162 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7163 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7164 throw" creates breakpoint.
7165 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7166 'type="catchpoint"'.
7167
7168 2019-07-09 Pedro Alves <palves@redhat.com>
7169
7170 PR c++/15468
7171 * gdb.cp/except-multi-location-lib.cc: New.
7172 * gdb.cp/except-multi-location-main.cc: New.
7173 * gdb.cp/except-multi-location.exp: New.
7174
7175 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7176
7177 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7178 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7179 argument and update callers.
7180
7181 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7182
7183 * gdb.arch/amd64-break-on-asm-line.S: New file.
7184 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7185
7186 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7187
7188 * gdb.base/printcmds.exp: Test printing C string and
7189 C wide string convenience vars without transiting via the inferior.
7190 Also make test names unique.
7191
7192 2019-07-08 Alan Hayward <alan.hayward@arm.com>
7193
7194 PR breakpoints/25011
7195 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7196
7197 2019-07-04 Pedro Alves <palves@redhat.com>
7198
7199 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7200 body returned ok(0), break(3) or continue(4).
7201 * gdb.testsuite/foreach_with_prefix.exp: New file.
7202
7203 2019-07-04 Alan Hayward <alan.hayward@arm.com>
7204
7205 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7206
7207 2019-07-03 Pedro Alves <palves@redhat.com>
7208
7209 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7210 "return -code".
7211
7212 2019-07-03 Pedro Alves <palves@redhat.com>
7213
7214 PR cli/24732
7215 * gdb.base/shell.exp: Load completion-support.exp.
7216 Adjust expected error output. Add completion tests.
7217
7218 2019-07-03 Pedro Alves <palves@redhat.com>
7219
7220 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7221 string_to_regexp.
7222
7223 2019-07-03 Pedro Alves <palves@redhat.com>
7224
7225 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7226 (expect_integer): Adjust to expect "-string".
7227 (expect_string): New.
7228 (all_options): Expect "-string".
7229 (test-flag, test-boolean): Adjust to expect "-string".
7230 (test-string): New proc.
7231 (top level): Call it.
7232
7233 2019-07-03 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7236 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7237 the expected output in the success.
7238
7239 2019-07-03 Pedro Alves <palves@redhat.com>
7240
7241 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7242 Split one gdb_test_multiple call in two to avoid a race.
7243
7244 2019-07-03 Pedro Alves <palves@redhat.com>
7245
7246 * gdb.base/with.c: New file.
7247 * gdb.base/with.exp: New file.
7248
7249 2019-07-03 Pedro Alves <palves@redhat.com>
7250
7251 * gdb.base/settings.exp: Replace all references to "maint
7252 test-settings set" with references to "maint set test-settings",
7253 and all references to "maint test-settings show" with references
7254 to "maint show test-settings".
7255
7256 2019-07-03 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/settings.exp (test-string): Adjust expected out when
7259 testing "maint test-settings show filename"
7260
7261 2019-07-02 Pedro Alves <palves@redhat.com>
7262
7263 * gdb.base/options.exp (test-info-threads): New procedure.
7264 (top level): Call it.
7265
7266 2019-06-28 Tom Tromey <tromey@adacore.com>
7267
7268 * gdb.dwarf2/ada-linkage-name.c: New file.
7269 * gdb.dwarf2/ada-linkage-name.exp: New file.
7270
7271 2019-06-27 Tom Tromey <tromey@adacore.com>
7272
7273 PR c++/20020:
7274 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7275
7276 2019-06-26 Tom de Vries <tdevries@suse.de>
7277
7278 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7279
7280 2019-06-26 Tom de Vries <tdevries@suse.de>
7281
7282 * gdb.base/index-cache.exp: Add back missing debug option.
7283
7284 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7285
7286 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7287
7288 2019-06-25 Tom de Vries <tdevries@suse.de>
7289
7290 PR testsuite/24727
7291 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7292
7293 2019-06-24 Tom de Vries <tdevries@suse.de>
7294
7295 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7296
7297 2019-06-24 Tom de Vries <tdevries@suse.de>
7298
7299 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7300 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7301 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7302
7303 2019-06-24 Tom de Vries <tdevries@suse.de>
7304
7305 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7306
7307 2019-06-21 Tom de Vries <tdevries@suse.de>
7308
7309 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7310
7311 2019-06-21 Tom de Vries <tdevries@suse.de>
7312
7313 PR testsuite/24518
7314 PR ada/24713
7315 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7316 index.
7317
7318 2019-06-19 Tom Tromey <tromey@adacore.com>
7319
7320 * gdb.ada/length_cond.exp: Add intro comment.
7321
7322 2019-06-19 Tom Tromey <tromey@adacore.com>
7323
7324 * gdb.ada/length_cond.exp: New file.
7325 * gdb.ada/length_cond/length_cond.adb: New file.
7326 * gdb.ada/length_cond/pck.adb: New file.
7327 * gdb.ada/length_cond/pck.ads: New file.
7328
7329 2019-06-18 Tom de Vries <tdevries@suse.de>
7330
7331 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7332
7333 2019-06-18 Tom Tromey <tromey@adacore.com>
7334
7335 * gdb.base/list0.h: Add comment explaining control character.
7336
7337 2019-06-18 Tom de Vries <tdevries@suse.de>
7338
7339 * boards/fission.exp: Break up long debug_flags line.
7340
7341 2019-06-16 Tom de Vries <tdevries@suse.de>
7342
7343 PR gdb/24445
7344 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7345 generated index.
7346
7347 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7348
7349 PR gdb/24686
7350 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7351 improve detection of bug gdb/24541.
7352
7353 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7354
7355 PR gdb/24669
7356 * gdb.base/index-cache.exp (uses_readnow,
7357 expecting_index_cache_use): Define global variable.
7358 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7359 expecting_index_cache_use.
7360
7361 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7362 Andrew Burgess <andrew.burgess@embecosm.com>
7363
7364 * gdb.fortran/pointers.f90: New file.
7365 * gdb.fortran/print_type.exp: New file.
7366 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7367 * gdb.fortran/vla-type.exp: Likewise.
7368 * gdb.fortran/vla-value.exp: Likewise.
7369 * gdb.mi/mi-vla-fortran.exp: Likewise.
7370
7371 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7372
7373 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7374 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7375 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7376 as a stop reason.
7377
7378 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7379
7380 * gdb.base/annota1.exp: Update expected results.
7381 * gdb.cp/annota2.exp: Likewise.
7382 * gdb.cp/annota3.exp: Likewise.
7383
7384 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7385
7386 * gdb.base/style-logging.exp: Remove path from test name.
7387
7388 2019-06-14 Tom Tromey <tromey@adacore.com>
7389
7390 PR gdb/24502:
7391 * gdb.base/style-logging.exp: New file.
7392
7393 2019-06-14 Tom Tromey <tromey@adacore.com>
7394
7395 * gdb.base/symfile-warn.exp: New file.
7396 * gdb.base/symfile-warn.c: New file.
7397
7398 2019-06-14 Tom Tromey <tromey@adacore.com>
7399
7400 * gdb.base/annotate-symlink.exp: New file.
7401
7402 2019-06-14 Tom Tromey <tromey@adacore.com>
7403
7404 * gdb.ada/set_wstr.exp: Add reassignment test.
7405
7406 2019-06-14 Tom Tromey <tromey@adacore.com>
7407
7408 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7409 'unchecked_access and 'unrestricted_access as well.
7410
7411 2019-06-14 Tom Tromey <tromey@adacore.com>
7412
7413 PR ada/24539:
7414 * gdb.ada/vla.exp: Update tests.
7415 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7416 pragma.
7417
7418 2019-06-13 Pedro Alves <palves@redhat.com>
7419
7420 * gdb.base/settings.exp (test-integer): Test junk after
7421 "unlimited".
7422
7423 2019-06-13 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.base/options.exp (test-thread-apply): New.
7426 (top level): Call it.
7427
7428 2019-06-13 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.base/options.exp (test-frame-apply): New.
7431 (top level): Test print commands with different "frame apply"
7432 prefixes.
7433
7434 2019-06-13 Pedro Alves <palves@redhat.com>
7435
7436 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
7437 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7438 'max_completions' parameter and handle it.
7439 (test_gdb_completion_offers_commands): New.
7440
7441 2019-06-13 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7444
7445 2019-06-13 Pedro Alves <palves@redhat.com>
7446
7447 * gdb.base/options.exp (test-backtrace): New.
7448 (top level): Call it.
7449
7450 2019-06-13 Pedro Alves <palves@redhat.com>
7451
7452 * gdb.guile/scm-frame-args.exp: Use "set print
7453 raw-frame-arguments" instead of "set print raw frame-arguments".
7454 * gdb.python/py-frame-args.exp: Likewise.
7455
7456 2019-06-13 Pedro Alves <palves@redhat.com>
7457
7458 * gdb.compile/compile.exp: Adjust expected output to option
7459 processing changes.
7460
7461 2019-06-13 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.base/options.exp: Build executable.
7464 (test-print): New procedure.
7465 (top level): Call it, once for "print" and another for "compile
7466 print".
7467
7468 2019-06-13 Pedro Alves <palves@redhat.com>
7469
7470 * gdb.base/options.c: New file.
7471 * gdb.base/options.exp: New file.
7472
7473 2019-06-13 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7476 that "o" is ambiguous.
7477
7478 2019-06-13 Pedro Alves <palves@redhat.com>
7479
7480 * gdb.base/settings.c: New file.
7481 * gdb.base/settings.exp: New file.
7482
7483 2019-06-13 Pedro Alves <palves@redhat.com>
7484
7485 * gdb.base/completion.exp: Fix comment typo.
7486
7487 2019-06-13 Pedro Alves <palves@redhat.com>
7488
7489 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7490 foo --1" test.
7491
7492 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7493
7494 * gdb.fortran/block-data.f: New.
7495 * gdb.fortran/block-data.exp: New.
7496
7497 2019-06-11 Tom de Vries <tdevries@suse.de>
7498
7499 PR testsuite/24521
7500 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7501 message.
7502
7503 2019-06-11 Tom de Vries <tdevries@suse.de>
7504
7505 PR testsuite/24521
7506 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7507
7508 2019-06-11 Tom de Vries <tdevries@suse.de>
7509
7510 * boards/readnow.exp: New file.
7511
7512 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7513
7514 * gdb.fortran/vla-sizeof.exp: Update expected results.
7515
7516 2019-06-06 Amos Bird <amosbird@gmail.com>
7517
7518 * gdb.base/annota1.exp (thread_switch): Add test for
7519 thread-exited annotation.
7520
7521 2019-06-06 Tom Tromey <tromey@adacore.com>
7522
7523 * gdb.base/maint.exp: Expect command started/finished output.
7524
7525 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7526
7527 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7528 comment.
7529 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7530
7531 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7532
7533 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7534 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7535 * gdb.arch/riscv-unwind-long-insn.c: New file.
7536 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7537
7538 2019-06-04 Christian Biesinger <cbiesinger@google.com>
7539
7540 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
7541
7542 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7543
7544 * lib/gdb.exp (help_list_trailer): New regexp variable
7545 factorizing the help trailer message.
7546 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7547 arg to allow to better factorize various tests.
7548 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7549 (test_prefix_command_help): Use help_list_trailer.
7550 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7551 * gdb.guile/scm-cmd.exp: Likewise.
7552 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7553 * gdb.base/help.exp: Use test_user_defined_class_help.
7554 * gdb.base/style.exp: Add tests for styling of help and apropos.
7555 * lib/gdb-utils.exp (style): Add title and highlight styles.
7556
7557 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7558
7559 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7560 $_shell_exitsignal.
7561 * gdb.base/default.exp: Update for new convenience variables.
7562
7563 2019-05-29 Tom Tromey <tromey@adacore.com>
7564
7565 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7566 to "break complete ada" test case's regexp.
7567
7568 2019-05-29 Tom Tromey <tromey@adacore.com>
7569
7570 PR c++/20020:
7571 * gdb.cp/constexpr-field.exp: New file.
7572 * gdb.cp/constexpr-field.cc: New file.
7573
7574 2019-05-29 Tom Tromey <tromey@adacore.com>
7575
7576 * gdb.base/finish.exp (finish_no_print): New proc.
7577 (finish_tests): Call it.
7578
7579 2019-05-24 Tom de Vries <tdevries@suse.de>
7580
7581 * gdb.dwarf2/gdb-add-index.exp: New file.
7582
7583 2019-05-22 Tom Tromey <tromey@adacore.com>
7584
7585 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7586 * gdb.base/style.exp: Use "style".
7587 * lib/gdb-utils.exp (style): New proc.
7588
7589 2019-05-22 Tom de Vries <tdevries@suse.de>
7590
7591 * gdb.base/align.exp: Require c++11.
7592
7593 2019-05-22 Tom de Vries <tdevries@suse.de>
7594
7595 PR testsuite/24586
7596 * gdb.python/py-mi-var-info-path-expression.exp: Call
7597 mi_skip_python_tests to check if python is supported.
7598
7599 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7600
7601 * gdb.arch/aarch64-pauth.c: New test.
7602 * gdb.arch/aarch64-pauth.exp: New file.
7603
7604 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7605
7606 * README (Re-running Tests Outside The Testsuite): New section.
7607
7608 2019-05-21 Tom de Vries <tdevries@suse.de>
7609
7610 * gdb.arch/amd64-eval.exp: Require c++11.
7611 * gdb.base/max-depth.exp: Same.
7612 * gdb.compile/compile-cplus-array-decay.exp: Same.
7613 * gdb.cp/meth-typedefs.exp: Same.
7614 * gdb.cp/subtypes.exp: Same.
7615 * gdb.cp/temargs.exp: Same.
7616
7617 2019-05-21 Alan Hayward <alan.hayward@arm.com>
7618
7619 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7620
7621 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7622
7623 PR gdb/18644
7624 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7625 * gdb.fortran/printing-types.exp: Add new test.
7626 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7627 testing.
7628 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7629 setup_kfail call.
7630
7631 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7632
7633 * README (Running the Testsuite): Change example.
7634 (Testsuite Parameters): Remove TRANSCRIPT.
7635 * lib/gdb.exp: Remove TRANSCRIPT check.
7636
7637 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7638
7639 * README (Testsuite Parameters): Add replay logging to
7640 GDBSERVER_DEBUG.
7641 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7642 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7643 as a comma separated list.
7644 (gdb_debug_init): Override procedure.
7645
7646 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7647
7648 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7649 (gdb_write_cmd_file): New procedure.
7650 * lib/gdbserver-support.exp (gdbserver_start): Call
7651 gdbserver_write_cmd_file.
7652 (gdbserver_write_cmd_file): New procedure.
7653
7654 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7655
7656 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7657 (delete_breakpoints): Likewise.
7658 (gdb_run_cmd): Likewise.
7659 (gdb_start_cmd): Likewise.
7660 (gdb_starti_cmd): Likewise.
7661 (gdb_internal_error_resync): Likewise.
7662 (gdb_test_multiple): Likewise.
7663 (gdb_reinitialize_dir): Likewise.
7664 (default_gdb_exit): Likewise.
7665 (gdb_file_cmd): Mark kill as optional.
7666 (default_gdb_start): Call gdb_stdin_log_init.
7667 (send_gdb): Call gdb_stdin_log_write.
7668 (rerun_to_main): Mark Y as an answer.
7669 (gdb_stdin_log_init): New function.
7670 (gdb_stdin_log_write): Likewise.
7671
7672 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7673
7674 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7675 * gdb.base/debug-expr.exp: Likewise.
7676 * gdb.base/foll-fork.exp: Likewise.
7677 * gdb.base/foll-vfork.exp: Likewise.
7678 * gdb.base/fork-print-inferior-events.exp: Likewise.
7679 * gdb.base/gdb-sigterm.exp: Likewise.
7680 * gdb.base/gdbinit-history.exp: Likewise.
7681 * gdb.base/osabi.exp: Likewise.
7682 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7683 * gdb.base/ui-redirect.exp: Likewise.
7684 * gdb.gdb/unittest.exp: Likewise.
7685 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7686 * gdb.mi/mi-watch.exp: Likewise.
7687 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7688 * gdb.mi/user-selected-context-sync.exp: Likewise.
7689 * gdb.python/python.exp: Disable debug test when debugging.
7690 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7691 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7692 Likewise.
7693 * gdb.threads/stepi-random-signal.exp: Likewise.
7694
7695 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7696
7697 * Makefile.in: Pass through GDB_DEBUG.
7698 * README (Testsuite Parameters): Add GDB_DEBUG.
7699 (gdb,debug): Add board setting.
7700 * lib/gdb.exp (default_gdb_start): Start debugging.
7701 (gdb_debug_enabled): New procedure.
7702 (gdb_debug_init): Likewise.
7703
7704 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7705
7706 * Makefile.in: Pass through GDB_DEBUG.
7707 * README (Testsuite Parameters): Add GDB_DEBUG.
7708 (gdb,debug): Add board setting.
7709 * lib/gdb.exp (default_gdb_start): Start debugging.
7710 (gdb_debug_enabled): New procedure.
7711 (gdb_debug_init): Likewise.
7712
7713 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7714
7715 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7716
7717 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7718
7719 * gdb.base/ui-redirect.exp: Test redirection.
7720
7721 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7722
7723 * gdb.mi/mi-complete.exp: New file.
7724 * gdb.mi/mi-complete.cc: Likewise.
7725
7726 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7727
7728 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7729 indexed and sliced arrays, and pointers to arrays.
7730
7731 2019-05-14 Tom Tromey <tromey@adacore.com>
7732
7733 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7734 styling test.
7735
7736 2019-05-14 Tom de Vries <tdevries@suse.de>
7737
7738 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7739 selection entry encoding.
7740
7741 2019-05-10 Tom Tromey <tromey@adacore.com>
7742
7743 * gdb.ada/info_exc.exp: Add "complete" test.
7744
7745 2019-05-09 Tom de Vries <tdevries@suse.de>
7746
7747 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7748 CU-relative.
7749
7750 2019-05-09 Tom de Vries <tdevries@suse.de>
7751
7752 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7753 CU-relative.
7754
7755 2019-05-08 Joel Brobecker <brobecker@adacore.com>
7756
7757 * gdb.ada/frame_arg_lang.exp: New testcase.
7758 * gdb.ada/frame_arg_lang/bla.adb: New file.
7759 * gdb.ada/frame_arg_lang/pck.ads: New file.
7760 * gdb.ada/frame_arg_lang/pck.adb: New file.
7761 * gdb.ada/frame_arg_lang/foo.c: New file.
7762
7763 2019-05-08 Tom Tromey <tromey@adacore.com>
7764
7765 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7766
7767 2019-05-08 Tom Tromey <tromey@adacore.com>
7768
7769 * gdb.base/ptype-offsets.exp: Update tests.
7770
7771 2019-05-08 Tom Tromey <tromey@adacore.com>
7772
7773 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7774 cases.
7775 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7776 "short".
7777
7778 2019-05-08 Tom Tromey <tromey@adacore.com>
7779
7780 * gdb.ada/vla.exp: New file.
7781 * gdb.ada/vla/vla.adb: New file.
7782
7783 2019-05-07 Tom de Vries <tdevries@suse.de>
7784
7785 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7786
7787 2019-05-07 Tom de Vries <tdevries@suse.de>
7788
7789 PR testsuite/24522
7790 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7791 section.
7792
7793 2019-05-07 Tom de Vries <tdevries@suse.de>
7794
7795 PR testsuite/24522
7796 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7797 .debug_aranges section.
7798
7799 2019-05-07 Tom de Vries <tdevries@suse.de>
7800
7801 PR testsuite/24159
7802 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7803
7804 2019-05-06 Tom de Vries <tdevries@suse.de>
7805
7806 * lib/gdb.exp (exec_has_index_section): New proc.
7807 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7808 section.
7809
7810 2019-05-04 Tom de Vries <tdevries@suse.de>
7811
7812 * boards/cc-with-debug-names.exp: New file.
7813
7814 2019-05-03 Tom Tromey <tromey@adacore.com>
7815
7816 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7817 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7818 * gdb.ada/char_enum.exp: Add test.
7819
7820 2019-05-03 Tom de Vries <tdevries@suse.de>
7821
7822 * boards/cc-with-gdb-index.exp: New file.
7823
7824 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7825
7826 * gdb.rust/simple.exp: Add new test case.
7827 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7828 (main): Initialise an instance of the new struct.
7829
7830 2019-05-01 Tom Tromey <tromey@adacore.com>
7831
7832 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7833 record.
7834 (NPR): New variable.
7835 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7836 test.
7837
7838 2019-05-01 Tom Tromey <tromey@adacore.com>
7839
7840 * gdb.ada/packed_array_assign.exp: Add packed assignment
7841 regression test.
7842
7843 2019-05-01 Tom de Vries <tdevries@suse.de>
7844
7845 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7846
7847 2019-05-01 Tom de Vries <tdevries@suse.de>
7848
7849 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7850
7851 2019-04-30 Ali Tamur <tamur@google.com>
7852
7853 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7854
7855 2019-04-30 Tom Tromey <tromey@adacore.com>
7856
7857 * lib/ada.exp (find_ada_tool): New proc.
7858 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7859 * gdb.ada/catch_ex_std.exp: New file.
7860 * gdb.ada/catch_ex_std/foo.adb: New file.
7861 * gdb.ada/catch_ex_std/some_package.adb: New file.
7862 * gdb.ada/catch_ex_std/some_package.ads: New file.
7863
7864 2019-04-30 Tom Tromey <tromey@adacore.com>
7865
7866 PR c++/24470:
7867 * gdb.cp/temargs.cc: Add test code from PR.
7868
7869 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7870
7871 * gdb.fortran/vla-datatypes.exp: Update expected results.
7872 * gdb.fortran/vla-ptype.exp: Likewise.
7873 * gdb.fortran/vla-type.exp: Likewise.
7874 * gdb.fortran/vla-value.exp: Likewise.
7875
7876 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * gdb.fortran/ptr-indentation.exp: Update expected results.
7879 * gdb.fortran/ptype-on-functions.exp: Likewise.
7880 * gdb.fortran/vla-ptr-info.exp: Likewise.
7881 * gdb.fortran/vla-value.exp: Likewise.
7882
7883 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7884
7885 * gdb.fortran/ptype-on-functions.exp: New file.
7886 * gdb.fortran/ptype-on-functions.f90: New file.
7887
7888 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7889
7890 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7891 case void string.
7892
7893 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7894
7895 * gdb.fortran/complex.exp: Expand.
7896 * gdb.fortran/complex.f: Renamed to...
7897 * gdb.fortran/complex.f90: ...this, and extended to add more
7898 complex values.
7899
7900 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7901
7902 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7903 MODULO, CMPLX.
7904
7905 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7906 Richard Bunt <richard.bunt@arm.com>
7907
7908 * gdb.base/max-depth.c: New file.
7909 * gdb.base/max-depth.exp: New file.
7910 * gdb.python/py-nested-maps.c: New file.
7911 * gdb.python/py-nested-maps.exp: New file.
7912 * gdb.python/py-nested-maps.py: New file.
7913 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7914 (test_all_common): Call test_max_depth.
7915 * gdb.fortran/max-depth.exp: New file.
7916 * gdb.fortran/max-depth.f90: New file.
7917 * gdb.go/max-depth.exp: New file.
7918 * gdb.go/max-depth.go: New file.
7919 * gdb.modula2/max-depth.exp: New file.
7920 * gdb.modula2/max-depth.c: New file.
7921 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7922
7923 2019-04-29 Tom de Vries <tdevries@suse.de>
7924
7925 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7926
7927 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7928
7929 * gdb.base/callexit.exp: Test may-call-functions off.
7930
7931 2019-04-25 Keith Seitz <keiths@redhat.com>
7932
7933 PR c++/24367
7934 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7935 (another_incomplete_struct, test_incomplete): New definitions.
7936 (main): Use new definitions.
7937 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7938 functions.
7939
7940 2019-04-25 Ali Tamur <tamur@google.com>
7941
7942 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7943
7944 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7945
7946 PR corefiles/11608
7947 PR corefiles/18187
7948 * gdb.base/coredump-filter-build-id.exp: New file.
7949
7950 2019-04-25 Alan Hayward <alan.hayward@arm.com>
7951
7952 * Makefile.in: Pass through GDBSERVER_DEBUG.
7953 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7954 (gdbserver,debug): Add board setting.
7955 * gdb.trace/tspeed.exp: Skip when debugging.
7956 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7957 * lib/gdbserver-support.exp: Likewise
7958
7959 2019-04-24 Tom Tromey <tromey@adacore.com>
7960
7961 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7962 Rust.
7963
7964 2019-04-24 Tom Tromey <tromey@adacore.com>
7965
7966 * gdb.arch/amd64-eval.exp: Test bitfield return.
7967 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7968 (class Foo) <return_bitfields>: New method.
7969 (main): Call it.
7970
7971 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 * gdb.cp/many-args.cc: New file.
7974 * gdb.cp/many-args.exp: New file.
7975
7976 2019-04-23 Tom de Vries <tdevries@suse.de>
7977
7978 PR gdb/24433
7979 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7980
7981 2019-04-23 Alan Hayward <alan.hayward@arm.com>
7982
7983 * gdb.trace/backtrace.exp: Use nopie flag.
7984 * gdb.trace/circ.exp: Likewise.
7985 * gdb.trace/collection.exp: Likewise.
7986 * gdb.trace/ftrace.exp: Likewise.
7987 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7988 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7989 * gdb.trace/qtro.exp: Likewise.
7990 * gdb.trace/read-memory.exp: Likewise.
7991 * gdb.trace/report.exp: Likewise.
7992 * gdb.trace/tfile.exp: Likewise.
7993 * gdb.trace/tfind.exp: Likewise.
7994 * gdb.trace/unavailable.exp: Likewise.
7995
7996 2019-04-22 Pedro Alves <palves@redhat.com>
7997
7998 * gdb.base/solib-probes-nosharedlibrary.c,
7999 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8000
8001 2019-04-19 Tom Tromey <tromey@adacore.com>
8002
8003 * gdb.ada/ptype_union.c: New file.
8004 * gdb.ada/ptype_union.exp: New file.
8005
8006 2019-04-19 Tom Tromey <tromey@adacore.com>
8007
8008 PR symtab/24423:
8009 * gdb.base/list0.h (foo): Add a control-l character.
8010
8011 2019-04-18 Tom de Vries <tdevries@suse.de>
8012
8013 PR gdb/24433
8014 * boards/local-board.exp: Set sysroot to "".
8015
8016 2019-04-18 Tom de Vries <tdevries@suse.de>
8017 Pedro Alves <palves@redhat.com>
8018
8019 PR gdb/24454
8020 * gdb.threads/vfork-follow-child-exec.c: New file.
8021 * gdb.threads/vfork-follow-child-exec.exp: New file.
8022 * gdb.threads/vfork-follow-child-exit.c: New file.
8023 * gdb.threads/vfork-follow-child-exit.exp: New file.
8024
8025 2019-04-15 Leszek Swirski <leszeks@google.com>
8026
8027 * gdb.arch/amd64-eval.cc: New file.
8028 * gdb.arch/amd64-eval.exp: New file.
8029
8030 2019-04-11 Alan Hayward <alan.hayward@arm.com>
8031
8032 * gdb.server/sysroot.c: New test.
8033 * gdb.server/sysroot.exp: New file.
8034 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8035 matching param.
8036
8037 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8038
8039 * gdb.base/align.exp: Extend test to cover structures containing
8040 only static fields.
8041
8042 2019-04-11 Tom de Vries <tdevries@suse.de>
8043
8044 * boards/cc-with-dwz-m.exp: New file.
8045 * boards/cc-with-dwz.exp: New file.
8046 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8047
8048 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
8049
8050 * gdb.base/start-cpp.exp: New file.
8051 * gdb.base/start-cpp.cc: New file.
8052
8053 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8054
8055 * gdb.python/py-thrhandle.exp: Adjust tests to call
8056 thread_from_handle instead of thread_from_thread_handle.
8057
8058 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8059
8060 * gdb.python/py-thrhandle.exp: Add tests for
8061 gdb.InferiorThread.handle.
8062
8063 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8064
8065 * gdb.python/py-function.exp: Check calling helper function from
8066 all languages.
8067 * lib/gdb.exp (gdb_supported_languages): New proc.
8068
8069 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8070
8071 * gdb.base/complex-parts.c: New file.
8072 * gdb.base/complex-parts.exp: New file.
8073
8074 2019-04-01 Tom Tromey <tromey@adacore.com>
8075
8076 PR symtab/23331:
8077 * gdb.dwarf2/dw2-ranges-main.c: New file.
8078 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8079 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8080
8081 2019-03-30 Simon Marchi <simark@simark.ca>
8082
8083 * gdb.base/default.exp: Add values for $_gdb_major and
8084 $_gdb_minor.
8085
8086 2019-03-29 Tom Tromey <tromey@adacore.com>
8087
8088 * gdb.base/help.exp: Tighten apropos regexp.
8089
8090 2019-03-29 Keith Seitz <keiths@redhat.com>
8091
8092 * gdb.fortran/array-bounds.exp: New file.
8093 * gdb.fortran/array-bounds.f90: New file.
8094
8095 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8096
8097 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8098
8099 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8100
8101 * gdb.multi/hello.c (main): Increase alarm timer.
8102
8103 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8104
8105 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8106 factor when no hardware watchpoint support.
8107
8108 2019-03-28 Alan Hayward <alan.hayward@arm.com>
8109 Pedro Alves <palves@redhat.com>
8110
8111 * boards/local-board.exp: set sysroot to /.
8112
8113 2019-03-27 Alan Hayward <alan.hayward@arm.com>
8114
8115 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8116 in child.
8117
8118 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8119
8120 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8121 field.
8122 (make_container): Initialise new field.
8123 * gdb.python/py-prettyprint.exp: Add new tests.
8124 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8125 <display_hint>: New method.
8126
8127 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8128
8129 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8130 gdb_continue_to_breakpoint more throughout this test.
8131 (run_lang_tests) Supply unique test names, and use
8132 gdb_test_no_output.
8133
8134 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8135
8136 * gdb.base/finish-pretty.exp: Update expected results.
8137 * gdb.base/pretty-print.c: New file.
8138 * gdb.base/pretty-print.exp: New file.
8139
8140 2019-03-25 Pedro Alves <palves@redhat.com>
8141
8142 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8143 move comments outside list. Append '-i "" eof' section.
8144
8145 2019-03-22 Alan Hayward <alan.hayward@arm.com>
8146
8147 PR testsuite/25016
8148 * README: Add pie options.
8149 * gdb.base/break-interp.exp: Ensure pie is disabled.
8150 * gdb.base/dump.exp: Likewise.
8151 * lib/gdb.exp (gdb_compile): Add pie option.
8152
8153 2019-03-19 Tom Tromey <tromey@adacore.com>
8154
8155 * gdb.mi/mi2-cli-display.c: New file.
8156 * gdb.mi/mi2-cli-display.exp: New file.
8157
8158 2019-03-18 Joel Brobecker <brobecker@adacore.com>
8159 Tom Tromey <tromey@adacore.com>
8160
8161 * gdb.ada/ptype_array/pck.adb: New file.
8162 * gdb.ada/ptype_array/pck.ads: New file.
8163 * gdb.ada/ptype_array/foo.adb: New file.
8164 * gdb.ada/ptype_array.exp: New file.
8165
8166 2019-03-14 Tom Tromey <tromey@adacore.com>
8167
8168 * gdb.base/style.exp: Add "set style sources" test.
8169
8170 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8171
8172 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8173 * mi-breakpoint-multiple-locations.exp: ... this.
8174 (make_breakpoints_pattern): New proc.
8175 (do_test): Add mi_version parameter, test -break-insert,
8176 -break-info and =breakpoint-created.
8177
8178 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8179
8180 * config/default.exp: Remove 'load_lib gdb.exp'.
8181 * config/monitor.exp: Likewise.
8182 * config/sid.exp: Likewise.
8183 * config/sim.exp: Likewise.
8184 * config/slite.exp: Likewise.
8185 * config/unix.exp: Likewise.
8186 * gdb.base/default.exp: Remove unhelpful comment.
8187
8188 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8189
8190 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8191
8192 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8193
8194 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8195
8196 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8197
8198 * gdb.fortran/type-kinds.exp: Update expected results.
8199
8200 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8201
8202 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8203
8204 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8205
8206 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8207 function.
8208 (test_basic_parsing_of_type_kinds): Expand types tested.
8209 (test_parsing_invalid_type_kinds): New function.
8210
8211 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8212
8213 * gdb.fortran/intrinsics.exp: New file.
8214 * gdb.fortran/intrinsics.f90: New file.
8215 * gdb.fortran/type-kinds.exp: New file.
8216
8217 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8218
8219 * gdb.fortran/dot-ops.exp: New file.
8220
8221 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8222
8223 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8224 Check upper and lower case logical literals.
8225
8226 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8227
8228 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8229 Remove duplicate tests.
8230
8231 2019-03-06 Alan Hayward <alan.hayward@arm.com>
8232
8233 * lib/gdb.exp (builtin_cd): rename of cd.
8234 (cd): Override builtin.
8235
8236 2019-03-06 Richard Bunt <richard.bunt@arm.com>
8237
8238 * gdb.fortran/function-calls.exp: New file.
8239 * gdb.fortran/function-calls.f90: New test.
8240
8241 2019-03-04 Richard Bunt <richard.bunt@arm.com>
8242
8243 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8244 on user program standard output.
8245 * gdb.fortran/short-circuit-argument-list.f90: Record function
8246 calls.
8247
8248 2019-02-28 Alan Hayward <alan.hayward@arm.com>
8249
8250 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8251 failure.
8252
8253 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8254
8255 PR gdb/8527
8256 * gdb.base/interrupt-daemon-attach.c,
8257 gdb.base/interrupt-daemon-attach.exp: New test.
8258
8259 2019-02-27 Pedro Alves <palves@redhat.com>
8260
8261 * gdb.base/page.exp: Add tests for "set width/height -1".
8262
8263 2019-02-27 Pedro Alves <palves@redhat.com>
8264
8265 * gdb.base/page.exp: Add tests for "set/show width/height" with
8266 "infinite" values.
8267
8268 2019-02-27 Tom Tromey <tromey@adacore.com>
8269
8270 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8271 2.4.
8272 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8273 workaround.
8274
8275 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8276
8277 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8278 tests for structs with static members.
8279
8280 2019-02-26 Tom Tromey <tromey@adacore.com>
8281
8282 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8283 ValueError, not TypeError.
8284
8285 2019-02-26 Kevin Buettner <kevinb@redhat.com>
8286
8287 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8288 call from main program.
8289
8290 2019-02-23 Joel Brobecker <brobecker@adacore.com>
8291
8292 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8293 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8294 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8295 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8296 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8297
8298 2019-02-22 Keith Seitz <keiths@redhat.com>
8299
8300 PR symtab/23853
8301 * gdb.base/symlink-sourcefile.c: New file.
8302 * gdb.base/symlink-sourcefile.exp: New file.
8303
8304 2019-02-20 Tom Tromey <tom@tromey.com>
8305
8306 * gdb.base/info_qt.exp: Update.
8307
8308 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8309
8310 * gdb.base/source.exp: Move "error in sourced script" code to
8311 the end.
8312 * gdb.base/source-error.gdb: Move contents to
8313 source-error-1.gdb. Add new code to source source-error-1.gdb.
8314 * gdb.base/source-error-1.gdb: New file, from previous
8315 source-error.gdb.
8316
8317 2019-02-17 Tom Tromey <tom@tromey.com>
8318
8319 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8320 for macro styling.
8321 * gdb.base/style.c (SOME_MACRO): New macro.
8322
8323 2019-02-17 Tom Tromey <tom@tromey.com>
8324
8325 * gdb.base/style.exp: Add line-wrapping tests.
8326 * gdb.base/page.exp: Add test for quitting during pagination.
8327
8328 2019-02-17 Joel Brobecker <brobecker@adacore.com>
8329
8330 * gdb.ada/big_packed_array: New testcase.
8331 * gdb.ada/homonym.exp: Fix incorrect expected output for
8332 "break <homonym__get_value>" test.
8333
8334 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
8335
8336 PR breakpoints/21870
8337 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8338 and prepare_for_testing. Add comment.
8339 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8340 redundant cleanup call. Clean up comment.
8341
8342 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
8343
8344 PR breakpoints/21870
8345 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8346 * gdb.arch/aarch64-dbreg-contents.c: New file.
8347
8348 2019-02-10 Joel Brobecker <brobecker@adacore.com>
8349
8350 * gdb.ada/mi_ref_changeable: New testcase.
8351
8352 2019-02-07 Alan Hayward <alan.hayward@arm.com>
8353
8354 * gdb.base/attach.exp: Add double attach test.
8355
8356 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8357
8358 * lib/gdb.exp (default_gdb_start): Don't match pagination
8359 prompt.
8360 (gdb_init): Set stty_init.
8361
8362 2019-01-27 Tom Tromey <tom@tromey.com>
8363
8364 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8365 skip_python_tests.
8366
8367 2019-01-24 Alan Hayward <alan.hayward@arm.com>
8368
8369 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8370 New structure.
8371 (struct struct_static_02_02): Likewise.
8372 (struct struct_static_02_03): Likewise.
8373 (struct struct_static_02_04): Likewise.
8374 (struct struct_static_04_01): Likewise.
8375 (struct struct_static_04_02): Likewise.
8376 (struct struct_static_04_03): Likewise.
8377 (struct struct_static_04_04): Likewise.
8378 (struct struct_static_06_01): Likewise.
8379 (struct struct_static_06_02): Likewise.
8380 (struct struct_static_06_03): Likewise.
8381 (struct struct_static_06_04): Likewise.
8382 (cmp_struct_static_02_01): Likewise.
8383 (cmp_struct_static_02_02): Likewise.
8384 (cmp_struct_static_02_03): Likewise.
8385 (cmp_struct_static_02_04): Likewise.
8386 (cmp_struct_static_04_01): Likewise.
8387 (cmp_struct_static_04_02): Likewise.
8388 (cmp_struct_static_04_03): Likewise.
8389 (cmp_struct_static_04_04): Likewise.
8390 (cmp_struct_static_06_01): Likewise.
8391 (cmp_struct_static_06_02): Likewise.
8392 (cmp_struct_static_06_03): Likewise.
8393 (cmp_struct_static_06_04): Likewise.
8394 (call_all): Test new structs.
8395 * gdb.base/infcall-nested-structs.exp: Likewise.
8396
8397 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8398 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8399
8400 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8401 * gdb.base/stack-protector.c: New test.
8402 * gdb.base/stack-protector.exp: New file.
8403 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8404 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8405 option.
8406 (gdb_compile): Remove stack protector for GCC and prevent
8407 recursion.
8408
8409 2019-01-16 Keith Seitz <keiths@redhat.com>
8410
8411 PR gdb/23773
8412 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8413
8414 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8415
8416 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8417 aliases.
8418 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8419 tests.
8420 * gdb.arch/powerpc-vector-regs.c: New file.
8421 * gdb.arch/powerpc-vector-regs.exp: New file.
8422
8423 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8424
8425 * gdb.arch/altivec-regs.exp: Fix the list passed to
8426 gdb_expect_list when testing "info vector".
8427
8428 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8429
8430 * gdb.base/style.exp: Don't include path in testname.
8431
8432 2019-01-10 Keith Seitz <keiths@redhat.com>
8433
8434 PR gdb/23712
8435 PR symtab/23010
8436 * gdb.dwarf2/multidictionary.exp: New file.
8437
8438 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8439
8440 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8441 (test_gnuv3_style_demangling): ... this.
8442 (test_lucid_style_demangling): Remove.
8443 (test_arm_style_demangling): Remove.
8444 (test_hp_style_demangling): Remove.
8445 (do_tests): Remove calls to the above.
8446
8447 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8448
8449 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8450 case.
8451
8452 2019-01-06 Tom Tromey <tom@tromey.com>
8453
8454 PR gdb/28155:
8455 * gdb.dwarf2/typedef-void-finish.exp: New file.
8456
8457 2018-12-28 Tom Tromey <tom@tromey.com>
8458 Simon Marchi <simark@simark.ca>
8459
8460 * gdb.base/jit-exec.exp: New file.
8461 * gdb.base/jit-exec.c: New file.
8462 * gdb.base/jit-execd.c: New file.
8463
8464 2018-12-28 Tom Tromey <tom@tromey.com>
8465
8466 * gdb.base/style.exp: Update test to check for address styling.
8467
8468 2018-12-28 Tom Tromey <tom@tromey.com>
8469
8470 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8471 message.
8472
8473 2018-12-28 Tom Tromey <tom@tromey.com>
8474
8475 * gdb.base/style.exp: Add test for version number styling.
8476
8477 2018-12-28 Tom Tromey <tom@tromey.com>
8478
8479 * gdb.base/style.exp: Add test for print_address_symbolic.
8480
8481 2018-12-28 Tom Tromey <tom@tromey.com>
8482
8483 * gdb.base/style.exp: Add test for breakpoint setting.
8484
8485 2018-12-28 Tom Tromey <tom@tromey.com>
8486
8487 * gdb.base/style.exp: Add test for variable names.
8488
8489 2018-12-28 Tom Tromey <tom@tromey.com>
8490
8491 * gdb.base/style.exp: New file.
8492 * gdb.base/style.c: New file.
8493
8494 2018-12-28 Tom Tromey <tom@tromey.com>
8495
8496 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8497 "dumb".
8498 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8499 the TERM environment variable.
8500
8501 2018-12-27 Tom Tromey <tom@tromey.com>
8502
8503 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8504 pagination test.
8505
8506 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8507
8508 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8509 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8510
8511 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8512
8513 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8514 Filename a.adb changed to bp_fun_addr.adb.
8515 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8516
8517 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8518
8519 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8520 non-PIE executables.
8521 * README: Mention the gdb,nopie_flag board setting.
8522 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8523 non-PIE executable.
8524 * gdb.arch/amd64-entry-value.exp: Likewise.
8525 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8526 * gdb.arch/i386-float.exp: Likewise.
8527 * gdb.arch/i386-signal.exp: Likewise.
8528 * gdb.mi/mi-reg-undefined.exp: Likewise.
8529
8530 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8531
8532 PR gdb/23974
8533 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8534
8535 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8536
8537 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8538 Update order of results accordingly.
8539
8540 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8541
8542 * gdb.base/annota1.exp: Update a test regexp.
8543
8544 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8545
8546 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8547
8548 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8549
8550 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8551 (reuse_time): Initialize to REUSE_TIME_CAP.
8552 (check_rc): New function.
8553 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8554 Check pthread_create rc.
8555 (spawner_thread_func): Check pthread_create and pthread_join rc.
8556
8557 2018-12-08 Pedro Alves <palves@redhat.com>
8558
8559 * gdb.base/list.exp (test_forward_search): Rename to ...
8560 (test_forward_reverse_search): ... this. Also test reverse-search
8561 and the forward-search alias.
8562
8563 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8564
8565 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8566 local timeout variable before return, and remove all local timeout
8567 variable entirely.
8568 (gdb_load): Likewise.
8569
8570 2018-12-01 Tom de Vries <tdevries@suse.de>
8571
8572 * gdb.base/gdb-caching-proc.exp: New file.
8573
8574 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8575
8576 * Makefile.in (TIMESTAMP): New variable.
8577 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8578 command.
8579 (check-single-racy): Likewise.
8580 (check/%.exp): Likewise.
8581 (check-racy/%.exp): Likewise.
8582 (workers/%.worker): Likewise.
8583 (build-perf): Likewise.
8584 (check-perf): Likewise.
8585 * README: Describe new "TS" and "TS_FORMAT" variables.
8586 * print-ts.py: New file.
8587
8588 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8589
8590 PR python/23714
8591 * gdb.python/python.exp: Test command repetition after
8592 gdb.execute.
8593
8594 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8595
8596 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8597 is correctly aligned.
8598
8599 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8600
8601 * gdb.ada/info_auto_lang.exp: New testcase.
8602 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8603 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8604 * gdb.ada/info_auto_lang/some_c.c: New file.
8605
8606 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8607
8608 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8609 FUNC_lang language syntax.
8610
8611 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8612
8613 * gdb.base/info_minsym.c: New file.
8614 * gdb.base/info_minsym.exp: New file.
8615
8616 2018-11-19 Tom Tromey <tom@tromey.com>
8617
8618 PR rust/23625:
8619 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8620 * gdb.rust/expr.exp: Update expected output. Change one test.
8621
8622 2018-11-19 Tom Tromey <tom@tromey.com>
8623
8624 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8625
8626 2018-11-19 Pedro Alves <palves@redhat.com>
8627
8628 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8629 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8630 see the expected warning.
8631
8632 2018-11-16 Alan Hayward <alan.hayward@arm.com>
8633
8634 PR gdb/22736:
8635 * gdb.cp/infcall-nodebug-lib.c: New test.
8636 * gdb.cp/infcall-nodebug-main.c: New test.
8637 * gdb.cp/infcall-nodebug.exp: New file.
8638
8639 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8640
8641 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8642 completer tests.
8643
8644 2018-11-09 Tom de Vries <tdevries@suse.de>
8645
8646 * gdb.base/msym-lang.c: New test.
8647 * gdb.base/msym-lang.exp: New file.
8648 * gdb.base/msym-lang-main.c: New test.
8649
8650 2018-11-08 Tom Tromey <tom@tromey.com>
8651
8652 PR gdb/23555:
8653 PR gdb/23838:
8654 * gdb.base/warning.exp: New file.
8655
8656 2018-11-08 Jan Beulich <jbeulich@suse.com>
8657
8658 * testsuite/gdb.arch/i386-avx512.c,
8659 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8660
8661 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8662
8663 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8664 point hardware.
8665
8666 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8667
8668 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8669 * gdb.dwarf2/missing-type-name.exp: New file.
8670
8671 2018-11-06 Tom de Vries <tdevries@suse.de>
8672
8673 * gdb.base/many-headers.c: New test.
8674 * gdb.base/many-headers.exp: New file.
8675
8676 2018-11-06 Jim Wilson <jimw@sifive.com>
8677
8678 * gdb.base/code_elim.exp: For riscv, set additional_flags
8679 to include -msmall-data-limit=0.
8680
8681 2018-11-01 Joel Brobecker <brobecker@adacore.com>
8682
8683 * gdb.ada/watch_minus_l: New testcase.
8684
8685 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8686
8687 * gdb.arch/aix-sighandle.c: New file.
8688 * gdb.arch/aix-sighandle.exp: New file.
8689
8690 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8691
8692 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8693 registers being unions.
8694
8695 2018-10-31 Tom de Vries <tdevries@suse.de>
8696
8697 * lib/valgrind.exp: New file.
8698 (vgdb_start, vgdb_stop): New procs, factored out of ...
8699 * gdb.base/valgrind-bt.exp: ... here, ...
8700 * gdb.base/valgrind-disp-step.exp: ... here and ...
8701 * gdb.base/valgrind-infcall.exp: ... here.
8702
8703 2018-10-31 Tom de Vries <tdevries@suse.de>
8704
8705 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8706
8707 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8708
8709 * gdb.dwarf2/void-type.c: New file.
8710 * gdb.dwarf2/void-type.exp: New file.
8711
8712 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8713
8714 * gdb.base/info_qt.c: New file.
8715 * gdb.base/info_qt.exp: New file.
8716
8717 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8718
8719 * gdb.arch/powerpc-htm-regs.c: New file.
8720 * gdb.arch/powerpc-htm-regs.exp: New file.
8721
8722 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8723
8724 * gdb.arch/powerpc-tar.c: New file.
8725 * gdb.arch/powerpc-tar.exp: New file.
8726
8727 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8728
8729 * gdb.arch/powerpc-ppr-dscr.c: New file.
8730 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8731
8732 2018-10-25 Tom de Vries <tdevries@suse.de>
8733
8734 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8735
8736 2018-10-24 Tom de Vries <tdevries@suse.de>
8737
8738 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8739 longer exists error.
8740
8741 2018-10-24 Tom de Vries <tdevries@suse.de>
8742
8743 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8744
8745 2018-10-24 Tom de Vries <tdevries@suse.de>
8746
8747 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8748 --db-attach in valgrind.
8749
8750 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8751
8752 * gdb.arch/riscv-reg-aliases.c: New file.
8753 * gdb.arch/riscv-reg-aliases.exp: New file.
8754
8755 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8756
8757 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8758
8759 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8760
8761 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8762
8763 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8764
8765 * gdb.cp/ovldbreak.exp: Fix regexps.
8766
8767 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8768
8769 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8770
8771 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8772
8773 PR cli/23785
8774 * gdb.base/restore.exp: New test to check if "restore" with an
8775 invalid file doesn't segfault.
8776
8777 2018-10-18 Tom de Vries <tdevries@suse.de>
8778
8779 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8780 * gdb.ada/excep_handle.exp: Same.
8781 * gdb.ada/mi_string_access.exp: Same.
8782 * gdb.ada/mi_var_union.exp: Same.
8783 * gdb.arch/arc-analyze-prologue.exp: Same.
8784 * gdb.arch/arc-decode-insn.exp: Same.
8785 * gdb.base/readnever.exp: Same.
8786 * gdb.fortran/printing-types.exp: Same.
8787 * gdb.guile/scm-lazy-string.exp: Same.
8788
8789 2018-10-16 Tom de Vries <tdevries@suse.de>
8790
8791 PR gdb/23730
8792 * gdb.base/catch-follow-exec.c: Add copyright notice.
8793 * gdb.base/catch-follow-exec.exp: Rewrite to use
8794 gdb_spawn_with_cmdline_opts. Require gdb-native.
8795
8796 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8797
8798 * gdb.trace/actions-changed.exp: Check for arch support.
8799 * gdb.trace/actions.exp: Likewise.
8800 * gdb.trace/ax.exp: Likewise.
8801 * gdb.trace/backtrace.exp: Likewise.
8802 * gdb.trace/change-loc.exp: Likewise.
8803 * gdb.trace/deltrace.exp: Likewise.
8804 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8805 * gdb.trace/ftrace.exp: Likewise.
8806 * gdb.trace/infotrace.exp: Check for arch support.
8807 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8808 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8809 * gdb.trace/mi-tsv-changed.exp: Likewise.
8810 * gdb.trace/packetlen.exp: Likewise.
8811 * gdb.trace/passc-dyn.exp: Likewise.
8812 * gdb.trace/passcount.exp: Likewise.
8813 * gdb.trace/pending.exp: Likewise.
8814 * gdb.trace/range-stepping.exp: Check for shlib support.
8815 * gdb.trace/report.exp: Check for arch support.
8816 * gdb.trace/save-trace.exp: Likewise.
8817 * gdb.trace/signal.exp: Check for signal support.
8818 * gdb.trace/tfind.exp: Check for arch support.
8819 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8820 * gdb.trace/trace-common.h: Add comment.
8821 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8822 * gdb.trace/trace-enable-disable.exp: Likewise.
8823 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8824 * gdb.trace/tracecmd.exp: Check for arch support.
8825 * gdb.trace/tspeed.exp: Check for shlib and target support.
8826 * gdb.trace/tstatus.exp: Check for arch support.
8827 * gdb.trace/tsv.exp: Likewise.
8828 * gdb.trace/while-dyn.exp: Likewise.
8829 * gdb.trace/while-stepping.exp: Likewise.
8830 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8831
8832 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8833
8834 * gdb.trace/tspeed.exp: Remove nowarnings.
8835 (prepare_for_trace_test): Declare "global ipalib".
8836 * gdb.trace/tspeed.c: Include unistd.h.
8837 (main): Remove superfluous printf argument.
8838
8839 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8840
8841 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8842 directory prefix on the filename.
8843
8844 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8845
8846 * gdb.gdb/unittest.exp: Update expected message informing that
8847 selftests have been disabled.
8848 * gdb.server/unittest.exp: Likewise.
8849
8850 2018-10-09 Tom de Vries <tdevries@suse.de>
8851
8852 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8853 with runto_main.
8854
8855 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
8856
8857 PR c++/16841
8858 * gdb.cp/virtbase2.cc: New file.
8859 * gdb.cp/virtbase2.exp: New file.
8860
8861 2018-10-06 Tom Tromey <tom@tromey.com>
8862
8863 PR python/19399:
8864 * gdb.python/py-inferior.exp: Add architecture test.
8865
8866 2018-10-06 Tom Tromey <tom@tromey.com>
8867
8868 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8869 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8870
8871 2018-10-06 Tom Tromey <tom@tromey.com>
8872
8873 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8874 of a "throw" catchpoint.
8875
8876 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8877
8878 * gdb.base/info-proc.exp: Update string expected from "help info
8879 proc".
8880
8881 2018-10-04 Tom Tromey <tom@tromey.com>
8882
8883 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8884 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8885 (test_initial_complaints, test_empty_complaints): Update.
8886 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8887
8888 2018-10-04 Tom Tromey <tom@tromey.com>
8889
8890 PR cli/19551:
8891 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8892 * lib/gdb.exp (gdb_file_cmd): Update.
8893 * gdb.stabs/weird.exp (print_weird_var): Update.
8894 * gdb.server/solib-list.exp: Update.
8895 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8896 * gdb.mi/mi-cli.exp: Update.
8897 * gdb.linespec/linespec.exp: Update.
8898 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8899 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8900 * gdb.cp/cp-relocate.exp: Update.
8901 * gdb.base/sym-file.exp: Update.
8902 * gdb.base/relocate.exp: Update.
8903 * gdb.base/readnever.exp: Update.
8904 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8905 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8906 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8907 * gdb.base/code_elim.exp: Update.
8908 * gdb.base/break-unload-file.exp (test_break): Update.
8909 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8910 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8911 Update.
8912 * gdb.base/attach.exp (do_attach_tests): Update.
8913 * gdb.base/sepdebug.exp: Update.
8914 * gdb.python/py-section-script.exp: Update.
8915
8916 2018-10-04 Tom Tromey <tom@tromey.com>
8917
8918 PR cli/22234:
8919 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8920 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8921 output.
8922
8923 2018-10-04 Tom Tromey <tom@tromey.com>
8924
8925 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8926 set width and height to 0.
8927 (test_command_line_attach_run): Use -quiet.
8928
8929 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8930
8931 * lib/gdb.exp (skip_ifunc_tests): New.
8932 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8933 other compile failures.
8934 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8935
8936 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8937
8938 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8939 is_amd64_regs_target.
8940
8941 2018-10-01 Alan Hayward <alan.hayward@arm.com>
8942
8943 * gdb.arch/aarch64-sighandler-regs.c: New test.
8944 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8945 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8946
8947 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8948
8949 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8950 assembly.
8951
8952 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8953
8954 * gdb.base/frame-selection.exp: New file.
8955 * gdb.base/frame-selection.c: New file.
8956
8957 2018-09-27 Alan Hayward <alan.hayward@arm.com>
8958
8959 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8960 pthread barrier.
8961 (main): Likewise.
8962
8963 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8964
8965 * gdb.base/large-frame-1.c: New file.
8966 * gdb.base/large-frame-2.c: New file.
8967 * gdb.base/large-frame.exp: New file.
8968 * gdb.base/large-frame.h: New file.
8969
8970 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8971
8972 PR gdb/20948
8973 * gdb.base/write_mem.exp: New test.
8974 * gdb.base/write_mem.c: Likewise.
8975
8976 2018-09-23 Tom Tromey <tom@tromey.com>
8977
8978 PR python/18852:
8979 * gdb.python/py-parameter.exp: Add test for parameter that throws
8980 on "set".
8981
8982 2018-09-23 Tom Tromey <tom@tromey.com>
8983
8984 PR python/17284:
8985 * gdb.python/py-template.exp (test_template_arg): Add test for
8986 negative template argument number.
8987
8988 2018-09-23 Tom Tromey <tom@tromey.com>
8989
8990 PR python/14062:
8991 * gdb.python/python.exp: Add test for post_event error.
8992
8993 2018-09-23 Tom Tromey <tom@tromey.com>
8994
8995 PR python/18170:
8996 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8997 convert pointers to int and long.
8998
8999 2018-09-23 Tom Tromey <tom@tromey.com>
9000
9001 PR python/20126:
9002 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9003 signed-ness conversion tests.
9004
9005 2018-09-23 Tom Tromey <tom@tromey.com>
9006
9007 PR python/18352;
9008 * gdb.python/py-value.exp (test_float_conversion): New proc.
9009 Use it.
9010
9011 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9012
9013 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9014
9015 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9016
9017 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9018 no readline.
9019 * gdb.base/utf8-identifiers.exp: Likewise.
9020 * gdb.cp/cpcompletion.exp: Likewise.
9021 * gdb.linespec/cpcompletion.exp: Likewise.
9022 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9023 * gdb.linespec/cpls-ops.exp: Likewise.
9024
9025 2018-09-19 Richard Bunt <richard.bunt@arm.com>
9026 Chris January <chris.january@arm.com>
9027
9028 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9029 * gdb.fortran/short-circuit-argument-list.exp: New file.
9030 * gdb.fortran/short-circuit-argument-list.f90: New test.
9031
9032 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9033
9034 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9035 "arch=" keyword when executing "-stack-list-frames".
9036
9037 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9038
9039 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9040 "arch=" keyword when executing "-stack-list-frames".
9041
9042 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9043
9044 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9045 break ada".
9046
9047 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9048
9049 PR python/23669
9050 * gdb.python/python.exp: Test gdb.execute("show commands").
9051
9052 2018-09-16 Tom Tromey <tom@tromey.com>
9053
9054 * gdb.base/new-ui.exp (do_execution_tests): Update.
9055 * gdb.base/dbx.exp (test_breakpoints): Update.
9056
9057 2018-09-14 Alan Hayward <alan.hayward@arm.com>
9058
9059 * lib/gdb.exp (gdb_simple_compile): Add proc.
9060 (is_elf_target): Use gdb_simple_compile.
9061 (skip_altivec_tests): Likewise.
9062 (skip_vsx_tests): Likewise.
9063 (skip_tsx_tests): Likewise.
9064 (skip_btrace_tests): Likewise.
9065 (skip_btrace_pt_tests): Likewise.
9066 (gdb_can_simple_compile): Likewise.
9067 (gdb_has_argv0): Likewise.
9068 (gdb_target_symbol_prefix): Likewise.
9069 (target_supports_scheduler_locking): Likewise.
9070
9071 2018-09-13 Tom Tromey <tom@tromey.com>
9072
9073 * Makefile.in (TAGS): Recognize proc_with_prefix and
9074 gdb_caching_proc.
9075
9076 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9077
9078 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9079 method.
9080
9081 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9082
9083 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9084 and a few other Inferior properties when the Inferior is no
9085 longer valid.
9086
9087 2018-09-13 Tom Tromey <tom@tromey.com>
9088
9089 PR rust/23650:
9090 * gdb.rust/simple.exp: Add test for enum field access error.
9091
9092 2018-09-13 Tom Tromey <tom@tromey.com>
9093
9094 PR rust/23626:
9095 * gdb.rust/simple.rs (EmptyEnum): New type.
9096 (main): Use it.
9097 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9098
9099 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9100
9101 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9102 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9103 * gdb.python/py-symtab.exp: Update test printing an objfile.
9104
9105 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9106
9107 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9108 object.
9109
9110 2018-09-12 Alan Hayward <alan.hayward@arm.com>
9111
9112 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9113 (support_complex_tests): Use gdb_can_simple_compile.
9114 (is_ilp32_target): Likewise.
9115 (is_lp64_target): Likewise.
9116 (is_64_target): Likewise.
9117 (is_amd64_regs_target): Likewise.
9118 (is_aarch32_target): Likewise.
9119 (gdb_int128_helper): Likewise.
9120
9121 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9122
9123 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9124
9125 2018-09-10 Jerome Guitton <guitton@adacore.com>
9126
9127 * gdb.ada/same_component_name: Add test for case of tagged record
9128 with variable-length fields.
9129
9130 2018-09-10 Xavier Roirand <roirand@adacore.com>
9131
9132 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9133 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9134 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9135 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9136
9137 2018-09-10 Xavier Roirand <roirand@adacore.com>
9138
9139 * gdb.ada/mi_string_access.exp: New testcase.
9140 * gdb.ada/mi_string_access/bar.adb: New file.
9141 * gdb.ada/mi_string_access/pck.adb: New file.
9142 * gdb.ada/mi_string_access/pck.asd: New file.
9143
9144 2018-09-10 Xavier Roirand <roirand@adacore.com>
9145
9146 * gdb.ada/mi_var_union.exp: New testcase.
9147 * gdb.ada/mi_var_union/bar.adb: New file.
9148 * gdb.ada/mi_var_union/pck.adb: New file.
9149 * gdb.ada/mi_var_union/pck.asd: New file.
9150
9151 2018-09-08 Tom Tromey <tom@tromey.com>
9152
9153 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9154
9155 2018-09-08 Tom Tromey <tom@tromey.com>
9156
9157 PR python/16047:
9158 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9159 (register_pretty_printers): Register new printer.
9160 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9161 test.
9162 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9163 (an_int_type3): New global.
9164
9165 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9166
9167 * gdb.ada/expr_with_funcall: New testcase.
9168
9169 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9170
9171 * gdb.ada/packed_array_assign: New testcase.
9172
9173 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9174
9175 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9176 names, and add test prefixes to make test names unique.
9177
9178 2018-09-05 Tom de Vries <tdevries@suse.de>
9179
9180 * gdb.dwarf2/varval.exp: Add test.
9181
9182 2018-09-04 Gary Benson <gbenson@redhat.com>
9183
9184 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9185 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9186
9187 2018-08-31 Tom Tromey <tom@tromey.com>
9188
9189 * gdb.rust/simple.rs: Rename second variable "v".
9190
9191 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9192
9193 * gdb.base/funcargs.c (use_a): New function.
9194 (recurse): Call use_a.
9195
9196 2018-08-29 Keith Seitz <keiths@redhat.com>
9197
9198 * gdb.compile/compile-cplus-anonymous.cc: New file.
9199 * gdb.compile/compile-cplus-anonymous.exp: New file.
9200 * gdb.compile/compile-cplus-array-decay.cc: New file.
9201 * gdb.compile/compile-cplus-array-decay.exp: New file.
9202 * gdb.compile/compile-cplus-inherit.cc: New file.
9203 * gdb.compile/compile-cplus-inherit.exp: New file.
9204 * gdb.compile/compile-cplus-member.cc: New file.
9205 * gdb.compile/compile-cplus-member.exp: New file.
9206 * gdb.compile/compile-cplus-method.cc: New file.
9207 * gdb.compile/compile-cplus-method.exp: New file.
9208 * gdb.compile/compile-cplus-mod.c: "New" file.
9209 * gdb.compile/compile-cplus-namespace.cc: New file.
9210 * gdb.compile/compile-cplus-namespace.exp: New file.
9211 * gdb.compile/compile-cplus-nested.cc: New file.
9212 * gdb.compile/compile-cplus-nested.exp: New file.
9213 * gdb.compile/compile-cplus-print.c: "New" file.
9214 * gdb.compile/compile-cplus-print.exp: "New" file.
9215 * gdb.compile/compile-cplus-virtual.cc: New file.
9216 * gdb.compile/compile-cplus-virtual.exp: New file.
9217 * gdb.compile/compile-cplus.c: "New" file.
9218 * gdb.compile/compile-cplus.exp: "New" file.
9219 * lib/compile-support.exp: New file.
9220
9221 2018-08-16 Gary Benson <gbenson@redhat.com>
9222
9223 PR gdb/13000:
9224 * gdb.base/batch-exit-status.exp: New file.
9225 * gdb.base/batch-exit-status.good-commands: Likewise.
9226 * gdb.base/batch-exit-status.bad-commands: Likewise.
9227
9228 2018-08-29 Alan Hayward <alan.hayward@arm.com>
9229
9230 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9231 (struct struct02): Likewise.
9232 (struct struct03): Likewise.
9233 (struct struct04): Likewise.
9234 (struct struct_01_01): New struct.
9235 (struct struct_01_02): Likewise.
9236 (struct struct_01_03): Likewise.
9237 (struct struct_01_04): Likewise.
9238 (struct struct_02_01): Likewise.
9239 (struct struct_02_02): Likewise.
9240 (struct struct_02_03): Likewise.
9241 (struct struct_02_04): Likewise.
9242 (struct struct_04_01): Likewise.
9243 (struct struct_04_02): Likewise.
9244 (struct struct_04_03): Likewise.
9245 (struct struct_04_04): Likewise.
9246 (struct struct_05_01): Likewise.
9247 (struct struct_05_02): Likewise.
9248 (struct struct_05_03): Likewise.
9249 (struct struct_05_04): Likewise.
9250 (cmp_struct01): Remove function.
9251 (cmp_struct02): Likewise.
9252 (cmp_struct03): Likewise.
9253 (cmp_struct04): Likewise.
9254 (cmp_struct_01_01): Add Function.
9255 (cmp_struct_01_02): Likewise.
9256 (cmp_struct_01_03): Likewise.
9257 (cmp_struct_01_04): Likewise.
9258 (cmp_struct_02_01): Likewise.
9259 (cmp_struct_02_02): Likewise.
9260 (cmp_struct_02_03): Likewise.
9261 (cmp_struct_02_04): Likewise.
9262 (cmp_struct_04_01): Likewise.
9263 (cmp_struct_04_02): Likewise.
9264 (cmp_struct_04_03): Likewise.
9265 (cmp_struct_04_04): Likewise.
9266 (cmp_struct_05_01): Likewise.
9267 (cmp_struct_05_02): Likewise.
9268 (cmp_struct_05_03): Likewise.
9269 (cmp_struct_05_04): Likewise.
9270 (call_all): Add new structs.
9271 * gdb.base/infcall-nested-structs.exp: Likewise.
9272
9273 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9274
9275 * gdb.python/py-framefilter-mi.exp: Update regexp to
9276 check for "arch" field in frame output.
9277
9278 2018-08-23 Kevin Buettner <kevinb@redhat.com>
9279
9280 * gdb.dwarf2/dw2-ranges-func.c: New file.
9281 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9282
9283 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9284
9285 * gdb.base/term.exp: Compare terminal settings with values from
9286 the inferior.
9287 * gdb.base/term.c: Get and set terminal settings.
9288
9289 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9290
9291 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9292 accommodate new "arch" field in frame output.
9293 * gdb.mi/mi-return.exp: Likewise.
9294 * gdb.mi/mi-stack.exp: Likewise.
9295 * gdb.mi/mi-syn-frame.exp: Likewise.
9296 * gdb.mi/user-selected-context-sync.exp: Likewise.
9297
9298 2018-08-19 Michael Spang <spang@google.com>
9299
9300 PR gdb/11786
9301 * gdb.base/gcore-tls-pie.c: New file.
9302 * gdb.base/gcore-tls-pie.exp: New file.
9303
9304 2018-08-18 Kevin Buettner <kevinb@redhat.com>
9305
9306 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
9307 * gdb.dwarf2/varval.c: New file.
9308 * gdb.dwarf2/varval.exp: New file.
9309
9310 2018-08-17 Alan Hayward <alan.hayward@arm.com>
9311
9312 PR gdb/18931
9313 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9314
9315 2018-08-16 Keith Seitz <keiths@redhat.com>
9316
9317 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9318 tests expected to pass.
9319
9320 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9321
9322 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9323 -data-disassemble -a.
9324 (test_disassembly_bogus_args): Likewise.
9325
9326 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9327
9328 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9329
9330 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9331
9332 * gdb.base/vla-optimized-out.exp: Add new test.
9333
9334 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9335
9336 * gdb.base/vla-optimized-out-o3.exp: Delete.
9337 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9338 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9339 deleted tests.
9340
9341 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9342
9343 PR gdb/18050:
9344 * gdb.server/extended-remote-restart.c: New file.
9345 * gdb.server/extended-remote-restart.exp: New file.
9346
9347 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9348
9349 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9350 "set variable index = 42".
9351
9352 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9353
9354 * boards/index-cache-gdb.exp: New file.
9355 * gdb.dwarf2/index-cache.exp: New file.
9356 * gdb.dwarf2/index-cache.c: New file.
9357 * gdb.base/maint.exp: Check if we are using the index cache.
9358
9359 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9360
9361 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9362 MAKEFLAGS.
9363
9364 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9365
9366 * dg-extract-results.sh: Move to toplevel contrib.
9367 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9368 * Makefile.in (check-parallel-racy): Likewise.
9369
9370 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9371
9372 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9373 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9374 tests if the target supports scheduler locking.
9375
9376 2018-08-04 Tom de Vries <tdevries@suse.de>
9377
9378 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9379
9380 2018-08-02 Tom Tromey <tom@tromey.com>
9381
9382 PR symtab/16842.
9383 * gdb.cp/temargs.exp: Test "info address" of a template
9384 parameter.
9385
9386 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9387
9388 * gdb.python/py-mi-var-info-path-expression.c: New file.
9389 * gdb.python/py-mi-var-info-path-expression.py: New file.
9390 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9391
9392 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9393
9394 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9395 error after "cannot resolve name" string.
9396
9397 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9398
9399 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9400 started.
9401 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9402
9403 2018-07-28 Tom de Vries <tdevries@suse.de>
9404
9405 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9406
9407 2018-07-26 Tom de Vries <tdevries@suse.de>
9408
9409 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9410
9411 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9412
9413 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9414 is visible.
9415
9416 2018-07-26 Tom de Vries <tdevries@suse.de>
9417
9418 PR breakpoints/23366
9419 * gdb.base/catch-follow-exec.c: New test.
9420 * gdb.base/catch-follow-exec.exp: New file.
9421
9422 2018-07-25 Tom de Vries <tdevries@suse.de>
9423
9424 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9425 vla-optimized-out.c.
9426
9427 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9428
9429 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9430 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9431
9432 2018-07-20 Tom de Vries <tdevries@suse.de>
9433
9434 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9435 NOCLONE macro.
9436 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9437
9438 2018-07-19 Tom de Vries <tdevries@suse.de>
9439
9440 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9441 regular expression.
9442
9443 2018-07-18 Tom de Vries <tdevries@suse.de>
9444
9445 * gdb.base/vla-optimized-out.c: New test.
9446 * gdb.base/vla-optimized-out.exp: New file.
9447
9448 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9449
9450 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9451 message "No address associated with hostname" when gdbserver
9452 cannot resolve the hostname.
9453
9454 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9455
9456 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9457 Add some test prefixes to make tests unique.
9458
9459 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9460
9461 * gdb.base/frameapply.c: New file.
9462 * gdb.base/frameapply.exp: New file.
9463
9464 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9465
9466 * gdb.base/skip.exp: Update expected error message.
9467
9468 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9469 Jan Kratochvil <jan.kratochvil@redhat.com>
9470 Paul Fertser <fercerpav@gmail.com>
9471 Tsutomu Seki <sekiriki@gmail.com>
9472
9473 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9474 parameter.
9475 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9476 by default.
9477 * boards/native-gdbserver.exp: Likewise.
9478 * gdb.server/run-without-local-binary.exp: Improve regexp used
9479 for detecting when a remote debugging connection succeeds.
9480 * gdb.server/server-connect.exp: New file.
9481 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9482 Do not prefix the port number with ":".
9483 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9484 support for detecting and using it. Add '$debughost_gdbserver'
9485 to the list of arguments used to start gdbserver. Handle case
9486 when gdbserver cannot resolve a network name.
9487
9488 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9489
9490 PR c++/23373
9491 * gdb.base/ptype-offsets.cc (struct static_member): New
9492 struct.
9493 (main) <stmember>: New variable.
9494 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9495 with a static member in it.
9496
9497 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9498
9499 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9500 watchpoints enabled and disabled.
9501
9502 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9503
9504 * gdb.base/examine-backward.exp: Still run tests around address
9505 0x0, even if address 0x0 is not readable. Update the pattern for
9506 matching address 0x0 in expected output.
9507
9508 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9509
9510 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9511 malloc/free.
9512
9513 2018-07-04 Tom de Vries <tdevries@suse.de>
9514
9515 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9516
9517 2018-07-02 Maciej W. Rozycki <macro@mips.com>
9518
9519 PR tdep/8282
9520 * gdb.arch/mips-disassembler-options.exp: New test.
9521 * gdb.arch/mips-disassembler-options.s: New test source.
9522
9523 2018-06-29 Pedro Alves <palves@redhat.com>
9524
9525 * gdb.threads/names.exp: Adjust expected "info threads" output.
9526
9527 2018-06-29 Pedro Alves <palves@redhat.com>
9528
9529 * gdb.opt/inline-break.exp (line number, address): Add "info
9530 break" tests.
9531
9532 2018-06-29 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9535 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9536 number and address and running to them.
9537
9538 2018-06-29 Richard Bunt <richard.bunt@arm.com>
9539
9540 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9541
9542 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9543
9544 * lib/compiler.c: Remove executable permission flag.
9545
9546 2018-06-28 Richard Bunt <richard.bunt@arm.com>
9547
9548 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9549 code.
9550 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9551
9552 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9553
9554 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9555
9556 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9557
9558 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9559 address argument is omitted.
9560
9561 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9562
9563 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9564
9565 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
9566
9567 PR gdb/21695
9568 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9569 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9570
9571 2018-06-26 Tom Tromey <tom@tromey.com>
9572
9573 PR rust/22574:
9574 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9575 * gdb.rust/simple.rs (struct SimpleLayout): New.
9576
9577 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9578
9579 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9580 "info registers" output.
9581
9582 2018-06-21 Richard Bunt <richard.bunt@arm.com>
9583
9584 * gdb.base/watchpoint-hw-attach.c: New test.
9585 * gdb.base/watchpoint-hw-attach.exp: New file.
9586
9587 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9588
9589 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9590 through /bin/sh.
9591 * boards/dwarf4-gdb-index.exp: Likewise.
9592 * boards/fission-dwp.exp: Likewise.
9593
9594 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9595
9596 * gdb.base/float128.exp: Add comment and improved fail message
9597 to the failure case of "print large128" test.
9598
9599 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9600
9601 * configure.ac: Remove AC_PREREQ.
9602 * configure: Re-generate.
9603
9604 2018-06-19 Pedro Alves <palves@redhat.com>
9605
9606 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9607 (func_extern_caller): New.
9608 (main): Call func_extern_caller.
9609 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9610 logic change.
9611
9612 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
9613
9614 PR gdb/16841
9615 * gdb.cp/typedef-base.cc: New file.
9616 * gdb.cp/typedef-base.exp: New file.
9617
9618 2018-06-18 Tom de Vries <tdevries@suse.de>
9619
9620 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9621
9622 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9623 Richard Bunt <Richard.Bunt@arm.com>
9624
9625 * gdb.threads/attach-slow-waitpid.c: New file.
9626 * gdb.threads/attach-slow-waitpid.exp: New file.
9627 * gdb.threads/slow-waitpid.c: New file.
9628
9629 2018-06-14 Pedro Alves <palves@redhat.com>
9630
9631 * gdb.base/fork-running-state.c: Include <errno.h>.
9632 (exit_if_relative_exits): New.
9633 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9634 exits.
9635 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9636 child exits.
9637
9638 2018-06-14 Tom de Vries <tdevries@suse.de>
9639
9640 PR cli/22573
9641 * gdb.base/finish-pretty.c: New test.
9642 * gdb.base/finish-pretty.exp: New file.
9643
9644 2018-06-14 Pedro Alves <palves@redhat.com>
9645
9646 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9647 gdb's expected startup output.
9648
9649 2018-06-14 Pedro Alves <palves@redhat.com>
9650
9651 * lib/selftest-support.exp (selftest_setup): Remove inlined
9652 function handling.
9653
9654 2018-06-14 Tom de Vries <tdevries@suse.de>
9655
9656 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9657 matching of breakpoint printing.
9658
9659 2018-06-13 Tom de Vries <tdevries@suse.de>
9660
9661 PR testsuite/23269
9662 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9663 (fork_child): ... here, and ...
9664 (fork_parent): ... here.
9665
9666 2018-06-12 Tom de Vries <tdevries@suse.de>
9667
9668 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9669
9670 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9671 Stephen Roberts <stephen.roberts@arm.com>
9672
9673 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9674 rewrite test to describe action performed, rather than possible
9675 failure.
9676
9677 2018-06-08 Gary Benson <gbenson@redhat.com>
9678
9679 * gdb.threads/check-libthread-db.exp: New file.
9680 * gdb.threads/check-libthread-db.c: Likewise.
9681
9682 2018-06-05 Tom Tromey <tom@tromey.com>
9683
9684 * gdb.base/default.exp: Update expected "show version" output.
9685
9686 2018-06-05 Tom Tromey <tom@tromey.com>
9687
9688 PR cli/12326:
9689 * gdb.cp/static-print-quit.exp: Update.
9690 * lib/gdb.exp (pagination_prompt): Update.
9691 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9692 * gdb.python/python.exp: Update.
9693
9694 2018-06-04 Joel Brobecker <brobecker@adacore.com>
9695
9696 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9697
9698 2018-06-01 Joel Brobecker <brobecker@adacore.com>
9699
9700 * gdb.ada/bp_fun_addr: New testcase.
9701
9702 2018-06-01 Tom Tromey <tom@tromey.com>
9703
9704 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9705 results.
9706 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9707 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9708 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9709 * gdb.base/maint.exp (maint_pass_if): Update.
9710
9711 2018-05-31 Maciej W. Rozycki <macro@mips.com>
9712
9713 * gdb.base/endian.exp: New test.
9714 * gdb.base/endian.c: New test source.
9715
9716 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9717
9718 PR gdb/23203
9719 * gdb.base/bt-selected-frame.c: New file.
9720 * gdb.base/bt-selected-frame.exp: New file.
9721 * lib/gdb.exp (get_current_frame_number): New function.
9722
9723 2018-05-24 Maciej W. Rozycki <macro@mips.com>
9724 Pedro Alves <palves@redhat.com>
9725
9726 * gdb.threads/tls-core.c: Include <stdlib.h>
9727 (thread_proc): Call `abort'.
9728 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9729 (tls_core_test): New procedure, bits factored out from ...
9730 (top level): ... here. Test both native cores and gcore cores.
9731
9732 2018-05-23 Tom Tromey <tom@tromey.com>
9733
9734 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9735
9736 2018-05-23 Tom Tromey <tom@tromey.com>
9737
9738 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9739 symfile_complaints.
9740 (test_short_complaints): Likewise.
9741 (test_empty_complaints): Likewise.
9742 (test_initial_complaints): Update.
9743
9744 2018-05-23 Tom Tromey <tom@tromey.com>
9745
9746 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9747
9748 2018-05-23 Tom Tromey <tom@tromey.com>
9749
9750 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9751 (test_short_complaints): Update.
9752
9753 2018-05-22 Pedro Alves <palves@redhat.com>
9754
9755 * gdb.base/remote.exp: Only gdb_start after compiling the
9756 testcase. Issue "disconnect" before testing "set remote" command
9757 defaults. Issue clean_restart before running to main.
9758
9759 2018-05-22 Pedro Alves <palves@redhat.com>
9760
9761 * gdb.base/remote.exp: Adjust expected output of "show remote
9762 memory-write-packet-size". Add tests for "set remote
9763 memory-write-packet-size 0" and "set remote
9764 memory-write-packet-size fixed/limit".
9765
9766 2018-05-22 Pedro Alves <palves@redhat.com>
9767
9768 PR gdb/22973
9769 * gdb.base/utf8-identifiers.c: New file.
9770 * gdb.base/utf8-identifiers.exp: New file.
9771
9772 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9773
9774 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9775
9776 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9777
9778 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9779
9780 2018-05-18 Tom Tromey <tom@tromey.com>
9781
9782 * gdb.base/ptype-offsets.exp: Update.
9783
9784 2018-05-17 Keith Seitz <keiths@redhat.com>
9785
9786 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9787 in expected breakpoint stop locations.
9788 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9789 move to proper scope to test variable values.
9790 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9791 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9792 New functions.
9793 (main): Call not_inline_func3.
9794 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9795 inline_func1, inline_func2, and inline_func3. Test that when each
9796 breakpoint is hit, GDB properly reports both the stop location
9797 and the backtrace. Repeat tests for temporary breakpoints.
9798
9799 2018-05-15 Maciej W. Rozycki <macro@mips.com>
9800
9801 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9802 rather then trying to access it in determining whether the PID
9803 of `gdbserver' could have been retrieved.
9804
9805 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9806
9807 * gdb.arch/amd64-init-x87-values.S: New file.
9808 * gdb.arch/amd64-init-x87-values.exp: New file.
9809
9810 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9811
9812 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9813
9814 2018-05-04 Tom Tromey <tom@tromey.com>
9815
9816 PR python/22730:
9817 * gdb.python/python.exp: Test multi-line execute.
9818
9819 2018-05-04 Tom Tromey <tom@tromey.com>
9820
9821 PR python/22731:
9822 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9823
9824 2018-05-04 Tom Tromey <tom@tromey.com>
9825
9826 PR gdb/11750:
9827 * gdb.base/define.exp: Test defining a user command inside a user
9828 command.
9829 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9830
9831 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9832 Pedro Alves <palves@redhat.com>
9833
9834 PR breakpoints/19806 and support for PR external/20207.
9835 * gdb.base/watchpoint-unaligned.c: New file.
9836 * gdb.base/watchpoint-unaligned.exp: New file.
9837
9838 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9839
9840 * gdb.base/maint.exp: Make test names unique, use
9841 test_prefix_command_help to test 'help maint info', and remove
9842 repeated test of 'help maint'.
9843
9844 2018-05-04 Tom Tromey <tom@tromey.com>
9845
9846 PR gdb/22619:
9847 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9848 behavior.
9849
9850 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9851
9852 * gdb.base/maint.exp: Process output from 'maint print registers'
9853 line at a time.
9854
9855 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9856
9857 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9858 timeout.
9859
9860 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9861
9862 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9863 filter pattern.
9864
9865 2018-05-02 Pedro Alves <palves@redhat.com>
9866
9867 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9868 to_log_command renames.
9869 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9870
9871 2018-05-02 Tom Tromey <tom@tromey.com>
9872
9873 * gdb.python/py-parameter.exp: Set test message.
9874
9875 2018-05-02 Tom Tromey <tom@tromey.com>
9876
9877 PR python/20084:
9878 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9879 PARAM_ZUINTEGER_UNLIMITED tests.
9880
9881 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9882
9883 PR rust/23124
9884 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9885 when casting.
9886
9887 2018-04-30 Tom Tromey <tom@tromey.com>
9888
9889 * gdb.python/py-type.exp: Check align attribute.
9890 * gdb.python/py-type.c: New "aligncheck" global.
9891
9892 2018-04-30 Tom Tromey <tom@tromey.com>
9893
9894 PR exp/17095:
9895 * gdb.dwarf2/dw2-align.exp: New file.
9896 * gdb.cp/align.exp: New file.
9897 * gdb.base/align.exp: New file.
9898 * lib/gdb.exp (gdb_int128_helper): New proc.
9899 (has_int128_c, has_int128_cxx): New caching procs.
9900
9901 2018-04-27 Tom Tromey <tom@tromey.com>
9902
9903 PR rust/22545:
9904 * gdb.rust/simple.exp: Add inclusive range tests.
9905
9906 2018-04-26 Pedro Alves <palves@redhat.com>
9907
9908 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9909 ifunc breakpoint locations correctly of ifunc breakpoints set
9910 while the program resolves the ifunc.
9911
9912 2018-04-26 Pedro Alves <palves@redhat.com>
9913
9914 * gdb.base/gnu-ifunc-final.c: New file.
9915 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9916 * gdb.base/gnu-ifunc.exp (executable): Delete.
9917 (staticexecutable): Adjust.
9918 (lib_opts, exec_opts): Delete.
9919 (make_binsuffix, build, set-break): New procedures.
9920 (misc_tests): New, with tests factored out from the top level.
9921 (top level): Test different combinations of ifunc resolver name,
9922 resolver with and with debug info, and ifunc target with and
9923 without debug info. Wrap static tests with with_target_prefix.
9924
9925 2018-04-26 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9928 return type" warnings.
9929
9930 2018-04-25 Pedro Alves <palves@redhat.com>
9931
9932 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9933 killed".
9934 * gdb.base/kill-after-signal.exp: Likewise.
9935 * gdb.threads/kill.exp: Likewise.
9936
9937 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 Sergio Durigan Junior <sergiodj@redhat.com>
9939 Pedro Alves <palves@redhat.com>
9940
9941 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9942 regexps to expect for '[Inferior ... detached]' as well.
9943 * gdb.base/attach.exp: Likewise.
9944 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9945 "gdb_continue_to_end".
9946 (test_catch_syscall_with_wrong_args): Likewise.
9947 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9948 ']'. Don't set 'verbose' on.
9949 * gdb.base/foll-vfork.exp: Likewise.
9950 * gdb.base/fork-print-inferior-events.c: New file.
9951 * gdb.base/fork-print-inferior-events.exp: New file.
9952 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9953 '[Inferior ... has been killed]' message.
9954 * gdb.base/kill-after-signal.exp: Likewise.
9955 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9956 detach message.
9957 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9958 message.
9959 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9960 regexps to expect for '[Inferior ... detached]' as well.
9961 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9962
9963 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9964
9965 PR gdb/23104
9966 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9967
9968 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9969
9970 PR gdb/23095
9971 * gdb.base/break-probes.exp: Pass shlib_load to
9972 prepare_for_testing. Set normal_bp to r_debug_state if target is
9973 bsd.
9974
9975 2018-04-19 Richard Bunt <richard.bunt@arm.com>
9976
9977 * gdb.threads/multiple-successive-infcall.c: New test.
9978 * gdb.threads/multiple-successive-infcall.exp: New file.
9979
9980 2018-04-17 Tom Tromey <tom@tromey.com>
9981
9982 * gdb.rust/simple.rs (Union): New type.
9983 (main): New local "u".
9984 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9985
9986 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9987
9988 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9989 number information in output of "whereis" command.
9990 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9991
9992 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9993
9994 * gdb.ada/info_types.exp: Adjust expected output to the line
9995 numbers now printed by "info var/func/type".
9996 * gdb.base/completion.exp: Likewise.
9997 * gdb.base/included.exp: Likewise.
9998 * gdb.cp/cp-relocate.exp: Likewise.
9999 * gdb.cp/cplusfuncs.exp: Likewise.
10000 * gdb.cp/namespace.exp: Likewise.
10001 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10002
10003 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10004
10005 * gdb.btrace/cpu.exp: New.
10006
10007 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10008
10009 * gdb.base/step-indirect-call-thunk.exp: New.
10010 * gdb.base/step-indirect-call-thunk.c: New.
10011 * gdb.reverse/step-indirect-call-thunk.exp: New.
10012 * gdb.reverse/step-indirect-call-thunk.c: New.
10013
10014 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10015
10016 * gdb.base/pie-fork.c: New file.
10017 * gdb.base/pie-fork.exp: New file.
10018
10019 2018-04-11 Tom Tromey <tom@tromey.com>
10020
10021 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10022
10023 2018-04-10 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10026 exits. Instead loop running forever.
10027 (fork_parent): Run forever too.
10028
10029 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10030
10031 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10032 mi_continue_to_line.
10033 * gdb.mi/mi-stack.c (callee4): Add comment.
10034
10035 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10036
10037 * gdb.mi/mi-stack.exp: Fix indentation.
10038
10039 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10040
10041 PR gdb/22979
10042 * gdb.arch/amd64-osabi.exp: New file.
10043
10044 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10045
10046 PR gdb/22980
10047 * gdb.base/osabi.exp: New file.
10048
10049 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
10050
10051 * gdb.cp/static-typedef-print.exp: New file.
10052 * gdb.cp/static-typedef-print.cc: New file.
10053
10054 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10055
10056 * gdb.ada/varsize_limit: New testcase.
10057
10058 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10059
10060 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10061
10062 * gdb.ada/notcplusplus: New testcase.
10063
10064 * gdb.base/c-linkage-name.c: New file.
10065 * gdb.base/c-linkage-name.exp: New testcase.
10066
10067 2018-03-26 Tom Tromey <tom@tromey.com>
10068
10069 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10070 * gdb.python/py-framefilter.py (name_error): New global.
10071 (ErrorInName.function): Use name_error.
10072
10073 2018-03-26 Tom Tromey <tom@tromey.com>
10074
10075 PR backtrace/15582:
10076 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10077
10078 2018-03-23 Keith Seitz <keiths@redhat.com>
10079
10080 PR c++/22968
10081 * gdb.cp/subtypes.exp: New file.
10082 * gdb.cp/subtypes.h: New file.
10083 * gdb.cp/subtypes.cc: New file.
10084 * gdb.cp/subtypes-2.cc: New file.
10085
10086 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10087
10088 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10089 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10090 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10091 -nostartfiles when compiling the test. Confirm that all registers
10092 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10093
10094 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10095
10096 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10097 option, syntax was wrong anyway.
10098 * gdb.arch/arm-disp-step.exp: Likewise.
10099 * gdb.arch/sparc64-regs.exp: Likewise.
10100 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10101 option, syntax was wrong anyway, switch to use
10102 prepare_for_testing.
10103 * gdb.arch/i386-disp-step.exp: Likewise.
10104
10105 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10106
10107 * gdb.ada/exec_changed.exp: Replace "target_info exists
10108 use_gdb_stub" by "use_gdb_stub".
10109 * gdb.ada/start.exp: Likewise.
10110 * gdb.base/async-shell.exp: Likewise.
10111 * gdb.base/attach-pie-misread.exp: Likewise.
10112 * gdb.base/attach-wait-input.exp: Likewise.
10113 * gdb.base/break-entry.exp: Likewise.
10114 * gdb.base/break-interp.exp: Likewise.
10115 * gdb.base/dprintf-detach.exp: Likewise.
10116 * gdb.base/nostdlib.exp: Likewise.
10117 * gdb.base/solib-nodir.exp: Likewise.
10118 * gdb.base/statistics.exp: Likewise.
10119 * gdb.base/testenv.exp: Likewise.
10120 * gdb.mi/mi-exec-run.exp: Likewise.
10121 * gdb.mi/mi-start.exp: Likewise.
10122 * gdb.multi/dummy-frame-restore.exp: Likewise.
10123 * gdb.multi/multi-arch-exec.exp: Likewise.
10124 * gdb.multi/multi-arch.exp: Likewise.
10125 * gdb.multi/tids.exp: Likewise.
10126 * gdb.multi/watchpoint-multi.exp: Likewise.
10127 * gdb.python/py-events.exp: Likewise.
10128 * gdb.threads/attach-into-signal.exp: Likewise.
10129 * gdb.threads/attach-stopped.exp: Likewise.
10130 * gdb.threads/threadapply.exp: Likewise.
10131 * lib/selftest-support.exp: Likewise.
10132
10133 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10134
10135 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10136
10137 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10138
10139 * gdb.perf/template-breakpoints.cc: New file.
10140 * gdb.perf/template-breakpoints.exp: New file.
10141 * gdb.perf/template-breakpoints.py: New file.
10142
10143 2018-03-19 Tom Tromey <tom@tromey.com>
10144
10145 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10146 y0.
10147 * gdb.rust/simple.exp: Test bare identifier form of struct
10148 initializer.
10149
10150 2018-03-19 Tom Tromey <tom@tromey.com>
10151
10152 * gdb.gdb/observer.exp: Remove.
10153
10154 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10155
10156 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10157 "qualified" option when setting breakpoints.
10158 * gdb.trace/backtrace.exp: Likewise.
10159 * gdb.trace/circ.exp: Likewise.
10160 * gdb.trace/collection.exp: Likewise.
10161 * gdb.trace/disconnected-tracing.exp: Likewise.
10162 * gdb.trace/ftrace-lock.exp: Likewise.
10163 * gdb.trace/ftrace.exp: Likewise.
10164 * gdb.trace/infotrace.exp: Likewise.
10165 * gdb.trace/packetlen.exp: Likewise.
10166 * gdb.trace/passc-dyn.exp: Likewise.
10167 * gdb.trace/qtro.exp: Likewise.
10168 * gdb.trace/read-memory.exp: Likewise.
10169 * gdb.trace/report.exp: Likewise.
10170 * gdb.trace/signal.exp: Likewise.
10171 * gdb.trace/status-stop.exp: Likewise.
10172 * gdb.trace/strace.exp: Likewise.
10173 * gdb.trace/tfind.exp: Likewise.
10174 * gdb.trace/trace-break.exp: Likewise.
10175 * gdb.trace/trace-condition.exp: Likewise.
10176 * gdb.trace/trace-mt.exp: Likewise.
10177 * gdb.trace/tstatus.exp: Likewise.
10178 * gdb.trace/tsv.exp: Likewise.
10179 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10180 * gdb.trace/unavailable.exp: Likewise.
10181 * gdb.trace/while-dyn.exp: Likewise.
10182
10183 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10184
10185 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10186 that libinproctrace is copied to the target.
10187
10188 2018-03-14 Tom Tromey <tom@tromey.com>
10189
10190 PR cli/14977:
10191 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10192 a null pointer.
10193 * gdb.base/wchar.exp: Likewise.
10194
10195 2018-03-14 Tom Tromey <tom@tromey.com>
10196
10197 PR cli/19918:
10198 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10199 flag.
10200
10201 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10202
10203 PR gdb/22841
10204 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10205 "target" to remote_exec.
10206
10207 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10208
10209 PR gdb/22841
10210 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10211 ${board}_upload): Remove.
10212
10213 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10214
10215 * gdb.cp/watch-cp.cc: New test.
10216 * gdb.cp/watch-cp.exp: New file.
10217
10218 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10219
10220 * gdb.base/infcall-nested-structs.exp: New file.
10221 * gdb.base/infcall-nested-structs.c: New file.
10222 * gdb.base/float.exp: Add riscv support.
10223
10224 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10225
10226 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10227 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10228
10229 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10230
10231 * gdb.server/abspath.exp: New file.
10232 * lib/gdb.exp (with_cwd): New procedure.
10233
10234 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10235
10236 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10237 use it.
10238 (gdb_is_target_remote_prompt): New proc.
10239 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10240 (gdb_is_target_native): Pass prompt parameter to
10241 gdb_is_target_1.
10242
10243 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10244
10245 * gdb.base/load-command.c: New file.
10246 * gdb.base/load-command.exp: New file.
10247 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10248 (gdb_is_target_1): ...this, and generalize for other targets
10249 than just remote.
10250 (gdb_is_target_remote): Use gdb_is_target_1.
10251 (gdb_is_target_native): use gdb_is_target_1.
10252
10253 2018-02-26 Tom Tromey <tom@tromey.com>
10254
10255 PR python/16497:
10256 * gdb.python/py-framefilter.exp: Update test.
10257
10258 2018-02-26 Tom Tromey <tom@tromey.com>
10259
10260 * gdb.dwarf2/variant.c: New file.
10261 * gdb.dwarf2/variant.exp: New file.
10262
10263 2018-02-26 Tom Tromey <tom@tromey.com>
10264
10265 * gdb.rust/simple.exp: Accept more possible results in enum test.
10266
10267 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10268
10269 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10270 parentheses.
10271
10272 2018-02-23 Maciej W. Rozycki <macro@mips.com>
10273
10274 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10275 name of a variable: $actual_linejj -> $actual_line.
10276
10277 2018-02-21 John Baldwin <jhb@FreeBSD.org>
10278
10279 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10280
10281 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10282
10283 * gdb.btrace/buffer-size.exp: Do not force BTS.
10284
10285 2018-02-14 Pedro Alves <palves@redhat.com>
10286
10287 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10288 getting a "Quit".
10289
10290 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10291
10292 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10293 Fix test name.
10294
10295 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10296
10297 * gdb.cp/m-static.exp: Check type of optimized out static
10298 member.
10299
10300 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10301
10302 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10303 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10304
10305 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10306 Leszek Swirski <leszeks@google.com>
10307
10308 * gdb.python/py-prettyprint.c
10309 (struct to_string_returns_value_inner,
10310 struct to_string_returns_value_wrapper): New.
10311 (main): Add tsrvw variable.
10312 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10313 ToStringReturnsValueWrapper): New classes.
10314 (register_pretty_printers): Register new pretty-printers.
10315 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10316 recursive pretty printer.
10317 * gdb.python/py-mi.exp: Likewise.
10318
10319 2018-02-01 Leszek Swirski <leszeks@google.com>
10320
10321 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10322 functions with the same name as an include file are parsed
10323 correctly.
10324
10325 2018-02-01 Yao Qi <yao.qi@linaro.org>
10326
10327 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10328 "\[^\r\n\]*".
10329
10330 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10331
10332 * gdb.arch/powerpc-prologue-frame.s: New file.
10333 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10334 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10335
10336 2018-01-31 Joel Brobecker <brobecker@adacore.com>
10337
10338 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10339
10340 2018-01-30 Pedro Alves <palves@redhat.com>
10341
10342 PR gdb/13211
10343 * gdb.base/interrupt-daemon.c: New.
10344 * gdb.base/interrupt-daemon.exp: New.
10345 * gdb.multi/multi-term-settings.c: New.
10346 * gdb.multi/multi-term-settings.exp: New.
10347
10348 2018-01-30 Joel Brobecker <brobecker@adacore.com>
10349
10350 * gdb.base/break.exp: Save the location where the breakpoint
10351 on break.c:47 was actually inserted when debugging the version
10352 compiled at -O2 and use it in the expected output of the "info
10353 break" test performed soon after.
10354
10355 2018-01-22 Pedro Alves <palves@redhat.com>
10356 Sergio Durigan Junior <sergiodj@redhat.com>
10357
10358 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10359 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10360
10361 2018-01-22 Joel Brobecker <brobecker@adacore.com>
10362
10363 * gdb.base/break-include.c, gdb.base/break-include.inc,
10364 gdb.base/break-include.exp: New files.
10365 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10366 line number now being the actual line number where the breakpoint
10367 was inserted.
10368 * gdb.mi/mi-break.exp: Likewise.
10369 * gdb.mi/mi-reverse.exp: Likewise.
10370 * gdb.mi/mi-simplerun.exp: Ditto.
10371
10372 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10373
10374 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10375 varobj.
10376 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10377
10378 2018-01-21 Don Breazeal <donb@codesourcery.com>
10379 Andrew Burgess <andrew.burgess@embecosm.com>
10380
10381 * gdb.mi/basics.c: Add new global.
10382 * gdb.mi/mi-frame-regs.exp: New file.
10383 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10384 case.
10385
10386 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10387
10388 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10389 non-parameter, and on an unknown symbol.
10390
10391 2018-01-19 Tom Tromey <tom@tromey.com>
10392
10393 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10394 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10395
10396 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10397
10398 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10399 setrlimit and chdir to int.
10400
10401 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10402
10403 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10404 function.
10405 (my_tend): Likewise.
10406 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10407 rationale of avoiding FP- and vector instructions.
10408
10409 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10410
10411 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10412 "info reg" with "\[ \t\]*".
10413 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10414 "\[ \t\]+".
10415 * gdb.arch/s390-multiarch.exp: Ditto.
10416 * gdb.base/pc-fp.exp: Ditto.
10417 * gdb.reverse/i386-precsave.exp: Ditto.
10418 * gdb.reverse/i386-reverse.exp: Ditto.
10419 * gdb.reverse/i387-env-reverse.exp: Ditto.
10420 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10421
10422 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10423
10424 * lib/gdb.exp (gdb_compile): Re-enable use of
10425 universal_compile_options for languages other than Rust.
10426
10427 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10428
10429 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10430
10431 2018-01-17 Mike Gulick <mgulick@mathworks.com>
10432
10433 PR gdb/16577
10434 * gdb.base/solib-vanish.exp: New.
10435 * gdb.base/solib-vanish-main.c: New.
10436 * gdb.base/solib-vanish-lib1.c: New.
10437 * gdb.base/solib-vanish-lib2.c: New.
10438
10439 2018-01-17 Yao Qi <yao.qi@linaro.org>
10440
10441 * gdb.compile/compile.exp: Match the address printed for
10442 frame in the output of command "bt".
10443
10444 2018-01-15 Tom Tromey <tom@tromey.com>
10445
10446 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10447 compute sp_reg.
10448
10449 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10450
10451 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10452 to prepare.
10453 (prepare): Return 0 on error, 1 on success.
10454
10455 2018-01-12 Pedro Alves <palves@redhat.com>
10456
10457 * gdb.base/continue-after-aborted-step-over.c: New.
10458 * gdb.base/continue-after-aborted-step-over.exp: New.
10459
10460 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10461
10462 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10463 options when not creating an executable.
10464
10465 2018-01-11 Pedro Alves <palves@redhat.com>
10466
10467 PR remote/22597
10468 * gdb.server/stop-reply-no-thread.c: New file.
10469 * gdb.server/stop-reply-no-thread.exp: New file.
10470
10471 2018-01-10 Pedro Alves <palves@redhat.com>
10472
10473 PR gdb/22670
10474 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10475 functions too. Test setting breakpoints and printing C functions
10476 with no debug info too.
10477 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10478
10479 2018-01-10 Pedro Alves <palves@redhat.com>
10480
10481 PR gdb/22670
10482 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10483 a fail.
10484
10485 2018-01-10 Pedro Alves <palves@redhat.com>
10486
10487 PR gdb/22670
10488 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10489
10490 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10491
10492 * gdb.server/unittest.exp: Match the output in non-development
10493 mode.
10494
10495 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10496
10497 * gdb.gdb/unittest.exp: Match output in non-development mode.
10498
10499 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10500
10501 * gdb.ada/access_tagged_param.exp: Relax expected output
10502 for value of "ObjL" in "continue" to pck.inspect breakpoint
10503 test.
10504
10505 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10506
10507 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10508 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
10509
10510 2018-01-05 Pedro Alves <palves@redhat.com>
10511
10512 PR gdb/18653
10513 * gdb.base/libsegfault.exp: New.
10514
10515 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10516
10517 PR gdb/22670
10518 * gdb.ada/access_tagged_param.exp: New file.
10519 * gdb.ada/access_tagged_param/foo.adb: New file.
10520
10521 2018-01-05 Pedro Alves <palves@redhat.com>
10522
10523 PR gdb/22670
10524 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10525 exercise lower case too, and to exercise both full matching and
10526 wild matching.
10527
10528 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10529
10530 * gdb.ada/rename_subscript_param: New testcase.
10531
10532 2018-01-05 Jerome Guitton <guitton@adacore.com>
10533
10534 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10535
10536 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10537
10538 * gdb.ada/convvar_comp: New testcase.
10539
10540 2018-01-05 Xavier Roirand <roirand@adacore.com>
10541
10542 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10543 (My_Table): New global variable.
10544 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10545
10546 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10547
10548 PR gdb/22670
10549 * gdb.ada/maint_with_ada: New testcase.
10550
10551 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10552
10553 PR gdb/22670
10554 * gdb.ada/bp_c_mixed_case: New testcase.
10555
10556 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10557
10558 PR gdb/22670
10559 * gdb.ada/complete.exp: Add "complete break ada" test.
10560
10561 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10562
10563 PR gdb/22670
10564 * gdb.ada/info_addr_mixed_case: New testcase.
10565
10566 2018-01-03 Xavier Roirand <roirand@adacore.com>
10567
10568 * gdb.ada/excep_handle.exp: New testcase.
10569 * gdb.ada/excep_handle/foo.adb: New file.
10570 * gdb.ada/excep_handle/pck.ads: New file.
10571
10572 2018-01-03 Joel Brobecker <brobecker@adacore.com>
10573
10574 * gdb.base/step-line.c: Add extra empty line in copyright header.
10575 * gdb.base/step-line.inp: Likewise.
10576
10577 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10578
10579 * gdb.ada/dyn_stride.exp: Add slice test.
10580
10581 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10582
10583 * gdb.ada/dyn_stride: New testcase.
10584
10585 2017-12-27 Stafford Horne <shorne@gmail.com>
10586
10587 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10588 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10589
10590 2017-12-27 Stafford Horne <shorne@gmail.com>
10591
10592 * gdb.base/reggroups.c: New file.
10593 * gdb.base/reggroups.exp: New file.
10594
10595 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10596
10597 * gdb.dwarf2/ada-valprint-error.c: New file.
10598 * gdb.dwarf2/ada-valprint-error.exp: New file.
10599
10600 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10601
10602 * gdb.ada/assign_arr: New testcase.
10603
10604 2017-12-18 Xavier Roirand <roirand@adacore.com>
10605
10606 * gdb.ada/funcall_ptr: New testcase.
10607
10608 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10609
10610 PR cli/16224
10611 * gdb.base/ptype-offsets.cc: New file.
10612 * gdb.base/ptype-offsets.exp: New file.
10613
10614 2017-12-15 Yao Qi <yao.qi@linaro.org>
10615
10616 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10617 if XML is disabled.
10618
10619 2017-12-15 Xavier Roirand <roirand@adacore.com>
10620
10621 * gdb.ada/same_component_name: New testcase.
10622
10623 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10624
10625 * gdb.ada/str_binop_equal: New testcase.
10626
10627 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10628
10629 * gdb.ada/task_switch_in_core: New testcase.
10630
10631 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10632
10633 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10634 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10635 call test_bkpt_qualified.
10636 (test_bkpt_qualified): New proc.
10637
10638 2017-12-13 Pedro Alves <palves@redhat.com>
10639
10640 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10641 Tighten regexp by matching with an anchor.
10642
10643 2017-12-13 Pedro Alves <palves@redhat.com>
10644
10645 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10646 ("expression with namespace"): New set of tests.
10647 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10648 (Nested::Test_NS::qux): New.
10649 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10650 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10651
10652 2017-12-13 Joel Brobecker <brobecker@adacore.com>
10653
10654 * gdb.base/server-del-break.c: New file.
10655 * gdb.base/server-del-break.exp: New file.
10656
10657 2017-12-12 Stafford Horne <shorne@gmail.com>
10658
10659 * gdb.xml/tdesc-regs.exp: Add or1k support.
10660
10661 2017-12-12 Stafford Horne <shorne@gmail.com>
10662
10663 * gdb.base/bp-permanent.c: Define nop of or1k.
10664
10665 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10666
10667 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10668 output with components being reordered.
10669
10670 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10671
10672 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10673 output with components being reordered.
10674
10675 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10676 Pedro Alves <palves@redhat.com>
10677
10678 * gdb.base/maint.exp (check for .gdb_index): Check also for
10679 .debug_names.
10680 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10681 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10682 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10683 (.gdb_index used after symbol reloading): Support also .debug_names.
10684 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10685
10686 2017-12-08 Yao Qi <yao.qi@linaro.org>
10687
10688 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10689 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10690
10691 2017-12-08 Yao Qi <yao.qi@linaro.org>
10692
10693 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10694 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10695
10696 2017-12-08 Yao Qi <yao.qi@linaro.org>
10697
10698 * gdb.arch/aarch64-tagged-pointer.c: New file.
10699 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10700
10701 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10702
10703 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10704 "int".
10705
10706 2017-12-07 Keith Seitz <keiths@redhat.com>
10707
10708 PR breakpoints/22569
10709 * gdb.linespec/ls-errs.exp: Change expected result of "break
10710 -source this file has spaces.c -line 3".
10711 Check that an explicit source file followed by whitespace is
10712 identified as an invalid explicit location.
10713
10714 2017-12-07 Keith Seitz <keiths@redhat.com>
10715
10716 * gdb.cp/nested-types.cc: New file.
10717 * gdb.cp/nested-types.exp: New file.
10718 * lib/cp-support.exp: Load data-structures.exp library.
10719 (debug_cp_test_ptype_class): New global.
10720 (cp_ptype_class_verbose, next_line): New procedures.
10721 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10722 Add and document new return value.
10723 Switch the list of lines to a queue.
10724 Add support for new `type' key for nested type definitions.
10725 Add debugging/troubleshooting messages.
10726 * lib/data-structures.exp: New file.
10727
10728 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10729
10730 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10731 with proc_with_prefix, don't use with_test_prefix.
10732
10733 2017-12-07 Tom Tromey <tom@tromey.com>
10734
10735 * gdb.base/break.exp: Add test for empty "commands".
10736
10737 2017-12-07 Yao Qi <yao.qi@linaro.org>
10738
10739 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10740 malloc and catch syscall.
10741
10742 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10743
10744 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
10745 tests for explicit locations.
10746
10747 2017-12-06 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10750 force-disabling XML descriptions.
10751
10752 2017-12-04 Pedro Alves <palves@redhat.com>
10753
10754 PR gdb/22499
10755 * gdb.arch/amd64-disp-step-avx.S: New file.
10756 * gdb.arch/amd64-disp-step-avx.exp: New file.
10757
10758 2017-12-03 Pedro Alves <palves@redhat.com>
10759
10760 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10761 and <string.h>.
10762 (parent_function): Print distinct messages when waitpid fails, or
10763 the child exits with a signal, or the child exits for an unhandled
10764 reason.
10765 * gdb.threads/process-dies-while-detaching.exp
10766 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10767 it. Wait for both inferior output and GDB's prompt. Use an
10768 indirect spawn id list.
10769 (do_detach): New parameter 'child_exit'. Use it to compute
10770 expected inferior output.
10771 (test_detach, test_detach_watch, test_detach_killed_outside):
10772 Adjust to pass down the expected child exit kind.
10773
10774 2017-12-01 Joel Brobecker <brobecker@adacore.com>
10775 Sergio Durigan Junior <sergiodj@redhat.com>
10776 Pedro Alves <palves@redhat.com>
10777
10778 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10779
10780 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10781
10782 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10783 to 'symbol-file' and 'add-symbol-file' can be
10784 position-independent.
10785
10786 2017-12-01 Yao Qi <yao.qi@linaro.org>
10787
10788 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10789 the URL in copyright header.
10790 * gdb.arch/aarch64-fp.exp: Likewise.
10791 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10792 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10793 * gdb.base/expand-psymtabs.exp: Likewise.
10794 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10795 * gdb.fortran/common-block.exp: Likewise.
10796 * gdb.fortran/common-block.f90: Likewise.
10797 * gdb.fortran/logical.exp: Likewise.
10798 * gdb.fortran/vla-datatypes.f90: Likewise.
10799 * gdb.fortran/vla-sub.f90: Likewise.
10800
10801 2017-11-30 Joel Brobecker <brobecker@adacore.com>
10802
10803 * gdb.ada/repeat_dyn: New testcase.
10804
10805 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10806
10807 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10808 Update for changed thread numbering.
10809 * gdb.cell/bt.exp: Update for changed GDB output.
10810
10811 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10812
10813 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10814 setting isremote by hand.
10815 * boards/dwarf4-gdb-index.exp: Likewise.
10816 * boards/fission.exp: Likewise.
10817 * boards/stabs.exp: Likewise.
10818
10819 2017-11-30 Pedro Alves <palves@redhat.com>
10820
10821 * gdb.linespec/cpls-ops.exp
10822 (check_explicit_skips_function_argument): Extract the underlying
10823 type of size_t instead of hardcoding it.
10824
10825 2017-11-29 Pedro Alves <palves@redhat.com>
10826
10827 PR c++/19436
10828 * gdb.linespec/cpls-abi-tag.cc: New file.
10829 * gdb.linespec/cpls-abi-tag.exp: New file.
10830
10831 2017-11-29 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.base/langs.exp: Use -qualified.
10834 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10835 it.
10836 * gdb.cp/namespace.exp: Use -qualified.
10837 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10838 (overload-3, template-overload, template-ret-type, const-overload)
10839 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10840 procedures.
10841 (test_driver): Call them.
10842 * gdb.cp/save-bp-qualified.cc: New.
10843 * gdb.cp/save-bp-qualified.exp: New.
10844 * gdb.linespec/explicit.exp: Test -qualified.
10845 * lib/completion-support.exp (completion::explicit_opts_list): Add
10846 "-qualified".
10847 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10848
10849 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10850
10851 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10852
10853 2017-11-29 Tom Tromey <tom@tromey.com>
10854
10855 * gdb.base/relocate.exp: Update invalid argument test.
10856 Add new tests for invalid arguments.
10857
10858 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10859
10860 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10861 Return 0 as a long.
10862 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10863
10864 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10865
10866 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10867 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10868 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10869 func ().
10870 * gdb.cp/shadow.cc (B.func): Return 0.
10871
10872 2017-11-27 Joel Brobecker <brobecker@adacore.com>
10873
10874 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10875 expected output in gdb_expect call to allow the exception
10876 message to be present as well. Fix syntax confusion to avoid
10877 TCL thinking that exception_name is an array.
10878
10879 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10880
10881 * gdb.arch/spu-info.c: Include <unistd.h>.
10882 (do_signal_test): Fix broken calls to write.
10883 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10884 Fix checks for empty mailboxes. Update signal tests for corrected
10885 do_signal_test routine. Allow nonzero event status.
10886 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10887 * gdb.cell/arch.exp: Use standard_output_file.
10888 * gdb.cell/break.exp: Likewise.
10889 * gdb.cell/bt.exp: Likewise.
10890 * gdb.cell/core.exp: Likewise.
10891 * gdb.cell/dwarfaddr.exp: Likewise.
10892 * gdb.cell/ea-cache.exp: Likewise.
10893 * gdb.cell/ea-standalone.exp: Likewise.
10894 * gdb.cell/f-regs.exp: Likewise.
10895 * gdb.cell/fork.exp: Likewise.
10896 * gdb.cell/gcore.exp: Likewise.
10897 * gdb.cell/mem-access.exp: Likewise.
10898 * gdb.cell/ptype.exp: Likewise.
10899 * gdb.cell/registers.exp: Likewise.
10900 * gdb.cell/sizeof.exp: Likewise.
10901 * gdb.cell/solib-symbol.exp: Likewise.
10902 * gdb.cell/solib.exp: Likewise.
10903
10904 2017-11-25 Pedro Alves <palves@redhat.com>
10905
10906 * gdb.base/complete-empty.exp: New file.
10907 * gdb.base/completion.exp: Adjust.
10908
10909 2017-11-25 Pedro Alves <palves@redhat.com>
10910
10911 * gdb.linespec/cpls-ops.cc: New file.
10912 * gdb.linespec/cpls-ops.exp: New file.
10913 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10914 factored out from ...
10915 (test_complete_prefix_range): ... this.
10916
10917 2017-11-24 Pedro Alves <palves@redhat.com>
10918
10919 * gdb.linespec/cpcompletion.exp: New file.
10920 * gdb.linespec/cpls-hyphen.cc: New file.
10921 * gdb.linespec/cpls.cc: New file.
10922 * gdb.linespec/cpls2.cc: New file.
10923 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10924 test to use test_gdb_complete_unique. Add label completion,
10925 keyword completion and explicit location completion tests.
10926 * lib/completion-support.exp: New file.
10927
10928 2017-11-24 Joel Brobecker <brobecker@adacore.com>
10929
10930 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10931 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10932 when hitting an exception catchpoint.
10933
10934 2017-11-22 Yao Qi <yao.qi@linaro.org>
10935
10936 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10937
10938 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10939
10940 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10941 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10942 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10943
10944 2017-11-22 Yao Qi <yao.qi@linaro.org>
10945
10946 * gdb.base/info-os.exp: Pass pthreads.
10947 * gdb.multi/multi-attach.exp: Likewise.
10948
10949 2017-11-22 Yao Qi <yao.qi@linaro.org>
10950
10951 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10952 compiler.
10953
10954 2017-11-22 Yao Qi <yao.qi@linaro.org>
10955
10956 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10957 * gdb.base/break-interp.exp: Likewise.
10958 * gdb.base/jit-attach-pie.exp: Likewise.
10959
10960 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10961
10962 * gdb.base/float128.c (large128): New variable.
10963 * gdb.base/float128.exp: Add test to print largest __float128 value.
10964
10965 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10966
10967 * gdb.arch/vsx-regs.exp: Update register content checks.
10968
10969 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10970
10971 * gdb.arch/ppc-longdouble.exp: New file.
10972 * gdb.arch/ppc-longdouble.c: Likewise.
10973
10974 2017-11-21 Pedro Alves <palves@redhat.com>
10975
10976 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10977
10978 2017-11-20 Pedro Alves <palves@redhat.com>
10979
10980 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10981 (long_double_typedef): New typedefs.
10982 Use DEF on double and long double.
10983 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10984 cases.
10985 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10986 and 'long_double_ptr_same_size' locals. Use them to decide
10987 whether cast from array/function to float is valid/invalid.
10988
10989 2017-11-17 Tom Tromey <tom@tromey.com>
10990
10991 * gdb.rust/traits.rs: New file.
10992 * gdb.rust/traits.exp: New file.
10993
10994 2017-11-17 Joel Brobecker <brobecker@adacore.com>
10995
10996 * gdb.ada/minsyms: New testcase.
10997
10998 2017-11-16 Pedro Alves <palves@redhat.com>
10999
11000 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11001 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11002
11003 2017-11-16 Pedro Alves <palves@redhat.com>
11004
11005 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11006 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11007
11008 2017-11-16 Pedro Alves <palves@redhat.com>
11009
11010 * gdb.server/reconnect-ctrl-c.c: New file.
11011 * gdb.server/reconnect-ctrl-c.exp: New file.
11012
11013 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11014
11015 * gdb.python/py-rbreak.exp: New file.
11016 * gdb.python/py-rbreak.c: New file.
11017 * gdb.python/py-rbreak-func2.c: New file.
11018
11019 2017-11-16 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11022 pattern.
11023 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11024 GDB.
11025
11026 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11027
11028 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11029 regex.
11030
11031 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11032
11033 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11034 test names.
11035
11036 2017-11-09 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11039 factored out from ...
11040 (top level): ... here, and adjusted to avoid expecting beyond the
11041 prompt in a single gdb_test_multiple.
11042
11043 2017-11-09 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11046 output.
11047 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11048 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11049 * gdb.server/ext-run.exp ("kill" test): Likewise.
11050 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11051
11052 2017-11-09 Pedro Alves <palves@redhat.com>
11053
11054 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11055 match till end of line.
11056
11057 2017-11-09 Pedro Alves <palves@redhat.com>
11058
11059 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11060
11061 2017-11-09 Pedro Alves <palves@redhat.com>
11062
11063 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11064 New procedures, factored out from ...
11065 (top level): ... here, and adjusted to avoid expecting beyond the
11066 prompt in one go.
11067
11068 2017-11-09 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11071 output. Fix '?' match.
11072
11073 2017-11-08 Joel Brobecker <brobecker@adacore.com>
11074
11075 * gdb.ada/scoped_watch: New testcase.
11076 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11077 which is actually correct.
11078 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11079 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11080
11081 2017-11-08 Pedro Alves <palves@redhat.com>
11082
11083 * gdb.gdb/complaints.exp (test_initial_complaints)
11084 (test_serial_complaints, test_short_complaints): Call
11085 complaint_internal instead of complaint.
11086
11087 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11088
11089 * gdb.threads/tls-core.c: New file.
11090 * gdb.threads/tls-core.exp: Likewise.
11091
11092 2017-11-08 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11095 (p Exported_Capitalized): New test.
11096 (p exported_capitalized): New test.
11097
11098 2017-11-07 Pedro Alves <palves@redhat.com>
11099
11100 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11101
11102 2017-11-07 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11105 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11106 (disable_invalid, disable_inverted, disable_negative): New
11107 procedures.
11108 ("bad numbers"): New set of tests.
11109
11110 2017-11-07 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.cp/ena-dis-br-range.exp: Add tests.
11113
11114 2017-11-07 Pedro Alves <palves@redhat.com>
11115
11116 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11117
11118 2017-11-07 Xavier Roirand <roirand@adacore.com>
11119 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.base/ena-dis-br.exp: Add reference to
11122 gdb.cp/ena-dis-br-range.exp.
11123 * gdb.cp/ena-dis-br-range.exp: New file.
11124 * gdb.cp/ena-dis-br-range.cc: New file.
11125
11126 2017-11-06 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.base/attach-non-pgrp-leader.c: New.
11129 * gdb.base/attach-non-pgrp-leader.exp: New.
11130
11131 2017-11-06 Pedro Alves <palves@redhat.com>
11132
11133 * configure.ac: No longer check for termio.h and sgtty.h.
11134 * configure: Regenerate.
11135 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11136 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11137 Remove termio and sgtty code.
11138
11139 2017-11-03 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11142 in GDB is disabled.
11143
11144 2017-11-03 Yao Qi <yao.qi@linaro.org>
11145
11146 * gdb.python/py-thrhandle.exp: Skip it if python is not
11147 enabled.
11148
11149 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11150
11151 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11152 as a breakpoint command.
11153
11154 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11155
11156 PR python/21213
11157 * gdb.python/py-infthread.exp: Test calling
11158 InferiorThread.inferior () multiple times in a row.
11159
11160 2017-10-27 Keith Seitz <keiths@redhat.com>
11161
11162 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11163 Test "info break" for every inlined function breakpoint.
11164
11165 2017-10-27 Yao Qi <yao.qi@linaro.org>
11166
11167 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11168
11169 2017-10-26 Patrick Frants <osscontribute@gmail.com>
11170
11171 * gdb.cp/classes.exp (test_static_members): Test printing
11172 Outer::instance.
11173 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11174 (Inner::instance, Outer::instance): New.
11175
11176 2017-10-24 Pedro Alves <palves@redhat.com>
11177
11178 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11179 extra console" test in two stages.
11180
11181 2017-10-24 Pedro Alves <palves@redhat.com>
11182
11183 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11184
11185 2017-10-24 Pedro Alves <palves@redhat.com>
11186
11187 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11188 loop.
11189
11190 2017-10-24 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11193 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11194
11195 2017-10-24 Pedro Alves <palves@redhat.com>
11196
11197 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11198 parameter and handle it. Don't output read value in test name.
11199
11200 2017-10-24 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11203 custom test name.
11204
11205 2017-10-24 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11208 include the unstable output directory name in the test's name.
11209 (initial_setup_simple) <'set args'>: Use custom test name.
11210
11211 2017-10-24 Pedro Alves <palves@redhat.com>
11212
11213 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11214 with explicit test name.
11215
11216 2017-10-20 Pedro Alves <palves@redhat.com>
11217
11218 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11219 'wait -i'. Use gdb_assert and remote_close.
11220
11221 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11222
11223 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11224 number from variable rather than hard-coded.
11225
11226 2017-10-19 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.base/long-inferior-output.c: New file.
11229 * gdb.base/long-inferior-output.exp: New file.
11230
11231 2017-11-18 Keith Seitz <keiths@redhat.com>
11232
11233 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11234 method.
11235 (main): Call it.
11236 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11237 Add additional user-defined conversion operator tests.
11238
11239 2017-10-17 Pedro Alves <palves@redhat.com>
11240
11241 * boards/native-stdio-gdbserver.exp: Load "local-board".
11242
11243 2017-10-17 Pedro Alves <palves@redhat.com>
11244
11245 * gdb.base/quit-live.c: New file.
11246 * gdb.base/quit-live.exp: New file.
11247
11248 2017-10-16 Keith Seitz <keiths@redhat.com>
11249
11250 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11251 (class_with_protected_typedef, class_with_private_typedef)
11252 (struct_with_public_typedef, struct_with_protected_typedef)
11253 (struct_with_private_typedef): New classes/structs.
11254 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11255 typedefs and access specifiers.
11256
11257 2017-10-16 Pedro Alves <palves@redhat.com>
11258 Simon Marchi <simon.marchi@polymtl.ca>
11259
11260 * README (Local vs Remote vs Native): New section.
11261 * boards/local-board.exp: New file, with bits factored out from
11262 ...
11263 * boards/native-extended-gdbserver.exp: ... here. Load
11264 "local-board".
11265 * boards/native-gdbserver.exp: Load "local-board".
11266 (${board}_spawn, ${board}_exec): Delete.
11267 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11268 ...
11269 * boards/stdio-gdbserver-base.exp: ... this new file.
11270 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11271 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11272 procedure.
11273 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11274 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11275 stdio_gdbserver_command.
11276 (${board}_get_remote_address, ${board}_get_comm_port)
11277 (${board}_download, ${board}_upload): Delete.
11278 (get_target_remote_pipe_cmd): New.
11279
11280 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11281
11282 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11283 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11284 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11285 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11286 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11287 remove with_test_prefix.
11288
11289 2017-10-13 Pedro Alves <palves@redhat.com>
11290
11291 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11292 * gdb.base/annota1.exp: Use it instead of is_remote.
11293 * gdb.base/annota3.exp: Use it instead of is_remote.
11294 * gdb.cp/annota2.exp: Use it instead of is_remote.
11295 * gdb.cp/annota3.exp: Use it instead of is_remote.
11296 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11297
11298 2017-10-13 Pedro Alves <palves@redhat.com>
11299
11300 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11301 (test_num_test_vars, run_and_count_vars, find_env)
11302 (test_set_unset_env, test_inherit_env_var): New procedures.
11303 (top level): Use them.
11304
11305 2017-10-13 Pedro Alves <palves@redhat.com>
11306
11307 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11308 also skip on stub-like targets.
11309
11310 2017-10-13 Pedro Alves <palves@redhat.com>
11311
11312 PR gdb/22293
11313 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11314 (top level): Move some tests to ...
11315 (test_not_found): ... this new procedure.
11316 (top level): Call it.
11317
11318 2017-10-13 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11321 expect different "info terminal" output if testing with a
11322 non-native target.
11323
11324 2017-10-13 Pedro Alves <palves@redhat.com>
11325 Simon Marchi <simon.marchi@polymtl.ca>
11326
11327 PR python/12966
11328 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11329
11330 2017-10-13 Pedro Alves <palves@redhat.com>
11331
11332 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11333 already.
11334
11335 2017-10-13 Pedro Alves <palves@redhat.com>
11336
11337 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11338 is_remote.
11339
11340 2017-10-13 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11343 is_remote.
11344
11345 2017-10-13 Pedro Alves <palves@redhat.com>
11346
11347 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11348 is set.
11349 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11350 instead of is_remote.
11351
11352 2017-10-13 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11355 (top level): Add comment.
11356
11357 2017-10-13 Pedro Alves <palves@redhat.com>
11358
11359 * gdb.base/remote.exp (top level): Fix comment typo and add
11360 missing return.
11361
11362 2017-10-13 Pedro Alves <palves@redhat.com>
11363 Simon Marchi <simon.marchi@polymtl.ca>
11364
11365 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11366 calls and add comments. Skip test if use_gdb_stub is set.
11367 (top level): Use "set cwd" command instead of "cd" command.
11368
11369 2017-10-13 Pedro Alves <palves@redhat.com>
11370
11371 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11372 is_remote target check.
11373
11374 2017-10-13 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.base/scope.exp: Use build_executable + clean_restart +
11377 gdb_file_cmd instead of prepare_for_testing and no longer skip
11378 "before run" tests on is_remote target boards. Update comments.
11379 * boards/native-extended-gdbserver.exp
11380 (extended_gdbserver_load_last_file): New, factored out from ...
11381 (gdb_load): ... this. Move further below and add comment.
11382 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11383
11384 2017-10-12 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.base/attach.exp: Remove references to gdb64.
11387 * gdb.base/dbx.exp: Remove references to gdb64.
11388
11389 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11390 Pedro Alves <palves@redhat.com>
11391
11392 * gdb.base/label.exp: Remove is_remote target check.
11393
11394 2017-10-12 Pedro Alves <palves@redhat.com>
11395
11396 * gdb.base/auvx.exp (coredir): Update comment.
11397 (top level) <core_works>: Use "set cwd" command instead of "cd"
11398 command.
11399
11400 2017-10-12 Pedro Alves <palves@redhat.com>
11401 Simon Marchi <simon.marchi@polymtl.ca>
11402
11403 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11404 target boards.
11405
11406 2017-10-12 Pedro Alves <palves@redhat.com>
11407 Simon Marchi <simon.marchi@polymtl.ca>
11408
11409 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11410 Instead skip if there's any gdb_protocol set.
11411
11412 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11413 Pedro Alves <palves@redhat.com>
11414
11415 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11416
11417 2017-10-12 Pedro Alves <palves@redhat.com>
11418 Simon Marchi <simon.marchi@polymtl.ca>
11419
11420 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11421 instead of on dejagnu remote boards.
11422
11423 2017-10-12 Pedro Alves <palves@redhat.com>
11424 Simon Marchi <simon.marchi@polymtl.ca>
11425
11426 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11427 checks. Use build_executable + clean_restart instead of
11428 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11429 of enabling non-stop after starting gdb.
11430
11431 2017-10-12 Pedro Alves <palves@redhat.com>
11432
11433 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11434 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11435 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11436 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11437
11438 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11439
11440 * gdb.arch/arc-tdesc-cpu.exp: New file.
11441 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11442
11443 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11444
11445 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11446
11447 2017-10-10 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11450 expect CLI output.
11451
11452 2017-10-10 Pedro Alves <palves@redhat.com>
11453
11454 * lib/selftest-support.exp (selftest_setup): Update for
11455 captured_command_loop's prototype change.
11456
11457 2017-10-09 Pedro Alves <palves@redhat.com>
11458
11459 Test both arch1=>arch2 and arch2=>arch1.
11460
11461 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11462 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11463 factored out to...
11464 (append_arch1_options, append_arch2_options, append_arch_options)
11465 (build_executables): New procedures.
11466 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11467 local.
11468 (top level): Add new 'first_arch' testing axis.
11469
11470 2017-10-09 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11473 (barrier): New.
11474 (thread_start, all_started): New functions.
11475 (main): Spawn new thread and wait until it is scheduled.
11476 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11477 option.
11478 (do_test): Add 'selected_thread' parameter. Run to all_started
11479 instead of main. Explicitly set the breakpoint at main. Switch
11480 to the SELECTED_THREAD thread.
11481 (top level): Test handling the exec event with either the main
11482 thread or the second thread selected.
11483
11484 2017-10-09 Pedro Alves <palves@redhat.com>
11485
11486 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11487 logic. Move STOP marker after the value checks.
11488 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11489 regexp.
11490
11491 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11492
11493 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11494
11495 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11496
11497 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11498 integer-to-dfp conversion.
11499 * gdb.base/dfp-test.exp: Likewise.
11500
11501 2017-10-04 Pedro Alves <palves@redhat.com>
11502
11503 * gdb.multi/hangout.c: Include <unistd.h>.
11504 (hangout_loop): New function.
11505 (main): Call alarm. Call hangout_loop in a loop.
11506 * gdb.multi/hello.c: Include <unistd.h>.
11507 (hello_loop): New function.
11508 (main): Call alarm. Call hangout_loop in a loop.
11509 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11510 inferior with the other selected.
11511
11512 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11513
11514 * gdb.mi/list-thread-groups-available.exp: New file.
11515 * gdb.mi/list-thread-groups-available.c: New file.
11516
11517 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11518
11519 * gdb.base/set-cwd.exp: Make it available on
11520 native-extended-gdbserver.
11521
11522 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11523
11524 * gdb.base/set-cwd.c: New file.
11525 * gdb.base/set-cwd.exp: Likewise.
11526
11527 2017-10-02 Tom Tromey <tom@tromey.com>
11528
11529 PR rust/22236:
11530 * gdb.rust/simple.rs (main): New variable "fslice".
11531 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11532
11533 2017-10-02 Tom Tromey <tom@tromey.com>
11534
11535 * gdb.rust/simple.exp: Test ptype of a slice.
11536
11537 2017-10-02 Tom Tromey <tom@tromey.com>
11538
11539 * gdb.rust/simple.exp: Test index of slice.
11540
11541 2017-09-27 Tom Tromey <tom@tromey.com>
11542
11543 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11544
11545 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11546 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/compare-sections.exp (get value of read-only section): Read
11549 as unsigned value.
11550 (corrupt read-only section): Likewise and don't set written if patching
11551 failed.
11552
11553 2017-09-21 Kevin Buettner <kevinb@redhat.com>
11554
11555 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11556 files.
11557
11558 2017-09-20 Pedro Alves <palves@redhat.com>
11559
11560 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11561 symbol names in gdb's output.
11562 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11563
11564 2017-09-20 Pedro Alves <palves@redhat.com>
11565
11566 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11567 Rename to ...
11568 (test_list_ambiguous_symbol): ... this and add a symbol name
11569 parameter. Adjust.
11570 (test_list_ambiguous_function): Reimplement on top of
11571 test_list_ambiguous_symbol and also test listing ambiguous
11572 variables.
11573 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11574 (ambiguous_fun): ... this.
11575 (ambiguous_var): New.
11576 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11577 (ambiguous_fun): ... this.
11578 (ambiguous_var): New.
11579
11580 2017-09-19 John Baldwin <jhb@FreeBSD.org>
11581
11582 * gdb.base/starti.c: New file.
11583 * gdb.base/starti.exp: New file.
11584 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11585
11586 2017-09-14 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11589 (top level): Use it instead of runto.
11590
11591 2017-09-11 Tom Tromey <tom@tromey.com>
11592
11593 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11594
11595 2017-09-11 Tom Tromey <tom@tromey.com>
11596
11597 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11598 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11599
11600 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11601
11602 * gdb.fortran/printing-types.exp: New file.
11603 * gdb.fortran/printing-types.exp: New file.
11604
11605 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11606
11607 * gdb.fortran/vla-ptype.exp: Fix typos.
11608 * gdb.fortran/vla-value.exp: Same.
11609
11610 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11611
11612 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11613 * gdb.mi/mi-var-child-f.exp: Likewise.
11614 * gdb.mi/mi-vla-fortran.exp: Likewise.
11615
11616 2017-09-08 Frank Penczek <frank.penczek@intel.com>
11617 Christoph Weinmann <christoph.t.weinmann@intel.com>
11618 Bernhard Heckel <bernhard.heckel@intel.com>
11619
11620 * gdb.fortran/ptr-indentation.f90: New file.
11621 * gdb.fortran/ptr-indentation.exp: New file.
11622
11623 2017-09-05 Tom Tromey <tom@tromey.com>
11624
11625 PR gdb/22010:
11626 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11627
11628 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11629
11630 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11631
11632 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11633
11634 * gdb.threads/tls-nodebug-pie.c: New file.
11635 * gdb.threads/tls-nodebug-pie.exp: New file.
11636
11637 2017-09-05 Tom Tromey <tom@tromey.com>
11638
11639 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11640 for rust.
11641
11642 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11643
11644 * gdb.multi/multi-arch-exec.exp: Test with different
11645 "follow-exec-mode" settings.
11646 (do_test): New procedure.
11647
11648 2017-09-04 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.base/func-static.c (S::method const, S::method volatile)
11651 (S::method volatile const): New methods.
11652 (c_s, v_s, cv_s): New instances.
11653 (main): Call method() on them.
11654 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11655 (cannot_resolve): New procedure.
11656 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11657 print-quote-unquoted columns.
11658 (do_test): Test printing each scope too.
11659
11660 2017-09-04 Pedro Alves <palves@redhat.com>
11661
11662 * gdb.base/local-static.exp: Also test with
11663 class::method::variable wholly quoted.
11664 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11665
11666 2017-09-04 Pedro Alves <palves@redhat.com>
11667
11668 * gdb.base/local-static.c: New.
11669 * gdb.base/local-static.cc: New.
11670 * gdb.base/local-static.exp: New.
11671
11672 2017-09-04 Pedro Alves <palves@redhat.com>
11673
11674 * gdb.asm/asm-source.exp: Add casts to int.
11675 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11676 (dataglobal64_1, dataglobal64_2): New globals.
11677 * gdb.base/nodebug.exp: Test different expressions involving the
11678 new globals, with print, whatis and ptype. Add casts to int.
11679 * gdb.base/solib-display.exp: Add casts to int.
11680 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11681 * gdb.cp/m-static.exp: Add cast to int.
11682 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11683 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11684 tls variable with no debug info without a cast. Test with a cast
11685 to int too.
11686 * gdb.trace/entry-values.exp: Add casts.
11687
11688 2017-09-04 Pedro Alves <palves@redhat.com>
11689
11690 * gdb.base/nodebug.exp: Test that ptype's error about functions
11691 with unknown return type includes the function name too.
11692
11693 2017-09-04 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11696 return type of munmap in infcall.
11697 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11698 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11699 type of ftell in infcall.
11700 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11701 type of getpid in infcall.
11702 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11703 infcall.
11704 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11705 Bail on failure to extract the pid.
11706 * gdb.base/nodebug.c: #include <stdint.h>.
11707 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11708 New functions.
11709 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11710 Change expected output of print/whatis/ptype with functions with
11711 no debug info. Test all supported languages. Call
11712 test_call_promotion.
11713 * gdb.compile/compile.exp: Adjust expected output to expect
11714 warning.
11715 * gdb.threads/siginfo-threads.exp: Likewise.
11716
11717 2017-09-04 Pedro Alves <palves@redhat.com>
11718
11719 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11720 "prototypes". Test calling float functions via prototyped and
11721 unprototyped function pointers.
11722 (perform_all_tests): New parameter "prototypes". Pass it down.
11723 (top level): Pass down "prototypes" parameter to
11724 perform_all_tests.
11725
11726 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11727
11728 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11729 Test with nested loops.
11730
11731 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11732
11733 * gdb.base/commands.exp: Call the new procedures.
11734 (loop_break_test, loop_continue_test): New procedures.
11735
11736 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11737
11738 * gdb.base/commands.exp: Call new procedure.
11739 (define_if_without_arg_test): New procedure.
11740
11741 2017-09-04 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.base/list-ambiguous.exp: New file.
11744 * gdb.base/list-ambiguous0.c: New file.
11745 * gdb.base/list-ambiguous1.c: New file.
11746 * gdb.base/list.exp (test_list_range): Adjust expected output.
11747
11748 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11749
11750 * gdb.base/share-env-with-gdbserver.c: New file.
11751 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11752
11753 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11754
11755 * gdb.base/commands.exp (gdbvar_simple_if_test,
11756 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11757 progvar_simple_if_test, progvar_simple_while_test,
11758 progvar_complex_if_while_test, user_defined_command_test,
11759 user_defined_command_args_eval,
11760 user_defined_command_args_stack_test,
11761 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11762 temporary_breakpoint_commands,
11763 gdb_test_no_prompt, redefine_hook_test,
11764 redefine_backtrace_test): Remove "global gdb_prompt".
11765
11766 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11767
11768 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11769 New proc, call it from toplevel.
11770
11771 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11772
11773 PR remote/21852
11774 * gdb.server/normal.c: New file, copied from gdb.base.
11775 * gdb.server/run-without-local-binary.exp: New file.
11776
11777 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
11778
11779 * gdb.arch/sparc64-adi.exp: New file.
11780 * gdb.arch/sparc64-adi.c: New file.
11781
11782 2017-08-22 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11785 (top level): Add "list all overloads" tests.
11786
11787 2017-08-22 Tom Tromey <tom@tromey.com>
11788
11789 * gdb.gdb/xfullpath.exp: Remove.
11790
11791 2017-08-21 Pedro Alves <palves@redhat.com>
11792
11793 PR gdb/19487
11794 * gdb.base/symbol-alias.c: New.
11795 * gdb.base/symbol-alias2.c: New.
11796 * gdb.base/symbol-alias.exp: New.
11797
11798 2017-08-21 Pedro Alves <palves@redhat.com>
11799
11800 * gdb.base/dfp-test.c
11801 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11802 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11803 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11804 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11805 * gdb.base/whatis-ptype-typedefs.c: New.
11806 * gdb.base/whatis-ptype-typedefs.exp: New.
11807 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11808 (an_int, an_int_type, an_int_type2): New globals.
11809 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11810 involving typedefs and cast expressions.
11811 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11812 (lookup_typedefs_function): New.
11813 (typedefs_pretty_printers_dict): New.
11814 (top level): Register lookup_typedefs_function in
11815 gdb.pretty_printers.
11816
11817 2017-08-18 Yao Qi <yao.qi@linaro.org>
11818
11819 * gdb.server/unittest.exp: New.
11820
11821 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11822
11823 PR gdb/21954
11824 * gdb.base/environ.exp: Add test to check if 'unset environment'
11825 works.
11826
11827 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11828
11829 * lib/gdb.exp (universal_compile_options): New caching proc.
11830 (gdb_compile): Suppress GCC's coloring of messages.
11831
11832 2017-08-14 Tom Tromey <tom@tromey.com>
11833
11834 PR gdb/21675:
11835 * gdb.base/printcmds.exp (test_radices): New function.
11836 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11837 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11838 * lib/gdb.exp (get_integer_valueof): Use p/d.
11839
11840 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11841
11842 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11843 characters.
11844
11845 2017-08-05 Tom Tromey <tom@tromey.com>
11846
11847 * gdb.rust/simple.exp: Allow String to appear in a different
11848 namespace.
11849
11850 2017-07-26 Yao Qi <yao.qi@linaro.org>
11851
11852 * gdb.gdb/unittest.exp: Invoke command
11853 "maintenance check xml-descriptions".
11854
11855 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11856
11857 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11858 calling context.
11859 (hex128): Drop erroneous calculation of parameters.
11860
11861 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11862
11863 * gdb.python/py-unwind.exp: Disable stack protection when
11864 building test file.
11865
11866 2017-07-20 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.base/default.exp (set language): Adjust expected output.
11869
11870 2017-07-20 Pedro Alves <palves@redhat.com>
11871
11872 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11873 (test_minsym): ... this, and make static.
11874 (get_pck__foo__bar__minsym): Rename to ...
11875 (get_test_minsym): ... this.
11876 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11877 symbol names and comments.
11878 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11879 (get_test_minsym): ... this.
11880 (pck__foo__bar__minsym__2): Rename to ...
11881 (test_minsym): ... this.
11882 (main): Adjust.
11883
11884 2017-07-17 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.base/completion.exp: Adjust expected output.
11887 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11888 the completer works.
11889
11890 2017-07-17 Pedro Alves <palves@redhat.com>
11891
11892 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11893
11894 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11895
11896 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11897
11898 2017-07-14 Tom Tromey <tom@tromey.com>
11899
11900 PR rust/21764:
11901 * gdb.rust/simple.exp: Add tests.
11902
11903 2017-07-14 Tom Tromey <tom@tromey.com>
11904
11905 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11906
11907 2017-07-14 Pedro Alves <palves@redhat.com>
11908
11909 * gdb.linespec/base/one/thefile.cc (z1): New function.
11910 * gdb.linespec/base/two/thefile.cc (z2): New function.
11911 * gdb.linespec/linespec.exp: Add tests.
11912
11913 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11914
11915 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11916 to mi_create_breakpoint.
11917
11918 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11919
11920 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11921 mi_create_breakpoint.
11922
11923 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11924
11925 * gdb.dlang/demangle.exp: Update for demangling changes.
11926
11927 2017-07-09 Tom Tromey <tom@tromey.com>
11928
11929 * gdb.dwarf2/shortpiece.exp: New file.
11930
11931 2017-07-06 David Blaikie <dblaikie@gmail.com>
11932
11933 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11934 built from fissiont-multi-cu{1,2}.c.
11935 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11936 except putting 'main' and 'func' in separate CUs in the same DWO file.
11937 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11938 test.
11939 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11940 test.
11941
11942 2017-07-06 Pedro Alves <palves@redhat.com>
11943
11944 * gdb.python/py-unwind.exp: Test flushregs.
11945
11946 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11947
11948 PR cli/21688
11949 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11950 tests for alias commands and trailing whitespace.
11951
11952 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11953
11954 PR cli/21688
11955 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11956 procedure. Call it.
11957
11958 2017-06-29 Pedro Alves <palves@redhat.com>
11959
11960 * gdb.base/printcmds.exp: Add tests.
11961
11962 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11963
11964 PR gdb/21337
11965 * gdb.base/reread-readsym.exp: New file.
11966 * gdb.base/reread-readsym.c: New file.
11967
11968 2017-06-21 Kevin Buettner <kevinb@redhat.com>
11969
11970 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11971 subpattern.
11972
11973 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11974
11975 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11976 extended mnemonic.
11977 * gdb.arch/powerpc-power9.s: Likewise.
11978
11979 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11980
11981 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11982 on 32-bit x86 targets. Exploit is_*_target macros where
11983 appropriate.
11984
11985 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11986
11987 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11988 register pieces.
11989
11990 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11991
11992 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11993 located in one or more DWARF pieces.
11994
11995 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11996
11997 * lib/gdb.exp (get_endianness): New proc.
11998 * gdb.arch/aarch64-fp.exp: Use it.
11999 * gdb.arch/altivec-regs.exp: Likewise.
12000 * gdb.arch/e500-regs.exp: Likewise.
12001 * gdb.arch/vsx-regs.exp: Likewise.
12002 * gdb.base/dump.exp: Likewise.
12003 * gdb.base/funcargs.exp: Likewise.
12004 * gdb.base/gnu_vector.exp: Likewise.
12005 * gdb.dwarf2/formdata16.exp: Likewise.
12006 * gdb.dwarf2/implptrpiece.exp: Likewise.
12007 * gdb.dwarf2/nonvar-access.exp: Likewise.
12008 * gdb.python/py-inferior.exp: Likewise.
12009 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12010
12011 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12012
12013 PR gdb/21226
12014 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12015 stack value pieces are taken from the LSB end.
12016
12017 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12018
12019 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12020 variable at nonzero offset.
12021
12022 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12023
12024 * gdb.dwarf2/var-access.c: New file.
12025 * gdb.dwarf2/var-access.exp: New test.
12026 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12027
12028 2017-06-12 Tom Tromey <tom@tromey.com>
12029
12030 * gdb.dwarf2/formdata16.exp: Add tests.
12031
12032 2017-06-12 Tom Tromey <tom@tromey.com>
12033
12034 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12035
12036 2017-06-12 Tom Tromey <tom@tromey.com>
12037
12038 PR exp/16225:
12039 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12040 * gdb.arch/vsx-regs.exp: Update tests.
12041 * gdb.arch/s390-vregs.exp (hex128): New proc.
12042 Update test.
12043 * gdb.arch/altivec-regs.exp: Update tests.
12044
12045 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12046
12047 * gdb.base/startup-with-shell.c: New file.
12048 * gdb.base/startup-with-shell.exp: Likewise.
12049
12050 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12051
12052 * gdb.server/non-existing-program.exp: Update regex in order to
12053 reflect the fact that gdbserver is now using fork_inferior (with a
12054 shell) to startup the inferior.
12055
12056 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12059 support function calls from GDB.
12060
12061 2017-05-21 Tom Tromey <tom@tromey.com>
12062
12063 PR rust/21466:
12064 * gdb.rust/unsized.exp: New file.
12065 * gdb.rust/unsized.rs: New file.
12066
12067 2017-05-19 Tom Tromey <tom@tromey.com>
12068
12069 PR rust/21484:
12070 * gdb.rust/watch.exp: New file.
12071 * gdb.rust/watch.rs: New file.
12072
12073 2017-05-18 Tom Tromey <tom@tromey.com>
12074
12075 * gdb.rust/simple.exp: Allow Box to be qualified.
12076
12077 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12078
12079 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12080
12081 2017-05-18 Pedro Alves <palves@redhat.com>
12082
12083 * gdb.base/fileio.c (test_write, test_read, test_close)
12084 (test_fstat): Don't print 'ret' in the fail path.
12085
12086 2017-05-18 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12089 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12090 (test_system, test_rename, test_unlink, test_time): Change
12091 prototypes.
12092 * gdb.base/fileio.exp (stop_msg): Adjust.
12093
12094 2017-05-18 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.base/fileio.c (null_str): New global.
12097 (test_stat): Use it.
12098 * gdb.base/fileio.exp: Remove nowarnings.
12099
12100 2017-05-17 Yao Qi <yao.qi@linaro.org>
12101
12102 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12103
12104 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12105
12106 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12107 argument command.
12108 (top-level): Invoke test_set_inferior_tty.
12109
12110 2017-05-04 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12113 Add parens to print call for Python 3.
12114
12115 2017-05-03 Keith Seitz <keiths@redhat.com>
12116
12117 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12118 (main): Call it.
12119
12120 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12121
12122 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12123 to prev and next.
12124
12125 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12126
12127 * gdb.python/py-record-btrace.exp: Remove test for
12128 gdb.BtraceInstruction.error.
12129
12130 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12131
12132 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12133
12134 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12135
12136 * gdb.python/py-record-btrace-threads.c: New file.
12137 * gdb.python/py-record-btrace-threads.exp: New file.
12138
12139 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12140
12141 PR testsuite/8595
12142 * gdb.base/environ.exp: Make test available in all architectures.
12143 Move bits related to "info program" testing to
12144 gdb.base/info-program.exp. Rewrite tests to use the two new
12145 procedures mentione below.
12146 (test_set_show_env_var) New procedure.
12147 (test_set_show_env_var_equal): Likewise.
12148 * gdb.base/info-program.exp: New file.
12149
12150 2017-04-27 Keith Seitz <keiths@redhat.com>
12151
12152 * gdb.cp/oranking.cc (test15): New function.
12153 (main): Call test15 and declare additional variables for testing.
12154 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12155 "p foo101('abc')" tests.
12156 Add tests for cv qualifier overloads.
12157 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12158 "lvalue reference overload" test.
12159 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12160 "print value of f1 on Child&& in f2" test.
12161
12162 2017-04-19 Pedro Alves <palves@redhat.com>
12163
12164 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12165 procedure.
12166 (top level): Call it.
12167 * lib/gdb.exp (gdb_define_cmd): New procedure.
12168
12169 2017-04-12 Pedro Alves <palves@redhat.com>
12170
12171 PR gdb/21323
12172 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12173 (wchar): New global.
12174 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12175 (do_test_wide_char, wide_char_types_no_program, top level): Add
12176 wchar_t testing.
12177
12178 2017-04-12 Pedro Alves <palves@redhat.com>
12179
12180 PR c++/21323
12181 * gdb.cp/wide_char_types.c: New file.
12182 * gdb.cp/wide_char_types.exp: New file.
12183
12184 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12185
12186 PR gdb/21352
12187 * gdb.trace/tsv.exp: Add test for "tsave -r".
12188
12189 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12190
12191 * gdb.dlang/watch-loc.c: New file.
12192 * gdb.dlang/watch-loc.exp: New file.
12193
12194 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12195
12196 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12197
12198 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12199
12200 * gdb.arch/arc-analyze-prologue.S: New file.
12201 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12202
12203 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12204
12205 * gdb.arch/arc-decode-insn.S: New file.
12206 * gdb.arch/arc-decode-insn.exp: Likewise.
12207
12208 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12209
12210 PR tdep/20928
12211 * gdb.arch/sparc64-regs.exp: New file.
12212 * gdb.arch/sparc64-regs.S: Likewise.
12213
12214 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12215
12216 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12217 and memory view on Python 3.
12218
12219 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
12220 Keith Seitz <keiths@redhat.com>
12221
12222 PR gdb/14441
12223 * gdb.cp/demangle.exp: Add rvalue reference tests.
12224 * gdb.cp/rvalue-ref-casts.cc: New file.
12225 * gdb.cp/rvalue-ref-casts.exp: New file.
12226 * gdb.cp/rvalue-ref-overload.cc: New file.
12227 * gdb.cp/rvalue-ref-overload.exp: New file.
12228 * gdb.cp/rvalue-ref-params.cc: New file.
12229 * gdb.cp/rvalue-ref-params.exp: New file.
12230 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12231 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12232 * gdb.cp/rvalue-ref-types.cc: New file.
12233 * gdb.cp/rvalue-ref-types.exp: New file.
12234 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12235 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12236
12237 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12238
12239 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12240 New procedure.
12241
12242 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12243
12244 * lib/mi-support.exp (mi_gdb_test): Add additional message
12245 for unexpected output.
12246
12247 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12248
12249 * gdb.base/examine-backward.c (Barrier): New character array
12250 constant, to ensure that TestStrings is preceded by a string
12251 terminator.
12252
12253 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12254
12255 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12256 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12257 and implicit pointer into such a location.
12258
12259 2017-03-16 Doug Evans <dje@google.com>
12260
12261 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12262
12263 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12264
12265 * gdb.cp/m-static.exp: Fix expectation for prototype of
12266 test5.single_constructor and single_constructor::single_constructor.
12267
12268 2017-03-16 Doug Evans <dje@google.com>
12269
12270 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12271 * gdb.guile/scm-lazy-string.c: New file.
12272 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12273 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12274 for pointer, array, typedef lazy strings.
12275
12276 2017-03-16 Doug Evans <dje@google.com>
12277
12278 PR python/17728, python/18439, python/18779
12279 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12280 * gdb.python/py-lazy-string.c (pointer): New typedef.
12281 (main): New locals ptr, array, typedef_ptr.
12282 * gdb.python/py-value.exp: Move lazy string tests to ...
12283 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12284 array, typedef lazy strings.
12285
12286 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12287
12288 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12289 Add optional 'test' parameter.
12290
12291 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12292
12293 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12294 Skip for versions of DejaGnu < 1.5.
12295
12296 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12297
12298 * lib/gdb.exp (dejagnu_version): New proc.
12299 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12300 Use dejagnu_version.
12301
12302 2017-03-10 Keith Seitz <keiths@redhat.com>
12303
12304 PR c++/8128
12305 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12306 type from destructor regexps.
12307 Add a branch which actually passes the test.
12308 Adjust "ptype t5i" test names.
12309
12310 2017-03-08 Pedro Alves <palves@redhat.com>
12311
12312 * gdb.base/step-over-exit.exp: Add explicit test message.
12313
12314 2017-03-08 Pedro Alves <palves@redhat.com>
12315
12316 PR gdb/18360
12317 * gdb.threads/interrupt-while-step-over.c: New file.
12318 * gdb.threads/interrupt-while-step-over.exp: New file.
12319
12320 2017-03-08 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12323 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12324
12325 2017-03-08 Pedro Alves <palves@redhat.com>
12326
12327 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12328 PKRU as not supported as a PASS.
12329
12330 2017-03-08 Pedro Alves <palves@redhat.com>
12331
12332 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12333 prefix instead of $binfile1/$binfile2.
12334 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12335 in test message.
12336 * gdb.python/py-completion.exp: Use "load python file" as test
12337 messages instead of unstable path names.
12338
12339 2017-03-08 Pedro Alves <palves@redhat.com>
12340 Jan Kratochvil <jan.kratochvil@redhat.com>
12341
12342 PR cli/21218
12343 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12344 New proc.
12345 (top level): Call it.
12346
12347 2017-03-08 Pedro Alves <palves@redhat.com>
12348
12349 PR tui/21216
12350 * gdb.tui/tui-nl-filtered-output.exp: New file.
12351
12352 2017-03-08 Pedro Alves <palves@redhat.com>
12353
12354 * gdb.base/completion.exp: Move TUI completion tests to ...
12355 * gdb.tui/completion.exp: ... this new file.
12356
12357 2017-03-08 Pedro Alves <palves@redhat.com>
12358
12359 * gdb.base/tui-disasm-long-lines.c,
12360 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12361 gdb.base/tui-layout.exp: Move to ...
12362 * gdb.tui/: ... this new directory.
12363
12364 2017-03-07 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.base/tui-layout.c: New file.
12367 * gdb.base/tui-layout.exp: New file.
12368
12369 2017-03-07 Pedro Alves <palves@redhat.com>
12370
12371 * gdb.base/tui-layout.c: Rename to ...
12372 * gdb.base/tui-disasm-long-lines.c: ... this.
12373 * gdb.base/tui-layout.exp: Rename to ...
12374 * gdb.base/tui-disasm-long-lines.exp: ... this.
12375
12376 2017-03-07 Pedro Alves <palves@redhat.com>
12377
12378 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12379
12380 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12381
12382 * i386-mpx-call.c: New file.
12383 * i386-mpx-call.exp: New file.
12384
12385 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12386
12387 * gdb.arch/powerpc-power.exp: Delete test.
12388 * gdb.arch/powerpc-power.s: Likewise.
12389 * gdb.disasm/disassembler-options.exp: New test.
12390 * gdb.arch/powerpc-altivec.exp: Likewise.
12391 * gdb.arch/powerpc-altivec.s: Likewise.
12392 * gdb.arch/powerpc-altivec2.exp: Likewise.
12393 * gdb.arch/powerpc-altivec2.s: Likewise.
12394 * gdb.arch/powerpc-altivec3.exp: Likewise.
12395 * gdb.arch/powerpc-altivec3.s: Likewise.
12396 * gdb.arch/powerpc-power7.exp: Likewise.
12397 * gdb.arch/powerpc-power7.s: Likewise.
12398 * gdb.arch/powerpc-power8.exp: Likewise.
12399 * gdb.arch/powerpc-power8.s: Likewise.
12400 * gdb.arch/powerpc-power9.exp: Likewise.
12401 * gdb.arch/powerpc-power9.s: Likewise.
12402 * gdb.arch/powerpc-vsx.exp: Likewise.
12403 * gdb.arch/powerpc-vsx.s: Likewise.
12404 * gdb.arch/powerpc-vsx2.exp: Likewise.
12405 * gdb.arch/powerpc-vsx2.s: Likewise.
12406 * gdb.arch/powerpc-vsx3.exp: Likewise.
12407 * gdb.arch/powerpc-vsx3.s: Likewise.
12408 * gdb.arch/arm-disassembler-options.exp: Likewise.
12409 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12410 * gdb.arch/s390-disassembler-options.exp: Likewise.
12411
12412 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
12413
12414 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12415 (check_supported_features): ... this. Changed return type to void.
12416 (supports_rdseed): New static global.
12417 (rdseed): Check supports_rdseed.
12418 (initialize): Call check_supported_features.
12419
12420 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12421
12422 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12423 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12424 and lqarx/stqcx.
12425 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12426 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12427
12428 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12429
12430 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12431 uppercase.
12432
12433 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12434
12435 * gdb.dwarf2/formdata16.c: New file.
12436 * gdb.dwarf2/formdata16.exp: New file.
12437 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12438
12439 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12440
12441 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12442 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12443 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12444 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12445 DW_AT_GNU_*.
12446
12447 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12448
12449 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12450
12451 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12452
12453 PR gdb/21164
12454 * gdb.base/maint.exp: Add testcases for when the commands do
12455 not have arguments.
12456
12457 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12458
12459 * gdb.cp/chained-calls.exp: Use p instead of P.
12460
12461 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12462
12463 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12464 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12465
12466 2017-02-14 Tom Tromey <tom@tromey.com>
12467
12468 PR python/13598:
12469 * gdb.python/py-events.exp: Add before_prompt event tests.
12470
12471 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12472
12473 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12474
12475 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12476
12477 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12478 (main): Call my_unique_function_name.
12479 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12480 completion of patterns with a single match.
12481 Add missing -re switches to gdb_test_multiple calls.
12482
12483 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12484
12485 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12486 return if core file is not recognized.
12487
12488 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12489
12490 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12491 and extra UIs.
12492
12493 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12494
12495 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12496 proc_with_prefix.
12497
12498 2017-02-10 Tom Tromey <tom@tromey.com>
12499
12500 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12501
12502 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
12503
12504 PR gdb/21122
12505 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12506
12507 2017-02-08 Jerome Guitton <guitton@adacore.com>
12508
12509 * gdb.base/define.exp: Add test for command abbreviations
12510 in define.
12511
12512 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
12513
12514 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12515 * gdb.reverse/insn-reverse-x86.c: New file.
12516
12517 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12518
12519 PR tdep/20936
12520 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12521
12522 2017-02-03 Tom Tromey <tom@tromey.com>
12523
12524 PR rust/21097:
12525 * gdb.rust/simple.exp: Add new tests.
12526
12527 2017-02-02 Pedro Alves <palves@redhat.com>
12528
12529 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12530 tests.
12531
12532 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12533
12534 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12535 taking a 2-byte value out of a 4-byte DWARF implicit value on
12536 big-endian targets.
12537 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12538 logic. Add test cases for DW_OP_implicit.
12539
12540 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12541
12542 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12543
12544 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12545
12546 * gdb.btrace/enable.exp: Call gdb_exit before
12547 skip_gdbserver_tests.
12548
12549 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12550
12551 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12552 GDBFLAGS.
12553
12554 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12555
12556 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12557 the test is skipped.
12558 * gdb.btrace/data.exp: Likewise.
12559 * gdb.btrace/delta.exp: Likewise.
12560 * gdb.btrace/dlopen.exp: Likewise.
12561 * gdb.btrace/enable-running.exp: Likewise.
12562 * gdb.btrace/enable.exp: Likewise.
12563 * gdb.btrace/exception.exp: Likewise.
12564 * gdb.btrace/function_call_history.exp: Likewise.
12565 * gdb.btrace/gcore.exp: Likewise.
12566 * gdb.btrace/instruction_history.exp: Likewise.
12567 * gdb.btrace/multi-thread-step.exp: Likewise.
12568 * gdb.btrace/nohist.exp: Likewise.
12569 * gdb.btrace/non-stop.exp: Likewise.
12570 * gdb.btrace/reconnect.exp: Likewise.
12571 * gdb.btrace/record_goto-step.exp: Likewise.
12572 * gdb.btrace/record_goto.exp: Likewise.
12573 * gdb.btrace/rn-dl-bind.exp: Likewise.
12574 * gdb.btrace/segv.exp: Likewise.
12575 * gdb.btrace/step.exp: Likewise.
12576 * gdb.btrace/stepi.exp: Likewise.
12577 * gdb.btrace/tailcall-only.exp: Likewise.
12578 * gdb.btrace/tailcall.exp: Likewise.
12579 * gdb.btrace/tsx.exp: Likewise.
12580 * gdb.btrace/unknown_functions.exp: Likewise.
12581 * gdb.btrace/vdso.exp: Likewise.
12582
12583 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12584
12585 * gdb.btrace/enable-running.c: New.
12586 * gdb.btrace/enable-running.exp: New.
12587
12588 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12589
12590 * gdb.arch/amd64-gs_base.c: New file.
12591 * gdb.arch/amd64-gs_base.exp: New file.
12592
12593 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12594
12595 * lib/memory.exp: Remove spurious empty newlines.
12596
12597 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12598
12599 * gdb.python/py-bad-printers.exp: Load python file using "source".
12600 * gdb.python/py-events.exp: Likewise.
12601 * gdb.python/py-evsignal.exp: Likewise.
12602 * gdb.python/py-evthreads.exp: Likewise.
12603 * gdb.python/py-frame-args.exp: Likewise.
12604 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12605 * gdb.python/py-framefilter-mi.exp: Likewise.
12606 * gdb.python/py-framefilter.exp: Likewise.
12607 * gdb.python/py-mi.exp: Likewise.
12608 * gdb.python/py-pp-maint.exp: Likewise.
12609 * gdb.python/py-pp-registration.exp: Likewise.
12610 * gdb.python/py-prettyprint.exp: Likewise.
12611 (run_lang_tests): Likewise.
12612 * gdb.python/py-typeprint.exp: Likewise.
12613
12614 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12615
12616 * lib/memory.exp: New file.
12617 * lib/gdb.exp: Load memory.exp.
12618 * gdb.base/memattr.exp (delete_memory): Move proc to
12619 lib/memory.exp and rename to delete_memory_regions.
12620 Replace delete_memory with delete_memory_regions.
12621 Cleanup memory regions before tests.
12622 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12623 before tests.
12624
12625 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12626
12627 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12628 files.
12629 (initialize): New function conditionally defined.
12630 (testcases): Move within conditional block.
12631 (main): Call initialize.
12632 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12633 of gdb.reverse/insn-reverse.c.
12634 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12635 gdb.reverse/insn-reverse.c.
12636
12637 2017-01-26 Yao Qi <yao.qi@linaro.org>
12638
12639 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12640 disassemble on address 0.
12641
12642 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12643 Yao Qi <yao.qi@linaro.org>
12644
12645 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12646 * gdb.dwarf2/implptr-64bit.S: Remove.
12647 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12648 variables in caller's context. Add DW_OP_implicit_value.
12649
12650 2017-01-25 Yao Qi <yao.qi@linaro.org>
12651
12652 * lib/dwarf.exp (Dwarf::_location): Handle
12653 DW_OP_GNU_implicit_pointer with proper size.
12654
12655 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12656
12657 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12658 and add untested calls.
12659
12660 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12661
12662 * gdb.python/python.exp: Check line number against what GDB thinks
12663 the line number is for func1.
12664
12665 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12666
12667 * gdb.dlang/debug-expr.exp: New file.
12668
12669 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
12670
12671 Fix test names for the following files:
12672
12673 * gdb.ada/exec_changed.exp
12674 * gdb.ada/info_types.exp
12675 * gdb.arch/aarch64-atomic-inst.exp
12676 * gdb.arch/aarch64-fp.exp
12677 * gdb.arch/altivec-abi.exp
12678 * gdb.arch/altivec-regs.exp
12679 * gdb.arch/amd64-byte.exp
12680 * gdb.arch/amd64-disp-step.exp
12681 * gdb.arch/amd64-dword.exp
12682 * gdb.arch/amd64-entry-value-inline.exp
12683 * gdb.arch/amd64-entry-value-param.exp
12684 * gdb.arch/amd64-entry-value-paramref.exp
12685 * gdb.arch/amd64-entry-value.exp
12686 * gdb.arch/amd64-i386-address.exp
12687 * gdb.arch/amd64-invalid-stack-middle.exp
12688 * gdb.arch/amd64-invalid-stack-top.exp
12689 * gdb.arch/amd64-optimout-repeat.exp
12690 * gdb.arch/amd64-prologue-skip.exp
12691 * gdb.arch/amd64-prologue-xmm.exp
12692 * gdb.arch/amd64-stap-special-operands.exp
12693 * gdb.arch/amd64-stap-wrong-subexp.exp
12694 * gdb.arch/amd64-tailcall-cxx.exp
12695 * gdb.arch/amd64-tailcall-noret.exp
12696 * gdb.arch/amd64-tailcall-ret.exp
12697 * gdb.arch/amd64-tailcall-self.exp
12698 * gdb.arch/amd64-word.exp
12699 * gdb.arch/arm-bl-branch-dest.exp
12700 * gdb.arch/arm-disp-step.exp
12701 * gdb.arch/arm-neon.exp
12702 * gdb.arch/arm-single-step-kernel-helper.exp
12703 * gdb.arch/avr-flash-qualifier.exp
12704 * gdb.arch/disp-step-insn-reloc.exp
12705 * gdb.arch/e500-abi.exp
12706 * gdb.arch/e500-regs.exp
12707 * gdb.arch/ftrace-insn-reloc.exp
12708 * gdb.arch/i386-avx512.exp
12709 * gdb.arch/i386-bp_permanent.exp
12710 * gdb.arch/i386-byte.exp
12711 * gdb.arch/i386-cfi-notcurrent.exp
12712 * gdb.arch/i386-disp-step.exp
12713 * gdb.arch/i386-dr3-watch.exp
12714 * gdb.arch/i386-float.exp
12715 * gdb.arch/i386-gnu-cfi.exp
12716 * gdb.arch/i386-mpx-map.exp
12717 * gdb.arch/i386-mpx-sigsegv.exp
12718 * gdb.arch/i386-mpx-simple_segv.exp
12719 * gdb.arch/i386-mpx.exp
12720 * gdb.arch/i386-permbkpt.exp
12721 * gdb.arch/i386-prologue.exp
12722 * gdb.arch/i386-signal.exp
12723 * gdb.arch/i386-size-overlap.exp
12724 * gdb.arch/i386-unwind.exp
12725 * gdb.arch/i386-word.exp
12726 * gdb.arch/mips-fcr.exp
12727 * gdb.arch/powerpc-d128-regs.exp
12728 * gdb.arch/powerpc-stackless.exp
12729 * gdb.arch/ppc64-atomic-inst.exp
12730 * gdb.arch/s390-stackless.exp
12731 * gdb.arch/s390-tdbregs.exp
12732 * gdb.arch/s390-vregs.exp
12733 * gdb.arch/sparc-sysstep.exp
12734 * gdb.arch/thumb-bx-pc.exp
12735 * gdb.arch/thumb-singlestep.exp
12736 * gdb.arch/thumb2-it.exp
12737 * gdb.arch/vsx-regs.exp
12738 * gdb.asm/asm-source.exp
12739 * gdb.base/a2-run.exp
12740 * gdb.base/advance.exp
12741 * gdb.base/all-bin.exp
12742 * gdb.base/anon.exp
12743 * gdb.base/args.exp
12744 * gdb.base/arithmet.exp
12745 * gdb.base/async-shell.exp
12746 * gdb.base/async.exp
12747 * gdb.base/attach-pie-noexec.exp
12748 * gdb.base/attach-twice.exp
12749 * gdb.base/auto-load.exp
12750 * gdb.base/bang.exp
12751 * gdb.base/bitfields.exp
12752 * gdb.base/break-always.exp
12753 * gdb.base/break-caller-line.exp
12754 * gdb.base/break-entry.exp
12755 * gdb.base/break-inline.exp
12756 * gdb.base/break-on-linker-gcd-function.exp
12757 * gdb.base/break-probes.exp
12758 * gdb.base/break.exp
12759 * gdb.base/breakpoint-shadow.exp
12760 * gdb.base/call-ar-st.exp
12761 * gdb.base/call-sc.exp
12762 * gdb.base/call-signal-resume.exp
12763 * gdb.base/call-strs.exp
12764 * gdb.base/callfuncs.exp
12765 * gdb.base/catch-fork-static.exp
12766 * gdb.base/catch-gdb-caused-signals.exp
12767 * gdb.base/catch-load.exp
12768 * gdb.base/catch-signal-fork.exp
12769 * gdb.base/catch-signal.exp
12770 * gdb.base/catch-syscall.exp
12771 * gdb.base/charset.exp
12772 * gdb.base/checkpoint.exp
12773 * gdb.base/chng-syms.exp
12774 * gdb.base/code-expr.exp
12775 * gdb.base/code_elim.exp
12776 * gdb.base/commands.exp
12777 * gdb.base/completion.exp
12778 * gdb.base/complex.exp
12779 * gdb.base/cond-expr.exp
12780 * gdb.base/condbreak.exp
12781 * gdb.base/consecutive.exp
12782 * gdb.base/continue-all-already-running.exp
12783 * gdb.base/coredump-filter.exp
12784 * gdb.base/corefile.exp
12785 * gdb.base/dbx.exp
12786 * gdb.base/debug-expr.exp
12787 * gdb.base/define.exp
12788 * gdb.base/del.exp
12789 * gdb.base/disabled-location.exp
12790 * gdb.base/disasm-end-cu.exp
12791 * gdb.base/disasm-optim.exp
12792 * gdb.base/display.exp
12793 * gdb.base/duplicate-bp.exp
12794 * gdb.base/ena-dis-br.exp
12795 * gdb.base/ending-run.exp
12796 * gdb.base/enumval.exp
12797 * gdb.base/environ.exp
12798 * gdb.base/eu-strip-infcall.exp
12799 * gdb.base/eval-avoid-side-effects.exp
12800 * gdb.base/eval-skip.exp
12801 * gdb.base/exitsignal.exp
12802 * gdb.base/expand-psymtabs.exp
12803 * gdb.base/filesym.exp
12804 * gdb.base/find-unmapped.exp
12805 * gdb.base/finish.exp
12806 * gdb.base/float.exp
12807 * gdb.base/foll-exec-mode.exp
12808 * gdb.base/foll-exec.exp
12809 * gdb.base/foll-fork.exp
12810 * gdb.base/fortran-sym-case.exp
12811 * gdb.base/freebpcmd.exp
12812 * gdb.base/func-ptr.exp
12813 * gdb.base/func-ptrs.exp
12814 * gdb.base/funcargs.exp
12815 * gdb.base/gcore-buffer-overflow.exp
12816 * gdb.base/gcore-relro-pie.exp
12817 * gdb.base/gcore-relro.exp
12818 * gdb.base/gcore.exp
12819 * gdb.base/gdb1090.exp
12820 * gdb.base/gdb11530.exp
12821 * gdb.base/gdb11531.exp
12822 * gdb.base/gdb1821.exp
12823 * gdb.base/gdbindex-stabs.exp
12824 * gdb.base/gdbvars.exp
12825 * gdb.base/hbreak.exp
12826 * gdb.base/hbreak2.exp
12827 * gdb.base/included.exp
12828 * gdb.base/infcall-input.exp
12829 * gdb.base/inferior-died.exp
12830 * gdb.base/infnan.exp
12831 * gdb.base/info-macros.exp
12832 * gdb.base/info-os.exp
12833 * gdb.base/info-proc.exp
12834 * gdb.base/info-shared.exp
12835 * gdb.base/info-target.exp
12836 * gdb.base/infoline.exp
12837 * gdb.base/interp.exp
12838 * gdb.base/interrupt.exp
12839 * gdb.base/jit-reader.exp
12840 * gdb.base/jit-simple.exp
12841 * gdb.base/kill-after-signal.exp
12842 * gdb.base/kill-detach-inferiors-cmd.exp
12843 * gdb.base/label.exp
12844 * gdb.base/langs.exp
12845 * gdb.base/ldbl_e308.exp
12846 * gdb.base/line-symtabs.exp
12847 * gdb.base/linespecs.exp
12848 * gdb.base/list.exp
12849 * gdb.base/long_long.exp
12850 * gdb.base/longest-types.exp
12851 * gdb.base/maint.exp
12852 * gdb.base/max-value-size.exp
12853 * gdb.base/memattr.exp
12854 * gdb.base/mips_pro.exp
12855 * gdb.base/morestack.exp
12856 * gdb.base/moribund-step.exp
12857 * gdb.base/multi-forks.exp
12858 * gdb.base/nested-addr.exp
12859 * gdb.base/nextoverexit.exp
12860 * gdb.base/noreturn-finish.exp
12861 * gdb.base/noreturn-return.exp
12862 * gdb.base/nostdlib.exp
12863 * gdb.base/offsets.exp
12864 * gdb.base/opaque.exp
12865 * gdb.base/pc-fp.exp
12866 * gdb.base/permissions.exp
12867 * gdb.base/print-symbol-loading.exp
12868 * gdb.base/prologue-include.exp
12869 * gdb.base/psymtab.exp
12870 * gdb.base/ptype.exp
12871 * gdb.base/random-signal.exp
12872 * gdb.base/randomize.exp
12873 * gdb.base/range-stepping.exp
12874 * gdb.base/readline-ask.exp
12875 * gdb.base/recpar.exp
12876 * gdb.base/recurse.exp
12877 * gdb.base/relational.exp
12878 * gdb.base/restore.exp
12879 * gdb.base/return-nodebug.exp
12880 * gdb.base/return.exp
12881 * gdb.base/run-after-attach.exp
12882 * gdb.base/save-bp.exp
12883 * gdb.base/scope.exp
12884 * gdb.base/sect-cmd.exp
12885 * gdb.base/set-lang-auto.exp
12886 * gdb.base/set-noassign.exp
12887 * gdb.base/setvar.exp
12888 * gdb.base/sigall.exp
12889 * gdb.base/sigbpt.exp
12890 * gdb.base/siginfo-addr.exp
12891 * gdb.base/siginfo-infcall.exp
12892 * gdb.base/siginfo-obj.exp
12893 * gdb.base/siginfo.exp
12894 * gdb.base/signals-state-child.exp
12895 * gdb.base/signest.exp
12896 * gdb.base/sigstep.exp
12897 * gdb.base/sizeof.exp
12898 * gdb.base/skip.exp
12899 * gdb.base/solib-corrupted.exp
12900 * gdb.base/solib-nodir.exp
12901 * gdb.base/solib-search.exp
12902 * gdb.base/stack-checking.exp
12903 * gdb.base/stale-infcall.exp
12904 * gdb.base/stap-probe.exp
12905 * gdb.base/start.exp
12906 * gdb.base/step-break.exp
12907 * gdb.base/step-bt.exp
12908 * gdb.base/step-line.exp
12909 * gdb.base/step-over-exit.exp
12910 * gdb.base/step-over-syscall.exp
12911 * gdb.base/step-resume-infcall.exp
12912 * gdb.base/step-test.exp
12913 * gdb.base/store.exp
12914 * gdb.base/structs3.exp
12915 * gdb.base/sym-file.exp
12916 * gdb.base/symbol-without-target_section.exp
12917 * gdb.base/term.exp
12918 * gdb.base/testenv.exp
12919 * gdb.base/ui-redirect.exp
12920 * gdb.base/until.exp
12921 * gdb.base/unwindonsignal.exp
12922 * gdb.base/value-double-free.exp
12923 * gdb.base/vla-datatypes.exp
12924 * gdb.base/vla-ptr.exp
12925 * gdb.base/vla-sideeffect.exp
12926 * gdb.base/volatile.exp
12927 * gdb.base/watch-cond-infcall.exp
12928 * gdb.base/watch-cond.exp
12929 * gdb.base/watch-non-mem.exp
12930 * gdb.base/watch-read.exp
12931 * gdb.base/watch-vfork.exp
12932 * gdb.base/watchpoint-cond-gone.exp
12933 * gdb.base/watchpoint-delete.exp
12934 * gdb.base/watchpoint-hw-hit-once.exp
12935 * gdb.base/watchpoint-hw.exp
12936 * gdb.base/watchpoint-stops-at-right-insn.exp
12937 * gdb.base/watchpoints.exp
12938 * gdb.base/wchar.exp
12939 * gdb.base/whatis-exp.exp
12940 * gdb.btrace/buffer-size.exp
12941 * gdb.btrace/data.exp
12942 * gdb.btrace/delta.exp
12943 * gdb.btrace/dlopen.exp
12944 * gdb.btrace/enable.exp
12945 * gdb.btrace/exception.exp
12946 * gdb.btrace/function_call_history.exp
12947 * gdb.btrace/gcore.exp
12948 * gdb.btrace/instruction_history.exp
12949 * gdb.btrace/nohist.exp
12950 * gdb.btrace/reconnect.exp
12951 * gdb.btrace/record_goto-step.exp
12952 * gdb.btrace/record_goto.exp
12953 * gdb.btrace/rn-dl-bind.exp
12954 * gdb.btrace/segv.exp
12955 * gdb.btrace/step.exp
12956 * gdb.btrace/stepi.exp
12957 * gdb.btrace/tailcall-only.exp
12958 * gdb.btrace/tailcall.exp
12959 * gdb.btrace/tsx.exp
12960 * gdb.btrace/unknown_functions.exp
12961 * gdb.btrace/vdso.exp
12962 * gdb.compile/compile-ifunc.exp
12963 * gdb.compile/compile-ops.exp
12964 * gdb.compile/compile-print.exp
12965 * gdb.compile/compile-setjmp.exp
12966 * gdb.cp/abstract-origin.exp
12967 * gdb.cp/ambiguous.exp
12968 * gdb.cp/annota2.exp
12969 * gdb.cp/annota3.exp
12970 * gdb.cp/anon-ns.exp
12971 * gdb.cp/anon-struct.exp
12972 * gdb.cp/anon-union.exp
12973 * gdb.cp/arg-reference.exp
12974 * gdb.cp/baseenum.exp
12975 * gdb.cp/bool.exp
12976 * gdb.cp/breakpoint.exp
12977 * gdb.cp/bs15503.exp
12978 * gdb.cp/call-c.exp
12979 * gdb.cp/casts.exp
12980 * gdb.cp/chained-calls.exp
12981 * gdb.cp/class2.exp
12982 * gdb.cp/classes.exp
12983 * gdb.cp/cmpd-minsyms.exp
12984 * gdb.cp/converts.exp
12985 * gdb.cp/cp-relocate.exp
12986 * gdb.cp/cpcompletion.exp
12987 * gdb.cp/cpexprs.exp
12988 * gdb.cp/cplabel.exp
12989 * gdb.cp/cplusfuncs.exp
12990 * gdb.cp/cpsizeof.exp
12991 * gdb.cp/ctti.exp
12992 * gdb.cp/derivation.exp
12993 * gdb.cp/destrprint.exp
12994 * gdb.cp/dispcxx.exp
12995 * gdb.cp/enum-class.exp
12996 * gdb.cp/exception.exp
12997 * gdb.cp/exceptprint.exp
12998 * gdb.cp/expand-psymtabs-cxx.exp
12999 * gdb.cp/expand-sals.exp
13000 * gdb.cp/extern-c.exp
13001 * gdb.cp/filename.exp
13002 * gdb.cp/formatted-ref.exp
13003 * gdb.cp/fpointer.exp
13004 * gdb.cp/gdb1355.exp
13005 * gdb.cp/gdb2495.exp
13006 * gdb.cp/hang.exp
13007 * gdb.cp/impl-this.exp
13008 * gdb.cp/infcall-dlopen.exp
13009 * gdb.cp/inherit.exp
13010 * gdb.cp/iostream.exp
13011 * gdb.cp/koenig.exp
13012 * gdb.cp/local.exp
13013 * gdb.cp/m-data.exp
13014 * gdb.cp/m-static.exp
13015 * gdb.cp/mb-ctor.exp
13016 * gdb.cp/mb-inline.exp
13017 * gdb.cp/mb-templates.exp
13018 * gdb.cp/member-name.exp
13019 * gdb.cp/member-ptr.exp
13020 * gdb.cp/meth-typedefs.exp
13021 * gdb.cp/method.exp
13022 * gdb.cp/method2.exp
13023 * gdb.cp/minsym-fallback.exp
13024 * gdb.cp/misc.exp
13025 * gdb.cp/namelessclass.exp
13026 * gdb.cp/namespace-enum.exp
13027 * gdb.cp/namespace-nested-import.exp
13028 * gdb.cp/namespace.exp
13029 * gdb.cp/nextoverthrow.exp
13030 * gdb.cp/no-dmgl-verbose.exp
13031 * gdb.cp/non-trivial-retval.exp
13032 * gdb.cp/noparam.exp
13033 * gdb.cp/nsdecl.exp
13034 * gdb.cp/nsimport.exp
13035 * gdb.cp/nsnested.exp
13036 * gdb.cp/nsnoimports.exp
13037 * gdb.cp/nsrecurs.exp
13038 * gdb.cp/nsstress.exp
13039 * gdb.cp/nsusing.exp
13040 * gdb.cp/operator.exp
13041 * gdb.cp/oranking.exp
13042 * gdb.cp/overload-const.exp
13043 * gdb.cp/overload.exp
13044 * gdb.cp/ovldbreak.exp
13045 * gdb.cp/ovsrch.exp
13046 * gdb.cp/paren-type.exp
13047 * gdb.cp/parse-lang.exp
13048 * gdb.cp/pass-by-ref.exp
13049 * gdb.cp/pr-1023.exp
13050 * gdb.cp/pr-1210.exp
13051 * gdb.cp/pr-574.exp
13052 * gdb.cp/pr10687.exp
13053 * gdb.cp/pr12028.exp
13054 * gdb.cp/pr17132.exp
13055 * gdb.cp/pr17494.exp
13056 * gdb.cp/pr9067.exp
13057 * gdb.cp/pr9167.exp
13058 * gdb.cp/pr9631.exp
13059 * gdb.cp/printmethod.exp
13060 * gdb.cp/psmang.exp
13061 * gdb.cp/psymtab-parameter.exp
13062 * gdb.cp/ptype-cv-cp.exp
13063 * gdb.cp/ptype-flags.exp
13064 * gdb.cp/re-set-overloaded.exp
13065 * gdb.cp/ref-types.exp
13066 * gdb.cp/rtti.exp
13067 * gdb.cp/scope-err.exp
13068 * gdb.cp/shadow.exp
13069 * gdb.cp/smartp.exp
13070 * gdb.cp/static-method.exp
13071 * gdb.cp/static-print-quit.exp
13072 * gdb.cp/temargs.exp
13073 * gdb.cp/templates.exp
13074 * gdb.cp/try_catch.exp
13075 * gdb.cp/typedef-operator.exp
13076 * gdb.cp/typeid.exp
13077 * gdb.cp/userdef.exp
13078 * gdb.cp/using-crash.exp
13079 * gdb.cp/var-tag.exp
13080 * gdb.cp/virtbase.exp
13081 * gdb.cp/virtfunc.exp
13082 * gdb.cp/virtfunc2.exp
13083 * gdb.cp/vla-cxx.exp
13084 * gdb.disasm/t01_mov.exp
13085 * gdb.disasm/t02_mova.exp
13086 * gdb.disasm/t03_add.exp
13087 * gdb.disasm/t04_sub.exp
13088 * gdb.disasm/t05_cmp.exp
13089 * gdb.disasm/t06_ari2.exp
13090 * gdb.disasm/t07_ari3.exp
13091 * gdb.disasm/t08_or.exp
13092 * gdb.disasm/t09_xor.exp
13093 * gdb.disasm/t10_and.exp
13094 * gdb.disasm/t11_logs.exp
13095 * gdb.disasm/t12_bit.exp
13096 * gdb.disasm/t13_otr.exp
13097 * gdb.dlang/circular.exp
13098 * gdb.dwarf2/arr-stride.exp
13099 * gdb.dwarf2/arr-subrange.exp
13100 * gdb.dwarf2/atomic-type.exp
13101 * gdb.dwarf2/bad-regnum.exp
13102 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13103 * gdb.dwarf2/callframecfa.exp
13104 * gdb.dwarf2/clztest.exp
13105 * gdb.dwarf2/corrupt.exp
13106 * gdb.dwarf2/data-loc.exp
13107 * gdb.dwarf2/dup-psym.exp
13108 * gdb.dwarf2/dw2-anon-mptr.exp
13109 * gdb.dwarf2/dw2-anonymous-func.exp
13110 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13111 * gdb.dwarf2/dw2-bad-unresolved.exp
13112 * gdb.dwarf2/dw2-basic.exp
13113 * gdb.dwarf2/dw2-canonicalize-type.exp
13114 * gdb.dwarf2/dw2-case-insensitive.exp
13115 * gdb.dwarf2/dw2-common-block.exp
13116 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13117 * gdb.dwarf2/dw2-compressed.exp
13118 * gdb.dwarf2/dw2-const.exp
13119 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13120 * gdb.dwarf2/dw2-cu-size.exp
13121 * gdb.dwarf2/dw2-dup-frame.exp
13122 * gdb.dwarf2/dw2-entry-value.exp
13123 * gdb.dwarf2/dw2-icycle.exp
13124 * gdb.dwarf2/dw2-ifort-parameter.exp
13125 * gdb.dwarf2/dw2-inline-break.exp
13126 * gdb.dwarf2/dw2-inline-param.exp
13127 * gdb.dwarf2/dw2-intercu.exp
13128 * gdb.dwarf2/dw2-intermix.exp
13129 * gdb.dwarf2/dw2-lexical-block-bare.exp
13130 * gdb.dwarf2/dw2-linkage-name-trust.exp
13131 * gdb.dwarf2/dw2-minsym-in-cu.exp
13132 * gdb.dwarf2/dw2-noloc.exp
13133 * gdb.dwarf2/dw2-op-call.exp
13134 * gdb.dwarf2/dw2-op-out-param.exp
13135 * gdb.dwarf2/dw2-opt-structptr.exp
13136 * gdb.dwarf2/dw2-param-error.exp
13137 * gdb.dwarf2/dw2-producer.exp
13138 * gdb.dwarf2/dw2-ranges-base.exp
13139 * gdb.dwarf2/dw2-ref-missing-frame.exp
13140 * gdb.dwarf2/dw2-reg-undefined.exp
13141 * gdb.dwarf2/dw2-regno-invalid.exp
13142 * gdb.dwarf2/dw2-restore.exp
13143 * gdb.dwarf2/dw2-restrict.exp
13144 * gdb.dwarf2/dw2-single-line-discriminators.exp
13145 * gdb.dwarf2/dw2-strp.exp
13146 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13147 * gdb.dwarf2/dw2-unresolved.exp
13148 * gdb.dwarf2/dw2-var-zero-addr.exp
13149 * gdb.dwarf2/dw4-sig-types.exp
13150 * gdb.dwarf2/dwz.exp
13151 * gdb.dwarf2/dynarr-ptr.exp
13152 * gdb.dwarf2/enum-type.exp
13153 * gdb.dwarf2/gdb-index.exp
13154 * gdb.dwarf2/implptr-64bit.exp
13155 * gdb.dwarf2/implptr-optimized-out.exp
13156 * gdb.dwarf2/implptr.exp
13157 * gdb.dwarf2/implref-array.exp
13158 * gdb.dwarf2/implref-const.exp
13159 * gdb.dwarf2/implref-global.exp
13160 * gdb.dwarf2/implref-struct.exp
13161 * gdb.dwarf2/mac-fileno.exp
13162 * gdb.dwarf2/main-subprogram.exp
13163 * gdb.dwarf2/member-ptr-forwardref.exp
13164 * gdb.dwarf2/method-ptr.exp
13165 * gdb.dwarf2/missing-sig-type.exp
13166 * gdb.dwarf2/nonvar-access.exp
13167 * gdb.dwarf2/opaque-type-lookup.exp
13168 * gdb.dwarf2/pieces-optimized-out.exp
13169 * gdb.dwarf2/pieces.exp
13170 * gdb.dwarf2/pr10770.exp
13171 * gdb.dwarf2/pr13961.exp
13172 * gdb.dwarf2/staticvirtual.exp
13173 * gdb.dwarf2/subrange.exp
13174 * gdb.dwarf2/symtab-producer.exp
13175 * gdb.dwarf2/trace-crash.exp
13176 * gdb.dwarf2/typeddwarf.exp
13177 * gdb.dwarf2/valop.exp
13178 * gdb.dwarf2/watch-notconst.exp
13179 * gdb.fortran/array-element.exp
13180 * gdb.fortran/charset.exp
13181 * gdb.fortran/common-block.exp
13182 * gdb.fortran/complex.exp
13183 * gdb.fortran/derived-type-function.exp
13184 * gdb.fortran/derived-type.exp
13185 * gdb.fortran/logical.exp
13186 * gdb.fortran/module.exp
13187 * gdb.fortran/multi-dim.exp
13188 * gdb.fortran/nested-funcs.exp
13189 * gdb.fortran/print-formatted.exp
13190 * gdb.fortran/subarray.exp
13191 * gdb.fortran/vla-alloc-assoc.exp
13192 * gdb.fortran/vla-datatypes.exp
13193 * gdb.fortran/vla-history.exp
13194 * gdb.fortran/vla-ptr-info.exp
13195 * gdb.fortran/vla-ptype-sub.exp
13196 * gdb.fortran/vla-ptype.exp
13197 * gdb.fortran/vla-sizeof.exp
13198 * gdb.fortran/vla-type.exp
13199 * gdb.fortran/vla-value-sub-arbitrary.exp
13200 * gdb.fortran/vla-value-sub-finish.exp
13201 * gdb.fortran/vla-value-sub.exp
13202 * gdb.fortran/vla-value.exp
13203 * gdb.fortran/whatis_type.exp
13204 * gdb.go/chan.exp
13205 * gdb.go/handcall.exp
13206 * gdb.go/hello.exp
13207 * gdb.go/integers.exp
13208 * gdb.go/methods.exp
13209 * gdb.go/package.exp
13210 * gdb.go/strings.exp
13211 * gdb.go/types.exp
13212 * gdb.go/unsafe.exp
13213 * gdb.guile/scm-arch.exp
13214 * gdb.guile/scm-block.exp
13215 * gdb.guile/scm-breakpoint.exp
13216 * gdb.guile/scm-cmd.exp
13217 * gdb.guile/scm-disasm.exp
13218 * gdb.guile/scm-equal.exp
13219 * gdb.guile/scm-frame-args.exp
13220 * gdb.guile/scm-frame-inline.exp
13221 * gdb.guile/scm-frame.exp
13222 * gdb.guile/scm-iterator.exp
13223 * gdb.guile/scm-math.exp
13224 * gdb.guile/scm-objfile.exp
13225 * gdb.guile/scm-ports.exp
13226 * gdb.guile/scm-symbol.exp
13227 * gdb.guile/scm-symtab.exp
13228 * gdb.guile/scm-value-cc.exp
13229 * gdb.guile/types-module.exp
13230 * gdb.linespec/break-ask.exp
13231 * gdb.linespec/cpexplicit.exp
13232 * gdb.linespec/explicit.exp
13233 * gdb.linespec/keywords.exp
13234 * gdb.linespec/linespec.exp
13235 * gdb.linespec/ls-dollar.exp
13236 * gdb.linespec/ls-errs.exp
13237 * gdb.linespec/skip-two.exp
13238 * gdb.linespec/thread.exp
13239 * gdb.mi/mi-async.exp
13240 * gdb.mi/mi-basics.exp
13241 * gdb.mi/mi-break.exp
13242 * gdb.mi/mi-catch-load.exp
13243 * gdb.mi/mi-cli.exp
13244 * gdb.mi/mi-cmd-param-changed.exp
13245 * gdb.mi/mi-console.exp
13246 * gdb.mi/mi-detach.exp
13247 * gdb.mi/mi-disassemble.exp
13248 * gdb.mi/mi-eval.exp
13249 * gdb.mi/mi-file-transfer.exp
13250 * gdb.mi/mi-file.exp
13251 * gdb.mi/mi-fill-memory.exp
13252 * gdb.mi/mi-inheritance-syntax-error.exp
13253 * gdb.mi/mi-linespec-err-cp.exp
13254 * gdb.mi/mi-logging.exp
13255 * gdb.mi/mi-memory-changed.exp
13256 * gdb.mi/mi-read-memory.exp
13257 * gdb.mi/mi-record-changed.exp
13258 * gdb.mi/mi-reg-undefined.exp
13259 * gdb.mi/mi-regs.exp
13260 * gdb.mi/mi-return.exp
13261 * gdb.mi/mi-reverse.exp
13262 * gdb.mi/mi-simplerun.exp
13263 * gdb.mi/mi-solib.exp
13264 * gdb.mi/mi-stack.exp
13265 * gdb.mi/mi-stepi.exp
13266 * gdb.mi/mi-syn-frame.exp
13267 * gdb.mi/mi-until.exp
13268 * gdb.mi/mi-var-block.exp
13269 * gdb.mi/mi-var-child.exp
13270 * gdb.mi/mi-var-cmd.exp
13271 * gdb.mi/mi-var-cp.exp
13272 * gdb.mi/mi-var-display.exp
13273 * gdb.mi/mi-var-invalidate.exp
13274 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13275 * gdb.mi/mi-vla-fortran.exp
13276 * gdb.mi/mi-watch.exp
13277 * gdb.mi/mi2-var-child.exp
13278 * gdb.mi/user-selected-context-sync.exp
13279 * gdb.modula2/unbounded-array.exp
13280 * gdb.multi/dummy-frame-restore.exp
13281 * gdb.multi/multi-arch-exec.exp
13282 * gdb.multi/multi-arch.exp
13283 * gdb.multi/tids.exp
13284 * gdb.multi/watchpoint-multi.exp
13285 * gdb.opencl/callfuncs.exp
13286 * gdb.opencl/convs_casts.exp
13287 * gdb.opencl/datatypes.exp
13288 * gdb.opencl/operators.exp
13289 * gdb.opencl/vec_comps.exp
13290 * gdb.opt/clobbered-registers-O2.exp
13291 * gdb.opt/inline-break.exp
13292 * gdb.opt/inline-bt.exp
13293 * gdb.opt/inline-cmds.exp
13294 * gdb.opt/inline-locals.exp
13295 * gdb.pascal/case-insensitive-symbols.exp
13296 * gdb.pascal/floats.exp
13297 * gdb.pascal/gdb11492.exp
13298 * gdb.python/lib-types.exp
13299 * gdb.python/py-arch.exp
13300 * gdb.python/py-as-string.exp
13301 * gdb.python/py-bad-printers.exp
13302 * gdb.python/py-block.exp
13303 * gdb.python/py-breakpoint-create-fail.exp
13304 * gdb.python/py-breakpoint.exp
13305 * gdb.python/py-caller-is.exp
13306 * gdb.python/py-cmd.exp
13307 * gdb.python/py-explore-cc.exp
13308 * gdb.python/py-explore.exp
13309 * gdb.python/py-finish-breakpoint.exp
13310 * gdb.python/py-finish-breakpoint2.exp
13311 * gdb.python/py-frame-args.exp
13312 * gdb.python/py-frame-inline.exp
13313 * gdb.python/py-frame.exp
13314 * gdb.python/py-framefilter-mi.exp
13315 * gdb.python/py-infthread.exp
13316 * gdb.python/py-lazy-string.exp
13317 * gdb.python/py-linetable.exp
13318 * gdb.python/py-mi-events.exp
13319 * gdb.python/py-mi-objfile.exp
13320 * gdb.python/py-mi.exp
13321 * gdb.python/py-objfile.exp
13322 * gdb.python/py-pp-integral.exp
13323 * gdb.python/py-pp-maint.exp
13324 * gdb.python/py-pp-re-notag.exp
13325 * gdb.python/py-pp-registration.exp
13326 * gdb.python/py-recurse-unwind.exp
13327 * gdb.python/py-strfns.exp
13328 * gdb.python/py-symbol.exp
13329 * gdb.python/py-symtab.exp
13330 * gdb.python/py-sync-interp.exp
13331 * gdb.python/py-typeprint.exp
13332 * gdb.python/py-unwind-maint.exp
13333 * gdb.python/py-unwind.exp
13334 * gdb.python/py-value-cc.exp
13335 * gdb.python/py-xmethods.exp
13336 * gdb.reverse/amd64-tailcall-reverse.exp
13337 * gdb.reverse/break-precsave.exp
13338 * gdb.reverse/break-reverse.exp
13339 * gdb.reverse/consecutive-precsave.exp
13340 * gdb.reverse/consecutive-reverse.exp
13341 * gdb.reverse/finish-precsave.exp
13342 * gdb.reverse/finish-reverse-bkpt.exp
13343 * gdb.reverse/finish-reverse.exp
13344 * gdb.reverse/fstatat-reverse.exp
13345 * gdb.reverse/getresuid-reverse.exp
13346 * gdb.reverse/i386-precsave.exp
13347 * gdb.reverse/i386-reverse.exp
13348 * gdb.reverse/i386-sse-reverse.exp
13349 * gdb.reverse/i387-env-reverse.exp
13350 * gdb.reverse/i387-stack-reverse.exp
13351 * gdb.reverse/insn-reverse.exp
13352 * gdb.reverse/machinestate-precsave.exp
13353 * gdb.reverse/machinestate.exp
13354 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13355 * gdb.reverse/pipe-reverse.exp
13356 * gdb.reverse/readv-reverse.exp
13357 * gdb.reverse/recvmsg-reverse.exp
13358 * gdb.reverse/rerun-prec.exp
13359 * gdb.reverse/s390-mvcle.exp
13360 * gdb.reverse/step-precsave.exp
13361 * gdb.reverse/step-reverse.exp
13362 * gdb.reverse/time-reverse.exp
13363 * gdb.reverse/until-precsave.exp
13364 * gdb.reverse/until-reverse.exp
13365 * gdb.reverse/waitpid-reverse.exp
13366 * gdb.reverse/watch-precsave.exp
13367 * gdb.reverse/watch-reverse.exp
13368 * gdb.rust/generics.exp
13369 * gdb.rust/methods.exp
13370 * gdb.rust/modules.exp
13371 * gdb.rust/simple.exp
13372 * gdb.server/connect-with-no-symbol-file.exp
13373 * gdb.server/ext-attach.exp
13374 * gdb.server/ext-restart.exp
13375 * gdb.server/ext-wrapper.exp
13376 * gdb.server/file-transfer.exp
13377 * gdb.server/server-exec-info.exp
13378 * gdb.server/server-kill.exp
13379 * gdb.server/server-mon.exp
13380 * gdb.server/wrapper.exp
13381 * gdb.stabs/exclfwd.exp
13382 * gdb.stabs/gdb11479.exp
13383 * gdb.threads/clone-new-thread-event.exp
13384 * gdb.threads/corethreads.exp
13385 * gdb.threads/current-lwp-dead.exp
13386 * gdb.threads/dlopen-libpthread.exp
13387 * gdb.threads/gcore-thread.exp
13388 * gdb.threads/sigstep-threads.exp
13389 * gdb.threads/watchpoint-fork.exp
13390 * gdb.trace/actions-changed.exp
13391 * gdb.trace/backtrace.exp
13392 * gdb.trace/change-loc.exp
13393 * gdb.trace/circ.exp
13394 * gdb.trace/collection.exp
13395 * gdb.trace/disconnected-tracing.exp
13396 * gdb.trace/ftrace.exp
13397 * gdb.trace/mi-trace-frame-collected.exp
13398 * gdb.trace/mi-trace-unavailable.exp
13399 * gdb.trace/mi-traceframe-changed.exp
13400 * gdb.trace/mi-tsv-changed.exp
13401 * gdb.trace/no-attach-trace.exp
13402 * gdb.trace/passc-dyn.exp
13403 * gdb.trace/qtro.exp
13404 * gdb.trace/range-stepping.exp
13405 * gdb.trace/read-memory.exp
13406 * gdb.trace/save-trace.exp
13407 * gdb.trace/signal.exp
13408 * gdb.trace/status-stop.exp
13409 * gdb.trace/tfile.exp
13410 * gdb.trace/trace-break.exp
13411 * gdb.trace/trace-buffer-size.exp
13412 * gdb.trace/trace-condition.exp
13413 * gdb.trace/tracefile-pseudo-reg.exp
13414 * gdb.trace/tstatus.exp
13415 * gdb.trace/unavailable.exp
13416 * gdb.trace/while-dyn.exp
13417 * gdb.trace/while-stepping.exp
13418
13419 2016-12-22 Doug Evans <xdje42@gmail.com>
13420
13421 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13422 and msymbols.
13423
13424 2016-12-19 Yao Qi <yao.qi@linaro.org>
13425
13426 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13427 (test_with_self): Don't call do_steps_and_nexts, and remove
13428 code about stepping into xmalloc.
13429
13430 2016-12-09 Yao Qi <yao.qi@linaro.org>
13431
13432 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13433
13434 2016-12-09 Yao Qi <yao.qi@linaro.org>
13435
13436 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13437
13438 2016-12-09 Pedro Alves <palves@redhat.com>
13439
13440 * gdb.base/all-architectures-0.exp: New file.
13441 * gdb.base/all-architectures-1.exp: New file.
13442 * gdb.base/all-architectures-2.exp: New file.
13443 * gdb.base/all-architectures-3.exp: New file.
13444 * gdb.base/all-architectures-4.exp: New file.
13445 * gdb.base/all-architectures-5.exp: New file.
13446 * gdb.base/all-architectures-6.exp: New file.
13447 * gdb.base/all-architectures-7.exp: New file.
13448 * gdb.base/all-architectures.exp.in: New file.
13449
13450 2016-12-09 Yao Qi <yao.qi@linaro.org>
13451
13452 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13453
13454 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13455
13456 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13457 possible.
13458 Remove useless pattern-matching code.
13459
13460 2016-12-02 Pedro Alves <palves@redhat.com>
13461
13462 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13463 procedure.
13464 (top level): Call it.
13465
13466 2016-12-02 Pedro Alves <palves@redhat.com>
13467
13468 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13469 New procedure.
13470 (top level): Call it.
13471
13472 2016-12-02 Pedro Alves <palves@redhat.com>
13473
13474 PR cli/20559
13475 * gdb.base/commands.exp (user_defined_command_args_eval): New
13476 procedure.
13477 (top level): Call it.
13478
13479 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13480
13481 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13482 timeout handling.
13483
13484 2016-12-02 Tom Tromey <tom@tromey.com>
13485
13486 * gdb.dwarf2/main-subprogram.c: New file.
13487 * gdb.dwarf2/main-subprogram.exp: New file.
13488
13489 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13490
13491 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13492 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13493 gdb_test_no_output for a couple of cases.
13494 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13495
13496 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13497
13498 Fix test names and standardize compilation error messages throughout
13499 the following files:
13500
13501 * gdb.ada/start.exp
13502 * gdb.arch/alpha-step.exp
13503 * gdb.arch/e500-prologue.exp
13504 * gdb.arch/ftrace-insn-reloc.exp
13505 * gdb.arch/gdb1291.exp
13506 * gdb.arch/gdb1431.exp
13507 * gdb.arch/gdb1558.exp
13508 * gdb.arch/i386-dr3-watch.exp
13509 * gdb.arch/i386-sse-stack-align.exp
13510 * gdb.arch/ia64-breakpoint-shadow.exp
13511 * gdb.arch/pa-nullify.exp
13512 * gdb.arch/powerpc-aix-prologue.exp
13513 * gdb.arch/thumb-bx-pc.exp
13514 * gdb.base/annota1.exp
13515 * gdb.base/annota3.exp
13516 * gdb.base/arrayidx.exp
13517 * gdb.base/assign.exp
13518 * gdb.base/attach.exp
13519 * gdb.base/auxv.exp
13520 * gdb.base/bang.exp
13521 * gdb.base/bfp-test.exp
13522 * gdb.base/bigcore.exp
13523 * gdb.base/bitfields2.exp
13524 * gdb.base/break-fun-addr.exp
13525 * gdb.base/break-probes.exp
13526 * gdb.base/call-rt-st.exp
13527 * gdb.base/callexit.exp
13528 * gdb.base/catch-fork-kill.exp
13529 * gdb.base/charset.exp
13530 * gdb.base/checkpoint.exp
13531 * gdb.base/comprdebug.exp
13532 * gdb.base/constvars.exp
13533 * gdb.base/coredump-filter.exp
13534 * gdb.base/cursal.exp
13535 * gdb.base/cvexpr.exp
13536 * gdb.base/detach.exp
13537 * gdb.base/display.exp
13538 * gdb.base/dmsym.exp
13539 * gdb.base/dprintf-pending.exp
13540 * gdb.base/dso2dso.exp
13541 * gdb.base/dtrace-probe.exp
13542 * gdb.base/dump.exp
13543 * gdb.base/enum_cond.exp
13544 * gdb.base/exe-lock.exp
13545 * gdb.base/exec-invalid-sysroot.exp
13546 * gdb.base/execl-update-breakpoints.exp
13547 * gdb.base/exprs.exp
13548 * gdb.base/fileio.exp
13549 * gdb.base/find.exp
13550 * gdb.base/finish.exp
13551 * gdb.base/fixsection.exp
13552 * gdb.base/foll-vfork.exp
13553 * gdb.base/frame-args.exp
13554 * gdb.base/gcore.exp
13555 * gdb.base/gdb1250.exp
13556 * gdb.base/global-var-nested-by-dso.exp
13557 * gdb.base/gnu-ifunc.exp
13558 * gdb.base/hashline1.exp
13559 * gdb.base/hashline2.exp
13560 * gdb.base/hashline3.exp
13561 * gdb.base/hbreak-in-shr-unsupported.exp
13562 * gdb.base/huge.exp
13563 * gdb.base/infcall-input.exp
13564 * gdb.base/info-fun.exp
13565 * gdb.base/info-shared.exp
13566 * gdb.base/jit-simple.exp
13567 * gdb.base/jit-so.exp
13568 * gdb.base/jit.exp
13569 * gdb.base/jump.exp
13570 * gdb.base/label.exp
13571 * gdb.base/lineinc.exp
13572 * gdb.base/logical.exp
13573 * gdb.base/longjmp.exp
13574 * gdb.base/macscp.exp
13575 * gdb.base/miscexprs.exp
13576 * gdb.base/new-ui-echo.exp
13577 * gdb.base/new-ui-pending-input.exp
13578 * gdb.base/new-ui.exp
13579 * gdb.base/nodebug.exp
13580 * gdb.base/nofield.exp
13581 * gdb.base/offsets.exp
13582 * gdb.base/overlays.exp
13583 * gdb.base/pending.exp
13584 * gdb.base/pointers.exp
13585 * gdb.base/pr11022.exp
13586 * gdb.base/printcmds.exp
13587 * gdb.base/prologue.exp
13588 * gdb.base/ptr-typedef.exp
13589 * gdb.base/realname-expand.exp
13590 * gdb.base/relativedebug.exp
13591 * gdb.base/relocate.exp
13592 * gdb.base/remote.exp
13593 * gdb.base/reread.exp
13594 * gdb.base/return2.exp
13595 * gdb.base/savedregs.exp
13596 * gdb.base/sep.exp
13597 * gdb.base/sepdebug.exp
13598 * gdb.base/sepsymtab.exp
13599 * gdb.base/set-inferior-tty.exp
13600 * gdb.base/setshow.exp
13601 * gdb.base/shlib-call.exp
13602 * gdb.base/sigaltstack.exp
13603 * gdb.base/siginfo-addr.exp
13604 * gdb.base/signals.exp
13605 * gdb.base/signull.exp
13606 * gdb.base/sigrepeat.exp
13607 * gdb.base/so-impl-ld.exp
13608 * gdb.base/solib-display.exp
13609 * gdb.base/solib-overlap.exp
13610 * gdb.base/solib-search.exp
13611 * gdb.base/solib-symbol.exp
13612 * gdb.base/structs.exp
13613 * gdb.base/structs2.exp
13614 * gdb.base/symtab-search-order.exp
13615 * gdb.base/twice.exp
13616 * gdb.base/unload.exp
13617 * gdb.base/varargs.exp
13618 * gdb.base/watchpoint-solib.exp
13619 * gdb.base/watchpoint.exp
13620 * gdb.base/whatis.exp
13621 * gdb.base/wrong_frame_bt_full.exp
13622 * gdb.btrace/dlopen.exp
13623 * gdb.cell/ea-standalone.exp
13624 * gdb.cell/ea-test.exp
13625 * gdb.cp/dispcxx.exp
13626 * gdb.cp/gdb2384.exp
13627 * gdb.cp/method2.exp
13628 * gdb.cp/nextoverthrow.exp
13629 * gdb.cp/pr10728.exp
13630 * gdb.disasm/am33.exp
13631 * gdb.disasm/h8300s.exp
13632 * gdb.disasm/mn10300.exp
13633 * gdb.disasm/sh3.exp
13634 * gdb.dwarf2/dw2-dir-file-name.exp
13635 * gdb.fortran/complex.exp
13636 * gdb.fortran/library-module.exp
13637 * gdb.guile/scm-pretty-print.exp
13638 * gdb.guile/scm-symbol.exp
13639 * gdb.guile/scm-type.exp
13640 * gdb.guile/scm-value.exp
13641 * gdb.linespec/linespec.exp
13642 * gdb.mi/gdb701.exp
13643 * gdb.mi/gdb792.exp
13644 * gdb.mi/mi-breakpoint-changed.exp
13645 * gdb.mi/mi-dprintf-pending.exp
13646 * gdb.mi/mi-dprintf.exp
13647 * gdb.mi/mi-exit-code.exp
13648 * gdb.mi/mi-pending.exp
13649 * gdb.mi/mi-solib.exp
13650 * gdb.mi/new-ui-mi-sync.exp
13651 * gdb.mi/pr11022.exp
13652 * gdb.mi/user-selected-context-sync.exp
13653 * gdb.opt/solib-intra-step.exp
13654 * gdb.python/py-events.exp
13655 * gdb.python/py-finish-breakpoint.exp
13656 * gdb.python/py-mi.exp
13657 * gdb.python/py-prettyprint.exp
13658 * gdb.python/py-shared.exp
13659 * gdb.python/py-symbol.exp
13660 * gdb.python/py-template.exp
13661 * gdb.python/py-type.exp
13662 * gdb.python/py-value.exp
13663 * gdb.reverse/solib-precsave.exp
13664 * gdb.reverse/solib-reverse.exp
13665 * gdb.server/solib-list.exp
13666 * gdb.stabs/weird.exp
13667 * gdb.threads/reconnect-signal.exp
13668 * gdb.threads/stepi-random-signal.exp
13669 * gdb.trace/actions.exp
13670 * gdb.trace/ax.exp
13671 * gdb.trace/backtrace.exp
13672 * gdb.trace/change-loc.exp
13673 * gdb.trace/deltrace.exp
13674 * gdb.trace/ftrace-lock.exp
13675 * gdb.trace/ftrace.exp
13676 * gdb.trace/infotrace.exp
13677 * gdb.trace/mi-tracepoint-changed.exp
13678 * gdb.trace/packetlen.exp
13679 * gdb.trace/passcount.exp
13680 * gdb.trace/pending.exp
13681 * gdb.trace/range-stepping.exp
13682 * gdb.trace/report.exp
13683 * gdb.trace/stap-trace.exp
13684 * gdb.trace/tfind.exp
13685 * gdb.trace/trace-break.exp
13686 * gdb.trace/trace-condition.exp
13687 * gdb.trace/trace-enable-disable.exp
13688 * gdb.trace/trace-mt.exp
13689 * gdb.trace/tracecmd.exp
13690 * gdb.trace/tspeed.exp
13691 * gdb.trace/tsv.exp
13692 * lib/perftest.exp
13693
13694 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13695
13696 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13697 with gdb_test_no_output.
13698 Use command as test name.
13699
13700 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13701
13702 Fix test names starting with uppercase throughout the files.
13703
13704 * gdb.ada/assign_1.exp
13705 * gdb.ada/boolean_expr.exp
13706 * gdb.base/arrayidx.exp
13707 * gdb.base/del.exp
13708 * gdb.base/gcore-buffer-overflow.exp
13709 * gdb.base/testenv.exp
13710 * gdb.compile/compile.exp
13711 * gdb.python/py-framefilter-invalidarg.exp
13712 * gdb.python/py-framefilter.exp
13713
13714 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13715
13716 Fix test names starting with uppercase throughout the files.
13717
13718 * gdb.ada/array_return.exp
13719 * gdb.ada/expr_delims.exp
13720 * gdb.ada/mi_dyn_arr.exp
13721 * gdb.ada/mi_interface.exp
13722 * gdb.ada/mi_var_array.exp
13723 * gdb.ada/watch_arg.exp
13724 * gdb.arch/alpha-step.exp
13725 * gdb.arch/altivec-regs.exp
13726 * gdb.arch/e500-regs.exp
13727 * gdb.arch/powerpc-d128-regs.exp
13728 * gdb.base/arrayidx.exp
13729 * gdb.base/break.exp
13730 * gdb.base/checkpoint.exp
13731 * gdb.base/debug-expr.exp
13732 * gdb.base/dmsym.exp
13733 * gdb.base/radix.exp
13734 * gdb.base/sepdebug.exp
13735 * gdb.base/testenv.exp
13736 * gdb.base/watch_thread_num.exp
13737 * gdb.base/watchpoint-cond-gone.exp
13738 * gdb.cell/break.exp
13739 * gdb.cell/ea-cache.exp
13740 * gdb.compile/compile.exp
13741 * gdb.cp/gdb2495.exp
13742 * gdb.gdb/selftest.exp
13743 * gdb.gdb/xfullpath.exp
13744 * gdb.go/hello.exp
13745 * gdb.go/integers.exp
13746 * gdb.objc/basicclass.exp
13747 * gdb.pascal/hello.exp
13748 * gdb.pascal/integers.exp
13749 * gdb.python/py-breakpoint.exp
13750 * gdb.python/py-cmd.exp
13751 * gdb.python/py-linetable.exp
13752 * gdb.python/py-xmethods.exp
13753 * gdb.python/python.exp
13754 * gdb.reverse/consecutive-precsave.exp
13755 * gdb.reverse/finish-precsave.exp
13756 * gdb.reverse/i386-precsave.exp
13757 * gdb.reverse/machinestate-precsave.exp
13758 * gdb.reverse/sigall-precsave.exp
13759 * gdb.reverse/solib-precsave.exp
13760 * gdb.reverse/step-precsave.exp
13761 * gdb.reverse/until-precsave.exp
13762 * gdb.reverse/watch-precsave.exp
13763 * gdb.threads/leader-exit.exp
13764 * gdb.threads/pthreads.exp
13765 * gdb.threads/wp-replication.exp
13766 * gdb.trace/actions.exp
13767 * gdb.trace/mi-tsv-changed.exp
13768 * gdb.trace/tsv.exp
13769
13770 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13771
13772 Fix test names starting with uppercase throughout the files.
13773
13774 * gdb.arch/i386-bp_permanent.exp
13775 * gdb.arch/i386-gnu-cfi.exp
13776 * gdb.base/disasm-end-cu.exp
13777 * gdb.base/macscp.exp
13778 * gdb.base/pending.exp
13779 * gdb.base/watch_thread_num.exp
13780 * gdb.cp/exception.exp
13781 * gdb.cp/gdb2495.exp
13782 * gdb.cp/local.exp
13783 * gdb.python/py-evsignal.exp
13784 * gdb.python/python.exp
13785 * gdb.trace/tracecmd.exp
13786
13787 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13788
13789 Fix test names starting with uppercase throughout the files.
13790
13791 * gdb.base/charset.exp
13792 * gdb.base/eval.exp
13793 * gdb.base/multi-forks.exp
13794 * gdb.guile/scm-progspace.exp
13795 * gdb.opencl/datatypes.exp
13796 * gdb.python/py-block.exp
13797 * gdb.python/py-function.exp
13798 * gdb.python/py-symbol.exp
13799 * gdb.python/py-symtab.exp
13800 * gdb.python/py-xmethods.exp
13801 * gdb.reverse/break-precsave.exp
13802 * gdb.reverse/break-reverse.exp
13803 * gdb.reverse/consecutive-precsave.exp
13804 * gdb.reverse/consecutive-reverse.exp
13805 * gdb.reverse/finish-precsave.exp
13806 * gdb.reverse/finish-reverse-bkpt.exp
13807 * gdb.reverse/finish-reverse.exp
13808 * gdb.reverse/fstatat-reverse.exp
13809 * gdb.reverse/getresuid-reverse.exp
13810 * gdb.reverse/i386-precsave.exp
13811 * gdb.reverse/i386-reverse.exp
13812 * gdb.reverse/i386-sse-reverse.exp
13813 * gdb.reverse/i387-stack-reverse.exp
13814 * gdb.reverse/insn-reverse.exp
13815 * gdb.reverse/machinestate-precsave.exp
13816 * gdb.reverse/machinestate.exp
13817 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13818 * gdb.reverse/pipe-reverse.exp
13819 * gdb.reverse/readv-reverse.exp
13820 * gdb.reverse/recvmsg-reverse.exp
13821 * gdb.reverse/rerun-prec.exp
13822 * gdb.reverse/s390-mvcle.exp
13823 * gdb.reverse/sigall-precsave.exp
13824 * gdb.reverse/sigall-reverse.exp
13825 * gdb.reverse/solib-precsave.exp
13826 * gdb.reverse/solib-reverse.exp
13827 * gdb.reverse/step-precsave.exp
13828 * gdb.reverse/step-reverse.exp
13829 * gdb.reverse/time-reverse.exp
13830 * gdb.reverse/until-precsave.exp
13831 * gdb.reverse/until-reverse.exp
13832 * gdb.reverse/waitpid-reverse.exp
13833 * gdb.reverse/watch-precsave.exp
13834 * gdb.reverse/watch-reverse.exp
13835
13836 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13837
13838 Fix test names starting with uppercase throughout the files.
13839
13840 * gdb.arch/i386-mpx-simple_segv.exp
13841 * gdb.arch/i386-mpx.exp
13842 * gdb.arch/i386-permbkpt.exp
13843 * gdb.arch/pa-nullify.exp
13844 * gdb.arch/powerpc-d128-regs.exp
13845 * gdb.arch/vsx-regs.exp
13846 * gdb.base/bfp-test.exp
13847 * gdb.base/break.exp
13848 * gdb.base/breakpoint-shadow.exp
13849 * gdb.base/callfuncs.exp
13850 * gdb.base/charset.exp
13851 * gdb.base/commands.exp
13852 * gdb.base/completion.exp
13853 * gdb.base/dfp-test.exp
13854 * gdb.base/echo.exp
13855 * gdb.base/ending-run.exp
13856 * gdb.base/eval.exp
13857 * gdb.base/expand-psymtabs.exp
13858 * gdb.base/float128.exp
13859 * gdb.base/floatn.exp
13860 * gdb.base/foll-exec-mode.exp
13861 * gdb.base/gdb1056.exp
13862 * gdb.base/gdb11531.exp
13863 * gdb.base/kill-after-signal.exp
13864 * gdb.base/multi-forks.exp
13865 * gdb.base/overlays.exp
13866 * gdb.base/pending.exp
13867 * gdb.base/sepdebug.exp
13868 * gdb.base/testenv.exp
13869 * gdb.base/valgrind-db-attach.exp
13870 * gdb.base/watch_thread_num.exp
13871 * gdb.base/watchpoint-cond-gone.exp
13872 * gdb.base/watchpoint.exp
13873 * gdb.base/watchpoints.exp
13874 * gdb.cp/arg-reference.exp
13875 * gdb.cp/baseenum.exp
13876 * gdb.cp/operator.exp
13877 * gdb.cp/shadow.exp
13878 * gdb.dwarf2/dw2-op-out-param.exp
13879 * gdb.dwarf2/dw2-reg-undefined.exp
13880 * gdb.go/chan.exp
13881 * gdb.go/hello.exp
13882 * gdb.go/integers.exp
13883 * gdb.go/methods.exp
13884 * gdb.go/package.exp
13885 * gdb.guile/scm-parameter.exp
13886 * gdb.guile/scm-progspace.exp
13887 * gdb.guile/scm-value.exp
13888 * gdb.mi/mi-pending.exp
13889 * gdb.mi/user-selected-context-sync.exp
13890 * gdb.multi/multi-attach.exp
13891 * gdb.multi/tids.exp
13892 * gdb.opt/clobbered-registers-O2.exp
13893 * gdb.pascal/floats.exp
13894 * gdb.pascal/integers.exp
13895 * gdb.python/py-block.exp
13896 * gdb.python/py-events.exp
13897 * gdb.python/py-parameter.exp
13898 * gdb.python/py-symbol.exp
13899 * gdb.python/py-symtab.exp
13900 * gdb.python/py-type.exp
13901 * gdb.python/py-value.exp
13902 * gdb.python/py-xmethods.exp
13903 * gdb.python/python.exp
13904 * gdb.reverse/break-precsave.exp
13905 * gdb.reverse/consecutive-precsave.exp
13906 * gdb.reverse/finish-precsave.exp
13907 * gdb.reverse/i386-precsave.exp
13908 * gdb.reverse/machinestate-precsave.exp
13909 * gdb.reverse/sigall-precsave.exp
13910 * gdb.reverse/solib-precsave.exp
13911 * gdb.reverse/step-precsave.exp
13912 * gdb.reverse/until-precsave.exp
13913 * gdb.reverse/watch-precsave.exp
13914 * gdb.server/ext-attach.exp
13915 * gdb.server/ext-restart.exp
13916 * gdb.server/ext-run.exp
13917 * gdb.server/ext-wrapper.exp
13918 * gdb.stabs/gdb11479.exp
13919 * gdb.stabs/weird.exp
13920 * gdb.threads/attach-many-short-lived-threads.exp
13921 * gdb.threads/kill.exp
13922 * gdb.threads/watchpoint-fork.exp
13923
13924 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13925
13926 Fix test names starting with uppercase throughout all the files below.
13927
13928 * gdb.ada/array_return.exp
13929 * gdb.ada/catch_ex.exp
13930 * gdb.ada/info_exc.exp
13931 * gdb.ada/mi_catch_ex.exp
13932 * gdb.ada/mi_dyn_arr.exp
13933 * gdb.ada/mi_ex_cond.exp
13934 * gdb.ada/mi_exc_info.exp
13935 * gdb.ada/mi_interface.exp
13936 * gdb.ada/mi_task_arg.exp
13937 * gdb.ada/mi_task_info.exp
13938 * gdb.ada/mi_var_array.exp
13939 * gdb.arch/alpha-step.exp
13940 * gdb.arch/amd64-disp-step.exp
13941 * gdb.arch/arm-disp-step.exp
13942 * gdb.arch/disp-step-insn-reloc.exp
13943 * gdb.arch/e500-prologue.exp
13944 * gdb.arch/ftrace-insn-reloc.exp
13945 * gdb.arch/gdb1558.exp
13946 * gdb.arch/i386-bp_permanent.exp
13947 * gdb.arch/i386-disp-step.exp
13948 * gdb.arch/i386-float.exp
13949 * gdb.arch/i386-gnu-cfi.exp
13950 * gdb.arch/ia64-breakpoint-shadow.exp
13951 * gdb.arch/mips16-thunks.exp
13952 * gdb.arch/pa-nullify.exp
13953 * gdb.arch/powerpc-aix-prologue.exp
13954 * gdb.arch/powerpc-power.exp
13955 * gdb.arch/ppc-dfp.exp
13956 * gdb.arch/s390-tdbregs.exp
13957 * gdb.arch/spu-info.exp
13958 * gdb.arch/spu-ls.exp
13959 * gdb.arch/thumb-bx-pc.exp
13960 * gdb.base/advance.exp
13961 * gdb.base/annota-input-while-running.exp
13962 * gdb.base/arrayidx.exp
13963 * gdb.base/asmlabel.exp
13964 * gdb.base/async.exp
13965 * gdb.base/attach-wait-input.exp
13966 * gdb.base/auto-connect-native-target.exp
13967 * gdb.base/batch-preserve-term-settings.exp
13968 * gdb.base/bfp-test.exp
13969 * gdb.base/bigcore.exp
13970 * gdb.base/bp-permanent.exp
13971 * gdb.base/break-always.exp
13972 * gdb.base/break-fun-addr.exp
13973 * gdb.base/break-idempotent.exp
13974 * gdb.base/break-main-file-remove-fail.exp
13975 * gdb.base/break-probes.exp
13976 * gdb.base/break-unload-file.exp
13977 * gdb.base/break.exp
13978 * gdb.base/call-ar-st.exp
13979 * gdb.base/call-rt-st.exp
13980 * gdb.base/call-sc.exp
13981 * gdb.base/call-signal-resume.exp
13982 * gdb.base/call-strs.exp
13983 * gdb.base/callexit.exp
13984 * gdb.base/callfuncs.exp
13985 * gdb.base/catch-gdb-caused-signals.exp
13986 * gdb.base/catch-signal-siginfo-cond.exp
13987 * gdb.base/catch-syscall.exp
13988 * gdb.base/compare-sections.exp
13989 * gdb.base/cond-eval-mode.exp
13990 * gdb.base/condbreak-call-false.exp
13991 * gdb.base/consecutive-step-over.exp
13992 * gdb.base/cursal.exp
13993 * gdb.base/disabled-location.exp
13994 * gdb.base/disasm-end-cu.exp
13995 * gdb.base/display.exp
13996 * gdb.base/double-prompt-target-event-error.exp
13997 * gdb.base/dprintf-bp-same-addr.exp
13998 * gdb.base/dprintf-detach.exp
13999 * gdb.base/dprintf-next.exp
14000 * gdb.base/dprintf-non-stop.exp
14001 * gdb.base/dprintf-pending.exp
14002 * gdb.base/dso2dso.exp
14003 * gdb.base/ending-run.exp
14004 * gdb.base/enum_cond.exp
14005 * gdb.base/examine-backward.exp
14006 * gdb.base/exe-lock.exp
14007 * gdb.base/exec-invalid-sysroot.exp
14008 * gdb.base/execl-update-breakpoints.exp
14009 * gdb.base/execution-termios.exp
14010 * gdb.base/fileio.exp
14011 * gdb.base/fixsection.exp
14012 * gdb.base/foll-exec-mode.exp
14013 * gdb.base/foll-exec.exp
14014 * gdb.base/fork-running-state.exp
14015 * gdb.base/frame-args.exp
14016 * gdb.base/fullpath-expand.exp
14017 * gdb.base/func-ptr.exp
14018 * gdb.base/gcore-relro-pie.exp
14019 * gdb.base/gdb1090.exp
14020 * gdb.base/gdb1555.exp
14021 * gdb.base/global-var-nested-by-dso.exp
14022 * gdb.base/gnu-ifunc.exp
14023 * gdb.base/hbreak-in-shr-unsupported.exp
14024 * gdb.base/hbreak-unmapped.exp
14025 * gdb.base/hook-stop.exp
14026 * gdb.base/infcall-input.exp
14027 * gdb.base/info-fun.exp
14028 * gdb.base/info-shared.exp
14029 * gdb.base/interrupt-noterm.exp
14030 * gdb.base/jit-so.exp
14031 * gdb.base/jit.exp
14032 * gdb.base/line-symtabs.exp
14033 * gdb.base/list.exp
14034 * gdb.base/longjmp.exp
14035 * gdb.base/macscp.exp
14036 * gdb.base/max-value-size.exp
14037 * gdb.base/nodebug.exp
14038 * gdb.base/nofield.exp
14039 * gdb.base/overlays.exp
14040 * gdb.base/paginate-after-ctrl-c-running.exp
14041 * gdb.base/paginate-bg-execution.exp
14042 * gdb.base/paginate-inferior-exit.exp
14043 * gdb.base/pending.exp
14044 * gdb.base/pr11022.exp
14045 * gdb.base/printcmds.exp
14046 * gdb.base/ptr-typedef.exp
14047 * gdb.base/ptype.exp
14048 * gdb.base/randomize.exp
14049 * gdb.base/range-stepping.exp
14050 * gdb.base/realname-expand.exp
14051 * gdb.base/relativedebug.exp
14052 * gdb.base/remote.exp
14053 * gdb.base/savedregs.exp
14054 * gdb.base/sepdebug.exp
14055 * gdb.base/set-noassign.exp
14056 * gdb.base/shlib-call.exp
14057 * gdb.base/shreloc.exp
14058 * gdb.base/sigaltstack.exp
14059 * gdb.base/sigbpt.exp
14060 * gdb.base/siginfo-addr.exp
14061 * gdb.base/siginfo-obj.exp
14062 * gdb.base/siginfo-thread.exp
14063 * gdb.base/signest.exp
14064 * gdb.base/signull.exp
14065 * gdb.base/sigrepeat.exp
14066 * gdb.base/skip.exp
14067 * gdb.base/so-impl-ld.exp
14068 * gdb.base/solib-corrupted.exp
14069 * gdb.base/solib-disc.exp
14070 * gdb.base/solib-display.exp
14071 * gdb.base/solib-overlap.exp
14072 * gdb.base/solib-search.exp
14073 * gdb.base/solib-symbol.exp
14074 * gdb.base/source-execution.exp
14075 * gdb.base/sss-bp-on-user-bp-2.exp
14076 * gdb.base/sss-bp-on-user-bp.exp
14077 * gdb.base/stack-checking.exp
14078 * gdb.base/stale-infcall.exp
14079 * gdb.base/step-break.exp
14080 * gdb.base/step-line.exp
14081 * gdb.base/step-over-exit.exp
14082 * gdb.base/step-test.exp
14083 * gdb.base/structs.exp
14084 * gdb.base/sym-file.exp
14085 * gdb.base/symtab-search-order.exp
14086 * gdb.base/term.exp
14087 * gdb.base/type-opaque.exp
14088 * gdb.base/unload.exp
14089 * gdb.base/until-nodebug.exp
14090 * gdb.base/until.exp
14091 * gdb.base/unwindonsignal.exp
14092 * gdb.base/watch-cond.exp
14093 * gdb.base/watch-non-mem.exp
14094 * gdb.base/watch_thread_num.exp
14095 * gdb.base/watchpoint-reuse-slot.exp
14096 * gdb.base/watchpoint-solib.exp
14097 * gdb.base/watchpoint.exp
14098 * gdb.btrace/dlopen.exp
14099 * gdb.cell/arch.exp
14100 * gdb.cell/break.exp
14101 * gdb.cell/bt.exp
14102 * gdb.cell/core.exp
14103 * gdb.cell/data.exp
14104 * gdb.cell/dwarfaddr.exp
14105 * gdb.cell/ea-cache.exp
14106 * gdb.cell/ea-standalone.exp
14107 * gdb.cell/ea-test.exp
14108 * gdb.cell/f-regs.exp
14109 * gdb.cell/fork.exp
14110 * gdb.cell/gcore.exp
14111 * gdb.cell/mem-access.exp
14112 * gdb.cell/ptype.exp
14113 * gdb.cell/registers.exp
14114 * gdb.cell/sizeof.exp
14115 * gdb.cell/solib-symbol.exp
14116 * gdb.cell/solib.exp
14117 * gdb.compile/compile-tls.exp
14118 * gdb.cp/exception.exp
14119 * gdb.cp/gdb2495.exp
14120 * gdb.cp/local.exp
14121 * gdb.cp/mb-inline.exp
14122 * gdb.cp/mb-templates.exp
14123 * gdb.cp/pr10687.exp
14124 * gdb.cp/pr9167.exp
14125 * gdb.cp/scope-err.exp
14126 * gdb.cp/templates.exp
14127 * gdb.cp/virtfunc.exp
14128 * gdb.dwarf2/dw2-dir-file-name.exp
14129 * gdb.dwarf2/dw2-single-line-discriminators.exp
14130 * gdb.fortran/complex.exp
14131 * gdb.fortran/library-module.exp
14132 * gdb.guile/guile.exp
14133 * gdb.guile/scm-cmd.exp
14134 * gdb.guile/scm-frame-inline.exp
14135 * gdb.guile/scm-objfile.exp
14136 * gdb.guile/scm-pretty-print.exp
14137 * gdb.guile/scm-symbol.exp
14138 * gdb.guile/scm-type.exp
14139 * gdb.guile/scm-value.exp
14140 * gdb.linespec/keywords.exp
14141 * gdb.linespec/ls-errs.exp
14142 * gdb.linespec/macro-relative.exp
14143 * gdb.linespec/thread.exp
14144 * gdb.mi/mi-breakpoint-changed.exp
14145 * gdb.mi/mi-dprintf-pending.exp
14146 * gdb.mi/mi-fullname-deleted.exp
14147 * gdb.mi/mi-logging.exp
14148 * gdb.mi/mi-pending.exp
14149 * gdb.mi/mi-solib.exp
14150 * gdb.mi/new-ui-mi-sync.exp
14151 * gdb.mi/user-selected-context-sync.exp
14152 * gdb.multi/dummy-frame-restore.exp
14153 * gdb.multi/multi-arch-exec.exp
14154 * gdb.multi/remove-inferiors.exp
14155 * gdb.multi/watchpoint-multi-exit.exp
14156 * gdb.opt/solib-intra-step.exp
14157 * gdb.perf/backtrace.exp
14158 * gdb.perf/single-step.exp
14159 * gdb.perf/skip-command.exp
14160 * gdb.perf/skip-prologue.exp
14161 * gdb.perf/solib.exp
14162 * gdb.python/lib-types.exp
14163 * gdb.python/py-as-string.exp
14164 * gdb.python/py-bad-printers.exp
14165 * gdb.python/py-block.exp
14166 * gdb.python/py-breakpoint.exp
14167 * gdb.python/py-cmd.exp
14168 * gdb.python/py-events.exp
14169 * gdb.python/py-evthreads.exp
14170 * gdb.python/py-finish-breakpoint.exp
14171 * gdb.python/py-finish-breakpoint2.exp
14172 * gdb.python/py-frame-inline.exp
14173 * gdb.python/py-frame.exp
14174 * gdb.python/py-inferior.exp
14175 * gdb.python/py-infthread.exp
14176 * gdb.python/py-mi.exp
14177 * gdb.python/py-objfile.exp
14178 * gdb.python/py-pp-maint.exp
14179 * gdb.python/py-pp-registration.exp
14180 * gdb.python/py-prettyprint.exp
14181 * gdb.python/py-recurse-unwind.exp
14182 * gdb.python/py-shared.exp
14183 * gdb.python/py-symbol.exp
14184 * gdb.python/py-symtab.exp
14185 * gdb.python/py-template.exp
14186 * gdb.python/py-type.exp
14187 * gdb.python/py-unwind-maint.exp
14188 * gdb.python/py-unwind.exp
14189 * gdb.python/py-value.exp
14190 * gdb.python/python.exp
14191 * gdb.reverse/finish-reverse-bkpt.exp
14192 * gdb.reverse/insn-reverse.exp
14193 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14194 * gdb.reverse/solib-precsave.exp
14195 * gdb.reverse/solib-reverse.exp
14196 * gdb.stabs/gdb11479.exp
14197 * gdb.stabs/weird.exp
14198 * gdb.threads/fork-child-threads.exp
14199 * gdb.threads/fork-plus-threads.exp
14200 * gdb.threads/fork-thread-pending.exp
14201 * gdb.threads/forking-threads-plus-breakpoint.exp
14202 * gdb.threads/hand-call-in-threads.exp
14203 * gdb.threads/interrupted-hand-call.exp
14204 * gdb.threads/linux-dp.exp
14205 * gdb.threads/local-watch-wrong-thread.exp
14206 * gdb.threads/next-while-other-thread-longjmps.exp
14207 * gdb.threads/non-ldr-exit.exp
14208 * gdb.threads/pending-step.exp
14209 * gdb.threads/print-threads.exp
14210 * gdb.threads/process-dies-while-detaching.exp
14211 * gdb.threads/process-dies-while-handling-bp.exp
14212 * gdb.threads/pthreads.exp
14213 * gdb.threads/queue-signal.exp
14214 * gdb.threads/reconnect-signal.exp
14215 * gdb.threads/signal-command-handle-nopass.exp
14216 * gdb.threads/signal-command-multiple-signals-pending.exp
14217 * gdb.threads/signal-delivered-right-thread.exp
14218 * gdb.threads/signal-sigtrap.exp
14219 * gdb.threads/sigthread.exp
14220 * gdb.threads/staticthreads.exp
14221 * gdb.threads/stepi-random-signal.exp
14222 * gdb.threads/thread-unwindonsignal.exp
14223 * gdb.threads/thread_check.exp
14224 * gdb.threads/thread_events.exp
14225 * gdb.threads/tid-reuse.exp
14226 * gdb.threads/tls-nodebug.exp
14227 * gdb.threads/tls-shared.exp
14228 * gdb.threads/tls-so_extern.exp
14229 * gdb.threads/tls.exp
14230 * gdb.threads/wp-replication.exp
14231 * gdb.trace/actions-changed.exp
14232 * gdb.trace/actions.exp
14233 * gdb.trace/backtrace.exp
14234 * gdb.trace/change-loc.exp
14235 * gdb.trace/collection.exp
14236 * gdb.trace/deltrace.exp
14237 * gdb.trace/disconnected-tracing.exp
14238 * gdb.trace/entry-values.exp
14239 * gdb.trace/ftrace-lock.exp
14240 * gdb.trace/ftrace.exp
14241 * gdb.trace/infotrace.exp
14242 * gdb.trace/mi-trace-frame-collected.exp
14243 * gdb.trace/mi-trace-unavailable.exp
14244 * gdb.trace/mi-traceframe-changed.exp
14245 * gdb.trace/mi-tracepoint-changed.exp
14246 * gdb.trace/mi-tsv-changed.exp
14247 * gdb.trace/no-attach-trace.exp
14248 * gdb.trace/packetlen.exp
14249 * gdb.trace/passc-dyn.exp
14250 * gdb.trace/passcount.exp
14251 * gdb.trace/pending.exp
14252 * gdb.trace/pr16508.exp
14253 * gdb.trace/qtro.exp
14254 * gdb.trace/range-stepping.exp
14255 * gdb.trace/read-memory.exp
14256 * gdb.trace/report.exp
14257 * gdb.trace/save-trace.exp
14258 * gdb.trace/signal.exp
14259 * gdb.trace/stap-trace.exp
14260 * gdb.trace/status-stop.exp
14261 * gdb.trace/strace.exp
14262 * gdb.trace/tfile.exp
14263 * gdb.trace/tfind.exp
14264 * gdb.trace/trace-break.exp
14265 * gdb.trace/trace-condition.exp
14266 * gdb.trace/trace-enable-disable.exp
14267 * gdb.trace/trace-mt.exp
14268 * gdb.trace/tracecmd.exp
14269 * gdb.trace/tracefile-pseudo-reg.exp
14270 * gdb.trace/tspeed.exp
14271 * gdb.trace/tstatus.exp
14272 * gdb.trace/tsv.exp
14273 * gdb.trace/unavailable.exp
14274 * gdb.trace/while-dyn.exp
14275 * gdb.trace/while-stepping.exp
14276 * lib/gdb-guile.exp
14277 * lib/gdb.exp
14278 * lib/mi-support.exp
14279 * lib/pascal.exp
14280 * lib/perftest.exp
14281 * lib/prelink-support.exp
14282 * lib/selftest-support.exp
14283
14284 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14285
14286 * Makefile.in: Include disable-implicit-rules.mk.
14287
14288 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14289
14290 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14291 non-byte-aligned bit fields.
14292
14293 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14294
14295 PR gdb/12616
14296 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14297 respects the DW_AT_data_bit_offset attribute.
14298
14299 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14300
14301 * gdb.base/default.exp: Fix output of "set language".
14302
14303 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14304
14305 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14306 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14307 make.
14308 * configure.ac: Remove checks for the make program.
14309 * configure: Re-generate.
14310
14311 2016-11-16 Kevin Buettner <kevinb@redhat.com>
14312
14313 * gdb.python/py-recurse-unwind.c (main): Add loop.
14314 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14315 to read_register() and gdb.parse_and_eval(). Make each code
14316 call a separate case that can be individually tested.
14317 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14318 proc. Call cont_and_backtrace for each of the code paths that
14319 we want to test in the unwinder.
14320
14321 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14322
14323 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14324 the definition of struct S.
14325
14326 2016-11-11 Catherine Moore <clm@codesourcery.com>
14327
14328 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14329
14330 2016-11-09 Pedro Alves <palves@redhat.com>
14331
14332 * gdb.base/commands.exp (runto_or_return): New procedure.
14333 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14334 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14335 (progvar_simple_while_test, progvar_complex_if_while_test)
14336 (if_while_breakpoint_command_test)
14337 (infrun_breakpoint_command_test, breakpoint_command_test)
14338 (user_defined_command_test, watchpoint_command_test)
14339 (test_command_prompt_position, redefine_hook_test)
14340 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14341 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14342 multi_line_input and multi_line. Remove gdb_expect and
14343 gdb_stop_suppressing_tests uses.
14344 * lib/gdb.exp (valnum_re): New global.
14345 (multi_line_input): New procedure.
14346
14347 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14348
14349 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14350 Remove.
14351 (test_setup): Define with proc_with_prefix.
14352 (test_cli_inferior): Likewise.
14353 (test_cli_thread): Likewise.
14354 (test_cli_frame): Likewise.
14355 (test_cli_select_frame): Likewise.
14356 (test_cli_up_down): Likewise.
14357 (test_mi_thread_select): Likewise.
14358 (test_mi_stack_select_frame): Likewise.
14359 (test_cli_in_mi_inferior): Likewise.
14360 (test_cli_in_mi_thread): Likewise.
14361 (test_cli_in_mi_frame): Likewise.
14362 (top level): Do not use with_test_prefix_procname.
14363
14364 2016-11-09 Pedro Alves <palves@redhat.com>
14365
14366 * gdb.base/commands.exp (gdbvar_simple_if_test)
14367 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14368 (progvar_simple_if_test, progvar_simple_while_test)
14369 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14370 (infrun_breakpoint_command_test, breakpoint_command_test)
14371 (user_defined_command_test, watchpoint_command_test)
14372 (test_command_prompt_position, deprecated_command_test)
14373 (bp_deleted_in_command, temporary_breakpoint_commands)
14374 (stray_arg0_test, source_file_with_indented_comment)
14375 (recursive_source_test, if_commands_test)
14376 (error_clears_commands_left, redefine_hook_test)
14377 (redefine_backtrace_test): Use proc_with_prefix.
14378 * lib/gdb.exp (proc_with_prefix): New proc.
14379
14380 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14381
14382 * gdb.base/tui-layout.c: New file.
14383 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14384 disassembly window contains very long lines.
14385
14386 2016-11-08 Tom Tromey <tom@tromey.com>
14387
14388 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14389 depend on Python 2.
14390
14391 2016-11-08 Tom Tromey <tom@tromey.com>
14392
14393 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14394 New method.
14395
14396 2016-10-29 Manish Goregaokar <manish@mozilla.com>
14397
14398 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
14399
14400 2016-10-27 Manish Goregaokar <manish@mozilla.com>
14401
14402 * gdb.rust/simple.rs: Add test for univariant enums without
14403 discriminants and for encoded struct-like enums.
14404
14405 2016-10-28 Pedro Alves <palves@redhat.com>
14406
14407 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14408 gdb_test_multiple, tighten regexps and match symtabs and line
14409 tables incrementally.
14410
14411 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
14412
14413 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14414 general.
14415
14416 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
14417
14418 * gdb.base/exec-invalid-sysroot.exp: New file.
14419
14420 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14421
14422 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14423
14424 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14425
14426 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14427
14428 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14429
14430 * gdb.base/killed-outside.exp: Remove $options from a call to
14431 `prepare_for_testing'.
14432
14433 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14434
14435 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14436 Change test message.
14437
14438 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14439
14440 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14441 Update comment.
14442
14443 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14444
14445 * gdb.trace/mi-trace-save.exp: New file.
14446
14447 2016-10-13 Yao Qi <yao.qi@linaro.org>
14448
14449 * gdb.base/code_elim.exp (get_var_address): Remove.
14450 * gdb.base/relocate.exp: Likewise.
14451 * gdb.base/shreloc.exp: Likewise.
14452 * lib/gdb.exp (get_var_address): New.
14453
14454 2016-10-13 Yao Qi <yao.qi@linaro.org>
14455
14456 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14457 floating point tests if $skip_float_test is false.
14458
14459 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
14460
14461 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14462 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14463 argc values.
14464 Add 1 to argc so we guarantee distinct initial/modified argc values.
14465
14466 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14467
14468 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14469
14470 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14471
14472 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14473 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14474 * gdb.arch/vsx-regs.exp: Likewise.
14475
14476 2016-10-07 Yao Qi <yao.qi@linaro.org>
14477
14478 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14479
14480 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14481
14482 * gdb.python/python.exp: Test decode_line("*0").
14483
14484 2016-10-06 Doug Evans <dje@google.com>
14485
14486 * gdb.python/py-value.exp (test_value_creation): Add test for large
14487 unsigned 64-bit value.
14488
14489 2016-10-06 Tom Tromey <tom@tromey.com>
14490
14491 * gdb.compile/compile.exp: Change java tests to rust.
14492 * gdb.base/setshow.exp: Change java tests to rust.
14493 * gdb.base/default.exp: Remove java from language list.
14494 * README (Examples): Update language example.
14495 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14496 test.
14497 * lib/gdb.exp (skip_java_tests): Remove.
14498 * lib/java.exp: Remove.
14499 * gdb.java: Remove.
14500
14501 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14502
14503 * gdb.arch/mips-fcr.exp: New test.
14504 * gdb.arch/mips-fcr.c: Source for the new test.
14505
14506 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14507
14508 * gdb.base/solib-disc.exp: Use `standard_output_file'
14509 throughout.
14510
14511 2016-10-06 Pedro Alves <palves@redhat.com>
14512
14513 * gdb.base/jit-simple-dl.c: New file.
14514 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14515 * gdb.base/jit-simple.c: ... this.
14516 * gdb.base/jit-simple.exp (jit_run): Delete.
14517 (build_jit): New proc.
14518 (jit_test_reread): Recompile either the main program or the shared
14519 library, depending on what is being tested. Skip changing address
14520 if caller wants to. Compare before/after addresses. If testing
14521 standalone, explicitly load the binary. Test "maint info
14522 breakpoints".
14523 (top level): Add "standalone vs shared lib" and "change address"
14524 vs "same address" axes.
14525
14526 2016-10-06 Pedro Alves <palves@redhat.com>
14527
14528 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14529 call.
14530 (jit_run): Delete.
14531 (jit_test_reread): Use with_test_prefix. Reload the main binary
14532 explicitly. Compare the before/after addresses of the JIT
14533 descriptor.
14534
14535 2016-08-15 Doug Evans <dje@google.com>
14536
14537 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14538 for single bitfields is bool.
14539 * gdb.xml/tdesc-regs.exp: Ditto.
14540
14541 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14542
14543 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14544
14545 2016-10-05 Yao Qi <yao.qi@linaro.org>
14546
14547 * lib/gdb.exp (support_complex_tests): Return zero if
14548 gdb_skip_float_test return true.
14549
14550 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14551 Simon Marchi <simon.marchi@ericsson.com>
14552
14553 PR gdb/20487
14554 * gdb.mi/user-selected-context-sync.exp: New file.
14555 * gdb.mi/user-selected-context-sync.c: New file.
14556
14557 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14558 Simon Marchi <simon.marchi@ericsson.com>
14559
14560 PR gdb/20487
14561 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14562 =thread-select-event check.
14563
14564 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14565
14566 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14567 the compulsory L operand changes.
14568 * gdb.arch/powerpc-power.s: Likewise.
14569
14570 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14571
14572 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14573 * gdb.base/jit-attach-pie.c: New file.
14574 * gdb.base/jit-attach-pie.exp: New file.
14575
14576 2016-09-28 Pedro Alves <palves@redhat.com>
14577
14578 * gdb.base/infcall-input.c: New file.
14579 * gdb.base/infcall-input.exp: New file.
14580
14581 2016-09-22 Yao Qi <yao.qi@linaro.org>
14582
14583 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14584 (gdb_exit): Rename it to ...
14585 (gdbserver_gdb_exit): ... Close GDBserver.
14586 (gdb_exit): New proc, call gdbserver_gdb_exit.
14587 (mi_gdb_exit): Likewise.
14588
14589 2016-09-22 Yao Qi <yao.qi@linaro.org>
14590
14591 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14592 path.
14593 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14594 Remove duplication.
14595
14596 2016-09-22 Yao Qi <yao.qi@linaro.org>
14597
14598 * lib/gdbserver-support.exp: Check the existence of
14599 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14600
14601 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14602
14603 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14604
14605 2016-09-21 Tom Tromey <tom@tromey.com>
14606
14607 PR gdb/20604:
14608 * gdb.base/quit.exp: New file.
14609
14610 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14611
14612 * .gitignore: New file.
14613
14614 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14615
14616 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14617 throughout.
14618
14619 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14620
14621 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14622
14623 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14624
14625 * gdb.cp/casts.cc (decltype): Move it ...
14626 (main): ... with its call to ...
14627 * gdb.cp/casts03.cc: ... a new file.
14628 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14629
14630 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14631
14632 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14633
14634 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14635
14636 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14637 and sync up the test with tests in gas/testsuite/gas/ppc.
14638 * gdb.arch/powerpc-power.exp: Likewise.
14639
14640 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14641
14642 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14643
14644 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14645 Jan Kratochvil <jan.kratochvil@redhat.com>
14646
14647 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14648 make m1's definition to be different from m2's. Use 'dummy' as an
14649 argument for probe 'two'.
14650
14651 2016-09-10 Jon Beniston <jon@beniston.com>
14652
14653 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14654 for sim target.
14655
14656 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14657
14658 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14659 variable declaration.
14660 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14661 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14662 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14663 received HWCAP as its argument.
14664
14665 2016-09-06 Pedro Alves <palves@redhat.com>
14666
14667 * gdb.base/new-ui-pending-input.c: New file.
14668 * gdb.base/new-ui-pending-input.exp: New file.
14669 * gdb.exp (clear_gdb_spawn_id): New procedure.
14670 (with_spawn_id): Check whether gdb_spawn_id exists before
14671 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14672 on exit.
14673
14674 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14675
14676 * gdb.base/float128.c: New file.
14677 * gdb.base/float128.exp: Likewise.
14678 * gdb.base/floatn.c: Likewise.
14679 * gdb.base/floatn.exp: Likewise.
14680
14681 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14682
14683 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14684
14685 2016-09-05 Pedro Alves <palves@redhat.com>
14686
14687 PR backtrace/19927
14688 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14689 unwinders are immediately called as side effect of "source" or
14690 "disable unwinder" commands.
14691 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14692
14693 2016-09-02 Yao Qi <yao.qi@linaro.org>
14694
14695 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14696 is true and $type is "float" or "double".
14697
14698 2016-09-02 Yao Qi <yao.qi@linaro.org>
14699
14700 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14701 true.
14702 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14703 * gdb.base/call-rt-st.exp: Likewise.
14704 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14705 return value instead of gdb,skip_float_test.
14706 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14707 (do_function_calls): Use its return value instead of
14708 gdb,skip_float_test.
14709 * gdb.base/finish.exp: Likewise.
14710 * gdb.base/funcargs.exp: Likewise.
14711 * gdb.base/return.exp: Likewise.
14712 * gdb.base/return2.exp: Likewise.
14713 * gdb.base/varargs.exp: Likewise.
14714 * lib/gdb.exp (gdb_skip_float_test): Change it to
14715 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14716
14717 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14718
14719 * gdb.multi/tids.exp: Test "thread apply all".
14720
14721 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14722
14723 * gdb.base/default.exp (tty): Remove.
14724
14725 2016-08-24 Kevin Buettner <kevinb@redhat.com>
14726
14727 * gdb.python/py-recurse-unwind.c: New file.
14728 * gdb.python/py-recurse-unwind.py: New file.
14729 * gdb.python/py-recurse-unwind.exp: New file.
14730
14731 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14732
14733 * gdb.base/set-inferior-tty.exp: New file.
14734 * gdb.base/set-inferior-tty.c: New file.
14735
14736 2016-08-23 Pedro Alves <palves@redhat.com>
14737
14738 PR gdb/20494
14739 * gdb.base/new-ui-echo.c: New file.
14740 * gdb.base/new-ui-echo.exp: New file.
14741
14742 2016-08-23 Yao Qi <yao.qi@linaro.org>
14743
14744 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14745 gdbserver_spawn.
14746 * gdb.server/connect-without-multi-process.exp (do_test):
14747 Likewise.
14748
14749 2016-08-23 Yao Qi <yao.qi@linaro.org>
14750
14751 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14752 standalone_txt. Delete gdb_txt and standalone_txt on host
14753 and target. Spawn the binary on target. Copy files from
14754 target to host.
14755
14756 2016-08-22 Pedro Alves <palves@redhat.com>
14757
14758 PR gdb/20505
14759 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14760 with_test_prefix. Factor out bits to ...
14761 (test_no_vdso): ... this new procedure.
14762
14763 2016-08-19 Carl Love <cel@us.ibm.com>
14764
14765 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14766 maintaining separate logic for constructing the output path.
14767 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14768 * gdb.arch/ppc-dfp.exp: Likewise.
14769 * gdb.arch/ppc-fp.exp: Likewise.
14770 * gdb.arch/vsx-regs.exp: Likewise.
14771 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14772 binprefix for generating the additional binary files.
14773
14774 2016-08-19 Pedro Alves <palves@redhat.com>
14775
14776 * gdb.trace/mi-trace-frame-collected.exp
14777 (test_trace_frame_collected): On x32, expect two registers.
14778
14779 2016-08-18 Carl Love <cel@us.ibm.com>
14780
14781 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14782 and sync up the test with tests in gas/testsuite/gas/ppc.
14783 * gdb.arch/powerpc-power.exp: Likewise.
14784
14785 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14786
14787 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14788 expected error message.
14789
14790 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14791
14792 * gdb.multi/remove-inferiors.exp: New file.
14793 * gdb.multi/remove-inferiors.c: New file.
14794
14795 2016-08-12 Yao Qi <yao.qi@linaro.org>
14796
14797 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14798 argument list.
14799
14800 2016-08-10 Pedro Alves <palves@redhat.com>
14801
14802 PR gdb/19187
14803 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14804 setup_kfails.
14805
14806 2016-08-09 Pedro Alves <palves@redhat.com>
14807 Simon Marchi <simon.marchi@ericsson.com>
14808
14809 PR gdb/20418
14810 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14811 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14812
14813 2016-08-09 Pedro Alves <palves@redhat.com>
14814
14815 PR mi/20431
14816 * gdb.mi/mi-cmd-error.exp: New file.
14817
14818 2016-08-09 Pedro Alves <palves@redhat.com>
14819
14820 PR gdb/18653
14821 * gdb.base/signals-state-child.c: New file.
14822 * gdb.base/signals-state-child.exp: New file.
14823 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14824
14825 2016-08-09 Pedro Alves <palves@redhat.com>
14826
14827 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14828
14829 2016-08-03 Tom Tromey <tom@tromey.com>
14830
14831 PR python/18565:
14832 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14833
14834 2016-08-01 Yao Qi <yao.qi@linaro.org>
14835
14836 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14837 variable mode to "multi-process" if $multi_process is 1, otherwise
14838 set it to "single-process".
14839
14840 2016-08-01 Yao Qi <yao.qi@linaro.org>
14841
14842 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14843 * gdb.cp/cpexprs.exp: Likewise.
14844 * gdb.cp/m-static.exp: Likewise.
14845
14846 2016-07-26 Tom Tromey <tom@tromey.com>
14847
14848 PR python/20190:
14849 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14850 test.
14851
14852 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14853
14854 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14855 selecting assembly source files.
14856 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14857 assembly source files.
14858 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14859 assembly source files.
14860 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14861 selecting assembly source files.
14862
14863 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14864
14865 * gdb.base/new-ui.exp (do_test_invalid_args): New
14866 procedure.
14867
14868 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14869
14870 * gdb.btrace/reconnect.c: New file.
14871 * gdb.btrace/reconnect.exp: New file.
14872
14873 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14874
14875 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14876 to test_catch_syscall_group.
14877 (test_catch_syscall_group): New.
14878
14879 2016-07-21 Tom Tromey <tom@tromey.com>
14880
14881 * gdb.rust/simple.rs (main): Use empty struct expression.
14882 * gdb.rust/simple.exp: Add tests for empty struct expression.
14883
14884 2016-07-21 Yao Qi <yao.qi@linaro.org>
14885
14886 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14887 if gdb_skip_xml_test is true on some targets.
14888
14889 2016-07-21 Yao Qi <yao.qi@linaro.org>
14890
14891 * gdb.server/solib-list.exp: Unset last_loaded_file.
14892
14893 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14894
14895 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14896 "step into captured_main (args)".
14897
14898 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14899
14900 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14901
14902 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14903
14904 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14905
14906 2016-07-19 Pedro Alves <palves@redhat.com>
14907
14908 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14909 * gdb.opt/inline-bt.exp: Likewise.
14910 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14911 additional_flags=-Winline.
14912 * gdb.opt/inline-locals.exp: Likewise.
14913 * gdb.opt/inline-markers.c (ATTR): Define.
14914 (inlined_fn): Use it.
14915
14916 2016-07-19 Yao Qi <yao.qi@linaro.org>
14917
14918 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14919 (test_with_self): Remove some code. Remove argument executable.
14920 (top-level): Use do_self_tests.
14921
14922 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
14923 Don Breazeal <donb@codesourcery.com>
14924
14925 * gdb.base/maint.exp: Escape paths used in regular expressions.
14926 * gdb.stabs/weird.exp: Likewise.
14927
14928 2016-07-13 Tom Tromey <tom@tromey.com>
14929
14930 PR python/15620, PR python/18620:
14931 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14932 (test_bkpt_events): New procs.
14933
14934 2016-07-13 Tom Tromey <tom@tromey.com>
14935
14936 PR python/17698:
14937 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14938 test.
14939 (test_watchpoints): Likewise.
14940 (test_bkpt_pending): New proc.
14941
14942 2016-07-13 Tom Tromey <tom@tromey.com>
14943
14944 PR cli/18053:
14945 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14946 completion test.
14947
14948 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14949
14950 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14951 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14952 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14953 f_label.
14954 (g): Rename g_end_lbl to g_label.
14955 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14956 low_pc and high_pc.
14957 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14958
14959 2016-07-12 Tom Tromey <tom@tromey.com>
14960
14961 PR python/19293:
14962 * gdb.python/py-unwind-maint.exp: Update tests.
14963
14964 2016-07-12 Yao Qi <yao.qi@linaro.org>
14965
14966 * lib/selftest-support.exp (selftest_setup): Match the output
14967 when captured_main is inlined.
14968
14969 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14970
14971 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14972 New variables.
14973 (print this%a, print this%b, print this): New tests.
14974 * gdb.fortran/derived-types.f90 (this): New object and
14975 initialization.
14976
14977 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14978
14979 * gdb.ada/arraydim.exp: Remove extra directory level in build
14980 directory.
14981
14982 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14983
14984 * lib/ada.exp: Remove extra directory level in build directory.
14985 * gdb.ada/cond_lang.exp: Likewise.
14986 * gdb.ada/exec_changed.exp: Likewise.
14987 * gdb.ada/lang_switch.exp: Likewise.
14988
14989 2016-07-06 Manish Goregaokar <manish@mozilla.com>
14990
14991 * simple.rs: Add test for raw pointer subscripting.
14992 * simple.exp: Add test expectations.
14993
14994 2016-07-05 Yao Qi <yao.qi@linaro.org>
14995
14996 * gdb.mi/mi-reverse.exp: Match =record-started output.
14997
14998 2016-07-01 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15001 procedure.
15002 (jit_reader_test): Test the jit reader's unwinder.
15003 * gdb.base/jithost.c (jit_function_00_code): New global.
15004 (main): Use memcpy to fill in the mmapped code, instead of poking
15005 bytes manually here.
15006 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15007 value.
15008 (read_debug_info): Save the function's range.
15009 (read_sp): New function.
15010 (unwind_frame): Use it. Also unwind RBP.
15011 (get_frame_id): Use read_sp.
15012 (gdb_init_reader): Use calloc instead of malloc.
15013 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15014 parameter. Use gdb_test_multiple.
15015
15016 2016-07-01 Pedro Alves <palves@redhat.com>
15017 Antoine Tremblay <antoine.tremblay@ericsson.com>
15018
15019 * gdb.threads/process-dies-while-detaching.c: New file.
15020 * gdb.threads/process-dies-while-detaching.exp: New file.
15021
15022 2016-07-01 Pedro Alves <palves@redhat.com>
15023
15024 * gdb.multi/watchpoint-multi-exit.c: New file.
15025 * gdb.multi/watchpoint-multi-exit.exp: New file.
15026
15027 2016-06-30 Pedro Alves <palves@redhat.com>
15028
15029 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15030 unset inferior_spawn_id.
15031
15032 2016-06-30 Pedro Alves <palves@redhat.com>
15033
15034 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15035 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15036
15037 2016-06-29 Yao Qi <yao.qi@linaro.org>
15038
15039 * gdb.base/return.c: Add copyright header.
15040
15041 2016-06-29 Tom Tromey <tom@tromey.com>
15042
15043 PR python/20129:
15044 * gdb.python/py-framefilter.exp: Add tests for setting priority
15045 and disabling of non-existent frame filter.
15046
15047 2016-06-29 Yao Qi <yao.qi@linaro.org>
15048
15049 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15050 0x0f07ff.
15051
15052 2016-06-28 Yao Qi <yao.qi@linaro.org>
15053
15054 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15055 triplets. Start gdb, execute catch syscall, and continue. Check
15056 gdb's output to determine catch syscall is supported.
15057
15058 2016-06-27 Manish Goregaokar <manish@mozilla.com>
15059
15060 * gdb.rust/simple.rs: Add test for returning unit in a function.
15061 * gdb.rust/simple.exp: Add expectation for functions returning
15062 unit.
15063
15064 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15065
15066 * gdb.python/py-breakpoint-create-fail.c,
15067 gdb.python/py-breakpoint-create-fail.exp,
15068 gdb.python/py-breakpoint-create-fail.py: New testcase.
15069
15070 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15071
15072 PR gdb/20239
15073 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15074 * gdb.rust/simple.exp: Add test expectations for new NonZero
15075 tests.
15076
15077 2016-06-24 David Taylor <dtaylor@emc.com>
15078
15079 * gdb.base/offsets.exp: New file.
15080 * gdb.base/offsets.c: New file.
15081
15082 2016-06-23 Tom Tromey <tom@tromey.com>
15083
15084 PR gdb/16483:
15085 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15086 before any filters are loaded.
15087
15088 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15089
15090 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15091 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15092 structs.
15093 * gdb.fortran/derived-type-function.exp: New file.
15094 * gdb.fortran/derived-type-function.f90: New file.
15095
15096
15097 2016-06-21 Pedro Alves <palves@redhat.com>
15098
15099 * gdb.base/new-ui.exp: New file.
15100 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15101 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15102 (with_spawn_id): New procedure.
15103
15104 2016-06-21 Pedro Alves <palves@redhat.com>
15105
15106 * gdb.mi/mi-exec-run.exp: New file.
15107
15108 2016-06-21 Pedro Alves <palves@redhat.com>
15109
15110 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15111 breakpoint command's output on the main UI.
15112 (test_break): New procedure, factored out from calls in the top
15113 level.
15114 (top level): Use foreach_with_prefix to test MI as main UI and as
15115 separate UI.
15116
15117 2016-06-21 Pedro Alves <palves@redhat.com>
15118
15119 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15120 (test_awatch_creation_and_listing)
15121 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15122 Remove 'type' parameter.
15123 (test_watchpoint_all): New parameter mi_mode. Remove
15124 with_test_prefix.
15125 (top level): Use foreach_with_prefix, and add main/separate UI MI
15126 testing axis.
15127
15128 2016-06-21 Pedro Alves <palves@redhat.com>
15129
15130 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15131 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15132 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15133 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15134 (gdb_main_spawn_id, mi_spawn_id): Declare and
15135 comment.
15136 (mi_create_inferior_pty): New procedure,
15137 factored out from default_mi_gdb_start.
15138 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15139 procedures.
15140 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15141 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15142 Use mi_create_inferior_pty.
15143 (mi_gdb_start): Use eval to pass down args list.
15144
15145 2016-06-21 Pedro Alves <palves@redhat.com>
15146
15147 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15148 * gdb.opt/inline-cmds.exp: Add MI tests.
15149
15150 2016-06-21 Pedro Alves <palves@redhat.com>
15151
15152 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15153
15154 2016-06-21 Pedro Alves <palves@redhat.com>
15155
15156 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15157 (top level): Use it instead of mi_execute_to.
15158
15159 2016-06-21 Pedro Alves <palves@redhat.com>
15160
15161 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15162 (cont_handler_str): New.
15163 (signal_stop_handler): Set stop_handler_str instead of printing to
15164 stdout.
15165 (continue_handler): Set cont_handler_str instead of printing to
15166 stdout.
15167 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15168 mi_send_resuming_command. Print stop_handler_str and
15169 cont_handler_str instead of expecting the python events print
15170 directly.
15171
15172 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15173
15174 * gdb.base/jit-reader.exp: New file.
15175 * gdb.base/jithost.c: New file.
15176 * gdb.base/jithost.h: New file.
15177 * gdb.base/jitreader.c : New file.
15178 * gdb.base/jit-protocol.h: New file.
15179
15180 2016-06-17 Yao Qi <yao.qi@linaro.org>
15181
15182 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15183 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15184 and detach-on-fork. Adjust tests.
15185 (top level): Invoke break_cond_on_syscall with combinations of
15186 syscall, follow-fork-mode and detach-on-fork.
15187
15188 2016-06-17 Yao Qi <yao.qi@linaro.org>
15189
15190 * gdb.base/step-over-exit.c: New.
15191 * gdb.base/step-over-exit.exp: New.
15192
15193 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15194
15195 * gdb.base/float.exp: Add target check for nds32*-*-*.
15196 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15197
15198 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15199
15200 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15201 for unsupported target features.
15202 * gdb.base/call-rt-st.exp: Likewise.
15203 * gdb.base/call-sc.exp: Likewise.
15204 * gdb.base/call-signal-resume.exp: Likewise.
15205 * gdb.base/call-strs.exp: Likewise.
15206 * gdb.base/callexit.exp: Likewise.
15207 * gdb.base/callfuncs.exp: Likewise.
15208 * gdb.base/nodebug.exp: Likewise.
15209 * gdb.base/printcmds.exp: Likewise.
15210 * gdb.base/ptype.exp: Likewise.
15211 * gdb.base/structs.exp: Likewise.
15212 * gdb.base/unwindonsignal.exp: Likewise.
15213 * gdb.cp/gdb2495.exp: Likewise.
15214 * gdb.cp/templates.exp: Likewise.
15215 * gdb.cp/virtfunc.exp: Likewise.
15216 * gdb.threads/hand-call-in-threads.exp: Likewise.
15217 * gdb.threads/interrupted-hand-call.exp: Likewise.
15218 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15219
15220 2016-06-10 Tom Tromey <tom@tromey.com>
15221
15222 PR rust/20110:
15223 * gdb.rust/expr.exp: Add test for integer constant larger than
15224 i32.
15225
15226 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15227
15228 * gdb.fortran/nested-funcs.exp: New.
15229 * gdb.fortran/nested-funcs.f90: New.
15230
15231 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15232
15233 * gdb.base/examine-backward.c: New file.
15234 * gdb.base/examine-backward.exp: New file.
15235
15236 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15237
15238 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15239 matching.
15240
15241 2016-06-02 Tom Tromey <tom@tromey.com>
15242
15243 PR python/18984:
15244 * gdb.python/py-shared.exp: Add solib_name test.
15245
15246 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15247
15248 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15249
15250 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15251
15252 PR c++/19893
15253 * gdb.dwarf2/implref.exp: Rename to...
15254 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15255 * gdb.dwarf2/implref-array.c: New file.
15256 * gdb.dwarf2/implref-array.exp: Likewise.
15257 * gdb.dwarf2/implref-global.c: Likewise.
15258 * gdb.dwarf2/implref-global.exp: Likewise.
15259 * gdb.dwarf2/implref-struct.c: Likewise.
15260 * gdb.dwarf2/implref-struct.exp: Likewise.
15261
15262 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15263
15264 * gdb.trace/trace-condition.exp: Add 64bit tests.
15265
15266 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15267
15268 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15269 bits types.
15270 (main): Adapt to 8 to 64 bits types.
15271 * gdb.trace/trace-condition.exp: Add new tests.
15272
15273 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15274
15275 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15276
15277 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15278
15279 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15280 Move condition tests...
15281 * gdb.trace/trace-condition.exp: Here.
15282
15283 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15284
15285 * gdb.trace/trace-condition.exp: Add counter-case tests.
15286
15287 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15288
15289 PR c++/15231
15290 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15291 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15292
15293 2016-05-27 Pedro Alves <palves@redhat.com>
15294
15295 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15296 New procedure.
15297 (top level): Call it, and bail out of DejaGnu is known to be bad.
15298
15299 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15300
15301 * gdb.base/whatis.c: Extend the test case.
15302 * gdb.base/whatis.exp: Add additional tests.
15303
15304 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15305
15306 * gdb.fortran/type.f90: Add pointer variable.
15307 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15308
15309 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15310
15311 * gdb.fortran/vla-type.exp: Fix testcase name.
15312
15313 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15314
15315 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15316
15317 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15318
15319 * gdb.fortran/type.f90: Add nested structures.
15320 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15321 * gdb.fortran/derived-type.exp: Adapt expected output.
15322 * gdb.fortran/vla-type.exp: Adapt expected output.
15323
15324 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15325
15326 * gdb.fortran/whatis_type.exp: Adapt expected output.
15327
15328 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15329
15330 * gdb.fortran/print_type.exp: Fix expected output.
15331 * gdb.fortran/whatis_type.exp: Fix expected output.
15332
15333 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15334
15335 * gdb.fortran/whatis_type.exp: Use multi_line.
15336
15337 2016-05-24 Tom Tromey <tom@tromey.com>
15338
15339 PR python/17386:
15340 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15341 use value as an index.
15342
15343 2016-05-23 Tom Tromey <tom@tromey.com>
15344
15345 PR python/17981:
15346 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15347 no-breakpoint case.
15348
15349 2016-05-24 Pedro Alves <palves@redhat.com>
15350
15351 PR gdb/19828
15352 * gdb.threads/clone-attach-detach.c: New file.
15353 * gdb.threads/clone-attach-detach.exp: New file.
15354
15355 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15356
15357 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15358
15359 2016-05-23 Tom Tromey <tom@tromey.com>
15360
15361 PR python/19438, PR python/18393:
15362 * gdb.python/py-progspace.exp: Add "dir" test.
15363 * gdb.python/py-objfile.exp: Add "dir" test.
15364
15365 2016-05-23 Yao Qi <yao.qi@linaro.org>
15366
15367 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15368 * gdb.arch/thumb2-it.exp: Likewise.
15369
15370 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15371
15372 * gdb.mi/mi-threads-interrupt.c: New file.
15373 * gdb.mi/mi-threads-interrupt.exp: New file.
15374
15375 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15376
15377 PR gdb/18077
15378 * gdb.mi/mi-async-run.exp: New file.
15379 * gdb.mi/mi-async-run.c: New file.
15380
15381 2016-05-17 Tom Tromey <tom@tromey.com>
15382 Manish Goregaokar <manishsmail@gmail.com>
15383
15384 * lib/rust-support.exp: New file.
15385 * lib/gdb.exp (skip_rust_tests): New proc.
15386 (build_executable_from_specs): Handle rust.
15387 * lib/future.exp (gdb_find_rustc): New proc.
15388 (gdb_default_target_compile): Handle rust.
15389 * gdb.rust/expr.exp: New file.
15390 * gdb.rust/generics.exp: New file.
15391 * gdb.rust/generics.rs: New file.
15392 * gdb.rust/methods.exp: New file.
15393 * gdb.rust/methods.rs: New file.
15394 * gdb.rust/modules.exp: New file.
15395 * gdb.rust/modules.rs: New file.
15396 * gdb.rust/simple.exp: New file.
15397 * gdb.rust/simple.rs: New file.
15398
15399 2016-05-17 Tom Tromey <tom@tromey.com>
15400
15401 * gdb.base/default.exp (set language): Add rust.
15402
15403 2016-05-17 Tom Tromey <tom@tromey.com>
15404
15405 * gdb.gdb/unittest.exp: New file.
15406
15407 2016-05-16 Yao Qi <yao.qi@linaro.org>
15408
15409 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15410 shell_prompt. Update shell_prompt_re.
15411
15412 2016-05-12 Doug Evans <dje@google.com>
15413
15414 PR symtab/19999
15415 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15416 $options when building executable.
15417 * gdb.dwarf2/fission-loclists-pie.S: New file.
15418 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15419
15420 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15421
15422 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15423 of [is_remote target],
15424
15425 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15426
15427 * lib/gdb.exp (use_gdb_stub): New procedure.
15428
15429 2016-05-03 Yunlian Jiang <yunlian@google.com>
15430 Doug Evans <dje@google.com>
15431
15432 PR symtab/19914
15433 * gdb.dwarf2/dwp-sepdebug.c: New file.
15434 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15435
15436 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15437
15438 * gdb.base/detach.exp: Remove is_remote check.
15439
15440 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15441
15442 * gdb.base/annota-input-while-running.exp: Don't check for
15443 [is_remote target]. Enable annotations after running to main.
15444 Remove unused "set test..." line.
15445
15446 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15447
15448 * gdb.trace/trace-enable-disable.exp: New file.
15449 * gdb.trace/trace-enable-disable.c: New file.
15450
15451 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15452
15453 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15454 use it in info sharedlibrary test.
15455 * gdb.trace/ftrace-lock.exp: Likewise.
15456 * gdb.trace/ftrace.exp: Likewise.
15457 * gdb.trace/range-stepping.exp: Likewise.
15458 * gdb.trace/trace-break.exp: Likewise.
15459 * gdb.trace/trace-condition.exp: Likewise.
15460 * gdb.trace/trace-mt.exp: Likewise.
15461
15462 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15463
15464 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15465 (gdb_load_shlib): ... this.
15466 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15467 gdb_load_shlib.
15468 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15469 * gdb.base/ctxobj.exp: Likewise.
15470 * gdb.base/dprintf-pending.exp: Likewise.
15471 * gdb.base/dso2dso.exp: Likewise.
15472 * gdb.base/fixsection.exp: Likewise.
15473 * gdb.base/gcore-relro.exp: Likewise.
15474 * gdb.base/gdb1555.exp: Likewise.
15475 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15476 * gdb.base/gnu-ifunc.exp: Likewise.
15477 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15478 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15479 * gdb.base/pending.exp: Likewise.
15480 * gdb.base/print-file-var.exp: Likewise.
15481 * gdb.base/print-symbol-loading.exp: Likewise.
15482 * gdb.base/shlib-call.exp: Likewise.
15483 * gdb.base/shreloc.exp: Likewise.
15484 * gdb.base/so-impl-ld.exp: Likewise.
15485 * gdb.base/solib-disc.exp: Likewise.
15486 * gdb.base/solib-nodir.exp: Likewise.
15487 * gdb.base/solib-overlap.exp: Likewise.
15488 * gdb.base/solib-symbol.exp: Likewise.
15489 * gdb.base/solib-weak.exp (do_test): Likewise.
15490 * gdb.base/sym-file.exp: Likewise.
15491 * gdb.base/symtab-search-order.exp: Likewise.
15492 * gdb.base/type-opaque.exp: Likewise.
15493 * gdb.base/unload.exp: Likewise.
15494 * gdb.base/watchpoint-solib.exp: Likewise.
15495 * gdb.compile/compile.exp: Likewise.
15496 * gdb.cp/gdb2384.exp: Likewise.
15497 * gdb.cp/infcall-dlopen.exp: Likewise.
15498 * gdb.cp/re-set-overloaded.exp: Likewise.
15499 * gdb.fortran/library-module.exp: Likewise.
15500 * gdb.opt/solib-intra-step.exp: Likewise.
15501 * gdb.python/py-finish-breakpoint.exp: Likewise.
15502 * gdb.python/py-shared.exp: Likewise.
15503 * gdb.reverse/solib-precsave.exp: Likewise.
15504 * gdb.reverse/solib-reverse.exp: Likewise.
15505 * gdb.server/solib-list.exp: Likewise.
15506 * gdb.threads/dlopen-libpthread.exp: Likewise.
15507 * gdb.threads/tls-shared.exp: Likewise.
15508 * gdb.threads/tls-so_extern.exp: Likewise.
15509 * gdb.trace/change-loc.exp: Likewise.
15510 * gdb.trace/ftrace-lock.exp: Likewise.
15511 * gdb.trace/ftrace.exp: Likewise.
15512 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15513 * gdb.trace/pending.exp: Likewise.
15514 * gdb.trace/range-stepping.exp: Likewise.
15515 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15516 (strace_info_marker): Likewise.
15517 (strace_probe_marker): Likewise.
15518 (strace_trace_on_same_addr): Likewise.
15519 (strace_trace_on_diff_addr): Likewise.
15520 * gdb.trace/trace-break.exp: Likewise.
15521 * gdb.trace/trace-condition.exp: Likewise.
15522 * gdb.trace/trace-mt.exp: Likewise.
15523
15524 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15525
15526 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15527 result of gdb_remote_download.
15528 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15529 * gdb.base/dso2dso.exp: Likewise.
15530 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15531 * gdb.base/print-file-var.exp: Likewise.
15532 * gdb.base/shlib-call.exp: Likewise.
15533 * gdb.base/shreloc.exp: Likewise.
15534 * gdb.base/solib-overlap.exp: Likewise.
15535 * gdb.base/solib-weak.exp (do_test): Likewise.
15536 * gdb.base/unload.exp: Likewise.
15537
15538 2016-04-27 Yao Qi <yao.qi@linaro.org>
15539
15540 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15541 exists.
15542
15543 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15544
15545 * vla-type.exp: Print structure from toplevel.
15546
15547 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15548
15549 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15550 of dynamic types.
15551 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15552 of dynamic types.
15553
15554 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15555
15556 * gdb.fortran/vla-type.f90: New file.
15557 * gdb.fortran/vla-type.exp: New file.
15558
15559 2016-04-25 Yao Qi <yao.qi@linaro.org>
15560
15561 * gdb.base/branch-to-self.c: New file.
15562 * gdb.base/branch-to-self.exp: New file.
15563
15564 2016-04-22 Yao Qi <yao.qi@linaro.org>
15565
15566 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15567 more after $hex.
15568
15569 2016-04-22 Yao Qi <yao.qi@linaro.org>
15570
15571 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15572 * gdb.base/annota3.exp: Likewise.
15573
15574 2016-04-22 Yao Qi <yao.qi@linaro.org>
15575
15576 * gdb.reverse/step-precsave.exp: Do one step and test program
15577 stops in "callee" and do multiple steps until program goes out
15578 of "callee".
15579 * gdb.reverse/step-reverse.exp: Likewise.
15580
15581 2016-04-22 Yao Qi <yao.qi@linaro.org>
15582
15583 * gdb.trace/signal.exp: Also pass if
15584 $tracepoint_hits($i) > $iterations.
15585
15586 2016-04-22 Yao Qi <yao.qi@linaro.org>
15587
15588 * gdb.trace/signal.c: New file.
15589 * gdb.trace/signal.exp: New file.
15590
15591 2016-04-19 Doug Evans <xdje42@gmail.com>
15592
15593 * gdb.base/bad-file.exp: New file.
15594
15595 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15596
15597 * gdb.dwarf2/implref.exp: New file.
15598
15599 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15600
15601 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15602 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15603 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15604 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15605 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15606 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15607 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15608 * lib/fortran.exp (fortran_int4): New procedure.
15609 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15610 (fortran_logical4): Likewise.
15611
15612 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15613
15614 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15615
15616 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15617
15618 * lib/compiler.c: Add Intel specific preprocessor macros.
15619 * lib/compiler.cc: Likewise.
15620
15621 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
15622
15623 * gdb.server/connect-with-no-symbol-file.c: New file.
15624 * gdb.server/connect-with-no-symbol-file.exp: New file.
15625
15626 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15627
15628 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15629
15630 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15631
15632 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15633 standard output directory.
15634
15635 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15636
15637 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15638
15639 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15640
15641 * gdb.btrace/instruction_history.c (loop): Add declaration.
15642
15643 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15644
15645 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15646
15647 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15648
15649 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15650 parentheses to print.
15651 (continue_handler): Likewise.
15652
15653 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15654
15655 * gdb.server/solib-list.exp: Remove is_remote check.
15656 Pass shlib= to gdb_compile. Don't link shared library with
15657 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15658 Run binary filename through "readlink -f" on the target.
15659
15660 2016-04-08 Pedro Alves <palves@redhat.com>
15661
15662 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15663 interpreter filename as argument to gdbserver_spawn.
15664 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15665 Return empty if $last_loaded_file does not exist.
15666
15667 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15668
15669 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15670 * gdb.base/jit-main.c: Use exit after usage.
15671
15672 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15673
15674 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15675 GDBHISTSIZE prior to the tests.
15676 * gdb.base/gdbinit-history.exp: Likewise.
15677
15678 2016-04-07 Pedro Alves <palves@redhat.com>
15679
15680 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15681 instead of build_executable. Use gdb_load_shlibs.
15682
15683 2016-04-07 Yao Qi <yao.qi@linaro.org>
15684
15685 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15686 Execute "si" command.
15687
15688 2016-04-07 Yao Qi <yao.qi@linaro.org>
15689
15690 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15691 number instead of the comments on some line.
15692
15693 2016-04-06 Don Breazeal <donb@codesourcery.com>
15694
15695 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15696 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15697
15698 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15699
15700 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15701 standard_output_file. Remove unused binfile variable.
15702
15703 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
15704
15705 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15706 * gdb.python/py-mi-objfile.exp: Match "list main" output
15707 in console format.
15708
15709 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15710
15711 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15712 absolute.
15713
15714 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15715
15716 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15717 absolute.
15718 * gdb.trace/ftrace.exp: Likewise.
15719 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15720 targets as well.
15721 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15722 (gdb_load_shlibs): Copy libraries to test directory when testing
15723 natively. Only set solib-search-path if testing remotely.
15724 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15725
15726 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15727
15728 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15729 gdb_download. Use it even if the target is not remote.
15730 * gdb.base/jit.exp (compile_jit_test): Likewise.
15731 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15732 output directory if the destination board is local, otherwise use
15733 the standard remote_download from DejaGnu.
15734 (gdb_download): Remove.
15735 (gdb_load_shlibs): Use gdb_remote_download instead of
15736 gdb_download.
15737 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15738 Use gdb_remote_download instead of gdb_download. Use it even if
15739 the target is not remote.
15740 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15741 instead of gdb_download.
15742
15743 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15744
15745 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15746 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15747 run.
15748
15749 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
15750
15751 PR gdb/19820
15752 * gdb.base/printcmds.exp: Add artificial arrays tests.
15753
15754 2016-03-31 Pedro Alves <palves@redhat.com>
15755
15756 PR gdb/19858
15757 * gdb.base/jit-main.c: Include unistd.h.
15758 (ATTACH): Define to 0 if not already defined.
15759 (wait_for_gdb, mypid): New globals.
15760 (WAIT_FOR_GDB): New macro.
15761 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15762 some breakpoint locations.
15763 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15764 New procedures.
15765 (one_jit_test): Add REATTACH parameter, and handle it. Use
15766 continue_to_test_location.
15767 (top level): Test attach, and adjusts calls to one_jit_test.
15768
15769 2016-03-31 Pedro Alves <palves@redhat.com>
15770
15771 PR gdb/19858
15772 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15773 BINSUFFIX parameter, and handle it.
15774 (top level): Adjust calls compile_jit_test.
15775
15776 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
15777
15778 PR python/19743
15779 * gdb.python/py-mi-events-gdb.py: New file.
15780 * gdb.python/py-mi-events.c: New file.
15781 * gdb.python/py-mi-events.exp: New file.
15782
15783 2016-03-30 Yao Qi <yao.qi@linaro.org>
15784
15785 * gdb.reverse/until-precsave.exp: Match function name only.
15786 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15787 Move malloc to a condition block.
15788 * gdb.reverse/until-reverse.exp: Match function name only.
15789
15790 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15791
15792 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15793 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15794 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15795 variable for GPR 0 instead of assuming it is register 0.
15796 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15797 * lib/trace-support.exp: Add s390 registers.
15798
15799 2016-03-29 Yao Qi <yao.qi@linaro.org>
15800
15801 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15802
15803 2016-03-24 Yao Qi <yao.qi@linaro.org>
15804
15805 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15806 test message.
15807
15808 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15809
15810 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15811 maintaining separate logic for constructing the output path.
15812
15813 2016-03-16 Don Breazeal <donb@codesourcery.com>
15814
15815 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15816 Retry fork and waitpid on interrupted system call errors.
15817 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15818 Use with_timeout_factor to increase timeout by factor of 10.
15819
15820 2016-03-15 Don Breazeal <donb@codesourcery.com>
15821
15822 * gdb.cp/scope-err.cc: New test program.
15823 * gdb.cp/scope-err.exp: New test script.
15824 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15825 lines and "set breakpoint here" comment.
15826 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15827 Fixed some whitespace and format issues.
15828 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15829 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15830
15831 2016-03-15 Doug Evans <dje@google.com>
15832
15833 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15834 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15835 All callers updated. Add tests for enums, mixed flags register.
15836
15837 2016-03-15 Doug Evans <dje@google.com>
15838
15839 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15840 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15841
15842 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15843
15844 * gdb.base/default.exp: Add $_as_string to the list of expected
15845 convenience functions.
15846
15847 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15848
15849 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15850
15851 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15852
15853 * gdb.python/py-as-string.exp: New file.
15854 * gdb.python/py-as-string.c: New file.
15855
15856 2016-03-09 Pedro Alves <palves@redhat.com>
15857
15858 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15859 signal" -> "Thread NN received signal" output change.
15860 * gdb.threads/ia64-sigill.exp: Likewise.
15861 * gdb.threads/linux-dp.exp: Likewise.
15862 * gdb.threads/manythreads.exp: Likewise.
15863 * gdb.threads/pending-step.exp: Likewise.
15864 * gdb.threads/print-threads.exp: Likewise.
15865 * gdb.threads/sigstep-threads.exp: Likewise.
15866 * gdb.threads/staticthreads.exp: Likewise.
15867 * gdb.threads/tls.exp: Likewise.
15868
15869 2016-03-09 Pedro Alves <palves@redhat.com>
15870
15871 * gdb.base/command-line-input.exp: New file.
15872
15873 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15874
15875 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15876 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15877 * gdb.trace/pending.exp: Accept leading dot before function name.
15878 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15879 * lib/trace-support.exp: Set registers for ppc.
15880
15881 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15882
15883 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15884 use it for disassembly; accept .main in addition to main in backtrace.
15885
15886 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
15887 Marcin Kościelnicki <koriakin@0x04.net>
15888
15889 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15890 (gdb_recursion_test_ptr): New global variable.
15891 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15892 gdb_recursion_test.
15893 (gdb_c_test): Ditto.
15894
15895 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15896
15897 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15898 ordering.
15899
15900 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15901
15902 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15903 (bar): Add bar_start_lbl label.
15904 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15905 of foo/bar for emitting DWARF and tracing.
15906
15907 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15908
15909 * analyze-racy-logs.py: Set executable bit.
15910
15911 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15912
15913 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15914 (CHECK_TARGET_TMP): Likewise.
15915 (check-single-racy): New rule.
15916 (check-parallel-racy): Likewise.
15917 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15918 (do-check-parallel-racy): New rule.
15919 (check-racy/%.exp): Likewise.
15920 * README (Racy testcases): New section.
15921 * analyze-racy-logs.py: New file.
15922
15923 2016-03-03 Doug Evans <dje@google.com>
15924
15925 * gdb.base/skip.exp: Use with_test_prefix.
15926
15927 2016-03-03 Yao Qi <yao.qi@linaro.org>
15928
15929 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15930 Invoke step_over_syscall "clone" and break_cond_on_syscall
15931 "clone".
15932 * gdb.base/step-over-clone.c: New file.
15933
15934 2016-03-03 Yao Qi <yao.qi@linaro.org>
15935
15936 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15937 code format.
15938
15939 2016-03-03 Yao Qi <yao.qi@linaro.org>
15940
15941 * gdb.base/disp-step-fork.c: Rename to ...
15942 * gdb.base/step-over-fork.c: ... it. New file.
15943 * gdb.base/disp-step-vfork.c: Rename to ...
15944 * gdb.base/step-over-vfork.c: ... it. New file.
15945 * gdb.base/disp-step-syscall.exp: Rename to ...
15946 * gdb.base/step-over-syscall.exp: ... it. New file.
15947 (disp_step_cross_syscall): Rename to ...
15948 (step_over_syscall): ... it.
15949
15950 2016-03-03 Yao Qi <yao.qi@linaro.org>
15951
15952 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15953 If target supports condition evaluation on target, invoke
15954 break_cond_on_syscall for fork and vfork.
15955
15956 2016-03-03 Yao Qi <yao.qi@linaro.org>
15957
15958 * gdb.base/disp-step-syscall.exp: Don't invoke
15959 support_displaced_stepping.
15960 (disp_step_cross_syscall): Test with displaced stepping off and
15961 on if supported.
15962
15963 2016-03-03 Yao Qi <yao.qi@linaro.org>
15964
15965 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15966 proc.
15967 (setup): New proc.
15968 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15969 and setup.
15970
15971 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15972
15973 * gdb.fortran/vla-history.exp: Remove breakpoint.
15974
15975 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15976
15977 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15978 exceeds timeout.
15979
15980 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15981
15982 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15983 breakpoint.
15984
15985 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15986
15987 * gdb.mi/vla.f90: Nullify pointer after declaration.
15988
15989 2016-03-01 Pedro Alves <palves@redhat.com>
15990
15991 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15992
15993 2016-03-01 Pedro Alves <palves@redhat.com>
15994
15995 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15996 before anything else.
15997 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15998 _GNU_SOURCE here.
15999 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16000 before anything else.
16001 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16002
16003 2016-03-01 Pedro Alves <palves@redhat.com>
16004
16005 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16006
16007 2016-03-01 Yao Qi <yao.qi@linaro.org>
16008
16009 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16010 prepare_for_testing.
16011
16012 2016-03-01 Yao Qi <yao.qi@linaro.org>
16013
16014 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16015
16016 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16017
16018 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16019 manually constructing the output path.
16020
16021 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16022
16023 * gdb.arch/s390-stackless.S: New.
16024 * gdb.arch/s390-stackless.exp: New.
16025
16026 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16027
16028 * gdb.dlang/circular.c: New file.
16029 * gdb.dlang/circular.exp: New file.
16030
16031 2016-02-26 Yao Qi <yao.qi@linaro.org>
16032
16033 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16034 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16035 (testcases): Update.
16036
16037 2016-02-26 Yao Qi <yao.qi@linaro.org>
16038
16039 * gdb.reverse/aarch64.c: Rename to ...
16040 * gdb.reverse/insn-reverse.c: ... it.
16041 * gdb.reverse/aarch64.exp: Rename to ...
16042 * gdb.reverse/insn-reverse.exp: ... it.
16043
16044 2016-02-26 Yao Qi <yao.qi@linaro.org>
16045
16046 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16047 (testcase_ftype): New.
16048 (testcases): New array.
16049 (n_testcases): New.
16050 (main): Call each element in testcases.
16051 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16052 (read_testcase): New.
16053 Do the tests in a loop.
16054
16055 2016-02-25 Yao Qi <yao.qi@linaro.org>
16056
16057 * gdb.base/branches.c: Remove.
16058
16059 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16060
16061 PR gdb/13808
16062 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16063
16064 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16065
16066 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16067
16068 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16069
16070 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16071 change x86_64 call_insn to 'callq'.
16072
16073 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16074
16075 * gdb.trace/tfile-avx.c: Move to...
16076 * gdb.trace/tracefile-pseudo-reg.c: Here.
16077 * gdb.trace/tfile-avx.exp: Move to...
16078 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16079
16080 2016-02-24 Gary Benson <gbenson@redhat.com>
16081
16082 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16083 message on attach.
16084
16085 2016-02-23 Doug Evans <dje@google.com>
16086
16087 * gdb.base/skip.c (test_skip): New function.
16088 (end_test_skip_file_and_function): New function.
16089 (test_skip_file_and_function): New function.
16090 * gdb.base/skip1.c (test_skip): New function.
16091 (skip1_test_skip_file_and_function): New function.
16092 * gdb.base/skip.exp: Add tests for new skip options.
16093 * gdb.base/skip-solib.exp: Update expected output.
16094 * gdb.perf/skip-command.cc: New file.
16095 * gdb.perf/skip-command.exp: New file.
16096 * gdb.perf/skip-command.py: New file.
16097
16098 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16099
16100 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16101 info registers pattern.
16102
16103 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16104
16105 * lib/future.exp: Add D support.
16106 (gdb_find_gdc): New proc.
16107 (gdb_default_target_compile): Add D support.
16108
16109 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
16110
16111 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16112 user+system time.
16113 (trace_speed_test): Determine the iteration count for a time
16114 between 15..30 seconds.
16115
16116 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16117
16118 * gdb.arch/i386-mpx-sigsegv.c: New file.
16119 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16120 * gdb.arch/i386-mpx-simple_segv.c: New file.
16121 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16122
16123 2016-02-18 Yao Qi <yao.qi@linaro.org>
16124
16125 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16126 Don't call setup_kfail.
16127
16128 2016-02-18 Yao Qi <yao.qi@linaro.org>
16129
16130 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16131 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16132
16133 2016-02-16 Doug Evans <dje@google.com>
16134
16135 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16136 * gdb.base/skip1.c: Ditto.
16137 * gdb.base/skip.exp: Whitespace cleanup.
16138
16139 2016-02-16 Don Breazeal <donb@codesourcery.com>
16140
16141 PR remote/19496
16142 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16143 Remove kfail for PR remote/19496.
16144
16145 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16146
16147 * lib/gdb.exp (standard_temp_file): Return a path specific to
16148 the runtest invocation.
16149
16150 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16151
16152 * gdb.trace/save-trace.exp: Change relative path to be in the
16153 standard output directory.
16154
16155 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16156
16157 * gdb.arch/i386-prologue.c: Add missing prototypes.
16158
16159 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16160
16161 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16162 * gdb.arch/i386-prologue.exp: Likewise.
16163 * gdb.arch/i386-size.exp: Likewise.
16164
16165 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16166
16167 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16168 define object file path.
16169 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16170 file path.
16171 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16172 standard_output_file to define binfile.
16173
16174 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16175
16176 Fix compatibility with recent gfortran-5.3.1.
16177 * gdb.fortran/vla-history.exp (print vla1 allocated)
16178 (print vla2 allocated, print $2, print $3): Remove
16179 (print $4): Rename to ...
16180 (print $2): ... here.
16181 (print $9): Rename to ...
16182 (print $5): ... here.
16183 (print $10): Rename to ...
16184 (print $6): ... here.
16185 * gdb.fortran/vla.f90: Add pvla initialization.
16186
16187 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16188
16189 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16190 New test.
16191 * gdb.fortran/vla-value-sub.exp: Likewise.
16192
16193 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16194
16195 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16196
16197 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16198
16199 * i386-biarch-core.exp: Define corefile using
16200 standard_output_file.
16201
16202 2016-02-12 Yao Qi <yao.qi@linaro.org>
16203
16204 * gdb.arch/arm-single-step-kernel-helper.c: New.
16205 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16206
16207 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16208
16209 * gdb.btrace/tailcall-only.exp: New.
16210 * gdb.btrace/tailcall-only.c: New.
16211 * gdb.btrace/x86_64-tailcall-only.S: New.
16212 * gdb.btrace/i686-tailcall-only.S: New.
16213
16214 2016-02-11 Pedro Alves <palves@redhat.com>
16215
16216 * README (Parallel testing): Add missing double quotes.
16217
16218 2016-02-11 Pedro Alves <palves@redhat.com>
16219
16220 * README (Parallel testing): New section.
16221 (GDB_PARALLEL): Rewrite.
16222 (FORCE_PARALLEL): Document.
16223
16224 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16225
16226 * gdb.trace/tfile-avx.c: New test.
16227 * gdb.trace/tfile-avx.exp: New test.
16228
16229 2016-02-09 Keith Seitz <keiths@redhat.com>
16230
16231 PR breakpoints/19546
16232 * gdb.base/infcall-exec.c: New file.
16233 * gdb.base/infcall-exec2.c: New file.
16234 * gdb.base/infcall-exec.exp: New file.
16235
16236 2016-02-09 Keith Seitz <keiths@redhat.com>
16237
16238 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16239 (toplevel): Call test_bkpt_address.
16240
16241 2016-02-09 Keith Seitz <keiths@redhat.com>
16242
16243 PR python/19506
16244 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16245 (toplevel): Call test_bkpt_address.
16246
16247 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16248
16249 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16250 to AC_OUTPUT.
16251 * configure: Regenerate.
16252
16253 2016-02-09 Pedro Alves <palves@redhat.com>
16254
16255 PR breakpoints/19548
16256 * gdb.base/execl-update-breakpoints.c (some_function): New
16257 function.
16258 (main): Call it.
16259 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16260 Tighten expected GDB output.
16261
16262 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16263
16264 * Makefile.in (ALL_SUBDIRS): Remove.
16265 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16266 (distclean maintainer-clean realclean): Likewise.
16267 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16268 * configure: Regenerate.
16269 * gdb.ada/Makefile.in: Delete.
16270 * gdb.arch/Makefile.in: Likewise.
16271 * gdb.asm/Makefile.in: Likewise.
16272 * gdb.base/Makefile.in: Likewise.
16273 * gdb.btrace/Makefile.in: Likewise.
16274 * gdb.cell/Makefile.in: Likewise.
16275 * gdb.compile/Makefile.in: Likewise.
16276 * gdb.cp/Makefile.in: Likewise.
16277 * gdb.disasm/Makefile.in: Likewise.
16278 * gdb.dlang/Makefile.in: Likewise.
16279 * gdb.dwarf2/Makefile.in: Likewise.
16280 * gdb.fortran/Makefile.in: Likewise.
16281 * gdb.gdb/Makefile.in: Likewise.
16282 * gdb.go/Makefile.in: Likewise.
16283 * gdb.guile/Makefile.in: Likewise.
16284 * gdb.java/Makefile.in: Likewise.
16285 * gdb.linespec/Makefile.in: Likewise.
16286 * gdb.mi/Makefile.in: Likewise.
16287 * gdb.modula2/Makefile.in: Likewise.
16288 * gdb.multi/Makefile.in: Likewise.
16289 * gdb.objc/Makefile.in: Likewise.
16290 * gdb.opencl/Makefile.in: Likewise.
16291 * gdb.opt/Makefile.in: Likewise.
16292 * gdb.pascal/Makefile.in: Likewise.
16293 * gdb.perf/Makefile.in: Likewise.
16294 * gdb.python/Makefile.in: Likewise.
16295 * gdb.reverse/Makefile.in: Likewise.
16296 * gdb.server/Makefile.in: Likewise.
16297 * gdb.stabs/Makefile.in: Likewise.
16298 * gdb.threads/Makefile.in: Likewise.
16299 * gdb.trace/Makefile.in: Likewise.
16300 * gdb.xml/Makefile.in: Likewise.
16301 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16302 GDB_PARALLEL.
16303 (standard_output_file): Remove check for GDB_PARALLEL, always
16304 return path in outputs/$subdir/$testname.
16305
16306 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16307
16308 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16309 (site.exp): Assign abs_srcdir to tcl's srcdir.
16310
16311 2016-02-04 Yao Qi <yao.qi@linaro.org>
16312
16313 * gdb.base/foll-exec-mode.c: Include limits.h.
16314 (main): Add parameters argc and argv. Get directory from
16315 argv[0].
16316 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16317 compilation.
16318 * gdb.base/foll-exec.c: Include limits.h.
16319 (main): Add parameters argc and argv.
16320 Get directory from argv[0].
16321 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16322 Adjust tests on the number of lines as source code changed.
16323 * gdb.base/foll-vfork-exit.c: Include limits.h.
16324 (main): Add one line of statement before vfork.
16325 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16326 (main): Add parameters argc and argv. Get directory from
16327 argv[0].
16328 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16329 (setup_gdb): Set tbreak to skip some source lines.
16330 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16331 (main): Add parameters argc and argv. Get directory from
16332 argv[0].
16333 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16334 compilation.
16335 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16336 (main): Add parameters argc and argv. Get directory from
16337 argv[0].
16338 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16339 compilation.
16340
16341 2016-02-01 Doug Evans <dje@google.com>
16342
16343 * gdb.base/skip.exp: Clean up multiple references to same test name.
16344
16345 2016-02-01 Pedro Alves <palves@redhat.com>
16346
16347 PR remote/19496
16348 * gdb.threads/forking-threads-plus-breakpoint.exp
16349 (displaced_stepping_supported): New global.
16350 (probe_displaced_stepping_support): New procedure.
16351 (do_test): Add 'displaced' parameter, and use it.
16352 (top level): Check for displaced stepping support. Add displaced
16353 stepping on/off testing axis.
16354
16355 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16356
16357 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16358 pointer. Don't perform further tests on the unassociated pointer
16359 if the first test fails.
16360
16361 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16362
16363 * gdb.base/max-value-size.c: New file.
16364 * gdb.base/max-value-size.exp: New file.
16365 * gdb.base/huge.exp: Disable max-value-size for this test.
16366
16367 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16368
16369 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16370
16371 2016-01-28 Yao Qi <yao.qi@linaro.org>
16372
16373 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16374
16375 2016-01-25 Pedro Alves <palves@redhat.com>
16376
16377 PR threads/19461
16378 * gdb.base/fork-running-state.c: New file.
16379 * gdb.base/fork-running-state.exp: New file.
16380
16381 2016-01-25 Pedro Alves <palves@redhat.com>
16382
16383 PR gdb/19494
16384 * gdb.base/catch-fork-kill.c: New file.
16385 * gdb.base/catch-fork-kill.exp: New file.
16386
16387 2016-01-25 Pedro Alves <palves@redhat.com>
16388
16389 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16390 Delete, moved to lib/gdb.exp.
16391 * gdb.threads/forking-threads-plus-breakpoint.exp
16392 (foreach_with_prefix): Likewise.
16393 * gdb.threads/process-dies-while-handling-bp.exp
16394 (foreach_with_prefix): Likewise.
16395 * lib/gdb.exp (foreach_with_prefix): New procedure.
16396
16397 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16398
16399 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16400 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16401
16402 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16403
16404 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16405 endian targets.
16406
16407 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16408 Pedro Alves <palves@redhat.com>
16409
16410 Fix testsuite compatibility with Guile.
16411 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16412 number.
16413
16414 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16415
16416 Fix testsuite compatibility with Guile.
16417 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16418 (thread 1): New test for backtrace through signal handler.
16419
16420 2016-01-22 Yao Qi <yao.qi@linaro.org>
16421
16422 PR testsuite/19491
16423 * gdb.base/multi-forks.c: Include
16424 ../lib/unbuffer_output.c
16425 (main): Call gdb_unbuffer_output.
16426
16427 2016-01-21 Doug Evans <dje@google.com>
16428
16429 * lib/ada.exp (gdb_compile_ada): Fix typo.
16430
16431 2016-01-21 Joel Brobecker <brobecker@adacore.com>
16432
16433 * gdb.base/break-fun-addr.exp: New file.
16434 * gdb.base/break-fun-addr1.c: New file.
16435 * gdb.base/break-fun-addr2.c: New file.
16436
16437 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16438
16439 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16440 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16441 enum flag values.
16442
16443 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16444
16445 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16446 when GDB can not set the vector return value. Add more comments
16447 for clarification.
16448
16449 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16450
16451 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16452 command.
16453
16454 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16455
16456 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16457
16458 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16459
16460 * Makefile.in (check-single): Pass --status to runtest.
16461 (check/%.exp): Likewise.
16462
16463 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16464
16465 * Makefile.in (check-parallel): Propagate return code from make
16466 do-check-parallel.
16467
16468 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16469
16470 * gdb.trace/ftrace.exp: Fix expected message on continue.
16471 * gdb.trace/pending.exp: Fix expected message on continue.
16472 * gdb.trace/trace-break.exp: Fix expected message on continue.
16473
16474 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16475
16476 * lib/gdb.exp (gdb_test): Remove unused global references.
16477
16478 2016-01-18 Pedro Alves <palves@redhat.com>
16479
16480 * gdb.base/async-shell.exp: Adjust expected output.
16481 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16482 * gdb.base/siginfo-thread.exp: Adjust expected output.
16483 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16484 * gdb.java/jnpe.exp: Adjust expected output.
16485 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16486 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16487 * gdb.threads/leader-exit.exp: Adjust expected output.
16488 * gdb.threads/manythreads.exp: Adjust expected output.
16489 * gdb.threads/pthreads.exp: Adjust expected output.
16490 * gdb.threads/schedlock.exp: Adjust expected output.
16491 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16492 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16493 expected output.
16494 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16495 output.
16496 * gdb.threads/sigthread.exp: Adjust expected output.
16497 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16498
16499 2016-01-18 Yao Qi <yao.qi@linaro.org>
16500
16501 * gdb.guile/scm-section-script.c: Replace @progbits with
16502 %progbits.
16503 * gdb.python/py-section-script.c: Likewise.
16504
16505 2016-01-15 Pedro Alves <palves@redhat.com>
16506
16507 * gdb.multi/tids.exp: Test star wildcard ranges.
16508
16509 2016-01-15 Pedro Alves <palves@redhat.com>
16510
16511 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16512 command from "thread apply" invocation.
16513 (thr_apply_info_thr_invalid): Default the expected output to the
16514 input tid list.
16515 (top level): Add tests that use convenience variables. Add tests
16516 for "thread apply" with a valid TID list, but missing the command.
16517
16518 2016-01-13 Pedro Alves <palves@redhat.com>
16519
16520 * gdb.base/default.exp: Expect $_gthread as well.
16521 * gdb.multi/tids.exp: Test $_gthread.
16522 * gdb.threads/thread-specific.exp: Test $_gthread.
16523
16524 2016-01-13 Pedro Alves <palves@redhat.com>
16525
16526 * gdb.multi/tids.exp: Test "info threads -gid".
16527
16528 2016-01-13 Pedro Alves <palves@redhat.com>
16529
16530 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16531 Breakpoint.thread.
16532 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16533
16534 2016-01-07 Pedro Alves <palves@redhat.com>
16535
16536 * gdb.base/break.exp: Adjust to output changes.
16537 * gdb.base/hbreak2.exp: Likewise.
16538 * gdb.base/sepdebug.exp: Likewise.
16539 * gdb.base/watch_thread_num.exp: Likewise.
16540 * gdb.linespec/keywords.exp: Likewise.
16541 * gdb.multi/info-threads.exp: Likewise.
16542 * gdb.threads/thread-find.exp: Likewise.
16543 * gdb.multi/tids.c: New file.
16544 * gdb.multi/tids.exp: New file.
16545
16546 2016-01-13 Pedro Alves <palves@redhat.com>
16547
16548 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16549
16550 2016-01-13 Pedro Alves <palves@redhat.com>
16551
16552 * gdb.base/default.exp: Expect $_inferior as well.
16553 * gdb.multi/base.exp: Test $_inferior.
16554
16555 2016-01-13 Pedro Alves <palves@redhat.com>
16556
16557 PR breakpoints/19388
16558 * gdb.base/catch-signal-siginfo-cond.c: New file.
16559 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16560
16561 2016-01-12 Josh Stone <jistone@redhat.com>
16562 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16563
16564 * gdb.base/catch-syscall.c (do_execve): New variable.
16565 (main): Conditionally trigger an execve.
16566 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16567 (test_catch_syscall_execve): New, check entry/return across execve.
16568 (do_syscall_tests): Call test_catch_syscall_execve.
16569
16570 2016-01-12 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.base/random-signal.exp (do_test): New procedure, with body
16573 of testcase moved in.
16574
16575 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16576 Pedro Alves <palves@redhat.com>
16577
16578 * gdb.base/funcargs.exp (finish from indirectly called function):
16579 Reintroduce the case for 'First'.
16580
16581 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16582 Pedro Alves <palves@redhat.com>
16583
16584 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16585 (tcatch_vfork_then_child_follow_exec)
16586 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16587 identification.
16588
16589 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16590
16591 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16592 and repeats to unlimited.
16593 * gdb.python/py-value.exp: Likewise.
16594 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16595 and repeats to unlimited.
16596
16597 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16598
16599 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16600 and reordering the functions.
16601 * gdb.multi/hangout.c: Likewise.
16602 * gdb.multi/hello.c: Likewise.
16603
16604 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16605
16606 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16607 absolute.
16608 (SingleStatisticTestResult.report): Use dict.keys instead of
16609 dict.iterkeys.
16610
16611 2016-01-06 Pedro Alves <palves@redhat.com>
16612
16613 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16614
16615 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16616
16617 * gdb.btrace/dlopen.exp: New.
16618 * gdb.btrace/dlopen.c: New.
16619 * gdb.btrace/dlopen-dso.c: New.
16620
16621 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16622
16623 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16624 PATTERN argument is optional.
16625
16626 2015-12-24 Joel Brobecker <brobecker@adacore.com>
16627
16628 * lib/ada.exp (target_compile_ada_from_dir): New function.
16629 (gdb_compile_ada): Reimplement avoiding the use of project files.
16630 * gdb.ada/gnat_ada.gpr: Delete.
16631 * gdb.ada/cond_lang.exp: Adjust test to make path before
16632 filename optional.
16633 * gdb.ada/small_reg_param.exp: Likewise.
16634
16635 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16636
16637 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16638
16639 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16640
16641 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16642 case.
16643
16644 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16645
16646 * gdb.base/break.exp: Remove dead code.
16647 * gdb.base/sepdebug.exp: Likewise.
16648
16649 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16650
16651 * gdb.asm/asm-source.exp: Remove HP-UX references.
16652 * gdb.base/annota1.exp: Likewise.
16653 * gdb.base/annota3.exp: Likewise.
16654 * gdb.base/attach.exp: Likewise.
16655 * gdb.base/bigcore.exp: Likewise.
16656 * gdb.base/break.exp: Likewise.
16657 * gdb.base/call-ar-st.exp: Likewise.
16658 * gdb.base/callfuncs.exp: Likewise.
16659 * gdb.base/catch-fork-static.exp: Likewise.
16660 * gdb.base/display.exp: Likewise.
16661 * gdb.base/foll-exec-mode.exp: Likewise.
16662 * gdb.base/foll-exec.exp: Likewise.
16663 * gdb.base/foll-fork.exp: Likewise.
16664 * gdb.base/foll-vfork.exp: Likewise.
16665 * gdb.base/funcargs.exp: Likewise.
16666 * gdb.base/hbreak2.exp: Likewise.
16667 * gdb.base/inferior-died.exp: Likewise.
16668 * gdb.base/interrupt.exp: Likewise.
16669 * gdb.base/multi-forks.exp: Likewise.
16670 * gdb.base/nodebug.exp: Likewise.
16671 * gdb.base/sepdebug.exp: Likewise.
16672 * gdb.base/solib1.c: Likewise.
16673 * gdb.base/step-test.exp: Likewise.
16674 * gdb.mi/non-stop.c: Likewise.
16675 * gdb.mi/pthreads.c: Likewise.
16676 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16677 * gdb.threads/pthreads.c: Likewise.
16678 * gdb.threads/staticthreads.exp: Likewise.
16679 * lib/future.exp: Likewise.
16680 * lib/gdb.exp: Likewise.
16681 * gdb.base/so-indr-cl.c: Remove.
16682 * gdb.base/so-indr-cl.exp: Likewise.
16683 * gdb.base/solib.c: Likewise.
16684 * gdb.base/solib.exp: Likewise.
16685 * gdb.base/solib2.c: Likewise.
16686
16687 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16688
16689 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16690 * gdb.base/call-ar-st.exp: Likewise.
16691 * gdb.base/callfuncs.exp: Likewise.
16692 * gdb.base/condbreak.exp: Likewise.
16693 * gdb.base/constvars.exp: Likewise.
16694 * gdb.base/hbreak2.exp: Likewise.
16695 * gdb.base/langs.exp: Likewise.
16696 * gdb.base/list.exp: Likewise.
16697 * gdb.base/long_long.exp: Likewise.
16698 * gdb.base/ptype.exp: Likewise.
16699 * gdb.base/scope.exp: Likewise.
16700 * gdb.base/signals.exp: Likewise.
16701 * gdb.base/so-impl-ld.exp: Likewise.
16702 * gdb.base/varargs.exp: Likewise.
16703 * gdb.base/volatile.exp: Likewise.
16704 * gdb.base/whatis.exp: Likewise.
16705 * gdb.cp/cplusfuncs.exp: Likewise.
16706 * gdb.cp/inherit.exp: Likewise.
16707 * gdb.cp/local.exp: Likewise.
16708 * gdb.cp/member-ptr.exp: Likewise.
16709 * gdb.cp/method.exp: Likewise.
16710 * gdb.cp/overload.exp: Likewise.
16711 * gdb.cp/templates.exp: Likewise.
16712 * gdb.stabs/weird.exp: Likewise.
16713 * lib/compiler.c: Likewise.
16714 * lib/compiler.cc: Likewise.
16715 * lib/cp-support.exp: Likewise.
16716 * lib/gdb.exp: Likewise.
16717
16718 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16719
16720 * configure.ac: Remove HP-UX case.
16721 * configure: Regenerate.
16722
16723 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16724
16725 * lib/gdb.exp (gdb_compile): Add function doc.
16726
16727 2015-12-17 Pedro Alves <palves@redhat.com>
16728
16729 PR threads/19354
16730 * gdb.multi/info-threads.exp: New file.
16731
16732 2015-12-15 Yao Qi <yao.qi@linaro.org>
16733
16734 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16735 is aarch64*-*-*.
16736
16737 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16738
16739 * gdb.base/history-duplicates.exp: Skip if no readline support.
16740
16741 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16742
16743 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16744
16745 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16746
16747 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16748
16749 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16750
16751 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16752 ctrl-C if nointerrupts target property is set.
16753 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16754 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16755 * gdb.base/paginate-bg-execution.exp: Likewise.
16756 * gdb.base/paginate-execution-startup.exp: Likewise.
16757 * gdb.base/random-signal.exp: Likewise.
16758 * gdb.base/range-stepping.exp: Likewise.
16759 * gdb.cp/annota2.exp: Likewise.
16760 * gdb.cp/annota3.exp: Likewise.
16761 * gdb.gdb/selftest.exp: Likewise.
16762 * gdb.threads/continue-pending-status.exp: Likewise.
16763 * gdb.threads/leader-exit.exp: Likewise.
16764 * gdb.threads/manythreads.exp: Likewise.
16765 * gdb.threads/pthreads.exp: Likewise.
16766 * gdb.threads/schedlock.exp: Likewise.
16767 * gdb.threads/sigthread.exp: Likewise.
16768
16769 2015-12-11 Don Breazeal <donb@codesourcery.com>
16770
16771 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16772 remote.
16773 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16774 * gdb.base/foll-exec.exp (main): Enable for target remote.
16775 * gdb.base/foll-fork.exp (main): Likewise.
16776 * gdb.base/foll-vfork.exp (main): Likewise.
16777 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16778 (proc continue_to_exit_bp_loc): Use clean_restart.
16779 * gdb.base/pie-execl.exp (main): Disable for target remote.
16780 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16781 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16782 * gdb.threads/execl.exp (main): Likewise.
16783 * gdb.threads/fork-child-threads.exp (main): Likewise.
16784 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16785 remote.
16786 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16787 remote.
16788 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16789 pid.tid style ptids, instead of just tid.
16790 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16791 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16792 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16793 ptids, instead of just tid.
16794
16795 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16796
16797 * gdb.base/list.exp (test_list_forward): Add end of file error
16798 test.
16799 (test_repeat_list_command): Add end of file error test.
16800 (test_list_backwards): Add beginning of file error test.
16801
16802 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16803
16804 * gdb.base/list.exp (test_list_invalid_args): New function,
16805 defined, and called.
16806
16807 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16808
16809 * gdb.base/list.exp (test_list): Make test names unique.
16810
16811 2015-12-11 Yao Qi <yao.qi@linaro.org>
16812
16813 * gdb.base/coremaker2.c: Remove.
16814
16815 2015-12-10 Pedro Alves <palves@redhat.com>
16816
16817 * gdb.multi/base.exp: Remove stale "spaces" references.
16818
16819 2015-12-10 Pedro Alves <palves@redhat.com>
16820
16821 * gdb.multi/base.exp: Don't use nowarnings.
16822 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16823 * gdb.multi/hangout.c: Include stdio.h.
16824 * gdb.multi/hello.c: Include stdlib.h.
16825 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16826 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16827 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16828
16829 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16830
16831 * gdb.dwarf2/dw2-ranges-base.c: New file.
16832 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16833 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16834 support additional line table, and debug ranges generation.
16835 (Dwarf::ranges): New function, generate .debug_ranges.
16836 (Dwarf::lines): Support generating simple line table programs.
16837 (Dwarf::assemble): Initialise new namespace variables.
16838
16839 2015-12-09 Kevin Buettner <kevinb@redhat.com>
16840
16841 * gdb.base/async.exp (proc test_background): Add case for
16842 asynchronous execution not supported.
16843
16844 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
16845
16846 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16847 format and change test names to make them unique.
16848
16849 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16850 Pedro Alves <pedro@redhat.com>
16851
16852 PR gdb/18702
16853 Add checking of floatformats setup on x86_64 hosts.
16854 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16855 (smallval, bigval): New labels/constants.
16856 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16857 float" after loading bigval and smallval.
16858
16859 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16860
16861 * gdb.ada/fun_overload_menu.exp: New testcase.
16862 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16863
16864 2015-12-04 Josh Stone <jistone@redhat.com>
16865
16866 * gdb.base/catch-fork-static.exp: New.
16867
16868 2015-12-03 Yao Qi <yao.qi@linaro.org>
16869
16870 * gdb.base/sizeof.c: Don't include stdio.h and
16871 ../lib/unbuffer_output.c.
16872 (main): New variable 'size' and 'value'. Remove printf and
16873 gdb_unbuffer_output. Assign return value to size and value.
16874 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16875 at the beginning.
16876 (check_sizeof): Check the result by printing variable 'size'.
16877 (check_valueof): Check the result by printing variable 'value'.
16878
16879 2015-12-01 Yao Qi <yao.qi@linaro.org>
16880
16881 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16882 for aarch64*-*-linux* target.
16883
16884 2015-11-30 Pedro Alves <palves@redhat.com>
16885
16886 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16887
16888 2015-11-30 Pedro Alves <palves@redhat.com>
16889
16890 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16891 Handle non-stop mode vCont replies.
16892
16893 2015-11-30 Pedro Alves <palves@redhat.com>
16894
16895 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16896 prepare_for_testing. Start gdb with "set non-stop on" appended to
16897 GDBFLAGS. Lax expected stop output.
16898
16899 2015-11-27 Yao Qi <yao.qi@linaro.org>
16900
16901 * gdb.arch/arm-neon.exp: New.
16902 * gdb.arch/arm-neon.c: New.
16903
16904 2015-11-27 Yao Qi <yao.qi@linaro.org>
16905
16906 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16907
16908 2015-11-27 Yao Qi <yao.qi@linaro.org>
16909
16910 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16911 frames-invalid annotation.
16912
16913 2015-11-27 Yao Qi <yao.qi@linaro.org>
16914
16915 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16916
16917 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16918
16919 * gdb.threads/names.exp: New file.
16920 * gdb.threads/names.c: New file.
16921 * README: Mention gdb,no_thread_names.
16922
16923 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16924
16925 PR 19297
16926 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16927 support" error.
16928
16929 2015-11-24 Pedro Alves <palves@redhat.com>
16930
16931 PR 17539
16932 * gdb.base/display.exp: Expect displays to be sorted in ascending
16933 order. Use multi_line.
16934 * gdb.base/solib-display.exp: Likewise.
16935
16936 2015-11-24 Pedro Alves <palves@redhat.com>
16937
16938 PR 17539
16939 * gdb.base/display.exp: Expect displays to be sorted in ascending
16940 order. Use multi_line.
16941 * gdb.base/solib-display.exp: Likewise.
16942
16943 2015-11-24 Pedro Alves <palves@redhat.com>
16944
16945 PR 17539
16946 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16947 threads in ascending order.
16948 * gdb.base/foll-fork.exp: Likewise.
16949 * gdb.base/foll-vfork.exp: Likewise.
16950 * gdb.base/multi-forks.exp: Likewise.
16951 * gdb.mi/mi-nonstop.exp: Likewise.
16952 * gdb.mi/mi-nsintrall.exp: Likewise.
16953 * gdb.multi/base.exp: Likewise.
16954 * gdb.multi/multi-arch.exp: Likewise.
16955 * gdb.python/py-inferior.exp: Likewise.
16956 * gdb.threads/break-while-running.exp: Likewise.
16957 * gdb.threads/execl.exp: Likewise.
16958 * gdb.threads/gcore-thread.exp: Likewise.
16959 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16960 * gdb.threads/kill.exp: Likewise.
16961 * gdb.threads/linux-dp.exp: Likewise.
16962 * gdb.threads/multiple-step-overs.exp: Likewise.
16963 * gdb.threads/next-bp-other-thread.exp: Likewise.
16964 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16965 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16966 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16967 * gdb.threads/thread-find.exp: Likewise.
16968 * gdb.threads/tls.exp: Likewise.
16969 * lib/mi-support.exp (mi_reverse_list): Delete.
16970 (mi_check_thread_states): No longer reverse list.
16971
16972 2015-11-24 Pedro Alves <palves@redhat.com>
16973
16974 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16975 use lowercase.
16976
16977 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16978
16979 * gdb.trace/actions.c: Include trace-common.h.
16980 (main): Add a location for a fast tracepoint.
16981 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16982 the normal tracepoints.
16983 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16984
16985 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16986
16987 * save-trace.exp: Factor out code to these...
16988 (gdb_save_tracepoints): New.
16989 (gdb_load_tracepoints): New.
16990 (do_save_load_test): New.
16991
16992 2015-11-23 Kevin Buettner <kevinb@redhat.com>
16993
16994 * gdb.base/asmlabel.exp: New test.
16995 * gdb.base/asmlabel.c: New test case.
16996
16997 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16998
16999 * gdb.base/wrong_frame_bt_full-main.c: New file.
17000 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17001 * gdb.base/wrong_frame_bt_full.exp: New file.
17002
17003 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17004
17005 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17006
17007 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17008
17009 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17010 pstate register when comparing registers values in
17011 sparc64-*-linux-gnu targets to avoid spurious differences.
17012
17013 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17014
17015 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17016
17017 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17018
17019 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17020 as type argument to gdb_compile.
17021 * gdb.base/nested-subp2.exp: Likewise.
17022 * gdb.base/nested-subp3.exp: Likewise.
17023
17024 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17025
17026 * lib/dwarf.exp (_note): Fix left shift of negative value.
17027 * gdb.trace/trace-condition.exp: Likewise.
17028
17029 2015-11-13 Yao Qi <yao.qi@linaro.org>
17030
17031 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17032 comments about d10v.
17033 (test_scalar_returns): Likewise.
17034 * gdb.base/d10v.ld: Remove.
17035 * gdb.base/overlays.exp: Remove the target triplet checking for
17036 d10v-*-*.
17037 * gdb.base/structs.exp (test_struct_returns): Remove the
17038 comments about d10v.
17039 (test_struct_calls): Likewise.
17040
17041 2015-11-13 Yao Qi <yao.qi@linaro.org>
17042
17043 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17044 * gdb.base/gnu_vector.c: Don't include stdio.h.
17045 (main): Don't print res and call add_some_intvecs.
17046
17047 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17048
17049 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17050 macro.
17051 (func5): Removed.
17052 (func4): Use FAST_TRACEPOINT_LABEL.
17053 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17054 macro.
17055 (func): Removed.
17056 (thread_function): Use FAST_TRACEPOINT_LABEL.
17057 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17058 (func): Remove.
17059 (marker): Use FAST_TRACEPOINT_LABEL.
17060 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17061 (pendfunc1): Remove.
17062 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17063 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17064 (foo): Remove.
17065 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17066 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17067 macro.
17068 (func): Remove.
17069 (marker): Use FAST_TRACEPOINT_LABEL.
17070 * gdb.trace/trace-common.h: New header.
17071 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17072 macro.
17073 (func): Remove.
17074 (marker): Use FAST_TRACEPOINT_LABEL.
17075 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17076 (func): Remove.
17077 (thread_function): Use FAST_TRACEPOINT_LABEL.
17078
17079 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17080
17081 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17082 in front.
17083 * gdb.trace/change-loc.exp: Use global pcreg definition.
17084 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17085 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17086 in front.
17087 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17088 * gdb.trace/pending.exp: Likewise.
17089 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17090 * gdb.trace/trace-break.exp: Likewise.
17091 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17092 in front.
17093 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17094 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17095 in front.
17096 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17097
17098 2015-11-09 Joel Brobecker <brobecker@adacore.com>
17099
17100 * gdb.ada/fin_fun_out: New testcase.
17101
17102 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17103
17104 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17105 value associated with DW_AT_byte_size.
17106 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17107 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17108 DW_AT_upper_bound.
17109
17110 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17111
17112 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17113 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17114 version.
17115 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17116 gdb.dwarf2/dw2-canonicalize-type.exp,
17117 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17118 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17119 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17120 provided by gdb_target_symbol_prefix_flags_asm.
17121 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17122 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17123 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17124 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17125 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17126 macros where needed). Use this macro for symbols which require
17127 the prefix provided by SYMBOL_PREFIX.
17128
17129 2015-11-05 Kevin Buettner <kevinb@redhat.com>
17130
17131 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17132 New procs.
17133 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17134 representing expressions, of more than one list element.
17135 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17136 to prepend linker symbol prefix to f.
17137 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17138 table_1 and table_2.
17139 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17140 Likewise, for f and g.
17141 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17142 for ptr.
17143 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17144 for main.
17145 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17146 table_1_ptr and table_2_ptr.
17147
17148 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17149 Joel Brobecker <brobecker@adacore.com>
17150
17151 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17152
17153 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17154
17155 * gdb.reverse/s390-mvcle.c: New test.
17156 * gdb.reverse/s390-mvcle.exp: New file.
17157 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17158
17159 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17160
17161 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17162
17163 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17164
17165 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17166 reaching marker2.
17167 * gdb.reverse/getresuid-reverse.exp: Likewise.
17168 * gdb.reverse/pipe-reverse.exp: Likewise.
17169 * gdb.reverse/readv-reverse.exp: Likewise.
17170 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17171 * gdb.reverse/time-reverse.exp: Likewise.
17172 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17173
17174 2015-10-30 Yao Qi <yao.qi@linaro.org>
17175
17176 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17177 (empty_cycle): Remove.
17178 (main): Don't call empty_cycle. Don't use watch_count_done.
17179 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17180 empty_cycle. Rewrite the code counting HW watchpoints.
17181
17182 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17183
17184 * gdb.reverse/fstatat-reverse.c: New test.
17185 * gdb.reverse/fstatat-reverse.exp: New file.
17186 * gdb.reverse/getresuid-reverse.c: New test.
17187 * gdb.reverse/getresuid-reverse.exp: New file.
17188 * gdb.reverse/pipe-reverse.c: New test.
17189 * gdb.reverse/pipe-reverse.exp: New file.
17190 * gdb.reverse/readv-reverse.c: New test.
17191 * gdb.reverse/readv-reverse.exp: New file.
17192 * gdb.reverse/recvmsg-reverse.c: New test.
17193 * gdb.reverse/recvmsg-reverse.exp: New file.
17194 * gdb.reverse/time-reverse.c: New test.
17195 * gdb.reverse/time-reverse.exp: New file.
17196 * gdb.reverse/waitpid-reverse.c: New test.
17197 * gdb.reverse/waitpid-reverse.exp: New file.
17198
17199 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17200
17201 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17202
17203 2015-10-26 Doug Evans <dje@google.com>
17204
17205 PR symtab/17391
17206 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17207 * gdb.dwarf2/bad-regnum.c: New file.
17208 * gdb.dwarf2/bad-regnum.exp: New file.
17209
17210 2015-10-26 Doug Evans <dje@google.com>
17211
17212 PR python/18938
17213 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17214 file.
17215
17216 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17217
17218 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17219 for a change by "Mention language in compile error message".
17220
17221 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17222
17223 PR python/18073
17224 * gdb.python/py-type.c (C::a_method): New.
17225 (C::a_const_method): New.
17226 (C::a_static_method): New.
17227 (a_function): New.
17228 * gdb.python/py-type.exp (test_fields): Test getting fields
17229 from function and method.
17230
17231 2015-10-21 Keven Boell <keven.boell@intel.com>
17232
17233 * gdb.fortran/vla-alloc-assoc.exp: New file.
17234 * gdb.fortran/vla-datatypes.exp: New file.
17235 * gdb.fortran/vla-datatypes.f90: New file.
17236 * gdb.fortran/vla-history.exp: New file.
17237 * gdb.fortran/vla-ptype-sub.exp: New file.
17238 * gdb.fortran/vla-ptype.exp: New file.
17239 * gdb.fortran/vla-sizeof.exp: New file.
17240 * gdb.fortran/vla-sub.f90: New file.
17241 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17242 * gdb.fortran/vla-value-sub-finish.exp: New file.
17243 * gdb.fortran/vla-value-sub.exp: New file.
17244 * gdb.fortran/vla-value.exp: New file.
17245 * gdb.fortran/vla-ptr-info.exp: New file.
17246 * gdb.mi/mi-vla-fortran.exp: New file.
17247 * gdb.mi/vla.f90: New file.
17248
17249 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17250
17251 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17252 of hardwired timeout value.
17253
17254 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17255 Pedro Alves <palves@redhat.com>
17256
17257 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17258 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17259
17260 2015-10-19 Josh Stone <jistone@redhat.com>
17261
17262 * gdb.base/catch-syscall.c: Include <sched.h>.
17263 (unknown_syscall): New variable.
17264 (main): Trigger a vfork and an unknown syscall.
17265 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17266 (unknown_syscall_number): Likewise.
17267 (check_call_to_syscall): Accept an optional syscall pattern.
17268 (check_return_from_syscall): Likewise.
17269 (check_continue): Likewise.
17270 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17271 (test_catch_syscall_skipping_return): New test toggling off 'catch
17272 syscall' to step over the syscall return, then toggling back on.
17273 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17274 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17275 (do_syscall_tests): Call test_catch_syscall_without_args and
17276 test_catch_syscall_mid_vfork.
17277 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17278 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17279
17280 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
17281
17282 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17283 print g_vE): Add new pass patterns.
17284 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17285 print various symbol names for vptr fields.
17286
17287 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17288
17289 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17290 results.
17291
17292 2015-10-12 Yao Qi <yao.qi@linaro.org>
17293
17294 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17295
17296 2015-10-12 Yao Qi <yao.qi@linaro.org>
17297
17298 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17299 is aarch64*-*-linux*.
17300
17301 2015-10-12 Yao Qi <yao.qi@linaro.org>
17302
17303 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17304 (can_relocate_bcond_true): ... it.
17305 (can_relocate_bcond_false): New function.
17306 (foo): Likewise.
17307 (can_relocate_bl): Likewise.
17308 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17309 can_relocate_bl.
17310
17311 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17312
17313 * gdb.base/nested-addr.c: New file.
17314 * gdb.base/nested-addr.exp: New testcase.
17315
17316 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17317
17318 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17319 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17320 its output. Ignore the output of "record goto begin" and instead
17321 check that GDB is replaying.
17322
17323 2015-10-09 Pedro Alves <palves@redhat.com>
17324
17325 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17326 (top level): Use it in the run with no args test.
17327
17328 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17329
17330 * gdb.dlang/properties.exp: New file.
17331
17332 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17333
17334 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17335 whether or not address 0x1000 is mapped on the target.
17336
17337 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17338
17339 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17340 build.
17341
17342 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17343
17344 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17345 instruction-history test.
17346
17347 2015-09-28 Doug Evans <dje@google.com>
17348
17349 * gdb.base/gcore.c (array_func): Add reference to static_array.
17350
17351 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17352
17353 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17354 source line.
17355
17356 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17357
17358 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17359 short or char as base type.
17360
17361 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17362
17363 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17364 to allow any size enum.
17365
17366 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17367
17368 * gdb.ada/array_ptr_renaming.exp: New testcase.
17369 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17370 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17371
17372 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17373
17374 * gdb.trace/ftrace-lock.c: New file.
17375 * gdb.trace/ftrace-lock.exp: New file.
17376
17377 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17378
17379 * gdb.arch/insn-reloc.c: New file.
17380 * gdb.arch/ftrace-insn-reloc.exp: New file.
17381
17382 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17383
17384 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17385 instruction.
17386 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17387 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17388 * gdb.trace/range-stepping.c: Likewise.
17389 * gdb.trace/trace-break.c: Likewise.
17390 * gdb.trace/trace-mt.c (thread_function): Likewise.
17391 * gdb.trace/ftrace.c (marker): Likewise.
17392 * gdb.trace/trace-condition.c (marker): Likewise.
17393 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17394 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17395 is_aarch64_target.
17396
17397 2015-09-18 Doug Evans <xdje42@gmail.com>
17398
17399 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17400 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17401
17402 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17403
17404 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17405 the breakpoint.
17406
17407 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17408
17409 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17410 the pending breakpoint. Remove timeout override for "Run till
17411 MI pending breakpoint on pendfunc3 on thread 2" test.
17412
17413 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17414
17415 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17416 filename pattern.
17417
17418 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17419
17420 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17421 in breakpoint filename pattern.
17422
17423 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17424
17425 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17426
17427 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17428
17429 * gdb.linespec/explicit.exp: Check for readline support for
17430 tab-completion tests. Fix obvious typo.
17431
17432 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17433
17434 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17435 and replay.
17436
17437 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17438
17439 * gdb.btrace/non-stop.c: New.
17440 * gdb.btrace/non-stop.exp: New.
17441
17442 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17443 Yao Qi <yao.qi@linaro.org>
17444
17445 * gdb.trace/trace-condition.c: New file.
17446 * gdb.trace/trace-condition.exp: New file.
17447
17448 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
17449
17450 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17451 for testing bytecode compilation.
17452
17453 2015-09-16 Pedro Alves <palves@redhat.com>
17454 Sandra Loosemore <sandra@codesourcery.com>
17455
17456 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17457 (SECONDS): Redefine.
17458 (main): Call pthread_kill and alarm early.
17459 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17460 support.
17461 (test): If the target can't hardware step and doesn't support
17462 displaced stepping, increase the timeout.
17463
17464 2015-09-16 Pedro Alves <palves@redhat.com>
17465
17466 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17467 (enable_debug): New procedures.
17468 (test): Use them. Bail out if waiting for threads fails.
17469 (top level): Bail out if a test fails.
17470
17471 2015-09-16 Yao Qi <yao.qi@linaro.org>
17472
17473 * gdb.asm/asm-source.exp: Set asm-arch for
17474 aarch64*-*-* target.
17475 * gdb.asm/aarch64.inc: New file.
17476
17477 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17478
17479 * gdb.ada/array_of_variable_length.exp: New testcase.
17480 * gdb.ada/array_of_variable_length/foo.adb: New file.
17481 * gdb.ada/array_of_variable_length/pck.adb: New file.
17482 * gdb.ada/array_of_variable_length/pck.ads: New file.
17483
17484 2015-09-15 Doug Evans <dje@google.com>
17485
17486 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17487 of function static local variable.
17488
17489 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17490
17491 * gdb.threads/tls-so_extern.exp: New test file.
17492 * gdb.threads/tls-so_extern.c: New test file.
17493 * gdb.threads/tls-so_extern_main.c: New test file.
17494
17495 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17496
17497 * gdb.opt/solib-intra-step-lib.c: New file.
17498 * gdb.opt/solib-intra-step-main.c: New file.
17499 * gdb.opt/solib-intra-step.exp: New file.
17500
17501 2015-09-15 Pedro Alves <palves@redhat.com>
17502
17503 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17504 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17505
17506 2015-09-14 Pedro Alves <palves@redhat.com>
17507
17508 * gdb.base/hook-stop-continue.c: Delete.
17509 * gdb.base/hook-stop-continue.exp: Delete.
17510 * gdb.base/hook-stop-frame.c: Delete.
17511 * gdb.base/hook-stop-frame.exp: Delete.
17512 * gdb.base/hook-stop.c: New file.
17513 * gdb.base/hook-stop.exp: New file.
17514
17515 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17516
17517 * gdb.ada/access_to_packed_array.exp: New testcase.
17518 * gdb.ada/access_to_packed_array/foo.adb: New file.
17519 * gdb.ada/access_to_packed_array/pack.adb: New file.
17520 * gdb.ada/access_to_packed_array/pack.ads: New file.
17521
17522 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17523
17524 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17525 buffer size test.
17526
17527 2015-09-11 Don Breazeal <donb@codesourcery.com>
17528
17529 * gdb.base/foll-exec.c: Add copyright header. Fix
17530 formatting issues.
17531 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17532 (do_exec_tests): Use clean_restart in place of zap_session,
17533 and for test initialization. Fix formatting issues. Use
17534 fail in place of perror.
17535 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17536 an expect statement to match an expression with output from
17537 the program under debug.
17538 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17539 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17540 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17541 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17542 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17543
17544 2015-09-09 Doug Evans <dje@google.com>
17545
17546 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17547
17548 2015-09-09 Doug Evans <dje@google.com>
17549
17550 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17551
17552 2015-09-09 Doug Evans <dje@google.com>
17553
17554 * gdb.base/savedregs.exp: Fix typo.
17555
17556 2015-09-09 Pedro Alves <palves@redhat.com>
17557
17558 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17559
17560 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17561
17562 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17563 command actually switches threads. Give up on remaining
17564 tests if target fails to stop at breakpoint.
17565
17566 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17567
17568 * gdb.ada/funcall_char.exp: New testcase.
17569 * gdb.ada/funcall_char/foo.adb: New file.
17570
17571 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17572
17573 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17574 expected outputs. Add two testcases for completing ambiguous
17575 functions.
17576 * gdb.ada/complete/aux_pck.adb: New file.
17577 * gdb.ada/complete/aux_pck.ads: New file.
17578 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17579 Ambiguous_Func functions.
17580 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17581 * gdb.ada/complete/pck.adb: Likewise.
17582
17583 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17584
17585 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17586 failures to run the test program under GDB.
17587
17588 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
17589
17590 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17591 to C.
17592
17593 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17594
17595 * gdb.base/run-after-attach.exp: New test file.
17596 * gdb.base/run-after-attach.c: New test file.
17597
17598 2015-08-26 Don Breazeal <donb@codesourcery.com>
17599
17600 * gdb.base/foll-exec-2.c: New test program.
17601 * gdb.base/foll-exec-2.exp: New test.
17602
17603 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17604
17605 * gdb.base/nested-subp1.exp: New file.
17606 * gdb.base/nested-subp1.c: New file.
17607 * gdb.base/nested-subp2.exp: New file.
17608 * gdb.base/nested-subp2.c: New file.
17609 * gdb.base/nested-subp3.exp: New file.
17610 * gdb.base/nested-subp3.c: New file.
17611
17612 2015-08-24 Pedro Alves <palves@redhat.com>
17613
17614 * gdb.server/connect-without-multi-process.c: New file.
17615 * gdb.server/connect-without-multi-process.exp: New file.
17616
17617 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17618
17619 * gdb.opt/inline-markers.c: Make z int.
17620
17621 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17622
17623 * gdb.opt/inline-markers.c: Make z volatile.
17624
17625 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17626
17627 * gdb.opt/inline-bt.c: New volatile global z.
17628 * gdb.opt/inline-cmds.c: Likewise.
17629 * gdb.opt/inline-locals.c: Likewise.
17630 * gdb.opt/inline-markers.c: New extern global z.
17631 (marker): Use z.
17632 (inline_fn): Likewise.
17633
17634 2015-08-24 Pedro Alves <palves@redhat.com>
17635
17636 * config/m32r-stub.exp: Remove file.
17637 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17638 * gdb.base/call-rt-st.exp: Likewise.
17639 * gdb.base/call-strs.exp: Likewise.
17640 * gdb.base/default.exp: Remove references to h8300-*-hms and
17641 *-*-udi*.
17642 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17643
17644 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17645
17646 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17647 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17648 and "return" use KFAIL when GDB can not read/write the vector
17649 return value.
17650
17651 2015-08-21 Gary Benson <gbenson@redhat.com>
17652
17653 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17654
17655 2015-08-20 Pedro Alves <palves@redhat.com>
17656
17657 * gdb.server/solib-list.exp: No longer expect an interior stop in
17658 non-stop mode.
17659
17660 2015-08-20 Pedro Alves <palves@redhat.com>
17661
17662 * gdb.server/connect-stopped-target.c: New file.
17663 * gdb.server/connect-stopped-target.exp: New file.
17664
17665 2015-08-20 Pedro Alves <palves@redhat.com>
17666
17667 * gdb.dwarf2/comp-unit-lang.exp: New file.
17668 * gdb.dwarf2/comp-unit-lang.c: New file.
17669
17670 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17671
17672 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17673 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17674
17675 2015-08-19 Kevin Buettner <kevinb@redhat.com>
17676
17677 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17678 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17679
17680 2015-08-18 Doug Evans <dje@google.com>
17681 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17682
17683 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17684 skip_python_tests. New arg prompt_regexp.
17685 (skip_python_tests): New function.
17686 * lib/mi-support.exp (mi_skip_python_tests): New function.
17687 * gdb.python/py-mi-objfile-gdb.py: New file.
17688 * gdb.python/py-mi-objfile.c: New file.
17689 * gdb.python/py-mi-objfile.exp: New file.
17690
17691 2015-08-17 Keith Seitz <keiths@redhat.com>
17692
17693 * gdb.linespec/explicit.exp: Move strace test from here ...
17694 * gdb.trace/strace.exp: ... to here.
17695
17696 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17697
17698 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17699 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17700
17701 2015-08-14 Doug Evans <xdje42@gmail.com>
17702
17703 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17704 inferior before selecting a new file.
17705
17706 2015-08-14 Doug Evans <xdje42@gmail.com>
17707
17708 * gdb.mi/mi-disassemble.exp: Update.
17709 * gdb.base/disasm-optim.S: New file.
17710 * gdb.base/disasm-optim.c: New file.
17711 * gdb.base/disasm-optim.h: New file.
17712 * gdb.base/disasm-optim.exp: New file.
17713
17714 2015-08-14 Keith Seitz <keiths@redhat.com>
17715
17716 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17717 "evaluated-by".
17718
17719 2015-08-13 Joel Brobecker <brobecker@adacore.com>
17720
17721 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17722
17723 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17724
17725 * gdb.ada/fun_renaming.exp: New testcase.
17726 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17727 * gdb.ada/fun_renaming/pack.adb: New file.
17728 * gdb.ada/fun_renaming/pack.ads: New file.
17729
17730 2015-08-12 Keith Seitz <keiths@redhat.com>
17731
17732 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17733 gdb_get_line_number.
17734
17735 2015-08-12 Joel Brobecker <brobecker@adacore.com>
17736
17737 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17738 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17739 gdb.base/dso2dso.exp: New files.
17740
17741 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17742 Pedro Alves <palves@redhat.com>
17743 Keith Seitz <keiths@redhat.com>
17744
17745 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17746 GDBFLAGS.
17747
17748 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17749
17750 * gdb.base/gdbhistsize-history.exp
17751 (test_histsize_history_setting): Use save_vars.
17752 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17753 Use save_vars.
17754 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17755 * gdb.base/readline.exp: Use save_vars.
17756
17757 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17758
17759 * lib/gdb.exp (save_vars): New proc.
17760
17761 2015-08-11 Keith Seitz <keiths@redhat.com>
17762
17763 * gdb.base/help.exp: Update help_breakpoint_text.
17764
17765 2015-08-11 Keith Seitz <keiths@redhat.com>
17766
17767 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17768 (at toplevel): Call test_explicit_breakpoints.
17769 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17770 breakpoints.
17771 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17772 breakpoint conditions, "-cond".
17773
17774 2015-08-11 Keith Seitz <keiths@redhat.com>
17775
17776 * gdb.linespec/3explicit.c: New file.
17777 * gdb.linespec/cpexplicit.cc: New file.
17778 * gdb.linespec/cpexplicit.exp: New file.
17779 * gdb.linespec/explicit.c: New file.
17780 * gdb.linespec/explicit.exp: New file.
17781 * gdb.linespec/explicit2.c: New file.
17782 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17783 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17784 before using in the matching pattern.
17785 Clarify that `prefix' is a regular expression.
17786
17787 2015-08-11 Keith Seitz <keiths@redhat.com>
17788
17789 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17790 test.
17791 Add tests for missing ",FMT" and ",".
17792
17793 2015-08-10 Doug Evans <dje@google.com>
17794 Keith Seitz <keiths@redhat.com>
17795
17796 PR gdb/17960
17797 * gdb.base/completion.exp: Add location completer tests.
17798
17799 2015-08-07 Pedro Alves <palves@redhat.com>
17800
17801 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17802 tests here.
17803 (top level): Run do_test with and without displaced stepping.
17804
17805 2015-08-07 Pedro Alves <palves@redhat.com>
17806
17807 * gdb.base/valgrind-disp-step.c: New file.
17808 * gdb.base/valgrind-disp-step.exp: New file.
17809
17810 2015-08-07 Pedro Alves <palves@redhat.com>
17811
17812 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17813 Delete function.
17814 (main): Add alarm. Run an infinite loop instead of calling
17815 wait_threads.
17816 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17817 comment.
17818 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17819 Delete function.
17820 (main): Add alarm. Run an infinite loop instead of calling
17821 wait_threads.
17822 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17823 comment.
17824
17825 2015-08-07 Pedro Alves <palves@redhat.com>
17826
17827 * gdb.base/checkpoint-ns.exp: New file.
17828 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17829 standard_testfile.
17830
17831 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17832
17833 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17834 * gdb.btrace/instruction_history.exp: Update.
17835 * gdb.btrace/tsx.exp: New.
17836 * gdb.btrace/tsx.c: New.
17837
17838 2015-08-06 Pedro Alves <palves@redhat.com>
17839
17840 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17841 increase timeout.
17842 * gdb.reverse/until-precsave.exp: Bump timeouts.
17843
17844 2015-08-06 Pedro Alves <palves@redhat.com>
17845
17846 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17847
17848 2015-08-06 Pedro Alves <palves@redhat.com>
17849
17850 PR gdb/18749
17851 * gdb.threads/process-dies-while-handling-bp.c: New file.
17852 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17853
17854 2015-08-06 Pedro Alves <palves@redhat.com>
17855
17856 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17857 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17858
17859 2015-08-05 Pedro Alves <palves@redhat.com>
17860
17861 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17862 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17863
17864 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17865
17866 * gdb.base/bp-permanent.exp: Report test as unsupported if
17867 the target cannot stop at the permanent breakpoint.
17868
17869 2015-08-03 Doug Evans <dje@google.com>
17870
17871 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17872 10000.
17873
17874 2015-08-03 Doug Evans <dje@google.com>
17875
17876 * Makefile.in (workers/%.worker, build-perf): New rule.
17877 (GDB_PERFTEST_MODE): New variable.
17878 (check-perf): Use it.
17879 (clean): Clean up gdb.perf parallel build subdirs.
17880 * lib/build-piece.exp: New file.
17881 * lib/gdb.exp (make_gdb_parallel_path): New function
17882 (standard_output_file, standard_temp_file): Call it.
17883 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17884 of $GDB_PARALLEL.
17885 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17886
17887 2015-08-03 Doug Evans <dje@google.com>
17888
17889 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
17890 (LOG_FILE_NAME): New global.
17891 (TextReporter.__init__): Initialize self.txt_sum.
17892 (TextReporter.report): Add support for multiple data-points.
17893 Move report to perftest.sum, put raw data in perftest.log.
17894 (TextReporter.start): Open sum and log files.
17895 (TextReporter.end): Close sum and log files.
17896 * gdb.perf/lib/perftest/testresult.py
17897 (SingleStatisticTestResult.record): Handle multiple data-points.
17898
17899 2015-07-31 Pedro Alves <palves@redhat.com>
17900
17901 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17902 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17903 kill_wait_spawned_process instead of explicit "kill -9".
17904 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17905 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17906 kill_wait_spawned_process.
17907 * gdb.base/attach-twice.exp: Likewise.
17908 * gdb.base/attach.exp: Likewise.
17909 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17910 gdb_test_multiple.
17911 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17912 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17913 kill_wait_spawned_process.
17914 * gdb.base/valgrind-infcall.exp: Likewise.
17915 * gdb.multi/multi-attach.exp: Likewise.
17916 * gdb.python/py-prompt.exp: Likewise.
17917 * gdb.python/py-sync-interp.exp: Likewise.
17918 * gdb.server/ext-attach.exp: Likewise.
17919 * gdb.threads/attach-into-signal.exp (corefunc): Use
17920 spawn_wait_for_attach, spawn_id_get_pid and
17921 kill_wait_spawned_process.
17922 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17923 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17924 spawn_id_get_pid and kill_wait_spawned_process.
17925 * gdb.threads/attach-stopped.exp (corefunc): Use
17926 spawn_wait_for_attach, spawn_id_get_pid and
17927 kill_wait_spawned_process.
17928 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17929 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17930 kill_wait_spawned_process instead of explicit "kill -9".
17931 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17932 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17933 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17934 processes. Don't map cygwin/windows pids here. Now returns a
17935 spawn id list.
17936
17937 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17938
17939 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17940 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17941 correct patch.
17942
17943 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17944
17945 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17946
17947 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17948
17949 Reapply:
17950 2014-05-21 Mark Wielaard <mjw@redhat.com>
17951
17952 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17953
17954 2015-07-30 Pedro Alves <palves@redhat.com>
17955
17956 * linux-low.c (handle_extended_wait): Set the child's last
17957 reported status to TARGET_WAITKIND_STOPPED.
17958
17959 2015-07-30 Pedro Alves <palves@redhat.com>
17960
17961 PR threads/18600
17962 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17963 only shows inferior 1.
17964
17965 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17966 Pedro Alves <palves@redhat.com>
17967
17968 PR threads/18600
17969 * gdb.threads/fork-plus-threads.c: New file.
17970 * gdb.threads/fork-plus-threads.exp: New file.
17971
17972 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17973
17974 * gdb.base/batch-preserve-term-settings.exp
17975 (test_terminal_settings_preserved_after_cli_exit): Use
17976 send_quit_command.
17977
17978 2015-07-29 Pedro Alves <palves@redhat.com>
17979 Don Breazeal <donb@codesourcery.com>
17980
17981 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17982 output from both inferior_spawn_id and gdb_spawn_id.
17983
17984 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17985
17986 * gdb.threads/attach-into-signal.exp (corefunc): Use
17987 with_test_prefix on nested loops, uniquefying the test messages.
17988
17989 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17990
17991 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17992 commit.
17993
17994 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17995
17996 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17997 New proc.
17998 (test_terminal_settings_preserved_after_sigterm): New test.
17999
18000 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18001
18002 * gdb.base/batch-preserve-term-settings.exp
18003 (test_terminal_settings_preserved_after_cli_exit): New test.
18004
18005 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18006
18007 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18008 manipulation of saved_gdbflags.
18009 (test_terminal_settings_preserved): Remove global declaration of
18010 the unused variable pagination_prompt. Remove manipulation of
18011 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18012 GDBFLAGS.
18013
18014 2015-07-29 Pedro Alves <palves@redhat.com>
18015
18016 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18017
18018 2015-07-29 Pedro Alves <palves@redhat.com>
18019
18020 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18021 at the top.
18022
18023 2015-07-29 Pedro Alves <palves@redhat.com>
18024
18025 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18026 (main): Call gdb_unbuffer_output.
18027 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18028 (main): Call gdb_unbuffer_output.
18029 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18030 (main): Call gdb_unbuffer_output.
18031 * gdb.base/call-strs.exp: Adjust to step over the
18032 gdb_unbuffer_output call.
18033 * gdb.base/catch-gdb-caused-signals.c: Include
18034 "../lib/unbuffer_output.c".
18035 (main): Call gdb_unbuffer_output.
18036 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18037 (main): Call gdb_unbuffer_output.
18038 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18039 (main): Call gdb_unbuffer_output.
18040 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18041 (main): Call gdb_unbuffer_output.
18042 * gdb.base/shlib-call.exp: Adjust to step over the
18043 gdb_unbuffer_output call.
18044 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18045 (main): Call gdb_unbuffer_output.
18046 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18047 (main): Call gdb_unbuffer_output.
18048 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18049 (main): Rename to ...
18050 (test): ... this.
18051 (main): Reimplement.
18052 * gdb.base/varargs.exp: Run to test instead of to main.
18053 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18054 (main): Call gdb_unbuffer_output.
18055
18056 2015-07-29 Pedro Alves <palves@redhat.com>
18057
18058 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18059 factore out from mi_continue_dprintf. For call-style dprintfs,
18060 expect dprintf output out of $inferior_spawn_id.
18061 (mi_continue_dprintf): Use mi_expect_dprintf.
18062 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18063 (main): Call gdb_unbuffer_output.
18064
18065 2015-07-29 Pedro Alves <palves@redhat.com>
18066
18067 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18068 (default_mi_gdb_start): Set inferior_spawn_id instead of
18069 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18070 gdb_spawn_id.
18071 (mi_gdb_test): Always expect inferior output from both
18072 $inferior_spawn_id and $gdb_spawn_id.
18073
18074 2015-07-29 Pedro Alves <palves@redhat.com>
18075
18076 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18077 send_inferior and $inferior_spawn_id.
18078
18079 2015-07-29 Pedro Alves <palves@redhat.com>
18080
18081 * gdb.gdb/complaints.exp (test_initial_complaints)
18082 (test_serial_complaints, test_short_complaints): Use
18083 gdb_test_stdio.
18084 (test_empty_complaint): Handle $inferior_spawn_id !=
18085 $gdb_spawn_id.
18086
18087 2015-07-29 Pedro Alves <palves@redhat.com>
18088
18089 * gdb.base/varargs.exp: Use gdb_test_stdio.
18090
18091 2015-07-29 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18094
18095 2015-07-29 Pedro Alves <palves@redhat.com>
18096
18097 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18098
18099 2015-07-29 Pedro Alves <palves@redhat.com>
18100
18101 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18102 parameter into two new parameters, "inf_result" and "gdb_result".
18103 Expect inferior output and gdb output from $inferior_spawn_id and
18104 $gdb_spawn_id, respectively. Adjust all callers.
18105
18106 2015-07-29 Pedro Alves <palves@redhat.com>
18107
18108 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18109 of gdb_test_sequence.
18110
18111 2015-07-29 Pedro Alves <palves@redhat.com>
18112
18113 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18114 (saw_spurious_output): Expect inferior output from
18115 $inferior_spawn_id. Use gdb_test_stdio.
18116
18117 2015-07-29 Pedro Alves <palves@redhat.com>
18118
18119 * gdb.base/dprintf.exp: Use standard_testfile. Change
18120 prepare_for_testing call.
18121 (srcfile): Don't set.
18122 (restart): New procedure.
18123 (test_dprintf): New procecure, use to continue over dprintfs.
18124 (test_call, test_agent): New procedures, tests moved here.
18125 Restart gdb and recreate dprintfs. Adjust expected output.
18126
18127 2015-07-29 Pedro Alves <palves@redhat.com>
18128
18129 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18130
18131 2015-07-29 Pedro Alves <palves@redhat.com>
18132
18133 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18134
18135 2015-07-29 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18138 gdb_test_stdio.
18139
18140 2015-07-29 Pedro Alves <palves@redhat.com>
18141
18142 * lib/gdb.exp (gdb_test_stdio): New procedure.
18143
18144 2015-07-29 Pedro Alves <palves@redhat.com>
18145
18146 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18147
18148 2015-07-29 Pedro Alves <palves@redhat.com>
18149
18150 * gdb.base/call-signal-resume.exp: Remove check for
18151 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18152 * gdb.base/unwindonsignal.exp: Likewise.
18153 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18154 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18155
18156 2015-07-29 Pedro Alves <palves@redhat.com>
18157
18158 * gdb.base/siginfo-addr.c (pass): New function.
18159 (handler): Call it iff si_addr is correct.
18160 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18161 Set a breakpoint at "pass" and continue to it.
18162
18163 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18164
18165 * gdb.python/py-objfile.exp: Make some tests have unique names.
18166 * gdb.python/py-pp-registration.exp: Likewise.
18167
18168 2015-07-28 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18171
18172 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18173
18174 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18175
18176 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18177
18178 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18179
18180 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18181
18182 * gdb.base/gdb-sigterm-2.exp: New test.
18183
18184 2015-07-25 Doug Evans <xdje42@gmail.com>
18185
18186 Revert:
18187 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18188 (workers/%.worker, build-perf): New rule.
18189 (GDB_PERFTEST_MODE): New variable.
18190 (check-perf): Use it.
18191 (clean): Clean up gdb.perf parallel build subdirs.
18192 * lib/build-piece.exp: New file.
18193 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18194 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18195 name.
18196 (standard_temp_file): Ditto.
18197 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18198 of $GDB_PARALLEL.
18199
18200 2015-07-24 Doug Evans <dje@google.com>
18201
18202 * gdb.perf/lib/perftest/utils.py: New file.
18203 * gdb.perf/gm-hello.cc: New file.
18204 * gdb.perf/gm-pervasive-typedef.cc: New file.
18205 * gdb.perf/gm-pervasive-typedef.h: New file.
18206 * gdb.perf/gm-std.cc: New file.
18207 * gdb.perf/gm-std.h: New file.
18208 * gdb.perf/gm-use-cerr.cc: New file.
18209 * gdb.perf/gm-utils.h: New file.
18210 * gdb.perf/gmonster-null-lookup.py: New file.
18211 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18212 * gdb.perf/gmonster-print-cerr.py: New file.
18213 * gdb.perf/gmonster-ptype-string.py: New file.
18214 * gdb.perf/gmonster-runto-main.py: New file.
18215 * gdb.perf/gmonster-select-file.py: New file.
18216 * gdb.perf/gmonster1-null-lookup.exp: New file.
18217 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18218 * gdb.perf/gmonster1-print-cerr.exp: New file.
18219 * gdb.perf/gmonster1-ptype-string.exp: New file.
18220 * gdb.perf/gmonster1-runto-main.exp: New file.
18221 * gdb.perf/gmonster1-select-file.exp: New file.
18222 * gdb.perf/gmonster1.cc: New file.
18223 * gdb.perf/gmonster1.exp: New file.
18224 * gdb.perf/gmonster2-null-lookup.exp: New file.
18225 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18226 * gdb.perf/gmonster2-print-cerr.exp: New file.
18227 * gdb.perf/gmonster2-ptype-string.exp: New file.
18228 * gdb.perf/gmonster2-runto-main.exp: New file.
18229 * gdb.perf/gmonster2-select-file.exp: New file.
18230 * gdb.perf/gmonster2.cc: New file.
18231 * gdb.perf/gmonster2.exp: New file.
18232
18233 2015-07-24 Doug Evans <dje@google.com>
18234
18235 * gdb.perf/README: New file.
18236 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18237 * lib/gen-perf-test.exp: New file.
18238
18239 2015-07-24 Doug Evans <dje@google.com>
18240
18241 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18242 (PerfTest::startup): New function.
18243 (PerfTest::run): Return result of calling body.
18244 (PerfTest::assemble): Rewrite.
18245 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18246 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18247 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18248 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18249 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18250
18251 2015-07-24 Doug Evans <dje@google.com>
18252
18253 * lib/gdb.exp (clean_restart): Make executable optional.
18254
18255 2015-07-24 Doug Evans <dje@google.com>
18256
18257 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18258 compiler_info references.
18259 * gdb.cp/temargs.exp: Ditto.
18260 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18261 (get_compiler_info): Early exit if already computed. Set compiler_info
18262 to "unknown" if there was a problem.
18263 (test_compiler_info): Add function comment. Call get_compiler_info.
18264
18265 2015-07-24 Doug Evans <dje@google.com>
18266
18267 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18268 (workers/%.worker, build-perf): New rule.
18269 (GDB_PERFTEST_MODE): New variable.
18270 (check-perf): Use it.
18271 (clean): Clean up gdb.perf parallel build subdirs.
18272 * lib/build-piece.exp: New file.
18273 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18274 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18275 name.
18276 (standard_temp_file): Ditto.
18277 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18278 of $GDB_PARALLEL.
18279
18280 2015-07-24 Doug Evans <dje@google.com>
18281
18282 * lib/future.exp (gdb_default_target_compile): New option
18283 "early_flags".
18284 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18285 --as-needed.
18286
18287 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18288
18289 * gdb.base/catch-syscall.exp: Call gdb_exit before
18290 gdb_skip_xml_test.
18291
18292 2015-07-24 Pedro Alves <palves@redhat.com>
18293
18294 * gdb.python/py-events.exp: Accept output between the stop event
18295 and the prompt.
18296 * gdb.python/py-evsignal.exp: Likewise.
18297 * gdb.python/py-evthreads.exp: Likewise.
18298
18299 2015-07-24 Pedro Alves <palves@redhat.com>
18300
18301 PR gdb/18717
18302 * gdb.threads/non-ldr-exit.c: New file.
18303 * gdb.threads/non-ldr-exit.exp: New file.
18304
18305 2015-07-24 Yao Qi <yao.qi@linaro.org>
18306
18307 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18308 restarting process.
18309
18310 2015-07-24 Yao Qi <yao.qi@linaro.org>
18311
18312 * gdb.server/ext-restart.exp: New file.
18313
18314 2015-07-24 Yao Qi <yao.qi@linaro.org>
18315
18316 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18317 argument options.
18318 * gdb.server/ext-wrapper.exp: New file.
18319
18320 2015-07-23 Doug Evans <dje@google.com>
18321
18322 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18323 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18324
18325 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18326
18327 * gdb.ada/var_arr_typedef.exp: New testcase.
18328 * gdb.ada/var_arr_typedef/pack.adb: New file.
18329 * gdb.ada/var_arr_typedef/pack.ads: New file.
18330 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18331
18332 2015-07-20 Joel Brobecker <brobecker@adacore.com>
18333
18334 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18335
18336 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18337
18338 * gdb.arch/i386-biarch-core.exp: Replace istarget
18339 by "complete set gnutarget". Remove expectation for the "core-file"
18340 command.
18341
18342 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18343
18344 Revert the previous commit:
18345 Tests for validate symbol file using build-id.
18346
18347 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18348
18349 Tests for validate symbol file using build-id.
18350 * gdb.base/solib-mismatch-lib.c: New file.
18351 * gdb.base/solib-mismatch-libmod.c: New file.
18352 * gdb.base/solib-mismatch.c: New file.
18353 * gdb.base/solib-mismatch.exp: New file.
18354
18355 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18356
18357 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18358 nios2-*-linux*.
18359 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18360 * gdb.base/siginfo.exp: Likewise.
18361 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18362
18363 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18364
18365 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18366 Move it to ...
18367 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18368 ... here.
18369 * gdb.trace/range-stepping.exp: Check that the target supports
18370 range stepping.
18371
18372 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18373
18374 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18375
18376 2015-07-14 Pedro Alves <palves@redhat.com>
18377
18378 * gdb.base/killed-outside.exp: New file.
18379 * gdb.base/killed-outside.c: New file.
18380
18381 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18382
18383 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18384 (n at main): New.
18385 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18386
18387 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18388
18389 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18390 infcall tests instead of setting up for KFAIL.
18391
18392 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18393
18394 * gdb.btrace/record_goto-step.exp: New.
18395
18396 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18397
18398 PR compile/18484
18399 * gdb.compile/compile.c (struct struct_type): Add volatile to
18400 selffield's type.
18401 * gdb.compile/compile.exp
18402 (compile code struct_object.selffield = &struct_object): Skip further
18403 struct_object tests if this one xfails.
18404
18405 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
18406
18407 PR exp/18617
18408 * gdb.trace/ax.exp: Add test.
18409
18410 2015-07-07 Yao Qi <yao.qi@linaro.org>
18411
18412 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18413 instead of istarget "aarch64*-*-*".
18414 * gdb.arch/aarch64-fp.exp: Likewise.
18415 * gdb.base/float.exp: Likewise.
18416 * gdb.reverse/aarch64.exp: Likewise.
18417 * lib/gdb.exp (is_aarch64_target): New proc.
18418
18419 2015-07-07 Yao Qi <yao.qi@linaro.org>
18420
18421 * lib/gdb.exp (is_aarch32_target): New proc.
18422 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18423 instead of "istarget "arm*-*-*"".
18424 * gdb.arch/arm-disp-step.exp: Likewise.
18425 * gdb.arch/thumb-bx-pc.exp: Likewise.
18426 * gdb.arch/thumb-prologue.exp: Likewise.
18427 * gdb.arch/thumb-singlestep.exp: Likewise.
18428 * gdb.base/disp-step-syscall.exp: Likewise.
18429 * gdb.base/float.exp: Likewise.
18430
18431 2015-07-07 Yao Qi <yao.qi@linaro.org>
18432
18433 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18434 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18435
18436 2015-07-07 Yao Qi <yao.qi@linaro.org>
18437
18438 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18439 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18440 if it exists.
18441 * gdb.multi/multi-arch.exp: Likewise.
18442
18443 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18444
18445 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18446 print.
18447
18448 2015-07-07 Yao Qi <yao.qi@linaro.org>
18449
18450 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18451
18452 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18453
18454 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18455 '[' and ']' characters.
18456
18457 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18458
18459 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18460
18461 2015-06-29 Pedro Alves <palves@redhat.com>
18462
18463 PR threads/18127
18464 * gdb.threads/hand-call-new-thread.c: New file.
18465 * gdb.threads/hand-call-new-thread.c: New file.
18466
18467 2015-06-26 Keith Seitz <keiths@redhat.com>
18468 Doug Evans <dje@google.com>
18469
18470 PR 16253
18471 * gdb.cp/var-tag-2.cc: New file.
18472 * gdb.cp/var-tag-3.cc: New file.
18473 * gdb.cp/var-tag-4.cc: New file.
18474 * gdb.cp/var-tag.cc: New file.
18475 * gdb.cp/var-tag.exp: New file.
18476
18477 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18478
18479 * gdb.base/history-duplicates.exp: New test.
18480
18481 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18482
18483 * gdb.base/completion.exp: Test the completion of the "focus"
18484 command.
18485
18486 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18487
18488 * gdb.arch/amd64-prologue-skip.S: New file.
18489 * gdb.arch/amd64-prologue-skip.exp: New file.
18490
18491 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18492
18493 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18494 is_address_zero_readable check.
18495
18496 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18497
18498 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18499 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18500
18501 2015-06-24 Yao Qi <yao.qi@linaro.org>
18502
18503 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18504 linux targets.
18505
18506 2015-06-24 Yao Qi <yao.qi@linaro.org>
18507
18508 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18509 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18510 * gdb.base/siginfo-thread.exp: Likewise.
18511
18512 2015-06-22 Yao Qi <yao.qi@linaro.org>
18513
18514 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18515
18516 2015-06-22 Yao Qi <yao.qi@linaro.org>
18517
18518 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18519 aarch64*-*-*.
18520 (skip_hw_watchpoint_tests): Likewise.
18521
18522 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18523
18524 * gdb.base/gdbinit-history.exp: Test the interaction between
18525 setting GDBHISTSIZE and setting the history size via .gdbinit.
18526
18527 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18528
18529 PR gdb/16999
18530 * gdb.base/gdbhistsize-history.exp: New test.
18531
18532 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18533
18534 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18535 with GDBHISTSIZE.
18536 * gdb.base/readline.exp: Likewise.
18537
18538 2015-06-17 Yao Qi <yao.qi@linaro.org>
18539
18540 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18541 line.
18542
18543 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18544
18545 * gdb.base/gdbinit-history.exp: Add test case to check that
18546 an unlimited history file does not get truncated on exit.
18547
18548 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18549
18550 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18551 (VECTOR): New macro. Use it...
18552 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18553 ...for these typedefs.
18554 (int8, char1, int1, double1): New typedefs.
18555 (struct just_int2, struct two_int2): New structures.
18556 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18557 (add_structvecs, add_singlevecs): New functions.
18558 (main): Call add_some_intvecs twice.
18559 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18560 the compile and exit upon failure. Try compiling for the "native"
18561 architecture. Test inferior function calls with vector arguments
18562 and vector return value handling with "finish" and "return".
18563
18564 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18565
18566 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18567 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18568 PE file.
18569 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18570
18571 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18572
18573 PR breakpoints/16465
18574 * gdb.mi/mi-dprintf-pending.c: New file.
18575 * gdb.mi/mi-dprintf-pending.exp: New test.
18576 * gdb.mi/mi-dprintf-pendshr.c: New file.
18577
18578 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18579 Mircea Gherzan <mircea.gherzan@intel.com>
18580
18581 * gdb.arch/i386-mpx-map.c: New file.
18582 * gdb.arch/i386-mpx-map.exp: New File.
18583
18584 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18585
18586 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18587 * gdb.arch/i386-mpx.exp: Indentation fixed.
18588
18589 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18590
18591 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18592 function and improved indentation.
18593 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18594 gdb_test_multiple. Added additional tests to skip the test.
18595
18596 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18597
18598 * gdb.arch/i386-avx512.c: Change path in include file.
18599 * gdb.arch/i386-avx512.exp: Change include dir path
18600 compilation flag.
18601 * gdb.arch/i386-mpx.c: Change path in include file.
18602 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18603 flag.
18604
18605 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18606
18607 * gdb.compile/compile-print.exp (compile print *vararray@3)
18608 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18609
18610 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18611
18612 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18613 (do not keep jit in memory): ... this.
18614 (expect 5): Change it to ...
18615 (expect no 5): ... this.
18616
18617 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18618
18619 PR gdb/15564
18620 * gdb.mi/mi-detach.exp: New file.
18621
18622 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18623
18624 PR symtab/18392
18625 * gdb.arch/amd64-tailcall-self.S: New file.
18626 * gdb.arch/amd64-tailcall-self.c: New file.
18627 * gdb.arch/amd64-tailcall-self.exp: New file.
18628
18629 2015-05-28 Don Breazeal <donb@codesourcery.com>
18630
18631 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18632 tests for remote targets by checking is_target_gdbserver.
18633
18634 2015-05-27 Doug Evans <dje@google.com>
18635
18636 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18637 * gdb.dwarf2/opaque-type-lookup.c: New file.
18638 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18639
18640 2015-05-26 Doug Evans <dje@google.com>
18641
18642 * gdb.cp/iostream.cc: New file.
18643 * gdb.cp/iostream.exp: New file.
18644
18645 2015-05-26 Doug Evans <dje@google.com>
18646
18647 * gdb.dwarf2/dw2-op-call.exp: Update.
18648 * gdb.dwarf2/dw4-sig-types.exp: Update.
18649 * gdb.dwarf2/implptr.exp: Update.
18650 * gdb.mi/mi-cmd-param-changed.exp: Update.
18651
18652 2015-05-26 Doug Evans <dje@google.com>
18653
18654 * gdb.python/py-lazy-string.c: New file.
18655 * gdb.python/py-lazy-string.exp: New file.
18656 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18657 (main): Update. Add estring3.
18658 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18659 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18660
18661 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18662 Yao Qi <yao.qi@linaro.org>
18663
18664 * gdb.reverse/aarch64.c: New.
18665 * gdb.reverse/aarch64.exp: New.
18666
18667 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18668
18669 * lib/gdb.exp (supports_process_record): Return true for
18670 aarch64*-linux*.
18671 (supports_reverse): Likewise.
18672
18673 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18674
18675 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18676 Use with_test_prefix.
18677
18678 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18679
18680 * gdb.base/completion.exp: Add test for completion of layout
18681 names.
18682
18683 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18684
18685 * lib/gdb.exp (skip_tui_tests): New proc.
18686 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18687
18688 2015-05-19 Pedro Alves <palves@redhat.com>
18689
18690 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18691 Save the whole env array instead of just HOME. Unset HISTSIZE in
18692 the environment while testing. Restore whole environment
18693 afterwards.
18694
18695 2015-05-16 Doug Evans <xdje42@gmail.com>
18696
18697 * gdb.guile/scm-ports.c: New file.
18698 * gdb.guile/scm-ports.exp: Add memory port tests.
18699
18700 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18701
18702 * gdb.compile/compile-print.c: New file.
18703 * gdb.compile/compile-print.exp: New file.
18704
18705 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18706
18707 * gdb.compile/compile-ops.exp: Cast param to void.
18708 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18709 (compile code struct_object.selffield = &struct_object): Add xfail.
18710
18711 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18712
18713 * gdb.ada/arr_enum_with_gap: New testcase.
18714
18715 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18716
18717 * gdb.ada/byte_packed_arr: New testcase.
18718
18719 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18720
18721 * gdb.ada/pckd_neg: New testcase.
18722
18723 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18724
18725 PR gdb/17820
18726 * gdb.base/gdbinit-history.exp: New test.
18727 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18728 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18729
18730 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18731
18732 * gdb.python/py-xmethods.cc: Enhance test case.
18733 * gdb.python/py-xmethods.exp: New tests.
18734 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18735 function.
18736 (B_indexoper): Likewise.
18737 (global_dm_list) : Add new xmethod worker functions.
18738
18739 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18740
18741 * gdb.base/coredump-filter.exp: Correctly unset
18742 "coredump_var_addr" array.
18743
18744 2015-05-08 Pedro Alves <palves@redhat.com>
18745
18746 * gdb.server/non-existing-program.exp: Unset spawn_id.
18747
18748 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18749
18750 PR python/18291
18751 * gdb.python/py-xmethods.exp: Add tests.
18752
18753 2015-05-08 Yao Qi <yao.qi@linaro.org>
18754
18755 PR gdb/18208
18756 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18757 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18758 function set_coredump_filter, and remove remote_exec call.
18759 Remove argument ipid. Callers update.
18760 (top level): Don't get inferior's PID.
18761
18762 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18763
18764 * gdb.base/watch_thread_num.exp: Skip test on targets without
18765 access watchpoints.
18766
18767 2015-05-06 Pedro Alves <palves@redhat.com>
18768
18769 PR server/18081
18770 * gdb.server/non-existing-program.exp: New file.
18771
18772 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18773
18774 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18775
18776 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18777
18778 * gdb.ada/out_of_line_in_inlined: New testcase.
18779
18780 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18781
18782 * gdb.ada/var_rec_arr: New testcase.
18783
18784 2015-04-30 Yao Qi <yao.qi@linaro.org>
18785
18786 * gdb.base/break-idempotent.exp: If
18787 skip_hw_watchpoint_multi_tests returns true, skip the tests
18788 on "rwatch" and "awatch".
18789
18790 2015-04-30 Yao Qi <yao.qi@linaro.org>
18791
18792 * gdb.base/relativedebug.exp: Invoke gdb command
18793 "info sharedlibrary", and if libc.so doesn't have debug info,
18794 skip the test.
18795
18796 2015-04-29 Doug Evans <dje@google.com>
18797
18798 * gdb.python/py-xmethods.exp: Add ptype tests.
18799 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18800 get_result_type method.
18801
18802 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18803
18804 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18805 the target does not support hardware watchpoints.
18806
18807 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18808
18809 * gdb.base/break-always.exp: Abort testing if writing to memory
18810 causes an error.
18811
18812 2015-04-28 Doug Evans <dje@google.com>
18813
18814 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18815 * gdb.python/py-pp-registration.exp: ... here. New file.
18816 * gdb.python/py-pp-registration.c: New file.
18817 * gdb.python/py-pp-registration.py: New file.
18818
18819 2015-04-28 Doug Evans <dje@google.com>
18820
18821 * gdb.python/py-bad-printers.c: New file.
18822 * gdb.python/py-bad-printers.py: New file.
18823 * gdb.python/py-bad-printers.exp: New file.
18824
18825 2015-04-28 Sasha Smundak <asmundak@google.com>
18826
18827 * gdb.python/py-type.exp: New test.
18828
18829 2015-04-28 Andy Wingo <wingo@igalia.com>
18830
18831 * gdb.python/py-parameter.exp:
18832 * gdb.guile/scm-parameter.exp: Escape the path that we are
18833 matching against, as it might contain characters that are special
18834 to regular expressions.
18835
18836 2015-04-27 Joel Brobecker <brobecker@adacore.com>
18837
18838 * gdb.ada/rec_comp: New testcase.
18839
18840 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18841
18842 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18843 before using it.
18844
18845 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18846
18847 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18848 new tests for verilog output.
18849
18850 2015-04-24 Yao Qi <yao.qi@linaro.org>
18851
18852 * boards/remote-gdbserver-on-localhost.exp: New file.
18853
18854 2015-04-23 Pedro Alves <palves@redhat.com>
18855
18856 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18857 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18858 "end of file", remove $inferior_spawn_id from the indirect list.
18859
18860 2015-04-23 Pedro Alves <palves@redhat.com>
18861
18862 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18863
18864 2015-04-23 Pedro Alves <palves@redhat.com>
18865
18866 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18867 on $any_spawn_id instead of only on $gdb_spawn_id.
18868
18869 2015-04-21 Pierre Muller <muller@sourceware.org>
18870
18871 PR pascal/17815
18872 * lib/pascal.exp (gpc_compile): Add new option "class".
18873 (fpc_compile): Likewise.
18874 * gdb.pascal/case-insensitive-symbols.pas: New file.
18875 * gdb.pascal/case-insensitive-symbols.exp: New file.
18876
18877 2015-04-20 Gary Benson <gbenson@redhat.com>
18878
18879 * gdb.base/attach.exp: Fix three extended remote failures.
18880
18881 2015-04-17 Gary Benson <gbenson@redhat.com>
18882
18883 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18884 the main executable over the remote protocol.
18885
18886 2015-04-16 Pedro Alves <palves@redhat.com>
18887
18888 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18889 a new gdbserver if gdbserver_reconnect_p is set.
18890
18891 2015-04-16 Pedro Alves <palves@redhat.com>
18892
18893 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18894 is set, don't exit gdbserver.
18895
18896 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18897
18898 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18899 appropriate .insn, such that an older assembler can be used.
18900 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18901 the z/Architecture instruction set on 31-bit targets as well.
18902
18903 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18904
18905 * gdb.go/handcall.exp: Remove all logic related to the first
18906 breakpoint and rely on go_runto_main instead.
18907 * gdb.go/strings.exp: Likewise.
18908 * gdb.go/unsafe.exp: Likewise.
18909 * gdb.go/hello.exp: Likewise. Also rename the remaining
18910 breakpoint marker to "breakpoint 1".
18911 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18912 * gdb.go/strings.go: Likewise.
18913 * gdb.go/unsafe.go: Likewise.
18914 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18915 "set breakpoint 2 here" and rename the remaining breakpoint marker
18916 to "breakpoint 1".
18917
18918 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18919
18920 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18921 if itertools.imap is not present.
18922 * gdb.python/py-objfile.exp: Add parentheses.
18923 * gdb.python/py-type.exp: Same.
18924 * gdb.python/py-unwind-maint.py: Same.
18925
18926 2015-04-15 Yao Qi <yao.qi@linaro.org>
18927
18928 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18929 of ":$ptr_size" and set its form explicitly.
18930
18931 2015-04-15 Pedro Alves <palves@redhat.com>
18932 Yao Qi <yao.qi@linaro.org>
18933
18934 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18935 timeout by factor of 4.
18936 (test_regular_watch): Likewise.
18937 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18938 * gdb.reverse/sigall-reverse.exp: Likewise.
18939 * gdb.reverse/until-precsave.exp: Likewise.
18940 * lib/gdb.exp (with_timeout_factor): New proc.
18941 (gdb_expect): Move some code to ...
18942 (get_largest_timeout): ... here. New procedure.
18943
18944 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
18945
18946 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18947
18948 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18949
18950 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18951 to write to the .text section.
18952
18953 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18954
18955 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18956 Handle the case of targets that do not provide PID information.
18957
18958 2015-04-13 Yao Qi <yao.qi@linaro.org>
18959
18960 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18961 and use expect instead of gdb_expect.
18962
18963 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18964
18965 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18966 "coredump_var_addr" to avoid naming conflict with other testcases.
18967
18968 2015-04-10 Pedro Alves <palves@redhat.com>
18969
18970 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18971 gdb_test_sequence and gdb_assert.
18972
18973 2015-04-10 Pedro Alves <palves@redhat.com>
18974
18975 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18976 test messages that don't include the breakpoint address.
18977
18978 2015-04-10 Yao Qi <yao.qi@linaro.org>
18979
18980 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18981 false for some offset and width combinations which aren't
18982 supported by linux kernel.
18983
18984 2015-04-10 Pedro Alves <palves@redhat.com>
18985
18986 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18987 procedure, factored out from ...
18988 (top level): ... here. Add "set displaced-stepping" testing axis.
18989 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18990 parameter "displaced". Use it.
18991 (top level): Use foreach and add "set displaced-stepping" testing
18992 axis.
18993
18994 2015-04-10 Pedro Alves <palves@redhat.com>
18995
18996 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18997 Remove comment.
18998 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18999 both the address of the instruction that triggers the watchpoint
19000 and the address of the instruction immediately after, and use
19001 those addresses for the test. Fix comment.
19002
19003 2015-04-10 Pedro Alves <palves@redhat.com>
19004
19005 * gdb.base/sigstep.exp (breakpoint_to_handler)
19006 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19007 Test "backtrace" in handler.
19008 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19009 (top level): Add new "displaced" test axis to
19010 breakpoint_to_handler, breakpoint_to_handler_entry and
19011 breakpoint_over_handler.
19012
19013 2015-04-10 Pedro Alves <palves@redhat.com>
19014
19015 PR gdb/18216
19016 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19017
19018 2015-04-10 Yao Qi <yao.qi@linaro.org>
19019
19020 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19021 (test_add_rn_pc): New function.
19022 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19023 (top level): Invoke test_add_rn_pc.
19024
19025 2015-04-10 Pedro Alves <palves@redhat.com>
19026
19027 PR gdb/13858
19028 * gdb.base/step-over-no-symbols.exp: New file.
19029
19030 2015-04-09 Andy Wingo <wingo@igalia.com>
19031
19032 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19033 after the Python tests.
19034
19035 2015-04-08 Keith Seitz <keiths@redhat.com>
19036
19037 PR python/16699
19038 * gdb.python/py-completion.exp: New tests for completion.
19039 * gdb.python/py-completion.py (CompleteLimit1): New class.
19040 (CompleteLimit2): Likewise.
19041 (CompleteLimit3): Likewise.
19042 (CompleteLimit4): Likewise.
19043 (CompleteLimit5): Likewise.
19044 (CompleteLimit6): Likewise.
19045 (CompleteLimit7): Likewise.
19046
19047 2015-04-08 Pedro Alves <palves@redhat.com>
19048
19049 PR gdb/18214
19050 PR gdb/18216
19051 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19052 function.
19053 (main): Install it as SIGUSR1 handler.
19054 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19055 parameter. Always use "setup" as prefix. Toggle "set
19056 displaced-stepping" off/on depending on global. Don't switch to
19057 thread 1 here.
19058 (top level): Add displaced stepping "off/on" test axis. Update
19059 "setup" calls. Wrap each subtest with with_test_prefix. Test
19060 continuing with a queued signal in each thread.
19061
19062 2015-04-08 Pedro Alves <palves@redhat.com>
19063
19064 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19065 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19066 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19067 Return early if running to main fails.
19068 * gdb.trace/while-stepping.exp: Likewise.
19069
19070 2015-04-07 Pedro Alves <palves@redhat.com>
19071
19072 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19073 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19074 interact with inferior program.
19075
19076 2015-04-07 Pedro Alves <palves@redhat.com>
19077
19078 * lib/gdb.exp (inferior_spawn_id): New global.
19079 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19080 spawn id after processing the user code.
19081 (default_gdb_start): Set inferior_spawn_id.
19082 (send_inferior): New procedure.
19083 * lib/gdbserver-support.exp (gdbserver_start): Set
19084 inferior_spawn_id.
19085 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19086
19087 2015-04-07 Pedro Alves <palves@redhat.com>
19088
19089 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19090 * lib/gdbserver-support.exp (gdbserver_start): Make
19091 $server_spawn_id global.
19092 (gdbserver_start): Don't wait for gdbserver's spawn id with
19093 expect_background.
19094 (close_gdbserver): New procedure.
19095 (gdb_exit): Rename the default version and reimplement.
19096
19097 2015-04-07 Pedro Alves <palves@redhat.com>
19098
19099 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19100 append the substituted item, not the original item.
19101
19102 2015-04-07 Pedro Alves <palves@redhat.com>
19103
19104 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19105 gdb_expect.
19106
19107 2015-04-07 Pedro Alves <palves@redhat.com>
19108
19109 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19110 output appearing once only.
19111
19112 2015-04-07 Pedro Alves <palves@redhat.com>
19113
19114 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19115 that doesn't expect anything. Return early if running to main
19116 fails.
19117
19118 2015-04-07 Yao Qi <yao.qi@linaro.org>
19119
19120 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19121 (child_function): Call alarm.
19122 (main): Move call to alarm into the loop.
19123 * gdb.threads/non-stop-fair-events.exp: Build program with
19124 -DTIMEOUT=$timeout.
19125
19126 2015-04-06 Doug Evans <xdje42@gmail.com>
19127
19128 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19129 Fix dest parameter to board_info.
19130 (fpc_compile): Ditto.
19131 (gdb_compile_pascal): Rename dest arg to destfile.
19132
19133 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19134
19135 * gdb.ada/funcall_ref.exp: New file.
19136 * gdb.ada/funcall_ref/foo.adb: New file.
19137
19138 2015-04-02 Yao Qi <yao.qi@linaro.org>
19139
19140 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19141 is remote.
19142
19143 2015-04-02 Gary Benson <gbenson@redhat.com>
19144
19145 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19146
19147 2015-04-01 Sasha Smundak <asmundak@google.com>
19148
19149 * gdb.python/py-unwind-maint.c: New file.
19150 * gdb.python/py-unwind-maint.exp: New test.
19151 * gdb.python/py-unwind-maint.py: New file.
19152 * gdb.python/py-unwind.c: New file.
19153 * gdb.python/py-unwind.exp: New test.
19154 * gdb.python/py-unwind.py: New test.
19155
19156 2015-04-01 Pedro Alves <palves@redhat.com>
19157
19158 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19159 to fail instead of non-existent $test.
19160
19161 2015-04-01 Pedro Alves <palves@redhat.com>
19162
19163 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19164 GDBFLAGS if not empty.
19165
19166 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19167
19168 * gdb.ada/complete.exp: Remove "multi_line".
19169 * gdb.ada/info_exc.exp: Remove "multi_line".
19170 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19171 * gdb.ada/ptype_field.exp: Remove "multi_line".
19172 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19173 * gdb.ada/tagged.exp: Remove "multi_line".
19174 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19175 [multi_line ...]
19176 * gdb.btrace/delta.exp: Likewise.
19177 * gdb.btrace/exception.exp: Likewise.
19178 * gdb.btrace/function_call_history.exp: Likewise.
19179 * gdb.btrace/instruction_history.exp: Likewise.
19180 * gdb.btrace/nohist.exp: Likewise.
19181 * gdb.btrace/record_goto.exp: Likewise.
19182 * gdb.btrace/segv.exp: Likewise.
19183 * gdb.btrace/stepi.exp: Likewise.
19184 * gdb.btrace/tailcall.exp: Likewise.
19185 * gdb.btrace/unknown_functions.exp: Likewise.
19186 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19187 * lib/gdb.exp: Add the "multi_line" helper.
19188
19189 2015-04-01 Pedro Alves <palves@redhat.com>
19190
19191 * gdb.threads/tid-reuse.c: New file.
19192 * gdb.threads/tid-reuse.exp: New file.
19193
19194 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19195
19196 PR corefiles/16092
19197 * gdb.base/coredump-filter.c: New file.
19198 * gdb.base/coredump-filter.exp: Likewise.
19199
19200 2015-03-27 Petr Machata <pmachata@redhat.com>
19201
19202 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19203 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19204 (Dwarf::assemble): Initialize them.
19205 (Dwarf::lines): New function.
19206
19207 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19208
19209 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19210 SYMBOL_PREFIX for x86_64-*-cygwin.
19211
19212 2015-03-26 Andy Wingo <wingo@igalia.com>
19213
19214 PR symtab/18148
19215 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19216 const_value but not a location.
19217 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19218 location defined in non-main CUs are visible.
19219
19220 2015-03-26 Yao Qi <yao.qi@linaro.org>
19221
19222 PR testsuite/18139
19223 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19224 Add a line number entry for the same line.
19225 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19226 Add a line number entry for the same line.
19227
19228 2015-03-26 Yao Qi <yao.qi@linaro.org>
19229
19230 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19231 .int 0.
19232 (func): Likewise. Add .Lfunc_1 label.
19233 Use .Lfunc_1 label.
19234 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19235 .int 0.
19236 (func): Likewise.
19237 Use .Lfunc_1 label.
19238
19239 2015-03-26 Yao Qi <yao.qi@linaro.org>
19240
19241 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19242 Call gdb_compile instead to compile each .s files without debug
19243 information.
19244
19245 2015-03-26 Yao Qi <yao.qi@linaro.org>
19246
19247 * gdb.base/savedregs.exp (process_saved_regs): Make
19248 "Saved registers:" optional in the pattern.
19249
19250 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19251
19252 * gdb.btrace/next.exp: Merged into step.exp.
19253 * gdb.btrace/finish.exp: Merged into step.exp.
19254 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19255 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19256 "record goto" and checking the exact replay position.
19257 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19258 check for "Recording format" in "info record" output.
19259 * gdb.btrace/record_goto.exp: Choose test file based on target.
19260 * gdb.btrace/x86-record_goto.S: Renamed into ...
19261 * gdb.btrace/x86_64-record_goto.S: ... this.
19262 * gdb.btrace/i686-record_goto.S: New.
19263 * gdb.btrace/x86-tailcall.S: Renamed into ...
19264 * gdb.btrace/x86_64-tailcall.S: ... this.
19265 * gdb.btrace/i686-tailcall.S: New.
19266 * gdb.btrace/x86-tailcall.c: Renamed into ...
19267 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19268 separate statements. Update test.
19269 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19270 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19271 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19272 * gdb.btrace/tailcall.exp: Choose test file based on target.
19273 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19274
19275 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19276
19277 * gdb.btrace/exception.exp: Increase BTS buffer size.
19278
19279 2015-03-24 Pedro Alves <palves@redhat.com>
19280
19281 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19282
19283 2015-03-24 Pedro Alves <palves@redhat.com>
19284
19285 * gdb.threads/schedlock.exp (test_step): No longer expect that
19286 "set scheduler-locking step" with "next" over a function call runs
19287 threads unlocked.
19288
19289 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19290
19291 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19292
19293 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19294
19295 PR breakpoints/16466
19296 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19297 * gdb.mi/mi-pending.c (thread_func): New function.
19298 (int main): Add threading support required.
19299 * gdb.mi/mi-pending.exp: Add tests for this issue.
19300 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19301 (pendfunc2): Remove stdio dependency.
19302 * gdb.mi/mi-pendshr2.c: New file.
19303
19304 2015-03-23 Keith Seitz <keiths@redhat.com>
19305
19306 * gdb.linespec/keywords.c: New file.
19307 * gdb.linespec/keywords.exp: New file.
19308
19309 2015-03-23 Keith Seitz <keiths@redhat.com>
19310
19311 PR gdb/18021
19312 * gdb.dwarf2/staticvirtual.exp: New test.
19313
19314 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19315
19316 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19317 * README: Remove HP-UX and gdb.hp.
19318 (configuration):
19319 * configure: Regenerate.
19320 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19321 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19322 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19323 gdb.hp/gdb.defects/Makefile.
19324 * gdb.hp/Makefile.in: File deleted.
19325 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19326 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19327 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19328 * gdb.hp/gdb.aCC/run.c: File deleted.
19329 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19330 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19331 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19332 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19333 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19334 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19335 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19336 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19337 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19338 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19339 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19340 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19341 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19342 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19343 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19344 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19345 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19346 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19347 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19348 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19349 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19350 * gdb.hp/gdb.compat/average.c: File deleted.
19351 * gdb.hp/gdb.compat/sum.c: File deleted.
19352 * gdb.hp/gdb.compat/xdb.c: File deleted.
19353 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19354 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19355 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19356 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19357 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19358 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19359 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19360 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19361 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19362 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19363 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19364 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19365 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19366 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19367 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19368 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19369 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19370 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19371 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19372 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19373 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19374 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19375 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19376 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19377 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19378 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19379 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19380 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19381 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19382 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19383 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19384 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19385 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19386 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19387 * gdb.hp/tools/odump: File deleted.
19388
19389 2015-03-19 Pedro Alves <palves@redhat.com>
19390
19391 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19392 (saw_thread_3): New globals.
19393 (top level): Increment them when an event for the corresponding
19394 thread is seen.
19395 (no thread starvation): New test.
19396
19397 2015-03-19 Pedro Alves <palves@redhat.com>
19398
19399 * gdb.threads/continue-pending-status.c: New file.
19400 * gdb.threads/continue-pending-status.exp: New file.
19401
19402 2015-03-18 Pedro Alves <palves@redhat.com>
19403
19404 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19405 Use gdb_is_target_remote instead of is_remote. Use
19406 gdb_test_multiple instead of gdb_expect. Exit early if
19407 gdb_test_multiple hits its internal matches. Tighten stepi tests
19408 expected output. Fail on exit with any signal, instead of just
19409 SIGILL.
19410
19411 2015-03-18 Yao Qi <yao.qi@linaro.org>
19412
19413 PR tdep/18107
19414 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19415 variable.
19416 * gdb.base/catch-syscall.exp: Don't skip it on
19417 aarch64*-*-linux* target. Remove elements in all_syscalls.
19418 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19419 target.
19420 (setup_all_syscalls): New proc.
19421
19422 2015-03-16 Yao Qi <yao.qi@linaro.org>
19423
19424 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19425 (top level): Skip tests if valid_addr_p returns false for
19426 $cmd1 or $cmd2.
19427
19428 2015-03-11 Andy Wingo <wingo@igalia.com>
19429
19430 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19431
19432 2015-03-11 Yao Qi <yao.qi@linaro.org>
19433
19434 * gdb.base/catch-syscall.exp: Fix typo in comments.
19435
19436 2015-03-11 Yao Qi <yao.qi@linaro.org>
19437
19438 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19439
19440 2015-03-09 Pedro Alves <palves@redhat.com>
19441
19442 * dg-extract-results.py: Delete.
19443
19444 2015-03-09 Pedro Alves <palves@redhat.com>
19445
19446 Merge dg-extract-results.sh from GCC upstream (r218843).
19447
19448 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19449 * dg-extract-results.sh: Use --text with grep to avoid issues with
19450 binary files. Fall back to cat -v, if that doesn't work.
19451
19452 2015-03-05 Pedro Alves <palves@redhat.com>
19453
19454 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19455
19456 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19457
19458 * lib/mi-support.exp (mi_expect_interrupt): Accept
19459 alternative event for when in all-stop mode.
19460
19461 2015-03-04 Pedro Alves <palves@redhat.com>
19462
19463 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19464
19465 2015-03-04 Mark Kettenis <kettenis@gnu.org>
19466
19467 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19468
19469 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19470
19471 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19472 regexps for GDB's current line display, accept a hex address
19473 preceding the line number.
19474
19475 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19476
19477 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19478 the 'arch1' variable for "s390*-linux*" targets.
19479
19480 2015-03-04 Pedro Alves <palves@redhat.com>
19481
19482 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19483 (main): Pass missing retval argument to pthread_join call.
19484
19485 2015-03-02 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19488 (top level): Call do_test with non-stop as well.
19489
19490 2015-03-02 Pedro Alves <palves@redhat.com>
19491
19492 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19493 -1.
19494
19495 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19496
19497 * gdb.arch/s390-vregs.exp: New test.
19498 * gdb.arch/s390-vregs.S: New file.
19499
19500 2015-02-27 Pedro Alves <palves@redhat.com>
19501
19502 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19503 call to catch_command_errors.
19504 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19505 catch_command_errors.
19506
19507 2015-02-27 Pedro Alves <palves@redhat.com>
19508
19509 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19510 "true" for boolean result.
19511 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19512 prototype of main.
19513
19514 2015-02-27 Pedro Alves <palves@redhat.com>
19515
19516 * lib/unbuffer_output.c: New file.
19517 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19518 (main): Call gdb_unbuffer_output.
19519
19520 2015-02-27 Yao Qi <yao.qi@linaro.org>
19521
19522 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19523 target.
19524
19525 2015-02-26 Doug Evans <dje@google.com>
19526
19527 * gdb.cp/class2.cc (Dbase, D): New classes.
19528 (main): New local delta.
19529 * gdb.cp/class2.exp: Test printing delta.
19530 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19531 (dynbar): New global.
19532 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19533
19534 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19535
19536 * gdb.compile/compile-ifunc.c: New file.
19537 * gdb.compile/compile-ifunc.exp: New file.
19538
19539 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19540
19541 * gdb.base/structs.exp: Check for correct struct on finish.
19542
19543 2015-02-26 Yao Qi <yao.qi@linaro.org>
19544
19545 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19546 is zero.
19547
19548 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19549
19550 * gdb.arch/cordic.ko.bz2: New file.
19551 * gdb.arch/cordic.ko.debug.bz2: New file.
19552 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19553
19554 2015-02-25 Yao Qi <yao.qi@linaro.org>
19555
19556 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19557 aarch64*-*-* target.
19558
19559 2015-02-23 Pedro Alves <palves@redhat.com>
19560
19561 * lib/gdb.exp (delete_breakpoints): Rewrite using
19562 gdb_test_multiple.
19563
19564 2015-02-23 Pedro Alves <palves@redhat.com>
19565
19566 * gdb.base/info-os.c: Include stdlib.h.
19567
19568 2015-02-22 Doug Evans <xdje42@gmail.com>
19569
19570 PR symtab/17855
19571 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19572 is read after symbols have been re-read.
19573 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19574 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19575
19576 2015-02-21 Doug Evans <dje@google.com>
19577
19578 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19579
19580 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19581
19582 PR corefiles/17808
19583 * gdb.arch/i386-biarch-core.core.bz2: New file.
19584 * gdb.arch/i386-biarch-core.exp: New file.
19585
19586 2015-02-21 Pedro Alves <palves@redhat.com>
19587
19588 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19589 runto_main fails.
19590
19591 2015-02-20 Pedro Alves <palves@redhat.com>
19592
19593 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19594 info probes.
19595
19596 2015-02-20 Pedro Alves <palves@redhat.com>
19597
19598 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19599
19600 2015-02-20 Pedro Alves <palves@redhat.com>
19601
19602 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19603 clean_restart before gdb_target_supports_trace.
19604
19605 2015-02-20 Pedro Alves <palves@redhat.com>
19606
19607 PR threads/18006
19608 * gdb.threads/clone-thread_db.c: New file.
19609 * gdb.threads/clone-thread_db.exp: New file.
19610
19611 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19612
19613 PR breakpoints/16812
19614 * gdb.base/catch-gdb-caused-signals.c: New file.
19615 * gdb.base/catch-gdb-caused-signals.exp: New file.
19616
19617 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19618
19619 * configure: Regenerated.
19620 * configure.ac: Use GDB_AC_TRANSFORM.
19621 * aclocal.m4: sinclude ../transform.m4.
19622
19623 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19624
19625 * lib/dtrace.exp: New file.
19626 * gdb.base/dtrace-probe.exp: Likewise.
19627 * gdb.base/dtrace-probe.d: Likewise.
19628 * gdb.base/dtrace-probe.c: Likewise.
19629 * lib/pdtrace.in: Likewise.
19630 * configure.ac: Output variables with the transformed names of
19631 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19632 * configure: Regenerated.
19633
19634 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19635
19636 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19637 expected message when trying to access $_probe_* convenience
19638 variables while not on a probe.
19639
19640 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19641
19642 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19643
19644 2015-02-11 Pedro Alves <pedro@codesourcery.com>
19645
19646 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19647 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19648
19649 2015-02-10 Doug Evans <xdje42@gmail.com>
19650
19651 * lib/gdb.exp (gdb_load): Always return a result.
19652
19653 2015-02-10 Pedro Alves <palves@redhat.com>
19654
19655 * gdb.threads/signal-sigtrap.c: New file.
19656 * gdb.threads/signal-sigtrap.exp: New file.
19657
19658 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19659
19660 * gdb.trace/no-attach-trace.c: New file.
19661 * gdb.trace/no-attach-trace.exp: New file.
19662
19663 2015-02-09 Mark Wielaard <mjw@redhat.com>
19664
19665 * gdb.dwarf2/atomic.c: New file.
19666 * gdb.dwarf2/atomic-type.exp: Likewise.
19667
19668 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19669
19670 * gdb.btrace/buffer-size.exp: Update "info record" output.
19671 * gdb.btrace/delta.exp: Update "info record" output.
19672 * gdb.btrace/enable.exp: Update "info record" output.
19673 * gdb.btrace/finish.exp: Update "info record" output.
19674 * gdb.btrace/instruction_history.exp: Update "info record" output.
19675 * gdb.btrace/next.exp: Update "info record" output.
19676 * gdb.btrace/nexti.exp: Update "info record" output.
19677 * gdb.btrace/step.exp: Update "info record" output.
19678 * gdb.btrace/stepi.exp: Update "info record" output.
19679 * gdb.btrace/nohist.exp: Update "info record" output.
19680
19681 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19682
19683 * gdb.btrace/buffer-size: New.
19684
19685 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19686
19687 * gdb.btrace/delta.exp: Update "info record" output.
19688 * gdb.btrace/enable.exp: Update "info record" output.
19689 * gdb.btrace/finish.exp: Update "info record" output.
19690 * gdb.btrace/instruction_history.exp: Update "info record" output.
19691 * gdb.btrace/next.exp: Update "info record" output.
19692 * gdb.btrace/nexti.exp: Update "info record" output.
19693 * gdb.btrace/step.exp: Update "info record" output.
19694 * gdb.btrace/stepi.exp: Update "info record" output.
19695 * gdb.btrace/nohist.exp: Update "info record" output.
19696
19697 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19698
19699 PR gdb/15678
19700 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19701
19702 2015-02-06 Pedro Alves <palves@redhat.com>
19703
19704 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19705 macro.
19706 (seconds_left, again): New globals.
19707 (main): Wait seconds_left in a 1-second sleep loop instead of
19708 sleeping 180 seconds. If 'again' is set, reset the seconds
19709 counter.
19710 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19711 'again' in the inferior before detaching. Print the seconds left.
19712 (options): New global.
19713 (top level): Build program with -DTIMEOUT=$timeout.
19714
19715 2015-02-06 Pedro Alves <palves@redhat.com>
19716
19717 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19718 determine how many seconds to pass to 'alarm'.
19719 * gdb.base/gdb-sigterm.exp (top level): Build program with
19720 -DTIMEOUT=$timeout.
19721 (do_test): Return success/failure indication. Add more verbose
19722 logging. Don't fail if 200 single steps are seen. Instead, fail
19723 when the test times out.
19724 (passes): New global.
19725 (top level): Break the testing loop if testing fails on any
19726 iteration. Use gdb_assert.
19727
19728 2015-02-04 Don Breazeal <donb@codesourcery.com>
19729
19730 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19731 and initialize them.
19732 (ipc_cleanup): New function.
19733 (main): Don't declare shmid, semid, and msqid. Add a call to
19734 atexit so that we call ipc_cleanup on exit.
19735
19736 2015-02-04 Pedro Alves <palves@redhat.com>
19737
19738 * boards/native-extended-gdbserver.exp: Remove any target variant
19739 specifications from the board name before clearing the isremote
19740 flag from board_info.
19741
19742 2015-01-31 Doug Evans <xdje42@gmail.com>
19743
19744 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19745
19746 2015-01-31 Gary Benson <gbenson@redhat.com>
19747
19748 * gdb.base/completion.exp: Disable completion limiting for
19749 existing tests. Add new tests to check completion limiting.
19750 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19751
19752 2015-01-31 Doug Evans <xdje42@gmail.com>
19753
19754 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19755
19756 2015-01-31 Doug Evans <xdje42@gmail.com>
19757
19758 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19759 entries. Duplicate file section script entries.
19760 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19761 inlined entries. Add test for safe-path rejection.
19762 * gdb.python/py-section-script.c: Add duplicate inlined section script
19763 entries. Duplicate file section script entries.
19764 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19765 inlined entries. Add test for safe-path rejection.
19766
19767 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19768
19769 * gdb.ada/disc_arr_bound: New testcase.
19770
19771 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19772
19773 * gdb.ada/mi_var_array: New testcase.
19774
19775 2015-01-27 Doug Evans <dje@google.com>
19776
19777 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19778 Add test for objfile.filename, objfile.username after objfile
19779 has been unloaded.
19780
19781 2015-01-26 Joel Brobecker <brobecker@adacore.com>
19782
19783 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19784 the second test to print the name attribute of value
19785 returned by the call to gdb.lookup_type, and adjust
19786 the expected output accordingly.
19787
19788 2015-01-25 Mark Wielaard <mjw@redhat.com>
19789
19790 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19791 * gdb.base/disp-step-fork.c: Include unistd.h.
19792 * gdb.base/siginfo-obj.c: Include stdio.h.
19793 * gdb.base/siginfo-thread.c: Likewise.
19794 * gdb.mi/non-stop.c: Include unistd.h.
19795 * gdb.mi/nsthrexec.c: Include stdio.h.
19796 * gdb.mi/pthreads.c: Include unistd.h.
19797 * gdb.modula2/unbounded1.c (main): Declare returns int.
19798 * gdb.reverse/consecutive-reverse.c: Likewise.
19799 * gdb.threads/create-fail.c: Include unistd.h.
19800 * gdb.threads/killed.c: Likewise.
19801 * gdb.threads/linux-dp.c: Likewise.
19802 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19803 * gdb.threads/non-ldr-exc-2.c: Likewise.
19804 * gdb.threads/non-ldr-exc-3.c: Likewise.
19805 * gdb.threads/non-ldr-exc-4.c: Likewise.
19806 * gdb.threads/pthreads.c: Include unistd.h.
19807 (main): Declare returns int.
19808 * gdb.threads/tls-main.c (foo): New declaration.
19809 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19810
19811 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19812
19813 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19814 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19815
19816 2015-01-15 Mark Wielaard <mjw@redhat.com>
19817
19818 * gdb.base/noreturn-return.c: New file.
19819 * gdb.base/noreturn-return.exp: New file.
19820 * gdb.base/noreturn-finish.c: New file.
19821 * gdb.base/noreturn-finish.exp: New file.
19822
19823 2015-01-23 Pedro Alves <palves@redhat.com>
19824
19825 * gdb.threads/continue-pending-after-query.c: New file.
19826 * gdb.threads/continue-pending-after-query.exp: New file.
19827
19828 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19829 Simon Marchi <simon.marchi@ericsson.com>
19830
19831 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19832 * gdb.base/valgrind-db-attach.exp: Same.
19833 * gdb.base/valgrind-infcall.exp: Same.
19834 * lib/mi-support.exp (default_mi_gdb_start): Same.
19835 * lib/prompt.exp (default_prompt_gdb_start): Same.
19836 * lib/gdb.exp (default_gdb_spawn): Same.
19837 (gdb_interact): New.
19838
19839
19840 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19841
19842 * gdb.compile/compile.exp (pointer to jit function): New test.
19843
19844 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
19845
19846 * lib/gdb.exp (supports_process_record): Return true for
19847 powerpc*-*-linux*.
19848 (supports_reverse): Likewise.
19849
19850 2015-01-15 Don Breazeal <donb@codesourcery.com>
19851
19852 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19853 instead of checking whether the target board is remote and
19854 use spawn_wait_for_attach instead of exec/sleep.
19855 * gdb.base/attach-twice.exp: Likewise.
19856
19857 2015-01-15 Joel Brobecker <brobecker@adacore.com>
19858
19859 * gdb.ada/var_arr_attrs: New testcase.
19860
19861 2015-01-14 Pedro Alves <palves@redhat.com>
19862 Joel Brobecker <brobecker@adacore.com>
19863
19864 PR gdb/17525
19865 * gdb.base/bp-cmds-execution-x-script.c: New file.
19866 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19867 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19868
19869 2015-01-14 Pedro Alves <palves@redhat.com>
19870
19871 PR cli/17828
19872 * gdb.base/batch-preserve-term-settings.c: New file.
19873 * gdb.base/batch-preserve-term-settings.exp: New file.
19874
19875 2015-01-13 Doug Evans <dje@google.com>
19876
19877 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19878 binary.
19879
19880 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19881
19882 * Makefile.in (clean mostlyclean): Do not delete *.py.
19883
19884 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19885
19886 * gdb.python/py-lookup-type.exp: New file.
19887
19888 2015-01-12 Pedro Alves <palves@redhat.com>
19889
19890 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19891 restore GDBFLAGS before returning.
19892
19893 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19894
19895 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19896 is_amd64_regs_target and is_x86_like_target.
19897
19898 2015-01-11 Doug Evans <xdje42@gmail.com>
19899
19900 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19901 is given without an explicit form.
19902 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19903 attributes.
19904 * gdb.dwarf/corrupt.exp: Ditto.
19905 * gdb.dwarf2/enum-type.exp: Ditto.
19906 * gdb.trace/entry-values.exp: Ditto.
19907 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19908
19909 2015-01-11 Doug Evans <xdje42@gmail.com>
19910
19911 PR gdb/15830
19912 * gdb.base/maint.exp: Remove references to "maint demangle".
19913 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19914 Add tests for explicitly specifying language to demangle.
19915 * gdb.dlang/demangle.exp: Ditto.
19916
19917 2015-01-09 Pedro Alves <palves@redhat.com>
19918
19919 * gdb.threads/non-stop-fair-events.c: New file.
19920 * gdb.threads/non-stop-fair-events.exp: New file.
19921
19922 2015-01-09 Pedro Alves <palves@redhat.com>
19923
19924 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19925 the global scope. Set a breakpoint after all threads are started
19926 rather than stepping over two source lines. Expect the prompt.
19927 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19928 global.
19929 (NUM): Now 15.
19930 (main): Use threads_started_barrier to wait for all threads to
19931 start. Main thread no longer calls thread_function. Exit after
19932 180 seconds.
19933 (loop): New function.
19934 (thread_function): Wait on threads_started_barrier barrier. Call
19935 'loop' at each iteration.
19936 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19937 threads have started, instead of hardcoding number of "next"
19938 steps. Use an access watchpoint instead of a write watchpoint.
19939
19940 2015-01-09 Pedro Alves <palves@redhat.com>
19941
19942 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19943 (thread_func): Wait on barrier.
19944 (main): Wait for all threads to start before stopping GDB.
19945 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19946 global.
19947 (thread1_func, thread2_func): Wait on barrier.
19948 (main): Wait for all threads to start before stopping GDB.
19949 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19950 New global.
19951 (thread1_func, thread2_func): Wait on barrier.
19952 (main): Wait for all threads to start before stopping GDB.
19953
19954 2015-01-09 Pedro Alves <palves@redhat.com>
19955
19956 * gdb.threads/attach-many-short-lived-threads.c: New file.
19957 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19958
19959 2014-01-09 Pedro Alves <palves@redhat.com>
19960
19961 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19962 instead of to thread 2.
19963 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19964 Add barrier around each pthread_create call instead of around all
19965 calls.
19966 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19967 Set a break on thread_function and have the child threads hit it
19968 one at at a time.
19969
19970 2015-01-09 Pedro Alves <palves@redhat.com>
19971
19972 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19973 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19974 false.
19975 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19976 checking whether the target board is remote.
19977 * gdb.multi/multi-attach.exp: Likewise.
19978 * gdb.python/py-sync-interp.exp: Likewise.
19979 * gdb.server/ext-attach.exp: Likewise.
19980 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19981 tests that need to attach, instead of checking whether the target
19982 board is remote at the top of the file.
19983
19984 2015-01-08 Yao Qi <yao@codesourcery.com>
19985
19986 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19987
19988 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19989
19990 Fix testcase compilation.
19991 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19992
19993 2015-01-06 Joel Brobecker <brobecker@adacore.com>
19994
19995 * gdb.python/py-type.exp: Add a couple test about empty
19996 array creation, and negative-length array creation.
19997
19998 2015-01-02 Doug Evans <xdje42@gmail.com>
19999
20000 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20001
20002 2015-01-02 Doug Evans <dje@google.com>
20003
20004 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20005
20006 2014-12-29 Yao Qi <yao@codesourcery.com>
20007
20008 * gdb.trace/entry-values.exp: Update comments. Rename variable
20009 bar_call_foo to returned_from_foo.
20010
20011 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20012
20013 PR gdb/17394
20014 * gdb.linespec/break-asm-file.c: New file.
20015 * gdb.linespec/break-asm-file.exp: New file.
20016 * gdb.linespec/break-asm-file0.s: New file.
20017 * gdb.linespec/break-asm-file1.s: New file.
20018
20019 2014-12-18 Nigel Stephens <nigel@mips.com>
20020 Maciej W. Rozycki <macro@codesourcery.com>
20021
20022 * gdb.base/float.exp: Handle the new output from "info float" on
20023 MIPS targets.
20024
20025 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20026
20027 Fix MinGW compilation.
20028 * gdb.compile/compile-ops.exp: Update untested message if
20029 !skip_compile_feature_tests.
20030 * gdb.compile/compile-setjmp.exp: Likewise.
20031 * gdb.compile/compile-tls.exp: Likewise.
20032 * gdb.compile/compile.exp: Likewise.
20033 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20034 supported on this host".
20035
20036 2014-12-16 Doug Evans <xdje42@gmail.com>
20037
20038 * boards/stabs.exp: New file.
20039
20040 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20041
20042 * gdb.base/completion.exp: Adjust to format changes of "maint
20043 print user-registers".
20044
20045 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
20046
20047 PR server/17457
20048 * gdb.arch/aarch64-fp.c: New file.
20049 * gdb.arch/aarch64-fp.exp: New file.
20050
20051 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20052
20053 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20054 r210637, r210913, r211666, r215400, r215817).
20055
20056 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20057 * dg-extract-results.py: New file.
20058 * dg-extract-results.sh: Use it if the environment seems
20059 suitable.
20060
20061 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20062
20063 * dg-extract-results.py (parse_run): Handle warnings that
20064 are printed before a test harness is run.
20065
20066 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20067
20068 * dg-extract-results.py (Named): Remove __cmp__ method.
20069 (output_variation): Use a key to sort variation.harnesses.
20070
20071 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20072
20073 * dg-extract-results.py: For Python 3, force sys.stdout to
20074 handle surrogate escape sequences.
20075 (safe_open): New function.
20076 (output_segment, main): Use it.
20077
20078 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20079
20080 * dg-extract-results.py (Prog.result_re): Include options
20081 in test name.
20082
20083 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20084
20085 * dg-extract-results.py (output_variation): Always sort if
20086 do_sum.
20087
20088 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20089
20090 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20091 as long as we get pagination notifications.
20092
20093 2014-12-15 Jason Merrill <jason@redhat.com>
20094
20095 * Makefile.in (check-gdb.%): Restore.
20096 * README: Mention it.
20097
20098 2014-12-13 Joel Brobecker <brobecker@adacore.com>
20099
20100 * gdb.ada/str_uninit: New testcase.
20101
20102 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20103
20104 PR symtab/17642
20105 * gdb.base/vla-stub-define.c: New file.
20106 * gdb.base/vla-stub.c: New file.
20107 * gdb.base/vla-stub.exp: New file.
20108
20109 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20110 Jan Kratochvil <jan.kratochvil@redhat.com>
20111 Tom Tromey <tromey@redhat.com>
20112
20113 * configure.ac: Add gdb.compile/.
20114 * configure: Regenerate.
20115 * gdb.compile/Makefile.in: New file.
20116 * gdb.compile/compile-ops.exp: New file.
20117 * gdb.compile/compile-ops.c: New file.
20118 * gdb.compile/compile-tls.c: New file.
20119 * gdb.compile/compile-tls.exp: New file.
20120 * gdb.compile/compile-constvar.S: New file.
20121 * gdb.compile/compile-constvar.c: New file.
20122 * gdb.compile/compile-mod.c: New file.
20123 * gdb.compile/compile-nodebug.c: New file.
20124 * gdb.compile/compile-setjmp-mod.c: New file.
20125 * gdb.compile/compile-setjmp.c: New file.
20126 * gdb.compile/compile-setjmp.exp: New file.
20127 * gdb.compile/compile-shlib.c: New file.
20128 * gdb.compile/compile.c: New file.
20129 * gdb.compile/compile.exp: New file.
20130 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20131
20132 2014-12-12 Tom Tromey <tromey@redhat.com>
20133
20134 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20135 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20136
20137 2014-12-12 Doug Evans <dje@google.com>
20138
20139 * lib/gdb-python.exp (get_python_valueof): New function.
20140 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20141
20142 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20143
20144 * gdb.base/completion.exp: Add test for completion of "info
20145 registers ".
20146
20147 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20148
20149 * gdb.base/func-ptrs.c: New file.
20150 * gdb.base/func-ptrs.exp: New file.
20151
20152 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20153
20154 PR breakpoints/17012
20155 * gdb.base/dprintf-detach.c: New file.
20156 * gdb.base/dprintf-detach.exp: New file.
20157
20158 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20159
20160 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20161 * lib/gdb.exp (target_is_gdbserver): New procedure.
20162
20163 2014-12-08 Doug Evans <dje@google.com>
20164
20165 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20166
20167 2014-12-05 Yao Qi <yao@codesourcery.com>
20168
20169 * gdb.guile/scm-error.exp: Remove the third argument to
20170 gdb_remote_download.
20171 * gdb.guile/scm-frame-args.exp: Likewise.
20172 * gdb.guile/scm-section-script.exp: Likewise.
20173
20174 2014-12-05 Yao Qi <yao@codesourcery.com>
20175
20176 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20177
20178 2014-12-04 Doug Evans <dje@google.com>
20179
20180 * gdb.python/py-objfile.exp: Add tests for
20181 objfile.add_separate_debug_file.
20182
20183 2014-12-04 Doug Evans <dje@google.com>
20184
20185 * lib/gdb.exp (get_build_id): New function.
20186 (build_id_debug_filename_get): Rewrite to use it.
20187 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20188
20189 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20190
20191 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20192 `method(long)', not just 0x0.
20193 * gdb.cp/nsalias.exp: Align code labels to 4.
20194 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20195 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20196 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20197 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20198 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20199 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20200
20201 2014-12-02 Doug Evans <dje@google.com>
20202
20203 PR symtab/17602
20204 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20205 * gdb.cp/anon-ns2.cc: ... here. New file.
20206 * gdb.cp/anon-ns.exp: Update.
20207
20208 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
20209
20210 * gdb.python/py-events.py (inferior_call_handler): New.
20211 (register_changed_handler, memory_changed_handler): New.
20212 (test_events.invoke): Register new handlers.
20213 * gdb.python/py-events.exp: Add tests for inferior call,
20214 memory_changed and register_changed events.
20215
20216 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20217
20218 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20219 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20220 if the linker doesn't understand this.
20221
20222 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20223
20224 * gdb.python/python.exp: Change expected reply to help().
20225
20226 2014-12-01 Yao Qi <yao@codesourcery.com>
20227
20228 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20229 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20230 * configure: Re-generated.
20231
20232 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20233
20234 * gdb.cp/chained-calls.cc: New file.
20235 * gdb.cp/chained-calls.exp: New file.
20236 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20237
20238 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20239
20240 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20241 * gdb.dwarf2/symtab-producer.exp: Same.
20242 * gdb.gdb/python-interrupts.exp: Same.
20243 * gdb.gdb/python-selftest.exp: Same.
20244 * gdb.python/py-linetable.exp: Same.
20245 * gdb.python/py-type.exp: Same.
20246 * gdb.python/py-value-cc.exp: Same.
20247 * gdb.python/py-value.exp: Same.
20248
20249 2014-11-28 Yao Qi <yao@codesourcery.com>
20250
20251 * gdb.base/break-probes.exp: Match library name prefixed with
20252 sysroot.
20253
20254 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20255
20256 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20257 test expected output. Add parentheses for the call to print.
20258 Remove L suffix from integers.
20259
20260 2014-11-26 Doug Evans <dje@google.com>
20261
20262 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20263
20264 2014-11-22 Yao Qi <yao@codesourcery.com>
20265
20266 * gdb.trace/entry-values.c: Remove asms.
20267 (foo): Add foo_label.
20268 (bar): Add bar_label.
20269 * gdb.trace/entry-values.exp: Remove code computing foo's
20270 length and bar's length.
20271 (Dwarf::assemble): Invoke function_range for bar and use
20272 MACRO_AT_func for foo.
20273
20274 2014-11-22 Yao Qi <yao@codesourcery.com>
20275
20276 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20277 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20278 Use .Lgcc43_procstart instead of gcc43.
20279
20280 2014-11-21 Joel Brobecker <brobecker@adacore.com>
20281
20282 * gdb.ada/n_arr_bound: New testcase.
20283
20284 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20285
20286 PR breakpoints/10737
20287 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20288 test_catch_syscall_multi_arch.
20289 (test_catch_syscall_multi_arch): New function.
20290
20291 2014-11-20 Doug Evans <xdje42@gmail.com>
20292
20293 * gdb.base/maint.exp: Update expected output.
20294
20295 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20296
20297 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20298 4-byte instruction on S390.
20299
20300 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20301
20302 * gdb.ada/arr_arr: New testcase.
20303
20304 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20305
20306 * gdb.ada/pkd_arr_elem: New Testcase.
20307
20308 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
20309
20310 * gdb.reverse/break-precsave: Expect completion message for
20311 core file reads.
20312 * gdb.reverse/consecutive-precsave.exp: Likewise.
20313 * gdb.reverse/finish-precsave.exp: Likewise.
20314 * gdb.reverse/i386-precsave.exp: Likewise.
20315 * gdb.reverse/machinestate-precsave.exp: Likewise.
20316 * gdb.reverse/sigall-precsave.exp: Likewise.
20317 * gdb.reverse/solib-precsave.exp: Likewise.
20318 * gdb.reverse/step-precsave.exp: Likewise.
20319 * gdb.reverse/until-precsave.exp: Likewise.
20320 * gdb.reverse/watch-precsave.exp: Likewise.
20321
20322 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20323
20324 * gdb.base/bp-permanent.c: Include unistd.h.
20325 * gdb.python/py-framefilter-mi.c (main): Add return type.
20326 * gdb.python/py-framefilter.c (main): Likewise.
20327 * gdb.trace/actions-changed.c (main): Likewise.
20328
20329 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20330
20331 * gdb.mi/until.c: Add eye-catchers.
20332 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20333 line numbers.
20334
20335 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20336
20337 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20338 function header variants in break1.c.
20339 * gdb.base/ena-dis-br.exp: Likewise.
20340 * gdb.base/hbreak2.exp: Likewise.
20341 * gdb.reverse/until-precsave.exp: Drop references to removed
20342 non-prototype function header variants in ur1.c.
20343 * gdb.reverse/until-reverse.exp: Likewise.
20344
20345 2014-11-17 Petr Machata <pmachata@redhat.com>
20346
20347 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20348 ${_cu_offset_size} bytes abbrev offset.
20349
20350 2014-11-15 Doug Evans <xdje42@gmail.com>
20351
20352 PR symtab/17559
20353 * gdb.base/line-symtabs.exp: New file.
20354 * gdb.base/line-symtabs.c: New file.
20355 * gdb.base/line-symtabs.h: New file.
20356
20357 2014-11-14 Yao Qi <yao@codesourcery.com>
20358
20359 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20360 (func): Add label func_label.
20361 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20362 Replace low_pc and high_pc with MACRO_AT_range.
20363 Replace name, low_pc and high_pc with MACRO_AT_func.
20364
20365 2014-11-14 Yao Qi <yao@codesourcery.com>
20366
20367 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20368 Replace name, low_pc and high_pc with MACRO_AT_func.
20369
20370 2014-11-14 Yao Qi <yao@codesourcery.com>
20371
20372 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20373 produce debug information.
20374 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20375
20376 2014-11-14 Yao Qi <yao@codesourcery.com>
20377
20378 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20379 object and get function length.
20380 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20381 with MACRO_AT_func.
20382 (top-level): Replace gdb_compile and clean_restart with
20383 prepare_for_testing.
20384 * gdb.dwarf2/main.c (main): Add label main_label.
20385
20386 2014-11-14 Yao Qi <yao@codesourcery.com>
20387
20388 * lib/dwarf.exp (function_range): New procedure.
20389 (Dwarf::_handle_macro_at_func): New procedure.
20390 (Dwarf::_handle_macro_at_range): New procedure.
20391 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20392
20393 2014-11-14 Yao Qi <yao@codesourcery.com>
20394
20395 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20396 (_handle_attribute): New procedure.
20397
20398 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20399
20400 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20401 * gdb.base/call-sc.c (zed): Likewise.
20402 * gdb.base/checkpoint.c (main): Likewise.
20403 * gdb.base/dump.c (main): Likewise.
20404 * gdb.base/gcore.c (main): Likewise.
20405 * gdb.base/huge.c (main): Likewise.
20406 * gdb.base/multi-forks.c (main): Likewise.
20407 * gdb.base/pr10179-a.c (main): Likewise.
20408 * gdb.base/savedregs.c (main): Likewise.
20409 * gdb.base/sigaltstack.c (main): Likewise.
20410 * gdb.base/siginfo.c (main): Likewise.
20411 * gdb.base/structs.c (zed): Likewise.
20412 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20413 * gdb.mi/mi-syn-frame.c (main): Likewise.
20414 * gdb.mi/until.c (foo, main): Likewise.
20415 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20416 * gdb.base/solib-weak.c (foo): Declare.
20417 * gdb.base/attach-twice.c: Include stdio.h.
20418 * gdb.base/weaklib1.c: Likewise.
20419 * gdb.base/weaklib2.c: Likewise.
20420 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20421 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20422 unistd.h.
20423 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20424 * gdb.mi/mi-exit-code.c: Likewise.
20425 * gdb.base/break-interp-lib.c: Include string.h.
20426 * gdb.base/coremaker.c: Likewise.
20427 * gdb.base/testenv.c: Likewise.
20428 * gdb.python/py-finish-breakpoint.c: Likewise.
20429 * gdb.base/inferior-died.c: Include sys/wait.h.
20430 * gdb.base/fileio.c: Include time.h.
20431 * gdb.base/async-shell.c: Include unistd.h.
20432 * gdb.base/dprintf-non-stop.c: Likewise.
20433 * gdb.base/info-os.c: Likewise.
20434 * gdb.mi/mi-console.c: Likewise.
20435 * gdb.mi/watch-nonstop.c: Likewise.
20436 * gdb.python/py-events.c: Likewise.
20437 * gdb.base/async.c (baz): Move up before its invocation.
20438 * gdb.base/code_elim2.c (my_global_func): Likewise.
20439 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20440 * gdb.base/advance.c (func2): Likewise.
20441
20442 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20443
20444 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20445 variant.
20446 * gdb.base/annota3.c: Likewise.
20447 * gdb.base/async.c: Likewise.
20448 * gdb.base/average.c: Likewise.
20449 * gdb.base/call-ar-st.c: Likewise.
20450 * gdb.base/call-rt-st.c: Likewise.
20451 * gdb.base/call-sc.c: Likewise.
20452 * gdb.base/call-strs.c: Likewise.
20453 * gdb.base/ending-run.c: Likewise.
20454 * gdb.base/execd-prog.c: Likewise.
20455 * gdb.base/exprs.c: Likewise.
20456 * gdb.base/foll-exec.c: Likewise.
20457 * gdb.base/foll-fork.c: Likewise.
20458 * gdb.base/foll-vfork.c: Likewise.
20459 * gdb.base/funcargs.c: Likewise.
20460 * gdb.base/gcore.c: Likewise.
20461 * gdb.base/jump.c: Likewise.
20462 * gdb.base/langs0.c: Likewise.
20463 * gdb.base/langs1.c: Likewise.
20464 * gdb.base/langs2.c: Likewise.
20465 * gdb.base/mips_pro.c: Likewise.
20466 * gdb.base/nodebug.c: Likewise.
20467 * gdb.base/opaque0.c: Likewise.
20468 * gdb.base/opaque1.c: Likewise.
20469 * gdb.base/recurse.c: Likewise.
20470 * gdb.base/run.c: Likewise.
20471 * gdb.base/scope0.c: Likewise.
20472 * gdb.base/scope1.c: Likewise.
20473 * gdb.base/setshow.c: Likewise.
20474 * gdb.base/setvar.c: Likewise.
20475 * gdb.base/shmain.c: Likewise.
20476 * gdb.base/shr1.c: Likewise.
20477 * gdb.base/shr2.c: Likewise.
20478 * gdb.base/sigall.c: Likewise.
20479 * gdb.base/signals.c: Likewise.
20480 * gdb.base/so-indr-cl.c: Likewise.
20481 * gdb.base/solib2.c: Likewise.
20482 * gdb.base/structs.c: Likewise.
20483 * gdb.base/sum.c: Likewise.
20484 * gdb.base/vforked-prog.c: Likewise.
20485 * gdb.base/watchpoint.c: Likewise.
20486 * gdb.reverse/shr2.c: Likewise.
20487 * gdb.reverse/until-reverse.c: Likewise.
20488 * gdb.reverse/ur1.c: Likewise.
20489 * gdb.reverse/watch-reverse.c: Likewise.
20490
20491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20492
20493 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20494 variant.
20495 * gdb.base/sepdebug.exp: Drop references to removed code.
20496
20497 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20498
20499 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20500 variant. Preserve original line numbering.
20501 * gdb.base/list1.c: Likewise.
20502
20503 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20504
20505 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20506 variant.
20507 * gdb.base/break1.c: Likewise.
20508 * gdb.base/break.exp: Drop references to removed code.
20509
20510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20511
20512 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20513 variant.
20514
20515 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20516
20517 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20518
20519 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20520
20521 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20522 logic into perform_all_tests() and invoke it with and without
20523 function header prototypes.
20524 (do_function_calls): Remove conditional XFAIL for PR 5318.
20525 (rerun_and_prepare): Remove duplicate code.
20526 (perform_all_tests): New. Main logic moved here.
20527
20528 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20529
20530 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20531 code guarded by #ifdef NO_PROTOTYPES.
20532 (t_double_many_args): Likewise.
20533 (DEF_FUNC_MANY_ARGS_1): Likewise.
20534 (DEF_FUNC_VALUES_1): Likewise.
20535 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20536 guarded by #ifdef PROTOTYPES.
20537
20538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20539
20540 * gdb.mi/mi-console.c: Add eye-catcher.
20541 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20542 instead of literal line number.
20543
20544 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20545
20546 * gdb.base/shr2.c: Add eye-catcher.
20547 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20548 line number.
20549
20550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20551
20552 * gdb.base/jump.c: Add eye-catchers.
20553 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20554 numbers.
20555
20556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20557
20558 * gdb.base/execd-prog.c: Add eye-catchers.
20559 * gdb.base/foll-exec.c: Likewise.
20560 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20561 line numbers.
20562
20563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20564
20565 * gdb.base/ending-run.c: Add eye-catchers.
20566 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20567 literal line numbers.
20568
20569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20570
20571 * gdb.base/call-rt-st.c: Add eye-catchers.
20572 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20573 literal line numbers.
20574
20575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20576
20577 * gdb.base/call-ar-st.c: Add eye-catchers.
20578 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20579 literal line numbers.
20580
20581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20582
20583 * gdb.base/average.c: Add eye-catchers.
20584 * gdb.base/sum.c: Likewise.
20585 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20586 regexps dynamically.
20587
20588 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20589
20590 * gdb.base/solib1.c: Add eye-catchers.
20591 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20592 literal line numbers.
20593
20594 2014-11-12 Pedro Alves <palves@redhat.com>
20595
20596 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20597 leader has exited.
20598
20599 2014-11-12 Pedro Alves <palves@redhat.com>
20600
20601 * gdb.arch/i386-bp_permanent.c: New file.
20602 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20603 (srcfile): Set to i386-bp_permanent.c.
20604 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20605 that stepi does not execute the 'leave' instruction, instead of
20606 testing it does execute.
20607 * gdb.base/bp-permanent.c: New file.
20608 * gdb.base/bp-permanent.exp: New file.
20609
20610 2014-11-10 Doug Evans <xdje42@gmail.com>
20611
20612 PR symtab/17564
20613 * gdb.base/symtab-search-order.exp: New file.
20614 * gdb.base/symtab-search-order.c: New file.
20615 * gdb.base/symtab-search-order-1.c: New file.
20616 * gdb.base/symtab-search-order-shlib-1.c: New file.
20617
20618 2014-11-07 Pedro Alves <palves@redhat.com>
20619
20620 PR gdb/17511
20621 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20622 i?86-*-linux*.
20623
20624 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20625
20626 PR c++/17494
20627 * gdb.cp/pr17494.cc: New file.
20628 * gdb.cp/pr17494.exp: New file.
20629
20630 2014-11-02 Yao Qi <yao@codesourcery.com>
20631
20632 * gdb.python/python.exp: Get working directory and match the
20633 output of "set extended-prompt \\w " with it.
20634
20635 2014-10-30 Doug Evans <dje@google.com>
20636
20637 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20638 in objfiles.
20639 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20640 in progspaces.
20641
20642 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
20643
20644 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20645 * gdb.base/realname-expand.exp: Likewise.
20646 * gdb.linespec/macro-relative.exp: Likewise.
20647
20648 2014-10-29 Pedro Alves <palves@redhat.com>
20649
20650 PR gdb/17408
20651 * gdb.threads/schedlock.c (some_function): New function.
20652 (call_function): New global.
20653 (MAYBE_CALL_SOME_FUNCTION): New macro.
20654 (thread_function): Call it.
20655 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20656 and use it instead of a global counter. Adjust all callers.
20657 (get_current_thread): Use "find current thread" for test message
20658 here rather than having all callers pass down the same string.
20659 (goto_loop): New procedure, factored out from ...
20660 (my_continue): ... this.
20661 (step_ten_loops): Change parameter from test message to command to
20662 use. Adjust.
20663 (list_count): Delete global.
20664 (check_result): New procedure, factored out from duplicate top
20665 level code.
20666 (continue tests): Wrap in with_test_prefix.
20667 (test_step): New procedure, factored out from duplicate top level
20668 code.
20669 (top level): Test "step" in combination with all scheduler-locking
20670 modes. Test "next" in combination with all scheduler-locking
20671 modes, and in combination with stepping over a function call or
20672 not.
20673 * gdb.threads/next-bp-other-thread.c: New file.
20674 * gdb.threads/next-bp-other-thread.exp: New file.
20675
20676 2014-10-29 Pedro Alves <palves@redhat.com>
20677
20678 PR python/17372
20679 * gdb.python/python.exp: Test a multi-line command that spawns
20680 interactive Python.
20681 * gdb.base/multi-line-starts-subshell.exp: New file.
20682
20683 2014-10-29 Yao Qi <yao@codesourcery.com>
20684
20685 * gdb.base/fileio.exp: Make directories on host.
20686
20687 2014-10-29 Yao Qi <yao@codesourcery.com>
20688
20689 * gdb.base/fileio.c (test_write): Close the file.
20690
20691 2014-10-28 Pedro Alves <palves@redhat.com>
20692
20693 PR gdb/12623
20694 * gdb.base/sigstep.c (no_handler): New global.
20695 (main): If 'no_handler is true, set the signal handlers to
20696 SIG_IGN.
20697 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20698 with_sw_watch and no_handler parameters. Handle them.
20699 (top level) <stepping over handler when stopped at a breakpoint
20700 test>: Add a test axis for testing with a software watchpoint, and
20701 another for testing with the signal handler set to SIG_IGN.
20702 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20703 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20704
20705 2014-10-28 Pedro Alves <palves@redhat.com>
20706
20707 PR gdb/17511
20708 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20709 * gdb.base/sigstep.exp (other_handler_location): New global.
20710 (advance): Support stepping into the signal handler, and running
20711 commands while in the handler.
20712 (in_handler_map): New global.
20713 (top level): In the advance test, add combinations for getting
20714 into the handler with stepping commands, and for running commands
20715 in the handler. Add comment descripting the advancei tests.
20716
20717 2014-10-28 Pedro Alves <palves@redhat.com>
20718
20719 * gdb.base/sigstep.exp: Use build_executable instead of
20720 prepare_for_testing.
20721 (top level): Move code that starts GDB, runs to main and creates a
20722 display to ...
20723 (restart): ... this new procedure.
20724 (top level): Move backtrace from signal handler test to ...
20725 (validate_backtrace): ... this new procedure.
20726 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20727 with_test_prefix. Always restart GDB.
20728 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20729 with_test_prefix. Always restart GDB. No need to delete
20730 breakpoints after the test.
20731 (test_skip_handler): Remove prefix parameter.
20732 (skip_over_handler, breakpoint_to_handler)
20733 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20734 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20735 restart GDB. No need to delete breakpoints after the test.
20736 (top level): Use foreach to call the test procedures with
20737 different commands.
20738
20739 2014-10-28 Pedro Alves <palves@redhat.com>
20740
20741 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20742 instead of GNATS numbers.
20743 * gdb.base/sigbpt.exp: Likewise.
20744 * gdb.base/siginfo.exp: Likewise.
20745 * gdb.base/sigstep.exp: Likewise.
20746
20747 2014-10-27 Pedro Alves <palves@redhat.com>
20748
20749 * gdb.base/sigstep.c (dummy): New global.
20750 (main): Issue a couple writes to the new global.
20751 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20752 procedures.
20753 (skip_over_handler): Use test_skip_handler.
20754 (top level): Call skip_over_handler for stepi and nexti too.
20755 (breakpoint_over_handler): Use test_skip_handler.
20756 (top level): Call breakpoint_over_handler for stepi and nexti too.
20757
20758 2014-10-27 Yao Qi <yao@codesourcery.com>
20759
20760 * gdb.trace/tfile.c (adjust_function_address)
20761 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20762 function descriptor.
20763
20764 2014-10-24 Don Breazeal <donb@codesourcery.com>
20765
20766 * gdb.base/foll-fork.exp (test_follow_fork,
20767 catch_fork_child_follow): Check for updated fork messages emitted
20768 from infrun.c.
20769 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20770 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20771 vfork_and_exec_child_follow_through_step): Check for updated vfork
20772 messages emitted from infrun.c.
20773
20774 2014-10-24 Pedro Alves <palves@redhat.com>
20775
20776 * gdb.base/corefile.exp: Remove references to ultrix.
20777 * gdb.base/interrupt.exp: Likewise.
20778 * gdb.base/whatis.exp: Likewise.
20779 * gdb.gdb/selftest.exp: Likewise.
20780 * gdb.threads/manythreads.exp: Likewise.
20781 * gdb.threads/print-threads.exp: Likewise.
20782 * gdb.threads/pthreads.exp:: Likewise.
20783 * gdb.threads/schedlock.exp: Likewise.
20784
20785 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20786
20787 * gdb.cp/non-trivial-retval.cc: Add a test case.
20788 * gdb.cp/non-trivial-retval.exp: Add a test.
20789
20790 2014-10-20 Yao Qi <yao@codesourcery.com>
20791
20792 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20793 * gdb.python/py-objfile-script-gdb.py: New file.
20794 * gdb.python/py-objfile-script.exp: Update reference to
20795 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20796 of remote_download. Remove the dest file.
20797
20798 2014-10-20 Yao Qi <yao@codesourcery.com>
20799
20800 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20801 * gdb.base/step-line.exp: Likewise.
20802 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20803 * gdb.dwarf2/dw2-basic.exp: Likewise.
20804 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20805 * gdb.dwarf2/dw2-filename.exp: Likewise.
20806 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20807 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20808 * gdb.dwarf2/dw2-producer.exp: Likewise.
20809 * gdb.dwarf2/mac-fileno.exp: Likewise.
20810 * gdb.python/py-frame-args.exp: Likewise.
20811 * gdb.python/py-framefilter.exp: Likewise.
20812 * gdb.python/py-mi.exp: Likewise.
20813 * gdb.python/py-objfile-script.exp: Likewise
20814 * gdb.python/py-pp-integral.exp: Likewise.
20815 * gdb.python/py-pp-re-notag.exp: Likewise.
20816 * gdb.python/py-prettyprint.exp: Likewise.
20817 * gdb.python/py-section-script.exp: Likewise.
20818 * gdb.python/py-typeprint.exp: Likewise.
20819 * gdb.python/py-xmethods.exp: Likewise.
20820 * gdb.stabs/weird.exp: Likewise.
20821 * gdb.xml/tdesc-regs.exp: Likewise.
20822
20823 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20824
20825 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20826 (out_cu): Use addr_len for the size of addresses.
20827 (out_line): Likewise. Size DW_LNE_set_address instruction
20828 according to addr_len.
20829 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20830 (FUNC): Add START_INSNS to definition.
20831
20832 2014-10-18 Yao Qi <yao@codesourcery.com>
20833
20834 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20835 gdb_has_argv0 return true.
20836 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20837 check [target_info exists noargs], check [gdb_has_argv0]
20838 instead.
20839 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20840 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20841 procedures.
20842
20843 2014-10-17 Doug Evans <dje@google.com>
20844
20845 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20846 event.
20847 * gdb.python/py-events.py: Add clear_objfiles event.
20848
20849 2014-10-17 Doug Evans <dje@google.com>
20850
20851 * gdb.python/py-objfile.exp: Test progspace attribute.
20852
20853 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
20854
20855 * gdb.guile/scm-breakpoint.exp: Do not assume any
20856 directory separators when matching source file paths.
20857 * gdb.python/py-breakpoint.exp: Likewise.
20858 * gdb.reverse/break-precsave.exp: Likewise.
20859 * gdb.reverse/break-reverse.exp: Likewise.
20860 * gdb.reverse/consecutive-precsave.exp: Likewise.
20861 * gdb.reverse/finish-precsave.exp: Likewise.
20862 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20863 * gdb.reverse/finish-reverse.exp: Likewise.
20864 * gdb.reverse/i386-precsave.exp: Likewise.
20865 * gdb.reverse/i387-env-reverse.exp: Likewise.
20866 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20867 * gdb.reverse/machinestate-precsave.exp: Likewise.
20868 * gdb.reverse/machinestate.exp: Likewise.
20869 * gdb.reverse/sigall-precsave.exp: Likewise.
20870 * gdb.reverse/solib-precsave.exp: Likewise.
20871 * gdb.reverse/step-precsave.exp: Likewise.
20872 * gdb.reverse/until-precsave.exp: Likewise.
20873 * gdb.reverse/watch-precsave.exp: Likewise.
20874 * gdb.reverse/watch-reverse.exp: Likewise.
20875
20876 2014-10-17 Yao Qi <yao@codesourcery.com>
20877
20878 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20879 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20880
20881 2014-10-17 Pedro Alves <palves@redhat.com>
20882
20883 PR gdb/17471
20884 * gdb.base/bg-execution-repeat.c: New file.
20885 * gdb.base/bg-execution-repeat.exp: New file.
20886
20887 2014-10-17 Pedro Alves <palves@redhat.com>
20888
20889 PR gdb/17300
20890 * gdb.base/continue-all-already-running.c: New file.
20891 * gdb.base/continue-all-already-running.exp: New file.
20892
20893 2014-10-17 Pedro Alves <palves@redhat.com>
20894
20895 PR gdb/17472
20896 * gdb.base/annota-input-while-running.c: New file.
20897 * gdb.base/annota-input-while-running.exp: New file.
20898
20899 2014-10-17 Pedro Alves <palves@redhat.com>
20900
20901 * gdb.base/callfuncs.exp: emove references to osf.
20902 * gdb.base/sigall.exp: Likewise.
20903 * gdb.gdb/selftest.exp: Likewise.
20904 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20905 * gdb.mi/non-stop.c: Likewise.
20906 * gdb.mi/pthreads.c: Likewise.
20907 * gdb.reverse/sigall-precsave.exp: Likewise.
20908 * gdb.reverse/sigall-reverse.exp: Likewise.
20909 * gdb.threads/pthreads.c: Likewise.
20910 * gdb.threads/pthreads.exp: Likewise.
20911
20912 2014-10-17 Yao Qi <yao@codesourcery.com>
20913
20914 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20915 check 'target_info exists noargs'.
20916 (test_command_prompt_position): Likewise.
20917 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20918 Remove "set args".
20919 (progvar_simple_while_test): Likewise.
20920 (progvar_complex_if_while_test): Likewise.
20921 (if_while_breakpoint_command_test): Likewise.
20922 (infrun_breakpoint_command_test): Likewise.
20923 (breakpoint_command_test): Likewise.
20924 (watchpoint_command_test): Likewise.
20925 (bp_deleted_in_command_test): Likewise.
20926 (temporary_breakpoint_commands): Likewise.
20927
20928 2014-10-16 Yao Qi <yao@codesourcery.com>
20929
20930 * gdb.base/remotetimeout.exp: Remove noargs checking.
20931
20932 2014-10-15 Pedro Alves <palves@redhat.com>
20933
20934 PR breakpoints/9649
20935 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20936 * gdb.base/breakpoint-in-ro-region.exp
20937 (probe_target_hardware_step): New procedure.
20938 (top level): Probe hardware stepping and hardware breakpoint
20939 support. Test stepping through a read-only region, with both
20940 "breakpoint auto-hw" on and off and both "always-inserted" on and
20941 off.
20942
20943 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20944
20945 * gdb.dlang/demangle.exp: Update for demangling changes.
20946
20947 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20948
20949 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20950 * gdb.cp/non-trivial-retval.exp: Add new tests.
20951
20952 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20953
20954 PR c++/13403
20955 PR c++/15154
20956 * gdb.cp/non-trivial-retval.cc: New file.
20957 * gdb.cp/non-trivial-retval.exp: New file.
20958
20959 2014-10-15 Yao Qi <yao@codesourcery.com>
20960
20961 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20962 remote host.
20963
20964 2014-10-15 Yao Qi <yao@codesourcery.com>
20965
20966 * gdb.python/py-symbol.exp: Match file base name if host is
20967 remote, otherwise match file name with dir name.
20968 * gdb.python/py-symtab.exp: Likewise.
20969 * gdb.python/python.exp: Likewise.
20970
20971 2014-10-15 Yao Qi <yao@codesourcery.com>
20972
20973 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20974 pattern.
20975 * gdb.python/py-symtab.exp: Likewise.
20976 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20977 locationn.
20978
20979 2014-10-14 Joel Brobecker <brobecker@adacore.com>
20980
20981 * gdb.ada/addr_arith: New testcase.
20982
20983 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20984
20985 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20986 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20987 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20988 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20989
20990 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20991
20992 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20993 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20994 * gdb.arch/stap-eval-lang-ada.exp: New file.
20995
20996 2014-10-14 Yao Qi <yao@codesourcery.com>
20997
20998 * gdb.mi/mi-var-child.c (nothing1): New function.
20999 (nothing2): New function.
21000 (do_children_tests): Set function pointers by nothing1 and
21001 nothing2.
21002 * gdb.mi/mi-var-child.exp: Step over new added statements.
21003 Update test to match the new output.
21004 * gdb.mi/var-cmd.c (nothing1): New function.
21005 (nothing2): New function.
21006 (do_children_tests): Set function pointers by nothing1 and
21007 nothing2.
21008 * gdb.mi/mi-var-display.exp: Update test to match output.
21009 Step to the line specified by $line_dct_nothing.
21010 Increase the number of lines to step.
21011
21012 2014-10-14 Yao Qi <yao@codesourcery.com>
21013
21014 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21015 tests.
21016 * gdb.mi/mi2-var-child.exp: Likewise.
21017
21018 2014-10-13 Doug Evans <dje@google.com>
21019
21020 * gdb.python/py-objfile.exp: Change name of file name test.
21021
21022 2014-10-13 Doug Evans <dje@google.com>
21023
21024 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21025 from the start of the CU.
21026
21027 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21028 Yao Qi <yao@codesourcery.com>
21029
21030 Fix "save breakpoints" for "catch" command.
21031 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21032 Remove -nonewline. Match also the added "main" line.
21033
21034 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21035
21036 Fix "save breakpoints" for "disable $bpnum" command.
21037 * gdb.base/save-bp.c (main): Add label.
21038 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21039
21040 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21041
21042 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21043
21044 2014-10-11 Yao Qi <yao@codesourcery.com>
21045
21046 * gdb.server/server-kill.exp: Execute command
21047 "set remote trace-status-packet on" before "tstatus".
21048
21049 2014-10-11 Yao Qi <yao@codesourcery.com>
21050
21051 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21052 (main): Call getppid.
21053 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21054 and continue to it. Read variable "server_pid".
21055
21056 2014-10-11 Yao Qi <yao@codesourcery.com>
21057
21058 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21059
21060 2014-10-11 Yao Qi <yao@codesourcery.com>
21061
21062 * gdb.threads/thread-find.exp: Don't execute command
21063 "info threads".
21064 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21065 * gdb.threads/linux-dp.exp: Don't check the condition
21066 $threads_created equals to zero.
21067
21068 2014-10-10 Pedro Alves <palves@redhat.com>
21069
21070 * gdb.base/bigcore.exp: Remove references to IRIX.
21071 * gdb.base/funcargs.exp: Likewise.
21072 * gdb.base/interrupt.exp: Likewise.
21073 * gdb.base/mips_pro.exp: Likewise.
21074 * gdb.base/nodebug.exp: Likewise.
21075 * gdb.base/setvar.exp: Likewise.
21076 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21077
21078 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21079 Pedro Alves <palves@redhat.com>
21080
21081 PR symtab/14466
21082 * gdb.base/vdso-warning.c: New file.
21083 * gdb.base/vdso-warning.exp: New file.
21084
21085 2014-10-02 Doug Evans <dje@google.com>
21086
21087 * gdb.base/structs.c (main): Don't run forever.
21088
21089 2014-10-02 Pedro Alves <palves@redhat.com>
21090
21091 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21092 (top level) <stop threads 1, stop threads 2>: Use it.
21093
21094 2014-10-02 Pedro Alves <palves@redhat.com>
21095
21096 * gdb.threads/break-while-running.exp (test): Add new
21097 'update_thread_list' argument. Skip "info threads" if false.
21098 (top level): Add new 'update_thread_list' axis.
21099
21100 2014-10-02 Pedro Alves <palves@redhat.com>
21101
21102 PR breakpoints/17431
21103 * gdb.base/execl-update-breakpoints.c: New file.
21104 * gdb.base/execl-update-breakpoints.exp: New file.
21105
21106 2014-10-01 Pedro Alves <palves@redhat.com>
21107
21108 * gdb.base/breakpoint-in-ro-region.c: New file.
21109 * gdb.base/breakpoint-in-ro-region.exp: New file.
21110
21111 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21112
21113 * gdb.mi/mi-exit-code.exp: New file.
21114 * gdb.mi/mi-exit-code.c: New file.
21115
21116 2014-09-30 Yao Qi <yao@codesourcery.com>
21117
21118 * lib/prelink-support.exp (build_executable_own_libs): Error if
21119 the target isn't native.
21120
21121 2014-09-30 Yao Qi <yao@codesourcery.com>
21122
21123 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21124 false.
21125
21126 2014-09-22 Pedro Alves <palves@redhat.com>
21127
21128 * gdb.threads/break-while-running.exp: New file.
21129 * gdb.threads/break-while-running.c: New file.
21130
21131 2014-09-19 Yao Qi <yao@codesourcery.com>
21132
21133 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21134 Invoke test. Restart GDB with --readnow and invoke test again.
21135
21136 2014-09-19 Yao Qi <yao@codesourcery.com>
21137
21138 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21139 proc set_breakpoint_on_gcd_function. Invoke
21140 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21141 invoke set_breakpoint_on_gcd_function again.
21142
21143 2014-09-18 Doug Evans <dje@google.com>
21144
21145 * gdb.dwarf2/symtab-producer.exp: New file.
21146
21147 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21148
21149 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21150 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21151 * gdb.base/global-var-nested-by-dso.c: Likewise.
21152 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21153
21154 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21155 Pedro Alves <palves@redhat.com>
21156
21157 * gdb.base/watch-bitfields.exp: Pass string other than test file
21158 name to prepare_for_testing.
21159 (watch): New procedure.
21160 (expect_watchpoint): Use with_test_prefix.
21161 (top level): Factor out tests to ...
21162 (test_watch_location, test_regular_watch): ... these new
21163 procedures, and use with_test_prefix and gdb_continue_to_end.
21164
21165 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21166
21167 PR breakpoints/12526
21168 * gdb.base/watch-bitfields.exp: New file.
21169 * gdb.base/watch-bitfields.c: New file.
21170
21171 2014-09-16 Pedro Alves <palves@redhat.com>
21172
21173 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21174 software and hardware addresses, not software address against
21175 itself.
21176
21177 2014-09-16 Pedro Alves <palves@redhat.com>
21178
21179 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21180 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21181
21182 2014-09-16 Pedro Alves <palves@redhat.com>
21183
21184 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21185 files.
21186 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21187 "*-*-vxworks*" throughout.
21188 * gdb.base/break.exp: Likewise.
21189 * gdb.base/default.exp: Likewise.
21190 * gdb.base/scope.exp: Likewise.
21191 * gdb.base/sepdebug.exp: Likewise.
21192 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21193 throughout.
21194 * gdb.base/run.c: Likewise.
21195 * gdb.base/sepdebug.c: Likewise.
21196 * gdb.hp/gdb.aCC/run.c: Likewise.
21197 * gdb.reverse/until-reverse.c: Likewise.
21198 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21199
21200 2014-09-16 Yao Qi <yao@codesourcery.com>
21201
21202 * boards/local-remote-host-native.exp: New file.
21203
21204 2014-09-14 Doug Evans <xdje42@gmail.com>
21205
21206 * gdb.threads/queue-signal.c (thread_count): New variable.
21207 (thread_count_mutex, thread_count_condvar): New variables.
21208 (incr_thread_count, wait_all_threads_running): New functions.
21209 (main): Wait for all threads to be in their thread functions.
21210
21211 2014-09-13 Doug Evans <xdje42@gmail.com>
21212
21213 * gdb.threads/queue-signal.c: New file.
21214 * gdb.threads/queue-signal.exp: New file.
21215
21216 2014-09-13 Doug Evans <xdje42@gmail.com>
21217
21218 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21219 be consistent with what default_gdb_init uses.
21220 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21221 the plain text of the prompt. Add some logging printfs.
21222 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21223
21224 2014-09-12 Pedro Alves <palves@redhat.com>
21225
21226 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21227 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21228 * gdb.arch/i386-size-overlap.exp: Likewise.
21229 * gdb.arch/i386-size.exp: Likewise.
21230 * gdb.arch/i386-unwind.exp: Likewise.
21231 * gdb.base/a2-run.exp: Likewise.
21232 * gdb.base/break.exp: Likewise.
21233 * gdb.base/charset.exp: Likewise.
21234 * gdb.base/chng-syms.exp: Likewise.
21235 * gdb.base/commands.exp: Likewise.
21236 * gdb.base/dbx.exp: Likewise.
21237 * gdb.base/find.exp: Likewise.
21238 * gdb.base/funcargs.exp: Likewise.
21239 * gdb.base/jit-simple.exp: Likewise.
21240 * gdb.base/reread.exp: Likewise.
21241 * gdb.base/sepdebug.exp: Likewise.
21242 * gdb.base/step-bt.exp: Likewise.
21243 * gdb.cp/mb-inline.exp: Likewise.
21244 * gdb.cp/mb-templates.exp: Likewise.
21245 * gdb.objc/basicclass.exp: Likewise.
21246 * gdb.threads/killed.exp: Likewise.
21247
21248 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21249
21250 PR tdep/17379
21251 * gdb.arch/powerpc-stackless.S: New file.
21252 * gdb.arch/powerpc-stackless.exp: New file.
21253
21254 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21255
21256 * gdb.base/attach.c: Include unistd.h.
21257 (main): Call alarm. Add label postloop.
21258 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21259 gdb_breakpoint, gdb_continue_to_breakpoint.
21260 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21261
21262 2014-09-11 Pedro Alves <palves@redhat.com>
21263
21264 PR gdb/17347
21265 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21266 * gdb.base/attach.exp (test_command_line_attach_run): New
21267 procedure.
21268 (top level): Call it.
21269
21270 2014-09-11 Pedro Alves <palves@redhat.com>
21271
21272 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21273 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21274 (do_command_attach_tests): Use spawn_wait_for_attach.
21275 * gdb.base/solib-overlap.exp: Likewise.
21276 * gdb.multi/multi-attach.exp: Likewise.
21277 * gdb.python/py-prompt.exp: Likewise.
21278 * gdb.python/py-sync-interp.exp: Likewise.
21279 * gdb.server/ext-attach.exp: Likewise.
21280
21281 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21282
21283 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21284 command in testcase. Simplify testcase.
21285
21286 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21287
21288 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21289
21290 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21291
21292 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21293
21294 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21295
21296 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21297
21298 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21299
21300 * gdb.dwarf2/dynarr-ptr.c: New file.
21301 * gdb.dwarf2/dynarr-ptr.exp: New file.
21302
21303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21304
21305 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21306 of 30 rather than hardcoding 120 for a slow test case. Take the
21307 `gdb,timeout' target setting into account for this calculation.
21308 Don't extend the timeout for the test cases that don't need it.
21309
21310 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21311
21312 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21313 a factor of 2 for a slow test case. Take the `gdb,timeout'
21314 target setting into account for this calculation.
21315 * gdb.reverse/until-precsave.exp: Increase the timeout by
21316 a factor of 15 and 3 respectively rather than adding 120
21317 for a pair of slow test cases. Take the `gdb,timeout'
21318 target setting into account for this calculation.
21319
21320 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21321
21322 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21323 timeout, don't pass one down to gdb_expect.
21324 (gdb_expect): Rework timeout selection.
21325
21326 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21327
21328 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21329 exception on timeout.
21330 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21331 (gdbserver_start_extended): Catch any `gdbserver_start' error
21332 exceptions.
21333 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21334 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21335 `gdbserver_gdb_load' error exceptions.
21336
21337 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21338
21339 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21340 120 on waiting for the TCP socket to open.
21341
21342 2014-09-09 Doug Evans <xdje42@gmail.com>
21343
21344 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21345 _caller_matches, _any_caller_is, _any_caller_matches.
21346
21347 2014-09-09 Doug Evans <xdje42@gmail.com>
21348
21349 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21350
21351 2014-09-09 Yao Qi <yao@codesourcery.com>
21352
21353 * gdb.mi/mi-var-display.exp: Set print symbol off.
21354
21355 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21356
21357 PR gdb/17035
21358 * gdb.base/commands.exp: Add tests to verify user-defined
21359 commands with empty bodies.
21360 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21361 python commands in `show user command`.
21362 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21363 scheme commands in `show user command`.
21364
21365 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21366
21367 PR python/17355
21368 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21369 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21370 * gdb.python/py-framefilter-invalidarg.exp: New file.
21371 * gdb.python/py-framefilter-invalidarg.py: New file.
21372
21373 2014-09-06 Doug Evans <xdje42@gmail.com>
21374
21375 PR 15276
21376 * gdb.python/py-caller-is.c: New file.
21377 * gdb.python/py-caller-is.exp: New file.
21378
21379 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21380
21381 PR gdb/17235
21382 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21383 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21384
21385 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21386
21387 PR fortran/17237
21388 * gdb.fortran/print-formatted.exp: New file.
21389 * gdb.fortran/print-formatted.f90: Likewise.
21390
21391 2014-09-03 Sasha Smundak <asmundak@google.com>
21392
21393 * gdb.python/py-frame.exp: Test Frame.read_register.
21394
21395 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21396
21397 PR python/16699
21398 * gdb.python/py-completion.exp: New file.
21399 * gdb.python/py-completion.py: Likewise.
21400
21401 2014-08-28 Doug Evans <dje@google.com>
21402
21403 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21404 eax,etc. are live with values set by gdb and thus the compiler can't
21405 use them.
21406 * gdb.arch/i386-pseudo.c (main): Ditto.
21407
21408 2014-08-27 Doug Evans <dje@google.com>
21409
21410 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21411
21412 2014-08-25 Doug Evans <dje@google.com>
21413
21414 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21415 (main): Ditto.
21416
21417 2014-08-25 Doug Evans <dje@google.com>
21418
21419 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21420
21421 2014-08-24 Yao Qi <yao@codesourcery.com>
21422
21423 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21424 symbol off.
21425 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21426
21427 2014-08-22 Doug Evans <dje@google.com>
21428
21429 PR 17276
21430 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21431 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21432 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21433
21434 2014-08-22 Yao Qi <yao@codesourcery.com>
21435
21436 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21437 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21438 * gdb.python/python.exp: Likewise. Use .py file on the host
21439 instead of the build.
21440
21441 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21442
21443 * gdb.threads/gcore-stale-thread.c: New file.
21444 * gdb.threads/gcore-stale-thread.exp: New file.
21445
21446 2014-08-21 Pedro Alves <palves@redhat.com>
21447
21448 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21449 * gdb.base/gcore-relro-pie.exp: Likewise.
21450 * gdb.base/gcore-relro.exp: Likewise.
21451 * gdb.base/gcore.exp: Likewise.
21452 * gdb.base/print-symbol-loading.exp: Likewise.
21453 * gdb.threads/gcore-thread.exp: Likewise.
21454 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21455
21456 2014-08-20 Pedro Alves <palves@redhat.com>
21457 Jan Kratochvil <jan.kratochvil@redhat.com>
21458
21459 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21460 configure.
21461 (EXPECT): Handle READ1 being set.
21462 (all): Depend on EXTRA_RULES.
21463 (check-read1, expect-read1, read1.so, read1): New rules.
21464 * README (Testsuite Parameters): Document the READ1 make variable.
21465 (Race detection): New section.
21466 * configure: Regenerate.
21467 * configure.ac: If build==host==target, and running under a
21468 GNU/glibc system, add read1 to the extra Makefile rules.
21469 (EXTRA_RULES): AC_SUBST it.
21470 * lib/read1.c: New file.
21471
21472 2014-08-20 Joel Brobecker <brobecker@adacore.com>
21473
21474 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21475 the handling of variables declared as a typedef to an array
21476 which a DW_AT_data_location attribute.
21477
21478 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
21479 Pedro Alves <palves@redhat.com>
21480
21481 PR symtab/14604
21482 PR symtab/14605
21483 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21484 gdb_test.
21485
21486 2014-08-19 Pedro Alves <palves@redhat.com>
21487
21488 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21489
21490 2014-08-19 Yao Qi <yao@codesourcery.com>
21491
21492 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21493 right line.
21494
21495 2014-08-18 David Blaikie <dblaikie@gmail.com>
21496
21497 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21498
21499 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21500
21501 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21502 attribute in array range.
21503
21504 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21505
21506 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21507
21508 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21509
21510 PR c++/17132
21511 * gdb.cp/pr17132.cc: New file.
21512 * gdb.cp/pr17132.exp: New file.
21513
21514 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21515
21516 * gdb.python/py-xmethods.py (A_getarrayind)
21517 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21518 Use 'print' with function call syntax.
21519 (E_method_matcher.match): Fix tab vs space indentation mixup.
21520
21521 2014-08-15 Yao Qi <yao@codesourcery.com>
21522
21523 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21524 false.
21525
21526 2014-08-15 Yao Qi <yao@codesourcery.com>
21527
21528 * gdb.cp/casts.exp: Set print symbol off.
21529 * gdb.cp/class2.exp: Likewise.
21530 * gdb.cp/overload.exp: Likewise.
21531 * gdb.cp/templates.exp: Likewise.
21532
21533 2014-08-11 Doug Evans <dje@google.com>
21534
21535 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21536 (test_load_shlib): Update.
21537
21538 2014-08-09 Yao Qi <yao@codesourcery.com>
21539
21540 * gdb.base/display.exp: Invoke is_address_zero_readable.
21541 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21542 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21543 * gdb.base/hbreak-unmapped.exp: Return if
21544 is_address_zero_readable returns true.
21545 * gdb.base/signest.exp: Likewise.
21546 * gdb.base/signull.exp: Likewise.
21547 * gdb.base/sigbpt.exp: Likewise.
21548 * gdb.guile/scm-disasm.exp: Do the test if
21549 is_address_zero_readable returns false.
21550 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21551 * gdb.python/py-arch.exp: Likewise.
21552 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21553 * lib/gdb.exp (is_address_zero_readable): New proc.
21554
21555 2014-08-09 Yao Qi <yao@codesourcery.com>
21556
21557 PR testsuite/13443
21558 * gdb.mi/mi-var-display.exp: Make test messages unique.
21559
21560 2014-08-04 Tom Tromey <tromey@redhat.com>
21561
21562 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21563 target 0".
21564
21565 2014-08-04 Tom Tromey <tromey@redhat.com>
21566
21567 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21568 "target_resume".
21569
21570 2014-08-01 Joel Brobecker <brobecker@adacore.com>
21571
21572 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21573 inner_vla_struct_object_size.
21574 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21575 as xfail.
21576
21577 2014-07-30 Pedro Alves <palves@redhat.com>
21578
21579 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21580 comment.
21581
21582 2014-07-29 Yao Qi <yao@codesourcery.com>
21583
21584 PR gdb/17206
21585 * gdb.base/until-nodebug.exp: New.
21586
21587 2014-07-28 Doug Evans <xdje42@gmail.com>
21588
21589 PR guile/17203
21590 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21591 previously existing parameter, and previously ambiguously spelled
21592 parameter.
21593
21594 2014-07-28 Will Newton <will.newton@linaro.org>
21595
21596 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21597
21598 2014-07-26 Ludovic Courtès <ludo@gnu.org>
21599 Doug Evans <xdje42@gmail.com>
21600
21601 PR guile/17146
21602 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21603
21604 2014-07-25 Pedro Alves <palves@redhat.com>
21605
21606 * gdb.threads/signal-command-handle-nopass.c: New file.
21607 * gdb.threads/signal-command-handle-nopass.exp: New file.
21608 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21609 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21610 * gdb.threads/signal-delivered-right-thread.c: New file.
21611 * gdb.threads/signal-delivered-right-thread.exp: New file.
21612
21613 2014-07-25 Pedro Alves <palves@redhat.com>
21614
21615 * gdb.base/double-prompt-target-event-error.exp
21616 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21617 match.
21618 (cancel_pagination_in_target_event): Rework double prompt
21619 detection.
21620 * gdb.base/paginate-after-ctrl-c-running.exp
21621 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21622 <return>' match.
21623 * gdb.base/paginate-bg-execution.exp
21624 (test_bg_execution_pagination_return)
21625 (test_bg_execution_pagination_cancel): Remove '-notransfer
21626 <return>' matches.
21627 * gdb.base/paginate-execution-startup.exp
21628 (test_fg_execution_pagination_return)
21629 (test_fg_execution_pagination_cancel): Remove '-notransfer
21630 <return>' matches.
21631 * gdb.base/paginate-inferior-exit.exp
21632 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21633 match.
21634 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21635 * lib/gdb.exp (pagination_prompt): Run text through
21636 string_to_regexp.
21637 (gdb_test_multiple): Match $pagination_prompt instead of
21638 "<return>".
21639 (string_to_regexp): Move to lib/gdb-utils.exp.
21640
21641 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21642
21643 * gdb.arch/amd64-entry-value-paramref.S: New file.
21644 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21645 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21646 * gdb.arch/amd64-optimout-repeat.S: New file.
21647 * gdb.arch/amd64-optimout-repeat.c: New file.
21648 * gdb.arch/amd64-optimout-repeat.exp: New file.
21649
21650 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21651
21652 PR gdb/17170
21653 * gdb.base/statistics.exp: New file.
21654
21655 2014-07-17 Doug Evans <dje@google.com>
21656
21657 PR gdb/17170
21658 * gdb.base/maint.exp: Update testing of per-command stats.
21659
21660 2014-07-16 Pedro Alves <palves@redhat.com>
21661
21662 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21663 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21664 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21665 (tfile_write_buf): New functions.
21666 (add_memory_block): Rewrite using the above.
21667 (adjust_function_address): New function.
21668 (FUNCTION_ADDRESS): New macro.
21669 (write_basic_trace_file): Remove short_x local, and use
21670 tfile_write_16. Change type of func_addr local to unsigned long
21671 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21672 here. Cast argument of add_memory_block to char pointer.
21673 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21674 (main): Remove parameters.
21675 * gdb.trace/tfile.exp: Remove nowarnings.
21676
21677 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21678
21679 * gdb.base/debug-expr.exp: Test string evaluation with
21680 "debug expression" on.
21681
21682 2014-07-15 Pedro Alves <palves@redhat.com>
21683
21684 * gdb.base/reread.exp: Use clean_restart.
21685
21686 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21687
21688 * gdb.arch/avr-flash-qualifer.c: New.
21689 * gdb.arch/avr-flash-qualifer.exp: New.
21690
21691 2014-07-14 Pedro Alves <palves@redhat.com>
21692
21693 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21694 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21695
21696 2014-07-14 Pedro Alves <palves@redhat.com>
21697
21698 * gdb.base/double-prompt-target-event-error.c: New file.
21699 * gdb.base/double-prompt-target-event-error.exp: New file.
21700
21701 2014-07-14 Pedro Alves <palves@redhat.com>
21702
21703 PR gdb/17072
21704 * gdb.base/paginate-inferior-exit.c: New file.
21705 * gdb.base/paginate-inferior-exit.exp: New file.
21706
21707 2014-07-14 Pedro Alves <palves@redhat.com>
21708
21709 PR gdb/17072
21710 * gdb.base/paginate-bg-execution.c: New file.
21711 * gdb.base/paginate-bg-execution.exp: New file.
21712
21713 2014-07-14 Pedro Alves <palves@redhat.com>
21714
21715 PR gdb/17072
21716 * gdb.base/paginate-execution-startup.c: New file.
21717 * gdb.base/paginate-execution-startup.exp: New file.
21718 * lib/gdb.exp (pagination_prompt): New global.
21719 (default_gdb_spawn): New procedure, factored out from
21720 default_gdb_spawn.
21721 (default_gdb_start): Adjust to call default_gdb_spawn.
21722 (gdb_spawn): New procedure.
21723
21724 2014-07-14 Pedro Alves <palves@redhat.com>
21725
21726 * lib/gdb.exp (gdb_assert): New procedure.
21727 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21728
21729 2014-07-14 Pedro Alves <palves@redhat.com>
21730
21731 * gdb.base/execution-termios.c: New file.
21732 * gdb.base/execution-termios.exp: New file.
21733
21734 2014-07-14 Tom Tromey <tromey@redhat.com>
21735
21736 * gdb.cp/vla-cxx.cc: New file.
21737 * gdb.cp/vla-cxx.exp: New file.
21738
21739 2014-07-14 Tom Tromey <tromey@redhat.com>
21740
21741 * gdb.reverse/rerun-prec.c: New file.
21742 * gdb.reverse/rerun-prec.exp: New file.
21743
21744 2014-07-12 Maciej W. Rozycki <macro@mips.com>
21745 Maciej W. Rozycki <macro@codesourcery.com>
21746
21747 * lib/gdb-utils.exp: New file.
21748 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21749 inline `gdb_init_command' processing.
21750 (gdb_start_cmd): Likewise.
21751 * lib/mi-support.exp (mi_run_cmd): Likewise.
21752 * README: Document `gdb_init_command' and `gdb_init_commands'.
21753
21754 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21755
21756 Fix false FAIL running under a very long directory name.
21757 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21758 and "set print elements 10000". Twice.
21759
21760 2014-07-11 Yao Qi <yao@codesourcery.com>
21761
21762 * gdb.base/exprs.exp: "set print symbol off".
21763
21764 2014-07-11 Pedro Alves <palves@redhat.com>
21765
21766 * gdb.threads/kill.c: New file.
21767 * gdb.threads/kill.exp: New file.
21768
21769 2014-07-10 Yao Qi <yao@codesourcery.com>
21770
21771 * gdb.trace/tfile.c (write_basic_trace_file)
21772 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21773 address written to trace file.
21774
21775 2014-07-09 Pedro Alves <palves@redhat.com>
21776
21777 * gdb.base/attach-wait-input.exp: New file.
21778 * gdb.base/attach-wait-input.c: New file.
21779
21780 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21781
21782 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21783 setting up test structures.
21784 (main): Call new test function.
21785 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21786 test function, continue into test function and walk test
21787 structures.
21788
21789 2014-07-02 Yao Qi <yao@codesourcery.com>
21790
21791 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21792 'bar_start' at the beginning of functions 'foo' and 'bar'
21793 respectively.
21794 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21795 instead of 'foo' and 'bar'.
21796
21797 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21798
21799 * gdb.btrace/segv.exp: New.
21800 * gdb.btrace/segv.c: New.
21801
21802 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
21803
21804 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21805 instruction.
21806
21807 2014-06-30 Mark Wielaard <mjw@redhat.com>
21808
21809 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21810 vulture, vilify, villar): New volatile array constants.
21811 (vindictive, vegetation): New const volatile array constants.
21812 * gdb.base/volatile.exp: Test volatile and const volatile array
21813 types.
21814
21815 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21816
21817 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21818 target lacks support for awatch, rwatch, or hbreak.
21819
21820 2014-06-27 Yao Qi <yao@codesourcery.com>
21821
21822 * gdb.multi/dummy-frame-restore.exp: New.
21823 * gdb.multi/dummy-frame-restore.c: New.
21824
21825 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21826
21827 * gdb.btrace/gcore.exp: New.
21828
21829 2014-06-23 Pedro Alves <palves@redhat.com>
21830
21831 * gdb.base/watchpoint-reuse-slot.c: New file.
21832 * gdb.base/watchpoint-reuse-slot.exp: New file.
21833
21834 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21835
21836 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21837 progspace's filename in 'info', 'enable' and 'disable' command
21838 tests.
21839
21840 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21841
21842 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21843 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21844 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21845
21846 2014-06-20 Gary Benson <gbenson@redhat.com>
21847
21848 * gdb.arch/i386-avx.exp: Fix include file location.
21849 * gdb.arch/i386-sse.exp: Likewise.
21850
21851 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21852
21853 * gdb.dlang/expression.exp: New file.
21854
21855 2014-06-19 Pedro Alves <palves@redhat.com>
21856
21857 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21858 out from ...
21859 (top level): ... here. Iterate running tests under different
21860 scheduler-locking settings.
21861
21862 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
21863
21864 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21865 to DW_FORM_addr and use non-zero addresses.
21866
21867 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21868
21869 PR gdb/17017
21870 * gdb.python/py-xmethods.cc: Add global function call counters and
21871 increment them in their respective functions. Remove "cout"
21872 statements.
21873 * gdb.python/py-xmethods.exp: Make tests check the global function
21874 call counters instead of depending on inferior IO.
21875
21876 2014-06-18 Don Breazeal <donb@codesourcery.com>
21877
21878 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21879 Deleted procedure.
21880 (explicit_fork_parent_follow): Deleted procedure.
21881 (explicit_fork_child_follow): Deleted procedure.
21882 (test_follow_fork): New procedure.
21883 (do_fork_tests): Replace calls to deleted procedures with
21884 calls to test_follow_fork and reset GDB for subsequent
21885 procedure calls.
21886
21887 2014-06-17 Yao Qi <yao@codesourcery.com>
21888
21889 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21890 CP1252.
21891
21892 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
21893
21894 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21895 Initialize ptr and S explicitly.
21896 (skip_type_update_when_not_use_rtti_test): Likewise.
21897
21898 2014-06-16 Keith Seitz <keiths@redhat.com>
21899
21900 PR mi/15863
21901 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21902 the inferior is started.
21903
21904 2014-06-16 Pedro Alves <palves@redhat.com>
21905
21906 * gdb.base/break-main-file-remove-fail.c: New file.
21907 * gdb.base/break-main-file-remove-fail.exp: New file.
21908 * gdb.base/break-unload-file.exp: Use build_executable instead of
21909 prepare_for_testing.
21910 (test_break): New parameter "initial_load". Handle it.
21911 (top level): Add initial_load cmdline/file axis.
21912
21913 2014-06-12 Tom Tromey <tromey@redhat.com>
21914
21915 * gdb.base/completion.exp: Don't use directory name in test.
21916
21917 2014-06-09 Gary Benson <gbenson@redhat.com>
21918
21919 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21920 separate the always-available ANSI-standard signals from the
21921 signals that require checking.
21922 (main): Likewise.
21923 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21924 Likewise.
21925 (main): Likewise.
21926
21927 2014-06-07 Keith Seitz <keiths@redhat.com>
21928
21929 Revert:
21930 PR c++/16253
21931 * gdb.cp/var-tag.cc: New file.
21932 * gdb.cp/var-tag.exp: New file.
21933 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21934 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21935 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21936 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21937
21938 2014-06-06 Doug Evans <xdje42@gmail.com>
21939
21940 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21941
21942 2014-06-06 Pedro Alves <palves@redhat.com>
21943
21944 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21945 in target debug output instead of looking at RSP packets,
21946 disabling the test on any target that uses hardware stepping.
21947 Update comments.
21948
21949 2014-06-06 Pedro Alves <palves@redhat.com>
21950
21951 * gdb.base/break-unload-file.exp: Fix typo.
21952
21953 2014-06-06 Yao Qi <yao@codesourcery.com>
21954
21955 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21956 from "jit_function" to "^jit_function".
21957
21958 2014-06-06 Yao Qi <yao@codesourcery.com>
21959
21960 * gdb.base/async.c (foo): Add one statement.
21961 * gdb.base/async.exp: Get the next instruction address and
21962 match the output of "nexti" by instruction address. Match
21963 the hex address in the output of "finish".
21964
21965 2014-06-06 Gary Benson <gbenson@redhat.com>
21966
21967 * gdb.base/call-signals.c: Remove preprocessor conditionals
21968 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21969 SIGSEGV and SIGTERM.
21970 * gdb.base/sigall.c: Likewise.
21971 * gdb.base/unwindonsignal.c: Likewise.
21972 * gdb.reverse/sigall-reverse.c: Likewise.
21973
21974 2014-06-06 Yao Qi <yao@codesourcery.com>
21975
21976 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21977 readable, skip the test.
21978
21979 2014-06-06 Yao Qi <yao@codesourcery.com>
21980
21981 * gdb.threads/staticthreads.c (thread_function): Move the line
21982 setting breakpoint on forward.
21983 * gdb.threads/staticthreads.exp: Update comments.
21984
21985 2014-06-05 Ludovic Courtès <ludo@gnu.org>
21986
21987 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21988 "history-append! type error".
21989
21990 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21991
21992 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21993 erroneous dprintf expected input.
21994
21995 2014-06-04 Doug Evans <xdje42@gmail.com>
21996
21997 * gdb.guile/scm-generics.exp: Delete.
21998
21999 2014-06-04 Doug Evans <xdje42@gmail.com>
22000
22001 * gdb.guile/scm-breakpoint.exp: Update.
22002 Add tests for breakpoint registration.
22003
22004 2014-06-04 Tom Tromey <tromey@redhat.com>
22005
22006 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22007 VLA-in-union.
22008 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22009 inner_vla_struct, vla_union types. Initialize objects of those
22010 types and compute their sizes.
22011
22012 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22013 Hui Zhu <hui@codesourcery.com>
22014
22015 * gdb.base/fileio.exp: Add test for shell not available as well as
22016 available.
22017 * gdb.base/fileio.c (test_system): Check for shell twice.
22018
22019 2014-06-04 Yao Qi <yao@codesourcery.com>
22020
22021 * gdb.base/auto-connect-native-target.exp: Remove redundant
22022 space from the regexp pattern.
22023
22024 2014-06-04 Yao Qi <yao@codesourcery.com>
22025
22026 * gdb.base/default.exp: Replace "child" with "native" in
22027 regexp pattern.
22028
22029 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22030
22031 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22032 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22033 * gdb.python/py-xmethods.py: Python script supporting the
22034 new testcase and tests.
22035
22036 2014-06-03 Joel Brobecker <brobecker@adacore.com>
22037 Pedro Alves <palves@redhat.com>
22038
22039 PR breakpoints/17000
22040 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22041 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22042
22043 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22044
22045 * gdb.base/subst.exp: Add tests to verify partial path matching
22046 output.
22047
22048 2014-06-03 Pedro Alves <palves@redhat.com>
22049
22050 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22051 target that doesn't use software single-stepping.
22052
22053 2014-06-03 Pedro Alves <palves@redhat.com>
22054
22055 PR breakpoints/17000
22056 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22057 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22058
22059 2014-06-02 Doug Evans <xdje42@gmail.com>
22060
22061 * gdb.guile/scm-parameter.exp: New file.
22062
22063 2014-06-02 Doug Evans <xdje42@gmail.com>
22064
22065 * gdb.guile/scm-cmd.c: New file.
22066 * gdb.guile/scm-cmd.exp: New file.
22067
22068 2014-06-02 Doug Evans <xdje42@gmail.com>
22069
22070 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22071 pretty-printer lookup.
22072 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22073 (make-pp_s-printer): Call it.
22074 (make-pretty-printer-from-dict): New function.
22075 (lookup-pretty-printer-maker-from-dict): New function.
22076 (*pretty-printer*): Simplify.
22077 (make-objfile-pp_s-printer): New function.
22078 (install-objfile-pretty-printers!): New function.
22079 (make-progspace-pp_s-printer): New function.
22080 (install-progspace-pretty-printers!): New function.
22081 * gdb.guile/scm-progspace.c: New file.
22082 * gdb.guile/scm-progspace.exp: New file.
22083
22084 2014-06-02 Pedro Alves <palves@redhat.com>
22085
22086 * gdb.base/dprintf-bp-same-addr.c: New file.
22087 * gdb.base/dprintf-bp-same-addr.exp: New file.
22088
22089 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22090
22091 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22092 * gdb.arch/powerpc-power.s: Likewise.
22093
22094 2014-06-02 Joel Brobecker <brobecker@adacore.com>
22095
22096 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22097
22098 2014-06-01 Yao Qi <yao@codesourcery.com>
22099
22100 * gdb.base/watchpoint.exp (test_watch_location): Check null
22101 pointer can be dereferenced. If not, do the test, otherwise
22102 skip it.
22103
22104 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22105
22106 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22107 results.
22108 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22109
22110 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22111
22112 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22113 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22114 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22115 * gdb.arch/amd64-invalid-stack-top.c: New file.
22116 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22117
22118 2014-05-30 Pedro Alves <palves@redhat.com>
22119
22120 PR breakpoints/17000
22121 * gdb.base/sss-bp-on-user-bp.c: New file.
22122 * gdb.base/sss-bp-on-user-bp.exp: New file.
22123
22124 2014-05-30 David Blaikie <dblaikie@gmail.com>
22125
22126 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22127 gnu_inline semantics via attribute.
22128 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22129 source explicitly specifies the required semantics.
22130
22131 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22132
22133 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22134
22135 2014-05-29 Pedro Alves <palves@redhat.com>
22136 Tom Tromey <tromey@redhat.com>
22137
22138 * gdb.base/async-shell.exp: Don't enable target-async.
22139 * gdb.base/async.exp
22140 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22141 parameter. Adjust.
22142 (top level): Don't test with "target-async".
22143 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22144 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22145 * gdb.base/inferior-died.exp: Don't enable target-async.
22146 * gdb.base/interrupt-noterm.exp: Likewise.
22147 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22148 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22149 * gdb.mi/mi-nonstop.exp: Likewise.
22150 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22151 * gdb.mi/mi-nsintrall.exp: Likewise.
22152 * gdb.mi/mi-nsmoribund.exp: Likewise.
22153 * gdb.mi/mi-nsthrexec.exp: Likewise.
22154 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22155 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22156 * gdb.python/py-evsignal.exp: Don't enable target-async.
22157 * gdb.python/py-evthreads.exp: Likewise.
22158 * gdb.python/py-prompt.exp: Likewise.
22159 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22160 * gdb.server/solib-list.exp: Don't enable target-async.
22161 * gdb.threads/thread-specific-bp.exp: Likewise.
22162 * lib/mi-support.exp: Adjust to use mi-async.
22163
22164 2014-05-29 Pedro Alves <palves@redhat.com>
22165
22166 PR gdb/13860
22167 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22168 reason, even in sync mode.
22169
22170 2014-05-29 Pedro Alves <palves@redhat.com>
22171 Hui Zhu <hui@codesourcery.com>
22172
22173 PR PR15693
22174 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22175 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22176 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22177 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22178
22179 2014-05-28 Joel Brobecker <brobecker@adacore.com>
22180
22181 * config/monitor.exp (gdb_target_monitor): Replace use of
22182 "set remotebaud" by "set serial baud".
22183
22184 2014-05-26 Andy Wingo <wingo@igalia.com>
22185
22186 * gdb.guile/scm-breakpoint.exp:
22187 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22188 properties instead of gdb-object-properties.
22189
22190 2014-05-26 Yao Qi <yao@codesourcery.com>
22191
22192 * gdb.server/no-thread-db.exp: Specify source file name
22193 explicitly when setting a breakpoint.
22194
22195 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22196
22197 * gdb.btrace/vdso.c: New.
22198 * gdb.btrace/vdso.exp: New.
22199
22200 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22201
22202 * gdb.base/gcore.exp (capture_command_output): Move ...
22203 * lib/gdb.exp (capture_command_output): ... here.
22204
22205 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22206
22207 * gdb.btrace/data.exp: Test memory access during btrace replay.
22208
22209 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22210
22211 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22212
22213 2014-05-21 Pedro Alves <palves@redhat.com>
22214
22215 PR gdb/13860
22216 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22217 (top level): Test that output related to execution commands is
22218 sent to the console with CLI commands, but not with MI commands.
22219 Test that breakpoint events are always mirrored to the console.
22220 Also expect the new source line to be output after a "next" in
22221 async mode too. Make it a pass/fail test.
22222 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22223 output.
22224 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22225
22226 2014-05-21 Pedro Alves <palves@redhat.com>
22227
22228 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22229 Use them to test variations of "list" after reaching a breakpoint.
22230 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22231 Test "list" with listsize 10 after reaching a breakpoint.
22232 * gdb.python/python.exp (decode_line current location line
22233 number): Adjust expected line number.
22234
22235 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22236
22237 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22238 behavior for $args, pass it directly to "run".
22239
22240 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22241
22242 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22243 30000 to 65536.
22244
22245 2014-05-21 Pedro Alves <palves@redhat.com>
22246
22247 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22248 auto-connect-native-target off".
22249 * gdb.base/auto-connect-native-target.c: New file.
22250 * gdb.base/auto-connect-native-target.exp: New file.
22251
22252 2014-05-21 Pedro Alves <palves@redhat.com>
22253
22254 * gdb.base/default.exp: Test "target native" instead of "target
22255 child".
22256
22257 2014-05-21 Mark Wielaard <mjw@redhat.com>
22258
22259 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22260
22261 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22262
22263 Fix TLS access for -static -pthread.
22264 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22265 <HAVE_TLS> (thread_function, main): Initialize it.
22266 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22267 Add clean_restart.
22268 <$have_tls != "">: Check TLSVAR.
22269
22270 2014-05-21 Pedro Alves <palves@redhat.com>
22271
22272 * gdb.base/dcache-line-read-error.c: New.
22273 * gdb.base/dcache-line-read-error.exp: New.
22274
22275 2014-05-20 Pedro Alves <palves@redhat.com>
22276
22277 * gdb.base/compare-sections.c: New file.
22278 * gdb.base/compare-sections.exp: New file.
22279
22280 2014-05-20 Pedro Alves <palves@redhat.com>
22281
22282 * gdb.base/break-idempotent.c: New file.
22283 * gdb.base/break-idempotent.exp: New file.
22284
22285 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22286
22287 * gdb.btrace/nohist.exp: New.
22288
22289 2014-05-20 Yao Qi <yao@codesourcery.com>
22290
22291 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22292 gdb.reverse directory and gdb_reverse_timeout exists in board
22293 setting.
22294 * README: Document gdb_reverse_timeout.
22295
22296 2014-05-20 Yao Qi <yao@codesourcery.com>
22297
22298 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22299 'test_file_name'. Treat args as a string instead of a list.
22300 (gdb_init): Rename argument 'args' by 'test_file_name'.
22301
22302 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22303
22304 * gdb.arch/powerpc-power.exp: New file.
22305 * gdb.arch/powerpc-power.s: New file.
22306
22307 2014-05-16 Doug Evans <dje@google.com>
22308
22309 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
22310 * gdb.base/completion.exp: Check that all expected files exist
22311 before doing file completion.
22312
22313 2014-05-16 Doug Evans <dje@google.com>
22314
22315 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22316 Update.
22317 (do_syscall_tests_without_xml): Update.
22318
22319 2014-05-16 Pedro Alves <palves@redhat.com>
22320
22321 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22322 instead of "unknown output after running".
22323
22324 2014-05-16 Yao Qi <yao@codesourcery.com>
22325
22326 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22327 file1.txt from host at the end.
22328 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22329
22330 2014-05-15 Doug Evans <dje@google.com>
22331
22332 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22333 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22334 loading file. Add test for TU lookup.
22335
22336 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22337
22338 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22339 calling "-exec-arguments" or "set args" before running the
22340 inferior.
22341
22342 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22343
22344 * lib/mi-support.exp (mi_expect_stop): Expect message for
22345 inferiors that exit with non-zero exit code.
22346
22347 2014-05-14 Yao Qi <yao@codesourcery.com>
22348
22349 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22350 match absolute path on remote host.
22351 (test_file_list_exec_source_files): Remove "/" from the
22352 pattern.
22353
22354 2014-05-14 Yao Qi <yao@codesourcery.com>
22355
22356 * boards/local-remote-host-notty.exp (${board}_file): New
22357 proc.
22358
22359 2014-05-07 Kyle McMartin <kyle@redhat.com>
22360
22361 Pushed by Joel Brobecker <brobecker@adacore.com>.
22362 * gdb.arch/aarch64-atomic-inst.c: New file.
22363 * gdb.arch/aarch64-atomic-inst.exp: New file.
22364
22365 2014-05-07 Yao Qi <yao@codesourcery.com>
22366
22367 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22368 in current context" too.
22369
22370 2014-05-05 Keith Seitz <keiths@redhat.com>
22371
22372 * gdb.linespec/ls-dollar.exp: Add test for linespec
22373 file:convenience_variable.
22374
22375 2014-05-05 Yao Qi <yao@codesourcery.com>
22376
22377 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22378 traceframes into tfile and ctf trace files. Read data from
22379 trace file and test collected data.
22380 (gdb_collect_locals_test): Likewise.
22381 (gdb_unavailable_registers_test): Likewise.
22382 (gdb_unavailable_floats): Likewise.
22383 (gdb_collect_globals_test): Likewise.
22384 (top-level): Append "ctf" to trace_file_targets if GDB
22385 supports.
22386
22387 2014-05-05 Yao Qi <yao@codesourcery.com>
22388
22389 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22390 code to ...
22391 (gdb_collect_args_test_1): ... it. New proc.
22392 (gdb_collect_locals_test): Move some code to ...
22393 (gdb_collect_locals_test_1): ... it. New proc.
22394 (gdb_unavailable_registers_test): Move some code to ...
22395 (gdb_unavailable_registers_test_1): ... it. New proc.
22396 (gdb_unavailable_floats): Move some code to ...
22397 (gdb_unavailable_floats_1): ... it. New proc.
22398
22399 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22400
22401 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22402 probes to test for bitness recognition.
22403 * gdb.arch/amd64-stap-optional-prefix.exp
22404 (test_probe_value_without_reg): New procedure.
22405 Add code to test for different kinds of bitness.
22406
22407 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22408
22409 PR breakpoints/16889
22410 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22411 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22412
22413 2014-05-01 Pedro Alves <palves@redhat.com>
22414
22415 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22416 gdb_file_cmd if no file is specified.
22417 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22418 last_loaded_file to set the remote exec-file.
22419
22420 2014-05-01 Pedro Alves <palves@redhat.com>
22421
22422 * boards/local-remote-host.exp: New file.
22423
22424 2014-05-01 Pedro Alves <palves@redhat.com>
22425
22426 * boards/local-remote-host.exp: Rename to ...
22427 * boards/local-remote-host-notty.exp: ... this.
22428
22429 2014-04-28 Joel Brobecker <brobecker@adacore.com>
22430
22431 * gdb.ada/dyn_arrayidx: New testcase.
22432
22433 2014-04-26 Yao Qi <yao@codesourcery.com>
22434
22435 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22436 and compute the length of function main. Save it in
22437 $main_length.
22438 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22439 (top-level): Use gdb_compile to compile objects into
22440 executable and restart GDB. Remove invocation to
22441 prepare_for_testing.
22442
22443 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22444 Pedro Alves <palves@redhat.com>
22445
22446 PR server/16255
22447 * gdb.multi/multi-attach.c: New file.
22448 * gdb.multi/multi-attach.exp: New file.
22449
22450 2014-04-25 Pedro Alves <palves@redhat.com>
22451
22452 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22453 user.
22454 (top level): Test that "set remote conditional-breakpoints-packet
22455 off" works as intended.
22456 * gdb.base/dprintf.exp: Test that "set remote
22457 breakpoint-commands-packet off" works as intended.
22458 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22459 New function.
22460 (top level): Call it.
22461 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22462 remote fast-tracepoints-packet off" works as intended.
22463 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22464 * lib/gdb.exp (gdb_is_target_remote): ... here.
22465
22466 2014-04-24 David Blaikie <dblaikie@gmail.com>
22467
22468 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22469 ensure clang would not discard them.
22470 * gdb.base/gdbvars.c: Ditto.
22471 * gdb.base/memattr.c: Ditto.
22472 * gdb.base/whatis.c: Ditto.
22473 * gdb.python/py-prettyprint.c: Ditto.
22474 * gdb.trace/actions.c: Ditto.
22475 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22476 ensure clang would not discard it.
22477
22478 2014-04-24 David Blaikie <dblaikie@gmail.com>
22479
22480 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22481 clang to emit the full definition of type required by the test
22482 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22483
22484 2014-04-24 David Blaikie <dblaikie@gmail.com>
22485
22486 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22487 coax Clang into emitting the definition of the type.
22488 * gdb.cp/pr10728-x.h (y): Ditto.
22489 * gdb.cp/pr10728-y.cc (y): Ditto.
22490
22491 2014-04-24 David Blaikie <dblaikie@gmail.com>
22492
22493 * gdb.base/label.exp: XFAIL label related tests under Clang.
22494 * gdb.cp/cplabel.exp: Ditto.
22495 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22496 under Clang those using labels.
22497
22498 2014-04-25 Yao Qi <yao@codesourcery.com>
22499
22500 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22501 double_label.
22502 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22503 partial_label and double_label.
22504
22505 2014-04-24 David Blaikie <dblaikie@gmail.com>
22506
22507 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22508
22509 2014-04-24 David Blaikie <dblaikie@gmail.com>
22510
22511 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22512 of the function to work across GCC and Clang.
22513 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22514 pointer types (const void ** const V void **).
22515
22516 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
22517 Walfred Tedeschi <walfred.tedeschi@intel.com>
22518
22519 * Makefile.in (EXECUTABLES): Added i386-avx512.
22520 * gdb.arch/i386-avx512.c: New file.
22521 * gdb.arch/i386-avx512.exp: Likewise.
22522
22523 2014-04-23 Keith Seitz <keiths@redhat.com>
22524
22525 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22526 (mi_make_breakpoint_table): New procedure.
22527 (mi_create_breakpoint): Use mi_make_breakpoint
22528 and return the result.
22529 (mi_make_breakpoint): New procedure.
22530 (mi_build_kv_pairs): New procedure.
22531
22532 * gdb.mi/mi-break.exp: Remove unused globals,
22533 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22534 All callers updated.
22535 * gdb.mi/mi-dprintf.exp: Use variable to track command
22536 number.
22537 Update all callers of mi_create_breakpoint and use
22538 mi_make_breakpoint_table.
22539 Remove any unused global variables.
22540 * gdb.mi/mi-nonstop.exp: Likewise.
22541 * gdb.mi/mi-nsintrall.exp: Likewise.
22542 * gdb.mi/mi-nsmoribund.exp: Likewise.
22543 * gdb.mi/mi-nsthrexec.exp: Likewise.
22544 * gdb.mi/mi-reverse.exp: Likewise.
22545 * gdb.mi/mi-simplerun.exp: Likewise.
22546 * gdb.mi/mi-stepn.exp: Likewise.
22547 * gdb.mi/mi-syn-frame.exp: Likewise.
22548 * gdb.mi/mi-until.exp: Likewise.
22549 * gdb.mi/mi-var-cp.exp: Likewise.
22550 * gdb.mi/mi-var-display.exp: Likewise.
22551 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22552 * gdb.mi/mi2-var-child.exp: Likewise.
22553 * gdb.mi/mi-vla-c99.exp: Likewise.
22554 * lib/mi-support.exp: Likewise.
22555
22556 From Ian Lance Taylor <iant@cygnus.com>:
22557 * lib/gdb.exp (parse_args): New procedure.
22558
22559 2014-04-23 Pedro Alves <palves@redhat.com>
22560
22561 * gdb.base/break-unload-file.c: New file.
22562 * gdb.base/break-unload-file.exp: New file.
22563 * gdb.base/sym-file-lib.c (baz): New function.
22564 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22565 field.
22566 (load): Store the segment's mapped size.
22567 (unload): New function.
22568 (unload_shlib): New function.
22569 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22570 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22571 set a breakpoint at baz, and call it.
22572 * gdb.base/sym-file.exp: New tests for stale breakpoint
22573 instructions.
22574
22575 2014-04-23 Pedro Alves <palves@redhat.com>
22576
22577 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22578 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22579 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22580 * gdb.base/hbreak-unmapped.c: New file.
22581 * gdb.base/hbreak-unmapped.exp: New file.
22582 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22583 * lib/gdb.exp (gdb_is_target_remote): ... here.
22584
22585 2014-04-22 Pedro Alves <palves@redhat.com>
22586
22587 * gdb.base/consecutive-step-over.c: New file.
22588 * gdb.base/consecutive-step-over.exp: New file.
22589
22590 2014-04-22 Pedro Alves <palves@redhat.com>
22591
22592 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22593 instead of send_gdb/gdb_expect.
22594
22595 2014-04-22 Yao Qi <yao@codesourcery.com>
22596
22597 * lib/trace-support.exp (generate_tracefile): New procedure.
22598 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22599 return 0.
22600 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22601 if generate_tracefile returns 1.
22602
22603 2014-04-18 Tom Tromey <palves@redhat.com>
22604 Pedro alves <tromey@redhat.com>
22605
22606 PR backtrace/15558
22607 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22608 with a backtrace limit.
22609 * gdb.python/py-frame-inline.exp: Test running to an inline
22610 function with a backtrace limit, and printing the newest frame.
22611 * gdb.python/py-frame-inline.c (main): Call f.
22612
22613 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22614
22615 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22616
22617 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22618
22619 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22620 Drop prefix from unsupported source file path.
22621
22622 2014-04-17 Yao Qi <yao@codesourcery.com>
22623
22624 * lib/gdb.exp (with_target_charset): New proc.
22625 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22626 with_target_charset.
22627 (test_print_strings): Likewise.
22628 (test_repeat_bytes): Likewise.
22629 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22630 for some tests.
22631
22632 2014-04-16 Keith Seitz <keiths@redhat.com>
22633
22634 PR gdb/15827
22635 * gdb.dwarf2/corrupt.c: New file.
22636 * gdb.dwarf2/corrupt.exp: New file.
22637
22638 2014-04-16 Keith Seitz <keiths@redhat.com>
22639
22640 PR c++/16597
22641 * gdb.cp/namelessclass.cc: New file.
22642 * gdb.cp/namelessclass.exp: New file.
22643 * gdb.cp/namelessclass.S: New file.
22644
22645 2014-04-16 Doug Evans <dje@google.com>
22646
22647 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22648 Add comment.
22649 (gdbserver_default_get_comm_port): New function.
22650 (gdbserver_start): Check if board file provided
22651 "gdbserver,get_comm_port" and use it if so.
22652 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22653 (gdb,socketport): Set to "stdio".
22654 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22655 (stdio_gdbserver_template): Delete.
22656 (${board}_get_remote_address): Update.
22657 (${board}_build_remote_cmd): Delete.
22658 (${board}_get_comm_port): New function.
22659 (${board}_spawn): Update.
22660 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22661 Delete.
22662 (${board}_get_remote_address): Update.
22663 (${board}_get_comm_port): New function.
22664
22665 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
22666
22667 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22668 appearing in any order.
22669
22670 2014-04-15 Doug Evans <dje@google.com>
22671
22672 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22673 uninitialized value of "description".
22674
22675 2014-04-15 Keith Seitz <keiths@redhat.com>
22676
22677 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22678 Remove unused globals.
22679 (test_running_the_program): Likewise.
22680 (test_controlled_execution): Likewise.
22681 (test_controlling_breakpoints): Likewise.
22682 (test_program_termination): Likewise.
22683
22684 2014-04-15 Keith Seitz <keiths@redhat.com>
22685
22686 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22687 unused globals.
22688 (test_rbreak_creation_and_listing): Likewise.
22689 (test_ignore_count): Likewise.
22690 (test_error): Likewise.
22691
22692 2014-04-15 Pedro Alves <palves@redhat.com>
22693
22694 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22695 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22696 sym-file-loader.c.
22697 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22698 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22699 to sym-file-loader.c.
22700 (struct library): Forward declare.
22701 (load_shlib, lookup_function): Change prototypes.
22702 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22703 (translate_offset): Remove declarations.
22704 (get_text_addr): New declaration.
22705 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22706 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22707 sym-file-loader.h.
22708 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22709 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22710 here from sym-file-loader.h.
22711 (struct library): New structure.
22712 (load_shlib, lookup_function): Change prototypes and adjust to
22713 work with a struct library.
22714 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22715 (translate_offset): Make static.
22716 (get_text_addr): New function.
22717 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22718
22719 2014-04-15 Pedro Alves <palves@redhat.com>
22720
22721 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22722
22723 2014-04-15 Pedro Alves <palves@redhat.com>
22724
22725 * gdb.base/sym-file-loader.c: Include <limits.h>.
22726 (SELF_LINK): New define.
22727 (get_origin): New function.
22728 (load_shlib): Use it.
22729 * gdb.base/sym-file.exp: Don't early return if the target is
22730 remote. Use runto_main, and issue fail is that fails. Use
22731 gdb_load_shlibs.
22732 (shlib_name): Delete.
22733 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22734
22735 2014-04-15 Pedro Alves <palves@redhat.com>
22736
22737 * gdb.base/sym-file.exp: Remove regex characters from test
22738 message. Don't refer to breakpoint numbers in test messages.
22739
22740 2014-04-14 Keith Seitz <keiths@redhat.com>
22741
22742 PR c++/16253
22743 * gdb.cp/var-tag.cc: New file.
22744 * gdb.cp/var-tag.exp: New file.
22745 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22746 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22747 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22748 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22749
22750 2014-04-14 Tom Tromey <tromey@redhat.com>
22751
22752 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22753 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22754 type.
22755 * gdb.cp/enum-class.exp: New file.
22756 * gdb.cp/enum-class.cc: New file.
22757
22758 2014-04-14 Tom Tromey <tromey@redhat.com>
22759
22760 * gdb.dwarf2/enum-type.exp: New file.
22761
22762 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22763
22764 * gdb.mi/mi-vla-c99.exp: New file.
22765 * gdb.mi/vla.c: New file.
22766
22767 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22768
22769 * gdb.base/vla-datatypes.c: New file.
22770 * gdb.base/vla-datatypes.exp: New file.
22771
22772 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22773
22774 * gdb.base/vla-ptr.c: New file.
22775 * gdb.base/vla-ptr.exp: New file.
22776
22777 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22778
22779 * gdb.dwarf2/count.exp: New file.
22780
22781 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22782
22783 * gdb.base/vla-sideeffect.c: New file.
22784 * gdb.base/vla-sideeffect.exp: New file.
22785
22786 2014-04-14 David Blaikie <dblaikie@gmail.com>
22787
22788 * gdb.mi/non-stop.c: Add return value for non-void function return
22789 statement.
22790 * gdb.threads/staticthreads.c: Ditto.
22791
22792 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22793 Doug Evans <xdje42@gmail.com>
22794
22795 * gdb.guile/scm-value.c: Improve test case.
22796 * gdb.guile/scm-value.exp: Add new test.
22797
22798 2014-04-11 David Blaikie <dblaikie@gmail.com>
22799
22800 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22801 override Clang's default.
22802
22803 2014-04-11 Joel Brobecker <brobecker@adacore.com>
22804
22805 Revert the following changes (regressions):
22806
22807 * gdb.base/vla-sideeffect.c: New file.
22808 * gdb.base/vla-sideeffect.exp: New file.
22809
22810 * gdb.dwarf2/count.exp: New file.
22811
22812 * gdb.base/vla-multi.c: New file.
22813 * gdb.base/vla-multi.exp: New file.
22814
22815 * gdb.base/vla-ptr.c: New file.
22816 * gdb.base/vla-ptr.exp: New file.
22817
22818 * gdb.base/vla-datatypes.c: New file.
22819 * gdb.base/vla-datatypes.exp: New file.
22820
22821 * gdb.mi/mi-vla-c99.exp: New file.
22822 * gdb.mi/vla.c: New file.
22823
22824 2014-04-11 Keith Seitz <keiths@redhat.com>
22825
22826 PR c++/16675
22827 * gdb.cp/cpsizeof.exp: New file.
22828 * gdb.cp/cpsizeof.cc: New file.
22829
22830 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22831
22832 * gdb.mi/mi-vla-c99.exp: New file.
22833 * gdb.mi/vla.c: New file.
22834
22835 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22836
22837 * gdb.base/vla-datatypes.c: New file.
22838 * gdb.base/vla-datatypes.exp: New file.
22839
22840 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22841
22842 * gdb.base/vla-ptr.c: New file.
22843 * gdb.base/vla-ptr.exp: New file.
22844
22845 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22846
22847 * gdb.base/vla-multi.c: New file.
22848 * gdb.base/vla-multi.exp: New file.
22849
22850 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22851
22852 * gdb.dwarf2/count.exp: New file.
22853
22854 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22855
22856 * gdb.base/vla-sideeffect.c: New file.
22857 * gdb.base/vla-sideeffect.exp: New file.
22858
22859 2014-04-11 Yao Qi <yao@codesourcery.com>
22860
22861 * gdb.base/completion.exp: Check file exists before running tests
22862 on file completion.
22863
22864 2014-04-10 Pedro Alves <palves@redhat.com>
22865
22866 * gdb.base/cond-eval-mode.c: New file.
22867 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22868 prepare_for_testing to build the new file. Check result of
22869 runto_main.
22870 (test_break, test_watch): New procedures.
22871 (top level): Use them.
22872
22873 2014-04-08 Pierre Muller <muller@sourceware.org>
22874
22875 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22876 Ctrl-V use for mingw hosts.
22877
22878 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22879
22880 * gdb.python/py-value.c: Improve test case.
22881 * gdb.python/py-value.exp: Add new test.
22882
22883 2014-04-07 David Blaikie <dblaikie@gmail.com>
22884
22885 * lib/compiler.c: Identify the clang compiler.
22886 * lib/compiler.cc: Ditto.
22887
22888 2014-04-03 Yao Qi <yao@codesourcery.com>
22889
22890 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22891
22892 2014-04-01 Anton Blanchard <anton@samba.org>
22893
22894 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22895 messages unique.
22896
22897 2014-04-01 Anton Blanchard <anton@samba.org>
22898
22899 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22900 prepare_for_testing.
22901
22902 2014-04-01 Anton Blanchard <anton@samba.org>
22903
22904 * gdb.arch/ppc64-atomic-inst.c: Remove.
22905 * gdb.arch/ppc64-atomic-inst.S: New file.
22906 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22907
22908 2014-03-31 Doug Evans <dje@google.com>
22909
22910 * gdb.base/print-symbol-loading-lib.c: New file.
22911 * gdb.base/print-symbol-loading-main.c: New file.
22912 * gdb.base/print-symbol-loading.exp: New file.
22913
22914 2014-03-31 Yao Qi <yao@codesourcery.com>
22915
22916 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22917
22918 2014-03-28 Joel Brobecker <brobecker@adacore.com>
22919
22920 * gdb.ada/mi_dyn_arr: New testcase.
22921
22922 2014-03-27 Doug Evans <dje@google.com>
22923
22924 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22925
22926 2014-03-27 Yao Qi <yao@codesourcery.com>
22927
22928 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22929 if target is nios2-*-*.
22930
22931 2014-03-26 Yao Qi <yao@codesourcery.com>
22932
22933 * lib/gdb.exp (readline_is_used): New proc.
22934 * gdb.base/completion.exp: Move tests on command complete up.
22935 Skip the rest of tests if readline is not used.
22936 * gdb.ada/complete.exp: Skp the test if readline is not
22937 used.
22938 * gdb.base/filesym.exp: Likewise.
22939 * gdb.base/macscp.exp: Likewise.
22940 * gdb.base/readline-ask.exp: Likewise.
22941 * gdb.base/readline.exp: Likewise.
22942 * gdb.python/py-cmd.exp: Likewise.
22943 * gdb.trace/tfile.exp: Likewise.
22944
22945 2014-03-26 Yao Qi <yao@codesourcery.com>
22946
22947 * gdb.base/macscp.exp: Fix code format issues.
22948
22949 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22950
22951 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22952 * gdb.asm/powerpc64le.inc: New file.
22953
22954 2014-03-25 Pedro Alves <palves@redhat.com>
22955 Doug Evans <dje@google.com>
22956
22957 * gdb.base/source-execution.c: New file.
22958 * gdb.base/source-execution.exp: New file.
22959 * gdb.base/source-execution.gdb: New file.
22960
22961 2014-03-24 Doug Evans <dje@google.com>
22962
22963 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22964 using fission.
22965
22966 2014-03-24 Hui Zhu <hui@codesourcery.com>
22967 Pedro Alves <palves@redhat.com>
22968
22969 PR breakpoints/16101
22970 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22971 test pass/fail messages. Detect missing support for dprintf when
22972 breakpoints are actually inserted.
22973 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22974 breakpoints are actually inserted.
22975 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22976 fails.
22977
22978 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22979
22980 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22981
22982 2014-03-22 Doug Evans <xdje42@gmail.com>
22983
22984 * gdb.python/python.exp (python not supported): Verify multi-line
22985 python command issues an error.
22986 * gdb.guile/guile.exp (guile not supported): Verify multi-line
22987 guile command issues an error.
22988
22989 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22990
22991 * gdb.threads/thread-specific.exp: Handle the lack of usable
22992 $this_breakpoint and $this_thread.
22993
22994 2014-03-21 Hui Zhu <hui@codesourcery.com>
22995
22996 * gdb.base/attach.exp (do_command_attach_tests): New.
22997
22998 2014-03-20 Tom Tromey <tromey@redhat.com>
22999 Pedro Alves <palves@redhat.com>
23000
23001 PR cli/15718
23002 * gdb.base/condbreak-call-false.c: New file.
23003 * gdb.base/condbreak-call-false.exp: New file.
23004
23005 2014-03-20 Pedro Alves <palves@redhat.com>
23006
23007 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23008 Delete.
23009 (block_signals, unblock_signals): Delete.
23010 (child_function_2, main): Remove references to deleted variable
23011 and functions.
23012
23013 2014-03-20 Pedro Alves <palves@redhat.com>
23014
23015 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23016 Use pthread_kill to signal thread 2.
23017 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23018 Adjust to make the test send itself a signal rather than using the
23019 host's "kill" command.
23020
23021 2014-03-20 Pedro Alves <palves@redhat.com>
23022
23023 * gdb.threads/multiple-step-overs.c: New file.
23024 * gdb.threads/multiple-step-overs.exp: New file.
23025 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23026 Adjust expected infrun debug output.
23027
23028 2014-03-20 Pedro Alves <palves@redhat.com>
23029
23030 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23031 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23032
23033 2014-03-20 Pedro Alves <palves@redhat.com>
23034
23035 PR breakpoints/7143
23036 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23037 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23038 of gdb_test_multiple.
23039 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23040 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23041
23042 2014-03-20 Pedro Alves <palves@redhat.com>
23043
23044 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23045 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23046
23047 2014-03-19 Pedro Alves <palves@redhat.com>
23048
23049 * gdb.base/async.exp: Remove early return.
23050
23051 2014-03-19 Pedro Alves <palves@redhat.com>
23052
23053 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23054
23055 2014-03-19 Pedro Alves <palves@redhat.com>
23056
23057 * gdb.base/async.exp (test_background): Expect \r\n after
23058 "completed." in the fail pattern.
23059
23060 2014-03-19 Pedro Alves <palves@redhat.com>
23061
23062 * gdb.base/async.exp (test_background): New procedure.
23063 Use it for all background execution command tests.
23064
23065 2014-03-19 Pedro Alves <palves@redhat.com>
23066
23067 * gdb.base/async.exp: Use prepare_for_testing.
23068
23069 2014-03-19 Pedro Alves <palves@redhat.com>
23070
23071 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23072 the same line.
23073
23074 2014-03-19 Pedro Alves <palves@redhat.com>
23075
23076 * gdb.base/async.c (main): Add "jump here" and "until here" line
23077 marker comments.
23078 * gdb.base/async.exp (jump_here): New global.
23079 (jump& test): Use it.
23080 (until_here): New global.
23081 (until& test): Use it.
23082
23083 2014-03-19 Pedro Alves <palves@redhat.com>
23084
23085 * gdb.base/async.exp: Don't frob gdb_protocol.
23086
23087 2014-03-18 Doug Evans <xdje42@gmail.com>
23088
23089 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23090 Fix spelling of exec-done-display.
23091
23092 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23093
23094 PR gdb/15358
23095 * gdb.base/gdb-sigterm.c: New file.
23096 * gdb.base/gdb-sigterm.exp: New file.
23097
23098 2014-03-18 Pedro Alves <palves@redhat.com>
23099
23100 PR gdb/13860
23101 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23102 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23103 solib-event.
23104
23105 2014-03-17 Joel Brobecker <brobecker@adacore.com>
23106
23107 * gdb.ada/pckd_arr_ren: New testcase.
23108
23109 2014-03-13 Doug Evans <xdje42@gmail.com>
23110
23111 PR guile/16612
23112 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23113 collect after discarding symbols.
23114
23115 2014-03-13 Ludovic Courtès <ludo@gnu.org>
23116 Doug Evans <xdje42@gmail.com>
23117
23118 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23119 to history survives a gc.
23120
23121 2014-03-13 Pedro Alves <palves@redhat.com>
23122
23123 * gdb.base/default.exp: Don't test "target procfs".
23124
23125 2014-03-13 Pedro Alves <palves@redhat.com>
23126
23127 * gdb.base/default.exp: Update "target child" and "target procfs"
23128 tests to not expect "Unix".
23129
23130 2014-03-12 Tom Tromey <tromey@redhat.com>
23131
23132 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23133 New procs. Add target-async tests.
23134 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23135 Add target-async tests.
23136
23137 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23138
23139 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23140 'func_start' and 'func_end' for the beginning and end of the
23141 function code, respectively.
23142 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23143 'func_end' instead of 'func' and 'main'.
23144
23145 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23146
23147 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23148 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23149 generate the debug info assembler source.
23150
23151 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23152
23153 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23154 * gdb.dwarf2/arr-subrange.exp: Likewise.
23155 * gdb.dwarf2/dwz.exp: Likewise.
23156 * gdb.dwarf2/method-ptr.exp: Likewise.
23157 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23158 * gdb.dwarf2/subrange.exp: Likewise.
23159 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23160 * gdb.dwarf2/implptrpiece.exp: Likewise.
23161 * gdb.dwarf2/nostaticblock.exp: Likewise.
23162
23163 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23164
23165 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23166 directory to absolute path name arguments.
23167
23168 2014-03-10 Joel Brobecker <brobecker@adacore.com>
23169
23170 * gdb.ada/tagged_access: New testcase.
23171
23172 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23173
23174 * gdb.btrace/data.exp: Update expected output.
23175
23176 2014-03-06 Yao Qi <yao@codesourcery.com>
23177
23178 * gdb.trace/pr16508.exp: New file.
23179
23180 2014-03-05 Pedro Alves <palves@redhat.com>
23181
23182 PR gdb/16575
23183 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23184 procedure.
23185 (top level): Adjust to use it. Add tests that exercise breakpoint
23186 interaction with the code-cache.
23187
23188 2014-02-26 Ludovic Courtès <ludo@gnu.org>
23189
23190 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23191 test for 'history-append!'.
23192
23193 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23194
23195 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23196 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23197 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23198 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23199 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23200 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23201
23202 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23203
23204 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23205 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23206 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23207
23208 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23209
23210 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23211
23212 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23213
23214 * gdb.dwarf2/arr-stride.c: New file.
23215 * gdb.dwarf2/arr-stride.exp: New file.
23216
23217 2014-02-26 Pedro Alves <palves@redhat.com>
23218
23219 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23220 that won't ever trigger. Make sure that GDB reports the correct
23221 breakpoint that caused the stop.
23222
23223 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23224
23225 PR gdb/16626
23226 * gdb.base/auto-load-script: New file.
23227 * gdb.base/auto-load.c: New file.
23228 * gdb.base/auto-load.exp: New file.
23229
23230 PR gdb/16626
23231 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23232
23233 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23234
23235 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23236 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23237
23238 2014-02-24 Doug Evans <dje@google.com>
23239
23240 * lib/gdb.exp (run_on_host): Log error output if program fails.
23241
23242 2014-02-21 Pedro Alves <palves@redhat.com>
23243
23244 * gdb.threads/step-after-sr-lock.c: Rename to ...
23245 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23246 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23247 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23248 ... this.
23249
23250 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23251
23252 PR tdep/16397
23253 * gdb.arch/amd64-stap-special-operands.exp: New file.
23254 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23255 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23256 * gdb.arch/amd64-stap-triplet.S: Likewise.
23257 * gdb.arch/amd64-stap-triplet.c: Likewise.
23258
23259 2014-02-20 Joel Brobecker <brobecker@adacore.com>
23260
23261 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23262 in .section pseudo-op.
23263
23264 2014-02-20 lin zuojian <manjian2006@gmail.com>
23265 Joel Brobecker <brobecker@adacore.com>
23266 Doug Evans <xdje42@gmail.com>
23267
23268 PR symtab/16581
23269 * gdb.dwarf2/dw2-icycle.S: New file.
23270 * gdb.dwarf2/dw2-icycle.c: New file.
23271 * gdb.dwarf2/dw2-icycle.exp: New file.
23272
23273 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23274
23275 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23276 operations on gdb.Value objects.
23277 * gdb.python/py-value-cc.exp: Add new test to test operations on
23278 gdb.Value objects.
23279
23280 2014-02-18 Doug Evans <dje@google.com>
23281
23282 * Makefile.in (TESTS): New variable.
23283 (expanded_tests, expanded_tests_or_none): New variables
23284 (check-single): Pass $(expanded_tests_or_none) to runtest.
23285 (check-parallel): Only run tests in $(TESTS) if non-empty.
23286 (check/no-matching-tests-found): New rule.
23287 * README: Document TESTS makefile variable.
23288
23289 2014-02-18 Doug Evans <dje@google.com>
23290
23291 * Makefile.in (check-parallel): rm -rf outputs temp.
23292
23293 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23294
23295 Fix "ERROR: no fileid for" in the testsuite.
23296 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23297
23298 2014-02-12 Doug Evans <dje@google.com>
23299
23300 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23301 (MISCELLANEOUS): New variable.
23302 (clean): rm -rf $(MISCELLANEOUS).
23303 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23304 dwp live in the same directory as symlinks, with each symlink pointed
23305 to a differently named file in a different directory.
23306
23307 2014-02-11 Doug Evans <dje@google.com>
23308
23309 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23310 of Tcl file commands.
23311
23312 2014-02-10 Mark Kettenis <kettenis@gnu.org>
23313
23314 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23315 "kill -SIGUSR1 -1".
23316
23317 2014-02-10 Joel Brobecker <brobecker@adacore.com>
23318
23319 * gdb.ada/tick_length_array_enum_idx: New testcase.
23320
23321 2014-02-10 Doug Evans <xdje42@gmail.com>
23322
23323 * configure.ac (AC_OUTPUT): Add gdb.guile.
23324 * configure: Regenerate.
23325 * lib/gdb-guile.exp: New file.
23326 * lib/gdb.exp (get_target_charset): New function.
23327 * gdb.base/help.exp: Update expected output from "apropos apropos".
23328 * gdb.guile/Makefile.in: New file.
23329 * gdb.guile/guile.exp: New file.
23330 * gdb.guile/scm-arch.c: New file.
23331 * gdb.guile/scm-arch.exp: New file.
23332 * gdb.guile/scm-block.c: New file.
23333 * gdb.guile/scm-block.exp: New file.
23334 * gdb.guile/scm-breakpoint.c: New file.
23335 * gdb.guile/scm-breakpoint.exp: New file.
23336 * gdb.guile/scm-disasm.c: New file.
23337 * gdb.guile/scm-disasm.exp: New file.
23338 * gdb.guile/scm-equal.c: New file.
23339 * gdb.guile/scm-equal.exp: New file.
23340 * gdb.guile/scm-error.exp: New file.
23341 * gdb.guile/scm-error.scm: New file.
23342 * gdb.guile/scm-frame-args.c: New file.
23343 * gdb.guile/scm-frame-args.exp: New file.
23344 * gdb.guile/scm-frame-args.scm: New file.
23345 * gdb.guile/scm-frame-inline.c: New file.
23346 * gdb.guile/scm-frame-inline.exp: New file.
23347 * gdb.guile/scm-frame.c: New file.
23348 * gdb.guile/scm-frame.exp: New file.
23349 * gdb.guile/scm-generics.exp: New file.
23350 * gdb.guile/scm-gsmob.exp: New file.
23351 * gdb.guile/scm-iterator.c: New file.
23352 * gdb.guile/scm-iterator.exp: New file.
23353 * gdb.guile/scm-math.c: New file.
23354 * gdb.guile/scm-math.exp: New file.
23355 * gdb.guile/scm-objfile-script-gdb.in: New file.
23356 * gdb.guile/scm-objfile-script.c: New file.
23357 * gdb.guile/scm-objfile-script.exp: New file.
23358 * gdb.guile/scm-objfile.c: New file.
23359 * gdb.guile/scm-objfile.exp: New file.
23360 * gdb.guile/scm-ports.exp: New file.
23361 * gdb.guile/scm-pretty-print.c: New file.
23362 * gdb.guile/scm-pretty-print.exp: New file.
23363 * gdb.guile/scm-pretty-print.scm: New file.
23364 * gdb.guile/scm-section-script.c: New file.
23365 * gdb.guile/scm-section-script.exp: New file.
23366 * gdb.guile/scm-section-script.scm: New file.
23367 * gdb.guile/scm-symbol.c: New file.
23368 * gdb.guile/scm-symbol.exp: New file.
23369 * gdb.guile/scm-symtab-2.c: New file.
23370 * gdb.guile/scm-symtab.c: New file.
23371 * gdb.guile/scm-symtab.exp: New file.
23372 * gdb.guile/scm-type.c: New file.
23373 * gdb.guile/scm-type.exp: New file.
23374 * gdb.guile/scm-value-cc.cc: New file.
23375 * gdb.guile/scm-value-cc.exp: New file.
23376 * gdb.guile/scm-value.c: New file.
23377 * gdb.guile/scm-value.exp: New file.
23378 * gdb.guile/source2.scm: New file.
23379 * gdb.guile/types-module.cc: New file.
23380 * gdb.guile/types-module.exp: New file.
23381
23382 2014-02-10 Yao Qi <yao@codesourcery.com>
23383
23384 PR testsuite/16543
23385 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23386 * configure: Regenerated.
23387 * Makefile.in: New file.
23388
23389 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23390
23391 * gdb.python/py-framefilter.exp: Fix typo.
23392
23393 2014-02-08 Yao Qi <yao@codesourcery.com>
23394
23395 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23396 that no =breakpoint-modified is emitted when breakpoints are
23397 modified through MI commands.
23398
23399 2014-02-07 Pedro Alves <pedro@codesourcery.com>
23400 Pedro Alves <palves@redhat.com>
23401
23402 * gdb.threads/step-after-sr-lock.c: New file.
23403 * gdb.threads/step-after-sr-lock.exp: New file.
23404
23405 2014-02-07 Pedro Alves <palves@redhat.com>
23406
23407 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23408
23409 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23410
23411 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23412 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23413
23414 2014-02-06 Doug Evans <xdje42@gmail.com>
23415
23416 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23417 output.
23418
23419 * gdb.gdb/python-interrupts.exp: New file.
23420
23421 2014-02-05 Yao Qi <yao@codesourcery.com>
23422
23423 * gdb.trace/report.exp (use_collected_data): Test the output
23424 of "info threads" and "info inferiors".
23425
23426 2014-02-05 Yao Qi <yao@codesourcery.com>
23427
23428 Revert this patch:
23429
23430 2013-05-24 Yao Qi <yao@codesourcery.com>
23431
23432 * gdb.trace/tfile.exp: Test inferior and thread.
23433
23434 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23435
23436 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23437 on a function.
23438 * gdb.base/step-bt.c: Call hello via function pointer to make
23439 sure its first instruction is executed on powerpc64le-linux.
23440
23441 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23442
23443 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23444
23445 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23446
23447 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23448 of the test patterns for use on little-endian systems.
23449
23450 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23451
23452 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23453 (decimal_vector): Fix for little-endian.
23454
23455 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23456
23457 * gdb.arch/sparc-sysstep.exp: New file.
23458 * gdb.arch/sparc-sysstep.c: Likewise.
23459
23460 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23461
23462 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23463
23464 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23465
23466 2014-01-23 Tom Tromey <tromey@redhat.com>
23467
23468 * gdb.ada/array_char_idx: New testcase.
23469
23470 2014-01-23 Tom Tromey <tromey@redhat.com>
23471
23472 PR python/16487:
23473 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23474 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23475 classes.
23476
23477 2014-01-23 Tom Tromey <tromey@redhat.com>
23478
23479 PR python/16491:
23480 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23481 string from an inferior frame.
23482 * gdb.python/py-framefilter-mi.exp: Update.
23483
23484 2014-01-22 Doug Evans <dje@google.com>
23485
23486 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23487
23488 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23489
23490 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23491
23492 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23493
23494 * gdb.trace/entry-values.exp: Remove excess space character from
23495 regex patterns. Handle s390 call instruction.
23496
23497 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23498
23499 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23500 define "*_start" label. Make "name" static.
23501 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23502 ${name} by references to ${name}_start.
23503
23504 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23505
23506 * gdb.base/info-macros.exp: Remove "debug" from the compile
23507 options.
23508
23509 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23510
23511 * gdb.dlang/demangle.exp: New file.
23512
23513 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23514
23515 * gdb.dlang/primitive-types.exp: New file.
23516
23517 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23518
23519 * configure.ac: Create gdb.dlang/Makefile.
23520 * configure: Regenerate.
23521 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23522 * gdb.dlang/Makefile.in: New file.
23523 * lib/d-support.exp: New file.
23524 * lib/gdb.exp (skip_d_tests): New proc.
23525
23526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23527
23528 * gdb.btrace/delta.exp: Check reverse stepi.
23529 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23530 * gdb.btrace/finish.exp: New.
23531 * gdb.btrace/next.exp: New.
23532 * gdb.btrace/nexti.exp: New.
23533 * gdb.btrace/record_goto.c: Add comments.
23534 * gdb.btrace/step.exp: New.
23535 * gdb.btrace/stepi.exp: New.
23536 * gdb.btrace/multi-thread-step.c: New.
23537 * gdb.btrace/multi-thread-step.exp: New.
23538 * gdb.btrace/rn-dl-bind.c: New.
23539 * gdb.btrace/rn-dl-bind.exp: New.
23540 * gdb.btrace/data.c: New.
23541 * gdb.btrace/data.exp: New.
23542 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23543
23544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23545
23546 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23547 * gdb.btrace/exception.exp: Update.
23548 * gdb.btrace/instruction_history.exp: Update.
23549 * gdb.btrace/record_goto.exp: Update.
23550 * gdb.btrace/tailcall.exp: Update.
23551 * gdb.btrace/unknown_functions.exp: Update.
23552 * gdb.btrace/delta.exp: New.
23553
23554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23555
23556 * gdb.btrace/record_goto.exp: Add backtrace test.
23557 * gdb.btrace/tailcall.exp: Add backtrace test.
23558
23559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23560
23561 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23562 * gdb.btrace/record_goto.c: New.
23563 * gdb.btrace/record_goto.exp: New.
23564 * gdb.btrace/x86-record_goto.S: New.
23565
23566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23567
23568 * gdb.btrace/function_call_history.exp: Update tests.
23569 * gdb.btrace/instruction_history.exp: Update tests.
23570
23571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23572
23573 * gdb.btrace/function_call_history.exp: Fix expected field
23574 order for "record function-call-history".
23575 Add new tests for "record function-call-history /c".
23576 * gdb.btrace/exception.cc: New.
23577 * gdb.btrace/exception.exp: New.
23578 * gdb.btrace/tailcall.exp: New.
23579 * gdb.btrace/x86-tailcall.S: New.
23580 * gdb.btrace/x86-tailcall.c: New.
23581 * gdb.btrace/unknown_functions.c: New.
23582 * gdb.btrace/unknown_functions.exp: New.
23583 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23584
23585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23586
23587 * gdb.btrace/instruction_history.exp: Update.
23588 * gdb.btrace/function_call_history.exp: Update.
23589
23590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23591
23592 * gdb.btrace/function_call_history.exp: Fix expected function
23593 trace.
23594 * gdb.btrace/instruction_history.exp: Initialize traced.
23595 Remove traced_functions.
23596
23597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23598
23599 * gdb.btrace/function_call_history.exp: Update
23600 * gdb.btrace/instruction_history.exp: Update.
23601
23602 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23603
23604 * gdb.btrace/enable.exp: Update expected text.
23605
23606 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23607
23608 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23609 bytes.
23610
23611 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23612
23613 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23614
23615 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
23616
23617 * lib/gdb.exp (supports_process_record): Return true for
23618 arm*-linux*. (supports_reverse): Likewise.
23619
23620 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23621
23622 PR python/15464
23623 PR python/16113
23624 * gdb.python/py-type.c: Enhance test case.
23625 * gdb.python/py-value-cc.cc: Likewise
23626 * gdb.python/py-type.exp: Add new tests.
23627 * gdb.python/py-value-cc.exp: Likewise
23628
23629 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23630 Pedro Alves <palves@redhat.com>
23631
23632 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23633 Make "name" extern.
23634 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23635 references to ${name}_start by references to ${name}.
23636
23637 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23638
23639 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23640
23641 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23642
23643 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23644
23645 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23646 Pedro Alves <palves@redhat.com>
23647
23648 * gdb.mi/mi-info-os.exp: Connect to the target with
23649 mi_gdb_target_load.
23650
23651 2014-01-08 Pedro Alves <palves@redhat.com>
23652
23653 * gdb.threads/reconnect-signal.c: New file.
23654 * gdb.threads/reconnect-signal.exp: New file.
23655
23656 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23657
23658 * gdb.base/source-dir.exp: New file.
23659
23660 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23661
23662 * gdb.ada/mi_interface: New testcase.
23663
23664 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23665
23666 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23667 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23668 gdb.ada/pp-rec-component/pck.ads: New files.
23669
23670 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23671
23672 * gdb.python/py-pp-integral.c: New file.
23673 * gdb.python/py-pp-integral.py: New file.
23674 * gdb.python/py-pp-integral.exp: New file.
23675
23676 For older changes see ChangeLog-1993-2013.
23677 \f
23678 ;; Local Variables:
23679 ;; mode: change-log
23680 ;; left-margin: 8
23681 ;; fill-column: 74
23682 ;; version-control: never
23683 ;; End:
23684
23685 Copyright 2014-2021 Free Software Foundation, Inc.
23686 Copying and distribution of this file, with or without modification,
23687 are permitted provided the copyright notice and this notice are preserved.