PR27493, objcopy --weaken-symbol does not weaken undefined symbols
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bbcdf9ab
TT
12021-03-02 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
4 encodings.
5
bb3a4efe
LS
62021-02-27 Lancelot Six <lsix@lancelotix.com>
7
8 PR gdb/27393
9 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
10
11
573dc0cc
TT
122021-02-26 Tom Tromey <tom@tromey.com>
13
14 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
15
f8218786
JV
162021-02-26 Jan Vrany <jan.vrany@labware.com>
17
18 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
19 Remove trailing \n from expected output.
20
cb51b708
MM
212021-02-26 Markus Metzger <markus.t.metzger@intel.com>
22
23 * lib/gdb.exp (use_gdb_stub): Extend comment.
24
64d38fdd
JM
252021-02-25 Jan Matyas <jmatyas@codasip.com>
26
27 PR gdb/26819
28 * gdb.server/stop-reply-no-thread.exp: Add two test
29 scenarios that cover remote targets which do not have
30 the concept of threads.
31
d4ff3cbf
AB
322021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
35
68337b8b
AB
362021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
37
38 PR fortran/26155
39 * gdb.fortran/call-no-debug-func.f90: New file.
40 * gdb.fortran/call-no-debug-prog.f90: New file.
41 * gdb.fortran/call-no-debug.exp: New file.
42
faeb9f13
AB
432021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
44
45 * gdb.fortran/associated.exp: New file.
46 * gdb.fortran/associated.f90: New file.
47
170f4b23
AB
482021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
51
dd80d750
AB
522021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
53
54 * gdb.base/sect-cmd.exp: Update expected results.
55
b91919ac
AB
562021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
57
58 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
59 techniques. Enable the test for all targets.
60
02a79309
AB
612021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * gdb.base/maint-info-sections.exp: Add new tests.
64 (check_maint_info_target_sections_output): New proc.
65
895b7b4e
AB
662021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * gdb.arch/riscv-default-tdesc.exp: New file.
69
bc3c0632
AB
702021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
73
acde2092
AB
742021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
75
76 * gdb.arch/i386-biarch-core.exp: Add target check.
77
7d2e5095
AKS
782021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
79
80 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
81
96df3e28
AB
822021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
83
84 * gdb.fortran/allocated.exp: New file.
85 * gdb.fortran/allocated.f90: New file.
86
a1670b72
AB
872021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
88
89 * gdb.fortran/lbound-ubound.exp: Remove old comment.
90
bf3386f0
AB
912021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * gdb.base/maint-info-sections.exp: Update expected output, and
94 add additional tests. Again.
95
4790db14
AB
962021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
97
98 * gdb.base/maint-info-sections.exp: Update expected output, and
99 add additional tests.
100
f4be6772
AB
1012021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * gdb.base/maint-info-sections.exp: New file, content is moved
104 from gdb.base/maint.exp and cleaned up to use latest testsuite
105 techniques.
106 * gdb.base/maint.exp: Tests moved out to
107 gdb.base/maint-info-sections.exp.
108
25ad1e83
SM
1092021-02-10 Simon Marchi <simon.marchi@efficios.com>
110
111 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
112 GDBFLAGS.
113
e92c8eb8
AB
1142021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
115
116 * gdb.fortran/lbound-ubound.F90: New file.
117 * gdb.fortran/lbound-ubound.exp: New file.
118
ee4c3d88
TV
1192021-02-10 Tom de Vries <tdevries@suse.de>
120
121 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
122 "Restore saved setting of complaints".
123
cf2b2075
TV
1242021-02-09 Tom de Vries <tdevries@suse.de>
125
126 PR symtab/27341
127 * lib/gdb.exp (with_complaints): New proc, factored out of ...
128 (gdb_load_no_complaints): ... here.
129 * gdb.fortran/function-calls.exp: Add test-case.
130
b61f7811
HAQ
1312021-02-09 Abid Qadeer <abidh@codesourcery.com>
132
133 * gdb.threads/signal-command-handle-nopass.exp: Call
134 'standard_testfile' before using 'testfile'.
135 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
136 * gdb.threads/signal-delivered-right-thread.exp: Likewise
137 * gdb.threads/signal-sigtrap.exp: Likewise
138
3d4aae48
LM
1392021-02-08 Luis Machado <luis.machado@linaro.org>
140
141 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
142
4001d90d
TV
1432021-02-08 Tom de Vries <tdevries@suse.de>
144
145 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
146
29db1eb3
AB
1472021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * gdb.python/tui-window-disabled.c: New file.
150 * gdb.python/tui-window-disabled.exp: New file.
151 * gdb.python/tui-window-disabled.py: New file.
152
e0c23e11
AB
1532021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.python/tui-window.exp: Add new tests.
156 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
157 TestWindow object into global the_window.
158 <remote_title>: New method.
159 (delete_window_title): New function.
160
1cf23996
AB
1612021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * gdb.tui/winheight.exp: Add more tests.
164
2708dbbd
AB
1652021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.python/py-framefilter.exp: Update expected results.
168 * gdb.python/python.exp: Update expected results.
169
cd074e04
AB
1702021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
173 about bug in GDB, update expected results, and add more tests.
174
5fb97639
AB
1752021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * gdb.tui/scroll.exp: New file.
178 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
179 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
180 remaining lines up.
181 (Term::check_region_contents): New proc.
182 (Term::check_box_contents): Use check_region_contents.
183
c0e56745
TV
1842021-02-06 Tom de Vries <tdevries@suse.de>
185
186 PR testsuite/26922
187 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
188 scrolling.
189
0e857c82
TV
1902021-02-05 Tom de Vries <tdevries@suse.de>
191
192 PR breakpoints/27313
193 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
194 rejected.
195
a22ec6e8
TV
1962021-02-05 Tom de Vries <tdevries@suse.de>
197
198 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
199 * gdb.fortran/mixed-lang-stack.exp: Same.
200
ae710496
TV
2012021-02-05 Tom de Vries <tdevries@suse.de>
202
203 PR exp/27265
204 * gdb.base/complex-parts.exp: Add tests.
205
d3b54e63
TV
2062021-02-05 Tom de Vries <tdevries@suse.de>
207
208 PR symtab/27307
209 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
210
3eccb1c8
SV
2112021-02-04 Shahab Vahedi <shahab@synopsys.com>
212
213 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
214
a71501e2
PA
2152021-02-03 Pedro Alves <pedro@palves.net>
216
217 * gdb.threads/detach-step-over.c: New file.
218 * gdb.threads/detach-step-over.exp: New file.
219
92234eb1
PA
2202021-02-03 Pedro Alves <pedro@palves.net>
221
222 * gdb.threads/attach-non-stop.c: New file.
223 * gdb.threads/attach-non-stop.exp: New file.
224
2e3773ff
LS
2252021-02-02 Lancelot SIX <lsix@lancelotsix.com>
226
227 * gdb.base/inferior-noarg.c: New test.
228 * gdb.base/inferior-noarg.exp: New test.
229
e0bd9202
SM
2302021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
231
232 * gdb.base/scope.exp: Use proc_with_prefix.
233
9307efbe
SM
2342021-02-02 Simon Marchi <simon.marchi@efficios.com>
235
236 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
237 table proc.
238 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
239 .debug_rnglists table without offset array.
240 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
241 .debug_loclists table without offset array.
242
2b0c7f41
SM
2432021-02-02 Simon Marchi <simon.marchi@efficios.com>
244
245 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
246 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
247 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
248 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
249 attribute
250
ecfda20d
SM
2512021-02-02 Simon Marchi <simon.marchi@efficios.com>
252
253 PR gdb/26813
254 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
255 (loclists): New proc.
256 * gdb.dwarf2/loclists-multiple-cus.c: New.
257 * gdb.dwarf2/loclists-multiple-cus.exp: New.
258 * gdb.dwarf2/loclists-sec-offset.c: New.
259 * gdb.dwarf2/loclists-sec-offset.exp: New.
260
6b0933da
SM
2612021-02-02 Simon Marchi <simon.marchi@efficios.com>
262
263 * lib/dwarf.exp (_location): Add parameters.
264 (_handle_DW_FORM): Adjust.
265
962effa7
SM
2662021-02-02 Simon Marchi <simon.marchi@efficios.com>
267
268 PR gdb/26813
269 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
270 (cu): Generate header for DWARF 5.
271 (rnglists): New proc.
272 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
273 * gdb.dwarf2/rnglists-sec-offset.exp: New.
274
2bd3e4b8
TV
2752021-02-02 Tom de Vries <tdevries@suse.de>
276
277 PR symtab/24620
278 * gdb.dwarf2/fission-reread.exp: Add test-case.
279
c39c8637
TV
2802021-02-01 Tom de Vries <tdevries@suse.de>
281
282 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
283 * gdb.dwarf2/fission-loclists-pie.S: Same.
284 * gdb.dwarf2/fission-loclists.S: Same.
285 * gdb.dwarf2/fission-multi-cu.S: Same.
286 * gdb.dwarf2/fission-reread.S: Same.
287 * gdb.dwarf2/fission-base.exp: Use DWO.
288 * gdb.dwarf2/fission-loclists-pie.exp: Same.
289 * gdb.dwarf2/fission-loclists.exp: Same.
290 * gdb.dwarf2/fission-multi-cu.exp: Same.
291 * gdb.dwarf2/fission-reread.exp: Same.
292
ebde6f2d
TV
2932021-01-29 Tom de Vries <tdevries@suse.de>
294
295 PR breakpoints/26063
296 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
297 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
298
620ec3ca
TV
2992021-01-29 Tom de Vries <tdevries@suse.de>
300
301 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
302
cdeba395
TV
3032021-01-28 Tom de Vries <tdevries@suse.de>
304
305 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
306 in the backtrace, and use that in the rest of the test instead of
307 hardcoded constant 3. Use "frame" instead of "up" for robustness.
308
c47b145e
TV
3092021-01-28 Tom de Vries <tdevries@suse.de>
310
311 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
312 * gdb.arch/i386-sse-stack-align.c: Same.
313 * gdb.arch/i386-sse-stack-align.exp: Same.
314
47918cca
AB
3152021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
318
2f985dd1
TV
3192021-01-28 Tom de Vries <tdevries@suse.de>
320
321 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
322
22efa3d3
TV
3232021-01-28 Tom de Vries <tdevries@suse.de>
324
325 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
326 "maint info line-table". Make PASS pattern more specific. Make
327 FAIL pattern work for -m32.
328
59b59f08
LS
3292021-01-27 Lancelot SIX <lsix@lancelotsix.com>
330
331 PR gdb/27133
332 * gdb.base/ui-redirect.exp: Add test case that ensures that
333 redirecting both logging and debug does not cause gdb to crash.
334
335
807f647c
MM
3362021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
337
338 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
339
4ca40594
TV
3402021-01-26 Tom de Vries <tdevries@suse.de>
341
342 * gdb.threads/killed-outside.exp: Allow regular output.
343
d0021af3
TV
3442021-01-26 Tom de Vries <tdevries@suse.de>
345
346 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
347
9f6c202e
TV
3482021-01-25 Tom de Vries <tdevries@suse.de>
349
350 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
351 * lib/gdb.exp: Use gdb_load_no_complaints.
352
a625a8c9
TT
3532021-01-25 Tom Tromey <tromey@adacore.com>
354
355 * gdb.ada/fixed_points.exp: Add regression test.
356 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
357 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
358
19184910
TT
3592021-01-25 Tom Tromey <tromey@adacore.com>
360
361 * gdb.ada/local-enum.exp: Add enumerator resolution test.
362
acd6125f
TT
3632021-01-25 Tom Tromey <tromey@adacore.com>
364
365 * gdb.ada/local-enum.exp: New file.
366 * gdb.ada/local-enum/local.adb: New file.
367
1af4c9c4
TT
3682021-01-23 Tom Tromey <tom@tromey.com>
369
370 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
371
705646c0
BE
3722021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
373
374 * gdb.base/line65535.exp: Fix test expectation.
375
0ac85db5
SM
3762021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
377
378 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
379 suppression.
380 (default_gdb_exit): Likewise.
381 (default_gdb_spawn): Likewise.
382 (send_gdb): Likewise.
383 (gdb_expect): Likewise.
384 (gdb_expect_list): Likewise.
385 (default_gdb_init): Likewise.
386 (gdb_suppress_entire_file): Remove.
387 (gdb_suppress_tests): Remove.
388 (gdb_stop_suppressing_tests): Remove.
389 (gdb_clear_suppressed): Remove.
390 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
391 related to test suppression.
392 (default_mi_gdb_start): Likewise.
393 (mi_gdb_reinitialize_dir): Likewise.
394 (mi_gdb_test): Likewise.
395 (mi_run_cmd_full): Likewise.
396 (mi_runto_helper): Likewise.
397 (mi_execute_to): Likewise.
398 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
399 * gdb.base/bitfields.exp: Likewise.
400 * gdb.base/bitfields2.exp: Likewise.
401 * gdb.base/break.exp: Likewise.
402 * gdb.base/call-sc.exp: Likewise.
403 * gdb.base/callfuncs.exp: Likewise.
404 * gdb.base/dfp-test.exp: Likewise.
405 * gdb.base/endian.exp: Likewise.
406 * gdb.base/exprs.exp: Likewise.
407 * gdb.base/funcargs.exp: Likewise.
408 * gdb.base/hbreak2.exp: Likewise.
409 * gdb.base/recurse.exp: Likewise.
410 * gdb.base/scope.exp: Likewise.
411 * gdb.base/sepdebug.exp: Likewise.
412 * gdb.base/structs.exp: Likewise.
413 * gdb.base/until.exp: Likewise.
414 * gdb.cp/misc.exp: Likewise.
415
9d2d8a16
AB
4162021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
417
418 PR cli/25956
419 * gdb.base/style.exp (run_style_tests): Add version string test.
420 (test_startup_version_string): Use version style name.
421 * lib/gdb-utils.exp (style): Handle version style name.
422
e7b43072
AB
4232021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * gdb.base/style.exp (limited_style): New proc.
426 (clean_restart_and_disable): New proc.
427 (run_style_tests): New proc. Most of the old tests from this file
428 are now in this proc.
429 (test_startup_version_string): New proc. Reamining test from the
430 old file is in this proc.
431
2189c312
SM
4322021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
433
434 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
435 Adjust to "set debug remote" changes.
436
cd211c75
LM
4372021-01-21 Luis Machado <luis.machado@linaro.org>
438
439 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
440 message.
441
730af663
SM
4422021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
443
444 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
445
325d39e4
HD
4462021-01-21 Hannes Domani <ssbssa@yahoo.de>
447
448 PR python/19151
449 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
450
c3e96aa7
SM
4512021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
452
453 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
454
6571ffc6
SM
4552021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
456
457 * lib/tuiterm.exp: Add links in comments.
458
7c794afd
TV
4592021-01-20 Tom de Vries <tdevries@suse.de>
460
461 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
462 offset.
463
1402665c
TV
4642021-01-20 Tom de Vries <tdevries@suse.de>
465
466 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
467
6f52fdf4
SDJ
4682021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
469
470 * gdb.arch/amd64-stap-expressions.S: New file.
471 * gdb.arch/amd64-stap-expressions.exp: New file.
472
14852123
TV
4732021-01-19 Tom de Vries <tdevries@suse.de>
474
475 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
476 sequence.
477
0c4e2c6c
TV
4782021-01-19 Tom de Vries <tdevries@suse.de>
479
480 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
481
02baa133
AB
4822021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
483
484 * gdb.fortran/array-slices.exp (run_test): Avoid including
485 addresses in test names.
486
10f92414
TV
4872021-01-15 Tom de Vries <tdevries@suse.de>
488
489 PR testsuite/26997
490 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
491 when adding sizeof.
492
116d0cf1
TV
4932021-01-14 Tom de Vries <tdevries@suse.de>
494
495 PR testsuite/24590
496 * gdb.base/style.exp: Handle shorter argv in frame command output.
497
8f66807b
AB
4982021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 PR gdb/26819
501 * gdb.server/stop-reply-no-thread-multi.c: New file.
502 * gdb.server/stop-reply-no-thread-multi.exp: New file.
503
3f94e588
TV
5042021-01-12 Tom de Vries <tdevries@suse.de>
505
506 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
507 (main): Remove call to have_mpx.
508 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
509 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
510 (main): Remote call to have_mpx.
511 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
512 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
513 (main): Remove call to have_mpx.
514 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
515 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
516 (main): Remove call to have_mpx.
517 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
518 * gdb.arch/i386-mpx.c (have_mpx): Remove.
519 (main): Remote call to have_mpx.
520 * gdb.arch/i386-mpx.exp: Use have_mpx.
521 * lib/gdb.exp (have_mpx): New proc.
522
5291fe3c
SP
5232021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
524
525 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
526
18bfb505
TV
5272021-01-12 Tom de Vries <tdevries@suse.de>
528
529 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
530
ce38f5ed
AB
5312021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
532
533 * gdb.fortran/debug-expr.exp: Add new tests.
534
7c654b71
AB
5352021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
536
537 * gdb.fortran/dot-ops.exp: Add new tests.
538
10dadadc
TV
5392021-01-11 Tom de Vries <tdevries@suse.de>
540
541 PR testsuite/26968
542 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
543 Move insn setting $eax to before probe point.
544
66beed02
TT
5452021-01-09 Tom Tromey <tom@tromey.com>
546
547 * gdb.trace/ax.exp: Do not require an "ext".
548
8fc48b79
TT
5492021-01-08 Tom Tromey <tromey@adacore.com>
550
551 * gdb.ada/voidctx/pck.adb: New file.
552 * gdb.ada/voidctx/pck.ads: New file.
553 * gdb.ada/voidctx/voidctx.adb: New file.
554 * gdb.ada/voidctx.exp: New file.
555
6abd4cf2
SM
5562021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
557
558 PR gdb/27157
559 * gdb.base/empty-host-env-vars.exp: New test.
560
d00f0868
AB
5612021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.base/completion.exp: Add a new test.
564
3c8c6de2
AB
5652021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
566
567 * gdb.fortran/intvar-dynamic-types.exp: New file.
568 * gdb.fortran/intvar-dynamic-types.f90: New file.
569
e3436813
AB
5702021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * gdb.fortran/intvar-array.exp: New file.
573 * gdb.fortran/intvar-array.f90: New file.
574
d4813f10
TT
5752021-01-07 Tom Tromey <tromey@adacore.com>
576
577 * gdb.ada/assign_arr.exp: Add 'others' test.
578
b49180ac
TT
5792021-01-06 Tom Tromey <tromey@adacore.com>
580
581 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
582 (FP4_Type): New type.
583 (FP4_Var): New variable.
584 * gdb.ada/fixed_points/fixed_points.adb: Update.
585 * gdb.ada/fixed_points.exp: Add tests for binary operators.
586
3c55062c
SM
5872021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
588
589 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
590 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
591 Pass prompt containing debug print to gdb_test_sequence.
592
e4ad960a
TV
5932021-01-04 Tom de Vries <tdevries@suse.de>
594
595 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
596
3ec3145c
SM
5972021-01-04 Simon Marchi <simon.marchi@efficios.com>
598
599
600
8dc558a0
SM
6012021-01-04 Simon Marchi <simon.marchi@efficios.com>
602
603 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
604 * gdb.server/connect-without-multi-process.exp: Likewise.
605 * gdb.server/exit-multiple-threads.exp: Likewise.
606 * gdb.server/ext-attach.exp: Likewise.
607 * gdb.server/ext-restart.exp: Likewise.
608 * gdb.server/ext-run.exp: Likewise.
609 * gdb.server/ext-wrapper.exp: Likewise.
610 * gdb.server/multi-ui-errors.exp: Likewise.
611 * gdb.server/no-thread-db.exp: Likewise.
612 * gdb.server/reconnect-ctrl-c.exp: Likewise.
613 * gdb.server/run-without-local-binary.exp: Likewise.
614 * gdb.server/server-kill.exp: Likewise.
615 * gdb.server/server-run.exp: Likewise.
616 * gdb.server/solib-list.exp: Likewise.
617 * gdb.server/stop-reply-no-thread.exp: Likewise.
618 * gdb.server/wrapper.exp: Likewise.
619 * gdb.server/sysroot.exp: Increase timeout when testing the
620 target: sysroot.
621
d8387cc8
SM
6222021-01-04 Simon Marchi <simon.marchi@efficios.com>
623
624 * gdb.server/server-run.exp: Use clean_restart.
625
5169ae34
SM
6262021-01-04 Simon Marchi <simon.marchi@efficios.com>
627
628 * gdb.server/ext-run.exp: Use clean_restart.
629
7b0ff8a2
SM
6302021-01-04 Simon Marchi <simon.marchi@efficios.com>
631
632 * gdb.server/stop-reply-no-thread.exp: Use build_executable
633 instead of prepare_for_testing.
634
a754fbdf
SM
6352021-01-04 Simon Marchi <simon.marchi@efficios.com>
636
637 * gdb.server/solib-list.exp: Use clean_restart.
638
c5e71b33
TV
6392021-01-04 Tom de Vries <tdevries@suse.de>
640
641 * gdb.base/morestack.c: Remove printf.
642 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
643
9b243007
TT
6442020-12-31 Tom Tromey <tom@tromey.com>
645
646 * gdb.rust/simple.exp: Update output for Rust 1.49.
647
4ff509e7
BE
6482020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
649
650 * gdb.cp/step-and-next-inline.exp: Fix test case.
651
391750c3
SM
6522020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
653
654 * gdb.python/py-frame-args.exp: De-duplicate test names.
655
b7874836
AB
6562020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 PR gdb/27059
659 * gdb.dwarf2/dyn-type-unallocated.c: New file.
660 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
661
e1ff6226
PW
6622020-12-21 Peter Waller <p@pwaller.net>
663
664 * gdb.base/style-interp-exec-mi.exp: New.
665 * gdb.base/style-interp-exec-mi.c: New.
666
ca01f1bf
SM
6672020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
668
669 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
670 gdb_test. Use proc_with_prefix.
671
0fe69a94
MM
6722020-12-21 Markus Metzger <markus.t.metzger@intel.com>
673
674 * gdb.btrace/exception.exp: Build with nopie.
675 * gdb.btrace/function_call_history.exp: Likewise.
676 * gdb.btrace/unknown_functions.exp: Likewise.
677
806e7575
MM
6782020-12-21 Markus Metzger <markus.t.metzger@intel.com>
679
680 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
681
493d2172
MM
6822020-12-21 Markus Metzger <markus.t.metzger@intel.com>
683
684 * gdb.python/py-record-btrace.exp: Make test names unique.
685 * gdb.python/py-record-full.exp: Likewise.
686
1a1c0afc
MM
6872020-12-21 Markus Metzger <markus.t.metzger@intel.com>
688
689 * gdb.btrace/data.exp: Make test names unique.
690 * gdb.btrace/delta.exp: Likewise.
691 * gdb.btrace/enable.exp: Likewise.
692 * gdb.btrace/function_call_history.exp: Likewise.
693 * gdb.btrace/nohist.exp: Likewise.
694 * gdb.btrace/non-stop.exp: Likewise.
695 * gdb.btrace/rn-dl-bind.exp: Likewise.
696 * gdb.btrace/step.exp: Likewise.
697 * gdb.btrace/stepi.exp: Likewise.
698 * gdb.btrace/tailcall.exp: Likewise.
699
98d837f0
MM
7002020-12-21 Markus Metzger <markus.t.metzger@intel.com>
701
702 * gdb.btrace/enable.exp: Update error message.
703 * gdb.btrace/multi-inferior.exp: Likewise.
704 * gdb.btrace/reconnect.exp: Likewise.
705 * gdb.python/py-record-btrace.exp: Likewise.
706 * gdb.python/py-record-full.exp: Likewise.
707
c541fa7c
TV
7082020-12-20 Tom de Vries <tdevries@suse.de>
709
710 * lib/gdb.exp (save_target_board_info): New proc.
711 (gdb_compile_shlib): Use save_target_board_info.
712
60108e47
TV
7132020-12-19 Tom de Vries <tdevries@suse.de>
714
715 * lib/gdb.exp (supports_scalar_storage_order_attribute)
716 (supports_gnuc): New proc.
717 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
718 test_compiler_info calls. Add unsupported message.
719 * gdb.base/endianity.c: Use TEST_SSO.
720
fa639f55
HD
7212020-12-19 Hannes Domani <ssbssa@yahoo.de>
722
723 PR exp/27070
724 * gdb.python/compare-enum-type-a.c: New test.
725 * gdb.python/compare-enum-type-b.c: New test.
726 * gdb.python/compare-enum-type.exp: New file.
727 * gdb.python/compare-enum-type.h: New test.
728
4aea001f
HD
7292020-12-18 Hannes Domani <ssbssa@yahoo.de>
730
731 * gdb.python/py-format-string.exp: Add tests for address keyword.
732
b3f9469b
HD
7332020-12-18 Hannes Domani <ssbssa@yahoo.de>
734
735 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
736
86ef42bd
TT
7372020-12-18 Tom Tromey <tromey@adacore.com>
738
739 * gdb.ada/fixed_points.exp: Also run with
740 -fgnat-encodings=minimal. Update expected output.
741
93df4a1d
SM
7422020-12-16 Simon Marchi <simon.marchi@efficios.com>
743
744 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
745 * gdb.base/continue-all-already-running.exp: Likewise.
746 * gdb.base/moribund-step.exp: Likewise.
747 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
748
592995fa
TV
7492020-12-16 Tom de Vries <tdevries@suse.de>
750
751 * gdb.base/batch-preserve-term-settings.exp:
752
1e61189d
TV
7532020-12-16 Tom de Vries <tdevries@suse.de>
754
755 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
756 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
757
19007d95
LM
7582020-12-16 Luis Machado <luis.machado@linaro.org>
759
760 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
761 pointer-based memory accesses.
762 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
763 hw watchpoint cases.
764
a33fc9ae
RK
7652020-12-15 Rae Kim <rae.kim@gmail.com>
766
767 * gdb.base/document.exp: New test.
768
0e5ad442
TT
7692020-12-15 Tom Tromey <tromey@adacore.com>
770
771 * gdb.base/style.exp: Add deprecation tests.
772
60598dbd
SM
7732020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
774
775 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
776
8cd6d968
MW
7772020-12-14 Mark Wielaard <mark@klomp.org>
778
779 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
780 specially, set attr_form_comment to the actual FORM string used.
781
eab9267c
MW
7822020-12-14 Mark Wielaard <mark@klomp.org>
783
784 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
785 _constants(SPECIAL_expr) here, but set it...
786 (Dwarf::cu): ...here based on _cu_version.
787
2f413264
TV
7882020-12-14 Tom de Vries <tdevries@suse.de>
789
790 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
791 pass -fPIC.
792 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
793 * gdb.base/break-probes.exp: Same.
794 * gdb.base/ctxobj.exp: Same.
795 * gdb.base/dso2dso.exp: Same.
796 * gdb.base/global-var-nested-by-dso.exp: Same.
797 * gdb.base/info-shared.exp: Same.
798 * gdb.base/jit-reader-simple.exp: Same.
799 * gdb.base/print-file-var.exp: Same.
800 * gdb.base/skip-solib.exp: Same.
801 * gdb.btrace/dlopen.exp: Same.
802
18f1cb1f
TV
8032020-12-14 Tom de Vries <tdevries@suse.de>
804
805 PR testsuite/26963
806 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
807
519155c9
TV
8082020-12-14 Tom de Vries <tdevries@suse.de>
809
810 PR testsuite/26962
811 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
812 cast it to its declared type".
813
153f6e6c
TV
8142020-12-14 Tom de Vries <tdevries@suse.de>
815
816 PR testsuite/26951
817 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
818 shell prompt.
819
86b44259
TT
8202020-12-14 Tom Tromey <tromey@adacore.com>
821
822 * gdb.ada/nested.exp: Add new tests.
823 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
824
e26624c6
TT
8252020-12-14 Tom Tromey <tromey@adacore.com>
826
827 * gdb.dwarf2/ada-thick-pointer.exp: New file.
828
a3bdae4e
TT
8292020-12-14 Tom Tromey <tromey@adacore.com>
830
831 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
832
862fcbd8
TV
8332020-12-13 Tom de Vries <tdevries@suse.de>
834
835 PR testsuite/26953
836 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
837 attribute support if compiler doesn't support it.
838
a406a98e
TV
8392020-12-13 Tom de Vries <tdevries@suse.de>
840
841 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
842 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
843 source to shared lib. Add ada to options.
844
5d7e6ed0
TV
8452020-12-13 Tom de Vries <tdevries@suse.de>
846
847 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
848 calling gnatbind and gnatlink.
849
ee9812a0
AB
8502020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
851
852 * gdb.base/dcache-flush.c: New file.
853 * gdb.base/dcache-flush.exp: New file.
854
50a5f187
AB
8552020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
858 commands.
859 * gdb.base/killed-outside.exp: Likewise.
860 * gdb.opt/inline-bt.exp: Likewise.
861 * gdb.perf/gmonster-null-lookup.py: Likewise.
862 * gdb.perf/gmonster-print-cerr.py: Likewise.
863 * gdb.perf/gmonster-ptype-string.py: Likewise.
864 * gdb.python/py-unwind.exp: Likewise.
865
19c659f1
AB
8662020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.base/commands.exp: Update expected results.
869
9ef6d4a1
AB
8702020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 PR cli/15104
873 * gdb.base/commands.exp: Add additional tests.
874 * gdb.base/completion.exp: Add additional tests.
875
1536146f
AB
8762020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
877
878 * gdb.base/completion.exp: Add additional tests.
879
346e7e19
TV
8802020-12-11 Tom de Vries <tdevries@suse.de>
881
882 PR testsuite/26991
883 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
884 violations by setting bounds registers if the bounds are passed in the
885 Bounds Table.
886
9cd7a95a
TV
8872020-12-11 Tom de Vries <tdevries@suse.de>
888
889 PR testsuite/26954
890 * gdb.base/float128.exp: Detect and handle no mpfr support.
891
4483a8e7
SM
8922020-12-10 Simon Marchi <simon.marchi@efficios.com>
893
894 PR gdb/24694
895 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
896 calls.
897
10067028
TV
8982020-12-10 Tom de Vries <tdevries@suse.de>
899
900 PR testsuite/26947
901 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
902 braces for tcl 8.5 and earlier.
903
5b56203a
SM
9042020-12-09 Simon Marchi <simon.marchi@efficios.com>
905
906 PR 26875, PR 26901
907 * gdb.base/flexible-array-member.c: New test.
908 * gdb.base/flexible-array-member.exp: New test.
909
b46551b2
TV
9102020-12-08 Tom de Vries <tdevries@suse.de>
911
912 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
913 using is_amd64_regs_target.
914
8439f446
TV
9152020-12-08 Tom de Vries <tdevries@suse.de>
916
917 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
918 self_id.
919
bc545da7
PA
9202020-12-07 Pedro Alves <pedro@palves.net>
921
922 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
923 'additional_flags' variable.
924
1f58f6c2
TBA
9252020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
926
927 * gdb.linespec/explicit.exp: Extend with a test to check completing
928 '-' after seemingly complete options.
929
5759831a
TBA
9302020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
931
932 * gdb.linespec/keywords.exp: Add tests to check positional
933 flexibility of "-force-condition".
934
21e051b3
TBA
9352020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
936
937 * gdb.base/bp-cmds-run-with-ex.c: New file.
938 * gdb.base/bp-cmds-run-with-ex.exp: New file.
939 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
940 * gdb.gdb/python-interrupts.exp: Update the call to
941 'catch_command_errors' with the new argument.
942 * gdb.gdb/python-selftest.exp: Ditto.
943
187b041e
SM
9442020-12-04 Simon Marchi <simon.marchi@efficios.com>
945
946 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
947 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
948 * gdb.threads/non-stop-fair-events.exp: Likewise.
949
3b7a962d
SM
9502020-12-04 Simon Marchi <simon.marchi@efficios.com>
951
952 * gdb.threads/step-over-exec.exp: New.
953 * gdb.threads/step-over-exec.c: New.
954 * gdb.threads/step-over-exec-execd.c: New.
955 * lib/my-syscalls.S: New.
956 * lib/my-syscalls.h: New.
957
e633b117
SM
9582020-12-04 Simon Marchi <simon.marchi@efficios.com>
959
960 * lib/dwarf.exp (declare_labels): Use name as text if text is
961 not provided.
962
67748e0f
TV
9632020-12-04 Tom de Vries <tdevries@suse.de>
964
965 PR testsuite/26990
966 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
967 are unsupported.
968
a8d13675
TV
9692020-12-04 Tom de Vries <tdevries@suse.de>
970
971 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
972 clause.
973
f17727b3
TV
9742020-12-04 Tom de Vries <tdevries@suse.de>
975
976 * gdb.reverse/insn-reverse.exp: Fix count handling.
977
a1499830
TV
9782020-12-04 Tom de Vries <tdevries@suse.de>
979
980 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
981 __x86_64__.
982
9c027c2f
TV
9832020-12-04 Tom de Vries <tdevries@suse.de>
984
985 * gdb.reverse/insn-reverse.c (test_nr): New var.
986 (usage, parse_args): New function.
987 (main): Call parse_args. Only run test for test_nr.
988 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
989 and bail out. Run subtests individually, using an inferior arg
990 specifying the subtest.
991
533b2ae0
AB
9922020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
993
994 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
995
e4502042
AB
9962020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
997
998 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
999 update test to use this.
1000
f55a9a37
SM
10012020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1002
1003 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1004
0a6155a0
SM
10052020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1006
1007 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1008 (do_test): Don't use with_test_prefix.
1009 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1010 (do_test): Don't use with_test_prefix.
1011 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1012 (do_test): Don't use with_test_prefix.
1013 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1014 (do_test): Don't use with_test_prefix.
1015
4d56d64a
SM
10162020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1017
1018 * gdb.threads/non-ldr-exit.exp: Fix comment.
1019
54e75f29
AB
10202020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.xml/maint-xml-dump-03.xml: New file.
1023
7ce05d21
TV
10242020-11-30 Tom de Vries <tdevries@suse.de>
1025
1026 PR symtab/26905
1027 * gdb.dwarf2/count.exp: Remove kfails.
1028
50757f95
TBA
10292020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1030
1031 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1032 indices.
1033
4afa9fd9
JB
10342020-11-24 Joel Brobecker <brobecker@adacore.com>
1035
1036 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1037 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1038 languages. Remove the associated setup_xfail.
1039
15a491af
SM
10402020-11-23 Simon Marchi <simon.marchi@efficios.com>
1041
1042 * lib/gdb.exp (gdb_assert): Show error message on error.
1043
891615f0
TV
10442020-11-23 Tom de Vries <tdevries@suse.de>
1045
1046 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1047 * gdb.ada/mod_from_name.exp: Same.
1048 * gdb.ada/pckd_arr_ren.exp: Same.
1049
19922582
SM
10502020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1051
1052 * gdb.base/template.exp: New.
1053 * gdb.base/template.c: New.
1054
117c628d
GB
10552020-11-22 Gary Benson <gbenson@redhat.com>
1056
1057 PR gdb/26905
1058 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1059 is defined using a DW_AT_count which references another DIE.
1060
da39d3ba
TV
10612020-11-21 Tom de Vries <tdevries@suse.de>
1062
1063 * gdb.base/vla-ptr.exp: Add XFAIL.
1064
a5c641b5
AB
10652020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1066
1067 * gdb.fortran/array-slices-bad.exp: New file.
1068 * gdb.fortran/array-slices-bad.f90: New file.
1069 * gdb.fortran/array-slices-sub-slices.exp: New file.
1070 * gdb.fortran/array-slices-sub-slices.f90: New file.
1071 * gdb.fortran/array-slices.exp: Rewrite tests.
1072 * gdb.fortran/array-slices.f90: Rewrite tests.
1073 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1074
a15a5258
AB
10752020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1076
1077 * gdb.base/completion.exp: Add new completion tests.
1078
7cb2893d
SM
10792020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1080
1081 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1082 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1083 * gdb.mi/mi-nsintrall.exp: Likewise.
1084 * gdb.mi/mi-nsmoribund.exp: Likewise.
1085 * gdb.mi/mi-nsthrexec.exp: Likewise.
1086 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1087
cf144ec8
SM
10882020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1089
1090 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1091 of perror.
1092
6b6a3e05
JM
10932020-11-18 Joseph Myers <joseph@codesourcery.com>
1094
1095 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1096 $arg.exe exists but $arg does not.
1097
811bdca0
GB
10982020-11-17 Gary Benson <gbenson@redhat.com>
1099
1100 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1101 __attribute__ ((used)).
1102
c72e3136
AB
11032020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1104
1105 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1106
037d7135
AB
11072020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1108
1109 * gdb.base/completion.exp: Add new tests.
1110
119e99bb
TT
11112020-11-16 Tom Tromey <tromey@adacore.com>
1112
1113 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1114 tests.
1115
b74dbc20
JB
11162020-11-15 Joel Brobecker <brobecker@adacore.com>
1117
1118 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1119 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1120 (main): Add reference to pck__fp1_var2.
1121 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1122
0a12719e
JB
11232020-11-15 Joel Brobecker <brobecker@adacore.com>
1124
1125 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1126
0c9150e4
JB
11272020-11-15 Joel Brobecker <brobecker@adacore.com>
1128
1129 * gdb.ada/fixed_points.exp: Add ptype tests.
1130 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1131
b26daff9
JB
11322020-11-15 Joel Brobecker <brobecker@adacore.com>
1133
1134 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1135
09584414
JB
11362020-11-15 Joel Brobecker <brobecker@adacore.com>
1137
1138 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1139 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1140 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1141 New files.
1142 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1143
1144 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1145 New files.
1146
9dd02fc0
AB
11472020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1148
1149 PR cli/26879
1150 * gdb.fortran/completion.exp: New file.
1151 * gdb.fortran/completion.f90: New file.
1152
5643c500
JM
11532020-11-12 Joseph Myers <joseph@codesourcery.com>
1154
1155 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1156 but $arg does not.
1157
7bea47f0
AB
11582020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1159
1160 * gdb.fortran/types.exp: Add more tests.
1161
1f2624a3
TT
11622020-11-12 Tom Tromey <tom@tromey.com>
1163
1164 PR rust/26799:
1165 * gdb.rust/traits.exp: Remove kfails.
1166
9e74f0ae
GB
11672020-11-12 Gary Benson <gbenson@redhat.com>
1168
1169 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1170 statement.
1171
acb994fa
SM
11722020-11-11 Simon Marchi <simon.marchi@efficios.com>
1173
1174 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1175 always-inserted" axis.
1176 (do_test): Add breakpoint_always_inserted parameter.
1177
95016fd2
TT
11782020-11-10 Tom Tromey <tromey@adacore.com>
1179
1180 * gdb.ada/bias.exp: Update.
1181 * gdb.ada/bias/bias.adb (X): Change value.
1182
83100a74
GB
11832020-11-10 Gary Benson <gbenson@redhat.com>
1184
1185 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1186 regexp fragment in parentheses to prevent false matching.
1187
6ff174a7
GB
11882020-11-10 Gary Benson <gbenson@redhat.com>
1189
1190 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1191
eb24648c
GB
11922020-11-10 Gary Benson <gbenson@redhat.com>
1193
1194 * gdb.cp/step-and-next-inline.exp: Only require
1195 -gstatement-frontiers when building with GCC.
1196 Only setup KFAIL's for GCC issues when using
1197 a GCC-built executable.
1198
86775fab
AB
11992020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.base/debug-expr.c: Add extra function to allow for an
1202 additional test.
1203 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1204 to this proc with gdb_test_debug_expr. Add an extra test.
1205 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1206 to this proc with gdb_test_debug_expr, give the tests names
1207 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1208 calls to this proc with gdb_test_debug_expr, give the tests names
1209 * gdb.fortran/debug-expr.exp: New file.
1210 * gdb.fortran/debug-expr.f90: New file.
1211 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1212
a1945bd4
SM
12132020-11-06 Simon Marchi <simon.marchi@efficios.com>
1214
1215 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1216 proceduresu.
1217 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1218 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1219 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1220 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1221 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1222 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1223 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1224 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1225
9c91c725
TT
12262020-11-04 Tom Tromey <tromey@adacore.com>
1227
1228 * gdb.ada/funcall_ref.exp: Update.
1229 * gdb.ada/var_rec_arr.exp: Update.
1230
8d9fd3a1
TT
12312020-11-04 Tom Tromey <tromey@adacore.com>
1232
1233 * gdb.ada/rec_ptype.exp: New file.
1234 * gdb.ada/rec_ptype/main.adb: New file.
1235 * gdb.ada/rec_ptype/p.ads: New file.
1236
d8f62e84
TT
12372020-11-04 Tom Tromey <tromey@adacore.com>
1238
1239 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1240 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1241 (PT_Full): New variable.
1242 * gdb.ada/tick_length_array_enum_idx/pck.adb
1243 (Full_PT): New type.
1244
7ff5b937
TT
12452020-11-04 Tom Tromey <tromey@adacore.com>
1246
1247 * gdb.ada/array_of_variant.exp: New file.
1248 * gdb.ada/array_of_variant/p.adb: New file.
1249 * gdb.ada/array_of_variant/pck.ads: New file.
1250 * gdb.ada/array_of_variant/pck.adb: New file.
1251
10f6a3ad
TT
12522020-11-04 Tom Tromey <tromey@adacore.com>
1253
1254 * gdb.ada/enum_idx_packed.exp: Add test.
1255 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1256 New variable.
1257 * gdb.ada/enum_idx_packed/pck.ads (Short)
1258 (Multi_Dimension, Multi_Dimension_Access): New types.
1259
b72795a8
TT
12602020-11-04 Tom Tromey <tromey@adacore.com>
1261
1262 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1263
24aa1b02
TT
12642020-11-04 Tom Tromey <tromey@adacore.com>
1265
1266 * gdb.ada/set_pckd_arr_elt.exp: Also test
1267 -fgnat-encodings=minimal. Add tests.
1268 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1269 Call Update_Small a second time.
1270 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1271 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1272 (Variant_Access): New types.
1273 (New_Variant): Declare.
1274
c9a28cbe
TT
12752020-11-04 Tom Tromey <tromey@adacore.com>
1276
1277 * gdb.ada/mod_from_name.exp: Test printing slice.
1278
57567375
TT
12792020-11-04 Tom Tromey <tromey@adacore.com>
1280
1281 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1282 values.
1283 * gdb.ada/access_to_unbounded_array.exp: Test different
1284 -fgnat-encodings values.
1285 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1286 values.
1287 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1288 values.
1289 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1290 values.
1291 * gdb.ada/array_of_variable_length.exp: Test different
1292 -fgnat-encodings values.
1293 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1294 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1295 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1296 change.
1297 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1298 values.
1299 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1300 * gdb.ada/out_of_line_in_inlined.exp: Test different
1301 -fgnat-encodings values.
1302 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1303 values.
1304 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1305 values.
1306 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1307 -fgnat-encodings values.
1308 * gdb.ada/variant_record_packed_array.exp: Test different
1309 -fgnat-encodings values.
1310
a7400e44
TT
13112020-11-04 Tom Tromey <tromey@adacore.com>
1312
1313 * gdb.ada/enum_idx_packed.exp: Add tests.
1314 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1315 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1316 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1317 declarations.
1318
c40907bf
TV
13192020-11-03 Tom de Vries <tdevries@suse.de>
1320
1321 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1322 terminator comments.
1323 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1324 terminator.
1325
f468977a
SM
13262020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1327
1328 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1329 integer format test with regexp.
1330
1c2bec19
GB
13312020-11-02 Gary Benson <gbenson@redhat.com>
1332
1333 * gdb.base/print-file-var.exp (test): Separate compiler and
1334 linker options, and build using build_executable_from_specs
1335 to accommodate this.
1336
6539a36d
GB
13372020-11-02 Gary Benson <gbenson@redhat.com>
1338
1339 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1340 for .c files compiled as C++ with Clang if any shared
1341 libraries are specified.
1342
7ea44a51
GB
13432020-11-02 Gary Benson <gbenson@redhat.com>
1344
1345 * lib/attributes.h: New header.
1346 * gdb.base/backtrace.c: Include the above. Replace
1347 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1348 * gdb.base/infcall-nested-structs.c: Likewise.
1349 * gdb.base/vla-optimized-out.c: Likewise.
1350
ab8f783d
TV
13512020-11-02 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1354
d77c9224
JB
13552020-11-01 Joel Brobecker <brobecker@adacore.com>
1356
1357 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1358 System.Min_Int and System.Max_Int with smaller hardcoded
1359 constants.
1360
0e5b0dd0
SM
13612020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1362
1363 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1364 * configure: Re-generate.
1365
136821d9
SM
13662020-10-30 Simon Marchi <simon.marchi@efficios.com>
1367
1368 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1369 expected output.
1370
b78b3a29
TBA
13712020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1372
1373 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1374 behavior.
1375 * gdb.base/paginate-bg-execution.exp: Ditto.
1376 * gdb.base/paginate-inferior-exit.exp: Ditto.
1377 * gdb.base/double-prompt-target-event-error.c: Remove.
1378 * gdb.base/double-prompt-target-event-error.exp: Remove.
1379
cfaa8f76
TBA
13802020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1381
1382 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1383 inferiors' and 'detach inferiors' do not change the current
1384 inferior.
1385
0ad0e70c
TV
13862020-10-29 Tom de Vries <tdevries@suse.de>
1387
1388 * gdb.threads/tls.exp: Fix DUPLICATEs.
1389
99cc6b2a
TV
13902020-10-28 Tom de Vries <tdevries@suse.de>
1391
1392 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1393
efe9b873
TV
13942020-10-28 Tom de Vries <tdevries@suse.de>
1395
1396 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1397 * gdb.base/reread.exp: Same.
1398
6b68fd45
TV
13992020-10-28 Tom de Vries <tdevries@suse.de>
1400
1401 * lib/gdb.exp (readnow): Handle arg.
1402 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1403
32a5f98a
TV
14042020-10-28 Tom de Vries <tdevries@suse.de>
1405
1406 * gdb.base/relocate.exp: Update regexp for -readnow.
1407
f93b8760
TV
14082020-10-28 Tom de Vries <tdevries@suse.de>
1409
1410 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1411 -readnow.
1412
1b00ef06
TV
14132020-10-28 Tom de Vries <tdevries@suse.de>
1414
1415 PR symtab/26772
1416 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1417 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1418
364bb903
TV
14192020-10-28 Tom de Vries <tdevries@suse.de>
1420
1421 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1422 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1423 complaint during file command for -readnow.
1424
445a033f
TV
14252020-10-28 Tom de Vries <tdevries@suse.de>
1426
1427 * gdb.cp/nsalias.exp: Fix typo in test name.
1428
fdd67a42
TV
14292020-10-28 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1432
706baf4c
TV
14332020-10-28 Tom de Vries <tdevries@suse.de>
1434
1435 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1436 -readnow.
1437
b448cca5
TV
14382020-10-27 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1441
5868da03
TV
14422020-10-27 Tom de Vries <tdevries@suse.de>
1443
1444 * gdb.base/maint.exp: Update for -readnow.
1445
06db6ec3
TV
14462020-10-27 Tom de Vries <tdevries@suse.de>
1447
1448 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1449 -readnow.
1450
934a1764
GB
14512020-10-14 Gary Benson <gbenson@redhat.com>
1452
1453 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1454 "_vptr$Base" as correct, in addition to "_vptr.Base".
1455 (test_mixed): Likewise.
1456
0bf21fbd
GB
14572020-10-27 Gary Benson <gbenson@redhat.com>
1458
1459 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1460 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1461
b1d4d8d1
TBA
14622020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1463
1464 * gdb.base/condbreak.exp: Update the completion tests to
1465 consider the '-force' flag.
1466
bd24c5d6
TV
14672020-10-27 Tom de Vries <tdevries@suse.de>
1468
1469 * gdb.base/list-ambiguous-readnow.exp: New file.
1470
733d554a
TBA
14712020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1472
1473 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1474 the condition.
1475 * gdb.linespec/cpcompletion.exp: Update to consider the
1476 '-force-condition' keyword.
1477 * gdb.linespec/explicit.exp: Ditto.
1478 * lib/completion-support.exp: Ditto.
1479
b5fa468f
TBA
14802020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1481
1482 * gdb.base/condbreak-multi-context.cc: New file.
1483 * gdb.base/condbreak-multi-context.exp: New file.
1484
b3247276
TT
14852020-10-26 Tom Tromey <tom@tromey.com>
1486
1487 * lib/mi-support.exp (default_mi_gdb_start): Call
1488 gdb_stdin_log_init.
1489 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1490 subtract one from gdb_instances.
1491 (gdb_stdin_log_write): Flush in_file.
1492
1c47ec3e
TV
14932020-10-26 Tom de Vries <tdevries@suse.de>
1494
1495 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1496
6390859c
TT
14972020-10-26 Tom Tromey <tromey@adacore.com>
1498
1499 * gdb.ada/unsigned_range/foo.adb: New file.
1500 * gdb.ada/unsigned_range/pack.adb: New file.
1501 * gdb.ada/unsigned_range/pack.ads: New file.
1502 * gdb.ada/unsigned_range.exp: New file.
1503
55c3ad88
TV
15042020-10-26 Tom de Vries <tdevries@suse.de>
1505
1506 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1507
1612c4bb
TV
15082020-10-26 Tom de Vries <tdevries@suse.de>
1509
1510 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1511 for CU.
1512 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1513
7d72802b
TV
15142020-10-23 Tom de Vries <tdevries@suse.de>
1515
1516 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1517 DW_FORM_string.
1518 (Dwarf::_default_form): New proc.
1519 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1520 guessed.
1521
9476b583
TV
15222020-10-23 Tom de Vries <tdevries@suse.de>
1523
1524 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1525 * gdb.dwarf2/atomic-type.exp: Same.
1526 * gdb.dwarf2/bad-regnum.exp: Same.
1527 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1528 * gdb.dwarf2/dw2-align.exp: Same.
1529 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1530 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1531 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1532 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1533 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1534 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1535 * gdb.dwarf2/enum-type.exp: Same.
1536 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1537 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1538 * gdb.dwarf2/main-subprogram.exp: Same.
1539 * gdb.dwarf2/missing-type-name.exp: Same.
1540 * gdb.dwarf2/nonvar-access.exp: Same.
1541 * gdb.dwarf2/typedef-void-finish.exp: Same.
1542 * gdb.dwarf2/var-access.exp: Same.
1543 * gdb.dwarf2/void-type.exp: Same.
1544
4a636814
SM
15452020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1546
1547 PR gdb/26693
1548 * gdb.dwarf2/template-specification-full-name.exp: New test.
1549
557fc257
LM
15502020-10-22 Luis Machado <luis.machado@linaro.org>
1551
1552 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1553 expected an offset from the function.
1554 * gdb.base/msym-bp.exp (test): Likewise.
1555
6b4c676c
AB
15562020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 * gdb.fortran/array-slices.exp: Add a new test.
1559
98cec4f6
GB
15602020-10-21 Gary Benson <gbenson@redhat.com>
1561
1562 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1563 fullname test with Clang. Also expand comments generally.
1564
ae86f581
TV
15652020-10-20 Tom de Vries <tdevries@suse.de>
1566
1567 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1568
8c161360
TV
15692020-10-20 Tom de Vries <tdevries@suse.de>
1570
1571 * gdb.dwarf2/arr-stride.c: Remove.
1572 * gdb.dwarf2/arr-stride.exp: Use main.c.
1573 * gdb.dwarf2/arr-subrange.c: Remove.
1574 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1575 * gdb.dwarf2/bad-regnum.c: Remove.
1576 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1577 * gdb.dwarf2/corrupt.c: Remove.
1578 * gdb.dwarf2/corrupt.exp: Use main.c.
1579 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1580 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1581 * gdb.dwarf2/dw2-icycle.c: Remove.
1582 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1583 * gdb.dwarf2/formdata16.c: Remove.
1584 * gdb.dwarf2/formdata16.exp: Use main.c.
1585 * gdb.dwarf2/implptrconst.c: Remove.
1586 * gdb.dwarf2/implptrconst.exp: Use main.c.
1587 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1588 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1589 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1590 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1591
9c2412ec
TV
15922020-10-20 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1595 file.
1596 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1597
0cd2ad78
TV
15982020-10-20 Tom de Vries <tdevries@suse.de>
1599
1600 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1601 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1602 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1603 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1604 * gdb.dwarf2/dw2-ranges.exp: Same.
1605 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1606 * gdb.dwarf2/var-access.exp: Same.
1607
22cc388e
TT
16082020-10-19 Tom Tromey <tromey@adacore.com>
1609
1610 PR tui/26719
1611 * gdb.tui/list.exp: Check source window contents after focus
1612 change.
1613
520596f2
TV
16142020-10-17 Tom de Vries <tdevries@suse.de>
1615
1616 PR symtab/26317
1617 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1618
d1c8a76d
TV
16192020-10-17 Tom de Vries <tdevries@suse.de>
1620
1621 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1622 as suffix.
1623 * gdb.dwarf2/atomic.c: Rename to ...
1624 * gdb.dwarf2/atomic-type.c: ... this.
1625 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1626 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1627 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1628 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1629 * gdb.dwarf2/fission-mix2.c: Rename to ...
1630 * gdb.dwarf2/fission-mix-2.c: ... this.
1631 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1632 standard_testfile.
1633 * gdb.dwarf2/ada-valprint-error.exp: Same.
1634 * gdb.dwarf2/arr-stride.exp: Same.
1635 * gdb.dwarf2/arr-subrange.exp: Same.
1636 * gdb.dwarf2/atomic-type.exp: Same.
1637 * gdb.dwarf2/bad-regnum.exp: Same.
1638 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1639 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1640 * gdb.dwarf2/clang-debug-names.exp: Same.
1641 * gdb.dwarf2/comp-unit-lang.exp: Same.
1642 * gdb.dwarf2/corrupt.exp: Same.
1643 * gdb.dwarf2/count.exp: Same.
1644 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1645 * gdb.dwarf2/data-loc.exp: Same.
1646 * gdb.dwarf2/dw2-align.exp: Same.
1647 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1648 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1649 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1650 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1651 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1652 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1653 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1654 * gdb.dwarf2/dw2-inline-param.exp: Same.
1655 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1656 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1657 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1658 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1659 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1660 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1661 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1662 * gdb.dwarf2/dw2-param-error.exp: Same.
1663 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1664 * gdb.dwarf2/dw2-ranges.exp: Same.
1665 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1666 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1667 * gdb.dwarf2/dw4-sig-types.exp: Same.
1668 * gdb.dwarf2/dynarr-ptr.exp: Same.
1669 * gdb.dwarf2/enum-type.exp: Same.
1670 * gdb.dwarf2/fission-mix.exp: Same.
1671 * gdb.dwarf2/formdata16.exp: Same.
1672 * gdb.dwarf2/implptrconst.exp: Same.
1673 * gdb.dwarf2/implptrpiece.exp: Same.
1674 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1675 * gdb.dwarf2/main-subprogram.exp: Same.
1676 * gdb.dwarf2/method-ptr.exp: Same.
1677 * gdb.dwarf2/missing-sig-type.exp: Same.
1678 * gdb.dwarf2/nonvar-access.exp: Same.
1679 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1680 * gdb.dwarf2/shortpiece.exp: Same.
1681 * gdb.dwarf2/staticvirtual.exp: Same.
1682 * gdb.dwarf2/subrange.exp: Same.
1683 * gdb.dwarf2/symtab-producer.exp: Same.
1684 * gdb.dwarf2/typedef-void-finish.exp: Same.
1685 * gdb.dwarf2/var-access.exp: Same.
1686 * gdb.dwarf2/variant.exp: Same.
1687 * gdb.dwarf2/void-type.exp: Same.
1688 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1689 dw2-ranges-main.c.
1690 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1691
472d09c1
TV
16922020-10-16 Tom de Vries <tdevries@suse.de>
1693
1694 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1695
afe75f6d
TV
16962020-10-16 Tom de Vries <tdevries@suse.de>
1697
1698 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1699
8c8bd0ba
TV
17002020-10-14 Tom de Vries <tdevries@suse.de>
1701
1702 PR testsuite/26732
1703 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1704 scenario 2.
1705 * gdb.ada/mi_catch_ex_hand.exp: Same.
1706
b75d55d4
PA
17072020-10-13 Pedro Alves <pedro@palves.net>
1708
1709 * lib/mi-support.exp (mi_clean_restart): New.
1710 (mi_run_to_main): Delete.
1711 All callers adjust to use mi_clean_restart / mi_runto_main.
1712
e777225b
PA
17132020-10-13 Pedro Alves <pedro@palves.net>
1714
1715 * config/monitor.exp: Use "list -q".
1716 * gdb.arch/gdb1558.exp: Use "break -q".
1717 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1718 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1719 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1720 * gdb.base/commands.exp: Use "break -q".
1721 * gdb.base/condbreak.exp: Use "break -q".
1722 * gdb.base/ctf-ptype.exp: Use "list -q".
1723 * gdb.base/define.exp: Use "break -q".
1724 * gdb.base/del.exp: Use "break -q".
1725 * gdb.base/fullname.exp: Use "break -q".
1726 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1727 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1728 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1729 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1730 "hbreak -q".
1731 * gdb.base/included.exp: Use "list -q".
1732 * gdb.base/label.exp: Use "break -q".
1733 * gdb.base/lineinc.exp: Use "break -q".
1734 * gdb.base/list.exp: Use "list -q".
1735 * gdb.base/macscp.exp: Use "list -q".
1736 * gdb.base/pending.exp: Use "break -q".
1737 * gdb.base/prologue-include.exp: Use "break -q".
1738 * gdb.base/ptype.exp: Use "list -q".
1739 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1740 * gdb.base/server-del-break.exp: Use "break -q".
1741 * gdb.base/style.exp: Use "break -q".
1742 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1743 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1744 * gdb.cp/exception.exp: Use "tbreak -q".
1745 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1746 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1747 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1748 * gdb.dwarf2/pr13961.exp: Use "break -q".
1749 * gdb.linespec/explicit.exp: Use "list -q".
1750 * gdb.linespec/linespec.exp: Use "break -q".
1751 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1752 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1753 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1754 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1755 * gdb.trace/change-loc.exp: Use "break -q".
1756 * gdb.trace/pending.exp: Use "break -q".
1757 * gdb.tui/basic.exp: Use "list -q".
1758 * gdb.tui/list-before.exp: Use "list -q".
1759 * gdb.tui/list.exp: Use "list -q".
1760 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1761
8abd8ee8
PA
17622020-10-13 Pedro Alves <pedro@palves.net>
1763
1764 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1765 saved breakpoints file.
1766 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1767 inspecting breakpoint list.
1768 * lib/gdb.exp (runto_main): Add "qualified" to options.
1769 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1770 and handle it.
1771 (mi_runto_main): Pass 1 as qualified argument.
1772
f71e6719
PA
17732020-10-13 Pedro Alves <pedro@palves.net>
1774
1775 * lib/mi-support.exp (mi_runto_main): New proc.
1776 (mi_run_to_main): Use it.
1777 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1778 * gdb.mi/mi-var-cmd.exp: Likewise.
1779 * gdb.mi/mi-var-invalidate.exp: Likewise.
1780 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1781 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1782 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1783 * gdb.mi/user-selected-context-sync.exp: Likewise.
1784 * gdb.opt/inline-cmds.exp: Likewise.
1785 * gdb.python/py-framefilter-mi.exp: Likewise.
1786 * gdb.python/py-mi.exp: Likewise.
1787
50441f0f
PA
17882020-10-13 Pedro Alves <pedro@palves.net>
1789
1790 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1791 "runto main".
1792 * gdb.ada/small_reg_param.exp: Likewise.
1793 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1794 * gdb.base/annota1.exp: Likewise.
1795 * gdb.base/anon.exp: Likewise.
1796 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1797 * gdb.base/dprintf-non-stop.exp: Likewise.
1798 * gdb.base/dprintf.exp: Likewise.
1799 * gdb.base/gdb11530.exp: Likewise.
1800 * gdb.base/gdb11531.exp: Likewise.
1801 * gdb.base/gnu_vector.exp: Likewise.
1802 * gdb.base/interrupt-noterm.exp: Likewise.
1803 * gdb.base/memattr.exp: Likewise.
1804 * gdb.base/step-over-syscall.exp: Likewise.
1805 * gdb.base/watch-cond-infcall.exp: Likewise.
1806 * gdb.base/watch-read.exp: Likewise.
1807 * gdb.base/watch-vfork.exp: Likewise.
1808 * gdb.base/watch_thread_num.exp: Likewise.
1809 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1810 * gdb.guile/scm-frame-inline.exp: Likewise.
1811 * gdb.linespec/explicit.exp: Likewise.
1812 * gdb.opt/inline-break.exp: Likewise.
1813 * gdb.python/py-frame-inline.exp: Likewise.
1814 * gdb.reverse/break-precsave.exp: Likewise.
1815 * gdb.reverse/break-reverse.exp: Likewise.
1816 * gdb.reverse/consecutive-precsave.exp: Likewise.
1817 * gdb.reverse/consecutive-reverse.exp: Likewise.
1818 * gdb.reverse/finish-precsave.exp: Likewise.
1819 * gdb.reverse/finish-reverse.exp: Likewise.
1820 * gdb.reverse/fstatat-reverse.exp: Likewise.
1821 * gdb.reverse/getresuid-reverse.exp: Likewise.
1822 * gdb.reverse/i386-precsave.exp: Likewise.
1823 * gdb.reverse/i386-reverse.exp: Likewise.
1824 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1825 * gdb.reverse/i387-env-reverse.exp: Likewise.
1826 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1827 * gdb.reverse/insn-reverse.exp: Likewise.
1828 * gdb.reverse/machinestate-precsave.exp: Likewise.
1829 * gdb.reverse/machinestate.exp: Likewise.
1830 * gdb.reverse/pipe-reverse.exp: Likewise.
1831 * gdb.reverse/readv-reverse.exp: Likewise.
1832 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1833 * gdb.reverse/rerun-prec.exp: Likewise.
1834 * gdb.reverse/s390-mvcle.exp: Likewise.
1835 * gdb.reverse/solib-precsave.exp: Likewise.
1836 * gdb.reverse/solib-reverse.exp: Likewise.
1837 * gdb.reverse/step-precsave.exp: Likewise.
1838 * gdb.reverse/step-reverse.exp: Likewise.
1839 * gdb.reverse/time-reverse.exp: Likewise.
1840 * gdb.reverse/until-precsave.exp: Likewise.
1841 * gdb.reverse/until-reverse.exp: Likewise.
1842 * gdb.reverse/waitpid-reverse.exp: Likewise.
1843 * gdb.reverse/watch-precsave.exp: Likewise.
1844 * gdb.reverse/watch-reverse.exp: Likewise.
1845 * gdb.threads/kill.exp: Likewise.
1846 * gdb.threads/tid-reuse.exp: Likewise.
1847
d3a07122
SM
18482020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1849
1850 PR gdb/26642
1851 * gdb.base/maint-target-async-off.c: New test.
1852 * gdb.base/maint-target-async-off.exp: New test.
1853
c65c6c42
AM
18542020-10-13 Alan Modra <amodra@gmail.com>
1855
1856 * gdb.arch/powerpc-altivec.s,
1857 * gdb.arch/powerpc-power7.s,
1858 * gdb.arch/powerpc-power8.s,
1859 * gdb.arch/powerpc-power9.s,
1860 * gdb.arch/powerpc-vsx.s,
1861 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1862 * gdb.arch/powerpc-altivec.exp,
1863 * gdb.arch/powerpc-power7.exp,
1864 * gdb.arch/powerpc-power8.exp,
1865 * gdb.arch/powerpc-power9.exp,
1866 * gdb.arch/powerpc-vsx.exp,
1867 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1868 disassembly of mfvsrd/mtvsrd.
1869
f4a0f710
AM
18702020-10-13 Alan Modra <amodra@gmail.com>
1871
1872 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1873 "target architecture" output.
1874 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1875 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1876 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1877 * gdb.arch/s390-disassembler-options.exp: Likewise.
1878
87a37e5e
PA
18792020-10-12 Pedro Alves <pedro@palves.net>
1880
1881 PR exp/26602
1882 PR c++/26550
1883 * gdb.cp/ambiguous.cc (marker1): Delete.
1884 (main): Initialize all the fields of the locals. Replace marker1
1885 call with a "set breakpoint here" marker.
1886 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1887 instead of running to marker1. Add tests printing all the
1888 variables and all the fields of the variables.
1889 (test_ambiguous): New proc, expecting the new GDB output when a
1890 field access is ambiguous. Change all "warning: X ambiguous"
1891 tests to use it.
1892
71e1b6b0
GB
18932020-10-12 Gary Benson <gbenson@redhat.com>
1894
1895 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1896 * gdb.base/msym-bp-2.c (foo): Likewise.
1897 * gdb.base/msym-lang.c (foo): Likewise.
1898 * gdb.base/msym-lang-main.c (foo): Likewise.
1899 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1900 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1901 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1902 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1903 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1904 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1905 * gdb.python/py-objfile.c (static_var): Likewise.
1906 * gdb.python/py-symbol.c (rr): Likewise.
1907 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1908 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1909
9370fd51
AB
19102020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1911
1912 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1913 output of backtrace.
1914
7c184d33
TT
19152020-10-09 Tom Tromey <tromey@adacore.com>
1916
1917 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1918 (Rec): Add field. Fix range.
1919 * gdb.ada/scalar_storage.exp: Update.
1920
3d87245c
HD
19212020-10-09 Hannes Domani <ssbssa@yahoo.de>
1922
1923 PR exp/26714
1924 * gdb.base/printcmds.exp: Add tests for void results.
1925
f5c4b229
JV
19262020-10-09 Jan Vrany <jan.vrany@labware.com>
1927
1928 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1929 is emmited for both 'set directories' and 'directory' commands.
1930
b2701685
TT
19312020-10-08 Tom Tromey <tom@tromey.com>
1932
1933 * gdb.base/style.exp: Check that "main"'s name is styled.
1934
e86efb33
TT
19352020-10-07 Tom Tromey <tromey@adacore.com>
1936
1937 * gdb.base/find.exp: Rename some tests.
1938
30897591
GB
19392020-10-06 Gary Benson <gbenson@redhat.com>
1940
1941 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1942 * gdb.base/list1.c (unused): Likewise.
1943
ced4a4c1
GB
19442020-10-06 Gary Benson <gbenson@redhat.com>
1945
1946 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1947 __attribute__ ((used)).
1948 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1949
ed3bdac4
AB
19502020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1951
1952 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1953 make use of regions throughout.
1954 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1955 not {...}.
1956 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1957
cd096ec8
HD
19582020-10-05 Hannes Domani <ssbssa@yahoo.de>
1959
1960 * gdb.base/call-sc.c: Fix return struct on stack test case.
1961 * gdb.base/call-sc.exp: Likewise.
1962
3ee6f75d
GB
19632020-10-02 Gary Benson <gbenson@redhat.com>
1964
1965 * README: Fix "paralell".
1966
f65825ec
GB
19672020-09-30 Gary Benson <gbenson@redhat.com>
1968
1969 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1970 Convert directive to lowercase.
1971 (.Labbrev1_begin): Add missing label.
1972 (abbrev code 0x1): Remove DW_AT_stmt_list.
1973 (.Ldie_b): Likewise.
1974
5f278258
TT
19752020-09-27 Tom Tromey <tom@tromey.com>
1976
1977 * gdb.tui/new-layout.exp: Use with_test_prefix.
1978
8f9929bb
GR
19792020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1980
1981 PR python/26586
1982 * gdb.python/python.exp: add test cases for the from_tty
1983 argument to gdb.execute.
1984
c20c017b
GB
19852020-09-25 Gary Benson <gbenson@redhat.com>
1986
1987 * gdb.base/infcall-nested-structs.exp.tcl: Add
1988 additional_flags=-Wno-tautological-compare for C++
1989 tests when compiling using Clang.
1990
68d654af
GB
19912020-09-25 Gary Benson <gbenson@redhat.com>
1992
1993 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1994 for .c files.
1995
b551a89f
TT
19962020-09-24 Tom Tromey <tromey@adacore.com>
1997
1998 PR tui/26638:
1999 * gdb.tui/list.exp: Check output of "focus next".
2000
20a5fcbd
TT
20012020-09-23 Tom Tromey <tom@tromey.com>
2002
2003 * gdb.dwarf2/intbits.exp: New file.
2004 * gdb.dwarf2/intbits.c: New file.
2005
b167e53f
PA
20062020-09-20 Pedro Alves <pedro@palves.net>
2007
2008 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2009 spawn_id before calling remote_close. Close secondary MI channel.
2010
dbc49e9f
PA
20112020-09-20 Pedro Alves <pedro@palves.net>
2012
2013 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2014 fails.
2015
c8d5abea
AB
20162020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2017
2018 * gdb.fortran/array-slices.exp: Update expected results.
2019 * gdb.fortran/class-allocatable-array.exp: Likewise.
2020 * gdb.fortran/multi-dim.exp: Likewise.
2021 * gdb.fortran/vla-type.exp: Likewise.
2022 * gdb.mi/mi-vla-fortran.exp: Likewise.
2023
14f9473c
VC
20242020-09-18 Victor Collod <vcollod@nvidia.com>
2025
2026 PR gdb/26635
2027 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2028 compatible with i386, and move it to...
2029 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2030 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2031 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2032
e8ef12b9
PA
20332020-09-18 Pedro Alves <pedro@palves.net>
2034
2035 PR gdb/26631
2036 * gdb.multi/multi-target-thread-find.exp: New file.
2037
e11daf7a
PA
20382020-09-18 Pedro Alves <pedro@palves.net>
2039
2040 * gdb.multi/multi-target-continue.exp: New file, factored out from
2041 multi-target.exp.
2042 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2043 multi-target.exp.
2044 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2045 multi-target.exp.
2046 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2047 multi-target.exp.
2048 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2049 multi-target.exp.
2050 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2051 multi-target.exp.
2052 * gdb.multi/multi-target.exp: Delete.
2053
d0edc2b8
AB
20542020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.fortran/array-slices.exp: Add missing message data.
2057
7474326c
PA
20582020-09-17 Pedro Alves <pedro@palves.net>
2059
2060 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2061
dd23068d
PA
20622020-09-17 Pedro Alves <pedro@palves.net>
2063
2064 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2065 full prototype.
2066
0640a543
PA
20672020-09-17 Pedro Alves <pedro@palves.net>
2068
2069 * gdb.python/py-as-string.c: Add cast.
2070
ef0cdbc1
PA
20712020-09-17 Pedro Alves <pedro@palves.net>
2072
2073 * gdb.base/sizeof.c (fill): Add cast.
2074
3a5eeb8b
PA
20752020-09-17 Pedro Alves <pedro@palves.net>
2076
2077 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2078
a8129512
PA
20792020-09-17 Pedro Alves <pedro@palves.net>
2080
2081 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2082 linkage name.
2083 * gdb.base/prologue.exp: Use print /d.
2084 * gdb.base/symbol-alias.exp: Handle C++ output.
2085 * gdb.base/symbol-alias2.c: Handle C++ output.
2086 [__cplusplus] (func): Explicitly specify linkage name.
2087
a83cdcb6
PA
20882020-09-17 Pedro Alves <pedro@palves.net>
2089
2090 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2091 (struct my_key_t): ... this. Adjust all references.
2092 (struct value_t): Rename to ...
2093 (struct my_value_t): ... this. Adjust all references.
2094 (create_map, add_map_element, create_map_map)
2095 (add_map_map_element): Add casts.
2096
d4bcee5c
PA
20972020-09-17 Pedro Alves <pedro@palves.net>
2098
2099 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2100 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2101
81f90489
PA
21022020-09-17 Pedro Alves <pedro@palves.net>
2103
2104 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2105
0a229804
PA
21062020-09-17 Pedro Alves <pedro@palves.net>
2107
2108 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2109 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2110 (charfoo, intfoo): Define full prototype.
2111 * gdb.base/ptype1.c (charfoo): Define full prototype.
2112 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2113 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2114
c3e5138d
PA
21152020-09-17 Pedro Alves <pedro@palves.net>
2116
2117 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2118 Don't define.
2119 (utf_32_string): Compile for both C and C++.
2120 * gdb.base/charset.exp: Use "print /d".
2121
151fdbad
PA
21222020-09-17 Pedro Alves <pedro@palves.net>
2123
2124 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2125 (nullptr): Rename to ...
2126 (null_ptr): ... this.
2127 * gdb.base/watchpoint.exp: Adjust to rename.
2128
18a25b64
PA
21292020-09-17 Pedro Alves <pedro@palves.net>
2130
2131 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2132 (three_not_flag): Add casts.
2133
11fac337
PA
21342020-09-17 Pedro Alves <pedro@palves.net>
2135
2136 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2137 char array.
2138 (main): Add references to Barrier, TestStrings, TestStringsH and
2139 TestStringsW.
2140 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2141 and expect a full prototype in C++.
2142
52626c58
PA
21432020-09-17 Pedro Alves <pedro@palves.net>
2144
2145 * gdb.base/nested-addr.c (main): Add cast.
2146 * gdb.base/nested-addr.exp: Use "print /d".
2147
52bb0902
PA
21482020-09-17 Pedro Alves <pedro@palves.net>
2149
2150 * gdb.base/break.exp (func): New. Use it throughout when
2151 expecting a function name.
2152
73e18ac9
PA
21532020-09-17 Pedro Alves <pedro@palves.net>
2154
2155 * gdb.base/display.exp: Issue "set print asm-demangle on".
2156
c8b18808
PA
21572020-09-17 Pedro Alves <pedro@palves.net>
2158
2159 * gdb.base/find.c: Include <string.h>.
2160 (init_bufs): Add cast.
2161 * gdb.base/find.exp: Issue "set print asm-demangle on".
2162
fe830662
TT
21632020-09-16 Tom Tromey <tromey@adacore.com>
2164
2165 PR gdb/26598:
2166 * gdb.base/skipcxx.exp: New file.
2167 * gdb.base/skipcxx.cc: New file.
2168
945ff6e2
TV
21692020-09-16 Tom de Vries <tdevries@suse.de>
2170
2171 PR testsuite/26617
2172 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2173 WITH_DEBUG_SECTIONS is defined.
2174 (xstr, str): New macro.
2175 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2176 to get start and size of _Dmain.
2177 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2178 using additional_flags.
2179
da1df1db
TBA
21802020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2181
2182 * gdb.base/bp-cmds-sourced-script.c: New file.
2183 * gdb.base/bp-cmds-sourced-script.exp: New test.
2184 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2185
337882d4
TV
21862020-09-16 Tom de Vries <tdevries@suse.de>
2187
2188 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2189 get the gdb prompt after issuing "monitor exit".
2190
7361f908
TV
21912020-09-16 Tom de Vries <tdevries@suse.de>
2192
2193 PR testsuite/26624
2194 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2195
4d91ddd3
TV
21962020-09-16 Tom de Vries <tdevries@suse.de>
2197
2198 PR testsuite/26618
2199 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2200
08cc37dd
TT
22012020-09-15 Tom Tromey <tromey@adacore.com>
2202
2203 PR rust/26197:
2204 * lib/rust-support.exp (rust_llvm_version): New proc.
2205 * gdb.rust/simple.exp: Check rust_llvm_version.
2206
ee6372f2
TV
22072020-09-14 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.rust/traits.exp: Fix PATH warning.
2210
dc3a371e
PA
22112020-09-13 Pedro Alves <pedro@palves.net>
2212
2213 * gdb.base/catch-follow-exec.c (main): Add explicit return
2214 statement.
2215 * gdb.base/catch-signal.c (main): Likewise.
2216 * gdb.base/condbreak-call-false.c (main): Likewise.
2217 * gdb.base/consecutive.c (main): Add explicit return
2218 statement and return type.
2219 * gdb.base/cursal.c (main): Add explicit return statement.
2220 * gdb.base/cvexpr.c (main): Likewise.
2221 * gdb.base/display.c (main): Add explicit return statement and
2222 return type.
2223 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2224 * gdb.base/endianity.c (main): Likewise.
2225 * gdb.base/execd-prog.c (main): Likewise.
2226 * gdb.base/gdb1090.c (main): Likewise.
2227 * gdb.base/info_qt.c (main): Likewise.
2228 * gdb.base/lineinc.c (main): Likewise.
2229 * gdb.base/load-command.c (main): Likewise.
2230 * gdb.base/macscp1.c (main): Likewise.
2231 * gdb.base/pr10179-a.c (main): Likewise.
2232 * gdb.base/quit-live.c (main): Likewise.
2233 * gdb.base/scope0.c (main): Likewise.
2234 * gdb.base/settings.c (main): Likewise.
2235 * gdb.base/stack-checking.c (main): Return int.
2236 * gdb.base/varargs.c (main): Add explicit return statement.
2237 * gdb.cp/ambiguous.cc (main): Likewise.
2238 * gdb.cp/anon-struct.cc (main): Likewise.
2239 * gdb.cp/anon-union.cc (main): Likewise.
2240 * gdb.cp/bool.cc (main): Likewise.
2241 * gdb.cp/bs15503.cc (main): Likewise.
2242 * gdb.cp/cplusfuncs.cc (main): Likewise.
2243 * gdb.cp/cttiadd.cc (main): Likewise.
2244 * gdb.cp/extern-c.cc (main): Likewise.
2245 * gdb.cp/filename.cc (main): Likewise.
2246 * gdb.cp/formatted-ref.cc (main): Likewise.
2247 * gdb.cp/mb-ctor.cc (main): Likewise.
2248 * gdb.cp/member-ptr.cc (main): Likewise.
2249 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2250 * gdb.cp/overload-const.cc (main): Likewise.
2251 * gdb.cp/paren-type.cc (main): Likewise.
2252 * gdb.cp/parse-lang.cc (main): Likewise.
2253 * gdb.cp/pr-1023.cc (main): Likewise.
2254 * gdb.cp/psmang1.cc (main): Likewise.
2255 * gdb.cp/readnow-language.cc (main): Likewise.
2256 * gdb.cp/ref-params.cc (main): Likewise.
2257 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2258 * gdb.cp/virtbase2.cc (main): Likewise.
2259 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2260 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2261 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2262 * gdb.mi/mi-console.c (main): Likewise.
2263 * gdb.mi/mi-read-memory.c (main): Likewise.
2264 * gdb.modula2/multidim.c (main): Likewise.
2265 * gdb.opt/inline-small-func.c (main): Likewise.
2266 * gdb.python/py-rbreak.c (main): Likewise.
2267 * gdb.stabs/exclfwd1.c (main): Likewise.
2268 * gdb.trace/qtro.c (main): Likewise.
2269
af26601c
PA
22702020-09-13 Pedro Alves <pedro@palves.net>
2271
2272 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2273 instead of getenv.
2274
2f4b83cd
PA
22752020-09-13 Pedro Alves <pedro@palves.net>
2276
2277 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2278 instead of spawning GDB with remote_spawn.
2279 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2280 gdb_spawn instead of spawning GDB with remote_spawn.
2281
c49da0e4
PA
22822020-09-13 Pedro Alves <pedro@palves.net>
2283
2284 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2285 file and add calls to first and second.
2286 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2287 add call to f.
2288
6791b117
PA
22892020-09-13 Pedro Alves <pedro@palves.net>
2290
2291 * gdb.mi/mi-break-qualified.cc: New file.
2292 * gdb.mi/mi-break-qualified.exp: New file.
2293 * lib/mi-support.exp (mi_create_breakpoint_multi)
2294 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2295 procedures.
2296 (mi_create_breakpoint_1): New, factored out from
2297 mi_create_breakpoint.
2298
3b8d4c5c
PA
22992020-09-13 Pedro Alves <pedro@palves.net>
2300
2301 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2302 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2303 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2304 (register_class): Delete.
2305 (main): Don't call register_class.
2306
d5f96005
PA
23072020-09-13 Pedro Alves <pedro@palves.net>
2308
2309 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2310 (do_tests): Remove "calling method for small class" test.
2311 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2312 (register_class): Delete.
2313 (main): Don't call register_class.
2314 * gdb.cp/call-method-register.exp: New file, based on bits removed
2315 from classes.exp.
2316 * gdb.cp/call-method-register.cc: New file, based on bits removed
2317 from classes.cc.
2318
77f2120b
PA
23192020-09-13 Pedro Alves <pedro@palves.net>
2320
2321 * gdb.base/msym-bp-2.c: New.
2322 * gdb.base/msym-bp-shl-lib.c: New file.
2323 * gdb.base/msym-bp-shl-main-2.c: New file.
2324 * gdb.base/msym-bp-shl-main.c: New file.
2325 * gdb.base/msym-bp-shl.exp: New file.
2326 * gdb.base/msym-bp.c: New file.
2327 * gdb.base/msym-bp.exp: New file.
2328
32aea73e
JB
23292020-09-13 Joel Brobecker <brobecker@adacore.com>
2330
2331 * gdb.base/default.exp: Change $_gdb_major to 11.
2332
2a67f09d
FW
23332020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2334 Felix Willgerodt <Felix.Willgerodt@intel.com>
2335
2336 * x86-avx512bf16.c: New file.
2337 * x86-avx512bf16.exp: Likewise.
2338 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2339
ad570dd7
TV
23402020-09-11 Tom de Vries <tdevries@suse.de>
2341
2342 PR exp/26602
2343 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2344
a56f7391
TBA
23452020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2346
2347 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2348
918619e5
AM
23492020-09-10 Alan Modra <amodra@gmail.com>
2350
2351 PR 26597
2352 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2353
cac1e71d
TV
23542020-09-08 Tom de Vries <tdevries@suse.de>
2355
2356 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2357 after gdb_starti_cmd.
2358
c5cd900e
AKS
23592020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2360
2361 * lib/fortran.exp (fortran_complex8): New proc.
2362 (fortran_complex16): New proc.
2363 * gdb.fortran/complex.exp: Use routines from fortran.exp
2364 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2365 * gdb.fortran/vla-ptr-info.exp: Likewise.
2366
8f5c6526
TV
23672020-09-03 Tom de Vries <tdevries@suse.de>
2368
2369 PR breakpoint/26546
2370 * gdb.base/label-without-address.exp: Runto main first.
2371
02c6f3f1
TT
23722020-09-02 Tom Tromey <tromey@adacore.com>
2373
2374 * gdb.ada/mi_var_access.exp: Test children of access variable.
2375 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2376 * gdb.ada/mi_var_array.exp: Update.
2377
efe24f05
KB
23782020-08-31 Kevin Buettner <kevinb@redhat.com>
2379
2380 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2381 on docker w/ AUFS storage driver.
2382
973695d6
KB
23832020-08-31 Kevin Buettner <kevinb@redhat.com>
2384
2385 * gdb.base/corefile2.exp (renamed binfile): New tests.
2386
f3bd50f1
SM
23872020-08-31 Simon Marchi <simon.marchi@efficios.com>
2388
2389 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2390
22b9b4b0
SL
23912020-08-31 Simon Marchi <simon.marchi@efficios.com>
2392
2393 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2394 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2395
8efaf6b3
SM
23962020-08-31 Simon Marchi <simon.marchi@efficios.com>
2397
2398 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2399 output, printing a "not saved" value from history and printing a
2400 convenience variable created from a "not saved" value.
2401
e840f2e3
TV
24022020-08-31 Tom de Vries <tdevries@suse.de>
2403
2404 * gdb.base/eh_return.exp: Use nopie.
2405
8f57f343
PA
24062020-08-28 Pedro Alves <pedro@palves.net>
2407
2408 * gdb.base/advance-until-multiple-locations.exp
2409 (advance_overload, until_overload): Adjust to match the
2410 frame/function header instead of the source line text.
2411
626d2320
TV
24122020-08-28 Tom de Vries <tdevries@suse.de>
2413
2414 * gdb.base/label-without-address.c: New test.
2415 * gdb.base/label-without-address.exp: New file.
2416
df631783
PA
24172020-08-27 Pedro Alves <pedro@palves.net>
2418
2419 PR gdb/26523
2420 PR gdb/26524
2421 * gdb.base/advance-until-multiple-locations.cc: New.
2422 * gdb.base/advance-until-multiple-locations.exp: New.
2423
48b076bb
SM
24242020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2425
2426 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2427
c2015ce4
AB
24282020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2429
2430 * gdb.arch/amd64-byte.exp: Make test names unique, use
2431 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2432 * gdb.arch/amd64-dword.exp: Likewise.
2433 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2434 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2435 unique.
2436 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2437 * gdb.arch/amd64-word.exp: Make test names unique, use
2438 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2439 * gdb.arch/i386-byte.exp: Make test names unique, use
2440 gdb_breakpoint.
2441 * gdb.arch/i386-word.exp: Likewise.
2442
995d3a19
SV
24432020-08-25 Shahab Vahedi <shahab@synopsys.com>
2444
2445 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2446
8cac2b31
SM
24472020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2448
2449 PR gdb/26532
2450 * gdb.threads/stepi-random-signal.exp: Update pattern.
2451
2bc19622
SM
24522020-08-25 Simon Marchi <simon.marchi@efficios.com>
2453
2454 PR gdb/26532
2455 * gdb.base/ui-redirect.exp: Update pattern.
2456
b04aa1fc
GB
24572020-08-25 Gary Benson <gbenson@redhat.com>
2458
2459 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2460 when compiling with clang.
8571e9c8 2461 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2462
9f68b453
GB
24632020-08-25 Gary Benson <gbenson@redhat.com>
2464
2465 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2466 Add additional_flags=-Wno-inaccessible-base when compiling
2467 with GCC >= 10.1 or clang. Add additional_flags=-w when
2468 compiling with GCC < 10.
2469
3945d2d7
GM
24702020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2471
2472 PR m2/26372
fc5d6901
SM
2473 * gdb.modula2/multidim.c: New file.
2474 * gdb.modula2/multidim.exp: New file.
3945d2d7 2475
60122dbe
SM
24762020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2477
2478 * lib/gdb.exp (runto): Always emit fail on internal error.
2479
1eb8556f
SM
24802020-08-24 Simon Marchi <simon.marchi@efficios.com>
2481
2482 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2483 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2484 Likewise.
2485 * gdb.threads/stepi-random-signal.exp: Likewise.
2486
33bf4c5c
TBA
24872020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2488
2489 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2490 * gdb.trace/strace.exp: Ditto.
2491
c2fd7fae
AKS
24922020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2493
2494 * gdb.fortran/vla-type.exp: Skip commands not required for
2495 the Flang compiled binaries after prologue fix.
2496
326afb72
TT
24972020-08-17 Tom de Vries <tdevries@suse.de>
2498 Tom Tromey <tromey@adacore.com>
2499
2500 PR rust/26197:
2501 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2502
3ae7ab99
TT
25032020-08-17 Tom Tromey <tromey@adacore.com>
2504
2505 * gdb.ada/mi_var_access.exp: New file.
2506 * gdb.ada/mi_var_access/mi_access.adb: New file.
2507 * gdb.ada/mi_var_access/pck.adb: New file.
2508 * gdb.ada/mi_var_access/pck.ads: New file.
2509
f569c1c5
TV
25102020-08-16 Tom de Vries <tdevries@suse.de>
2511
2512 PR gdb/25350
2513 * gdb.base/eh_return.c: New test.
2514 * gdb.base/eh_return.exp: New file.
2515
3d11c30a
TV
25162020-08-15 Tom de Vries <tdevries@suse.de>
2517
2518 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2519 (mixed_func_1d_): Use fortran_charlen_t in decl.
2520
547ce8f0
TV
25212020-08-15 Tom de Vries <tdevries@suse.de>
2522
2523 PR backtrace/26390
2524 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2525 Update expected pattern.
2526
a54a7f13
PA
25272020-08-13 Pedro Alves <pedro@palves.net>
2528
2529 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2530 * gdb.fortran/library-module.exp: Likewise.
2531 * gdb.fortran/logical.exp: Likewise.
2532 * gdb.fortran/module.exp: Likewise.
2533 * gdb.fortran/print_type.exp: Likewise.
2534 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2535 * gdb.fortran/vla-datatypes.exp: Likewise.
2536 * gdb.fortran/vla-history.exp: Likewise.
2537 * gdb.fortran/vla-ptr-info.exp: Likewise.
2538 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2539 * gdb.fortran/vla-ptype.exp: Likewise.
2540 * gdb.fortran/vla-sizeof.exp: Likewise.
2541 * gdb.fortran/vla-type.exp: Likewise.
2542 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2543 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2544 * gdb.fortran/vla-value-sub.exp: Likewise.
2545 * gdb.fortran/vla-value.exp: Likewise.
2546
7a82e903
PA
25472020-08-13 Pedro Alves <pedro@palves.net>
2548
2549 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2550 * gdb.ada/access_to_packed_array.exp: Likewise.
2551 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2552 * gdb.ada/addr_arith.exp: Likewise.
2553 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2554 * gdb.ada/arr_arr.exp: Likewise.
2555 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2556 * gdb.ada/array_bounds.exp: Likewise.
2557 * gdb.ada/array_of_variable_length.exp: Likewise.
2558 * gdb.ada/array_ptr_renaming.exp: Likewise.
2559 * gdb.ada/array_subscript_addr.exp: Likewise.
2560 * gdb.ada/arraydim.exp: Likewise.
2561 * gdb.ada/arrayparam.exp: Likewise.
2562 * gdb.ada/arrayptr.exp: Likewise.
2563 * gdb.ada/assign_1.exp: Likewise.
2564 * gdb.ada/assign_arr.exp: Likewise.
2565 * gdb.ada/atomic_enum.exp: Likewise.
2566 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2567 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2568 * gdb.ada/bias.exp: Likewise.
2569 * gdb.ada/boolean_expr.exp: Likewise.
2570 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2571 * gdb.ada/bp_enum_homonym.exp: Likewise.
2572 * gdb.ada/bp_inlined_func.exp: Likewise.
2573 * gdb.ada/bp_on_var.exp: Likewise.
2574 * gdb.ada/bp_range_type.exp: Likewise.
2575 * gdb.ada/bp_reset.exp: Likewise.
2576 * gdb.ada/call_pn.exp: Likewise.
2577 * gdb.ada/catch_assert_if.exp: Likewise.
2578 * gdb.ada/catch_ex.exp: Likewise.
2579 * gdb.ada/catch_ex_std.exp: Likewise.
2580 * gdb.ada/char_enum.exp: Likewise.
2581 * gdb.ada/char_param.exp: Likewise.
2582 * gdb.ada/complete.exp: Likewise.
2583 * gdb.ada/cond_lang.exp: Likewise.
2584 * gdb.ada/convvar_comp.exp: Likewise.
2585 * gdb.ada/dgopt.exp: Likewise.
2586 * gdb.ada/disc_arr_bound.exp: Likewise.
2587 * gdb.ada/display_nested.exp: Likewise.
2588 * gdb.ada/dot_all.exp: Likewise.
2589 * gdb.ada/dyn_loc.exp: Likewise.
2590 * gdb.ada/dyn_stride.exp: Likewise.
2591 * gdb.ada/excep_handle.exp: Likewise.
2592 * gdb.ada/expr_delims.exp: Likewise.
2593 * gdb.ada/expr_with_funcall.exp: Likewise.
2594 * gdb.ada/exprs.exp: Likewise.
2595 * gdb.ada/fin_fun_out.exp: Likewise.
2596 * gdb.ada/fixed_cmp.exp: Likewise.
2597 * gdb.ada/formatted_ref.exp: Likewise.
2598 * gdb.ada/frame_arg_lang.exp: Likewise.
2599 * gdb.ada/frame_args.exp: Likewise.
2600 * gdb.ada/fullname_bp.exp: Likewise.
2601 * gdb.ada/fun_addr.exp: Likewise.
2602 * gdb.ada/fun_in_declare.exp: Likewise.
2603 * gdb.ada/fun_overload_menu.exp: Likewise.
2604 * gdb.ada/fun_renaming.exp: Likewise.
2605 * gdb.ada/funcall_char.exp: Likewise.
2606 * gdb.ada/funcall_param.exp: Likewise.
2607 * gdb.ada/funcall_ptr.exp: Likewise.
2608 * gdb.ada/funcall_ref.exp: Likewise.
2609 * gdb.ada/homonym.exp: Likewise.
2610 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2611 * gdb.ada/info_auto_lang.exp: Likewise.
2612 * gdb.ada/info_exc.exp: Likewise.
2613 * gdb.ada/info_types.exp: Likewise.
2614 * gdb.ada/int_deref.exp: Likewise.
2615 * gdb.ada/interface.exp: Likewise.
2616 * gdb.ada/iwide.exp: Likewise.
2617 * gdb.ada/lang_switch.exp: Likewise.
2618 * gdb.ada/length_cond.exp: Likewise.
2619 * gdb.ada/maint_with_ada.exp: Likewise.
2620 * gdb.ada/mi_catch_assert.exp: Likewise.
2621 * gdb.ada/mi_catch_ex.exp: Likewise.
2622 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2623 * gdb.ada/mi_dyn_arr.exp: Likewise.
2624 * gdb.ada/mi_ex_cond.exp: Likewise.
2625 * gdb.ada/mi_exc_info.exp: Likewise.
2626 * gdb.ada/mi_interface.exp: Likewise.
2627 * gdb.ada/mi_prot.exp: Likewise.
2628 * gdb.ada/mi_ref_changeable.exp: Likewise.
2629 * gdb.ada/mi_string_access.exp: Likewise.
2630 * gdb.ada/mi_task_arg.exp: Likewise.
2631 * gdb.ada/mi_task_info.exp: Likewise.
2632 * gdb.ada/mi_var_array.exp: Likewise.
2633 * gdb.ada/mi_var_union.exp: Likewise.
2634 * gdb.ada/mi_variant.exp: Likewise.
2635 * gdb.ada/minsyms.exp: Likewise.
2636 * gdb.ada/mod_from_name.exp: Likewise.
2637 * gdb.ada/nested.exp: Likewise.
2638 * gdb.ada/null_array.exp: Likewise.
2639 * gdb.ada/optim_drec.exp: Likewise.
2640 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2641 * gdb.ada/packed_array_assign.exp: Likewise.
2642 * gdb.ada/packed_tagged.exp: Likewise.
2643 * gdb.ada/pp-rec-component.exp: Likewise.
2644 * gdb.ada/print_chars.exp: Likewise.
2645 * gdb.ada/print_pc.exp: Likewise.
2646 * gdb.ada/ptr_typedef.exp: Likewise.
2647 * gdb.ada/ptype_arith_binop.exp: Likewise.
2648 * gdb.ada/ptype_array.exp: Likewise.
2649 * gdb.ada/ptype_field.exp: Likewise.
2650 * gdb.ada/ptype_tagged_param.exp: Likewise.
2651 * gdb.ada/ptype_union.exp: Likewise.
2652 * gdb.ada/py_range.exp: Likewise.
2653 * gdb.ada/py_taft.exp: Likewise.
2654 * gdb.ada/rdv_wait.exp: Likewise.
2655 * gdb.ada/rec_comp.exp: Likewise.
2656 * gdb.ada/rec_return.exp: Likewise.
2657 * gdb.ada/ref_param.exp: Likewise.
2658 * gdb.ada/ref_tick_size.exp: Likewise.
2659 * gdb.ada/rename_subscript_param.exp: Likewise.
2660 * gdb.ada/repeat_dyn.exp: Likewise.
2661 * gdb.ada/same_component_name.exp: Likewise.
2662 * gdb.ada/same_enum.exp: Likewise.
2663 * gdb.ada/scalar_storage.exp: Likewise.
2664 * gdb.ada/set_wstr.exp: Likewise.
2665 * gdb.ada/small_reg_param.exp: Likewise.
2666 * gdb.ada/str_binop_equal.exp: Likewise.
2667 * gdb.ada/str_ref_cmp.exp: Likewise.
2668 * gdb.ada/str_uninit.exp: Likewise.
2669 * gdb.ada/sub_variant.exp: Likewise.
2670 * gdb.ada/sym_print_name.exp: Likewise.
2671 * gdb.ada/taft_type.exp: Likewise.
2672 * gdb.ada/tagged.exp: Likewise.
2673 * gdb.ada/tagged_access.exp: Likewise.
2674 * gdb.ada/task_bp.exp: Likewise.
2675 * gdb.ada/task_switch_in_core.exp: Likewise.
2676 * gdb.ada/tasks.exp: Likewise.
2677 * gdb.ada/tick_last_segv.exp: Likewise.
2678 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2679 * gdb.ada/type_coercion.exp: Likewise.
2680 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2681 * gdb.ada/unchecked_union.exp: Likewise.
2682 * gdb.ada/uninitialized_vars.exp: Likewise.
2683 * gdb.ada/var_arr_attrs.exp: Likewise.
2684 * gdb.ada/var_arr_typedef.exp: Likewise.
2685 * gdb.ada/var_rec_arr.exp: Likewise.
2686 * gdb.ada/variant-record.exp: Likewise.
2687 * gdb.ada/variant.exp: Likewise.
2688 * gdb.ada/variant_record_packed_array.exp: Likewise.
2689 * gdb.ada/varsize_limit.exp: Likewise.
2690 * gdb.ada/whatis_array_val.exp: Likewise.
2691 * gdb.ada/widewide.exp: Likewise.
2692 * gdb.ada/win_fu_syms.exp: Likewise.
2693
26942020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2695
2696 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2697
10c381b5
AB
26982020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2699
2700 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2701 unset the array variable.
2702
8f34b746
TV
27032020-08-03 Tom de Vries <tdevries@suse.de>
2704
2705 PR symtab/26333
2706 * lib/dwarf.exp (DW_LNE_user): New proc.
2707 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2708 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2709
0245e136
KB
27102020-07-31 Kevin Buettner <kevinb@redhat.com>
2711
2712 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2713 to 'uintptr_t'
2714 (inttypes.h): Include.
2715
9ef1ec5d
KB
27162020-07-31 Kevin Buettner <kevinb@redhat.com>
2717
2718 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2719 (C5_24k): Delete.
2720 (C5_8k, C5_64k, C5_256k): New macros.
2721 (buf_ro): Allocate 256 KiB of initialized data.
2722
4c55e970
TBA
27232020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2724
2725 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2726 that attempt to overwrite an existing condition with a condition
2727 that fails parsing and also with a condition that parses fine
2728 but contains junk at the end.
2729
1e620590
TBA
27302020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2731
2732 * gdb.base/condbreak-bad.c: New test.
2733 * gdb.base/condbreak-bad.exp: New file.
2734
e12dcc50
TV
27352020-07-30 Tom de Vries <tdevries@suse.de>
2736
2737 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2738 out of ...
2739 (GDBInfoModuleSymbols::check_entry): ... here.
2740 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2741 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2742 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2743
6cc64caa
TV
27442020-07-30 Tom de Vries <tdevries@suse.de>
2745
2746 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2747 "__class_some_module_Number_t" optional.
2748
90fd07fc
TV
27492020-07-29 Tom de Vries <tdevries@suse.de>
2750
2751 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2752 multiple locations.
2753
f5c79e97
TV
27542020-07-29 Tom de Vries <tdevries@suse.de>
2755
2756 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2757 rather than function name.
2758
f75a0693
AB
27592020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2760
2761 PR symtab/26270:
2762 * gdb.cp/disasm-func-name.cc: New file.
2763 * gdb.cp/disasm-func-name.exp: New file.
2764
4888741a
TT
27652020-07-28 Tom Tromey <tromey@adacore.com>
2766
2767 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2768 'varval' location.
2769
43d5901d
AB
27702020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2771
2772 * gdb.python/py-unwind.py: Update to make use of a register
2773 descriptor.
2774
14fa8fb3
AB
27752020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2776
2777 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2778
e79eb02f
AB
27792020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2780
2781 PR fortran/23051
2782 PR fortran/26139
2783 * gdb.fortran/class-allocatable-array.exp: New file.
2784 * gdb.fortran/class-allocatable-array.f90: New file.
2785 * gdb.fortran/pointer-to-pointer.exp: New file.
2786 * gdb.fortran/pointer-to-pointer.f90: New file.
2787
876518dd
TV
27882020-07-25 Tom de Vries <tdevries@suse.de>
2789
2790 PR symtab/26243
2791 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2792 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2793
6dcfb80a
TV
27942020-07-24 Tom de Vries <tdevries@suse.de>
2795
2796 PR testsuite/26293
2797 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2798
e7bc9db8
PA
27992020-07-23 Pedro Alves <pedro@palves.net>
2800
2801 * gdb.server/server-kill.exp (prepare): New, factored out from the
2802 top level.
2803 (kill_server): New.
2804 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2805 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2806
78344df7
AB
28072020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2808
2809 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2810
25dfed24
SL
28112020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2812
2813 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2814 Initialize to empty string at top level.
2815 (gdb_wrapper_init): Revert check for file existence on build.
2816 Build the wrapper in its default place, not a build-specific
2817 location. When host == build, make the pathname absolute.
2818 (gdb_compile): Delete leftover declaration of
2819 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2820 string instead of uninitialized.
2821
7da515fd
KB
28222020-07-22 Kevin Buettner <kevinb@redhat.com>
2823
2824 * gdb.base/corefile2.exp: New file.
2825 * gdb.base/coremaker2.exp: New file.
2826
9c5ec5c2
KB
28272020-07-22 Kevin Buettner <kevinb@redhat.com>
2828
2829 * gdb.base/coredump-filter.exp: Add second
2830 non-Private-Shared-Anon-File test.
2831 (test_disasm): Rename binfile for test which is expected
2832 to fail.
2833
f9e233c9
KB
28342020-07-22 Kevin Buettner <kevinb@redhat.com>
2835
2836 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2837 data in core file".
2838 * gdb.base/coremaker.c (buf2ro): New global.
2839 (mmapdata): Add a read-only mmap mapping.
2840
94c265d7
KB
28412020-07-22 Kevin Buettner <kevinb@redhat.com>
2842
2843 PR corefiles/25631
2844 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2845 New test.
2846 * gdb.base/coremaker.c (buf3): New global.
2847 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2848 flags.
2849
28502020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2851
2852 * gdb.base/coremaker.c (filler_ro): New global constant.
2853
32fa152e
TT
28542020-07-22 Tom Tromey <tromey@adacore.com>
2855
2856 * gdb.ada/mi_prot.exp: New file.
2857 * gdb.ada/mi_prot/pkg.adb: New file.
2858 * gdb.ada/mi_prot/pkg.ads: New file.
2859 * gdb.ada/mi_prot/prot.adb: New file.
2860
c8474dc3
TBA
28612020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2862
2863 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2864 loads two JITers.
2865
baf8791e
AB
28662020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2867
2868 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2869
f7306dac
AB
28702020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * gdb.python/py-arch-reg-names.exp: Additional tests.
2873
6d3d6e4b
TV
28742020-07-21 Tom de Vries <tdevries@suse.de>
2875
2876 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2877 breakpoint locations".
2878 * gdb.reverse/solib-reverse.exp: Same.
2879
803d0592
TV
28802020-07-21 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.reverse/step-reverse.c (callee): Merge statements.
2883
e9bdc510
TV
28842020-07-21 Tom de Vries <tdevries@suse.de>
2885
2886 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2887 line numbers for some variables.
2888
f0f9e75a
TV
28892020-07-21 Tom de Vries <tdevries@suse.de>
2890
2891 * gdb.opt/inline-locals.c (init_array): New func.
2892 (func1): Use init_array.
2893 * gdb.opt/inline-locals.exp: Update pattern.
2894
bd460ecb
TV
28952020-07-21 Tom de Vries <tdevries@suse.de>
2896
2897 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2898 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2899
ae5369e7
LC
29002020-07-20 Ludovic Courtès <ludo@gnu.org>
2901
2902 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2903 * gdb.guile/types-module.exp: Remove "ERROR:" from
2904 regexps since Guile 3.0 no longer prints that.
2905
68cf161c
LC
29062020-07-20 Ludovic Courtès <ludo@gnu.org>
2907
2908 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2909 error regexp to match on Guile 2.2.
2910
c14b4913
GB
29112020-07-20 Gary Benson <gbenson@redhat.com>
2912
2913 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2914 with clang.
2915
b243ba58
TV
29162020-07-20 Tom de Vries <tdevries@suse.de>
2917
2918 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2919 (omp_set_lock_in_order): New function.
2920 (single_scope, multi_scope, nested_func, nested_parallel): Use
2921 omp_set_lock_in_order and omp_unset_lock.
2922 (main): Init and destroy lock and lock2.
2923
c06ad8b5
TV
29242020-07-20 Tom de Vries <tdevries@suse.de>
2925
2926 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2927
6e22f117
TV
29282020-07-20 Tom de Vries <tdevries@suse.de>
2929
2930 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2931
33176ea7
TV
29322020-07-17 Tom de Vries <tdevries@suse.de>
2933
2934 * gdb.base/valgrind-infcall-2.c: New test.
2935 * gdb.base/valgrind-infcall-2.exp: New file.
2936 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2937
90c3ec2d
TV
29382020-07-17 Tom de Vries <tdevries@suse.de>
2939
2940 * gdb.dlang/circular.c (found): Use found_label as label name.
2941 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2942 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2943 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2944 * gdb.dwarf2/ada-linkage-name.exp: Same.
2945 * gdb.dwarf2/arr-subrange.exp: Same.
2946 * gdb.dwarf2/atomic-type.exp: Same.
2947 * gdb.dwarf2/comp-unit-lang.exp: Same.
2948 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2949 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2950 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2951 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2952 * gdb.dwarf2/implptr-64bit.exp: Same.
2953 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2954 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2955 * gdb.dwarf2/imported-unit.exp: Same.
2956 * gdb.dwarf2/main-subprogram.exp: Same.
2957 * gdb.dwarf2/missing-type-name.exp: Same.
2958 * gdb.dwarf2/nonvar-access.exp: Same.
2959 * gdb.dwarf2/struct-with-sig.exp: Same.
2960 * gdb.dwarf2/typedef-void-finish.exp: Same.
2961 * gdb.dwarf2/void-type.exp: Same.
2962
10da644d
TV
29632020-07-17 Tom de Vries <tdevries@suse.de>
2964
2965 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2966 src parameter.
2967 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2968 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2969 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2970 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2971 * gdb.dwarf2/dwz.exp: Same.
2972 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2973 * gdb.dwarf2/implref-array.exp: Same.
2974 * gdb.dwarf2/implref-const.exp: Same.
2975 * gdb.dwarf2/implref-global.exp: Same.
2976 * gdb.dwarf2/implref-struct.exp: Same.
2977 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2978 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2979 * gdb.dwarf2/var-access.exp: Same.
2980 * gdb.dwarf2/varval.exp: Same.
2981 * gdb.trace/entry-values.exp: Same.
2982
315e6afc
TV
29832020-07-17 Tom de Vries <tdevries@suse.de>
2984
2985 * lib/dwarf.exp (Dwarf::extern): Remove.
2986 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2987 * gdb.dlang/circular.exp: Same.
2988 * gdb.dwarf2/comp-unit-lang.exp: Same.
2989 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2990 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2991 * gdb.dwarf2/dwz.exp: Same.
2992 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2993 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2994 * gdb.dwarf2/imported-unit.exp: Same.
2995 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2996
5597c940
SL
29972020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2998
2999 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3000 Use double quotes instead of single quotes.
3001
d0ce17d8
CT
30022020-07-16 Caroline Tice <cmtice@google.com>
3003
3004 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3005 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3006
853772cc
TV
30072020-07-16 Tom de Vries <tdevries@suse.de>
3008
3009 * lib/dwarf.exp (program): Initialize _line.
3010 (DW_LNE_end_sequence): Reinitialize _line.
3011 (DW_LNS_advance_line): Update _line.
3012 (line): New proc.
3013 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3014 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3015 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3016 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3017 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3018 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3019
fe07b572
AB
30202020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3021
3022 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3023 generic.
3024
52781cce
TV
30252020-07-15 Tom de Vries <tdevries@suse.de>
3026
3027 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3028 is_amd64_regs_target.
3029
3dcc261c
AB
30302020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3031
3032 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3033 * gdb.fortran/ptype-on-functions.f90: Likewise.
3034
054a0959
SM
30352020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3036
3037 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3038 values in documentation for addr_size to 4 and 8.
3039
ccb9eba6
AB
30402020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3041
3042 * gdb.arch/amd64-osabi.exp: Update.
3043 * gdb.arch/arm-disassembler-options.exp: Update.
3044 * gdb.arch/powerpc-disassembler-options.exp: Update.
3045 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3046 * gdb.arch/s390-disassembler-options.exp: Update.
3047 * gdb.base/all-architectures.exp.tcl: Update.
3048 * gdb.base/attach-pie-noexec.exp: Update.
3049 * gdb.base/catch-syscall.exp: Update.
3050 * gdb.xml/tdesc-arch.exp: Update.
3051
025a39a7
TV
30522020-07-14 Tom de Vries <tdevries@suse.de>
3053
3054 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3055 (local_gettid): ... this.
3056 (fn): Update.
3057
74e4b667
SL
30582020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3059
3060 * gdb.base/info_sources.exp: Skip directory match tests on
3061 remote hosts.
3062
f413dd74
GB
30632020-07-13 Gary Benson <gbenson@redhat.com>
3064
3065 * gdb.base/savedregs.exp (caller): Use parentheses to
3066 make expected expression evaluation ordering explicit.
3067
915771bb
GB
30682020-07-13 Gary Benson <gbenson@redhat.com>
3069
3070 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3071
2a122642
GB
30722020-07-13 Gary Benson <gbenson@redhat.com>
3073
3074 * gdb.base/bigcore.c (main): Use a volatile pointer when
3075 attempting to trigger a SIGSEGV.
3076 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3077 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3078 * gdb.base/savedregs.c (thrower): Likewise.
3079 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3080
3f00c730
GB
30812020-07-13 Gary Benson <gbenson@redhat.com>
3082
3083 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3084 defining and using VLA structure fields into...
3085 * gdb.base/vla-struct-fields.c: New file.
3086 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3087 tests into...
3088 * gdb.base/vla-struct-fields.exp: New file.
3089
963eeee4
TV
30902020-07-13 Tom de Vries <tdevries@suse.de>
3091
3092 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3093 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3094 * gdb.base/gold-gdb-index.exp: Same.
3095 * gdb.base/morestack.exp: Same.
3096
0ed35c9a
DX
30972020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3098
3099 PR rust/26121
3100 * gdb.rust/modules.rs: Prevent linker from discarding test
3101 symbol.
3102
4fdba23d
PA
31032020-07-10 Pedro Alves <pedro@palves.net>
3104
3105 PR gdb/26199
3106 * gdb.multi/multi-target.c (exit_thread): New.
3107 (thread_start): Break loop if EXIT_THREAD.
3108 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3109 (top level) Call test_no_resumed.
3110
15f3b077
TT
31112020-07-08 Tom Tromey <tromey@adacore.com>
3112
3113 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3114 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3115
9fc501fd
AB
31162020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3117
3118 PR python/22748
3119 * gdb.opt/inline-frame-tailcall.c: New file.
3120 * gdb.opt/inline-frame-tailcall.exp: New file.
3121 * gdb.python/py-unwind-inline.c: New file.
3122 * gdb.python/py-unwind-inline.exp: New file.
3123 * gdb.python/py-unwind-inline.py: New file.
3124
64cb3757
AB
31252020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3126
3127 * gdb.python/py-arch-reg-groups.exp: New file.
3128
0f767f94
AB
31292020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3130
3131 * gdb.python/py-arch-reg-names.exp: New file.
3132
87dbc774
AB
31332020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3134
3135 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3136 gdb.PendingFrame.architecture method.
3137
d8cc8af6
TV
31382020-07-06 Tom de Vries <tdevries@suse.de>
3139
3140 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3141
3c8ea5be
PA
31422020-07-03 Pedro Alves <palves@redhat.com>
3143
3144 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3145 explicitly write negative numbers.
3146 * gdb.base/structs2.exp: Adjust expected output.
3147
bf90c83a
PA
31482020-07-03 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/charset.c (init_string): Change all char parameters to
3151 unsigned char parameters.
3152
2eb82157
PA
31532020-07-03 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/call-sc.exp (start_scalars_test): Use
3156 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3157 * gdb.base/overlays.c: Remove references to PARAMS.
3158 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3159 * gdb.base/reread.exp: Don't set 'prototypes' global.
3160 * gdb.base/structs.exp (start_structs_test): Use
3161 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3162 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3163 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3164 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3165 call.
3166 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3167
9adda7af
PA
31682020-07-03 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.base/m32rovly.c: Delete.
3171 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3172
2a17c803
PW
31732020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3174
3175 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3176 of gdb_py_test_multiple.
3177 * gdb.python/py-cmd.exp: Likewise.
3178 * gdb.python/py-events.exp: Likewise.
3179 * gdb.python/py-function.exp: Likewise.
3180 * gdb.python/py-inferior.exp: Likewise.
3181 * gdb.python/py-infthread.exp: Likewise.
3182 * gdb.python/py-linetable.exp: Likewise.
3183 * gdb.python/py-parameter.exp: Likewise.
3184 * gdb.python/py-value.exp: Likewise.
3185
b011fe1a
TV
31862020-06-30 Tom de Vries <tdevries@suse.de>
3187
3188 PR testsuite/26175
3189 * lib/future.exp (gdb_default_target_compile): Detect and handle
3190 early_flags.
3191
df5b8876
SM
31922020-06-29 Simon Marchi <simon.marchi@efficios.com>
3193
3194 * boards/simavr.exp (gdb_load): Catch errors when closing
3195 previous connection. Close connection, wait for process and
3196 unset simavr_spawn_id on failure.
3197
a3ca48cd
TV
31982020-06-29 Tom de Vries <tdevries@suse.de>
3199
3200 * lib/gdb.exp (unknown): Make test-case unresolved.
3201
b0237c0e
TV
32022020-06-29 Tom de Vries <tdevries@suse.de>
3203
3204 PR gdb/25475
3205 * gdb.server/solib-list.exp: Verify that the symbol reload
3206 confirmation question is asked.
3207
c0b3b3bd
PW
32082020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3209
3210 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3211 have a input seq nr in each pass message.
fe4c3d43 3212 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3213 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3214 * gdb.python/python.exp: Make test names unique,
3215 use gdb_test_multiline instead of gdb_py_test_multiple,
3216 use $gdb_test_name.
3217 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3218
1776e3e5
NA
32192020-06-26 Nick Alcock <nick.alcock@oracle.com>
3220
3221 * configure.ac: Add --enable-libctf.
3222 * aclocal.m4: sinclude ../config/enable.m4.
3223 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3224 * lib/gdb.exp (skip_ctf_tests): Use it.
3225 * gdb.base/ctf-constvars.exp: Error message tweak.
3226 * gdb.base/ctf-ptype.exp: Likewise.
3227 * configure: Regenerate.
3228
f53b3eeb
GB
32292020-06-26 Gary Benson <gbenson@redhat.com>
3230
3231 * gdb.cp/try_catch.cc: Include string.h.
3232 (main): Replace comparison against string literal with
3233 strcmp, avoiding build failure with -Wstring-compare.
3234 Add "marker test-complete".
3235 * gdb.cp/try_catch.exp: Run the test to the above marker,
3236 then verify that the value of "test" is still true.
3237
6d74da72
AB
32382020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3239
3240 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3241
2e52d038
AB
32422020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3245
3b9fce96
AB
32462020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3247
3248 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3249 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3250 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3251 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3252 * gdb.arch/riscv-tdesc-loading.exp: New file.
3253
ed69cbc8
AB
32542020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3255
3256 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3257
767a879e
AB
32582020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3259
3260 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3261 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3262 * gdb.arch/riscv-tdesc-regs.c: New file.
3263 * gdb.arch/riscv-tdesc-regs.exp: New file.
3264
221db974
PA
32652020-06-24 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.arch/amd64-entry-value-paramref.exp: Use
3268 prepare_for_testing_full and don't pass "c++" for the .S file
3269 build spec.
3270 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3271 $options, since it's an assembly file. Remove -Wno-deprecated.
3272 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3273 compiling C++ programs.
3274
331733cd
PA
32752020-06-24 Pedro Alves <palves@redhat.com>
3276
3277 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3278 Clang, add "-Wno-unknown-warning-option" to the options.
3279
caa7fd04
AB
32802020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3281
3282 * gdb.xml/tdesc-reload.c: New file.
3283 * gdb.xml/tdesc-reload.exp: New file.
3284 * gdb.xml/maint-xml-dump-01.xml: New file.
3285 * gdb.xml/maint-xml-dump-02.xml: New file.
3286 * gdb.xml/maint-xml-dump.exp: New file.
3287
bb8d1260
SL
32882020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3289
3290 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3291 Adjust for omitted commands when TUI is disabled.
3292
7e4b9c4c
GB
32932020-06-23 Gary Benson <gbenson@redhat.com>
3294 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3297 * gdb.cp/nsimport.cc: Likewise.
3298 * gdb.cp/nsnested.cc: Likewise.
3299 * gdb.cp/nsnoimports.cc: Likewise.
3300 * gdb.cp/nsusing.cc: Likewise.
3301 * gdb.cp/smartp.cc: Likewise.
3302 * gdb.python/py-pp-integral.c: Likewise.
3303 * gdb.python/py-pp-re-notag.c: Likewise.
3304
2e573c0a
GB
33052020-06-23 Gary Benson <gbenson@redhat.com>
3306
3307 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3308 * gdb.cp/nsimport.cc: Likewise.
3309 * gdb.cp/nsnested.cc: Likewise.
3310 * gdb.cp/nsnoimports.cc: Likewise.
3311 * gdb.cp/nsusing.cc: Likewise.
3312 * gdb.cp/smartp.cc: Likewise.
3313 * gdb.python/py-pp-integral.c: Likewise.
3314 * gdb.python/py-pp-re-notag.c: Likewise.
3315
746ebfe8
PW
33162020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3317
3318 * gdb.base/default-args.exp: New test.
3319 * gdb.base/default-args.c: New file.
3320 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3321 * gdb.base/default.exp: Update to new help text.
3322 * gdb.base/help.exp: Likewise.
3323 * gdb.base/page.exp: Likewise.
3324 * gdb.base/style.exp: Likewise.
3325 * gdb.guile/guile.exp: Likewise.
3326 * gdb.python/python.exp: Likewise.
3327
e822f2cd
SL
33282020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3329
3330 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3331 remote host. Fix search path syntax on Windows host.
3332
48e9cc84
PW
33332020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3334
3335 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3336 over 'exec-file-mismatch'.
3337 * gdb.base/attach.c: Mark should_exit volatile.
3338 * gdb.base/attach2.c: Likewise. Add a comment explaining
3339 why the sleep cannot be big.
3340 * gdb.base/attach3.c: New file.
3341
160f8a8f
SL
33422020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3343
3344 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3345 prefix optional.
3346
4d91c2a4
SL
33472020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3348
3349 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3350 for remote host.
3351
87f83f20
SL
33522020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3353 Hafiz Abid Qadeer <abidh@codesourcery.com>
3354
3355 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3356 file sent to remote host.
3357 (top level): Allow int32_t as type of 32-bit register.
3358
37ab8655
TV
33592020-06-19 Tom de Vries <tdevries@suse.de>
3360
3361 * lib/gdb.exp (gdb_note): New proc.
3362 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3363 (gdb_default_target_compile): ... here. Only call
3364 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3365 (use_gdb_compile): Change to array.
3366 (toplevel): Update sets of use_gdb_compile to specify language.
3367 Warn about default_target_compile override. Store dejagnu's version
3368 of default_target_compile in dejagnu_default_target_compile.
3369
a8a56685
TV
33702020-06-18 Tom de Vries <tdevries@suse.de>
3371
3372 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3373 (default_gdb_init): ... here.
3374
581bea2c
SL
33752020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3376
3377 Fix TUI support checks in gdb.tui tests.
3378
3379 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3380 just say UNSUPPORTED.
3381 * gdb.tui/corefile-run.exp: Likewise.
3382 * gdb.tui/empty.exp: Likewise.
3383 * gdb.tui/list-before.exp: Likewise.
3384 * gdb.tui/list.exp: Likewise.
3385 * gdb.tui/main.exp: Likewise.
3386 * gdb.tui/regs.exp: Likewise.
3387 * gdb.tui/resize.exp: Likewise.
3388 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3389 * gdb.tui/tui-layout-asm.exp: Likewise.
3390 * gdb.tui/tui-missing-src.exp: Likewise.
3391 * gdb.tui/winheight.exp: Likewise.
3392 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3393
05e682e3
SL
33942020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3395
3396 Fix TCL error in gdb.python/py-format-string.exp.
3397
3398 * gdb.python/py-format-string.exp: Move test for python support
3399 earlier, out of function body.
3400
efb763a5
SM
34012020-06-15 Simon Marchi <simon.marchi@efficios.com>
3402
3403 * gdb.base/index-cache-load-twice.c: New.
3404 * gdb.base/index-cache-load-twice.exp: New.
3405
43327b20
KS
34062020-06-17 Keith Seitz <keiths@redhat.com>
3407
99cf27cf 3408 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3409 when executing "gdb --configuration".
3410
081e778c
TV
34112020-06-17 Tom de Vries <tdevries@suse.de>
3412
3413 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3414 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3415 conditional on presence of gdb_tcl_unknown.
3416 (gdb_finish): Make override undo conditional on presence of
3417 gdb_tcl_unknown.
3418
d2d1ea20
TT
34192020-06-16 Tom Tromey <tom@tromey.com>
3420
3421 * gdb.python/tui-window.py (failwin): New function. Register it
3422 as a TUI window type.
3423 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3424
c802e8a7
GB
34252020-06-16 Gary Benson <gbenson@redhat.com>
3426
3427 * gdb.python/py-nested-maps.c (create_map): Add missing return
3428 value.
3429 (create_map_map): Likewise.
3430
ff08abb8
TBA
34312020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3432
3433 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3434 variable.
3435 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3436 and use the already-defined 'options' variable.
3437
a29d5112
AB
34382020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3439 Tom de Vries <tdevries@suse.de>
3440
3441 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3442 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3443 (gdb_setup_known_globals): New proc.
3444 (gdb_cleanup_globals): New proc.
3445 * lib/gdb.exp (load_lib): New override proc.
3446 (gdb_stdin_log_init): Set var in_file as persistent global.
3447 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3448 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3449 fpc_compiler as persistent global.
3450
8c74a764
TV
34512020-06-12 Tom de Vries <tdevries@suse.de>
3452
3453 * lib/tuiterm.exp (spawn): Rename to ...
3454 (tui_spawn): ... this.
3455 (toplevel): Move rename of spawn ...
3456 (gdb_init_tuiterm): ... here. New proc.
3457 (gdb_finish_tuiterm): New proc.
3458 * lib/gdb.exp (gdb_finish_hooks): New global var.
3459 (gdb_finish): Handle gdb_finish_hooks.
3460 (tuiterm_env): New proc.
3461 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3462 tuiterm_env.
3463 * gdb.tui/basic.exp: Same.
3464 * gdb.tui/corefile-run.exp: Same.
3465 * gdb.tui/empty.exp: Same.
3466 * gdb.tui/list-before.exp: Same.
3467 * gdb.tui/list.exp: Same.
3468 * gdb.tui/main.exp: Same.
3469 * gdb.tui/new-layout.exp: Same.
3470 * gdb.tui/regs.exp: Same.
3471 * gdb.tui/resize.exp: Same.
3472 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3473 * gdb.tui/tui-layout-asm.exp: Same.
3474 * gdb.tui/tui-missing-src.exp: Same.
3475 * gdb.tui/winheight.exp: Same.
3476
26783bce
TV
34772020-06-12 Tom de Vries <tdevries@suse.de>
3478
3479 PR testsuite/26110
3480 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3481 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3482
2b4e6a3f
TT
34832020-06-11 Tom Tromey <tom@tromey.com>
3484
3485 PR gdb/18318:
3486 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3487 floating point tests.
3488
2f33032a
KS
34892020-06-11 Keith Seitz <keiths@redhat.com>
3490
3491 PR gdb/21356
3492 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3493 vla_struct.
3494 Add new struct vla_typedef and union vla_typedef_union and
3495 corresponding instantiation objects.
3496 Initialize new objects.
3497 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3498 and vla_typedef_union_object.
3499 Fixup type for vla_struct_object.
3500
a8baf0a3
TV
35012020-06-11 Tom de Vries <tdevries@suse.de>
3502
3503 * lib/gdb.exp (with_override): New proc, factored out of ...
3504 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3505
7ab96794
TV
35062020-06-10 Tom de Vries <tdevries@suse.de>
3507
3508 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3509
cab5c3b7
SM
35102020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3511
3512 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3513 parameter, update callers.
3514
f8c41851
SM
35152020-06-04 Simon Marchi <simon.marchi@efficios.com>
3516
3517 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3518 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3519 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3520
1c07a73f
TV
35212020-06-04 Tom de Vries <tdevries@suse.de>
3522
3523 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3524
95146b5d
TV
35252020-06-04 Tom de Vries <tdevries@suse.de>
3526
3527 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3528 exp_continue.
3529
0cfcd4f0
TV
35302020-06-04 Tom de Vries <tdevries@suse.de>
3531
3532 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3533
f9b5d5ea
TV
35342020-06-03 Tom de Vries <tdevries@suse.de>
3535
3536 PR symtab/26046
3537 * gdb.cp/breakpoint-locs-2.cc: New test.
3538 * gdb.cp/breakpoint-locs.cc: New test.
3539 * gdb.cp/breakpoint-locs.exp: New file.
3540 * gdb.cp/breakpoint-locs.h: New test.
3541
5144dfba
TV
35422020-06-03 Tom de Vries <tdevries@suse.de>
3543
3544 PR testsuite/25609
3545 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3546 value of global verbose.
3547 * gdb.base/jit-elf.exp: Same.
3548 * gdb.base/jit-reader.exp: Same.
3549
621eacdf
TV
35502020-06-02 Tom de Vries <tdevries@suse.de>
3551
3552 * gdb.dwarf2/multidictionary.exp: Don't use
3553 gdb_spawn_with_cmdline_opts.
3554
1313c56e
AB
35552020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3558 use_header case.
3559 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3560 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3561 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3562 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3563 * gdb.dwarf2/dw2-inline-header.c: New file.
3564 * gdb.dwarf2/dw2-inline-header.h: New file.
3565
f68f85b5
PA
35662020-05-30 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3569 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3570
678048e8
GB
35712020-05-29 Gary Benson <gbenson@redhat.com>
3572
3573 * gdb.compile/compile-cplus.exp (additional_flags): Also
3574 set when building with clang.
3575 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3576 when building with clang.
3577
9fcafd23
GB
35782020-05-29 Gary Benson <gbenson@redhat.com>
3579
3580 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3581 building with clang.
3582 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3583
735d5a07
GB
35842020-05-29 Gary Benson <gbenson@redhat.com>
3585
3586 * gdb.cp/koenig.exp (prepare_for_testing): Add
3587 additional_flags=-Wno-unused-comparison.
3588 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3589
4ad2c6a0
GB
35902020-05-28 Gary Benson <gbenson@redhat.com>
3591
3592 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3593 statement.
3594
09fe663e
GB
35952020-05-28 Gary Benson <gbenson@redhat.com>
3596
3597 * gdb.cp/classes.exp (prepare_for_testing): Add
3598 additional_flags=-Wno-deprecated-register.
3599 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3600 * gdb.cp/misc.exp: Likewise.
3601
cee00f17
GB
36022020-05-28 Gary Benson <gbenson@redhat.com>
3603
3604 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3605 (test_op_new::operator new): Add return statement.
3606 (test_op_new_array::operator new[]): Likewise.
3607
636edd00
PA
36082020-05-27 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3611 check. Use test_gdb_complete_unique instead of
3612 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3613 test_gdb_complete_multiple instead of
3614 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3615
c2b75043
LM
36162020-05-27 Luis Machado <luis.machado@linaro.org>
3617
3618 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3619 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3620 * gdb.arch/arm-disassembler-options.exp: Likewise.
3621 * gdb.arch/arm-disp-step.exp: Likewise.
3622 * gdb.arch/thumb-prologue.exp: Likewise.
3623 * gdb.base/async.exp: Likewise.
3624 * gdb.base/auxv.exp: Likewise.
3625 * gdb.base/complex-parts.exp: Likewise.
3626 * gdb.base/ena-dis-br.exp: Likewise.
3627 * gdb.base/foll-exec.exp: Likewise.
3628 * gdb.base/permissions.exp: Likewise.
3629 * gdb.base/relocate.exp: Likewise.
3630 * gdb.base/return2.exp: Likewise.
3631 * gdb.base/sigbpt.exp: Likewise.
3632 * gdb.base/siginfo-obj.exp: Likewise.
3633 * gdb.cp/converts.exp: Likewise.
3634 * gdb.cp/exceptprint.exp: Likewise.
3635 * gdb.cp/inherit.exp: Likewise.
3636 * gdb.cp/nsnoimports.exp: Likewise.
3637 * gdb.cp/virtbase2.exp: Likewise.
3638 * gdb.mi/mi-var-cmd.exp: Likewise.
3639 * gdb.mi/var-cmd.c: Likewise.
3640
53a47a3e
TT
36412020-05-26 Tom Tromey <tromey@adacore.com>
3642
3643 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3644
0bc2354b
TT
36452020-05-26 Tom Tromey <tromey@adacore.com>
3646
3647 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3648 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3649 type.
3650 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3651 variable.
3652
0db49895
CBG
36532020-05-26 Christian Biesinger <cbiesinger@google.com>
3654
3655 * Makefile.in: Use = instead of == for the test command
3656 for portability.
3657
40d22035
TV
36582020-05-26 Tom de Vries <tdevries@suse.de>
3659
3660 * gdb.base/gold-gdb-index-2.c: New test.
3661 * gdb.base/gold-gdb-index.c: New test.
3662 * gdb.base/gold-gdb-index.exp: New file.
3663 * gdb.base/gold-gdb-index.h: New test.
3664
043e2e02
TV
36652020-05-25 Tom de Vries <tdevries@suse.de>
3666
3667 * boards/gold-gdb-index.exp: New file.
3668
462f72c5
SM
36692020-05-25 Simon Marchi <simon.marchi@efficios.com>
3670
3671 * boards/simavr.exp: New file.
3672
6cf66e76
SM
36732020-05-25 Simon Marchi <simon.marchi@efficios.com>
3674
3675 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3676 * gdb.base/inferior-args.exp: New file.
3677 * gdb.base/inferior-args.c: New file.
3678
75d04512
SM
36792020-05-25 Simon Marchi <simon.marchi@efficios.com>
3680
3681 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3682 inferior_args. Pass it to gdb_reload.
3683 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3684 inferior_args.
3685 (gdb_reload): Add inferior_args argument.
3686 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3687 pass it to gdbserver_run.
3688 * boards/native-gdbserver.exp: Do not set noargs.
3689 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3690 inferior_args argument.
3691 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3692 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3693 * gdb.base/args.exp: Likewise.
3694
42cf1844
TV
36952020-05-25 Tom de Vries <tdevries@suse.de>
3696
3697 * lib/gdb.exp (exec_is_pie): Add comment.
3698
8f7d38ef
TV
36992020-05-25 Tom de Vries <tdevries@suse.de>
3700
3701 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3702 instead of $binfile in the untested message.
3703
465e1b0f
TV
37042020-05-25 Tom de Vries <tdevries@suse.de>
3705
3706 PR testsuite/26031
3707 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3708
3c5a0e02
TV
37092020-05-25 Tom de Vries <tdevries@suse.de>
3710
3711 * boards/gold.exp: New file.
3712
0a4f5f8c
TT
37132020-05-23 Tom Tromey <tom@tromey.com>
3714
3715 * gdb.base/style.exp: Remove completion styling test.
3716 * lib/gdb-utils.exp (style): Remove completion styles.
3717
eca1f90c
TT
37182020-05-23 Tom Tromey <tom@tromey.com>
3719
3720 * gdb.base/style.exp: Add completion styling test.
3721 * lib/gdb-utils.exp (style): Add completion styles.
3722
7c13f4e8
AB
37232020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3724
3725 * gdb.base/annota1.exp: Update expected results.
3726 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3727 test name.
3728 * gdb.cp/annota3.exp: Update expected results.
3729
41977d16
SM
37302020-05-20 Simon Marchi <simon.marchi@efficios.com>
3731
3732 PR gdb/26016
3733 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3734 against MAP_FAILED.
3735 * gdb.base/coremaker.c (mmapdata): Likewise.
3736 * gdb.base/jit-reader-host.c (main): Likewise.
3737 * gdb.base/sym-file-loader.c (load): Likewise.
3738 (load_shlib): Likewise.
3739
b4757f2e
TT
37402020-05-20 Tom Tromey <tromey@adacore.com>
3741
3742 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3743
9a0bacfb
TV
37442020-05-20 Tom de Vries <tdevries@suse.de>
3745
3746 PR symtab/25833
3747 * gdb.base/with-mf-inc.c: New test.
3748 * gdb.base/with-mf-main.c: New test.
3749 * gdb.base/with-mf.exp: New file.
3750
76571211
TT
37512020-05-19 Tom Tromey <tromey@adacore.com>
3752
3753 * gdb.rust/simple.exp: Restore missing test result.
3754
4cd9f3d5
TV
37552020-05-19 Tom de Vries <tdevries@suse.de>
3756
3757 * gdb.base/gdb-caching-proc.exp: Fix typo.
3758
7d874253
TT
37592020-05-19 Tom Tromey <tromey@adacore.com>
3760
3761 * gdb.rust/simple.exp: Add some test descriptions.
3762 (test_one_slice): Use with_test_prefix.
3763
1d727695
TV
37642020-05-18 Tom de Vries <tdevries@suse.de>
3765
3766 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3767
7f32a4d5
PA
37682020-05-17 Pedro Alves <palves@redhat.com>
3769
3770 PR gdb/25741
3771 * gdb.base/hw-sw-break-same-address.exp: New file.
3772
7cfd74cf
PA
37732020-05-16 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3776 LAST_LOADED_FILE accordingly.
3777
57b4f16e
PW
37782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3779
3780 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3781
7c05caf7
PW
37822020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3783
3784 * gdb.base/help.exp: Test apropos and help for commands
3785 having aliases. Fixed comments not starting with an
3786 upper-case letter or not finishing with a dot.
3787
7aa1b46f
PW
37882020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3789
3b3aaacb
PW
3790 * gdb.base/alias.exp: Update help output check.
3791
57b4f16e 37922020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3793
7aa1b46f
PW
3794 * gdb.base/default.exp: Update output following fixes.
3795
0605465f
PW
37962020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3797
3798 * gdb.base/alias.exp: Test aliases starting with a prefix of
3799 another alias.
3800
86e4e63d
GB
38012020-05-15 Gary Benson <gbenson@redhat.com>
3802
3803 * gdb.base/info-os.c (main): Add return statement.
3804 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3805 * gdb.base/large-frame-2.c (func): Likewise.
3806 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3807 * gdb.base/pr10179-b.c (foo2): Likewise.
3808 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3809 * gdb.base/watch-cond.c (func): Likewise.
3810 * gdb.multi/goodbye.c (verylongfun): Likewise.
3811 * gdb.multi/hello.c (commonfun): Likewise.
3812 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3813 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3814 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3815 Likewise.
3816 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3817 * gdb.threads/interrupt-while-step-over.c (child_function):
3818 Likewise.
3819 * gdb.trace/actions-changed.c (end): Likewise.
3820
163df4df
GB
38212020-05-15 Gary Benson <gbenson@redhat.com>
3822
3823 * gdb.opencl/callfuncs.exp: Report when test skipped.
3824 * gdb.opencl/convs_casts.exp: Likewise.
3825 * gdb.opencl/datatypes.exp: Likewise.
3826 * gdb.opencl/operators.exp: Likewise.
3827 * gdb.opencl/vec_comps.exp: Likewise.
3828
6dbc505a
TV
38292020-05-15 Tom de Vries <tdevries@suse.de>
3830
3831 * gdb.base/align.exp.in: Rename to ...
3832 * gdb.base/align.exp.tcl: ... this.
3833 * gdb.base/align-c++.exp: Update.
3834 * gdb.base/align-c.exp: Update.
3835 * gdb.base/all-architectures.exp.in: Rename to ...
3836 * gdb.base/all-architectures.exp: ... this.
3837 * gdb.base/all-architectures-0.exp: Update.
3838 * gdb.base/all-architectures-1.exp: Update.
3839 * gdb.base/all-architectures-2.exp: Update.
3840 * gdb.base/all-architectures-3.exp: Update.
3841 * gdb.base/all-architectures-4.exp: Update.
3842 * gdb.base/all-architectures-5.exp: Update.
3843 * gdb.base/all-architectures-6.exp: Update.
3844 * gdb.base/all-architectures-7.exp: Update.
3845 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3846 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3847 * gdb.base/infcall-nested-structs-c++.exp: Update.
3848 * gdb.base/infcall-nested-structs-c.exp: Update.
3849 * gdb.base/info-types.exp.in: Rename to ...
3850 * gdb.base/info-types.exp.tcl: ... this.
3851 * gdb.base/info-types-c++.exp: Update.
3852 * gdb.base/info-types-c.exp: Update.
3853 * gdb.base/max-depth.exp.in: Rename to ...
3854 * gdb.base/max-depth.exp.tcl: ... this.
3855 * gdb.base/max-depth-c++.exp: Update.
3856 * gdb.base/max-depth-c.exp: Update.
3857 * gdb.cp/cpexprs.exp.in: Rename to ...
3858 * gdb.cp/cpexprs.exp.tcl: ... this.
3859 * gdb.cp/cpexprs-debug-types.exp: Update.
3860 * gdb.cp/cpexprs.exp: Update.
3861 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3862 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3863 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3864 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3865 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3866 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3867 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3868 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3869 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3870 * gdb.dwarf2/clang-debug-names.exp: Update.
3871
d1034d78
AB
38722020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3873
3874 * lib/check-test-names.exp: Remove code that prevents this file
3875 loading when tests are run in parallel.
3876
3c5c3649
PA
38772020-05-15 Pedro Alves <palves@redhat.com>
3878
3879 * gdb.multi/multi-kill.exp (start_inferior): Remove
3880 'testpid' parameter. Refer to namespace variable directly.
3881 (testpid): Declare as namespace variable.
3882
272c36b8
PA
38832020-05-15 Pedro Alves <palves@redhat.com>
3884
3885 * gdb.multi/multi-kill.exp: Wrap in namespace.
3886 (start_inferior): Add TESTPID parameter. Use it instead of the
3887 testpid global.
3888 (top level): Define empty TESTPID array, and pass it down to
3889 start_inferior.
3890
02eba61a
TV
38912020-05-14 Tom de Vries <tdevries@suse.de>
3892
3893 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3894 output.
3895
971a3747
TV
38962020-05-14 Tom de Vries <tdevries@suse.de>
3897
3898 * gdb.base/align.exp: Split into ...
3899 * gdb.base/align.exp.in: ...
3900 * gdb.base/align-c++.exp: ...
3901 * gdb.base/align-c.exp: ... these.
3902 * gdb.base/infcall-nested-structs.exp: Split into ...
3903 * gdb.base/infcall-nested-structs.exp.in: ...
3904 * gdb.base/infcall-nested-structs-c++.exp: ...
3905 * gdb.base/infcall-nested-structs-c.exp: ... these.
3906 * gdb.base/info-types.exp: Split into ...
3907 * gdb.base/info-types.exp.in: ...
3908 * gdb.base/info-types-c++.exp: ...
3909 * gdb.base/info-types-c.exp: ... these.
3910 * gdb.base/max-depth.exp: Split into ...
3911 * gdb.base/max-depth.exp.in: ...
3912 * gdb.base/max-depth-c++.exp: ...
3913 * gdb.base/max-depth-c.exp: ... these.
3914 * gdb.cp/infcall-nodebug.exp: Split into ...
3915 * gdb.cp/infcall-nodebug.exp.in: ...
3916 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3917 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3918 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3919 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3920
a05575d3
TBA
39212020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3922 Pedro Alves <palves@redhat.com>
3923
3924 * gdb.multi/multi-exit.c: New file.
3925 * gdb.multi/multi-exit.exp: New file.
3926 * gdb.multi/multi-kill.c: New file.
3927 * gdb.multi/multi-kill.exp: New file.
3928
6ad82919
TBA
39292020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3930
3931 * gdb.base/annota1.exp: Update the expected output.
3932 * gdb.cp/annota2.exp: Ditto.
3933
843f4d93
AB
39342020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3935
3936 * lib/check-test-names.exp: Disable when testing is being run in
3937 parallel.
3938
c7c66341
TV
39392020-05-12 Tom de Vries <tdevries@suse.de>
3940
3941 * gdb.base/jit-elf.exp: Fix string concat.
3942
1b59ca1c
TV
39432020-05-12 Tom de Vries <tdevries@suse.de>
3944
3945 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3946 messages.
3947
b4991d29
TV
39482020-05-12 Tom de Vries <tdevries@suse.de>
3949
3950 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3951
dbb0ab10
TV
39522020-05-12 Tom de Vries <tdevries@suse.de>
3953
3954 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3955 * gdb.ada/mi_catch_ex.exp: Same.
3956 * gdb.ada/mi_catch_ex_hand.exp: Same.
3957
7549fed8
TV
39582020-05-12 Tom de Vries <tdevries@suse.de>
3959
3960 * gdb.fortran/complex.exp: Use with_test_prefix.
3961
af2d5cd8
TV
39622020-05-12 Tom de Vries <tdevries@suse.de>
3963
3964 * gdb.trace/passcount.exp: Fix test-names.
3965
7c121311
TV
39662020-05-12 Tom de Vries <tdevries@suse.de>
3967
3968 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3969
c9f3b40e
TV
39702020-05-12 Tom de Vries <tdevries@suse.de>
3971
3972 * gdb.gdb/complaints.exp: Use with_test_prefix.
3973 * gdb.xml/tdesc-regs.exp: Same.
3974 * gdb.opt/inline-locals.exp: Fix test name.
3975
111b33f0
TV
39762020-05-12 Tom de Vries <tdevries@suse.de>
3977
3978 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3979 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3980 * gdb.dwarf2/implref-struct.exp: Same.
3981 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3982 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3983
ebf47080
SM
39842020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3985
3986 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3987
d30dcd12
AB
39882020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3989
3990 * lib/check-test-names.exp (all_test_names): New module variable.
3991 (counts): Add 'duplicates' field.
3992 (_check_duplicates): New procedure.
3993 (check): Also check for duplicates.
3994 (do_log_summary): Print duplicates count.
3995 (do_reset_vars): Reset counter for duplicate test names, and
3996 discard all know test names.
3997
34584c09
AB
39982020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3999
4000 * lib/gdb.exp: Include check-test-names.exp library.
4001 * lib/check-test-names.exp: New file.
4002
e0002117
TV
40032020-05-11 Tom de Vries <tdevries@suse.de>
4004
4005 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4006
53f539a3
KS
40072020-05-11 Keith Seitz <keiths@redhat.com>
4008
4009 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4010
113ee09a
TV
40112020-05-11 Tom de Vries <tdevries@suse.de>
4012
4013 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4014 * gdb.cp/cpexprs.exp.in: .. here.
4015 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4016 cpexprs.exp.
4017
ba3e70b0
KS
40182020-05-11 Keith Seitz <keiths@redhat.com>
4019
4020 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4021 test names.
4022 * gdb.ada/arrayptr.exp: Likewise.
4023 * gdb.ada/assign_arr.exp: Likewise.
4024 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4025 * gdb.ada/bp_on_var.exp: Likewise.
4026 * gdb.ada/call_pn.exp: Likewise.
4027 * gdb.ada/complete.exp: Likewise.
4028 * gdb.ada/fun_overload_menu.exp: Likewise.
4029 * gdb.ada/funcall_param.exp: Likewise.
4030 * gdb.ada/funcall_ref.exp: Likewise.
4031 * gdb.ada/packed_array_assign.exp: Likewise.
4032 * gdb.ada/same_component_name.exp: Likewise.
4033 * gdb.ada/type_coercion.exp: Likewise.
4034 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4035 * gdb.ada/variant_record_packed_array.exp: Likewise.
4036
3ee6bb11
TV
40372020-05-11 Tom de Vries <tdevries@suse.de>
4038
4039 PR symtab/25941
4040 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4041 out of ...
4042 * gdb.dwarf2/clang-debug-names.exp: ... here.
4043 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4044 clang-debug-names.exp.in.
4045 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4046 * gdb.dwarf2/clang-debug-names-2.c: New test.
4047
86cd6bc8
AKS
40482020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4049
4050 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4051 (fortran_runto_main): New Proc, fortran version of runto_main.
4052 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4053 * gdb.fortran/array-bounds.exp: Likewise.
4054 * gdb.fortran/array-slices.exp: Likewise.
4055 * gdb.fortran/block-data.exp: Likewise.
4056 * gdb.fortran/charset.exp: Likewise.
4057 * gdb.fortran/common-block.exp: Likewise.
4058 * gdb.fortran/complex.exp: Likewise.
4059 * gdb.fortran/derived-type-function.exp: Likewise.
4060 * gdb.fortran/derived-type.exp: Likewise.
4061 * gdb.fortran/info-modules.exp: Likewise.
4062 * gdb.fortran/info-types.exp: Likewise.
4063 * gdb.fortran/intrinsics.exp: Likewise.
4064 * gdb.fortran/library-module.exp: Likewise.
4065 * gdb.fortran/logical.exp: Likewise.
4066 * gdb.fortran/max-depth.exp: Likewise.
4067 * gdb.fortran/module.exp: Likewise.
4068 * gdb.fortran/multi-dim.exp: Likewise.
4069 * gdb.fortran/nested-funcs.exp: Likewise.
4070 * gdb.fortran/print-formatted.exp: Likewise.
4071 * gdb.fortran/print_type.exp: Likewise.
4072 * gdb.fortran/printing-types.exp: Likewise.
4073 * gdb.fortran/ptr-indentation.exp: Likewise.
4074 * gdb.fortran/ptype-on-functions.exp: Likewise.
4075 * gdb.fortran/subarray.exp: Likewise.
4076 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4077 * gdb.fortran/vla-datatypes.exp: Likewise.
4078 * gdb.fortran/vla-history.exp: Likewise.
4079 * gdb.fortran/vla-ptr-info.exp: Likewise.
4080 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4081 * gdb.fortran/vla-ptype.exp: Likewise.
4082 * gdb.fortran/vla-sizeof.exp: Likewise.
4083 * gdb.fortran/vla-type.exp: Likewise.
4084 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4085 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4086 * gdb.fortran/vla-value-sub.exp: Likewise.
4087 * gdb.fortran/vla-value.exp: Likewise.
4088 * gdb.fortran/whatis_type.exp: Likewise.
4089 * gdb.mi/mi-var-child-f.exp: Likewise.
4090
6dc55ce9 40912020-05-09 Tom de Vries <tdevries@suse.de>
4092
4093 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4094
283cb58c
TV
40952020-05-08 Tom de Vries <tdevries@suse.de>
4096
4097 * gdb.dwarf2/clang-debug-names.c: New test.
4098 * gdb.dwarf2/clang-debug-names.exp: New file.
4099
ac4a4f1c
SM
41002020-05-06 Simon Marchi <simon.marchi@efficios.com>
4101
4102 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4103 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4104
24fe640b
TV
41052020-05-06 Tom de Vries <tdevries@suse.de>
4106
4107 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4108 breakpoint is at a "recommended breakpoint location".
4109 * gdb.reverse/consecutive-reverse.exp: Same.
4110
0d8683a3
TV
41112020-05-06 Tom de Vries <tdevries@suse.de>
4112
4113 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4114 address.
4115
b8983c46
TV
41162020-05-06 Tom de Vries <tdevries@suse.de>
4117
4118 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4119
abf6d805
TV
41202020-05-06 Tom de Vries <tdevries@suse.de>
4121
4122 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4123 info for r.
4124
0fc2a808
TV
41252020-05-06 Tom de Vries <tdevries@suse.de>
4126
4127 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4128 necessary.
4129
873dd427
TV
41302020-05-06 Tom de Vries <tdevries@suse.de>
4131
4132 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4133 void.
4134
7c99e7e2
TV
41352020-05-06 Tom de Vries <tdevries@suse.de>
4136
4137 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4138 of ...
4139 * gdb.base/async.exp: ... here.
4140 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4141 "recommended breakpoint location".
4142
6173d6a6
TV
41432020-05-06 Tom de Vries <tdevries@suse.de>
4144
4145 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4146
6015a067
TV
41472020-05-04 Tom de Vries <tdevries@suse.de>
4148
4149 * gdb.base/async.exp: Check whether instruction addresses are a
4150 "recommended breakpoint location".
4151
3b6acaee
TT
41522020-05-03 Tom Tromey <tom@tromey.com>
4153
4154 * gdb.base/sepdebug.exp: Remove "catch" test.
4155 * gdb.base/break.exp: Remove "catch" test.
4156 * gdb.base/default.exp: Update expected output.
4157
5beb4d17
TV
41582020-05-02 Tom de Vries <tdevries@suse.de>
4159
4160 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4161 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4162 * gdb.arch/i386-mpx-map.exp: Same.
4163 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4164 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4165 * gdb.arch/i386-mpx.exp: Same.
4166
8caf140d
TV
41672020-05-02 Tom de Vries <tdevries@suse.de>
4168
4169 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4170
693196cb
TV
41712020-05-01 Tom de Vries <tdevries@suse.de>
4172
4173 * gdb.ada/operator_bp.exp: Allow more than required amount of
4174 breakpoint.
4175
53ae0aa9
TV
41762020-05-01 Tom de Vries <tdevries@suse.de>
4177
4178 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4179
ee9d1e5f
HD
41802020-04-30 Hannes Domani <ssbssa@yahoo.de>
4181
4182 PR gdb/18706
4183 * gdb.cp/stub-array-size.cc: New test.
4184 * gdb.cp/stub-array-size.exp: New file.
4185 * gdb.cp/stub-array-size.h: New test.
4186 * gdb.cp/stub-array-size2.cc: New test.
4187
d5cf82c0
HD
41882020-04-30 Hannes Domani <ssbssa@yahoo.de>
4189
4190 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4191 output to the new format.
4192
42e165c3
SM
41932020-04-29 Simon Marchi <simon.marchi@efficios.com>
4194
4195 * gdb.base/break.exp: Use with_test_prefix.
4196
6e4e3fe1
TV
41972020-04-29 Tom de Vries <tdevries@suse.de>
4198
4199 * lib/gdb.exp (debug_types): New proc.
4200 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4201 * gdb.python/py-symtab.exp: Same.
4202
d642b692
HD
42032020-04-29 Hannes Domani <ssbssa@yahoo.de>
4204
4205 PR gdb/17320
4206 * gdb.base/pretty-array.c: New test.
4207 * gdb.base/pretty-array.exp: New file.
4208
ea90f227
TV
42092020-04-29 Tom de Vries <tdevries@suse.de>
4210
4211 PR symtab/25889
4212 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4213 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4214 and include cpexprs.exp.
4215
a65189c9
TV
42162020-04-28 Mark Williams <mark@myosotissp.com>
4217
4218 PR gdb/24480
4219 * dw4-toplevel-types.exp: Test for top level types.
4220 * dw4-toplevel-types.cc: Test for top level types.
4221
32d1f47a
TBA
42222020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4223
4224 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4225 (theads -> threads).
4226
56a4f5a1
TV
42272020-04-28 Tom de Vries <tdevries@suse.de>
4228
4229 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4230
0b2f8a3b
TV
42312020-04-28 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4234
5390c717
TV
42352020-04-28 Tom de Vries <tdevries@suse.de>
4236
4237 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4238
15cd93d0
TV
42392020-04-28 Tom de Vries <tdevries@suse.de>
4240
4241 * gdb.dwarf2/main-foo.c: New test.
4242 * gdb.dwarf2/struct-with-sig.exp: New file.
4243
d472f0fb
TV
42442020-04-25 Tom de Vries <tdevries@suse.de>
4245
4246 * boards/debug-types.exp: New file.
4247
8d840e05
AB
42482020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4249
4250 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4251
bcfe6157
TT
42522020-04-24 Tom Tromey <tom@tromey.com>
4253
4254 PR symtab/12707:
4255 * gdb.python/py-symbol.exp: Update expected results for
4256 linkage_name test.
4257 * gdb.cp/print-demangle.exp: New file.
4258 * gdb.base/c-linkage-name.exp: Fix test.
4259 * gdb.guile/scm-symbol.exp: Update expected results for
4260 linkage_name test.
4261
f049a313
TT
42622020-04-24 Tom Tromey <tom@tromey.com>
4263
4264 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4265 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4266 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4267 assembler.
4268
7cf28874
TV
42692020-04-24 Tom de Vries <tdevries@suse.de>
4270
4271 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4272 C++.
4273
dac2fef7
TT
42742020-04-24 Tom Tromey <tromey@adacore.com>
4275
4276 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4277 values.
4278 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4279 values. Update test for minimal encodings.
4280 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4281 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4282 values. Update test for minimal encodings.
4283
1acda803
TT
42842020-04-24 Tom Tromey <tromey@adacore.com>
4285
4286 PR python/23662:
4287 * gdb.ada/variant.exp: Add Python checks.
4288 * gdb.rust/simple.exp: Add dynamic type checks.
4289
adfb9815
TT
42902020-04-24 Tom Tromey <tromey@adacore.com>
4291
4292 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4293 Make array type matching more lax.
4294 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4295 * gdb.ada/mi_variant.exp: New file.
4296 * gdb.ada/mi_variant/pck.ads: New file.
4297 * gdb.ada/mi_variant/pkg.adb: New file.
4298 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4299 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4300
7d79de9a
TT
43012020-04-24 Tom Tromey <tromey@adacore.com>
4302
4303 * gdb.ada/variant.exp: Add dynamic field offset tests.
4304 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4305 * gdb.ada/variant/pkg.adb: Add new variables.
4306
f8e89861
TT
43072020-04-24 Tom Tromey <tromey@adacore.com>
4308
4309 * gdb.ada/variant.exp: New file
4310 * gdb.ada/variant/pkg.adb: New file
4311 * gdb.ada/variant/pck.adb: New file
4312
86e887ae
TV
43132020-04-24 Tom de Vries <tdevries@suse.de>
4314
4315 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4316
88428775
TV
43172020-04-24 Tom de Vries <tdevries@suse.de>
4318
4319 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4320 flags.
4321
4e86f6e7
TV
43222020-04-24 Tom de Vries <tdevries@suse.de>
4323
4324 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4325
2016d3e6
TV
43262020-04-24 Tom de Vries <tdevries@suse.de>
4327
4328 * lib/gdb.exp (default_gdb_start): Handle eof.
4329 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4330 failure.
4331 * gdb.base/readnever.exp: Handle clean_restart failure.
4332
70bc38f5
TV
43332020-04-23 Tom de Vries <tdevries@suse.de>
4334
4335 * gdb.base/decl-before-def.exp: Run to main and print a again.
4336
de82891c
TV
43372020-04-23 Tom de Vries <tdevries@suse.de>
4338
4339 * gdb.base/decl-before-def-decl.c: New test.
4340 * gdb.base/decl-before-def-def.c: New test.
4341 * gdb.base/decl-before-def.exp: New file.
4342
96038148
TV
43432020-04-23 Tom de Vries <tdevries@suse.de>
4344
4345 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4346
54ac3df1
TV
43472020-04-22 Tom de Vries <tdevries@suse.de>
4348
4349 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4350 debug_info_offset.
4351 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4352 before $objsfile in the line line.
4353
714534e1
TV
43542020-04-22 Tom de Vries <tdevries@suse.de>
4355
4356 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4357
16a7dbf4
MS
43582020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4359
4360 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4361 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4362 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4363 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4364 * gdb.base/jit-protocol.h: Update definitions to match all usage
4365 contexts.
4366
43672020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4368
4369 * gdb.base: Rename all jit related test and source files.
4370
43712020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4372
4373 * gdb.base/jit-reader.exp: Relax register output check.
4374
317d2668
TV
43752020-04-22 Tom de Vries <tdevries@suse.de>
4376
4377 PR symtab/25764
4378 * gdb.base/psym-external-decl-2.c: New test.
4379 * gdb.base/psym-external-decl.c: New test.
4380 * gdb.base/psym-external-decl.exp: New file.
4381 * gdb.threads/tls.exp: Add PR25807 kfail.
4382
eea9e357
TV
43832020-04-22 Tom de Vries <tdevries@suse.de>
4384
4385 PR symtab/25801
4386 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4387 in "info source" output.
4388
3d5afab3
TV
43892020-04-22 Tom de Vries <tdevries@suse.de>
4390
4391 PR symtab/25700
4392 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4393 symtab for imported_unit.c.
4394
b32102f6
GB
43952020-04-21 Gary Benson <gbenson@redhat.com>
4396
4397 * gdb.base/advance.c (func): New argument, to match call site.
4398 (func2, func3): Add return statements.
4399
d43b7a2d
TBA
44002020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4401
4402 * gdb.multi/run-only-second-inf.c: New file.
4403 * gdb.multi/run-only-second-inf.exp: New file.
4404
d89edf9b
MM
44052020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4406
4407 * gdb.btrace/multi-inferior.c: New test.
4408 * gdb.btrace/multi-inferior.exp: New file.
4409
1a476b6d
MM
44102020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4411
4412 * gdb.btrace/enable-new-thread.c: New test.
4413 * gdb.btrace/enable-new-thread.exp: New file.
4414
4778a5f8
TV
44152020-04-21 Tom de Vries <tdevries@suse.de>
4416
4417 PR gdb/25471
4418 * gdb.threads/killed-outside.c: New test.
4419 * gdb.threads/killed-outside.exp: New file.
4420
9b2c992c
GB
44212020-04-20 Gary Benson <gbenson@redhat.com>
4422
4423 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4424 * gdb.base/nested-subp2.exp: Likewise.
4425 * gdb.base/nested-subp3.exp: Likewise.
4426
b5d1d6f7
GB
44272020-04-20 Gary Benson <gbenson@redhat.com>
4428
4429 * gdb.base/nested-subp1.exp: Disable test when using clang.
4430 * gdb.base/nested-subp2.exp: Likewise.
4431 * gdb.base/nested-subp3.exp: Likewise.
4432
25230285
GB
44332020-04-20 Gary Benson <gbenson@redhat.com>
4434
4435 * gdb.cp/exception.cc: Fix compilation error with clang.
4436
fa93cc8f
GB
44372020-04-20 Gary Benson <gbenson@redhat.com>
4438
809730f3 4439 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4440
e0c45f30
GB
44412020-04-20 Gary Benson <gbenson@redhat.com>
4442
4443 * gdb.base/jit-main.c: Fix compilation error with clang.
4444
4ddfec93
KR
44452020-04-17 Kamil Rytarowski <n54@gmx.com>
4446
4447 * gdb.base/attach-twice.c: Include "sys/types.h".
4448 (PTRACE_ATTACH): Add fallback definition.
4449 (main): Pass `0' to the 4th argument of `ptrace'.
4450
2bed205e
KR
44512020-04-17 Kamil Rytarowski <n54@gmx.com>
4452
4453 * gdb.base/fork-running-state.c: Include "signal.h".
4454
0743fc83
TT
44552020-04-17 Tom Tromey <tromey@adacore.com>
4456
4457 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4458 Update tests.
4459 * gdb.btrace/cpu.exp: Update tests.
4460 * gdb.base/maint.exp: Update tests.
4461 * gdb.base/default.exp: Update tests.
4462 * gdb.base/completion.exp: Update tests.
4463
efba5c23
TV
44642020-04-16 Tom de Vries <tdevries@suse.de>
4465
4466 PR symtab/25791
4467 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4468 (ensure_gdb_index): and factor out and move ...
4469 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4470 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4471
d191d716
TV
44722020-04-16 Tom de Vries <tdevries@suse.de>
4473
4474 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4475 loading exec.
4476
99f1bc6a
AB
44772020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4478
4479 * gdb.base/many-completions.exp: New file.
4480
194d088f
TV
44812020-04-14 Tom de Vries <tdevries@suse.de>
4482
4483 PR symtab/25718
4484 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4485
c1a66c06
TV
44862020-04-14 Tom de Vries <tdevries@suse.de>
4487
4488 PR symtab/25720
4489 * gdb.base/maint-expand-symbols-header-file.c: New test.
4490 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4491 * gdb.base/maint-expand-symbols-header-file.h: New test.
4492
21b0982c
AB
44932020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4494
4495 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4496 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4497 get_func_info.
4498 (get_func_info): Delete.
4499 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4500 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4501 * lib/dwarf.exp (get_func_info): New function.
4502
dd1cab06
TV
45032020-04-13 Tom de Vries <tdevries@suse.de>
4504
4505 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4506 to what find_gnatmake does.
4507
71ea2b6b
TV
45082020-04-10 Tom de Vries <tdevries@suse.de>
4509
4510 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4511 -readnow.
4512
bdfc1e8a
TV
45132020-04-10 Tom de Vries <tdevries@suse.de>
4514
4515 PR cli/25808
4516 * gdb.base/style.c: Add leading newlines.
4517 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4518 Check listing of main's one-line body.
4519
14ca8ecf
TV
45202020-04-08 Tom de Vries <tdevries@suse.de>
4521
4522 * lib/gdb.exp (psymtabs_p): New proc.
4523 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4524 importing unit" unsupported if there are no partial symbols.
4525
e21d048f
TV
45262020-04-08 Tom de Vries <tdevries@suse.de>
4527
4528 PR testsuite/25760
4529 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4530
25c11aca
TV
45312020-04-07 Tom de Vries <tdevries@suse.de>
4532
4533 PR symtab/25796
4534 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4535
5707e24b
TV
45362020-04-07 Tom de Vries <tdevries@suse.de>
4537
4538 * gdb.base/check-psymtab.c: New test.
4539 * gdb.base/check-psymtab.exp: New file.
4540
6ee448cc
TT
45412020-04-06 Tom Tromey <tromey@adacore.com>
4542
4543 * gdb.ada/variant-record/proc.adb: New file.
4544 * gdb.ada/variant-record/value.adb: New file.
4545 * gdb.ada/variant-record/value.s: New file.
4546 * gdb.ada/variant-record.exp: New file.
4547
9e7c9a03
HD
45482020-04-03 Hannes Domani <ssbssa@yahoo.de>
4549
4550 PR gdb/25325
4551 * gdb.cp/typed-enum.cc: New test.
4552 * gdb.cp/typed-enum.exp: New file.
4553
c90d28ac
AB
45542020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4555
4556 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4557 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4558 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4559 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4560 * gdb.opt/inline-small-func.c: New file.
4561 * gdb.opt/inline-small-func.exp: New file.
4562 * gdb.opt/inline-small-func.h: New file.
4563
34e9a9fa
AB
45642020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4565
4566 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4567 function.
4568
6a354911
AB
45692020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4570
4571 * lib/dwarf.exp (function_range): Allow compiler options to be
4572 specified.
4573
880d9777
TV
45742020-04-02 Tom de Vries <tdevries@suse.de>
4575
4576 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4577 __attribute__((always_inline)).
4578 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4579
f32682ea
TV
45802020-04-02 Tom de Vries <tdevries@suse.de>
4581
4582 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4583 (gdbserver_gdb_exit): ... here. Add timeout warning.
4584 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4585 (connect_target_extended_remote): Append new server_spawn_id to
4586 server_spawn_ids.
4587 (cleanup): New proc.
4588 (setup, <toplevel>): Call cleanup.
4589
d3214198
TV
45902020-04-02 Tom de Vries <tdevries@suse.de>
4591
4592 * gdb.base/main-psymtab.exp: New file.
4593
cc77ed24
TV
45942020-04-02 Tom de Vries <tdevries@suse.de>
4595
4596 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4597
3638a098
TT
45982020-04-01 Tom Tromey <tom@tromey.com>
4599
4600 * gdb.base/complex-parts.exp: Add type tests.
4601
c34e8714
TT
46022020-04-01 Tom Tromey <tom@tromey.com>
4603
4604 * gdb.base/complex-parts.exp: Add arithmetic tests.
4605
981c08ce
TT
46062020-04-01 Tom Tromey <tom@tromey.com>
4607
4608 * gdb.compile/compile.exp: Update.
4609 * gdb.compile/compile-cplus.exp: Update.
4610 * gdb.base/varargs.exp: Update.
4611 * gdb.base/floatn.exp: Update.
4612 * gdb.base/endianity.exp: Update.
4613 * gdb.base/callfuncs.exp (do_function_calls): Update.
4614 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4615 (complex_float_integral_args): Update.
4616 * gdb.base/complex.exp: Update.
4617 * gdb.base/complex-parts.exp: Update.
4618
3d1cfd43
TT
46192020-04-01 Tom Tromey <tromey@adacore.com>
4620
4621 * gdb.rust/union.rs: New file.
4622 * gdb.rust/union.exp: New file.
4623 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4624 (main): Update.
4625 * gdb.rust/simple.exp: Move union tests to union.exp.
4626
e033dfa9
TT
46272020-04-01 Tom Tromey <tromey@adacore.com>
4628
4629 * gdb.rust/simple.rs (main): Remove "y0".
4630
53cccef1
TBA
46312020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4632
4633 * gdb.multi/stop-all-on-exit.c: New test.
4634 * gdb.multi/stop-all-on-exit.exp: New file.
4635
60e22c1e
HD
46362020-04-01 Hannes Domani <ssbssa@yahoo.de>
4637
4638 PR gdb/24789
4639 * gdb.cp/misc.cc: Add integer reference variable.
4640 * gdb.cp/misc.exp: Add test.
4641
e139a727
TBA
46422020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4643
4644 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4645 scenario to cover execution until the end and also the case
4646
16b0db75
TV
46472020-03-31 Tom de Vries <tdevries@suse.de>
4648
4649 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4650 c. Use "maint info symtabs" to check symtab expansion.
4651
c0502da6
TV
46522020-03-30 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4655 unsupported.
4656 (verify_psymtab_expanded): Move ...
4657 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4658 test.
4659 (readnow): New proc.
4660
5935fd15
AB
46612020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4664 with $hex.
4665
1773be9e
TT
46662020-03-20 Tom Tromey <tromey@adacore.com>
4667
4668 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4669
70304be9
TT
46702020-03-20 Tom Tromey <tromey@adacore.com>
4671
4672 * gdb.ada/sub_variant/subv.adb: New file.
4673 * gdb.ada/sub_variant.exp: New file.
4674
0dd7b8f7
TV
46752020-03-20 Tom de Vries <tdevries@suse.de>
4676
4677 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4678 first break fails.
4679 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4680
cada5fc9
AB
46812020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4682
4683 * gdb.server/exit-multiple-threads.c: New file.
4684 * gdb.server/exit-multiple-threads.exp: New file.
4685
6b8c53f2
AB
46862020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4687
4688 * gdb.fortran/mixed-lang-stack.c: New file.
4689 * gdb.fortran/mixed-lang-stack.cpp: New file.
4690 * gdb.fortran/mixed-lang-stack.exp: New file.
4691 * gdb.fortran/mixed-lang-stack.f90: New file.
4692
19a2740f
AB
46932020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4694
4695 * gdb.linespec/cp-completion-aliases.cc: New file.
4696 * gdb.linespec/cp-completion-aliases.exp: New file.
4697
d8c8b848
TV
46982020-03-19 Tom de Vries <tdevries@suse.de>
4699
4700 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4701 more precise.
4702
a9933ccf
TV
47032020-03-18 Tom de Vries <tdevries@suse.de>
4704
4705 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4706 * gdb.dwarf2/break-inline-psymtab.c: New test.
4707 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4708
2f89101f
TV
47092020-03-16 Tom de Vries <tdevries@suse.de>
4710
4711 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4712 cache_verify and cache_verify_proc.
4713
6b9374f1
TV
47142020-03-15 Tom de Vries <tdevries@suse.de>
4715
4716 * gdb.server/solib-list.exp: Handle
4717 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4718
eaeaf44c
TV
47192020-03-15 Tom de Vries <tdevries@suse.de>
4720
4721 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4722 objfiles".
4723
3293bbaf
TT
47242020-03-14 Tom Tromey <tom@tromey.com>
4725
4726 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4727
ab44624c
TV
47282020-03-14 Tom de Vries <tdevries@suse.de>
4729
4730 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4731
54c43825
TV
47322020-03-14 Tom de Vries <tdevries@suse.de>
4733
4734 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4735 result in line-by-line fashion.
4736
2ac70237
TV
47372020-03-14 Tom de Vries <tdevries@suse.de>
4738
4739 * lib/gdb.exp (supports_statement_frontiers): New proc.
4740 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4741
09546b56
TV
47422020-03-14 Tom de Vries <tdevries@suse.de>
4743
4744 * gdb.base/printcmds.exp: Add missing quoting for "print
4745 teststring2".
4746
a1f6a07c
TT
47472020-03-13 Tom Tromey <tom@tromey.com>
4748
4749 * gdb.base/printcmds.exp (test_print_strings): Add regression
4750 test.
4751 * gdb.base/printcmds.c (charptr): New typedef.
4752 (teststring2): New global.
4753
1b83d09c
AB
47542020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4755
4756 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4757 full path in the test name.
4758 (test_ld): Add some with_test_prefix blocks to make test names
4759 unique.
4760
2d61316c
TV
47612020-03-13 Tom de Vries <tdevries@suse.de>
4762
4763 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4764
2e9145ac
TV
47652020-03-13 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4768
96c7f873
TV
47692020-03-13 Tom de Vries <tdevries@suse.de>
4770
4771 PR symtab/25646
4772 * gdb.dwarf2/imported-unit.exp: Add test.
4773
49ba92c0
TV
47742020-03-13 Tom de Vries <tdevries@suse.de>
4775
4776 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4777 (var1, var2): New variable.
4778 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4779 matching symbols.
4780
301b21e0
TV
47812020-03-13 Tom de Vries <tdevries@suse.de>
4782
4783 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4784 (Term::command): Use prompt prefix.
4785 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4786 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4787 command_no_prompt_prefix instead of prefix.
4788 * gdb.tui/tui-layout-asm.exp: Same.
4789
3f512721
SM
47902020-03-12 Simon Marchi <simon.marchi@efficios.com>
4791
4792 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4793
40310f30
SM
47942020-03-12 Simon Marchi <simon.marchi@efficios.com>
4795
4796 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4797 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4798 on" while stepping over the test instruction, match printed
4799 message.
4800
09252140
TV
48012020-03-12 Tom de Vries <tdevries@suse.de>
4802
4803 * gdb.base/info-types.exp: Use exp_continue during matching of output
4804 of "info types".
4805
14e9c72c
TV
48062020-03-12 Tom de Vries <tdevries@suse.de>
4807
4808 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4809
e515d67e
TV
48102020-03-12 Tom de Vries <tdevries@suse.de>
4811
4812 * gdb.fortran/module.exp: Use exp_continue during matching of output
4813 of "info variable -n".
4814
307eafd8
TV
48152020-03-12 Tom de Vries <tdevries@suse.de>
4816
4817 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4818 gdb.dwarf2/dw2-ranges-base.c.
4819
9a2de3fc
TV
48202020-03-12 Tom de Vries <tdevries@suse.de>
4821
4822 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4823 in presence of GLIBC debuginfo.
4824
3217502e
TV
48252020-03-12 Tom de Vries <tdevries@suse.de>
4826
4827 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4828 $core.
4829
1281424c
TV
48302020-03-12 Tom de Vries <tdevries@suse.de>
4831
4832 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4833 more precise.
4834
038b97fc
SM
48352020-03-11 Simon Marchi <simon.marchi@efficios.com>
4836
4837 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4838 from Unix to Windows path.
4839
5308d1e7
TV
48402020-03-11 Tom de Vries <tdevries@suse.de>
4841
4842 * gdb.ada/minsyms.exp: Set language to ada.
4843
f870f78f
TV
48442020-03-11 Tom de Vries <tdevries@suse.de>
4845
4846 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4847
5a13315d
TV
48482020-03-11 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4851
976862ed
TT
48522020-03-11 Tom Tromey <tromey@adacore.com>
4853
4854 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4855
7462c383
TV
48562020-03-11 Tom de Vries <tdevries@suse.de>
4857
4858 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4859
1c6c46a0
TV
48602020-03-11 Tom de Vries <tdevries@suse.de>
4861
4862 * gdb.base/break-interp.exp: Limit verbose scope.
4863
44f41bb7
TV
48642020-03-11 Tom de Vries <tdevries@suse.de>
4865
4866 * gdb.fortran/logical.f90: Define variable with character type.
4867 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4868
b76f3a42
TV
48692020-03-11 Tom de Vries <tdevries@suse.de>
4870
4871 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4872
1c33af77
TV
48732020-03-11 Tom de Vries <tdevries@suse.de>
4874
4875 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4876 symtabs.
4877
8c95582d
AB
48782020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4879 Bernd Edlinger <bernd.edlinger@hotmail.de>
4880
4881 * gdb.cp/step-and-next-inline.cc: New file.
4882 * gdb.cp/step-and-next-inline.exp: New file.
4883 * gdb.cp/step-and-next-inline.h: New file.
4884 * gdb.dwarf2/dw2-is-stmt.c: New file.
4885 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4886 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4887 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4888 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4889
cecf8547
AB
48902020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4891
4892 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4893 is-stmt flag in the line table.
4894
0ba678c9
TV
48952020-03-09 Tom de Vries <tdevries@suse.de>
4896
4897 * lib/gdb.exp (cached_file): Create cache dir.
4898
72fbdf83
TV
48992020-03-07 Tom de Vries <tdevries@suse.de>
4900
4901 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4902 * gdb.cp/rvalue-ref-params.exp: Same.
4903
436b5e99
TV
49042020-03-06 Tom de Vries <tdevries@suse.de>
4905
4906 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4907 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4908
09f2921c
TV
49092020-03-06 Tom de Vries <tdevries@suse.de>
4910
4911 * README: Fix "the the".
4912 * gdb.base/dprintf.exp: Same.
4913
50a3cc5d
TV
49142020-03-05 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.base/maint.exp: Update "main print statistics" expected output.
4917
0a709cba
AKS
49182020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4919
4920 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4921 (fortran_int8): Likewise.
4922 (fortran_real4): Likewise.
4923 (fortran_real8): Likewise.
4924 (fortran_complex4): Likewise.
4925 (fortran_logical4): Likewise.
4926 (fortran_character1): Likewise.
4927
5e5d66b6
AB
49282020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4929
4930 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4931 printed as true.
4932
7b973adc
SDJ
49332020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4934
4935 * gdb.base/printcmds.exp: Add test to verify printf of a
4936 variable holding an address.
4937
478e490a
TV
49382020-03-03 Tom de Vries <tdevries@suse.de>
4939
4940 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4941
1ef44e86
TV
49422020-03-03 Tom de Vries <tdevries@suse.de>
4943
4944 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4945 gdb_test_multiple call.
4946
b98cc2cf
TV
49472020-03-03 Tom de Vries <tdevries@suse.de>
4948
4949 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4950 gdb_test_multiple calls.
4951
63e163f2
AB
49522020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4953
4954 * gdb.base/default.exp: Remove test of 'set history filename'.
4955 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4956 filename to the empty string.
4957 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4958 and GDBHISTSIZE.
4959
24ed6739
AB
49602020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4961
4962 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4963 disabled.
4964
590003dc 49652020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4966 Tom de Vries <tdevries@suse.de>
590003dc
TV
4967
4968 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4969 -prompt prefix, before user_code argument. Add -lbl option likewise.
4970 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4971 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4972 argument.
4973 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4974 have "\r\n" at start-of-line, instead of at end-of-line.
4975
f5e46084
SM
49762020-02-28 Simon Marchi <simon.marchi@efficios.com>
4977
4978 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4979 libinproctrace.so.
4980
f7a7000d
LM
49812020-02-28 Luis Machado <luis.machado@linaro.org>
4982
4983 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4984 to "p/x".
4985
718e0816
LM
49862020-02-28 Luis Machado <luis.machado@linaro.org>
4987
4988 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4989 asm/ptrace.h and error.h.
4990
13c3a74a
TV
49912020-02-28 Tom de Vries <tdevries@suse.de>
4992
4993 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4994 (struct wrapper, do_something, mundane/symada__cS): Move ...
4995 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4996 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4997 Update "print symada__cS before partial symtab expansion" regexp.
4998 Update breakpoint location. Flush symbol cache after expansion.
4999
85d2d5bb
LM
50002020-02-28 Luis Machado <luis.machado@linaro.org>
5001
5002 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5003
3608f86c
TV
50042020-02-27 Tom de Vries <tdevries@suse.de>
5005
5006 * config/sid.exp: Remove unused globals.
5007 * gdb.base/attach.exp: Same.
5008 * gdb.base/catch-load.exp: Same.
5009 * gdb.base/dbx.exp: Same.
5010 * lib/gdb.exp: Same.
5011 * lib/mi-support.exp: Same.
5012 * lib/prompt.exp: Same.
5013
c8d4f6df
TV
50142020-02-27 Tom de Vries <tdevries@suse.de>
5015
5016 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5017 not set.
5018
0d79cdc4
AM
50192020-02-26 Aaron Merey <amerey@redhat.com>
5020
5021 * gdb.debuginfod: New directory for debuginfod tests.
5022 * gdb.debuginfod/main.c: New test file.
5023 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5024
0dce4280
TV
50252020-02-26 Tom de Vries <tdevries@suse.de>
5026
5027 PR gdb/25603
5028 * gdb.base/persistent-lang.cc: New test.
5029 * gdb.base/persistent-lang.exp: New file.
5030
9e80cfa1
AB
50312020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5032
5033 * gdb.fortran/derived-type-striding.exp: Add a new test.
5034 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5035 new test.
5036
2078dbb2
AB
50372020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5038
5039 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5040 names.
5041
70d49700
TV
50422020-02-25 Tom de Vries <tdevries@suse.de>
5043
5044 PR go/18926
5045 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5046
a88ef40d
TV
50472020-02-24 Tom de Vries <tdevries@suse.de>
5048
5049 PR gdb/25592
5050 * gdb.base/info-locals-unused-static-var.c: New test.
5051 * gdb.base/info-locals-unused-static-var.exp: New file.
5052
01b1af32
TT
50532020-02-22 Tom Tromey <tom@tromey.com>
5054
5055 * gdb.python/tui-window.exp: New file.
5056 * gdb.python/tui-window.py: New file.
5057
7c043ba6
TT
50582020-02-22 Tom Tromey <tom@tromey.com>
5059
5060 PR tui/17850:
5061 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5062 tests.
5063
c22fef7e
TT
50642020-02-22 Tom Tromey <tom@tromey.com>
5065
5066 * gdb.tui/new-layout.exp: Add sub-layout tests.
5067
ee325b61
TT
50682020-02-22 Tom Tromey <tom@tromey.com>
5069
5070 * gdb.tui/new-layout.exp: New file.
5071
3f0cbb04
TT
50722020-02-22 Tom Tromey <tom@tromey.com>
5073
5074 * gdb.rust/rust-style.rs: New file.
5075 * gdb.rust/rust-style.exp: New file.
5076 * gdb.base/style.exp: Test structure printing.
5077 * gdb.base/style.c (struct some_struct): New type.
5078 (enum etype): New type.
5079 (struct_value): New global.
5080
75525152
TV
50812020-02-21 Tom de Vries <tdevries@suse.de>
5082
5083 PR go/18926
5084 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5085 Remove blanket xfails. Use message argument for gdb_breakpoint.
5086 Make continuing to breakpoint test conditional on setting breakpoint.
5087 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5088 DW_AT_name attribute. Add xfail for GCC PR93866.
5089
bd360d30
AB
50902020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5091
5092 * gdb.dwarf2/cpp-linkage-name.c: New file.
5093 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5094
c7adb09f 50952020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5096
5097 * lib/gdb.exp (gdb_wrapper_init): Reset
5098 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5099 not exist.
5100
a9c79803
TV
51012020-02-20 Tom de Vries <tdevries@suse.de>
5102
5103 PR go/17018
5104 * gdb.go/hello.exp: Copy ...
5105 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5106 print of st to print value of global definition. Add xfail for GCC
5107 PR93844.
5108 * gdb.go/hello.exp: Remove printing of st before definition.
5109 * gdb.go/hello.go: Copy ...
5110 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5111 to st.
5112 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5113
d7445728
TV
51142020-02-20 Tom de Vries <tdevries@suse.de>
5115
5116 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5117 (gdb_simple_compile): Handle compile_flags go by using .go extension
5118 for source file.
5119 * gdb.go/chan.exp: Use support_go_compile.
5120 * gdb.go/handcall.exp: Same.
5121 * gdb.go/hello.exp: Same.
5122 * gdb.go/integers.exp: Same.
5123 * gdb.go/max-depth.exp: Same.
5124 * gdb.go/methods.exp: Same.
5125 * gdb.go/package.exp: Same.
5126 * gdb.go/strings.exp: Same.
5127 * gdb.go/types.exp: Same.
5128 * gdb.go/unsafe.exp: Same.
5129
c9c41e6d
TV
51302020-02-19 Tom de Vries <tdevries@suse.de>
5131
5132 * gdb.python/lib-types.exp: Make xfail more strict.
5133
f20ff837
TV
51342020-02-19 Tom de Vries <tdevries@suse.de>
5135
5136 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5137
08410482
DE
51382020-02-19 Doug Evans <dje@google.com>
5139
5140 PR rust/25535
5141 * gdb.rust/simple.exp: Add test.
5142 * gdb.rust/simple.rs: Add test.
5143
623563f7
TV
51442020-02-19 Tom de Vries <tdevries@suse.de>
5145
5146 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5147 output line-by-line.
5148
d3308cfd
TV
51492020-02-19 Tom de Vries <tdevries@suse.de>
5150
5151 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5152
86cbc5dc
TV
51532020-02-19 Tom de Vries <tdevries@suse.de>
5154
5155 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5156 prelink.
5157
9db2b96b
TV
51582020-02-19 Tom de Vries <tdevries@suse.de>
5159
5160 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5161 (gdb_do_cache): Use gdb_do_cache_wrap.
5162 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5163
89e2fdc5
TV
51642020-02-19 Tom de Vries <tdevries@suse.de>
5165
5166 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5167 gdb_compile option.
5168
373d7ac0
SM
51692020-02-18 Simon Marchi <simon.marchi@efficios.com>
5170
5171 * gdb.base/printcmds.exp (test_print_enums): Update expected
5172 output.
5173
b29a2df0
SM
51742020-02-18 Simon Marchi <simon.marchi@efficios.com>
5175
5176 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5177 for "unknown".
5178
6740f0cc
SM
51792020-02-18 Simon Marchi <simon.marchi@efficios.com>
5180
5181 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5182 enumerator.
5183
edd45eb0
SM
51842020-02-18 Simon Marchi <simon.marchi@efficios.com>
5185
5186 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5187 FE_, add FE_NONE.
5188 (three): Update.
5189 (enum flag_enum_without_zero): New enum.
5190 (flag_enum_without_zero): New variable.
5191 (enum not_flag_enum): New enum.
5192 (three_not_flag): New variable.
5193 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5194 (test_print_enums): Add more tests for printing flag enums.
5195
d4295de4
TV
51962020-02-18 Tom de Vries <tdevries@suse.de>
5197
5198 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5199 (gdb_compile_ada): ... here.
5200 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5201 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5202
f251f505
TT
52032020-02-14 Tom Tromey <tom@tromey.com>
5204
5205 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5206 build directory.
5207 * boards/gdbserver-base.exp: Update path to gdbserver.
5208
8f432634
TV
52092020-02-13 Tom de Vries <tdevries@suse.de>
5210
5211 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5212
92b6eaf7
TV
52132020-02-13 Tom de Vries <tdevries@suse.de>
5214
5215 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5216 are missing.
5217
f3b0f7fe
TV
52182020-02-13 Tom de Vries <tdevries@suse.de>
5219
5220 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5221 call.
5222
f6be8713
SDJ
52232020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5224
5225 PR tui/25126
5226 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5227 * gdb.base/cached-source-file.c: New file.
5228 * gdb.base/cached-source-file.exp: New file.
5229
b2770d5e
TV
52302020-02-11 Tom de Vries <tdevries@suse.de>
5231
5232 PR testsuite/25488
5233 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5234
44f6938e
TV
52352020-02-10 Tom de Vries <tdevries@suse.de>
5236
5237 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5238
5f0e2eb7
MR
52392020-02-10 Maciej W. Rozycki <macro@wdc.com>
5240
5241 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5242 and $after_addr are both integers before making a comparison.
5243
46ce2b6f
TV
52442020-02-09 Tom de Vries <tdevries@suse.de>
5245
5246 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5247 command output and paste it into gdb.log. If any, paste catch message
5248 to gdb.log.
5249
5abbbe1d
TT
52502020-02-07 Tom Tromey <tromey@adacore.com>
5251
5252 PR breakpoints/24915:
5253 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5254
1d5d29e7
SV
52552020-02-06 Shahab Vahedi <shahab@synopsys.com>
5256
5257 * gdb.tui/tui-missing-src.exp: Add the "missing source
5258 file" test for the TUI.
5259
b0999b9b
AB
52602020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5261
5262 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5263 including a port number in the output.
5264
c3b149eb
AKS
52652020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5266
5267 * lib/fortran.exp (fortran_int4): Handle clang.
5268 (fortran_int8): Likewise.
5269 (fortran_real4): Likewise.
5270 (fortran_real8): Likewise.
5271 (fortran_complex4): Likewise.
5272 (fortran_logical4): Likewise.
5273 (fortran_character1): Likewise.
5274
f8dcc90b
TV
52752020-02-04 Tom de Vries <tdevries@suse.de>
5276
5277 * README (Race detection): Add note.
5278
f90ac7c2
TV
52792020-02-04 Tom de Vries <tdevries@suse.de>
5280
5281 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5282
780636ae
TV
52832020-02-04 Tom de Vries <tdevries@suse.de>
5284
5285 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5286
5d2e1193
RA
52872020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5288
5289 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5290 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5291 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5292 blttar, bnetarl.
5293 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5294 binary for blttar, bnetarl.
5295 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5296 wait instruction. Delete ldmx test.
5297 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5298
e409c542
AKS
52992020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5300
5301 * gdb.fortran/array-bounds-high.exp: New file.
5302 * gdb.fortran/array-bounds-high.f90: New file.
5303
b0029748
LD
53042020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5305
5306 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5307 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5308
195a8287
TV
53092020-02-01 Tom de Vries <tdevries@suse.de>
5310
5311 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5312
42330a68
AB
53132020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5314
5315 PR tui/9765
5316 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5317 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5318
b62a8028
LM
53192020-01-29 Luis Machado <luis.machado@linaro.org>
5320
5321 * gdb.arch/aarch64-brk-patterns.c: New source file.
5322 * gdb.arch/aarch64-brk-patterns.exp: New test.
5323
5f440116
TBA
53242020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5325
5326 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5327 GCC/Clang version.
5328 * gdb.cp/pass-by-ref.exp: Ditto.
5329
ee2a6fc6
TV
53302020-01-29 Tom de Vries <tdevries@suse.de>
5331
5332 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5333 * gdb.threads/watchpoint-fork-mt.c: Same.
5334 * gdb.threads/watchpoint-fork-parent.c: Same.
5335 * gdb.threads/watchpoint-fork-st.c: Same.
5336 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5337
16b10d6e
LM
53382020-01-27 Luis Machado <luis.machado@linaro.org>
5339
5340 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5341 sitting at a syscall instruction when we hit the syscall function's
5342 breakpoint.
5343 Check PC against one obtained with the x command.
5344 Validate syscall number.
5345 (step_over_syscall): Don't continue to the syscall instruction if
5346 we're already there.
5347
b1468492
PW
53482020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5349
5350 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5351
7ffa82e1
AB
53522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5353
5354 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5355 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5356
3d92a3e3
AB
53572020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5358
5359 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5360 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5361
94a72be7
AB
53622020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5363
5364 * gdb.base/maint.exp: Update line table parsing test.
5365 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5366
53af73bf
PA
53672020-01-24 Pedro Alves <palves@redhat.com>
5368
5369 PR gdb/25410
5370 * gdb.multi/multi-re-run-1.c: New.
5371 * gdb.multi/multi-re-run-2.c: New.
5372 * gdb.multi/multi-re-run.exp: New.
5373
1ba1ac88
AB
53742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5375
5376 PR gdb/23718
5377 * gdb.server/server-kill-python.exp: New file.
5378
f3364a6d
AB
53792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5380
5381 * gdb.server/multi-ui-errors.c: New file.
5382 * gdb.server/multi-ui-errors.exp: New file.
5383
733d0a67
AB
53842020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5385
5386 PR tui/9765
5387 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5388
4f13c1c0
TT
53892020-01-19 Tom Tromey <tom@tromey.com>
5390
5391 * gdb.tui/main.exp: Add check for plain "file".
5392
40c94099
CB
53932020-01-16 Christian Biesinger <cbiesinger@google.com>
5394
5395 * lib/gdb.exp: Fix spelling error (seperatelly).
5396
ff47f4f0
TT
53972020-01-14 Tom Tromey <tom@tromey.com>
5398
5399 PR symtab/12535:
5400 * gdb.python/python.exp: Test decode_line with empty string
5401 argument.
5402
717c684d
BE
54032020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5404
5405 * gdb.base/skip-inline.exp: Extend test.
5406
44e4c775
AB
54072020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5408
5409 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5410 * gdb.dwarf2/dw2-bad-elf.c: New file.
5411 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5412
d93c6db7
AB
54132020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5414
5415 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5416 _line_saw_file.
5417
9a6d629c
AB
54182020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5419
5420 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5421 border.
5422
d9ebdab7
TBA
54232020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5424
5425 * gdb.multi/multi-target.exp (setup): Factor out "info
5426 connections" and "info inferiors" tests to ...
5427 (test_info_inferiors): ... this new procedure.
5428 (top level): Run new "info-inferiors" tests.
5429
f3c469b9
PA
54302020-01-10 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.server/bkpt-other-inferior.exp: New file.
5433
121b3efd
PA
54342020-01-10 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5437 of "add-inferior".
5438 * gdb.base/quit-live.exp: Likewise.
5439 * gdb.base/remote-exec-file.exp: Likewise.
5440 * gdb.guile/scm-progspace.exp: Likewise.
5441 * gdb.linespec/linespec.exp: Likewise.
5442 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5443 * gdb.mi/user-selected-context-sync.exp: Likewise.
5444 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5445 "info inferiors" tests.
5446 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5447 "add-inferior".
5448 * gdb.multi/watchpoint-multi.exp: Likewise.
5449 * gdb.python/py-inferior.exp: Likewise.
5450 * gdb.server/extended-remote-restart.exp: Likewise.
5451 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5452 "info inferiors".
5453 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5454 * gdb.trace/report.exp: Likewise.
5455
1dadb1dd
PA
54562020-01-10 Pedro Alves <palves@redhat.com>
5457
5458 * gdb.multi/multi-target.c: New file.
5459 * gdb.multi/multi-target.exp: New file.
5460 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5461 mode requested, but remote does not support non-stop".
5462
78f2c40a
PA
54632020-01-10 Pedro Alves <palves@redhat.com>
5464
5465 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5466 disconnect before reconnecting.
5467
e7af6c70
TBA
54682020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5469 Pedro Alves <palves@redhat.com>
5470
5471 * gdb.server/connect-without-multi-process.exp: Also test
5472 continuing to end.
5473
acdf84a6
PA
54742020-01-10 Pedro Alves <palves@redhat.com>
5475
5476 * gdb.base/remote-exec-file.exp: New file.
5477
873657b9
PA
54782020-01-10 Pedro Alves <palves@redhat.com>
5479
5480 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5481 output.
5482 * gdb.threads/async.c: New.
5483 * gdb.threads/async.exp: New.
5484 * gdb.multi/tids-gid-reset.c: New.
5485 * gdb.multi/tids-gid-reset.exp: New.
5486
7f0ae84c
GB
54872020-01-10 George Barrett <bob@bob131.so>
5488
5489 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5490 to help in finding the image relocation offset.
5491 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5492 options in arguments.
5493 (stap_test_no_debuginfo): Likewise.
5494 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5495 test variants.
5496 (stap_test): Add null semaphore relocation test.
5497
47e9d49d
GB
54982020-01-10 George Barrett <bob@bob131.so>
5499
5500 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5501 * gdb.base/stap-probe.exp: Likewise.
5502 (stap_test): Pass argument as an additional flag.
5503 (stap_test_no_debuginfo): Likewise.
5504 (stap_test): Check `info probes stap' output for semaphore
5505 addresses if the test binary is supposed to have them.
5506
f5a7c406
AB
55072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5508
5509 * gdb.tui/basic.exp: Add more scrolling tests.
5510
9ae6bf64
TT
55112020-01-09 Tom Tromey <tom@tromey.com>
5512
5513 PR tui/18932:
5514 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5515 meangingful value.
5516 (Term::command, Term::resize): Update.
5517 * gdb.tui/basic.exp: Add scrolling test.
5518
b2efe70c
AB
55192020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5520
5521 * gdb.tui/tui-layout-asm.exp: New file.
5522
3804da7e
AB
55232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5524
5525 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5526
b40aa28f
AB
55272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5528
5529 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5530 (Term::enter_tui): Use Term::prepare_for_tui.
5531
63ffd7c9
AB
55322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5533
5534 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5535 called.
5536
3be966f6
AB
55372020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5538
5539 * gdb.base/skip.exp: Fix race condition in test.
5540
153d79c4
AB
55412020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5542
5543 * gdb.base/backtrace.c: New file.
5544 * gdb.base/backtrace.exp: New file.
5545
f2302a34
AB
55462020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5547
5548 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5549
6ec1d75e
PW
55502020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5551
5552 * gdb.base/style.exp: Test that warnings are styled.
5553
c296cbe6
BE
55542019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5555
5556 * gdb.base/line65535.exp: New file.
5557 * gdb.base/line65535.c: New file.
5558
b28a729d
SM
55592019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5560
5561 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5562 * lib/gnat_debug_info_test.adb: New file.
5563 * gdb.ada/ptype_tagged_param.exp: Use
5564 gnat_runtime_has_debug_info, expect a different output if
5565 runtime does not have debug info.
5566
7f2d7a0d
SM
55672019-12-20 Simon Marchi <simon.marchi@efficios.com>
5568
5569 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5570 (another) quote in test name.
5571
f3bce483
SM
55722019-12-20 Simon Marchi <simon.marchi@efficios.com>
5573
5574 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5575 Add quote in test name.
5576
c855a912
TBA
55772019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5578
5579 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5580 directory instead.
5581 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5582 * gdb.cp/pass-by-ref-2.cc: New file.
5583 * gdb.cp/pass-by-ref-2.exp: New file.
5584
fc9d2d72
TT
55852019-12-20 Tom Tromey <tom@tromey.com>
5586
5587 * gdb.tui/list-before.exp: New file.
5588
77b97e00
TT
55892019-12-20 Tom Tromey <tom@tromey.com>
5590
5591 * gdb.tui/list.exp: Check for source on initial listing.
5592
f69656d0
TT
55932019-12-11 Tom Tromey <tromey@adacore.com>
5594
5595 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5596 Add crlf test.
5597
99a55965
SM
55982019-12-18 Simon Marchi <simon.marchi@efficios.com>
5599
5600 * gdb.base/default.exp: Update value of $_gdb_major.
5601
5024637f
BE
56022019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5603
5604 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5605
b63634be
BE
56062019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5607
5608 * gdb.base/skip.exp: Whitespace fix.
5609
45d73523
BE
56102019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5611
5612 * gdb.base/skip-inline.c: New file.
5613 * gdb.base/skip-inline.exp: New file.
5614
d043f8c8
SM
56152019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5616
5617 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5618 jit_function_00 to jit_function_stack_mangle.
5619 * gdb.base/jithost.c (jit_function_t): Rename to...
5620 (jit_function_stack_mangle_t): ... this.
5621 (jit_function_add_t): New typedef.
5622 (jit_function_00_code): Rename to...
5623 (jit_function_stack_mangle_code): ... this, make static.
5624 (jit_function_add_code): New.
5625 (main): Generate "add" function and call it. Adjust to changes
5626 in jithost_abi.
5627 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5628 (struct jithost_abi) <begin, end>: Remove fields.
5629 <object, function_stack_mangle, function_add>: New fields.
5630 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5631 code_end>: Remove fields.
5632 <func_stack_mangle>: New field.
5633 (read_debug_info): Adjust to renaming, create block for "add"
5634 function.
5635 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5636
873de05c
TT
56372019-12-11 Tom Tromey <tom@tromey.com>
5638
5639 * gdb.tui/resize.exp: Fix regexp.
5640 * gdb.tui/regs.exp: Fix regexps.
5641 * gdb.tui/main.exp: Fix regexp.
5642
3d979945
TT
56432019-12-11 Tom Tromey <tom@tromey.com>
5644
5645 * gdb.tui/resize.exp: Update.
5646 * gdb.tui/empty.exp (layouts): Update.
5647
2192a9d3
TT
56482019-12-11 Tom Tromey <tom@tromey.com>
5649
5650 * gdb.tui/regs.exp: Update.
5651 * gdb.tui/empty.exp (layouts): Update.
5652 * gdb.tui/basic.exp: Update.
5653 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5654
d8edc8b7
PW
56552019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5656
5657 * gdb.base/options.exp: Add -raw-values in the print completion list.
5658 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5659
4c12d936
KB
56602019-12-10 Kevin Buettner <kevinb@redhat.com>
5661
5662 * gdb.threads/omp-par-scope.c: New file.
5663 * gdb/threads/omp-par-scope.exp: New file.
5664
26b911fb
KB
56652019-12-10 Kevin Buettner <kevinb@redhat.com>
5666
bb47f919
KB
5667 * lib/gdb.exp (support_nested_function_tests): New proc.
5668
56692019-12-10 Kevin Buettner <kevinb@redhat.com>
5670
5671 * lib/gdb.exp (gdb_compile_openmp): New proc.
5672 (build_executable_from_specs): Add an "openmp" option.
5673 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5674
6c71eb7d
TT
56752019-12-10 Tom Tromey <tromey@adacore.com>
5676
5677 * gdb.ada/unchecked_union.exp: New file.
5678 * gdb.ada/unchecked_union/pck.adb: New file.
5679 * gdb.ada/unchecked_union/pck.ads: New file.
5680 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5681 * gdb-utils.exp (string_to_regexp): Also quote "?".
5682
bac7c5cf
GB
56832019-12-10 George Barrett <bob@bob131.so>
5684
5685 Test scripted probe breakpoints.
5686 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5687 * gdb.python/py-breakpoint.c (main): Likewise.
5688 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5689 specifier test.
5690 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5691
330f1d38
TBA
56922019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5693
5694 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5695 an rvalue parameter.
5696 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5697 parameter.
5698
b43315e2
AB
56992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5700
5701 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5702 modules.
5703
54f73dad
AB
57042019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5705
5706 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5707 broken version of GCC.
5708
d57cbee9
AB
57092019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5710
5711 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5712 sym-info-cmds library.
5713 * gdb.fortran/info-types.exp: Likewise.
5714 * lib/sym-info-cmds.exp: New file.
5715
c14aab8c
TV
57162019-12-08 Tom de Vries <tdevries@suse.de>
5717
5718 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5719
aa2d5a42
KS
57202019-12-07 Keith Seitz <keiths@redhat.com>
5721
5722 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5723 * gdb.base/corefile-buildid-shlib.c: New file.
5724 * gdb.base/corefile-buildid.c: New file.
5725 * gdb.base/corefile-buildid.exp: New file.
5726
93e55f0a
TV
57272019-12-06 Tom de Vries <tdevries@suse.de>
5728
5729 * gdb.dwarf2/varval.exp: Add decl before def test.
5730
c7d12402
TBA
57312019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5732
5733 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5734
06acc08f
TBA
57352019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5736
5737 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5738 CV and reference conversion for overload resolution.
5739 * gdb.cp/rvalue-ref-overload.exp: Test it.
5740
e0fad1ea
PW
57412019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5742
5743 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5744 * gdb.base/frameapply.exp: Test faas without command.
5745
8d70a9f0
AB
57462019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5747
5748 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5749 Fortran tests.
5750 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5751 order.
5752
36c8fb93
AB
57532019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5754
5755 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5756 casting to type with no kind specified.
5757 (test_basic_parsing_of_type_kinds): Additional tests for types
5758 with no kind specified, and add tests for single/double
5759 precision/complex types.
5760
4139ff00
TT
57612019-12-04 Tom Tromey <tromey@adacore.com>
5762
5763 * gdb.base/endianity.c (struct other) <x>: New field.
5764 (main): Initialize it.
5765 * gdb.base/endianity.exp: Update.
5766
a05cf17a
TT
57672019-12-04 Tom Tromey <tromey@adacore.com>
5768
5769 * gdb.ada/scalar_storage/storage.adb: New file.
5770 * gdb.ada/scalar_storage/pck.adb: New file.
5771 * gdb.ada/scalar_storage/pck.ads: New file.
5772 * gdb.ada/scalar_storage.exp: New file.
5773
103a685e
TT
57742019-12-04 Tom Tromey <tromey@adacore.com>
5775
5776 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5777 (main): Initialize it.
5778 * gdb.base/endianity.exp: Update.
5779
c2512106
AB
57802019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5781
5782 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5783
293b38d6
AB
57842019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5785
5786 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5787 -symbol-info-module-functions and -symbol-info-module-variables.
5788
216a7e6b
AB
57892019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5790
5791 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5792
5bbd8269
AB
57932019-12-01 Richard Bunt <richard.bunt@arm.com>
5794 Andrew Burgess <andrew.burgess@embecosm.com>
5795
5796 * gdb.fortran/derived-type-striding.exp: New file.
5797 * gdb.fortran/derived-type-striding.f90: New file.
5798 * gdb.fortran/array-slices.exp: New file.
5799 * gdb.fortran/array-slices.f90: New file.
5800
be09caf1
PW
58012019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5802
5803 * gdb.base/define.exp: Test . in command names.
5804 * gdb.base/setshow.exp: Update test, as . is now part of
5805 command name.
5806
643c0cbe
PW
58072019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5808
5809 * gdb.base/define-prefix.exp: New file.
5810
dcdec678
AB
58112019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5814 compile.
5815 (skip_btrace_pt_tests): Likewise.
5816
640ab947
AB
58172019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5818
5819 * gdb.fortran/info-modules.exp: Compile source files in correct
5820 order.
5821
d22670f0
KB
58222019-11-27 Kevin Buettner <kevinb@redhat.com>
5823
5824 * gdb.dwarf2/imported-unit.exp: New file.
5825 * gdb.dwarf2/imported-unit.c: New file.
5826
db5960b4
AB
58272019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5828
5829 * gdb.mi/mi-fortran-modules-2.f90: New file.
5830 * gdb.mi/mi-fortran-modules.exp: New file.
5831 * gdb.mi/mi-fortran-modules.f90: New file.
5832
7dc42066
AB
58332019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5834
5835 * gdb.mi/mi-sym-info-1.c: New file.
5836 * gdb.mi/mi-sym-info-2.c: New file.
5837 * gdb.mi/mi-sym-info.exp: New file.
5838
0dfeecca
TT
58392019-11-22 Tom Tromey <tromey@adacore.com>
5840
5841 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5842 * gdb.ada/tasks/foo.adb: Add another stopping location.
5843
34877895
PJ
58442019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5845
5846 * gdb.base/endianity.c: New test.
5847 * gdb.base/endianity.exp: New file.
5848
2e84f897
LD
58492019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5850
5851 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5852
65d1cd5f
TV
58532019-11-21 Tom de Vries <tdevries@suse.de>
5854
5855 PR gdb/24956
5856 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5857
4f22c3f4
SDJ
58582019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5859
5860 * gdb.python/py-progspace.exp: Add missing parentheses on some
5861 'print' commands.
5862
9f6ad286
TT
58632019-11-19 Tom Tromey <tom@tromey.com>
5864
5865 * gdb.tui/winheight.exp: New file.
5866
0b8dbf3f
AB
58672019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5868
5869 * gdb.base/ctf-whatis.c: Delete.
5870 * gdb.base/ctf-whatis.exp: Delete.
5871 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5872
f833b7a7
AB
58732019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5874
5875 * gdb.base/ctf-cvexpr.exp: Delete.
5876 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5877
30d0a636
AB
58782019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5879
5880 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5881 the compiler. Clean up header comment a little.
5882 * gdb.base/ctf-ptype.exp: Likewise.
5883 * gdb.base/ctf-whatis.exp: Likewise.
5884 * lib/gdb.exp (skip_ctf_tests): New proc.
5885
494409bb
SDJ
58862019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5887
5888 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5889 * gdb.tui/corefile-run.exp: New file.
5890
55708e99
TT
58912019-11-14 Tom Tromey <tromey@adacore.com>
5892
5893 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5894 regression tests.
5895
45e42163
TT
58962019-11-12 Tom Tromey <tom@tromey.com>
5897
5898 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5899 after any command. Expect prompt after WAIT_FOR is seen.
5900 (enter_tui): Enable resize messages.
5901 (command): Expect command in output.
5902 (get_line): Avoid error when cursor appears to be off-screen.
5903 (dump_screen): Include screen size in title.
5904 (_do_resize): New proc, from "resize".
5905 (resize): Rewrite. Do resize in two steps.
5906 * gdb.tui/empty.exp (layouts): Fix entries.
5907 (check_boxes): Remove xfail.
5908 (check_text): Dump screen on failure.
5909
086baaf1
AB
59102019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5911
5912 * gdb.python/py-symbol.exp: Add test for
5913 gdb.lookup_static_symbols.
5914
09ff83af
AB
59152019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5916
5917 * gdb.python/py-symbol.c: Declare and call function from new
5918 py-symbol-2.c file.
5919 * gdb.python/py-symbol.exp: Compile both source files, and add new
5920 tests for gdb.lookup_static_symbol.
5921 * gdb.python/py-symbol-2.c: New file.
5922
11af934b
TV
59232019-11-02 Tom de Vries <tdevries@suse.de>
5924
5925 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5926 * gdb.base/anon.exp: Same.
5927 * gdb.base/auto-connect-native-target.exp: Same.
5928 * gdb.base/call-ar-st.exp: Same.
5929 * gdb.base/catch-syscall.exp: Same.
5930 * gdb.base/commands.exp: Same.
5931 * gdb.base/default.exp: Same.
5932 * gdb.base/display.exp: Same.
5933 * gdb.base/float.exp: Same.
5934 * gdb.base/foll-fork.exp: Same.
5935 * gdb.base/help.exp: Same.
5936 * gdb.base/info-macros.exp: Same.
5937 * gdb.base/info-proc.exp: Same.
5938 * gdb.base/info-target.exp: Same.
5939 * gdb.base/long_long.exp: Same.
5940 * gdb.base/macscp.exp: Same.
5941 * gdb.base/memattr.exp: Same.
5942 * gdb.base/nofield.exp: Same.
5943 * gdb.base/pointers.exp: Same.
5944 * gdb.base/printcmds.exp: Same.
5945 * gdb.base/ptype.exp: Same.
5946 * gdb.base/restore.exp: Same.
5947 * gdb.base/return.exp: Same.
5948 * gdb.base/scope.exp: Same.
5949 * gdb.base/set-noassign.exp: Same.
5950 * gdb.base/setshow.exp: Same.
5951 * gdb.base/shlib-call.exp: Same.
5952 * gdb.base/signals.exp: Same.
5953 * gdb.base/sigstep.exp: Same.
5954 * gdb.base/skip.exp: Same.
5955 * gdb.base/solib-symbol.exp: Same.
5956 * gdb.base/stap-probe.exp: Same.
5957 * gdb.base/step-line.exp: Same.
5958 * gdb.base/step-test.exp: Same.
5959 * gdb.base/style.exp: Same.
5960 * gdb.base/varargs.exp: Same.
5961 * gdb.base/vla-datatypes.exp: Same.
5962 * gdb.base/vla-ptr.exp: Same.
5963 * gdb.base/vla-sideeffect.exp: Same.
5964 * gdb.base/volatile.exp: Same.
5965 * gdb.base/watch-cond-infcall.exp: Same.
5966 * gdb.base/watchpoint.exp: Same.
5967
e96ec2ba
TV
59682019-11-02 Tom de Vries <tdevries@suse.de>
5969
5970 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5971 * gdb.cp/cpexprs.exp: Same.
5972 * gdb.cp/except-multi-location.exp: Same.
5973 * gdb.cp/exceptprint.exp: Same.
5974 * gdb.cp/gdb2384.exp: Same.
5975 * gdb.cp/inherit.exp: Same.
5976 * gdb.cp/m-static.exp: Same.
5977 * gdb.cp/meth-typedefs.exp: Same.
5978 * gdb.cp/misc.exp: Same.
5979 * gdb.cp/namespace.exp: Same.
5980 * gdb.cp/non-trivial-retval.exp: Same.
5981 * gdb.cp/overload.exp: Same.
5982 * gdb.cp/pr17132.exp: Same.
5983 * gdb.cp/re-set-overloaded.exp: Same.
5984 * gdb.cp/rvalue-ref-types.exp: Same.
5985 * gdb.cp/templates.exp: Same.
5986
bd5766ec
LM
59872019-11-01 Luis Machado <luis.machado@linaro.org>
5988
5989 PR gdb/25124
5990
5991 * gdb.arch/pr25124.S: New file.
5992 * gdb.arch/pr25124.exp: New file.
5993
165f8965
AB
59942019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5995
5996 * gdb.fortran/info-modules.exp: Update expected results, and add
5997 additional tests for 'info module functinos', and 'info module
5998 variables'.
5999 * gdb.fortran/info-types.exp: Update expected results.
6000 * gdb.fortran/info-types.f90: Extend testcase with additional
6001 module variables and functions.
6002
59c35742
AB
60032019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6004
6005 * gdb.fortran/info-modules.exp: New file.
6006 * gdb.fortran/info-types.exp: Build with new file.
6007 * gdb.fortran/info-types.f90: Include and use new module.
6008 * gdb.fortran/info-types-2.f90: New file.
6009
f3fb2519
PW
60102019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6011
6012 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6013 * gdb.base/settings.exp: Test all settings types using
6014 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6015 that now verifies that the value of "maint show" is the same as
6016 returned by the settings functions. Test the type of the
6017 maintenance settings.
6018 * gdb.base/default.exp: Update show_conv_list.
6019
d1e36019
TV
60202019-10-31 Tom de Vries <tdevries@suse.de>
6021
6022 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6023 gdb_test.
6024 * gdb.arch/amd64-disp-step.exp: Same.
6025 * gdb.asm/asm-source.exp: Same.
6026 * gdb.btrace/buffer-size.exp: Same.
6027 * gdb.btrace/cpu.exp: Same.
6028 * gdb.btrace/enable.exp: Same.
6029 * gdb.dwarf2/count.exp: Same.
6030 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6031 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6032 * gdb.fortran/vla-datatypes.exp: Same.
6033 * gdb.fortran/vla-history.exp: Same.
6034 * gdb.fortran/vla-ptype.exp: Same.
6035 * gdb.fortran/vla-value.exp: Same.
6036 * gdb.fortran/whatis_type.exp: Same.
6037 * gdb.guile/guile.exp: Same.
6038 * gdb.multi/tids.exp: Same.
6039 * gdb.python/py-finish-breakpoint.exp: Same.
6040 * gdb.python/py-framefilter.exp: Same.
6041 * gdb.python/py-pp-registration.exp: Same.
6042 * gdb.python/py-xmethods.exp: Same.
6043 * gdb.python/python.exp: Same.
6044 * gdb.server/connect-with-no-symbol-file.exp: Same.
6045 * gdb.server/no-thread-db.exp: Same.
6046 * gdb.server/run-without-local-binary.exp: Same.
6047 * gdb.stabs/weird.exp: Same.
6048 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6049 * gdb.threads/thread-find.exp: Same.
6050 * gdb.threads/tls-shared.exp: Same.
6051 * gdb.threads/tls.exp: Same.
6052 * gdb.threads/wp-replication.exp: Same.
6053 * gdb.trace/ax.exp: Same.
6054 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6055
3d11e68e
TV
60562019-10-31 Tom de Vries <tdevries@suse.de>
6057
6058 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6059 * gdb.ada/array_subscript_addr.exp: Same.
6060 * gdb.ada/arrayidx.exp: Same.
6061 * gdb.ada/arrayparam.exp: Same.
6062 * gdb.ada/arrayptr.exp: Same.
6063 * gdb.ada/boolean_expr.exp: Same.
6064 * gdb.ada/call_pn.exp: Same.
6065 * gdb.ada/complete.exp: Same.
6066 * gdb.ada/fixed_cmp.exp: Same.
6067 * gdb.ada/fun_addr.exp: Same.
6068 * gdb.ada/funcall_param.exp: Same.
6069 * gdb.ada/interface.exp: Same.
6070 * gdb.ada/mod_from_name.exp: Same.
6071 * gdb.ada/null_array.exp: Same.
6072 * gdb.ada/packed_array.exp: Same.
6073 * gdb.ada/packed_tagged.exp: Same.
6074 * gdb.ada/print_chars.exp: Same.
6075 * gdb.ada/print_pc.exp: Same.
6076 * gdb.ada/ptype_arith_binop.exp: Same.
6077 * gdb.ada/ptype_field.exp: Same.
6078 * gdb.ada/ptype_tagged_param.exp: Same.
6079 * gdb.ada/rec_return.exp: Same.
6080 * gdb.ada/ref_tick_size.exp: Same.
6081 * gdb.ada/str_ref_cmp.exp: Same.
6082 * gdb.ada/taft_type.exp: Same.
6083 * gdb.ada/tagged.exp: Same.
6084 * gdb.ada/type_coercion.exp: Same.
6085 * gdb.ada/uninitialized_vars.exp: Same.
6086
60b6ede8
TV
60872019-10-30 Tom de Vries <tdevries@suse.de>
6088
6089 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6090
30baf67b
TV
60912019-10-26 Tom de Vries <tdevries@suse.de>
6092
6093 * gdb.base/bigcore.c: Fix typos in comments.
6094 * gdb.base/ctf-ptype.c: Same.
6095 * gdb.base/long_long.c: Same.
6096 * gdb.dwarf2/dw2-op-out-param.S: Same.
6097 * gdb.python/py-evthreads.c: Same.
6098 * gdb.reverse/i387-stack-reverse.c: Same.
6099 * gdb.trace/tfile.c: Same.
6100 * lib/compiler.c: Same.
6101 * lib/compiler.cc: Same.
6102
158da0d1
TV
61032019-10-25 Tom de Vries <tdevries@suse.de>
6104
6105 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6106 gdb_test_multiple calls.
6107 * gdb.reverse/sigall-reverse.exp: Same.
6108 * gdb.reverse/solib-precsave.exp: Same.
6109 * gdb.reverse/solib-reverse.exp: Same.
6110 * gdb.reverse/until-precsave.exp: Same.
6111 * gdb.reverse/until-reverse.exp: Same.
6112
4ccdfbec
TV
61132019-10-24 Tom de Vries <tdevries@suse.de>
6114
6115 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6116 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6117 kfail using -wrap pattern flag and convenience variable
6118 gdb_test_name.
6119
33d569b7
AB
61202019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6121
6122 * gdb.python/py-progspace.exp: Add tests for the
6123 Progspace.block_for_pc method.
6124
4d0b984b
TT
61252019-10-23 Tom Tromey <tom@tromey.com>
6126
6127 * configure: Rebuild.
6128 * aclocal.m4: Use m4_include, not sinclude.
6129
94cb3754
TV
61302019-10-21 Tom de Vries <tdevries@suse.de>
6131
6132 * gdb.base/infcall-nested-structs.c: Add
6133 __attribute__((noinline,noclone)) to all functions.
6134 (call_all): Add missing variable initialization. Simplify return value.
6135 (breakpt): Increment volatile variable, to prevent call from being
6136 optimized out.
6137 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6138
062f1fc1
TV
61392019-10-17 Tom de Vries <tdevries@suse.de>
6140
6141 * gdb.fortran/module.exp: Allow info variables to print info for files
6142 other than module.f90.
6143
0b54364d
AB
61442019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6145
6146 * gdb.fortran/module.exp: Extend with 'info variables' test.
6147
7ff5fae7
AB
61482019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6149
6150 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6151 F77_FOR_TARGET.
6152
d10eccaa
TV
61532019-10-16 Tom de Vries <tdevries@suse.de>
6154
6155 PR tdep/25096
6156 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6157
745ff14e
TV
61582019-10-16 Tom de Vries <tdevries@suse.de>
6159
6160 PR tdep/24104
6161 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6162 Add KFAIL for PR tdep/25096.
6163
03e1ab94
TV
61642019-10-16 Tom de Vries <tdevries@suse.de>
6165
6166 PR testsuite/25059
6167 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6168
b17fcc10
TV
61692019-10-16 Tom de Vries <tdevries@suse.de>
6170
6171 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6172 as signed.
6173
9223170f
SM
61742019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6175
6176 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6177 one instead of increasing timeout.
6178
d6e76313
TV
61792019-10-13 Tom de Vries <tdevries@suse.de>
6180
6181 PR record/25038
6182 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6183 * gdb.reverse/sigall-reverse.exp: Same.
6184 * gdb.reverse/solib-precsave.exp: Same.
6185 * gdb.reverse/solib-reverse.exp: Same.
6186 * gdb.reverse/step-precsave.exp: Same.
6187 * gdb.reverse/until-precsave.exp: Same.
6188 * gdb.reverse/until-reverse.exp: Same.
6189 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6190
6dfc0041
AA
61912019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6192
6193 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6194 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6195 (cmp_struct_05_01, cmp_struct_static_02_01)
6196 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6197 comparisons.
6198
abcf2cc8
TV
61992019-10-10 Tom de Vries <tdevries@suse.de>
6200
6201 PR testsuite/24888
6202 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6203 gnatlink.
6204
a50faaf6
TV
62052019-10-09 Tom de Vries <tdevries@suse.de>
6206
6207 PR testsuite/25048
6208 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6209
60ff3cd7
AB
62102019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6211
6212 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6213 exceptions due to missing debug information.
6214
dfee8566
TV
62152019-10-07 Tom de Vries <tdevries@suse.de>
6216
6217 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6218
3d63690a
AB
62192019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6220
6221 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6222 * gdb.base/annota1.exp: Update to use gdb_test_name.
6223
30d1f018
WP
62242019-10-07 Weimin Pan <weimin.pan@oracle.com>
6225
6226 * gdb.base/ctf-whatis.exp: New file.
6227 * gdb.base/ctf-whatis.c: New file.
6228 * gdb.base/ctf-ptype.exp: New file.
6229 * gdb.base/ctf-ptype.c: New file.
6230 * gdb.base/ctf-constvars.exp: New file.
6231 * gdb.base/ctf-constvars.c: New file.
6232 * gdb.base/ctf-cvexpr.exp: New file.
6233
4dbbb47c
TV
62342019-10-04 Tom de Vries <tdevries@suse.de>
6235
6236 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6237 for loop.
6238
77c2dba3
TT
62392019-10-03 Tom Tromey <tom@tromey.com>
6240
6241 PR rust/24976:
6242 * gdb.rust/simple.rs (Union2): New type.
6243 (main): Use Union2.
6244 * gdb.rust/simple.exp: Add test.
6245
179aed7f
AB
62462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6247
6248 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6249 nested function prefix.
6250
0a4b0913
AB
62512019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6252 Richard Bunt <richard.bunt@arm.com>
6253 Andrew Burgess <andrew.burgess@embecosm.com>
6254
6255 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6256 nested functions.
6257 * gdb.fortran/nested-funcs.f90: Update expected results.
6258 * gdb.fortran/nested-funcs-2.exp: New file.
6259 * gdb.fortran/nested-funcs-2.f90: New file.
6260
082cce05
AB
62612019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6262
6263 * gdb.python/py-parameter.exp: Make test names unique.
6264 * gdb.python/py-template.exp: Likewise.
6265 * gdb.python/py-value.exp: Likewise.
6266
2b74ba5a
AB
62672019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6268
6269 * gdb.base/break-interp.exp: Reduce test name duplication.
6270 * gdb.base/call-sc.exp: Likewise.
6271 * gdb.base/callfuncs.exp: Likewise.
6272 * gdb.base/charset.exp: Likewise.
6273 * gdb.base/dump.exp: Likewise.
6274 * gdb.base/ena-dis-br.exp: Likewise.
6275 * gdb.base/relational.exp: Likewise.
6276 * gdb.base/step-over-syscall.exp: Likewise.
6277 * gdb.base/structs.exp: Likewise.
6278
58eb20d5
AB
62792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6280
6281 * gdb.linespec/explicit.exp: Make test names unique.
6282 * gdb.linespec/ls-errs.exp: Likewise.
6283
4d421147
AB
62842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6285
6286 * gdb.reverse/break-precsave.exp: Make test names unique.
6287 * gdb.reverse/break-reverse.exp: Likewise.
6288 * gdb.reverse/finish-precsave.exp: Likewise.
6289 * gdb.reverse/finish-reverse.exp: Likewise.
6290 * gdb.reverse/machinestate-precsave.exp: Likewise.
6291 * gdb.reverse/machinestate.exp: Likewise.
6292 * gdb.reverse/readv-reverse.exp: Likewise.
6293 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6294 * gdb.reverse/sigall-precsave.exp: Likewise.
6295 * gdb.reverse/sigall-reverse.exp: Likewise.
6296 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6297 * gdb.reverse/watch-precsave.exp: Likewise.
6298 * gdb.reverse/watch-reverse.exp: Likewise.
6299
d8c06f22
AB
63002019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6301
6302 * gdb.threads/stop-with-handle.c: New file.
6303 * gdb.threads/stop-with-handle.exp: New file.
6304
3a56ed86
TV
63052019-10-03 Tom de Vries <tdevries@suse.de>
6306
6307 PR testsuite/25059
6308 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6309 directory" line to be missing.
6310
42275044
TV
63112019-10-03 Tom de Vries <tdevries@suse.de>
6312
6313 PR testsuite/25059
6314 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6315 type optional.
6316
9ef62df0
AA
63172019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6318
6319 * gdb.python/py-format-string.c (string.h): New include.
6320 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6321 the same value, for endianness-independence.
6322 * gdb.python/py-format-string.exp (default_regexp_dict)
6323 (test_pretty_structs, test_format): Adjust expected output to the
6324 changed initialization.
6325
37f6a7f4
TT
63262019-10-02 Tom Tromey <tromey@adacore.com>
6327
6328 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6329
1d58d6a2
PA
63302019-10-02 Pedro Alves <palves@redhat.com>
6331 Andrew Burgess <andrew.burgess@embecosm.com>
6332
6333 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6334 "print-file-var.h".
6335 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6336 (get_version_1): Print this_version_id and its address.
6337 Add extern "C" wrappers around interface functions.
6338 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6339 "print-file-var.h".
6340 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6341 (get_version_2): Print this_version_id and its address.
6342 Add extern "C" wrappers around interface functions.
6343 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6344 <stddef.h> and "print-file-var.h".
6345 Add extern "C" wrappers around interface functions.
6346 [VERSION_ID_MAIN] (this_version_id): Define.
6347 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6348 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6349 up extern "C" blocks.
6350 * gdb.base/print-file-var.exp (test): New, factored out from top
6351 level.
6352 (top level): Test all combinations of attribute hidden or not,
6353 dlopen or not, and this_version_id symbol in main file or not.
6354 Compile tests as both C++ and C, make test names unique.
6355
d770d56f
TT
63562019-10-01 Tom Tromey <tom@tromey.com>
6357
6358 * gdb.base/style.exp: Test "show logging filename".
6359
7f6aba03
TT
63602019-10-01 Tom Tromey <tom@tromey.com>
6361
6362 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6363 * gdb.base/style.exp: Add metadata style test.
6364
14309bb6
TT
63652019-10-01 Tom Tromey <tom@tromey.com>
6366
6367 * gdb.base/style.exp: Test "pwd".
6368
2a3c1174
PA
63692019-10-01 Tom Tromey <tom@tromey.com>
6370
6371 * gdb.base/style.exp: Update tests.
6372
53d666ec
AA
63732019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6374
6375 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6376 'six' to unsigned.
6377 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6378 'five'. Use an all-ones bit pattern for each.
6379 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6380 to its changed values.
6381
4a56a520
TT
63822019-09-30 Tom Tromey <tromey@adacore.com>
6383
6384 * gdb.rust/traits.rs: Disable all warnings.
6385
0df0352a
TV
63862019-09-29 Tom de Vries <tdevries@suse.de>
6387
aac66a4c 6388 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6389
73d9a918
TV
63902019-09-29 Tom de Vries <tdevries@suse.de>
6391
6392 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6393
060b3ab4
TV
63942019-09-27 Tom de Vries <tdevries@suse.de>
6395
6396 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6397
68f7d34d
TV
63982019-09-27 Tom de Vries <tdevries@suse.de>
6399
6400 PR record/23188
6401 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6402
5d63b30a
TT
64032019-09-26 Tom Tromey <tromey@adacore.com>
6404
6405 * gdb.ada/py_taft.exp: New file.
6406 * gdb.ada/py_taft/main.adb: New file.
6407 * gdb.ada/py_taft/pkg.adb: New file.
6408 * gdb.ada/py_taft/pkg.ads: New file.
6409
3d435220
TV
64102019-09-24 Tom de Vries <tdevries@suse.de>
6411
6412 PR gdb/24598
6413 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6414
77d03678
TV
64152019-09-22 Tom de Vries <tdevries@suse.de>
6416
6417 * gdb.base/restore.exp: Allow register variables to be optimized out at
6418 -O0.
6419
abf516c6
UW
64202019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6421
6422 * gdb.arch/spu-info.exp: Remove file.
6423 * gdb.arch/spu-info.c: Remove file.
6424 * gdb.arch/spu-ls.exp: Remove file.
6425 * gdb.arch/spu-ls.c: Remove file.
6426
6427 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6428 * gdb.asm/spu.inc: Remove file.
6429
6430 * gdb.base/dump.exp: Remove support for spu*-*-*.
6431 * gdb.base/stack-checking.exp: Likewise.
6432 * gdb.base/overlays.exp: Likewise.
6433 * gdb.base/ovlymgr.c: Likewise.
6434 * gdb.base/spu.ld: Remove file.
6435
6436 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6437 * gdb.cp/cpexprs.exp: Likewise.
6438 * gdb.cp/exception.exp: Likewise.
6439 * gdb.cp/gdb2495.exp: Likewise.
6440 * gdb.cp/mb-templates.exp: Likewise.
6441 * gdb.cp/pr9167.exp: Likewise.
6442 * gdb.cp/userdef.exp: Likewise.
6443
6444 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6445
6446 * gdb.cell: Remove directory.
6447 * lib/cell.exp: Remove file.
6448
e452e88f
TV
64492019-09-19 Tom de Vries <tdevries@suse.de>
6450
6451 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6452
8a625130
TV
64532019-09-19 Tom de Vries <tdevries@suse.de>
6454
6455 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6456
81dc3ab5
TV
64572019-09-19 Tom de Vries <tdevries@suse.de>
6458
6459 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6460 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6461 (gdb_target_cmd): ... here.
6462 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6463 value 2.
6464
b078f3ac
AB
64652019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6466
6467 * gdb.base/source-dir.exp: Avoid having directory names in test
6468 names.
6469
f1b620e9
MG
64702019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6471
6472 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6473 directory.
6474
67f3ed6a
AB
64752019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6476
6477 * gdb.base/list-missing-source.exp: New file.
6478
d1b70248
TV
64792019-09-14 Tom de Vries <tdevries@suse.de>
6480
6481 PR teststuite/24599
6482 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6483 * lib/ada.exp (gnatmake_version_at_least): New proc.
6484
5fabdcd6
AB
64852019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6486
6487 * gdb.base/maint.exp: Use exec_has_index_section.
6488
aa17805f
AB
64892019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6490
6491 * gdb.base/maint.exp: Add test for 'maint info sections'.
6492
25e5c209
TV
64932019-09-12 Tom de Vries <tdevries@suse.de>
6494
6495 * gdb.base/store.exp: Allow register variables to be optimized out at
6496 -O0.
6497
4993045d
PW
64982019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6499
6500 * gdb.ada/rdv_wait.exp: Update to new task names.
6501 * gdb.base/task_switch_in_core.exp: Likewise.
6502 * gdb.base/info_sources_base.c: Likewise.
6503
8a516164
TT
65042019-09-10 Tom Tromey <tromey@adacore.com>
6505
6506 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6507
aa391654
TT
65082019-09-10 Tom Tromey <tromey@adacore.com>
6509
6510 * gdb.ada/dgopt.exp: New file.
6511 * gdb.ada/dgopt/x.adb: New file.
6512
8634b462
TT
65132019-09-08 Tom Tromey <tom@tromey.com>
6514
6515 * gdb.tui/resize.exp: Remove setup_xfail.
6516 * gdb.tui/regs.exp: Remove setup_xfail.
6517 * gdb.tui/basic.exp: Remove setup_xfail.
6518
736b0f76
DB
65192019-09-06 David Blaikie <dblaikie@gmail.com>
6520
6521 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6522 * gdb.cp/cplabel.exp: Ditto.
6523 * gdb.linespec/ls-errs.exp: Ditto.
6524
30331a6c
TV
65252019-09-05 Tom de Vries <tdevries@suse.de>
6526
6527 * lib/gdb.exp (cmp_file_string): New proc.
6528 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6529 runto_main. Verify save breakpoints output.
6530
98b0ebab
PW
65312019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6532
6533 * gdb.base/info-var.exp: Test info variables without running
6534 to main, to avoid expect's buffer overflow.
6535
4e962e74
TT
65362019-09-03 Tom Tromey <tromey@adacore.com>
6537
6538 * gdb.ada/bias.exp: New file.
6539 * gdb.ada/bias/bias.adb: New file.
6540 * gdb.ada/print_chars.exp: Add regression test.
6541 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6542 (MC): New variable.
6543
2ea1a07a
SL
65442019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6545
6546 * gdb.base/argv0-symlink.exp: Run only on native target
6547 and local host.
6548
8077c50d
TV
65492019-08-29 Tom de Vries <tdevries@suse.de>
6550
6551 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6552 diverse debug info.
6553 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6554
48352473
TV
65552019-08-28 Tom de Vries <tdevries@suse.de>
6556
6557 * gdb.base/info-var.exp: Allow info variables to print info for files
6558 other than info-var-f1.c and info-var-f2.c.
6559
d8f27c60
AB
65602019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6561
6562 * gdb.fortran/info-types.exp: Add module.
6563 * gdb.fortran/info-types.f90: Update expected results.
6564
1f20c35e
AB
65652019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6566
6567 * gdb.fortran/info-types.exp: New file.
6568 * gdb.fortran/info-types.f90: New file.
6569 * lib/fortran.exp (fortran_character1): New proc.
6570
4acfdd20
AB
65712019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6572
6573 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6574 functions'. Reindent as needed.
6575 * gdb.base/info-var-f1.c: New file.
6576 * gdb.base/info-var-f2.c: New file.
6577 * gdb.base/info-var.exp: New file.
6578 * gdb.base/info-var.h: New file.
6579
5c31b358
TV
65802019-08-26 Tom de Vries <tdevries@suse.de>
6581
6582 PR c++/24852
6583 * gdb.cp/no-libstdcxx-probe.exp: New test.
6584
b694989f
TV
65852019-08-26 Tom de Vries <tdevries@suse.de>
6586
6587 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6588 * tests need to be skipped.
6589 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6590 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6591 mi_skip_libstdcxx_probe_tests.
6592
d9c4ba53
SDJ
65932019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6594
6595 * gdb.python/py-xmethods.exp: Use raw strings when passing
6596 arguments to SimpleXMethodMatcher.
6597
395fad09
TV
65982019-08-22 Tom de Vries <tdevries@suse.de>
6599
6600 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6601 more informative.
6602
26c957f1
PA
66032019-08-21 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/with.exp: Test "with" with no arguments.
6606
61f80d5d
TV
66072019-08-21 Tom de Vries <tdevries@suse.de>
6608
6609 * gdb.base/gdb-caching-proc.exp: Sort files.
6610
d7a11d13
TV
66112019-08-20 Tom de Vries <tdevries@suse.de>
6612
6613 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6614 compilation.
6615
34dafe9f
TV
66162019-08-16 Tom de Vries <tdevries@suse.de>
6617
6618 * gdb.base/compare-sections.exp ("after run to main"): Allow
6619 mismatched read-only sections for PIE executables.
6620
398fdd60
TT
66212019-08-16 Tom Tromey <tom@tromey.com>
6622
6623 * lib/tuiterm.exp (_csi_Z): New proc.
6624 * gdb.tui/basic.exp: Update window positions.
6625 * gdb.tui/empty.exp: Update window positions.
6626
d8f9e51c
SL
66272019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6628
6629 * gdb.base/examine-backward.exp: Correct regexp for
6630 "examine 3 bytes backward from ${address_zero}".
6631
3df505f6
TT
66322019-08-15 Tom Tromey <tom@tromey.com>
6633
6634 * gdb.tui/empty.exp: Enable resizing tests.
6635
272560b5
TT
66362019-08-15 Tom Tromey <tromey@adacore.com>
6637
6638 * gdb.ada/char_enum.exp: Add regression tests.
6639 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6640 and '0'.
6641 (Char, Gchar): Update.
6642 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6643
08235187
CB
66442019-08-15 Christian Biesinger <cbiesinger@google.com>
6645
6646 * gdb.python/python.exp: Expect a leading underscore on
6647 GdbOutput{,Error}File.
6648
22a2ab04
SL
66492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6650
6651 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6652 Windows host.
6653
835b995b
SL
66542019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6655
6656 * gdb.base/batch-preserve-term-settings.exp
6657 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6658
97dd8e07
CB
66592019-08-15 Christian Biesinger <cbiesinger@google.com>
6660
6661 * lib/gdb.exp: When running on a mingw target, replace
6662 /x/ with x:/.
6663
75faf5c4
AH
66642019-08-14 Alan Hayward <alan.hayward@arm.com>
6665
6666 * gdb.arch/aarch64-prologue.c: New test.
6667 * gdb.arch/aarch64-prologue.exp: New file.
6668
abc6c00f
TV
66692019-08-13 Tom de Vries <tdevries@suse.de>
6670
6671 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6672 Thread.
6673
74c2c1f4
SL
66742019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6675
6676 * gdb.python/py-completion.exp: Download the .py file to the host
6677 and use its host pathname. Conditionalize tests that use
6678 tab completion and manipulate files on the build machine.
6679 * gdb.python/py-events.exp: Download the .py file to the host
6680 and use its host pathname.
6681 * gdb.python/py-evsignal.exp: Likewise.
6682 * gdb.python/py-evthreads.exp: Likewise.
6683 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6684 pathname syntax.
6685 * gdb.python/py-framefilter.exp: Download the .py file to the right
6686 place on the host. Match Windows pathname syntax.
6687 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6688 .py file to the host and use its host pathname.
6689 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6690 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6691 build pathname. Skip symlink test on Windows host. Add missing
6692 newline at end of file.
6693 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6694 and use its host pathname.
6695 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6696 * gdb.python/py-section-script.exp: Use host location of binfile
6697 on safe-path. Use correct path separator on Windows host.
6698 Reorder alternatives in gdb_test_multiple to prevent matching
6699 the wrong alternative on success.
6700 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6701
ca2589f3
PP
67022019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6703
6704 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6705 expect the GDB inferior to no longer immediately stop after
6706 being resumed with "signal SIGINT".
6707
020a839d
SL
67082019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6709
6710 * gdb.linespec/break-ask.exp: Generalize regexps to match
6711 Windows pathnames too.
6712
128d6509
TV
67132019-08-08 Tom de Vries <tdevries@suse.de>
6714
6715 PR testsuite/24862
6716 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6717
590042fc
PW
67182019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6719
6720 * gdb.base/style.exp: Update tests for help doc new invariants.
6721 * gdb.base/help.exp: Likewise.
6722
046bebe1
TT
67232019-08-06 Tom Tromey <tom@tromey.com>
6724
6725 * gdb.base/style.exp: Add disassemble test.
6726 * gdb.base/style.c (some_called_function): New function.
6727 (main): Use it.
6728
0b27c27d
CB
67292019-08-05 Christian Biesinger <cbiesinger@google.com>
6730
6731 * gdb.python/py-block.exp: Test dictionary access on blocks.
6732
580f1034
SM
67332019-08-05 Simon Marchi <simon.marchi@efficios.com>
6734
6735 PR gdb/24863
6736 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6737 -list-thread-groups --available test when running under
6738 check-read1.
6739
d86bd7cb
TV
67402019-08-05 Tom de Vries <tdevries@suse.de>
6741
6742 PR testsuite/24863
6743 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6744 * gdb.base/help.exp: Use with_read1_timeout_factor.
6745 * gdb.base/info-macros.exp: Same.
6746 * gdb.cp/nested-types.exp: Same.
6747
a80cf5d8
TV
67482019-08-05 Tom de Vries <tdevries@suse.de>
6749
6750 * lib/gdb.exp (version_at_least): Factor out of ...
6751 (tcl_version_at_least): ... here.
6752 (gdb_compile): Fail if pie results in non-PIE executable.
6753 (readelf_version, readelf_prints_pie): New proc.
6754 (exec_is_pie): Return -1 if unknown.
6755
d0962838
TV
67562019-08-05 Tom de Vries <tdevries@suse.de>
6757
6758 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6759
2252ff3d
SL
67602019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6761
6762 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6763
26655f53
SL
67642019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6765
6766 * lib/completion-support.exp (test_gdb_complete_none): Skip
6767 tab completion tests if no readline support.
6768 (test_gdb_complete_unique_re): Likewise.
6769 (test_gdb_complete_multiple): Likewise.
6770
db4dc13e
PW
67712019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6772
6773 * gdb.base/info_sources.exp: New file.
6774 * gdb.base/info_sources.c: New file.
6775 * gdb.base/info_sources_base.c: New file.
6776
0eba165a
PFC
67772019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6778
6779 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6780 prefix argument.
6781 (test_exit_status): Add prefix argument.
6782
59bd512b
TV
67832019-08-01 Tom de Vries <tdevries@suse.de>
6784
6785 PR testsuite/24863
6786 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6787 calling exp_continue for new thread and thread exited messages.
6788
2a3ad588
TV
67892019-08-01 Tom de Vries <tdevries@suse.de>
6790
6791 PR testsuite/24863
6792 * gdb.base/structs.exp: Fix check-read1 timeout using
6793 gdb_test_sequence.
6794 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6795
117eb594
TV
67962019-08-01 Tom de Vries <tdevries@suse.de>
6797
6798 PR testsuite/24863
6799 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6800 line.
6801
ed591340
TV
68022019-08-01 Tom de Vries <tdevries@suse.de>
6803
6804 PR testsuite/24863
6805 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6806
aa3b6533
TT
68072019-07-30 Tom Tromey <tromey@adacore.com>
6808
6809 * gdb.ada/display_nested.exp: New file.
6810 * gdb.ada/display_nested/foo.adb: New file.
6811 * gdb.ada/display_nested/pack.adb: New file.
6812 * gdb.ada/display_nested/pack.ads: New file.
6813
2906593f
CB
68142019-07-30 Christian Biesinger <cbiesinger@google.com>
6815
6816 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6817 namespace.
6818 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6819
0f575925
TV
68202019-07-30 Tom de Vries <tdevries@suse.de>
6821
6822 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6823 instead.
6824
b13057d9
TV
68252019-07-30 Tom de Vries <tdevries@suse.de>
6826
6827 PR testsuite/24834
6828 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6829 (exec_is_pie): New proc.
6830
5c4dde85
CB
68312019-07-29 Christian Biesinger <cbiesinger@google.com>
6832
6833 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6834
c620ed88
CB
68352019-07-29 Christian Biesinger <cbiesinger@google.com>
6836
6837 * gdb.python/py-objfile.c: Add global and static vars.
6838 * gdb.python/py-objfile.exp: Test new functions Objfile.
6839 lookup_global_symbol and lookup_static_symbol.
6840
3d235706
TT
68412019-07-29 Tom Tromey <tom@tromey.com>
6842
6843 * lib/tuiterm.exp (Term::_csi_@): New proc.
6844 (Term::_csi_X): Don't move cursor.
6845
c7e4c0a6
PW
68462019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6847
6848 * gdb.base/options.exp: Update backtrace - completion to
6849 new option -frame-info.
6850 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6851 Test new 'set print frame-info'. Test backtrace -frame-info
6852 overriding 'set print frame-info'.
6853 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6854 Test new 'set print frame-info'.
6855 Verify consistency of backtrace with and without filters, with and
6856 without -no-filters.
6857 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6858 default.
6859
de28a3b7
TV
68602019-07-29 Tom de Vries <tdevries@suse.de>
6861
6862 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6863 no arguments".
6864
507dd60e
TV
68652019-07-29 Tom de Vries <tdevries@suse.de>
6866
6867 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6868 is a substring of the first for "complete non-unique file name".
6869
5beafce9
TV
68702019-07-29 Tom de Vries <tdevries@suse.de>
6871
6872 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6873 with ".*".
6874
2d274232
TV
68752019-07-29 Tom de Vries <tdevries@suse.de>
6876
6877 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6878 Pass prompt_regexp parameter to gdb_test_multiple calls.
6879
9197cd8b
TV
68802019-07-29 Tom de Vries <tdevries@suse.de>
6881
6882 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6883 print registers" regexps.
9197cd8b 6884
b528dae0
TV
68852019-07-29 Tom de Vries <tdevries@suse.de>
6886
6887 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6888
d17725d7
TV
68892019-07-29 Tom de Vries <tdevries@suse.de>
6890
6891 PR gdb/24855
6892 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6893 (skip_python_tests_prompt): Add prompt_regexp argument to
6894 gdb_test_multiple calls.
6895
52b75bf1
TT
68962019-07-27 Tom Tromey <tom@tromey.com>
6897
6898 * gdb.tui/main.exp: New file.
6899
2b1d00c2
TT
69002019-07-27 Tom Tromey <tom@tromey.com>
6901
6902 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6903 optional.
6904 * gdb.tui/empty.exp: New file.
6905
ded631d5
TT
69062019-07-27 Tom Tromey <tom@tromey.com>
6907
6908 * lib/tuiterm.exp (spawn): New proc.
6909 (Term::resize): New proc.
6910 * gdb.tui/resize.exp: New file.
6911
58ac439d
TT
69122019-07-27 Tom Tromey <tom@tromey.com>
6913
6914 * gdb.tui/list.exp: New file.
6915
fe1f56ee
TT
69162019-07-27 Tom Tromey <tom@tromey.com>
6917
6918 * gdb.tui/regs.exp: New file.
6919
f790b310
TT
69202019-07-27 Tom Tromey <tom@tromey.com>
6921
6922 * gdb.tui/basic.exp: Add "layout split" test.
6923
d95fc6ee
TT
69242019-07-27 Tom Tromey <tom@tromey.com>
6925
6926 * gdb.tui/basic.exp: Add "layout asm" test.
6927
c3786b3a
TT
69282019-07-27 Tom Tromey <tom@tromey.com>
6929
6930 * lib/tuiterm.exp: New file.
6931 * gdb.tui/basic.exp: New file.
6932
98a617f8
KB
69332019-07-27 Kevin Buettner <kevinb@redhat.com>
6934
6935 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6936 Enable tests associated with this flag. Adjust regex
6937 referencing "foo_low" to now refer to "foo_cold" instead.
6938
5c076da4
KB
69392019-07-27 Kevin Buettner <kevinb@redhat.com>
6940
6941 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6942 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6943 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6944 foo_cold. Revise comments to match.
6945 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6946 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6947 were wrapped into this proc; Call do_test in loop from outermost
6948 level.
6949 (foo_low): Rename all occurrences to "foo_cold".
6950 (backtrace from baz): New test.
6951 (x2/i foo_cold): New test.
6952 (info line *foo_cold): New test.
6953
1512d3b7
TV
69542019-07-26 Tom de Vries <tdevries@suse.de>
6955
6956 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6957
297989a1
TV
69582019-07-25 Tom de Vries <tdevries@suse.de>
6959
6960 PR testsuite/24830
6961 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6962 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6963 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6964 (skip_libstdcxx_probe_tests): ... here.
6965 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6966
b3b965fb
TV
69672019-07-24 Tom de Vries <tdevries@suse.de>
6968
6969 PR testsuite/24807
6970 * gdb.objc/basicclass.m: Include stdio.h.
6971 * gdb.objc/nondebug.m: Same.
6972 * gdb.objc/objcdecode.m: Same.
6973
4625b4d0
TV
69742019-07-24 Tom de Vries <tdevries@suse.de>
6975
6976 PR testsuite/24612
6977 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6978 additional_flags.
6979
024a5840
TV
69802019-07-24 Tom de Vries <tdevries@suse.de>
6981
6982 PR testsuite/24831
6983 * gdb.multi/tids.exp: Update error messages for info threads.
6984
c76ddaa3
TV
69852019-07-24 Tom de Vries <tdevries@suse.de>
6986
6987 * gdb.base/info-types.exp: Allow info types to print info for more than
6988 one file.
6989
9a618ef6
TV
69902019-07-23 Tom de Vries <tdevries@suse.de>
6991
6992 PR testsuite/24842
6993 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6994 gdb_spawn_with_cmdline_opts.
6995
40eadf04
SP
69962019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6997
6998 * gdb.arch/arm-cmse-sgstubs.c: New test.
6999 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7000
5ba29434
TV
70012019-07-23 Tom de Vries <tdevries@suse.de>
7002
7003 PR testsuite/24711
7004 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7005 issuing next command.
7006
a8e9d247
AB
70072019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7008
7009 * gdb.ada/info_auto_lang.exp: Update expected results.
7010 * gdb.base/info-types.c: Add additional types to check.
7011 * gdb.base/info-types.exp: Update expected results.
7012
eb86c5e2
AB
70132019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7014
7015 * gdb.base/info-types.c: New file.
7016 * gdb.base/info-types.exp: New file.
7017
01e175fe
AB
70182019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7019
7020 * gdb.arch/riscv-bp-infcall.c: New file.
7021 * gdb.arch/riscv-bp-infcall.exp: New file.
7022
6b78c3f8
AB
70232019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7024
7025 PR breakpoints/24541
7026 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7027
da738167
TV
70282019-07-14 Tom de Vries <tdevries@suse.de>
7029
7030 PR testsuite/24760
7031 * gdb.objc/basicclass.exp: Fix unterminated string.
7032
0d4e84ed
AB
70332019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7034 Andrew Burgess <andrew.burgess@embecosm.com>
7035
7036 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7037 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7038 negative bounds.
7039 * gdb.fortran/vla-value.exp: Print elements of an array with
7040 negative bounds.
7041 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7042 testing.
7043
021d8588
AB
70442019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7045
7046 * gdb.base/options.exp (expect_string): Dequote strings in
7047 results.
7048 (test-string): Test strings with different quoting and reindent.
7049
f06f1252
TT
70502019-07-10 Tom Tromey <tromey@adacore.com>
7051
7052 * gdb.ada/mi_ex_cond.exp: Update expected results.
7053 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7054 * gdb.ada/mi_catch_ex.exp: Update expected results.
7055 * gdb.ada/mi_catch_assert.exp: Update expected results.
7056 * gdb.ada/catch_ex.exp (catch_exception_info)
7057 (catch_exception_entry, catch_assert_entry)
7058 (catch_unhandled_entry): Update.
7059 * gdb.ada/catch_assert_if.exp: Update expected results.
7060
b863685d
RB
70612019-07-10 Richard Bunt <richard.bunt@arm.com>
7062 Stephen Roberts <stephen.roberts@arm.com>
7063
7064 * gdb.base/define.exp: Restore original prompt.
7065
cb1e4e32
PA
70662019-07-09 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7069 breakpoints" output.
7070 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7071 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7072 throw" creates breakpoint.
7073 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7074 'type="catchpoint"'.
7075
b58a68fe
PA
70762019-07-09 Pedro Alves <palves@redhat.com>
7077
7078 PR c++/15468
7079 * gdb.cp/except-multi-location-lib.cc: New.
7080 * gdb.cp/except-multi-location-main.cc: New.
7081 * gdb.cp/except-multi-location.exp: New.
7082
0826779b
PW
70832019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7084
7085 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7086 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7087 argument and update callers.
7088
5b0e2db4
AB
70892019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7090
7091 * gdb.arch/amd64-break-on-asm-line.S: New file.
7092 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7093
1f6f6e21
PW
70942019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7095
7096 * gdb.base/printcmds.exp: Test printing C string and
7097 C wide string convenience vars without transiting via the inferior.
7098 Also make test names unique.
7099
ea142fbf
AH
71002019-07-08 Alan Hayward <alan.hayward@arm.com>
7101
5862c886 7102 PR breakpoints/25011
ea142fbf
AH
7103 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7104
213fd9fa
PA
71052019-07-04 Pedro Alves <palves@redhat.com>
7106
7107 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7108 body returned ok(0), break(3) or continue(4).
7109 * gdb.testsuite/foreach_with_prefix.exp: New file.
7110
2b40fda7
AH
71112019-07-04 Alan Hayward <alan.hayward@arm.com>
7112
7113 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7114
a26c8de0
PA
71152019-07-03 Pedro Alves <palves@redhat.com>
7116
7117 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7118 "return -code".
7119
5f4ba3e7
PA
71202019-07-03 Pedro Alves <palves@redhat.com>
7121
7122 PR cli/24732
7123 * gdb.base/shell.exp: Load completion-support.exp.
7124 Adjust expected error output. Add completion tests.
7125
a994424f
PA
71262019-07-03 Pedro Alves <palves@redhat.com>
7127
7128 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7129 string_to_regexp.
7130
3d9be6f5
PA
71312019-07-03 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7134 (expect_integer): Adjust to expect "-string".
7135 (expect_string): New.
7136 (all_options): Expect "-string".
7137 (test-flag, test-boolean): Adjust to expect "-string".
7138 (test-string): New proc.
7139 (top level): Call it.
7140
41fc454c
PA
71412019-07-03 Pedro Alves <palves@redhat.com>
7142
7143 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7144 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7145 the expected output in the success.
7146
b2b2a215
PA
71472019-07-03 Pedro Alves <palves@redhat.com>
7148
7149 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7150 Split one gdb_test_multiple call in two to avoid a race.
7151
fdbc9870
PA
71522019-07-03 Pedro Alves <palves@redhat.com>
7153
7154 * gdb.base/with.c: New file.
7155 * gdb.base/with.exp: New file.
7156
c6ac8931
PA
71572019-07-03 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/settings.exp: Replace all references to "maint
7160 test-settings set" with references to "maint set test-settings",
7161 and all references to "maint test-settings show" with references
7162 to "maint show test-settings".
7163
970f9d09
PA
71642019-07-03 Pedro Alves <palves@redhat.com>
7165
7166 * gdb.base/settings.exp (test-string): Adjust expected out when
7167 testing "maint test-settings show filename"
7168
54d66006
PA
71692019-07-02 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/options.exp (test-info-threads): New procedure.
7172 (top level): Call it.
7173
10d06d82
TT
71742019-06-28 Tom Tromey <tromey@adacore.com>
7175
7176 * gdb.dwarf2/ada-linkage-name.c: New file.
7177 * gdb.dwarf2/ada-linkage-name.exp: New file.
7178
3d507ff2
TT
71792019-06-27 Tom Tromey <tromey@adacore.com>
7180
d039f014 7181 PR c++/20020:
3d507ff2
TT
7182 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7183
8af58ffe
TV
71842019-06-26 Tom de Vries <tdevries@suse.de>
7185
7186 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7187
22e21752
TV
71882019-06-26 Tom de Vries <tdevries@suse.de>
7189
7190 * gdb.base/index-cache.exp: Add back missing debug option.
7191
b65b566c
PW
71922019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7193
7194 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7195
5c2c8c69
TV
71962019-06-25 Tom de Vries <tdevries@suse.de>
7197
7198 PR testsuite/24727
7199 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7200
164e3873
TV
72012019-06-24 Tom de Vries <tdevries@suse.de>
7202
7203 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7204
824eacee
TV
72052019-06-24 Tom de Vries <tdevries@suse.de>
7206
7207 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7208 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7209 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7210
385b97d3
TV
72112019-06-24 Tom de Vries <tdevries@suse.de>
7212
7213 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7214
c596f180
TV
72152019-06-21 Tom de Vries <tdevries@suse.de>
7216
7217 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7218
b13a7d03
TV
72192019-06-21 Tom de Vries <tdevries@suse.de>
7220
7221 PR testsuite/24518
7222 PR ada/24713
7223 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7224 index.
7225
899277ae
TT
72262019-06-19 Tom Tromey <tromey@adacore.com>
7227
7228 * gdb.ada/length_cond.exp: Add intro comment.
7229
680e1bee
TT
72302019-06-19 Tom Tromey <tromey@adacore.com>
7231
7232 * gdb.ada/length_cond.exp: New file.
7233 * gdb.ada/length_cond/length_cond.adb: New file.
7234 * gdb.ada/length_cond/pck.adb: New file.
7235 * gdb.ada/length_cond/pck.ads: New file.
7236
0ed4690a
TV
72372019-06-18 Tom de Vries <tdevries@suse.de>
7238
7239 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7240
d20ed5fd
TT
72412019-06-18 Tom Tromey <tromey@adacore.com>
7242
7243 * gdb.base/list0.h: Add comment explaining control character.
7244
86e04673
TV
72452019-06-18 Tom de Vries <tdevries@suse.de>
7246
7247 * boards/fission.exp: Break up long debug_flags line.
7248
c4973306
SM
72492019-06-16 Tom de Vries <tdevries@suse.de>
7250
7251 PR gdb/24445
7252 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7253 generated index.
7254
93cb9841
AB
72552019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7256
7257 PR gdb/24686
7258 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7259 improve detection of bug gdb/24541.
7260
399aaebd
SM
72612019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7262
7263 PR gdb/24669
7264 * gdb.base/index-cache.exp (uses_readnow,
7265 expecting_index_cache_use): Define global variable.
7266 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7267 expecting_index_cache_use.
7268
584a927c
AB
72692019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7270 Andrew Burgess <andrew.burgess@embecosm.com>
7271
7272 * gdb.fortran/pointers.f90: New file.
7273 * gdb.fortran/print_type.exp: New file.
7274 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7275 * gdb.fortran/vla-type.exp: Likewise.
7276 * gdb.fortran/vla-value.exp: Likewise.
7277 * gdb.mi/mi-vla-fortran.exp: Likewise.
7278
30056ea0
AB
72792019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7280
7281 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7282 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7283 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7284 as a stop reason.
7285
ec8e2b6d
AB
72862019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7287
7288 * gdb.base/annota1.exp: Update expected results.
7289 * gdb.cp/annota2.exp: Likewise.
7290 * gdb.cp/annota3.exp: Likewise.
7291
09e4c4e1
AB
72922019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7293
7294 * gdb.base/style-logging.exp: Remove path from test name.
7295
0735b091
TT
72962019-06-14 Tom Tromey <tromey@adacore.com>
7297
7298 PR gdb/24502:
7299 * gdb.base/style-logging.exp: New file.
7300
f5686554
TT
73012019-06-14 Tom Tromey <tromey@adacore.com>
7302
7303 * gdb.base/symfile-warn.exp: New file.
7304 * gdb.base/symfile-warn.c: New file.
7305
a0c1ffed
TT
73062019-06-14 Tom Tromey <tromey@adacore.com>
7307
7308 * gdb.base/annotate-symlink.exp: New file.
7309
f411722c
TT
73102019-06-14 Tom Tromey <tromey@adacore.com>
7311
7312 * gdb.ada/set_wstr.exp: Add reassignment test.
7313
4268ec18
TT
73142019-06-14 Tom Tromey <tromey@adacore.com>
7315
7316 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7317 'unchecked_access and 'unrestricted_access as well.
7318
9a9e394b
TT
73192019-06-14 Tom Tromey <tromey@adacore.com>
7320
7321 PR ada/24539:
7322 * gdb.ada/vla.exp: Update tests.
7323 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7324 pragma.
7325
4c048731
PA
73262019-06-13 Pedro Alves <palves@redhat.com>
7327
7328 * gdb.base/settings.exp (test-integer): Test junk after
7329 "unlimited".
7330
6665660a
PA
73312019-06-13 Pedro Alves <palves@redhat.com>
7332
7333 * gdb.base/options.exp (test-thread-apply): New.
7334 (top level): Call it.
7335
5d707134
PA
73362019-06-13 Pedro Alves <palves@redhat.com>
7337
7338 * gdb.base/options.exp (test-frame-apply): New.
7339 (top level): Test print commands with different "frame apply"
7340 prefixes.
7341
e2a689da
PA
73422019-06-13 Pedro Alves <palves@redhat.com>
7343
e79be6e5 7344 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7345 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7346 'max_completions' parameter and handle it.
7347 (test_gdb_completion_offers_commands): New.
7348
90a1ef87
PA
73492019-06-13 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7352
d4c16835
PA
73532019-06-13 Pedro Alves <palves@redhat.com>
7354
7355 * gdb.base/options.exp (test-backtrace): New.
7356 (top level): Call it.
7357
2daf894e
PA
73582019-06-13 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.guile/scm-frame-args.exp: Use "set print
7361 raw-frame-arguments" instead of "set print raw frame-arguments".
7362 * gdb.python/py-frame-args.exp: Likewise.
7363
e6ed716c
PA
73642019-06-13 Pedro Alves <palves@redhat.com>
7365
7366 * gdb.compile/compile.exp: Adjust expected output to option
7367 processing changes.
7368
7d8062de
PA
73692019-06-13 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.base/options.exp: Build executable.
7372 (test-print): New procedure.
7373 (top level): Call it, once for "print" and another for "compile
7374 print".
7375
9d0faba9
PA
73762019-06-13 Pedro Alves <palves@redhat.com>
7377
7378 * gdb.base/options.c: New file.
7379 * gdb.base/options.exp: New file.
7380
dee7b4c8
PA
73812019-06-13 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7384 that "o" is ambiguous.
7385
dca0f6c0
PA
73862019-06-13 Pedro Alves <palves@redhat.com>
7387
7388 * gdb.base/settings.c: New file.
7389 * gdb.base/settings.exp: New file.
7390
ccf46844
PA
73912019-06-13 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.base/completion.exp: Fix comment typo.
7394
b9a3f842
PA
73952019-06-13 Pedro Alves <palves@redhat.com>
7396
7397 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7398 foo --1" test.
7399
d106773e
PA
74002019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7401
7402 * gdb.fortran/block-data.f: New.
7403 * gdb.fortran/block-data.exp: New.
7404
fea82da0
TV
74052019-06-11 Tom de Vries <tdevries@suse.de>
7406
7407 PR testsuite/24521
7408 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7409 message.
7410
8c2e74f1
TV
74112019-06-11 Tom de Vries <tdevries@suse.de>
7412
7413 PR testsuite/24521
7414 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7415
b49851c8
TV
74162019-06-11 Tom de Vries <tdevries@suse.de>
7417
7418 * boards/readnow.exp: New file.
7419
a7067863
AB
74202019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7421
7422 * gdb.fortran/vla-sizeof.exp: Update expected results.
7423
1a3da2cd
AB
74242019-06-06 Amos Bird <amosbird@gmail.com>
7425
7426 * gdb.base/annota1.exp (thread_switch): Add test for
7427 thread-exited annotation.
7428
3847a7bf
TT
74292019-06-06 Tom Tromey <tromey@adacore.com>
7430
7431 * gdb.base/maint.exp: Expect command started/finished output.
7432
0088ba59
AB
74332019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7434
7435 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7436 comment.
7437 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7438
312617a3
AB
74392019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7440
7441 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7442 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7443 * gdb.arch/riscv-unwind-long-insn.c: New file.
7444 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7445
e1f2e1a2
CB
74462019-06-04 Christian Biesinger <cbiesinger@google.com>
7447
d3238f7d 7448 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7449
206584bd
PW
74502019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7451
7452 * lib/gdb.exp (help_list_trailer): New regexp variable
7453 factorizing the help trailer message.
7454 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7455 arg to allow to better factorize various tests.
7456 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7457 (test_prefix_command_help): Use help_list_trailer.
7458 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7459 * gdb.guile/scm-cmd.exp: Likewise.
7460 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7461 * gdb.base/help.exp: Use test_user_defined_class_help.
7462 * gdb.base/style.exp: Add tests for styling of help and apropos.
7463 * lib/gdb-utils.exp (style): Add title and highlight styles.
7464
708dc93e
PW
74652019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7466
7467 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7468 $_shell_exitsignal.
7469 * gdb.base/default.exp: Update for new convenience variables.
7470
f49055a5
TT
74712019-05-29 Tom Tromey <tromey@adacore.com>
7472
7473 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7474 to "break complete ada" test case's regexp.
7475
4330d61d
TT
74762019-05-29 Tom Tromey <tromey@adacore.com>
7477
7478 PR c++/20020:
7479 * gdb.cp/constexpr-field.exp: New file.
7480 * gdb.cp/constexpr-field.cc: New file.
7481
000439d5
TT
74822019-05-29 Tom Tromey <tromey@adacore.com>
7483
7484 * gdb.base/finish.exp (finish_no_print): New proc.
7485 (finish_tests): Call it.
7486
5a01c34c
TV
74872019-05-24 Tom de Vries <tdevries@suse.de>
7488
7489 * gdb.dwarf2/gdb-add-index.exp: New file.
7490
18125b16
TT
74912019-05-22 Tom Tromey <tromey@adacore.com>
7492
7493 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7494 * gdb.base/style.exp: Use "style".
7495 * lib/gdb-utils.exp (style): New proc.
7496
af1a8d03
TV
74972019-05-22 Tom de Vries <tdevries@suse.de>
7498
7499 * gdb.base/align.exp: Require c++11.
7500
e7fe496b
TV
75012019-05-22 Tom de Vries <tdevries@suse.de>
7502
7503 PR testsuite/24586
7504 * gdb.python/py-mi-var-info-path-expression.exp: Call
7505 mi_skip_python_tests to check if python is supported.
7506
8fca4da0
AH
75072019-05-22 Alan Hayward <alan.hayward@arm.com>
7508
7509 * gdb.arch/aarch64-pauth.c: New test.
7510 * gdb.arch/aarch64-pauth.exp: New file.
7511
b7060614
AH
75122019-05-22 Alan Hayward <alan.hayward@arm.com>
7513
7514 * README (Re-running Tests Outside The Testsuite): New section.
7515
669d0468
TV
75162019-05-21 Tom de Vries <tdevries@suse.de>
7517
7518 * gdb.arch/amd64-eval.exp: Require c++11.
7519 * gdb.base/max-depth.exp: Same.
7520 * gdb.compile/compile-cplus-array-decay.exp: Same.
7521 * gdb.cp/meth-typedefs.exp: Same.
7522 * gdb.cp/subtypes.exp: Same.
7523 * gdb.cp/temargs.exp: Same.
7524
ce3ebcaa
AH
75252019-05-21 Alan Hayward <alan.hayward@arm.com>
7526
7527 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7528
34d11c68
AB
75292019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7530
7531 PR gdb/18644
7532 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7533 * gdb.fortran/printing-types.exp: Add new test.
7534 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7535 testing.
7536 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7537 setup_kfail call.
7538
87781e84
AH
75392019-05-17 Alan Hayward <alan.hayward@arm.com>
7540
7541 * README (Running the Testsuite): Change example.
7542 (Testsuite Parameters): Remove TRANSCRIPT.
7543 * lib/gdb.exp: Remove TRANSCRIPT check.
7544
b420b89e
AH
75452019-05-17 Alan Hayward <alan.hayward@arm.com>
7546
7547 * README (Testsuite Parameters): Add replay logging to
7548 GDBSERVER_DEBUG.
7549 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7550 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7551 as a comma separated list.
7552 (gdb_debug_init): Override procedure.
7553
408e9b8b
AH
75542019-05-17 Alan Hayward <alan.hayward@arm.com>
7555
7556 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7557 (gdb_write_cmd_file): New procedure.
7558 * lib/gdbserver-support.exp (gdbserver_start): Call
7559 gdbserver_write_cmd_file.
7560 (gdbserver_write_cmd_file): New procedure.
7561
f9e2e39d
AH
75622019-05-17 Alan Hayward <alan.hayward@arm.com>
7563
7564 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7565 (delete_breakpoints): Likewise.
7566 (gdb_run_cmd): Likewise.
7567 (gdb_start_cmd): Likewise.
7568 (gdb_starti_cmd): Likewise.
7569 (gdb_internal_error_resync): Likewise.
7570 (gdb_test_multiple): Likewise.
7571 (gdb_reinitialize_dir): Likewise.
7572 (default_gdb_exit): Likewise.
7573 (gdb_file_cmd): Mark kill as optional.
7574 (default_gdb_start): Call gdb_stdin_log_init.
7575 (send_gdb): Call gdb_stdin_log_write.
7576 (rerun_to_main): Mark Y as an answer.
7577 (gdb_stdin_log_init): New function.
7578 (gdb_stdin_log_write): Likewise.
7579
81f47ac2
AH
75802019-05-17 Alan Hayward <alan.hayward@arm.com>
7581
7582 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7583 * gdb.base/debug-expr.exp: Likewise.
7584 * gdb.base/foll-fork.exp: Likewise.
7585 * gdb.base/foll-vfork.exp: Likewise.
7586 * gdb.base/fork-print-inferior-events.exp: Likewise.
7587 * gdb.base/gdb-sigterm.exp: Likewise.
7588 * gdb.base/gdbinit-history.exp: Likewise.
7589 * gdb.base/osabi.exp: Likewise.
7590 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7591 * gdb.base/ui-redirect.exp: Likewise.
7592 * gdb.gdb/unittest.exp: Likewise.
7593 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7594 * gdb.mi/mi-watch.exp: Likewise.
7595 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7596 * gdb.mi/user-selected-context-sync.exp: Likewise.
7597 * gdb.python/python.exp: Disable debug test when debugging.
7598 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7599 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7600 Likewise.
7601 * gdb.threads/stepi-random-signal.exp: Likewise.
7602
29b52314
AH
76032019-05-17 Alan Hayward <alan.hayward@arm.com>
7604
7605 * Makefile.in: Pass through GDB_DEBUG.
7606 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7607 (gdb,debug): Add board setting.
7608 * lib/gdb.exp (default_gdb_start): Start debugging.
7609 (gdb_debug_enabled): New procedure.
7610 (gdb_debug_init): Likewise.
29b52314
AH
7611
76122019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7613
29b52314
AH
7614 * Makefile.in: Pass through GDB_DEBUG.
7615 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7616 (gdb,debug): Add board setting.
7617 * lib/gdb.exp (default_gdb_start): Start debugging.
7618 (gdb_debug_enabled): New procedure.
7619 (gdb_debug_init): Likewise.
29b52314 7620
ca1285d1
AH
76212019-05-17 Alan Hayward <alan.hayward@arm.com>
7622
7623 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7624
f3a09c80
AH
76252019-05-17 Alan Hayward <alan.hayward@arm.com>
7626
7627 * gdb.base/ui-redirect.exp: Test redirection.
7628
26648588
JV
76292019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7630
7631 * gdb.mi/mi-complete.exp: New file.
7632 * gdb.mi/mi-complete.cc: Likewise.
7633
14237686
AB
76342019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7635
7636 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7637 indexed and sliced arrays, and pointers to arrays.
7638
e7bd7fba
TT
76392019-05-14 Tom Tromey <tromey@adacore.com>
7640
7641 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7642 styling test.
7643
2764128d
TV
76442019-05-14 Tom de Vries <tdevries@suse.de>
7645
7646 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7647 selection entry encoding.
7648
71bed2db
TT
76492019-05-10 Tom Tromey <tromey@adacore.com>
7650
7651 * gdb.ada/info_exc.exp: Add "complete" test.
7652
63b667ad
TV
76532019-05-09 Tom de Vries <tdevries@suse.de>
7654
7655 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7656 CU-relative.
7657
9cfd2b89
TV
76582019-05-09 Tom de Vries <tdevries@suse.de>
7659
7660 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7661 CU-relative.
7662
2228ef77
XR
76632019-05-08 Joel Brobecker <brobecker@adacore.com>
7664
7665 * gdb.ada/frame_arg_lang.exp: New testcase.
7666 * gdb.ada/frame_arg_lang/bla.adb: New file.
7667 * gdb.ada/frame_arg_lang/pck.ads: New file.
7668 * gdb.ada/frame_arg_lang/pck.adb: New file.
7669 * gdb.ada/frame_arg_lang/foo.c: New file.
7670
80e55b13
TT
76712019-05-08 Tom Tromey <tromey@adacore.com>
7672
7673 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7674
9d3421af
TT
76752019-05-08 Tom Tromey <tromey@adacore.com>
7676
7677 * gdb.base/ptype-offsets.exp: Update tests.
7678
844333e2
TT
76792019-05-08 Tom Tromey <tromey@adacore.com>
7680
7681 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7682 cases.
7683 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7684 "short".
7685
988915ee
TT
76862019-05-08 Tom Tromey <tromey@adacore.com>
7687
7688 * gdb.ada/vla.exp: New file.
7689 * gdb.ada/vla/vla.adb: New file.
7690
7bd55dac
TV
76912019-05-07 Tom de Vries <tdevries@suse.de>
7692
7693 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7694
75f06e9d
TV
76952019-05-07 Tom de Vries <tdevries@suse.de>
7696
7697 PR testsuite/24522
7698 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7699 section.
7700
77e7aaa4
TV
77012019-05-07 Tom de Vries <tdevries@suse.de>
7702
7703 PR testsuite/24522
7704 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7705 .debug_aranges section.
7706
456ba0fa
TV
77072019-05-07 Tom de Vries <tdevries@suse.de>
7708
7709 PR testsuite/24159
7710 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7711
5a56d6a6
TV
77122019-05-06 Tom de Vries <tdevries@suse.de>
7713
7714 * lib/gdb.exp (exec_has_index_section): New proc.
7715 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7716 section.
7717
9d6d4be8
TV
77182019-05-04 Tom de Vries <tdevries@suse.de>
7719
7720 * boards/cc-with-debug-names.exp: New file.
7721
222a8d25
TT
77222019-05-03 Tom Tromey <tromey@adacore.com>
7723
7724 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7725 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7726 * gdb.ada/char_enum.exp: Add test.
7727
0fdfd794
TV
77282019-05-03 Tom de Vries <tdevries@suse.de>
7729
7730 * boards/cc-with-gdb-index.exp: New file.
7731
80062eb9
AB
77322019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7733
7734 * gdb.rust/simple.exp: Add new test case.
7735 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7736 (main): Initialise an instance of the new struct.
7737
4504bbde
TT
77382019-05-01 Tom Tromey <tromey@adacore.com>
7739
7740 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7741 record.
7742 (NPR): New variable.
7743 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7744 test.
7745
d48e62f4
TT
77462019-05-01 Tom Tromey <tromey@adacore.com>
7747
7748 * gdb.ada/packed_array_assign.exp: Add packed assignment
7749 regression test.
7750
f59f30f5
TV
77512019-05-01 Tom de Vries <tdevries@suse.de>
7752
7753 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7754
b70bfc54
TV
77552019-05-01 Tom de Vries <tdevries@suse.de>
7756
7757 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7758
15f18d14
AT
77592019-04-30 Ali Tamur <tamur@google.com>
7760
7761 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7762
2ff0a947
TT
77632019-04-30 Tom Tromey <tromey@adacore.com>
7764
7765 * lib/ada.exp (find_ada_tool): New proc.
7766 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7767 * gdb.ada/catch_ex_std.exp: New file.
7768 * gdb.ada/catch_ex_std/foo.adb: New file.
7769 * gdb.ada/catch_ex_std/some_package.adb: New file.
7770 * gdb.ada/catch_ex_std/some_package.ads: New file.
7771
a776957c
TT
77722019-04-30 Tom Tromey <tromey@adacore.com>
7773
7774 PR c++/24470:
7775 * gdb.cp/temargs.cc: Add test code from PR.
7776
bc68014d
AB
77772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7778
7779 * gdb.fortran/vla-datatypes.exp: Update expected results.
7780 * gdb.fortran/vla-ptype.exp: Likewise.
7781 * gdb.fortran/vla-type.exp: Likewise.
7782 * gdb.fortran/vla-value.exp: Likewise.
7783
f1fdc960
AB
77842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7785
7786 * gdb.fortran/ptr-indentation.exp: Update expected results.
7787 * gdb.fortran/ptype-on-functions.exp: Likewise.
7788 * gdb.fortran/vla-ptr-info.exp: Likewise.
7789 * gdb.fortran/vla-value.exp: Likewise.
7790
bf7a4de1
AB
77912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7792
7793 * gdb.fortran/ptype-on-functions.exp: New file.
7794 * gdb.fortran/ptype-on-functions.f90: New file.
7795
bbe75b9d
AB
77962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7797
7798 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7799 case void string.
7800
1db455a7
AB
78012019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7802
7803 * gdb.fortran/complex.exp: Expand.
7804 * gdb.fortran/complex.f: Renamed to...
7805 * gdb.fortran/complex.f90: ...this, and extended to add more
7806 complex values.
7807
b6d03bb2
AB
78082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7809
7810 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7811 MODULO, CMPLX.
7812
2e62ab40
AB
78132019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7814 Richard Bunt <richard.bunt@arm.com>
7815
7816 * gdb.base/max-depth.c: New file.
7817 * gdb.base/max-depth.exp: New file.
7818 * gdb.python/py-nested-maps.c: New file.
7819 * gdb.python/py-nested-maps.exp: New file.
7820 * gdb.python/py-nested-maps.py: New file.
7821 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7822 (test_all_common): Call test_max_depth.
7823 * gdb.fortran/max-depth.exp: New file.
7824 * gdb.fortran/max-depth.f90: New file.
7825 * gdb.go/max-depth.exp: New file.
7826 * gdb.go/max-depth.go: New file.
7827 * gdb.modula2/max-depth.exp: New file.
7828 * gdb.modula2/max-depth.c: New file.
7829 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7830
d2b584a5
TV
78312019-04-29 Tom de Vries <tdevries@suse.de>
7832
7833 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7834
136afab8
PW
78352019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7836
7837 * gdb.base/callexit.exp: Test may-call-functions off.
7838
725cbb63
KS
78392019-04-25 Keith Seitz <keiths@redhat.com>
7840
7841 PR c++/24367
7842 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7843 (another_incomplete_struct, test_incomplete): New definitions.
7844 (main): Use new definitions.
7845 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7846 functions.
7847
701adfb0
PA
78482019-04-25 Ali Tamur <tamur@google.com>
7849
7850 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7851
82433e3e
SDJ
78522019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7853
7854 PR corefiles/11608
7855 PR corefiles/18187
7856 * gdb.base/coredump-filter-build-id.exp: New file.
7857
dd06d4d6
AH
78582019-04-25 Alan Hayward <alan.hayward@arm.com>
7859
e79be6e5
SM
7860 * Makefile.in: Pass through GDBSERVER_DEBUG.
7861 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7862 (gdbserver,debug): Add board setting.
7863 * gdb.trace/tspeed.exp: Skip when debugging.
7864 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7865 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7866
1670072e
TT
78672019-04-24 Tom Tromey <tromey@adacore.com>
7868
7869 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7870 Rust.
7871
a59240a4
TT
78722019-04-24 Tom Tromey <tromey@adacore.com>
7873
7874 * gdb.arch/amd64-eval.exp: Test bitfield return.
7875 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7876 (class Foo) <return_bitfields>: New method.
7877 (main): Call it.
7878
b907456c
AB
78792019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7880
7881 * gdb.cp/many-args.cc: New file.
7882 * gdb.cp/many-args.exp: New file.
7883
5c565afd
TV
78842019-04-23 Tom de Vries <tdevries@suse.de>
7885
7886 PR gdb/24433
7887 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7888
ba22ff86
AH
78892019-04-23 Alan Hayward <alan.hayward@arm.com>
7890
7891 * gdb.trace/backtrace.exp: Use nopie flag.
7892 * gdb.trace/circ.exp: Likewise.
7893 * gdb.trace/collection.exp: Likewise.
7894 * gdb.trace/ftrace.exp: Likewise.
7895 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7896 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7897 * gdb.trace/qtro.exp: Likewise.
7898 * gdb.trace/read-memory.exp: Likewise.
7899 * gdb.trace/report.exp: Likewise.
7900 * gdb.trace/tfile.exp: Likewise.
7901 * gdb.trace/tfind.exp: Likewise.
7902 * gdb.trace/unavailable.exp: Likewise.
7903
7905fc35
PA
79042019-04-22 Pedro Alves <palves@redhat.com>
7905
7906 * gdb.base/solib-probes-nosharedlibrary.c,
7907 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7908
8ecb59f8
TT
79092019-04-19 Tom Tromey <tromey@adacore.com>
7910
7911 * gdb.ada/ptype_union.c: New file.
7912 * gdb.ada/ptype_union.exp: New file.
7913
62160ec9
TT
79142019-04-19 Tom Tromey <tromey@adacore.com>
7915
7916 PR symtab/24423:
7917 * gdb.base/list0.h (foo): Add a control-l character.
7918
36cd4ba5
TV
79192019-04-18 Tom de Vries <tdevries@suse.de>
7920
7921 PR gdb/24433
7922 * boards/local-board.exp: Set sysroot to "".
7923
b73715df
TV
79242019-04-18 Tom de Vries <tdevries@suse.de>
7925 Pedro Alves <palves@redhat.com>
7926
7927 PR gdb/24454
7928 * gdb.threads/vfork-follow-child-exec.c: New file.
7929 * gdb.threads/vfork-follow-child-exec.exp: New file.
7930 * gdb.threads/vfork-follow-child-exit.c: New file.
7931 * gdb.threads/vfork-follow-child-exit.exp: New file.
7932
4aa866af
LS
79332019-04-15 Leszek Swirski <leszeks@google.com>
7934
7935 * gdb.arch/amd64-eval.cc: New file.
7936 * gdb.arch/amd64-eval.exp: New file.
7937
e5a1a79a
AH
79382019-04-11 Alan Hayward <alan.hayward@arm.com>
7939
7940 * gdb.server/sysroot.c: New test.
7941 * gdb.server/sysroot.exp: New file.
7942 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7943 matching param.
7944
41077b66
AB
79452019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7946
7947 * gdb.base/align.exp: Extend test to cover structures containing
7948 only static fields.
7949
c30391f8
TV
79502019-04-11 Tom de Vries <tdevries@suse.de>
7951
7952 * boards/cc-with-dwz-m.exp: New file.
7953 * boards/cc-with-dwz.exp: New file.
7954 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7955
e242fd12
SM
79562019-04-09 Simon Marchi <simon.marchi@efficios.com>
7957
7958 * gdb.base/start-cpp.exp: New file.
7959 * gdb.base/start-cpp.cc: New file.
7960
2b0c8b01
KB
79612019-04-08 Kevin Buettner <kevinb@redhat.com>
7962
7963 * gdb.python/py-thrhandle.exp: Adjust tests to call
7964 thread_from_handle instead of thread_from_thread_handle.
7965
947210e5
KB
79662019-04-08 Kevin Buettner <kevinb@redhat.com>
7967
7968 * gdb.python/py-thrhandle.exp: Add tests for
7969 gdb.InferiorThread.handle.
7970
d7df6549
AB
79712019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 * gdb.python/py-function.exp: Check calling helper function from
7974 all languages.
7975 * lib/gdb.exp (gdb_supported_languages): New proc.
7976
8bdc1658
AB
79772019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7978
7979 * gdb.base/complex-parts.c: New file.
7980 * gdb.base/complex-parts.exp: New file.
7981
05caa1d2
TT
79822019-04-01 Tom Tromey <tromey@adacore.com>
7983
7984 PR symtab/23331:
7985 * gdb.dwarf2/dw2-ranges-main.c: New file.
7986 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7987 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7988
7734102d
EZ
79892019-03-30 Simon Marchi <simark@simark.ca>
7990
7991 * gdb.base/default.exp: Add values for $_gdb_major and
7992 $_gdb_minor.
7993
188e1fa9
TT
79942019-03-29 Tom Tromey <tromey@adacore.com>
7995
7996 * gdb.base/help.exp: Tighten apropos regexp.
7997
2880242d
KS
79982019-03-29 Keith Seitz <keiths@redhat.com>
7999
8000 * gdb.fortran/array-bounds.exp: New file.
8001 * gdb.fortran/array-bounds.f90: New file.
8002
077cad8e
PW
80032019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8004
8005 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8006
80047cfc
PW
80072019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8008
8009 * gdb.multi/hello.c (main): Increase alarm timer.
8010
f489207e
SL
80112019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8012
8013 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8014 factor when no hardware watchpoint support.
8015
c92df149
AH
80162019-03-28 Alan Hayward <alan.hayward@arm.com>
8017 Pedro Alves <palves@redhat.com>
8018
8019 * boards/local-board.exp: set sysroot to /.
8020
933aebfa
AH
80212019-03-27 Alan Hayward <alan.hayward@arm.com>
8022
8023 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8024 in child.
8025
9f9aa852
AB
80262019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8027
8028 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8029 field.
8030 (make_container): Initialise new field.
8031 * gdb.python/py-prettyprint.exp: Add new tests.
8032 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8033 <display_hint>: New method.
8034
3714a195
AB
80352019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8036
8037 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8038 gdb_continue_to_breakpoint more throughout this test.
8039 (run_lang_tests) Supply unique test names, and use
8040 gdb_test_no_output.
8041
18c77628
AB
80422019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8043
8044 * gdb.base/finish-pretty.exp: Update expected results.
8045 * gdb.base/pretty-print.c: New file.
8046 * gdb.base/pretty-print.exp: New file.
8047
9a93502f
PA
80482019-03-25 Pedro Alves <palves@redhat.com>
8049
8050 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8051 move comments outside list. Append '-i "" eof' section.
8052
968aa7ae
AH
80532019-03-22 Alan Hayward <alan.hayward@arm.com>
8054
34a7f2a4 8055 PR testsuite/25016
968aa7ae
AH
8056 * README: Add pie options.
8057 * gdb.base/break-interp.exp: Ensure pie is disabled.
8058 * gdb.base/dump.exp: Likewise.
8059 * lib/gdb.exp (gdb_compile): Add pie option.
8060
4c7d57e7
TT
80612019-03-19 Tom Tromey <tromey@adacore.com>
8062
8063 * gdb.mi/mi2-cli-display.c: New file.
8064 * gdb.mi/mi2-cli-display.exp: New file.
8065
bff8c71f
TT
80662019-03-18 Joel Brobecker <brobecker@adacore.com>
8067 Tom Tromey <tromey@adacore.com>
8068
8069 * gdb.ada/ptype_array/pck.adb: New file.
8070 * gdb.ada/ptype_array/pck.ads: New file.
8071 * gdb.ada/ptype_array/foo.adb: New file.
8072 * gdb.ada/ptype_array.exp: New file.
8073
d085f989
TT
80742019-03-14 Tom Tromey <tromey@adacore.com>
8075
8076 * gdb.base/style.exp: Add "set style sources" test.
8077
b4be1b06
SM
80782019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8079
8080 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8081 * mi-breakpoint-multiple-locations.exp: ... this.
8082 (make_breakpoints_pattern): New proc.
8083 (do_test): Add mi_version parameter, test -break-insert,
8084 -break-info and =breakpoint-created.
8085
7cde5fc2
AB
80862019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8087
8088 * config/default.exp: Remove 'load_lib gdb.exp'.
8089 * config/monitor.exp: Likewise.
8090 * config/sid.exp: Likewise.
8091 * config/sim.exp: Likewise.
8092 * config/slite.exp: Likewise.
8093 * config/unix.exp: Likewise.
8094 * gdb.base/default.exp: Remove unhelpful comment.
8095
efbecbc1
AB
80962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8097
8098 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8099
0841c79a
AB
81002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8101
8102 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8103
4a270568
AB
81042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8105
8106 * gdb.fortran/type-kinds.exp: Update expected results.
8107
067630bd
AB
81082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8109
8110 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8111
3be47f7a
AB
81122019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8113
8114 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8115 function.
8116 (test_basic_parsing_of_type_kinds): Expand types tested.
8117 (test_parsing_invalid_type_kinds): New function.
8118
4d00f5d8
AB
81192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8120
8121 * gdb.fortran/intrinsics.exp: New file.
8122 * gdb.fortran/intrinsics.f90: New file.
8123 * gdb.fortran/type-kinds.exp: New file.
8124
c8f91604
AB
81252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8126
8127 * gdb.fortran/dot-ops.exp: New file.
8128
dd9f2c76
AB
81292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8130
8131 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8132 Check upper and lower case logical literals.
8133
84ec9724
AB
81342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8135
8136 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8137 Remove duplicate tests.
8138
c3734e09
AH
81392019-03-06 Alan Hayward <alan.hayward@arm.com>
8140
8141 * lib/gdb.exp (builtin_cd): rename of cd.
8142 (cd): Override builtin.
8143
aa3cfbda
RB
81442019-03-06 Richard Bunt <richard.bunt@arm.com>
8145
8146 * gdb.fortran/function-calls.exp: New file.
8147 * gdb.fortran/function-calls.f90: New test.
8148
7b63ad86
RB
81492019-03-04 Richard Bunt <richard.bunt@arm.com>
8150
8151 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8152 on user program standard output.
8153 * gdb.fortran/short-circuit-argument-list.f90: Record function
8154 calls.
8155
01abb042
AH
81562019-02-28 Alan Hayward <alan.hayward@arm.com>
8157
c3734e09
AH
8158 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8159 failure.
01abb042 8160
92137da0
RO
81612019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8162
8163 PR gdb/8527
8164 * gdb.base/interrupt-daemon-attach.c,
8165 gdb.base/interrupt-daemon-attach.exp: New test.
8166
5862844d
PA
81672019-02-27 Pedro Alves <palves@redhat.com>
8168
8169 * gdb.base/page.exp: Add tests for "set width/height -1".
8170
8ed25214
PA
81712019-02-27 Pedro Alves <palves@redhat.com>
8172
8173 * gdb.base/page.exp: Add tests for "set/show width/height" with
8174 "infinite" values.
8175
6c28e44a
TT
81762019-02-27 Tom Tromey <tromey@adacore.com>
8177
8178 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8179 2.4.
8180 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8181 workaround.
8182
bf9a735e
AB
81832019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8184
8185 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8186 tests for structs with static members.
8187
8791793c
TT
81882019-02-26 Tom Tromey <tromey@adacore.com>
8189
8190 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8191 ValueError, not TypeError.
8192
bc2a507e
KB
81932019-02-26 Kevin Buettner <kevinb@redhat.com>
8194
8195 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8196 call from main program.
8197
e0e7d3bd
JB
81982019-02-23 Joel Brobecker <brobecker@adacore.com>
8199
8200 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8201 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8202 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8203 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8204 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8205
9600246d
KS
82062019-02-22 Keith Seitz <keiths@redhat.com>
8207
8208 PR symtab/23853
8209 * gdb.base/symlink-sourcefile.c: New file.
8210 * gdb.base/symlink-sourcefile.exp: New file.
8211
0c95f9ed
TT
82122019-02-20 Tom Tromey <tom@tromey.com>
8213
8214 * gdb.base/info_qt.exp: Update.
8215
6caa91b6
SM
82162019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8217
8218 * gdb.base/source.exp: Move "error in sourced script" code to
8219 the end.
8220 * gdb.base/source-error.gdb: Move contents to
8221 source-error-1.gdb. Add new code to source source-error-1.gdb.
8222 * gdb.base/source-error-1.gdb: New file, from previous
8223 source-error.gdb.
8224
6506371f
TT
82252019-02-17 Tom Tromey <tom@tromey.com>
8226
8227 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8228 for macro styling.
8229 * gdb.base/style.c (SOME_MACRO): New macro.
8230
a0087920
TT
82312019-02-17 Tom Tromey <tom@tromey.com>
8232
8233 * gdb.base/style.exp: Add line-wrapping tests.
8234 * gdb.base/page.exp: Add test for quitting during pagination.
8235
a2cd4f14
JB
82362019-02-17 Joel Brobecker <brobecker@adacore.com>
8237
8238 * gdb.ada/big_packed_array: New testcase.
8239 * gdb.ada/homonym.exp: Fix incorrect expected output for
8240 "break <homonym__get_value>" test.
8241
9d70ffbc
WP
82422019-02-13 Weimin Pan <weimin.pan@oracle.com>
8243
8244 PR breakpoints/21870
8245 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8246 and prepare_for_testing. Add comment.
8247 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8248 redundant cleanup call. Clean up comment.
8249
01c7ae81
WP
82502019-02-12 Weimin Pan <weimin.pan@oracle.com>
8251
8252 PR breakpoints/21870
8253 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8254 * gdb.arch/aarch64-dbreg-contents.c: New file.
8255
aff29d1c
JB
82562019-02-10 Joel Brobecker <brobecker@adacore.com>
8257
8258 * gdb.ada/mi_ref_changeable: New testcase.
8259
df0da8a2
AH
82602019-02-07 Alan Hayward <alan.hayward@arm.com>
8261
8262 * gdb.base/attach.exp: Add double attach test.
8263
bd447abb
SM
82642019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8265
8266 * lib/gdb.exp (default_gdb_start): Don't match pagination
8267 prompt.
8268 (gdb_init): Set stty_init.
8269
1dbc40b9
TT
82702019-01-27 Tom Tromey <tom@tromey.com>
8271
8272 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8273 skip_python_tests.
8274
353229bf
AH
82752019-01-24 Alan Hayward <alan.hayward@arm.com>
8276
8277 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8278 New structure.
8279 (struct struct_static_02_02): Likewise.
8280 (struct struct_static_02_03): Likewise.
8281 (struct struct_static_02_04): Likewise.
8282 (struct struct_static_04_01): Likewise.
8283 (struct struct_static_04_02): Likewise.
8284 (struct struct_static_04_03): Likewise.
8285 (struct struct_static_04_04): Likewise.
8286 (struct struct_static_06_01): Likewise.
8287 (struct struct_static_06_02): Likewise.
8288 (struct struct_static_06_03): Likewise.
8289 (struct struct_static_06_04): Likewise.
8290 (cmp_struct_static_02_01): Likewise.
8291 (cmp_struct_static_02_02): Likewise.
8292 (cmp_struct_static_02_03): Likewise.
8293 (cmp_struct_static_02_04): Likewise.
8294 (cmp_struct_static_04_01): Likewise.
8295 (cmp_struct_static_04_02): Likewise.
8296 (cmp_struct_static_04_03): Likewise.
8297 (cmp_struct_static_04_04): Likewise.
8298 (cmp_struct_static_06_01): Likewise.
8299 (cmp_struct_static_06_02): Likewise.
8300 (cmp_struct_static_06_03): Likewise.
8301 (cmp_struct_static_06_04): Likewise.
8302 (call_all): Test new structs.
8303 * gdb.base/infcall-nested-structs.exp: Likewise.
8304
73021deb
AH
83052019-01-21 Alan Hayward <alan.hayward@arm.com>
8306 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8307
fc65c7db
AH
83082019-01-21 Alan Hayward <alan.hayward@arm.com>
8309 * gdb.base/stack-protector.c: New test.
8310 * gdb.base/stack-protector.exp: New file.
8311 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8312 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8313 option.
8314 (gdb_compile): Remove stack protector for GCC and prevent
8315 recursion.
8316
c24bdb02
KS
83172019-01-16 Keith Seitz <keiths@redhat.com>
8318
8319 PR gdb/23773
8320 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8321
6f072a10
PFC
83222019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8323
8324 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8325 aliases.
8326 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8327 tests.
8328 * gdb.arch/powerpc-vector-regs.c: New file.
8329 * gdb.arch/powerpc-vector-regs.exp: New file.
8330
a7b8d682
PFC
83312019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8332
8333 * gdb.arch/altivec-regs.exp: Fix the list passed to
8334 gdb_expect_list when testing "info vector".
8335
6eb6fb67
AB
83362019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8337
8338 * gdb.base/style.exp: Don't include path in testname.
8339
b56f80d8
KS
83402019-01-10 Keith Seitz <keiths@redhat.com>
8341
8342 PR gdb/23712
8343 PR symtab/23010
8344 * gdb.dwarf2/multidictionary.exp: New file.
8345
041be526
SM
83462019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8347
8348 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8349 (test_gnuv3_style_demangling): ... this.
8350 (test_lucid_style_demangling): Remove.
8351 (test_arm_style_demangling): Remove.
8352 (test_hp_style_demangling): Remove.
8353 (do_tests): Remove calls to the above.
8354
d820d0c3
AB
83552019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8356
8357 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8358 case.
8359
f097f5ad
TT
83602019-01-06 Tom Tromey <tom@tromey.com>
8361
8362 PR gdb/28155:
8363 * gdb.dwarf2/typedef-void-finish.exp: New file.
8364
2cd8cc0b
TT
83652018-12-28 Tom Tromey <tom@tromey.com>
8366 Simon Marchi <simark@simark.ca>
8367
8368 * gdb.base/jit-exec.exp: New file.
8369 * gdb.base/jit-exec.c: New file.
8370 * gdb.base/jit-execd.c: New file.
8371
35fb8261
TT
83722018-12-28 Tom Tromey <tom@tromey.com>
8373
8374 * gdb.base/style.exp: Update test to check for address styling.
8375
47fd17cd
TT
83762018-12-28 Tom Tromey <tom@tromey.com>
8377
8378 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8379 message.
8380
d47032b7
TT
83812018-12-28 Tom Tromey <tom@tromey.com>
8382
8383 * gdb.base/style.exp: Add test for version number styling.
8384
af79b68d
TT
83852018-12-28 Tom Tromey <tom@tromey.com>
8386
8387 * gdb.base/style.exp: Add test for print_address_symbolic.
8388
0bb296cb
TT
83892018-12-28 Tom Tromey <tom@tromey.com>
8390
8391 * gdb.base/style.exp: Add test for breakpoint setting.
8392
80ae2043
TT
83932018-12-28 Tom Tromey <tom@tromey.com>
8394
8395 * gdb.base/style.exp: Add test for variable names.
8396
cbe56571
TT
83972018-12-28 Tom Tromey <tom@tromey.com>
8398
8399 * gdb.base/style.exp: New file.
8400 * gdb.base/style.c: New file.
8401
9162a27c
TT
84022018-12-28 Tom Tromey <tom@tromey.com>
8403
8404 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8405 "dumb".
8406 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8407 the TERM environment variable.
8408
bc543c90
TT
84092018-12-27 Tom Tromey <tom@tromey.com>
8410
8411 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8412 pagination test.
8413
6f0ffe50
AB
84142018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8415
8416 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8417 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8418
b5a1e557
PW
84192018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8420
8421 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8422 Filename a.adb changed to bp_fun_addr.adb.
8423 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8424
6e8b1ab2
JV
84252018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8426
8427 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8428 non-PIE executables.
8429 * README: Mention the gdb,nopie_flag board setting.
8430 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8431 non-PIE executable.
8432 * gdb.arch/amd64-entry-value.exp: Likewise.
8433 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8434 * gdb.arch/i386-float.exp: Likewise.
8435 * gdb.arch/i386-signal.exp: Likewise.
8436 * gdb.mi/mi-reg-undefined.exp: Likewise.
8437
d00a27c5
PM
84382018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8439
8440 PR gdb/23974
8441 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8442
161d081c
PW
84432018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8444
8445 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8446 Update order of results accordingly.
8447
b001de23
AB
84482018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8449
8450 * gdb.base/annota1.exp: Update a test regexp.
8451
99e1a184
AB
84522018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8453
8454 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8455
7a81c1e2
PW
84562018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8457
8458 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8459 (reuse_time): Initialize to REUSE_TIME_CAP.
8460 (check_rc): New function.
8461 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8462 Check pthread_create rc.
8463 (spawner_thread_func): Check pthread_create and pthread_join rc.
8464
73e8dc90
PA
84652018-12-08 Pedro Alves <palves@redhat.com>
8466
8467 * gdb.base/list.exp (test_forward_search): Rename to ...
8468 (test_forward_reverse_search): ... this. Also test reverse-search
8469 and the forward-search alias.
8470
13f2ed32
AB
84712018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8472
8473 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8474 local timeout variable before return, and remove all local timeout
8475 variable entirely.
8476 (gdb_load): Likewise.
8477
64d27cfc
TV
84782018-12-01 Tom de Vries <tdevries@suse.de>
8479
8480 * gdb.base/gdb-caching-proc.exp: New file.
8481
f63c03b4
SDJ
84822018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8483
8484 * Makefile.in (TIMESTAMP): New variable.
8485 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8486 command.
8487 (check-single-racy): Likewise.
8488 (check/%.exp): Likewise.
8489 (check-racy/%.exp): Likewise.
8490 (workers/%.worker): Likewise.
8491 (build-perf): Likewise.
8492 (check-perf): Likewise.
8493 * README: Describe new "TS" and "TS_FORMAT" variables.
8494 * print-ts.py: New file.
8495
1c97054b
BF
84962018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8497
8498 PR python/23714
8499 * gdb.python/python.exp: Test command repetition after
8500 gdb.execute.
8501
1871a62d
AB
85022018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8503
8504 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8505 is correctly aligned.
8506
fb5e1ed9
PW
85072018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8508
8509 * gdb.ada/info_auto_lang.exp: New testcase.
8510 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8511 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8512 * gdb.ada/info_auto_lang/some_c.c: New file.
8513
43d397ca
PW
85142018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8515
8516 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8517 FUNC_lang language syntax.
8518
beddd671
PW
85192018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8520
8521 * gdb.base/info_minsym.c: New file.
8522 * gdb.base/info_minsym.exp: New file.
8523
73fc52c4
TT
85242018-11-19 Tom Tromey <tom@tromey.com>
8525
8526 PR rust/23625:
8527 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8528 * gdb.rust/expr.exp: Update expected output. Change one test.
8529
994b876a
TT
85302018-11-19 Tom Tromey <tom@tromey.com>
8531
8532 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8533
6769f276
PA
85342018-11-19 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8537 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8538 see the expected warning.
8539
38a72da0
AH
85402018-11-16 Alan Hayward <alan.hayward@arm.com>
8541
8542 PR gdb/22736:
8543 * gdb.cp/infcall-nodebug-lib.c: New test.
8544 * gdb.cp/infcall-nodebug-main.c: New test.
8545 * gdb.cp/infcall-nodebug.exp: New file.
8546
53a89d6e
SM
85472018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8548
8549 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8550 completer tests.
8551
9325300d
TV
85522018-11-09 Tom de Vries <tdevries@suse.de>
8553
8554 * gdb.base/msym-lang.c: New test.
8555 * gdb.base/msym-lang.exp: New file.
8556 * gdb.base/msym-lang-main.c: New test.
8557
20f0d60d
TT
85582018-11-08 Tom Tromey <tom@tromey.com>
8559
8560 PR gdb/23555:
8561 PR gdb/23838:
8562 * gdb.base/warning.exp: New file.
8563
b5420128
JB
85642018-11-08 Jan Beulich <jbeulich@suse.com>
8565
8566 * testsuite/gdb.arch/i386-avx512.c,
8567 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8568
cd115d61
AB
85692018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8570
8571 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8572 point hardware.
8573
35ee2dc2
AB
85742018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8575
8576 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8577 * gdb.dwarf2/missing-type-name.exp: New file.
8578
31aceee8
TV
85792018-11-06 Tom de Vries <tdevries@suse.de>
8580
8581 * gdb.base/many-headers.c: New test.
8582 * gdb.base/many-headers.exp: New file.
8583
109be305
JW
85842018-11-06 Jim Wilson <jimw@sifive.com>
8585
8586 * gdb.base/code_elim.exp: For riscv, set additional_flags
8587 to include -msmall-data-limit=0.
8588
e2b7af72
JB
85892018-11-01 Joel Brobecker <brobecker@adacore.com>
8590
8591 * gdb.ada/watch_minus_l: New testcase.
8592
cdcda965
SM
85932018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8594
8595 * gdb.arch/aix-sighandle.c: New file.
8596 * gdb.arch/aix-sighandle.exp: New file.
8597
92dcebf3
AB
85982018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8599
8600 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8601 registers being unions.
8602
68b9ac18
TV
86032018-10-31 Tom de Vries <tdevries@suse.de>
8604
8605 * lib/valgrind.exp: New file.
8606 (vgdb_start, vgdb_stop): New procs, factored out of ...
8607 * gdb.base/valgrind-bt.exp: ... here, ...
8608 * gdb.base/valgrind-disp-step.exp: ... here and ...
8609 * gdb.base/valgrind-infcall.exp: ... here.
8610
1443936e
TV
86112018-10-31 Tom de Vries <tdevries@suse.de>
8612
8613 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8614
eb77c9df
AB
86152018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8616
8617 * gdb.dwarf2/void-type.c: New file.
8618 * gdb.dwarf2/void-type.exp: New file.
8619
82b5e646
PW
86202018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8621
8622 * gdb.base/info_qt.c: New file.
8623 * gdb.base/info_qt.exp: New file.
8624
8d619c01
EBM
86252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8626
8627 * gdb.arch/powerpc-htm-regs.c: New file.
8628 * gdb.arch/powerpc-htm-regs.exp: New file.
8629
f2cf6173
EBM
86302018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8631
8632 * gdb.arch/powerpc-tar.c: New file.
8633 * gdb.arch/powerpc-tar.exp: New file.
8634
7ca18ed6
EBM
86352018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8636
8637 * gdb.arch/powerpc-ppr-dscr.c: New file.
8638 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8639
bfcc0eba
TV
86402018-10-25 Tom de Vries <tdevries@suse.de>
8641
8642 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8643
fe1a5cad
TV
86442018-10-24 Tom de Vries <tdevries@suse.de>
8645
8646 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8647 longer exists error.
8648
a76dc3b7
TV
86492018-10-24 Tom de Vries <tdevries@suse.de>
8650
8651 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8652
4df46df7
TV
86532018-10-24 Tom de Vries <tdevries@suse.de>
8654
8655 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8656 --db-attach in valgrind.
8657
0dbfcfff
AB
86582018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8659
8660 * gdb.arch/riscv-reg-aliases.c: New file.
8661 * gdb.arch/riscv-reg-aliases.exp: New file.
8662
b04480b1
AH
86632018-10-19 Alan Hayward <alan.hayward@arm.com>
8664
8665 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8666
2c6ac8d7
AH
86672018-10-19 Alan Hayward <alan.hayward@arm.com>
8668
8669 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8670
2bc69f25
AH
86712018-10-19 Alan Hayward <alan.hayward@arm.com>
8672
8673 * gdb.cp/ovldbreak.exp: Fix regexps.
8674
1f1ae3a3
AH
86752018-10-19 Alan Hayward <alan.hayward@arm.com>
8676
8677 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8678
94c18618
SDJ
86792018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8680
8681 PR cli/23785
8682 * gdb.base/restore.exp: New test to check if "restore" with an
8683 invalid file doesn't segfault.
8684
812cd6eb
TV
86852018-10-18 Tom de Vries <tdevries@suse.de>
8686
8687 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8688 * gdb.ada/excep_handle.exp: Same.
8689 * gdb.ada/mi_string_access.exp: Same.
8690 * gdb.ada/mi_var_union.exp: Same.
8691 * gdb.arch/arc-analyze-prologue.exp: Same.
8692 * gdb.arch/arc-decode-insn.exp: Same.
8693 * gdb.base/readnever.exp: Same.
8694 * gdb.fortran/printing-types.exp: Same.
8695 * gdb.guile/scm-lazy-string.exp: Same.
8696
c4b90788
TV
86972018-10-16 Tom de Vries <tdevries@suse.de>
8698
8699 PR gdb/23730
8700 * gdb.base/catch-follow-exec.c: Add copyright notice.
8701 * gdb.base/catch-follow-exec.exp: Rewrite to use
8702 gdb_spawn_with_cmdline_opts. Require gdb-native.
8703
8bca2978
SL
87042018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8705
8706 * gdb.trace/actions-changed.exp: Check for arch support.
8707 * gdb.trace/actions.exp: Likewise.
8708 * gdb.trace/ax.exp: Likewise.
8709 * gdb.trace/backtrace.exp: Likewise.
8710 * gdb.trace/change-loc.exp: Likewise.
8711 * gdb.trace/deltrace.exp: Likewise.
8712 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8713 * gdb.trace/ftrace.exp: Likewise.
8714 * gdb.trace/infotrace.exp: Check for arch support.
8715 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8716 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8717 * gdb.trace/mi-tsv-changed.exp: Likewise.
8718 * gdb.trace/packetlen.exp: Likewise.
8719 * gdb.trace/passc-dyn.exp: Likewise.
8720 * gdb.trace/passcount.exp: Likewise.
8721 * gdb.trace/pending.exp: Likewise.
8722 * gdb.trace/range-stepping.exp: Check for shlib support.
8723 * gdb.trace/report.exp: Check for arch support.
8724 * gdb.trace/save-trace.exp: Likewise.
8725 * gdb.trace/signal.exp: Check for signal support.
8726 * gdb.trace/tfind.exp: Check for arch support.
8727 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8728 * gdb.trace/trace-common.h: Add comment.
8729 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8730 * gdb.trace/trace-enable-disable.exp: Likewise.
8731 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8732 * gdb.trace/tracecmd.exp: Check for arch support.
8733 * gdb.trace/tspeed.exp: Check for shlib and target support.
8734 * gdb.trace/tstatus.exp: Check for arch support.
8735 * gdb.trace/tsv.exp: Likewise.
8736 * gdb.trace/while-dyn.exp: Likewise.
8737 * gdb.trace/while-stepping.exp: Likewise.
8738 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8739
f9c49bff
SM
87402018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8741
8742 * gdb.trace/tspeed.exp: Remove nowarnings.
8743 (prepare_for_trace_test): Declare "global ipalib".
8744 * gdb.trace/tspeed.c: Include unistd.h.
8745 (main): Remove superfluous printf argument.
8746
d4330bde
SL
87472018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8748
8749 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8750 directory prefix on the filename.
8751
8ecfd7bd
SDJ
87522018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8753
8754 * gdb.gdb/unittest.exp: Update expected message informing that
8755 selftests have been disabled.
8756 * gdb.server/unittest.exp: Likewise.
8757
58bbcd02
TV
87582018-10-09 Tom de Vries <tdevries@suse.de>
8759
8760 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8761 with runto_main.
8762
9f6b697b
WP
87632018-10-08 Weimin Pan <weimin.pan@oracle.com>
8764
8765 PR c++/16841
8766 * gdb.cp/virtbase2.cc: New file.
8767 * gdb.cp/virtbase2.exp: New file.
8768
add5ded5
TT
87692018-10-06 Tom Tromey <tom@tromey.com>
8770
8771 PR python/19399:
8772 * gdb.python/py-inferior.exp: Add architecture test.
8773
f9e48344
TT
87742018-10-06 Tom Tromey <tom@tromey.com>
8775
8776 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8777 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8778
2a8be203
TT
87792018-10-06 Tom Tromey <tom@tromey.com>
8780
8781 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8782 of a "throw" catchpoint.
8783
e04caa70
SDJ
87842018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8785
8786 * gdb.base/info-proc.exp: Update string expected from "help info
8787 proc".
8788
5ca8c39f
TT
87892018-10-04 Tom Tromey <tom@tromey.com>
8790
8791 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8792 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8793 (test_initial_complaints, test_empty_complaints): Update.
8794 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8795
3453e7e4
TT
87962018-10-04 Tom Tromey <tom@tromey.com>
8797
8798 PR cli/19551:
8799 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8800 * lib/gdb.exp (gdb_file_cmd): Update.
8801 * gdb.stabs/weird.exp (print_weird_var): Update.
8802 * gdb.server/solib-list.exp: Update.
8803 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8804 * gdb.mi/mi-cli.exp: Update.
8805 * gdb.linespec/linespec.exp: Update.
8806 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8807 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8808 * gdb.cp/cp-relocate.exp: Update.
8809 * gdb.base/sym-file.exp: Update.
8810 * gdb.base/relocate.exp: Update.
8811 * gdb.base/readnever.exp: Update.
8812 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8813 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8814 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8815 * gdb.base/code_elim.exp: Update.
8816 * gdb.base/break-unload-file.exp (test_break): Update.
8817 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8818 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8819 Update.
8820 * gdb.base/attach.exp (do_attach_tests): Update.
8821 * gdb.base/sepdebug.exp: Update.
8822 * gdb.python/py-section-script.exp: Update.
8823
6afcf761
TT
88242018-10-04 Tom Tromey <tom@tromey.com>
8825
8826 PR cli/22234:
8827 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8828 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8829 output.
8830
fef1b293
TT
88312018-10-04 Tom Tromey <tom@tromey.com>
8832
8833 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8834 set width and height to 0.
8835 (test_command_line_attach_run): Use -quiet.
8836
ca98345e
SL
88372018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8838
8839 * lib/gdb.exp (skip_ifunc_tests): New.
8840 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8841 other compile failures.
8842 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8843
ff34e6ae
SM
88442018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8845
8846 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8847 is_amd64_regs_target.
8848
6bb8890e
AH
88492018-10-01 Alan Hayward <alan.hayward@arm.com>
8850
8851 * gdb.arch/aarch64-sighandler-regs.c: New test.
8852 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8853 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8854
224d30d3
MM
88552018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8856
8857 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8858 assembly.
8859
f67ffa6a
AB
88602018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8861
8862 * gdb.base/frame-selection.exp: New file.
8863 * gdb.base/frame-selection.c: New file.
8864
9fc3183f
AH
88652018-09-27 Alan Hayward <alan.hayward@arm.com>
8866
8867 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8868 pthread barrier.
8869 (main): Likewise.
8870
d354055e
AB
88712018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8872
8873 * gdb.base/large-frame-1.c: New file.
8874 * gdb.base/large-frame-2.c: New file.
8875 * gdb.base/large-frame.exp: New file.
8876 * gdb.base/large-frame.h: New file.
8877
db727370
JL
88782018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8879
8880 PR gdb/20948
8881 * gdb.base/write_mem.exp: New test.
8882 * gdb.base/write_mem.c: Likewise.
8883
ae778caf
TT
88842018-09-23 Tom Tromey <tom@tromey.com>
8885
8886 PR python/18852:
8887 * gdb.python/py-parameter.exp: Add test for parameter that throws
8888 on "set".
8889
fd3ba736
TT
88902018-09-23 Tom Tromey <tom@tromey.com>
8891
8892 PR python/17284:
8893 * gdb.python/py-template.exp (test_template_arg): Add test for
8894 negative template argument number.
8895
39a24317
TT
88962018-09-23 Tom Tromey <tom@tromey.com>
8897
8898 PR python/14062:
8899 * gdb.python/python.exp: Add test for post_event error.
8900
f5769a2c
TT
89012018-09-23 Tom Tromey <tom@tromey.com>
8902
8903 PR python/18170:
8904 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8905 convert pointers to int and long.
8906
1c1e54f6
TT
89072018-09-23 Tom Tromey <tom@tromey.com>
8908
8909 PR python/20126:
8910 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8911 signed-ness conversion tests.
8912
fb4fa946
TT
89132018-09-23 Tom Tromey <tom@tromey.com>
8914
8915 PR python/18352;
8916 * gdb.python/py-value.exp (test_float_conversion): New proc.
8917 Use it.
8918
a466edac
HAQ
89192018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8920
8921 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8922
4ee9b0c5
SL
89232018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8924
8925 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8926 no readline.
8927 * gdb.base/utf8-identifiers.exp: Likewise.
8928 * gdb.cp/cpcompletion.exp: Likewise.
8929 * gdb.linespec/cpcompletion.exp: Likewise.
8930 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8931 * gdb.linespec/cpls-ops.exp: Likewise.
8932
23be8da7
RB
89332018-09-19 Richard Bunt <richard.bunt@arm.com>
8934 Chris January <chris.january@arm.com>
8935
8936 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8937 * gdb.fortran/short-circuit-argument-list.exp: New file.
8938 * gdb.fortran/short-circuit-argument-list.f90: New test.
8939
5031d0ae
SDJ
89402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8941
8942 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8943 "arch=" keyword when executing "-stack-list-frames".
8944
b4c0d1a4
SDJ
89452018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8946
8947 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8948 "arch=" keyword when executing "-stack-list-frames".
8949
7a6d2b45
SDJ
89502018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8951
8952 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8953 break ada".
8954
8588b356
SM
89552018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8956
8957 PR python/23669
8958 * gdb.python/python.exp: Test gdb.execute("show commands").
8959
65e65158
TT
89602018-09-16 Tom Tromey <tom@tromey.com>
8961
8962 * gdb.base/new-ui.exp (do_execution_tests): Update.
8963 * gdb.base/dbx.exp (test_breakpoints): Update.
8964
bf326452
AH
89652018-09-14 Alan Hayward <alan.hayward@arm.com>
8966
8967 * lib/gdb.exp (gdb_simple_compile): Add proc.
8968 (is_elf_target): Use gdb_simple_compile.
8969 (skip_altivec_tests): Likewise.
8970 (skip_vsx_tests): Likewise.
8971 (skip_tsx_tests): Likewise.
8972 (skip_btrace_tests): Likewise.
8973 (skip_btrace_pt_tests): Likewise.
8974 (gdb_can_simple_compile): Likewise.
8975 (gdb_has_argv0): Likewise.
8976 (gdb_target_symbol_prefix): Likewise.
8977 (target_supports_scheduler_locking): Likewise.
8978
2361b0fb
TT
89792018-09-13 Tom Tromey <tom@tromey.com>
8980
8981 * Makefile.in (TAGS): Recognize proc_with_prefix and
8982 gdb_caching_proc.
8983
0ae1a321
SM
89842018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8985
8986 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8987 method.
8988
a40bf0c2
SM
89892018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8990
8991 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8992 and a few other Inferior properties when the Inferior is no
8993 longer valid.
8994
4a3fe98f
TT
89952018-09-13 Tom Tromey <tom@tromey.com>
8996
8997 PR rust/23650:
8998 * gdb.rust/simple.exp: Add test for enum field access error.
8999
098b2108
TT
90002018-09-13 Tom Tromey <tom@tromey.com>
9001
9002 PR rust/23626:
9003 * gdb.rust/simple.rs (EmptyEnum): New type.
9004 (main): Use it.
9005 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9006
1256af7d
SM
90072018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9008
9009 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9010 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9011 * gdb.python/py-symtab.exp: Update test printing an objfile.
9012
4aa8e6c2
SM
90132018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9014
9015 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9016 object.
9017
c221b2f7
AH
90182018-09-12 Alan Hayward <alan.hayward@arm.com>
9019
9020 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9021 (support_complex_tests): Use gdb_can_simple_compile.
9022 (is_ilp32_target): Likewise.
9023 (is_lp64_target): Likewise.
9024 (is_64_target): Likewise.
9025 (is_amd64_regs_target): Likewise.
9026 (is_aarch32_target): Likewise.
9027 (gdb_int128_helper): Likewise.
9028
6f1107b5
JK
90292018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9030
9031 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9032
1f5d1570
JG
90332018-09-10 Jerome Guitton <guitton@adacore.com>
9034
9035 * gdb.ada/same_component_name: Add test for case of tagged record
9036 with variable-length fields.
9037
cc330e39
XR
90382018-09-10 Xavier Roirand <roirand@adacore.com>
9039
9040 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9041 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9042 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9043 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9044
b9c50e9a
XR
90452018-09-10 Xavier Roirand <roirand@adacore.com>
9046
9047 * gdb.ada/mi_string_access.exp: New testcase.
9048 * gdb.ada/mi_string_access/bar.adb: New file.
9049 * gdb.ada/mi_string_access/pck.adb: New file.
9050 * gdb.ada/mi_string_access/pck.asd: New file.
9051
2963898f
XR
90522018-09-10 Xavier Roirand <roirand@adacore.com>
9053
9054 * gdb.ada/mi_var_union.exp: New testcase.
9055 * gdb.ada/mi_var_union/bar.adb: New file.
9056 * gdb.ada/mi_var_union/pck.adb: New file.
9057 * gdb.ada/mi_var_union/pck.asd: New file.
9058
1aac008f
TT
90592018-09-08 Tom Tromey <tom@tromey.com>
9060
9061 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9062
332cf4c9
TT
90632018-09-08 Tom Tromey <tom@tromey.com>
9064
9065 PR python/16047:
9066 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9067 (register_pretty_printers): Register new printer.
9068 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9069 test.
9070 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9071 (an_int_type3): New global.
9072
424da6cf
JB
90732018-09-08 Joel Brobecker <brobecker@adacore.com>
9074
9075 * gdb.ada/expr_with_funcall: New testcase.
9076
2a62dfa9
JB
90772018-09-08 Joel Brobecker <brobecker@adacore.com>
9078
9079 * gdb.ada/packed_array_assign: New testcase.
9080
96b6697f
AB
90812018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9082
9083 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9084 names, and add test prefixes to make test names unique.
9085
e4a62c65
TV
90862018-09-05 Tom de Vries <tdevries@suse.de>
9087
9088 * gdb.dwarf2/varval.exp: Add test.
9089
dd083ee2
GB
90902018-09-04 Gary Benson <gbenson@redhat.com>
9091
9092 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9093 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9094
aef9346c
TT
90952018-08-31 Tom Tromey <tom@tromey.com>
9096
9097 * gdb.rust/simple.rs: Rename second variable "v".
9098
c67f2e15
AB
90992018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9100
9101 * gdb.base/funcargs.c (use_a): New function.
9102 (recurse): Call use_a.
9103
078a0207
KS
91042018-08-29 Keith Seitz <keiths@redhat.com>
9105
9106 * gdb.compile/compile-cplus-anonymous.cc: New file.
9107 * gdb.compile/compile-cplus-anonymous.exp: New file.
9108 * gdb.compile/compile-cplus-array-decay.cc: New file.
9109 * gdb.compile/compile-cplus-array-decay.exp: New file.
9110 * gdb.compile/compile-cplus-inherit.cc: New file.
9111 * gdb.compile/compile-cplus-inherit.exp: New file.
9112 * gdb.compile/compile-cplus-member.cc: New file.
9113 * gdb.compile/compile-cplus-member.exp: New file.
9114 * gdb.compile/compile-cplus-method.cc: New file.
9115 * gdb.compile/compile-cplus-method.exp: New file.
9116 * gdb.compile/compile-cplus-mod.c: "New" file.
9117 * gdb.compile/compile-cplus-namespace.cc: New file.
9118 * gdb.compile/compile-cplus-namespace.exp: New file.
9119 * gdb.compile/compile-cplus-nested.cc: New file.
9120 * gdb.compile/compile-cplus-nested.exp: New file.
9121 * gdb.compile/compile-cplus-print.c: "New" file.
9122 * gdb.compile/compile-cplus-print.exp: "New" file.
9123 * gdb.compile/compile-cplus-virtual.cc: New file.
9124 * gdb.compile/compile-cplus-virtual.exp: New file.
9125 * gdb.compile/compile-cplus.c: "New" file.
9126 * gdb.compile/compile-cplus.exp: "New" file.
9127 * lib/compile-support.exp: New file.
9128
b0f492b9
GB
91292018-08-16 Gary Benson <gbenson@redhat.com>
9130
9131 PR gdb/13000:
9132 * gdb.base/batch-exit-status.exp: New file.
9133 * gdb.base/batch-exit-status.good-commands: Likewise.
9134 * gdb.base/batch-exit-status.bad-commands: Likewise.
9135
36eb4c5f
AH
91362018-08-29 Alan Hayward <alan.hayward@arm.com>
9137
9138 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9139 (struct struct02): Likewise.
9140 (struct struct03): Likewise.
9141 (struct struct04): Likewise.
9142 (struct struct_01_01): New struct.
9143 (struct struct_01_02): Likewise.
9144 (struct struct_01_03): Likewise.
9145 (struct struct_01_04): Likewise.
9146 (struct struct_02_01): Likewise.
9147 (struct struct_02_02): Likewise.
9148 (struct struct_02_03): Likewise.
9149 (struct struct_02_04): Likewise.
9150 (struct struct_04_01): Likewise.
9151 (struct struct_04_02): Likewise.
9152 (struct struct_04_03): Likewise.
9153 (struct struct_04_04): Likewise.
9154 (struct struct_05_01): Likewise.
9155 (struct struct_05_02): Likewise.
9156 (struct struct_05_03): Likewise.
9157 (struct struct_05_04): Likewise.
9158 (cmp_struct01): Remove function.
9159 (cmp_struct02): Likewise.
9160 (cmp_struct03): Likewise.
9161 (cmp_struct04): Likewise.
9162 (cmp_struct_01_01): Add Function.
9163 (cmp_struct_01_02): Likewise.
9164 (cmp_struct_01_03): Likewise.
9165 (cmp_struct_01_04): Likewise.
9166 (cmp_struct_02_01): Likewise.
9167 (cmp_struct_02_02): Likewise.
9168 (cmp_struct_02_03): Likewise.
9169 (cmp_struct_02_04): Likewise.
9170 (cmp_struct_04_01): Likewise.
9171 (cmp_struct_04_02): Likewise.
9172 (cmp_struct_04_03): Likewise.
9173 (cmp_struct_04_04): Likewise.
9174 (cmp_struct_05_01): Likewise.
9175 (cmp_struct_05_02): Likewise.
9176 (cmp_struct_05_03): Likewise.
9177 (cmp_struct_05_04): Likewise.
9178 (call_all): Add new structs.
9179 * gdb.base/infcall-nested-structs.exp: Likewise.
9180
3bf9c013
JV
91812018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9182
9183 * gdb.python/py-framefilter-mi.exp: Update regexp to
9184 check for "arch" field in frame output.
9185
450d1e88
KB
91862018-08-23 Kevin Buettner <kevinb@redhat.com>
9187
9188 * gdb.dwarf2/dw2-ranges-func.c: New file.
9189 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9190
ae739fe7
SM
91912018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9192
9193 * gdb.base/term.exp: Compare terminal settings with values from
9194 the inferior.
9195 * gdb.base/term.c: Get and set terminal settings.
9196
6d52907e
JV
91972018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9198
9199 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9200 accommodate new "arch" field in frame output.
9201 * gdb.mi/mi-return.exp: Likewise.
9202 * gdb.mi/mi-stack.exp: Likewise.
9203 * gdb.mi/mi-syn-frame.exp: Likewise.
9204 * gdb.mi/user-selected-context-sync.exp: Likewise.
9205
be2d111a
MS
92062018-08-19 Michael Spang <spang@google.com>
9207
9208 PR gdb/11786
9209 * gdb.base/gcore-tls-pie.c: New file.
9210 * gdb.base/gcore-tls-pie.exp: New file.
9211
ae3a7c47
KB
92122018-08-18 Kevin Buettner <kevinb@redhat.com>
9213
9214 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9215 * gdb.dwarf2/varval.c: New file.
9216 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9217
2ecae92e
AH
92182018-08-17 Alan Hayward <alan.hayward@arm.com>
9219
9220 PR gdb/18931
9221 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9222
c1854f1d
KS
92232018-08-16 Keith Seitz <keiths@redhat.com>
9224
9225 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9226 tests expected to pass.
9227
26fb3983
JV
92282018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9229
9230 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9231 -data-disassemble -a.
9232 (test_disassembly_bogus_args): Likewise.
9233
67943c00
AB
92342018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9235
9236 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9237
5ff2bbae
AB
92382018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9239
9240 * gdb.base/vla-optimized-out.exp: Add new test.
9241
e5bbcd0f
AB
92422018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9243
9244 * gdb.base/vla-optimized-out-o3.exp: Delete.
9245 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9246 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9247 deleted tests.
9248
9d4a934c
AB
92492018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9250
9251 PR gdb/18050:
9252 * gdb.server/extended-remote-restart.c: New file.
9253 * gdb.server/extended-remote-restart.exp: New file.
9254
045cf012
SM
92552018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9256
9257 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9258 "set variable index = 42".
9259
87d6a7aa
SM
92602018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9261
9262 * boards/index-cache-gdb.exp: New file.
9263 * gdb.dwarf2/index-cache.exp: New file.
9264 * gdb.dwarf2/index-cache.c: New file.
9265 * gdb.base/maint.exp: Check if we are using the index cache.
9266
96d68bd4
RO
92672018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9268
9269 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9270 MAKEFLAGS.
9271
5a699617
RO
92722018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9273
9274 * dg-extract-results.sh: Move to toplevel contrib.
9275 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9276 * Makefile.in (check-parallel-racy): Likewise.
9277
5bd18990
AB
92782018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9279
9280 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9281 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9282 tests if the target supports scheduler locking.
9283
3fbbcf47
TV
92842018-08-04 Tom de Vries <tdevries@suse.de>
9285
9286 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9287
3e1d3d8c
TT
92882018-08-02 Tom Tromey <tom@tromey.com>
9289
9290 PR symtab/16842.
9291 * gdb.cp/temargs.exp: Test "info address" of a template
9292 parameter.
9293
5abe0f0c
JV
92942018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9295
9296 * gdb.python/py-mi-var-info-path-expression.c: New file.
9297 * gdb.python/py-mi-var-info-path-expression.py: New file.
9298 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9299
fb66cde8
SDJ
93002018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9301
9302 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9303 error after "cannot resolve name" string.
9304
c708f4d2
AB
93052018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9306
9307 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9308 started.
9309 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9310
37cc0cae
TV
93112018-07-28 Tom de Vries <tdevries@suse.de>
9312
9313 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9314
63b4ecf7
TV
93152018-07-26 Tom de Vries <tdevries@suse.de>
9316
9317 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9318
3c3bb058
AB
93192018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9320
9321 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9322 is visible.
9323
9e7f3bbb
TV
93242018-07-26 Tom de Vries <tdevries@suse.de>
9325
9326 PR breakpoints/23366
9327 * gdb.base/catch-follow-exec.c: New test.
9328 * gdb.base/catch-follow-exec.exp: New file.
9329
16f808ec
TV
93302018-07-25 Tom de Vries <tdevries@suse.de>
9331
9332 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9333 vla-optimized-out.c.
9334
d7154a8d
JV
93352018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9336
9337 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9338 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9339
232a0032
TV
93402018-07-20 Tom de Vries <tdevries@suse.de>
9341
9342 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9343 NOCLONE macro.
9344 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9345
fbb1d502
TV
93462018-07-19 Tom de Vries <tdevries@suse.de>
9347
9348 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9349 regular expression.
9350
42dc7699
TV
93512018-07-18 Tom de Vries <tdevries@suse.de>
9352
9353 * gdb.base/vla-optimized-out.c: New test.
9354 * gdb.base/vla-optimized-out.exp: New file.
9355
7f1f7e23
SDJ
93562018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9357
9358 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9359 message "No address associated with hostname" when gdbserver
9360 cannot resolve the hostname.
9361
5759ebb3
PW
93622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9363
9364 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9365 Add some test prefixes to make tests unique.
9366
3606ccab
PW
93672018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9368
9369 * gdb.base/frameapply.c: New file.
9370 * gdb.base/frameapply.exp: New file.
9371
529c08b2
PW
93722018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9373
9374 * gdb.base/skip.exp: Update expected error message.
9375
c7ab0aef
SDJ
93762018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9377 Jan Kratochvil <jan.kratochvil@redhat.com>
9378 Paul Fertser <fercerpav@gmail.com>
9379 Tsutomu Seki <sekiriki@gmail.com>
9380
9381 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9382 parameter.
9383 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9384 by default.
9385 * boards/native-gdbserver.exp: Likewise.
9386 * gdb.server/run-without-local-binary.exp: Improve regexp used
9387 for detecting when a remote debugging connection succeeds.
9388 * gdb.server/server-connect.exp: New file.
9389 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9390 Do not prefix the port number with ":".
9391 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9392 support for detecting and using it. Add '$debughost_gdbserver'
9393 to the list of arguments used to start gdbserver. Handle case
9394 when gdbserver cannot resolve a network name.
9395
16ff70dd
SDJ
93962018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9397
9398 PR c++/23373
9399 * gdb.base/ptype-offsets.cc (struct static_member): New
9400 struct.
9401 (main) <stmember>: New variable.
9402 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9403 with a static member in it.
9404
3541979f
AB
94052018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9406
9407 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9408 watchpoints enabled and disabled.
9409
c8ad9b9a
AB
94102018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9411
9412 * gdb.base/examine-backward.exp: Still run tests around address
9413 0x0, even if address 0x0 is not readable. Update the pattern for
9414 matching address 0x0 in expected output.
9415
e0e5e971
AB
94162018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9417
9418 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9419 malloc/free.
9420
1ea5da02
TV
94212018-07-04 Tom de Vries <tdevries@suse.de>
9422
9423 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9424
471b9d15
MR
94252018-07-02 Maciej W. Rozycki <macro@mips.com>
9426
9427 PR tdep/8282
9428 * gdb.arch/mips-disassembler-options.exp: New test.
9429 * gdb.arch/mips-disassembler-options.s: New test source.
9430
75acb486
PA
94312018-06-29 Pedro Alves <palves@redhat.com>
9432
9433 * gdb.threads/names.exp: Adjust expected "info threads" output.
9434
cd2bb709
PA
94352018-06-29 Pedro Alves <palves@redhat.com>
9436
9437 * gdb.opt/inline-break.exp (line number, address): Add "info
9438 break" tests.
9439
991ff292
PA
94402018-06-29 Pedro Alves <palves@redhat.com>
9441
9442 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9443 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9444 number and address and running to them.
9445
356819b6 94462018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9447
9448 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9449
2512d7ef
JK
94502018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9451
9452 * lib/compiler.c: Remove executable permission flag.
9453
be1b6474
RB
94542018-06-28 Richard Bunt <richard.bunt@arm.com>
9455
9456 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9457 code.
9458 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9459
291f9a96
PT
94602018-06-28 Petr Tesarik <ptesarik@suse.cz>
9461
9462 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9463
ed6dfe51
PT
94642018-06-28 Petr Tesarik <ptesarik@suse.cz>
9465
9466 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9467 address argument is omitted.
9468
d4d429d5
PT
94692018-06-28 Petr Tesarik <ptesarik@suse.cz>
9470
9471 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9472
7ab6656f
OJ
94732018-06-27 Omair Javaid <omair.javaid@linaro.org>
9474
9475 PR gdb/21695
9476 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9477 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9478
a33ccfc7
TT
94792018-06-26 Tom Tromey <tom@tromey.com>
9480
9481 PR rust/22574:
9482 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9483 * gdb.rust/simple.rs (struct SimpleLayout): New.
9484
6d72d289
SM
94852018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9486
9487 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9488 "info registers" output.
9489
8363f9d5
RB
94902018-06-21 Richard Bunt <richard.bunt@arm.com>
9491
9492 * gdb.base/watchpoint-hw-attach.c: New test.
9493 * gdb.base/watchpoint-hw-attach.exp: New file.
9494
f00674fe
SM
94952018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9496
9497 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9498 through /bin/sh.
9499 * boards/dwarf4-gdb-index.exp: Likewise.
9500 * boards/fission-dwp.exp: Likewise.
9501
1d554008
UW
95022018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9503
9504 * gdb.base/float128.exp: Add comment and improved fail message
9505 to the failure case of "print large128" test.
9506
d0ac1c44
SM
95072018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9508
9509 * configure.ac: Remove AC_PREREQ.
9510 * configure: Re-generate.
9511
61b04dd0
PA
95122018-06-19 Pedro Alves <palves@redhat.com>
9513
9514 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9515 (func_extern_caller): New.
9516 (main): Call func_extern_caller.
9517 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9518 logic change.
9519
f63b508a
SM
95202018-06-18 Weimin Pan <weimin.pan@oracle.com>
9521
9522 PR gdb/16841
9523 * gdb.cp/typedef-base.cc: New file.
9524 * gdb.cp/typedef-base.exp: New file.
9525
0fe3a558
TV
95262018-06-18 Tom de Vries <tdevries@suse.de>
9527
9528 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9529
7010835a
AB
95302018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9531 Richard Bunt <Richard.Bunt@arm.com>
9532
9533 * gdb.threads/attach-slow-waitpid.c: New file.
9534 * gdb.threads/attach-slow-waitpid.exp: New file.
9535 * gdb.threads/slow-waitpid.c: New file.
9536
14897d65
PA
95372018-06-14 Pedro Alves <palves@redhat.com>
9538
9539 * gdb.base/fork-running-state.c: Include <errno.h>.
9540 (exit_if_relative_exits): New.
9541 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9542 exits.
9543 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9544 child exits.
9545
5d9a0608
TV
95462018-06-14 Tom de Vries <tdevries@suse.de>
9547
9548 PR cli/22573
9549 * gdb.base/finish-pretty.c: New test.
9550 * gdb.base/finish-pretty.exp: New file.
9551
11ae5818
PA
95522018-06-14 Pedro Alves <palves@redhat.com>
9553
9554 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9555 gdb's expected startup output.
9556
1d39de44
PA
95572018-06-14 Pedro Alves <palves@redhat.com>
9558
9559 * lib/selftest-support.exp (selftest_setup): Remove inlined
9560 function handling.
9561
70ee0000
TV
95622018-06-14 Tom de Vries <tdevries@suse.de>
9563
9564 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9565 matching of breakpoint printing.
9566
11f4b608
TV
95672018-06-13 Tom de Vries <tdevries@suse.de>
9568
9569 PR testsuite/23269
9570 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9571 (fork_child): ... here, and ...
9572 (fork_parent): ... here.
9573
95742018-06-12 Tom de Vries <tdevries@suse.de>
9575
9576 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9577
9516f85a
AB
95782018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9579 Stephen Roberts <stephen.roberts@arm.com>
9580
9581 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9582 rewrite test to describe action performed, rather than possible
9583 failure.
9584
5045b3d7
GB
95852018-06-08 Gary Benson <gbenson@redhat.com>
9586
9587 * gdb.threads/check-libthread-db.exp: New file.
9588 * gdb.threads/check-libthread-db.c: Likewise.
9589
c61b06a1
TT
95902018-06-05 Tom Tromey <tom@tromey.com>
9591
9592 * gdb.base/default.exp: Update expected "show version" output.
9593
eb6af809
TT
95942018-06-05 Tom Tromey <tom@tromey.com>
9595
9596 PR cli/12326:
9597 * gdb.cp/static-print-quit.exp: Update.
9598 * lib/gdb.exp (pagination_prompt): Update.
9599 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9600 * gdb.python/python.exp: Update.
9601
178d6a63
JB
96022018-06-04 Joel Brobecker <brobecker@adacore.com>
9603
9604 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9605
8e817061
JB
96062018-06-01 Joel Brobecker <brobecker@adacore.com>
9607
9608 * gdb.ada/bp_fun_addr: New testcase.
9609
e86ca25f
TT
96102018-06-01 Tom Tromey <tom@tromey.com>
9611
9612 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9613 results.
9614 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9615 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9616 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9617 * gdb.base/maint.exp (maint_pass_if): Update.
9618
4b2dfa9d
MR
96192018-05-31 Maciej W. Rozycki <macro@mips.com>
9620
9621 * gdb.base/endian.exp: New test.
9622 * gdb.base/endian.c: New test source.
9623
45f25d6c
AB
96242018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9625
9626 PR gdb/23203
9627 * gdb.base/bt-selected-frame.c: New file.
9628 * gdb.base/bt-selected-frame.exp: New file.
9629 * lib/gdb.exp (get_current_frame_number): New function.
9630
d9f6d7f8
MR
96312018-05-24 Maciej W. Rozycki <macro@mips.com>
9632 Pedro Alves <palves@redhat.com>
9633
9634 * gdb.threads/tls-core.c: Include <stdlib.h>
9635 (thread_proc): Call `abort'.
9636 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9637 (tls_core_test): New procedure, bits factored out from ...
9638 (top level): ... here. Test both native cores and gcore cores.
9639
ff1cf532
TT
96402018-05-23 Tom Tromey <tom@tromey.com>
9641
9642 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9643
b98664d3
TT
96442018-05-23 Tom Tromey <tom@tromey.com>
9645
9646 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9647 symfile_complaints.
9648 (test_short_complaints): Likewise.
9649 (test_empty_complaints): Likewise.
9650 (test_initial_complaints): Update.
9651
4e9668d0
TT
96522018-05-23 Tom Tromey <tom@tromey.com>
9653
9654 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9655
43ba33c7
TT
96562018-05-23 Tom Tromey <tom@tromey.com>
9657
9658 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9659 (test_short_complaints): Update.
9660
035522c0
PA
96612018-05-22 Pedro Alves <palves@redhat.com>
9662
9663 * gdb.base/remote.exp: Only gdb_start after compiling the
9664 testcase. Issue "disconnect" before testing "set remote" command
9665 defaults. Issue clean_restart before running to main.
9666
cc0be08f
PA
96672018-05-22 Pedro Alves <palves@redhat.com>
9668
9669 * gdb.base/remote.exp: Adjust expected output of "show remote
9670 memory-write-packet-size". Add tests for "set remote
9671 memory-write-packet-size 0" and "set remote
9672 memory-write-packet-size fixed/limit".
9673
b1b60145
PA
96742018-05-22 Pedro Alves <palves@redhat.com>
9675
9676 PR gdb/22973
9677 * gdb.base/utf8-identifiers.c: New file.
9678 * gdb.base/utf8-identifiers.exp: New file.
9679
0ec848ad
PFC
96802018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9681
9682 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9683
2c3305f6
PFC
96842018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9685
9686 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9687
ce1e8424
TT
96882018-05-18 Tom Tromey <tom@tromey.com>
9689
9690 * gdb.base/ptype-offsets.exp: Update.
9691
ddfe970e
KS
96922018-05-17 Keith Seitz <keiths@redhat.com>
9693
9694 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9695 in expected breakpoint stop locations.
9696 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9697 move to proper scope to test variable values.
9698 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9699 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9700 New functions.
9701 (main): Call not_inline_func3.
9702 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9703 inline_func1, inline_func2, and inline_func3. Test that when each
9704 breakpoint is hit, GDB properly reports both the stop location
9705 and the backtrace. Repeat tests for temporary breakpoints.
9706
0726fcc6
MR
97072018-05-15 Maciej W. Rozycki <macro@mips.com>
9708
9709 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9710 rather then trying to access it in determining whether the PID
9711 of `gdbserver' could have been retrieved.
9712
8ee22052
AB
97132018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9714
9715 * gdb.arch/amd64-init-x87-values.S: New file.
9716 * gdb.arch/amd64-init-x87-values.exp: New file.
9717
7785df48
JK
97182018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9719
9720 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9721
56bcdbea
TT
97222018-05-04 Tom Tromey <tom@tromey.com>
9723
9724 PR python/22730:
9725 * gdb.python/python.exp: Test multi-line execute.
9726
a913fffb
TT
97272018-05-04 Tom Tromey <tom@tromey.com>
9728
9729 PR python/22731:
9730 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9731
7a2c85f2
TT
97322018-05-04 Tom Tromey <tom@tromey.com>
9733
9734 PR gdb/11750:
9735 * gdb.base/define.exp: Test defining a user command inside a user
9736 command.
9737 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9738
a3b60e45
JK
97392018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9740 Pedro Alves <palves@redhat.com>
9741
9742 PR breakpoints/19806 and support for PR external/20207.
9743 * gdb.base/watchpoint-unaligned.c: New file.
9744 * gdb.base/watchpoint-unaligned.exp: New file.
9745
45fe4a03
AB
97462018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9747
9748 * gdb.base/maint.exp: Make test names unique, use
9749 test_prefix_command_help to test 'help maint info', and remove
9750 repeated test of 'help maint'.
9751
9be2ae8f
TT
97522018-05-04 Tom Tromey <tom@tromey.com>
9753
9754 PR gdb/22619:
9755 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9756 behavior.
9757
11859c31
AB
97582018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9759
9760 * gdb.base/maint.exp: Process output from 'maint print registers'
9761 line at a time.
9762
089a9490
AB
97632018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9764
9765 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9766 timeout.
9767
9b0797e2
AB
97682018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9769
9770 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9771 filter pattern.
9772
f6ac5f3d
PA
97732018-05-02 Pedro Alves <palves@redhat.com>
9774
9775 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9776 to_log_command renames.
9777 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9778
77d3c63b
TT
97792018-05-02 Tom Tromey <tom@tromey.com>
9780
9781 * gdb.python/py-parameter.exp: Set test message.
9782
0489430a
TT
97832018-05-02 Tom Tromey <tom@tromey.com>
9784
9785 PR python/20084:
9786 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9787 PARAM_ZUINTEGER_UNLIMITED tests.
9788
1632f8ba
DR
97892018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9790
9791 PR rust/23124
9792 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9793 when casting.
9794
6d7bb824
TT
97952018-04-30 Tom Tromey <tom@tromey.com>
9796
9797 * gdb.python/py-type.exp: Check align attribute.
9798 * gdb.python/py-type.c: New "aligncheck" global.
9799
007e1530
TT
98002018-04-30 Tom Tromey <tom@tromey.com>
9801
9802 PR exp/17095:
9803 * gdb.dwarf2/dw2-align.exp: New file.
9804 * gdb.cp/align.exp: New file.
9805 * gdb.base/align.exp: New file.
9806 * lib/gdb.exp (gdb_int128_helper): New proc.
9807 (has_int128_c, has_int128_cxx): New caching procs.
9808
6873858b
TT
98092018-04-27 Tom Tromey <tom@tromey.com>
9810
9811 PR rust/22545:
9812 * gdb.rust/simple.exp: Add inclusive range tests.
9813
79188d8d
PA
98142018-04-26 Pedro Alves <palves@redhat.com>
9815
9816 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9817 ifunc breakpoint locations correctly of ifunc breakpoints set
9818 while the program resolves the ifunc.
9819
c7075ad5
PA
98202018-04-26 Pedro Alves <palves@redhat.com>
9821
9822 * gdb.base/gnu-ifunc-final.c: New file.
9823 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9824 * gdb.base/gnu-ifunc.exp (executable): Delete.
9825 (staticexecutable): Adjust.
9826 (lib_opts, exec_opts): Delete.
9827 (make_binsuffix, build, set-break): New procedures.
9828 (misc_tests): New, with tests factored out from the top level.
9829 (top level): Test different combinations of ifunc resolver name,
9830 resolver with and with debug info, and ifunc target with and
9831 without debug info. Wrap static tests with with_target_prefix.
9832
8388016d
PA
98332018-04-26 Pedro Alves <palves@redhat.com>
9834
9835 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9836 return type" warnings.
9837
249b5733
PA
98382018-04-25 Pedro Alves <palves@redhat.com>
9839
9840 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9841 killed".
9842 * gdb.base/kill-after-signal.exp: Likewise.
9843 * gdb.threads/kill.exp: Likewise.
9844
f67c0c91
SDJ
98452018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9846 Sergio Durigan Junior <sergiodj@redhat.com>
9847 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9850 regexps to expect for '[Inferior ... detached]' as well.
9851 * gdb.base/attach.exp: Likewise.
9852 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9853 "gdb_continue_to_end".
9854 (test_catch_syscall_with_wrong_args): Likewise.
9855 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9856 ']'. Don't set 'verbose' on.
9857 * gdb.base/foll-vfork.exp: Likewise.
9858 * gdb.base/fork-print-inferior-events.c: New file.
9859 * gdb.base/fork-print-inferior-events.exp: New file.
9860 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9861 '[Inferior ... has been killed]' message.
9862 * gdb.base/kill-after-signal.exp: Likewise.
9863 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9864 detach message.
9865 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9866 message.
9867 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9868 regexps to expect for '[Inferior ... detached]' as well.
9869 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9870
0a8ddac4
SM
98712018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9872
9873 PR gdb/23104
9874 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9875
701adfb0
PA
98762018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9877
9878 PR gdb/23095
9879 * gdb.base/break-probes.exp: Pass shlib_load to
9880 prepare_for_testing. Set normal_bp to r_debug_state if target is
9881 bsd.
9882
d27d16bf
RB
98832018-04-19 Richard Bunt <richard.bunt@arm.com>
9884
9885 * gdb.threads/multiple-successive-infcall.c: New test.
9886 * gdb.threads/multiple-successive-infcall.exp: New file.
9887
a037790e
TT
98882018-04-17 Tom Tromey <tom@tromey.com>
9889
9890 * gdb.rust/simple.rs (Union): New type.
9891 (main): New local "u".
9892 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9893
e3a91079
AA
98942018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9895
9896 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9897 number information in output of "whereis" command.
9898 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9899
b744723f
AA
99002018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9901
9902 * gdb.ada/info_types.exp: Adjust expected output to the line
9903 numbers now printed by "info var/func/type".
9904 * gdb.base/completion.exp: Likewise.
9905 * gdb.base/included.exp: Likewise.
9906 * gdb.cp/cp-relocate.exp: Likewise.
9907 * gdb.cp/cplusfuncs.exp: Likewise.
9908 * gdb.cp/namespace.exp: Likewise.
9909 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9910
4a4495d6
MM
99112018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9912
9913 * gdb.btrace/cpu.exp: New.
9914
1d509aa6
MM
99152018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9916
9917 * gdb.base/step-indirect-call-thunk.exp: New.
9918 * gdb.base/step-indirect-call-thunk.c: New.
9919 * gdb.reverse/step-indirect-call-thunk.exp: New.
9920 * gdb.reverse/step-indirect-call-thunk.c: New.
9921
6295b6da
SM
99222018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9923
9924 * gdb.base/pie-fork.c: New file.
9925 * gdb.base/pie-fork.exp: New file.
9926
50146e70
TT
99272018-04-11 Tom Tromey <tom@tromey.com>
9928
9929 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9930
f50d8a2e
PA
99312018-04-10 Pedro Alves <palves@redhat.com>
9932
9933 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9934 exits. Instead loop running forever.
9935 (fork_parent): Run forever too.
9936
a0be7a36
SM
99372018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9938
9939 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9940 mi_continue_to_line.
9941 * gdb.mi/mi-stack.c (callee4): Add comment.
9942
9b73db36
SM
99432018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9944
9945 * gdb.mi/mi-stack.exp: Fix indentation.
9946
c912f608
SM
99472018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9948
9949 PR gdb/22979
9950 * gdb.arch/amd64-osabi.exp: New file.
9951
26540402
SM
99522018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9953
9954 PR gdb/22980
9955 * gdb.base/osabi.exp: New file.
9956
121ad66c 99572018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9958
9959 * gdb.cp/static-typedef-print.exp: New file.
9960 * gdb.cp/static-typedef-print.cc: New file.
9961
3fcded8f
JB
99622018-03-27 Joel Brobecker <brobecker@adacore.com>
9963
9964 * gdb.ada/varsize_limit: New testcase.
9965
59cc4834
JB
99662018-03-27 Joel Brobecker <brobecker@adacore.com>
9967
9968 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9969
9970 * gdb.ada/notcplusplus: New testcase.
9971
9972 * gdb.base/c-linkage-name.c: New file.
9973 * gdb.base/c-linkage-name.exp: New testcase.
9974
4ca59a9f
TT
99752018-03-26 Tom Tromey <tom@tromey.com>
9976
9977 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9978 * gdb.python/py-framefilter.py (name_error): New global.
9979 (ErrorInName.function): Use name_error.
9980
978d6c75
TT
99812018-03-26 Tom Tromey <tom@tromey.com>
9982
9983 PR backtrace/15582:
9984 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9985
b7fee5a3
KS
99862018-03-23 Keith Seitz <keiths@redhat.com>
9987
9988 PR c++/22968
9989 * gdb.cp/subtypes.exp: New file.
9990 * gdb.cp/subtypes.h: New file.
9991 * gdb.cp/subtypes.cc: New file.
9992 * gdb.cp/subtypes-2.cc: New file.
9993
376be529
AB
99942018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9995
9996 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9997 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9998 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9999 -nostartfiles when compiling the test. Confirm that all registers
10000 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10001
066cfa98
AB
100022018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10003
10004 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10005 option, syntax was wrong anyway.
10006 * gdb.arch/arm-disp-step.exp: Likewise.
10007 * gdb.arch/sparc64-regs.exp: Likewise.
10008 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10009 option, syntax was wrong anyway, switch to use
10010 prepare_for_testing.
10011 * gdb.arch/i386-disp-step.exp: Likewise.
10012
079670b9
AA
100132018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10014
10015 * gdb.ada/exec_changed.exp: Replace "target_info exists
10016 use_gdb_stub" by "use_gdb_stub".
10017 * gdb.ada/start.exp: Likewise.
10018 * gdb.base/async-shell.exp: Likewise.
10019 * gdb.base/attach-pie-misread.exp: Likewise.
10020 * gdb.base/attach-wait-input.exp: Likewise.
10021 * gdb.base/break-entry.exp: Likewise.
10022 * gdb.base/break-interp.exp: Likewise.
10023 * gdb.base/dprintf-detach.exp: Likewise.
10024 * gdb.base/nostdlib.exp: Likewise.
10025 * gdb.base/solib-nodir.exp: Likewise.
10026 * gdb.base/statistics.exp: Likewise.
10027 * gdb.base/testenv.exp: Likewise.
10028 * gdb.mi/mi-exec-run.exp: Likewise.
10029 * gdb.mi/mi-start.exp: Likewise.
10030 * gdb.multi/dummy-frame-restore.exp: Likewise.
10031 * gdb.multi/multi-arch-exec.exp: Likewise.
10032 * gdb.multi/multi-arch.exp: Likewise.
10033 * gdb.multi/tids.exp: Likewise.
10034 * gdb.multi/watchpoint-multi.exp: Likewise.
10035 * gdb.python/py-events.exp: Likewise.
10036 * gdb.threads/attach-into-signal.exp: Likewise.
10037 * gdb.threads/attach-stopped.exp: Likewise.
10038 * gdb.threads/threadapply.exp: Likewise.
10039 * lib/selftest-support.exp: Likewise.
10040
26d6cec4
AA
100412018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10042
10043 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10044
4ee89e90
SR
100452018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10046
10047 * gdb.perf/template-breakpoints.cc: New file.
10048 * gdb.perf/template-breakpoints.exp: New file.
10049 * gdb.perf/template-breakpoints.py: New file.
10050
92630041
TT
100512018-03-19 Tom Tromey <tom@tromey.com>
10052
10053 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10054 y0.
10055 * gdb.rust/simple.exp: Test bare identifier form of struct
10056 initializer.
10057
76727919
TT
100582018-03-19 Tom Tromey <tom@tromey.com>
10059
10060 * gdb.gdb/observer.exp: Remove.
10061
194ed413
AA
100622018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10063
10064 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10065 "qualified" option when setting breakpoints.
10066 * gdb.trace/backtrace.exp: Likewise.
10067 * gdb.trace/circ.exp: Likewise.
10068 * gdb.trace/collection.exp: Likewise.
10069 * gdb.trace/disconnected-tracing.exp: Likewise.
10070 * gdb.trace/ftrace-lock.exp: Likewise.
10071 * gdb.trace/ftrace.exp: Likewise.
10072 * gdb.trace/infotrace.exp: Likewise.
10073 * gdb.trace/packetlen.exp: Likewise.
10074 * gdb.trace/passc-dyn.exp: Likewise.
10075 * gdb.trace/qtro.exp: Likewise.
10076 * gdb.trace/read-memory.exp: Likewise.
10077 * gdb.trace/report.exp: Likewise.
10078 * gdb.trace/signal.exp: Likewise.
10079 * gdb.trace/status-stop.exp: Likewise.
10080 * gdb.trace/strace.exp: Likewise.
10081 * gdb.trace/tfind.exp: Likewise.
10082 * gdb.trace/trace-break.exp: Likewise.
10083 * gdb.trace/trace-condition.exp: Likewise.
10084 * gdb.trace/trace-mt.exp: Likewise.
10085 * gdb.trace/tstatus.exp: Likewise.
10086 * gdb.trace/tsv.exp: Likewise.
10087 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10088 * gdb.trace/unavailable.exp: Likewise.
10089 * gdb.trace/while-dyn.exp: Likewise.
10090
8b067d2c
AA
100912018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10092
10093 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10094 that libinproctrace is copied to the target.
10095
3ae9ce5d
TT
100962018-03-14 Tom Tromey <tom@tromey.com>
10097
10098 PR cli/14977:
10099 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10100 a null pointer.
10101 * gdb.base/wchar.exp: Likewise.
10102
b8c2339b
TT
101032018-03-14 Tom Tromey <tom@tromey.com>
10104
10105 PR cli/19918:
10106 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10107 flag.
10108
4872dc46
SM
101092018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10110
10111 PR gdb/22841
10112 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10113 "target" to remote_exec.
10114
e4fe3756
SM
101152018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10116
10117 PR gdb/22841
10118 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10119 ${board}_upload): Remove.
10120
e95a97d4
AA
101212018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10122
10123 * gdb.cp/watch-cp.cc: New test.
10124 * gdb.cp/watch-cp.exp: New file.
10125
dbbb1059
AB
101262018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10127
10128 * gdb.base/infcall-nested-structs.exp: New file.
10129 * gdb.base/infcall-nested-structs.c: New file.
10130 * gdb.base/float.exp: Add riscv support.
10131
ecc054c0
TP
101322018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10133
10134 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10135 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10136
25e3c82c
SDJ
101372018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10138
10139 * gdb.server/abspath.exp: New file.
10140 * lib/gdb.exp (with_cwd): New procedure.
10141
3083294d
SM
101422018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10143
10144 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10145 use it.
10146 (gdb_is_target_remote_prompt): New proc.
10147 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10148 (gdb_is_target_native): Pass prompt parameter to
10149 gdb_is_target_1.
10150
3275ef47
SM
101512018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10152
10153 * gdb.base/load-command.c: New file.
10154 * gdb.base/load-command.exp: New file.
10155 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10156 (gdb_is_target_1): ...this, and generalize for other targets
10157 than just remote.
10158 (gdb_is_target_remote): Use gdb_is_target_1.
10159 (gdb_is_target_native): use gdb_is_target_1.
10160
6893c19a
TT
101612018-02-26 Tom Tromey <tom@tromey.com>
10162
10163 PR python/16497:
10164 * gdb.python/py-framefilter.exp: Update test.
10165
2ddeaf8a
TT
101662018-02-26 Tom Tromey <tom@tromey.com>
10167
10168 * gdb.dwarf2/variant.c: New file.
10169 * gdb.dwarf2/variant.exp: New file.
10170
c9317f21
TT
101712018-02-26 Tom Tromey <tom@tromey.com>
10172
10173 * gdb.rust/simple.exp: Accept more possible results in enum test.
10174
6f6d0c26
SM
101752018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10176
10177 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10178 parentheses.
10179
11b03145
MR
101802018-02-23 Maciej W. Rozycki <macro@mips.com>
10181
10182 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10183 name of a variable: $actual_linejj -> $actual_line.
10184
54a27fe5
JB
101852018-02-21 John Baldwin <jhb@FreeBSD.org>
10186
10187 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10188
de65820c
MM
101892018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10190
10191 * gdb.btrace/buffer-size.exp: Do not force BTS.
10192
980548fd
PA
101932018-02-14 Pedro Alves <palves@redhat.com>
10194
10195 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10196 getting a "Quit".
10197
c4e12631
MM
101982018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10199
10200 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10201 Fix test name.
10202
c2e0e465
SM
102032018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10204
10205 * gdb.cp/m-static.exp: Check type of optimized out static
10206 member.
10207
f7216783
AB
102082018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10209
10210 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10211 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10212
0625771b
LS
102132018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10214 Leszek Swirski <leszeks@google.com>
10215
10216 * gdb.python/py-prettyprint.c
10217 (struct to_string_returns_value_inner,
10218 struct to_string_returns_value_wrapper): New.
10219 (main): Add tsrvw variable.
10220 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10221 ToStringReturnsValueWrapper): New classes.
10222 (register_pretty_printers): Register new pretty-printers.
10223 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10224 recursive pretty printer.
10225 * gdb.python/py-mi.exp: Likewise.
10226
59498c30
LS
102272018-02-01 Leszek Swirski <leszeks@google.com>
10228
10229 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10230 functions with the same name as an include file are parsed
10231 correctly.
10232
d4d38844
YQ
102332018-02-01 Yao Qi <yao.qi@linaro.org>
10234
10235 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10236 "\[^\r\n\]*".
10237
07e5f5cf
NP
102382018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10239
10240 * gdb.arch/powerpc-prologue-frame.s: New file.
10241 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10242 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10243
929b5ad4
JB
102442018-01-31 Joel Brobecker <brobecker@adacore.com>
10245
10246 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10247
e671cd59
PA
102482018-01-30 Pedro Alves <palves@redhat.com>
10249
10250 PR gdb/13211
10251 * gdb.base/interrupt-daemon.c: New.
10252 * gdb.base/interrupt-daemon.exp: New.
10253 * gdb.multi/multi-term-settings.c: New.
10254 * gdb.multi/multi-term-settings.exp: New.
10255
fc413dc4
JB
102562018-01-30 Joel Brobecker <brobecker@adacore.com>
10257
10258 * gdb.base/break.exp: Save the location where the breakpoint
10259 on break.c:47 was actually inserted when debugging the version
10260 compiled at -O2 and use it in the expected output of the "info
10261 break" test performed soon after.
10262
5c319bb2
PA
102632018-01-22 Pedro Alves <palves@redhat.com>
10264 Sergio Durigan Junior <sergiodj@redhat.com>
10265
10266 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10267 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10268
a9e40818
JB
102692018-01-22 Joel Brobecker <brobecker@adacore.com>
10270
10271 * gdb.base/break-include.c, gdb.base/break-include.inc,
10272 gdb.base/break-include.exp: New files.
10273 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10274 line number now being the actual line number where the breakpoint
10275 was inserted.
10276 * gdb.mi/mi-break.exp: Likewise.
10277 * gdb.mi/mi-reverse.exp: Likewise.
10278 * gdb.mi/mi-simplerun.exp: Ditto.
10279
e707fc44
AB
102802018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10281
10282 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10283 varobj.
10284 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10285
ae451627
AB
102862018-01-21 Don Breazeal <donb@codesourcery.com>
10287 Andrew Burgess <andrew.burgess@embecosm.com>
10288
10289 * gdb.mi/basics.c: Add new global.
10290 * gdb.mi/mi-frame-regs.exp: New file.
10291 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10292 case.
10293
b1b189e0
AB
102942018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10295
10296 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10297 non-parameter, and on an unknown symbol.
10298
fcfcc376
TT
102992018-01-19 Tom Tromey <tom@tromey.com>
10300
10301 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10302 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10303
634c1c31
AA
103042018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10305
10306 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10307 setrlimit and chdir to int.
10308
d6ad07fd
AA
103092018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10310
10311 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10312 function.
10313 (my_tend): Likewise.
10314 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10315 rationale of avoiding FP- and vector instructions.
10316
adf8243b
RK
103172018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10318
10319 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10320 "info reg" with "\[ \t\]*".
10321 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10322 "\[ \t\]+".
10323 * gdb.arch/s390-multiarch.exp: Ditto.
10324 * gdb.base/pc-fp.exp: Ditto.
10325 * gdb.reverse/i386-precsave.exp: Ditto.
10326 * gdb.reverse/i386-reverse.exp: Ditto.
10327 * gdb.reverse/i387-env-reverse.exp: Ditto.
10328 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10329
dcc06925
AA
103302018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10331
10332 * lib/gdb.exp (gdb_compile): Re-enable use of
10333 universal_compile_options for languages other than Rust.
10334
25d4fd80
AA
103352018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10336
10337 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10338
ee7f689e 103392018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10340
10341 PR gdb/16577
10342 * gdb.base/solib-vanish.exp: New.
10343 * gdb.base/solib-vanish-main.c: New.
10344 * gdb.base/solib-vanish-lib1.c: New.
10345 * gdb.base/solib-vanish-lib2.c: New.
10346
d8447b6b
YQ
103472018-01-17 Yao Qi <yao.qi@linaro.org>
10348
10349 * gdb.compile/compile.exp: Match the address printed for
10350 frame in the output of command "bt".
10351
86d6a90c
TT
103522018-01-15 Tom Tromey <tom@tromey.com>
10353
10354 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10355 compute sp_reg.
10356
cbcdb1aa
AB
103572018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10358
10359 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10360 to prepare.
10361 (prepare): Return 0 on error, 1 on success.
10362
eea61984
PA
103632018-01-12 Pedro Alves <palves@redhat.com>
10364
10365 * gdb.base/continue-after-aborted-step-over.c: New.
10366 * gdb.base/continue-after-aborted-step-over.exp: New.
10367
6181e9c2
SM
103682018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10369
10370 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10371 options when not creating an executable.
10372
3cada740
PA
103732018-01-11 Pedro Alves <palves@redhat.com>
10374
10375 PR remote/22597
10376 * gdb.server/stop-reply-no-thread.c: New file.
10377 * gdb.server/stop-reply-no-thread.exp: New file.
10378
c63d3e8d
PA
103792018-01-10 Pedro Alves <palves@redhat.com>
10380
10381 PR gdb/22670
10382 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10383 functions too. Test setting breakpoints and printing C functions
10384 with no debug info too.
10385 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10386
d4c2a405
PA
103872018-01-10 Pedro Alves <palves@redhat.com>
10388
10389 PR gdb/22670
10390 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10391 a fail.
10392
8825213e
PA
103932018-01-10 Pedro Alves <palves@redhat.com>
10394
10395 PR gdb/22670
10396 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10397
605fd3c6
YQ
103982018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10399
10400 * gdb.server/unittest.exp: Match the output in non-development
10401 mode.
10402
1e5ded6c
YQ
104032018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10404
10405 * gdb.gdb/unittest.exp: Match output in non-development mode.
10406
30066b0b
JB
104072018-01-08 Joel Brobecker <brobecker@adacore.com>
10408
10409 * gdb.ada/access_tagged_param.exp: Relax expected output
10410 for value of "ObjL" in "continue" to pck.inspect breakpoint
10411 test.
10412
04bafb1e
XR
104132018-01-08 Joel Brobecker <brobecker@adacore.com>
10414
9f86398b
JB
10415 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10416 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10417
e379cee6
PA
104182018-01-05 Pedro Alves <palves@redhat.com>
10419
10420 PR gdb/18653
10421 * gdb.base/libsegfault.exp: New.
10422
de63c46b
PA
104232018-01-05 Joel Brobecker <brobecker@adacore.com>
10424
10425 PR gdb/22670
10426 * gdb.ada/access_tagged_param.exp: New file.
10427 * gdb.ada/access_tagged_param/foo.adb: New file.
10428
f98fc17b
PA
104292018-01-05 Pedro Alves <palves@redhat.com>
10430
10431 PR gdb/22670
10432 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10433 exercise lower case too, and to exercise both full matching and
10434 wild matching.
10435
342f8240
JB
104362018-01-05 Joel Brobecker <brobecker@adacore.com>
10437
10438 * gdb.ada/rename_subscript_param: New testcase.
10439
7150d33c
JG
104402018-01-05 Jerome Guitton <guitton@adacore.com>
10441
10442 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10443
cc0e770c
JB
104442018-01-05 Joel Brobecker <brobecker@adacore.com>
10445
10446 * gdb.ada/convvar_comp: New testcase.
10447
672a41aa 104482018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10449
10450 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10451 (My_Table): New global variable.
10452 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10453
7365ec2f
JB
104542018-01-04 Joel Brobecker <brobecker@adacore.com>
10455
10456 PR gdb/22670
10457 * gdb.ada/maint_with_ada: New testcase.
10458
289483b6
JB
104592018-01-04 Joel Brobecker <brobecker@adacore.com>
10460
10461 PR gdb/22670
10462 * gdb.ada/bp_c_mixed_case: New testcase.
10463
344420da
JB
104642018-01-04 Joel Brobecker <brobecker@adacore.com>
10465
10466 PR gdb/22670
10467 * gdb.ada/complete.exp: Add "complete break ada" test.
10468
66fc87a0
JB
104692018-01-04 Joel Brobecker <brobecker@adacore.com>
10470
10471 PR gdb/22670
10472 * gdb.ada/info_addr_mixed_case: New testcase.
10473
9f757bf7
XR
104742018-01-03 Xavier Roirand <roirand@adacore.com>
10475
10476 * gdb.ada/excep_handle.exp: New testcase.
10477 * gdb.ada/excep_handle/foo.adb: New file.
10478 * gdb.ada/excep_handle/pck.ads: New file.
10479
bd570f80
JB
104802018-01-03 Joel Brobecker <brobecker@adacore.com>
10481
10482 * gdb.base/step-line.c: Add extra empty line in copyright header.
10483 * gdb.base/step-line.inp: Likewise.
10484
9fe561ab
JB
104852018-01-02 Joel Brobecker <brobecker@adacore.com>
10486
10487 * gdb.ada/dyn_stride.exp: Add slice test.
10488
a405673c
JB
104892018-01-02 Joel Brobecker <brobecker@adacore.com>
10490
10491 * gdb.ada/dyn_stride: New testcase.
10492
cef0f868
SH
104932017-12-27 Stafford Horne <shorne@gmail.com>
10494
10495 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10496 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10497
b67d92b0
SH
104982017-12-27 Stafford Horne <shorne@gmail.com>
10499
10500 * gdb.base/reggroups.c: New file.
10501 * gdb.base/reggroups.exp: New file.
10502
eccab96d
JB
105032017-12-18 Joel Brobecker <brobecker@adacore.com>
10504
10505 * gdb.dwarf2/ada-valprint-error.c: New file.
10506 * gdb.dwarf2/ada-valprint-error.exp: New file.
10507
0e2da9f0
JB
105082017-12-18 Joel Brobecker <brobecker@adacore.com>
10509
10510 * gdb.ada/assign_arr: New testcase.
10511
cb923fcc
XR
105122017-12-18 Xavier Roirand <roirand@adacore.com>
10513
10514 * gdb.ada/funcall_ptr: New testcase.
10515
7c161838
SDJ
105162017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10517
10518 PR cli/16224
10519 * gdb.base/ptype-offsets.cc: New file.
10520 * gdb.base/ptype-offsets.exp: New file.
10521
1af17fd9
YQ
105222017-12-15 Yao Qi <yao.qi@linaro.org>
10523
10524 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10525 if XML is disabled.
10526
828d5846
XR
105272017-12-15 Xavier Roirand <roirand@adacore.com>
10528
10529 * gdb.ada/same_component_name: New testcase.
10530
79e8fcaa
JB
105312017-12-14 Joel Brobecker <brobecker@adacore.com>
10532
10533 * gdb.ada/str_binop_equal: New testcase.
10534
e05fa6f9
JB
105352017-12-14 Joel Brobecker <brobecker@adacore.com>
10536
10537 * gdb.ada/task_switch_in_core: New testcase.
10538
b89641ba
SM
105392017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10540
10541 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10542 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10543 call test_bkpt_qualified.
10544 (test_bkpt_qualified): New proc.
10545
6892d2e4
PA
105462017-12-13 Pedro Alves <palves@redhat.com>
10547
10548 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10549 Tighten regexp by matching with an anchor.
10550
a22ecf70
PA
105512017-12-13 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10554 ("expression with namespace"): New set of tests.
10555 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10556 (Nested::Test_NS::qux): New.
10557 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10558 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10559
9937536c
JB
105602017-12-13 Joel Brobecker <brobecker@adacore.com>
10561
10562 * gdb.base/server-del-break.c: New file.
10563 * gdb.base/server-del-break.exp: New file.
10564
fe49c6f5
SH
105652017-12-12 Stafford Horne <shorne@gmail.com>
10566
10567 * gdb.xml/tdesc-regs.exp: Add or1k support.
10568
c3d18620
SH
105692017-12-12 Stafford Horne <shorne@gmail.com>
10570
10571 * gdb.base/bp-permanent.c: Define nop of or1k.
10572
c5f9cfc8
JB
105732017-12-11 Joel Brobecker <brobecker@adacore.com>
10574
10575 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10576 output with components being reordered.
10577
a9c135fc
JB
105782017-12-11 Joel Brobecker <brobecker@adacore.com>
10579
10580 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10581 output with components being reordered.
10582
927aa2e7
JK
105832017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10584 Pedro Alves <palves@redhat.com>
10585
10586 * gdb.base/maint.exp (check for .gdb_index): Check also for
10587 .debug_names.
10588 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10589 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10590 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10591 (.gdb_index used after symbol reloading): Support also .debug_names.
10592 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10593
f17d9474
YQ
105942017-12-08 Yao Qi <yao.qi@linaro.org>
10595
10596 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10597 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10598
a0de8c21
YQ
105992017-12-08 Yao Qi <yao.qi@linaro.org>
10600
10601 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10602 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10603
a738ea1d
YQ
106042017-12-08 Yao Qi <yao.qi@linaro.org>
10605
10606 * gdb.arch/aarch64-tagged-pointer.c: New file.
10607 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10608
1cd9a73b
SDJ
106092017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10610
10611 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10612 "int".
10613
fa6eb693
KS
106142017-12-07 Keith Seitz <keiths@redhat.com>
10615
10616 PR breakpoints/22569
10617 * gdb.linespec/ls-errs.exp: Change expected result of "break
10618 -source this file has spaces.c -line 3".
10619 Check that an explicit source file followed by whitespace is
10620 identified as an invalid explicit location.
10621
883fd55a
KS
106222017-12-07 Keith Seitz <keiths@redhat.com>
10623
10624 * gdb.cp/nested-types.cc: New file.
10625 * gdb.cp/nested-types.exp: New file.
10626 * lib/cp-support.exp: Load data-structures.exp library.
10627 (debug_cp_test_ptype_class): New global.
10628 (cp_ptype_class_verbose, next_line): New procedures.
10629 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10630 Add and document new return value.
10631 Switch the list of lines to a queue.
10632 Add support for new `type' key for nested type definitions.
10633 Add debugging/troubleshooting messages.
10634 * lib/data-structures.exp: New file.
10635
ec72db3e
SM
106362017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10637
10638 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10639 with proc_with_prefix, don't use with_test_prefix.
10640
99598d71
TT
106412017-12-07 Tom Tromey <tom@tromey.com>
10642
10643 * gdb.base/break.exp: Add test for empty "commands".
10644
a8806230
YQ
106452017-12-07 Yao Qi <yao.qi@linaro.org>
10646
10647 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10648 malloc and catch syscall.
10649
824cc835
PM
106502017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10651
e79be6e5 10652 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10653 tests for explicit locations.
10654
7cc244de
PA
106552017-12-06 Pedro Alves <palves@redhat.com>
10656
10657 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10658 force-disabling XML descriptions.
10659
50a1fdd5
PA
106602017-12-04 Pedro Alves <palves@redhat.com>
10661
10662 PR gdb/22499
10663 * gdb.arch/amd64-disp-step-avx.S: New file.
10664 * gdb.arch/amd64-disp-step-avx.exp: New file.
10665
f0fb2488
PA
106662017-12-03 Pedro Alves <palves@redhat.com>
10667
10668 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10669 and <string.h>.
10670 (parent_function): Print distinct messages when waitpid fails, or
10671 the child exits with a signal, or the child exits for an unhandled
10672 reason.
10673 * gdb.threads/process-dies-while-detaching.exp
10674 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10675 it. Wait for both inferior output and GDB's prompt. Use an
10676 indirect spawn id list.
10677 (do_detach): New parameter 'child_exit'. Use it to compute
10678 expected inferior output.
10679 (test_detach, test_detach_watch, test_detach_killed_outside):
10680 Adjust to pass down the expected child exit kind.
10681
97cbe998
SDJ
106822017-12-01 Joel Brobecker <brobecker@adacore.com>
10683 Sergio Durigan Junior <sergiodj@redhat.com>
10684 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10687
40fc416f
SDJ
106882017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10689
10690 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10691 to 'symbol-file' and 'add-symbol-file' can be
10692 position-independent.
10693
1cc75e92
YQ
106942017-12-01 Yao Qi <yao.qi@linaro.org>
10695
10696 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10697 the URL in copyright header.
10698 * gdb.arch/aarch64-fp.exp: Likewise.
10699 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10700 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10701 * gdb.base/expand-psymtabs.exp: Likewise.
10702 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10703 * gdb.fortran/common-block.exp: Likewise.
10704 * gdb.fortran/common-block.f90: Likewise.
10705 * gdb.fortran/logical.exp: Likewise.
10706 * gdb.fortran/vla-datatypes.f90: Likewise.
10707 * gdb.fortran/vla-sub.f90: Likewise.
10708
875fb7a7
JB
107092017-11-30 Joel Brobecker <brobecker@adacore.com>
10710
10711 * gdb.ada/repeat_dyn: New testcase.
10712
6f14765f
UW
107132017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10714
10715 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10716 Update for changed thread numbering.
10717 * gdb.cell/bt.exp: Update for changed GDB output.
10718
f1af7b94
SM
107192017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10720
10721 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10722 setting isremote by hand.
10723 * boards/dwarf4-gdb-index.exp: Likewise.
10724 * boards/fission.exp: Likewise.
10725 * boards/stabs.exp: Likewise.
10726
e3919f3e
PA
107272017-11-30 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.linespec/cpls-ops.exp
10730 (check_explicit_skips_function_argument): Extract the underlying
10731 type of size_t instead of hardcoding it.
10732
bd69330d
PA
107332017-11-29 Pedro Alves <palves@redhat.com>
10734
10735 PR c++/19436
10736 * gdb.linespec/cpls-abi-tag.cc: New file.
10737 * gdb.linespec/cpls-abi-tag.exp: New file.
10738
a20714ff
PA
107392017-11-29 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.base/langs.exp: Use -qualified.
10742 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10743 it.
10744 * gdb.cp/namespace.exp: Use -qualified.
10745 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10746 (overload-3, template-overload, template-ret-type, const-overload)
10747 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10748 procedures.
10749 (test_driver): Call them.
10750 * gdb.cp/save-bp-qualified.cc: New.
10751 * gdb.cp/save-bp-qualified.exp: New.
10752 * gdb.linespec/explicit.exp: Test -qualified.
10753 * lib/completion-support.exp (completion::explicit_opts_list): Add
10754 "-qualified".
10755 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10756
f6f1d339
PM
107572017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10758
10759 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10760
02ca603a
TT
107612017-11-29 Tom Tromey <tom@tromey.com>
10762
10763 * gdb.base/relocate.exp: Update invalid argument test.
10764 Add new tests for invalid arguments.
10765
ed6c0bfb
TP
107662017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10767
10768 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10769 Return 0 as a long.
10770 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10771
f106e10e
TP
107722017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10773
10774 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10775 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10776 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10777 func ().
10778 * gdb.cp/shadow.cc (B.func): Return 0.
10779
10329bb2
JB
107802017-11-27 Joel Brobecker <brobecker@adacore.com>
10781
10782 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10783 expected output in gdb_expect call to allow the exception
10784 message to be present as well. Fix syntax confusion to avoid
10785 TCL thinking that exception_name is an array.
10786
617cd4bc
UW
107872017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10788
10789 * gdb.arch/spu-info.c: Include <unistd.h>.
10790 (do_signal_test): Fix broken calls to write.
10791 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10792 Fix checks for empty mailboxes. Update signal tests for corrected
10793 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10794 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10795 * gdb.cell/arch.exp: Use standard_output_file.
10796 * gdb.cell/break.exp: Likewise.
10797 * gdb.cell/bt.exp: Likewise.
10798 * gdb.cell/core.exp: Likewise.
10799 * gdb.cell/dwarfaddr.exp: Likewise.
10800 * gdb.cell/ea-cache.exp: Likewise.
10801 * gdb.cell/ea-standalone.exp: Likewise.
10802 * gdb.cell/f-regs.exp: Likewise.
10803 * gdb.cell/fork.exp: Likewise.
10804 * gdb.cell/gcore.exp: Likewise.
10805 * gdb.cell/mem-access.exp: Likewise.
10806 * gdb.cell/ptype.exp: Likewise.
10807 * gdb.cell/registers.exp: Likewise.
10808 * gdb.cell/sizeof.exp: Likewise.
10809 * gdb.cell/solib-symbol.exp: Likewise.
10810 * gdb.cell/solib.exp: Likewise.
617cd4bc 10811
a81aaca0
PA
108122017-11-25 Pedro Alves <palves@redhat.com>
10813
10814 * gdb.base/complete-empty.exp: New file.
10815 * gdb.base/completion.exp: Adjust.
10816
6a3c6ee4
PA
108172017-11-25 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.linespec/cpls-ops.cc: New file.
10820 * gdb.linespec/cpls-ops.exp: New file.
10821 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10822 factored out from ...
10823 (test_complete_prefix_range): ... this.
10824
8955eb2d
PA
108252017-11-24 Pedro Alves <palves@redhat.com>
10826
10827 * gdb.linespec/cpcompletion.exp: New file.
10828 * gdb.linespec/cpls-hyphen.cc: New file.
10829 * gdb.linespec/cpls.cc: New file.
10830 * gdb.linespec/cpls2.cc: New file.
10831 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10832 test to use test_gdb_complete_unique. Add label completion,
10833 keyword completion and explicit location completion tests.
10834 * lib/completion-support.exp: New file.
10835
e547c119
JB
108362017-11-24 Joel Brobecker <brobecker@adacore.com>
10837
10838 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10839 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10840 when hitting an exception catchpoint.
10841
7c3c1aa8
YQ
108422017-11-22 Yao Qi <yao.qi@linaro.org>
10843
10844 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10845
41bd68f5
SM
108462017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10847
10848 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10849 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10850 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10851
1daad298
YQ
108522017-11-22 Yao Qi <yao.qi@linaro.org>
10853
10854 * gdb.base/info-os.exp: Pass pthreads.
10855 * gdb.multi/multi-attach.exp: Likewise.
10856
88465e87
YQ
108572017-11-22 Yao Qi <yao.qi@linaro.org>
10858
10859 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10860 compiler.
10861
dc196b23
YQ
108622017-11-22 Yao Qi <yao.qi@linaro.org>
10863
10864 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10865 * gdb.base/break-interp.exp: Likewise.
10866 * gdb.base/jit-attach-pie.exp: Likewise.
10867
2400729e
UW
108682017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10869
10870 * gdb.base/float128.c (large128): New variable.
10871 * gdb.base/float128.exp: Add test to print largest __float128 value.
10872
7a26362d
UW
108732017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10874
10875 * gdb.arch/vsx-regs.exp: Update register content checks.
10876
ed0f4273
UW
108772017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10878
10879 * gdb.arch/ppc-longdouble.exp: New file.
10880 * gdb.arch/ppc-longdouble.c: Likewise.
10881
a25d69c6
PA
108822017-11-21 Pedro Alves <palves@redhat.com>
10883
10884 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10885
73fcf641
PA
108862017-11-20 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10889 (long_double_typedef): New typedefs.
10890 Use DEF on double and long double.
10891 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10892 cases.
10893 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10894 and 'long_double_ptr_same_size' locals. Use them to decide
10895 whether cast from array/function to float is valid/invalid.
10896
71a3c369
TT
108972017-11-17 Tom Tromey <tom@tromey.com>
10898
10899 * gdb.rust/traits.rs: New file.
10900 * gdb.rust/traits.exp: New file.
10901
ced9779b
JB
109022017-11-17 Joel Brobecker <brobecker@adacore.com>
10903
10904 * gdb.ada/minsyms: New testcase.
10905
a0922d80
PA
109062017-11-16 Pedro Alves <palves@redhat.com>
10907
10908 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10909 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10910
ea04e54c
PA
109112017-11-16 Pedro Alves <palves@redhat.com>
10912
10913 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10914 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10915
e849ea89
PA
109162017-11-16 Pedro Alves <palves@redhat.com>
10917
10918 * gdb.server/reconnect-ctrl-c.c: New file.
10919 * gdb.server/reconnect-ctrl-c.exp: New file.
10920
d8ae99a7
PM
109212017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10922
10923 * gdb.python/py-rbreak.exp: New file.
10924 * gdb.python/py-rbreak.c: New file.
10925 * gdb.python/py-rbreak-func2.c: New file.
10926
968a13f8
PA
109272017-11-16 Pedro Alves <palves@redhat.com>
10928
10929 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10930 pattern.
10931 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10932 GDB.
10933
71774bc9
SM
109342017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10935
10936 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10937 regex.
10938
ddbb44cf
SM
109392017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10940
10941 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10942 test names.
10943
584a564f
PA
109442017-11-09 Pedro Alves <palves@redhat.com>
10945
10946 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10947 factored out from ...
10948 (top level): ... here, and adjusted to avoid expecting beyond the
10949 prompt in a single gdb_test_multiple.
10950
5ed7a928
PA
109512017-11-09 Pedro Alves <palves@redhat.com>
10952
10953 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10954 output.
10955 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10956 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10957 * gdb.server/ext-run.exp ("kill" test): Likewise.
10958 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10959
a60e0738
PA
109602017-11-09 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10963 match till end of line.
10964
2c88253f
PA
109652017-11-09 Pedro Alves <palves@redhat.com>
10966
10967 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10968
c7a38517
PA
109692017-11-09 Pedro Alves <palves@redhat.com>
10970
10971 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10972 New procedures, factored out from ...
10973 (top level): ... here, and adjusted to avoid expecting beyond the
10974 prompt in one go.
10975
f29f4b6b
PA
109762017-11-09 Pedro Alves <palves@redhat.com>
10977
10978 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10979 output. Fix '?' match.
10980
286acbb5
JB
109812017-11-08 Joel Brobecker <brobecker@adacore.com>
10982
10983 * gdb.ada/scoped_watch: New testcase.
10984 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10985 which is actually correct.
10986 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10987 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10988
62d7ae92
PA
109892017-11-08 Pedro Alves <palves@redhat.com>
10990
10991 * gdb.gdb/complaints.exp (test_initial_complaints)
10992 (test_serial_complaints, test_short_complaints): Call
10993 complaint_internal instead of complaint.
10994
280ca31f
DT
109952017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10996
10997 * gdb.threads/tls-core.c: New file.
10998 * gdb.threads/tls-core.exp: Likewise.
10999
b5ec771e
PA
110002017-11-08 Pedro Alves <palves@redhat.com>
11001
11002 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11003 (p Exported_Capitalized): New test.
11004 (p exported_capitalized): New test.
11005
a02b41a7
PA
110062017-11-07 Pedro Alves <palves@redhat.com>
11007
11008 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11009
95e95a6d
PA
110102017-11-07 Pedro Alves <palves@redhat.com>
11011
11012 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11013 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11014 (disable_invalid, disable_inverted, disable_negative): New
11015 procedures.
11016 ("bad numbers"): New set of tests.
11017
cee62dbd
PA
110182017-11-07 Pedro Alves <palves@redhat.com>
11019
11020 * gdb.cp/ena-dis-br-range.exp: Add tests.
11021
cc638e86
PA
110222017-11-07 Pedro Alves <palves@redhat.com>
11023
11024 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11025
d0fe4701
XR
110262017-11-07 Xavier Roirand <roirand@adacore.com>
11027 Pedro Alves <palves@redhat.com>
11028
11029 * gdb.base/ena-dis-br.exp: Add reference to
11030 gdb.cp/ena-dis-br-range.exp.
11031 * gdb.cp/ena-dis-br-range.exp: New file.
11032 * gdb.cp/ena-dis-br-range.cc: New file.
11033
46f67f80
PA
110342017-11-06 Pedro Alves <palves@redhat.com>
11035
11036 * gdb.base/attach-non-pgrp-leader.c: New.
11037 * gdb.base/attach-non-pgrp-leader.exp: New.
11038
726e1356
PA
110392017-11-06 Pedro Alves <palves@redhat.com>
11040
11041 * configure.ac: No longer check for termio.h and sgtty.h.
11042 * configure: Regenerate.
11043 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11044 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11045 Remove termio and sgtty code.
11046
50ab6ace
YQ
110472017-11-03 Yao Qi <yao.qi@linaro.org>
11048
11049 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11050 in GDB is disabled.
11051
8e68731c
YQ
110522017-11-03 Yao Qi <yao.qi@linaro.org>
11053
11054 * gdb.python/py-thrhandle.exp: Skip it if python is not
11055 enabled.
11056
3a87ae65
SM
110572017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11058
11059 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11060 as a breakpoint command.
11061
484d8d36
MD
110622017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11063
11064 PR python/21213
11065 * gdb.python/py-infthread.exp: Test calling
11066 InferiorThread.inferior () multiple times in a row.
11067
4a27f119
KS
110682017-10-27 Keith Seitz <keiths@redhat.com>
11069
11070 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11071 Test "info break" for every inlined function breakpoint.
11072
bb11dd58
YQ
110732017-10-27 Yao Qi <yao.qi@linaro.org>
11074
11075 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11076
a43f3893
PF
110772017-10-26 Patrick Frants <osscontribute@gmail.com>
11078
11079 * gdb.cp/classes.exp (test_static_members): Test printing
11080 Outer::instance.
11081 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11082 (Inner::instance, Outer::instance): New.
11083
792ccf00
PA
110842017-10-24 Pedro Alves <palves@redhat.com>
11085
11086 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11087 extra console" test in two stages.
11088
eb2bfbad
PA
110892017-10-24 Pedro Alves <palves@redhat.com>
11090
11091 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11092
1f75a651
PA
110932017-10-24 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11096 loop.
11097
779990d9
PA
110982017-10-24 Pedro Alves <palves@redhat.com>
11099
11100 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11101 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11102
ad9b8f5d
PA
111032017-10-24 Pedro Alves <palves@redhat.com>
11104
11105 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11106 parameter and handle it. Don't output read value in test name.
11107
fee6da6e
PA
111082017-10-24 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11111 custom test name.
11112
10389c2c
PA
111132017-10-24 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11116 include the unstable output directory name in the test's name.
11117 (initial_setup_simple) <'set args'>: Use custom test name.
11118
a80e65a9
PA
111192017-10-24 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11122 with explicit test name.
11123
15763a09
PA
111242017-10-20 Pedro Alves <palves@redhat.com>
11125
11126 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11127 'wait -i'. Use gdb_assert and remote_close.
11128
49a4ce2e
AB
111292017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11130
11131 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11132 number from variable rather than hard-coded.
11133
a75868f5
PA
111342017-10-19 Pedro Alves <palves@redhat.com>
11135
11136 * gdb.base/long-inferior-output.c: New file.
11137 * gdb.base/long-inferior-output.exp: New file.
11138
c8ba13ad
KS
111392017-11-18 Keith Seitz <keiths@redhat.com>
11140
11141 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11142 method.
11143 (main): Call it.
11144 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11145 Add additional user-defined conversion operator tests.
11146
b27de576
PA
111472017-10-17 Pedro Alves <palves@redhat.com>
11148
11149 * boards/native-stdio-gdbserver.exp: Load "local-board".
11150
8484c955
PA
111512017-10-17 Pedro Alves <palves@redhat.com>
11152
11153 * gdb.base/quit-live.c: New file.
11154 * gdb.base/quit-live.exp: New file.
11155
83d5a34d
KS
111562017-10-16 Keith Seitz <keiths@redhat.com>
11157
11158 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11159 (class_with_protected_typedef, class_with_private_typedef)
11160 (struct_with_public_typedef, struct_with_protected_typedef)
11161 (struct_with_private_typedef): New classes/structs.
11162 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11163 typedefs and access specifiers.
11164
739b3f1d
PA
111652017-10-16 Pedro Alves <palves@redhat.com>
11166 Simon Marchi <simon.marchi@polymtl.ca>
11167
11168 * README (Local vs Remote vs Native): New section.
11169 * boards/local-board.exp: New file, with bits factored out from
11170 ...
11171 * boards/native-extended-gdbserver.exp: ... here. Load
11172 "local-board".
11173 * boards/native-gdbserver.exp: Load "local-board".
11174 (${board}_spawn, ${board}_exec): Delete.
11175 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11176 ...
11177 * boards/stdio-gdbserver-base.exp: ... this new file.
11178 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11179 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11180 procedure.
11181 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11182 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11183 stdio_gdbserver_command.
11184 (${board}_get_remote_address, ${board}_get_comm_port)
11185 (${board}_download, ${board}_upload): Delete.
11186 (get_target_remote_pipe_cmd): New.
11187
fe68b953
SM
111882017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11189
11190 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11191 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11192 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11193 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11194 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11195 remove with_test_prefix.
11196
300b6685
PA
111972017-10-13 Pedro Alves <palves@redhat.com>
11198
11199 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11200 * gdb.base/annota1.exp: Use it instead of is_remote.
11201 * gdb.base/annota3.exp: Use it instead of is_remote.
11202 * gdb.cp/annota2.exp: Use it instead of is_remote.
11203 * gdb.cp/annota3.exp: Use it instead of is_remote.
11204 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11205
50500caf
PA
112062017-10-13 Pedro Alves <palves@redhat.com>
11207
11208 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11209 (test_num_test_vars, run_and_count_vars, find_env)
11210 (test_set_unset_env, test_inherit_env_var): New procedures.
11211 (top level): Use them.
11212
dad0c6d2
PA
112132017-10-13 Pedro Alves <palves@redhat.com>
11214
11215 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11216 also skip on stub-like targets.
11217
8b0553c1
PA
112182017-10-13 Pedro Alves <palves@redhat.com>
11219
11220 PR gdb/22293
11221 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11222 (top level): Move some tests to ...
11223 (test_not_found): ... this new procedure.
11224 (top level): Call it.
11225
7594f623
PA
112262017-10-13 Pedro Alves <palves@redhat.com>
11227
11228 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11229 expect different "info terminal" output if testing with a
11230 non-native target.
11231
ebe3b402
PA
112322017-10-13 Pedro Alves <palves@redhat.com>
11233 Simon Marchi <simon.marchi@polymtl.ca>
11234
11235 PR python/12966
11236 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11237
42f1b161
PA
112382017-10-13 Pedro Alves <palves@redhat.com>
11239
11240 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11241 already.
11242
8d6ef72b
PA
112432017-10-13 Pedro Alves <palves@redhat.com>
11244
11245 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11246 is_remote.
11247
d7bcd5b8
PA
112482017-10-13 Pedro Alves <palves@redhat.com>
11249
11250 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11251 is_remote.
11252
df479dc6
PA
112532017-10-13 Pedro Alves <palves@redhat.com>
11254
11255 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11256 is set.
11257 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11258 instead of is_remote.
11259
23fb630a
PA
112602017-10-13 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11263 (top level): Add comment.
11264
cc77b1dc
PA
112652017-10-13 Pedro Alves <palves@redhat.com>
11266
11267 * gdb.base/remote.exp (top level): Fix comment typo and add
11268 missing return.
11269
27c9e813
PA
112702017-10-13 Pedro Alves <palves@redhat.com>
11271 Simon Marchi <simon.marchi@polymtl.ca>
11272
11273 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11274 calls and add comments. Skip test if use_gdb_stub is set.
11275 (top level): Use "set cwd" command instead of "cd" command.
11276
5e830d98
PA
112772017-10-13 Pedro Alves <palves@redhat.com>
11278
11279 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11280 is_remote target check.
11281
f5ca0032
PA
112822017-10-13 Pedro Alves <palves@redhat.com>
11283
11284 * gdb.base/scope.exp: Use build_executable + clean_restart +
11285 gdb_file_cmd instead of prepare_for_testing and no longer skip
11286 "before run" tests on is_remote target boards. Update comments.
11287 * boards/native-extended-gdbserver.exp
11288 (extended_gdbserver_load_last_file): New, factored out from ...
11289 (gdb_load): ... this. Move further below and add comment.
11290 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11291
8aed1c0d
PA
112922017-10-12 Pedro Alves <palves@redhat.com>
11293
11294 * gdb.base/attach.exp: Remove references to gdb64.
11295 * gdb.base/dbx.exp: Remove references to gdb64.
11296
cfa34c87
SM
112972017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11298 Pedro Alves <palves@redhat.com>
11299
11300 * gdb.base/label.exp: Remove is_remote target check.
11301
9192b7de
PA
113022017-10-12 Pedro Alves <palves@redhat.com>
11303
11304 * gdb.base/auvx.exp (coredir): Update comment.
11305 (top level) <core_works>: Use "set cwd" command instead of "cd"
11306 command.
11307
6bf0052d
PA
113082017-10-12 Pedro Alves <palves@redhat.com>
11309 Simon Marchi <simon.marchi@polymtl.ca>
11310
11311 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11312 target boards.
11313
e48ef82d
PA
113142017-10-12 Pedro Alves <palves@redhat.com>
11315 Simon Marchi <simon.marchi@polymtl.ca>
11316
11317 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11318 Instead skip if there's any gdb_protocol set.
11319
8d7aea57
SM
113202017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11321 Pedro Alves <palves@redhat.com>
11322
11323 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11324
30440677
PA
113252017-10-12 Pedro Alves <palves@redhat.com>
11326 Simon Marchi <simon.marchi@polymtl.ca>
11327
11328 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11329 instead of on dejagnu remote boards.
11330
4e04f045 113312017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11332 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11333
11334 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11335 checks. Use build_executable + clean_restart instead of
11336 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11337 of enabling non-stop after starting gdb.
11338
871a186e
PA
113392017-10-12 Pedro Alves <palves@redhat.com>
11340
11341 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11342 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11343 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11344 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11345
56d704da
AK
113462017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11347
11348 * gdb.arch/arc-tdesc-cpu.exp: New file.
11349 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11350
2f20e312
SM
113512017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11352
11353 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11354
65630365
PA
113552017-10-10 Pedro Alves <palves@redhat.com>
11356
11357 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11358 expect CLI output.
11359
bf469271
PA
113602017-10-10 Pedro Alves <palves@redhat.com>
11361
11362 * lib/selftest-support.exp (selftest_setup): Update for
11363 captured_command_loop's prototype change.
11364
777a42f1
PA
113652017-10-09 Pedro Alves <palves@redhat.com>
11366
11367 Test both arch1=>arch2 and arch2=>arch1.
11368
11369 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11370 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11371 factored out to...
11372 (append_arch1_options, append_arch2_options, append_arch_options)
11373 (build_executables): New procedures.
11374 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11375 local.
11376 (top level): Add new 'first_arch' testing axis.
11377
cbd2b4e3
PA
113782017-10-09 Pedro Alves <palves@redhat.com>
11379
11380 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11381 (barrier): New.
11382 (thread_start, all_started): New functions.
11383 (main): Spawn new thread and wait until it is scheduled.
11384 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11385 option.
11386 (do_test): Add 'selected_thread' parameter. Run to all_started
11387 instead of main. Explicitly set the breakpoint at main. Switch
11388 to the SELECTED_THREAD thread.
11389 (top level): Test handling the exec event with either the main
11390 thread or the second thread selected.
11391
5c9e4427
PA
113922017-10-09 Pedro Alves <palves@redhat.com>
11393
11394 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11395 logic. Move STOP marker after the value checks.
11396 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11397 regexp.
11398
b3b7c423
SL
113992017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11400
11401 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11402
3b4b2f16
UW
114032017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11404
11405 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11406 integer-to-dfp conversion.
11407 * gdb.base/dfp-test.exp: Likewise.
11408
5cd63fda
PA
114092017-10-04 Pedro Alves <palves@redhat.com>
11410
11411 * gdb.multi/hangout.c: Include <unistd.h>.
11412 (hangout_loop): New function.
11413 (main): Call alarm. Call hangout_loop in a loop.
11414 * gdb.multi/hello.c: Include <unistd.h>.
11415 (hello_loop): New function.
11416 (main): Call alarm. Call hangout_loop in a loop.
11417 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11418 inferior with the other selected.
11419
4c71c105
SM
114202017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11421
11422 * gdb.mi/list-thread-groups-available.exp: New file.
11423 * gdb.mi/list-thread-groups-available.c: New file.
11424
bc3b087d
SDJ
114252017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11426
11427 * gdb.base/set-cwd.exp: Make it available on
11428 native-extended-gdbserver.
11429
d092c5a2
SDJ
114302017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11431
11432 * gdb.base/set-cwd.c: New file.
11433 * gdb.base/set-cwd.exp: Likewise.
11434
45320ffa
TT
114352017-10-02 Tom Tromey <tom@tromey.com>
11436
11437 PR rust/22236:
11438 * gdb.rust/simple.rs (main): New variable "fslice".
11439 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11440
b3e3859b
TT
114412017-10-02 Tom Tromey <tom@tromey.com>
11442
11443 * gdb.rust/simple.exp: Test ptype of a slice.
11444
01af5e0d
TT
114452017-10-02 Tom Tromey <tom@tromey.com>
11446
11447 * gdb.rust/simple.exp: Test index of slice.
11448
a9bbfbd8
TT
114492017-09-27 Tom Tromey <tom@tromey.com>
11450
11451 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11452
df8899e5
TP
114532017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11454 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.base/compare-sections.exp (get value of read-only section): Read
11457 as unsigned value.
11458 (corrupt read-only section): Likewise and don't set written if patching
11459 failed.
11460
757bf54b
KB
114612017-09-21 Kevin Buettner <kevinb@redhat.com>
11462
11463 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11464 files.
11465
06871ae8
PA
114662017-09-20 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11469 symbol names in gdb's output.
11470 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11471
e5f25bc5
PA
114722017-09-20 Pedro Alves <palves@redhat.com>
11473
11474 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11475 Rename to ...
11476 (test_list_ambiguous_symbol): ... this and add a symbol name
11477 parameter. Adjust.
11478 (test_list_ambiguous_function): Reimplement on top of
11479 test_list_ambiguous_symbol and also test listing ambiguous
11480 variables.
11481 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11482 (ambiguous_fun): ... this.
11483 (ambiguous_var): New.
11484 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11485 (ambiguous_fun): ... this.
11486 (ambiguous_var): New.
11487
4e5a4f58
JB
114882017-09-19 John Baldwin <jhb@FreeBSD.org>
11489
11490 * gdb.base/starti.c: New file.
11491 * gdb.base/starti.exp: New file.
11492 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11493
26e53f3e
PA
114942017-09-14 Pedro Alves <palves@redhat.com>
11495
11496 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11497 (top level): Use it instead of runto.
11498
cb791d59
TT
114992017-09-11 Tom Tromey <tom@tromey.com>
11500
11501 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11502
7c96f8c1
TT
115032017-09-11 Tom Tromey <tom@tromey.com>
11504
11505 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11506 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11507
469412dd
CW
115082017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11509
11510 * gdb.fortran/printing-types.exp: New file.
11511 * gdb.fortran/printing-types.exp: New file.
11512
e0f86435
BH
115132017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11514
11515 * gdb.fortran/vla-ptype.exp: Fix typos.
11516 * gdb.fortran/vla-value.exp: Same.
11517
9e9af4be
BH
115182017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11519
11520 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11521 * gdb.mi/mi-var-child-f.exp: Likewise.
11522 * gdb.mi/mi-vla-fortran.exp: Likewise.
11523
a5ad232b 115242017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11525 Christoph Weinmann <christoph.t.weinmann@intel.com>
11526 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11527
11528 * gdb.fortran/ptr-indentation.f90: New file.
11529 * gdb.fortran/ptr-indentation.exp: New file.
11530
5aec60eb
TT
115312017-09-05 Tom Tromey <tom@tromey.com>
11532
11533 PR gdb/22010:
11534 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11535
8f8f8152
TP
115362017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11537
11538 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11539
fbd1b771
JK
115402017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11541
11542 * gdb.threads/tls-nodebug-pie.c: New file.
11543 * gdb.threads/tls-nodebug-pie.exp: New file.
11544
5eb5f850
TT
115452017-09-05 Tom Tromey <tom@tromey.com>
11546
11547 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11548 for rust.
11549
ae780a21
SM
115502017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11551
11552 * gdb.multi/multi-arch-exec.exp: Test with different
11553 "follow-exec-mode" settings.
11554 (do_test): New procedure.
11555
3693fdb3
PA
115562017-09-04 Pedro Alves <palves@redhat.com>
11557
11558 * gdb.base/func-static.c (S::method const, S::method volatile)
11559 (S::method volatile const): New methods.
11560 (c_s, v_s, cv_s): New instances.
11561 (main): Call method() on them.
11562 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11563 (cannot_resolve): New procedure.
11564 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11565 print-quote-unquoted columns.
11566 (do_test): Test printing each scope too.
11567
e68cb8e0
PA
115682017-09-04 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.base/local-static.exp: Also test with
11571 class::method::variable wholly quoted.
11572 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11573
858be34c
PA
115742017-09-04 Pedro Alves <palves@redhat.com>
11575
11576 * gdb.base/local-static.c: New.
11577 * gdb.base/local-static.cc: New.
11578 * gdb.base/local-static.exp: New.
11579
46a4882b
PA
115802017-09-04 Pedro Alves <palves@redhat.com>
11581
11582 * gdb.asm/asm-source.exp: Add casts to int.
11583 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11584 (dataglobal64_1, dataglobal64_2): New globals.
11585 * gdb.base/nodebug.exp: Test different expressions involving the
11586 new globals, with print, whatis and ptype. Add casts to int.
11587 * gdb.base/solib-display.exp: Add casts to int.
11588 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11589 * gdb.cp/m-static.exp: Add cast to int.
11590 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11591 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11592 tls variable with no debug info without a cast. Test with a cast
11593 to int too.
11594 * gdb.trace/entry-values.exp: Add casts.
11595
2c5a2be1
PA
115962017-09-04 Pedro Alves <palves@redhat.com>
11597
11598 * gdb.base/nodebug.exp: Test that ptype's error about functions
11599 with unknown return type includes the function name too.
11600
7022349d
PA
116012017-09-04 Pedro Alves <palves@redhat.com>
11602
11603 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11604 return type of munmap in infcall.
11605 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11606 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11607 type of ftell in infcall.
11608 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11609 type of getpid in infcall.
11610 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11611 infcall.
11612 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11613 Bail on failure to extract the pid.
11614 * gdb.base/nodebug.c: #include <stdint.h>.
11615 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11616 New functions.
11617 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11618 Change expected output of print/whatis/ptype with functions with
11619 no debug info. Test all supported languages. Call
11620 test_call_promotion.
11621 * gdb.compile/compile.exp: Adjust expected output to expect
11622 warning.
11623 * gdb.threads/siginfo-threads.exp: Likewise.
11624
54990598
PA
116252017-09-04 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11628 "prototypes". Test calling float functions via prototyped and
11629 unprototyped function pointers.
11630 (perform_all_tests): New parameter "prototypes". Pass it down.
11631 (top level): Pass down "prototypes" parameter to
11632 perform_all_tests.
11633
34d16ea2
SM
116342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11635
11636 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11637 Test with nested loops.
11638
9521ecda
SM
116392017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11640
11641 * gdb.base/commands.exp: Call the new procedures.
11642 (loop_break_test, loop_continue_test): New procedures.
11643
80a65e9b
SM
116442017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11645
11646 * gdb.base/commands.exp: Call new procedure.
11647 (define_if_without_arg_test): New procedure.
11648
e439fa14
PA
116492017-09-04 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.base/list-ambiguous.exp: New file.
11652 * gdb.base/list-ambiguous0.c: New file.
11653 * gdb.base/list-ambiguous1.c: New file.
11654 * gdb.base/list.exp (test_list_range): Adjust expected output.
11655
0a2dde4a
SDJ
116562017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11657
11658 * gdb.base/share-env-with-gdbserver.c: New file.
11659 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11660
5e89eb3a
SM
116612017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11662
11663 * gdb.base/commands.exp (gdbvar_simple_if_test,
11664 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11665 progvar_simple_if_test, progvar_simple_while_test,
11666 progvar_complex_if_while_test, user_defined_command_test,
11667 user_defined_command_args_eval,
11668 user_defined_command_args_stack_test,
11669 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11670 temporary_breakpoint_commands,
11671 gdb_test_no_prompt, redefine_hook_test,
11672 redefine_backtrace_test): Remove "global gdb_prompt".
11673
fd437cbc
SM
116742017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11675
11676 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11677 New proc, call it from toplevel.
11678
87215ad1
SDJ
116792017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11680
11681 PR remote/21852
11682 * gdb.server/normal.c: New file, copied from gdb.base.
11683 * gdb.server/run-without-local-binary.exp: New file.
11684
58afddc6
WP
116852017-08-07 Weimin Pan <weimin.pan@oracle.com>
11686
11687 * gdb.arch/sparc64-adi.exp: New file.
11688 * gdb.arch/sparc64-adi.c: New file.
11689
5277199a
PA
116902017-08-22 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11693 (top level): Add "list all overloads" tests.
11694
14278e1f
TT
116952017-08-22 Tom Tromey <tom@tromey.com>
11696
11697 * gdb.gdb/xfullpath.exp: Remove.
11698
bf223d3e
PA
116992017-08-21 Pedro Alves <palves@redhat.com>
11700
11701 PR gdb/19487
11702 * gdb.base/symbol-alias.c: New.
11703 * gdb.base/symbol-alias2.c: New.
11704 * gdb.base/symbol-alias.exp: New.
11705
c973d0aa
PA
117062017-08-21 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.base/dfp-test.c
11709 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11710 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11711 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11712 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11713 * gdb.base/whatis-ptype-typedefs.c: New.
11714 * gdb.base/whatis-ptype-typedefs.exp: New.
11715 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11716 (an_int, an_int_type, an_int_type2): New globals.
11717 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11718 involving typedefs and cast expressions.
11719 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11720 (lookup_typedefs_function): New.
11721 (typedefs_pretty_printers_dict): New.
11722 (top level): Register lookup_typedefs_function in
11723 gdb.pretty_printers.
11724
6d580b63
YQ
117252017-08-18 Yao Qi <yao.qi@linaro.org>
11726
11727 * gdb.server/unittest.exp: New.
11728
206726fb
SDJ
117292017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11730
11731 PR gdb/21954
11732 * gdb.base/environ.exp: Add test to check if 'unset environment'
11733 works.
11734
bf0ec4c2
AA
117352017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11736
11737 * lib/gdb.exp (universal_compile_options): New caching proc.
11738 (gdb_compile): Suppress GCC's coloring of messages.
11739
d6382fff
TT
117402017-08-14 Tom Tromey <tom@tromey.com>
11741
11742 PR gdb/21675:
11743 * gdb.base/printcmds.exp (test_radices): New function.
11744 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11745 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11746 * lib/gdb.exp (get_integer_valueof): Use p/d.
11747
c2c2dd9f
SM
117482017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11749
11750 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11751 characters.
11752
fdffd6f4
TT
117532017-08-05 Tom Tromey <tom@tromey.com>
11754
11755 * gdb.rust/simple.exp: Allow String to appear in a different
11756 namespace.
11757
27d41eac
YQ
117582017-07-26 Yao Qi <yao.qi@linaro.org>
11759
11760 * gdb.gdb/unittest.exp: Invoke command
11761 "maintenance check xml-descriptions".
11762
031ed05d
AA
117632017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11764
11765 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11766 calling context.
11767 (hex128): Drop erroneous calculation of parameters.
11768
dcd27ddf
SM
117692017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11770
11771 * gdb.python/py-unwind.exp: Disable stack protection when
11772 building test file.
11773
47e77640
PA
117742017-07-20 Pedro Alves <palves@redhat.com>
11775
11776 * gdb.base/default.exp (set language): Adjust expected output.
11777
62d2a18a
PA
117782017-07-20 Pedro Alves <palves@redhat.com>
11779
11780 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11781 (test_minsym): ... this, and make static.
11782 (get_pck__foo__bar__minsym): Rename to ...
11783 (get_test_minsym): ... this.
11784 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11785 symbol names and comments.
11786 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11787 (get_test_minsym): ... this.
11788 (pck__foo__bar__minsym__2): Rename to ...
11789 (test_minsym): ... this.
11790 (main): Adjust.
11791
c45ec17c
PA
117922017-07-17 Pedro Alves <palves@redhat.com>
11793
11794 * gdb.base/completion.exp: Adjust expected output.
11795 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11796 the completer works.
11797
c6756f62
PA
117982017-07-17 Pedro Alves <palves@redhat.com>
11799
11800 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11801
5bd68487
AB
118022017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11803
11804 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11805
8880f2a9
TT
118062017-07-14 Tom Tromey <tom@tromey.com>
11807
11808 PR rust/21764:
11809 * gdb.rust/simple.exp: Add tests.
11810
65547233
TT
118112017-07-14 Tom Tromey <tom@tromey.com>
11812
11813 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11814
8f14146e
PA
118152017-07-14 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.linespec/base/one/thefile.cc (z1): New function.
11818 * gdb.linespec/base/two/thefile.cc (z2): New function.
11819 * gdb.linespec/linespec.exp: Add tests.
11820
b4365d02
AB
118212017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11822
11823 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11824 to mi_create_breakpoint.
11825
5d2cbaa5
AB
118262017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11827
11828 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11829 mi_create_breakpoint.
11830
11cb5716
IB
118312017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11832
11833 * gdb.dlang/demangle.exp: Update for demangling changes.
11834
03278692
TT
118352017-07-09 Tom Tromey <tom@tromey.com>
11836
11837 * gdb.dwarf2/shortpiece.exp: New file.
11838
33c5cd75
DB
118392017-07-06 David Blaikie <dblaikie@gmail.com>
11840
11841 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11842 built from fissiont-multi-cu{1,2}.c.
11843 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11844 except putting 'main' and 'func' in separate CUs in the same DWO file.
11845 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11846 test.
11847 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11848 test.
11849
8455d262
PA
118502017-07-06 Pedro Alves <palves@redhat.com>
11851
11852 * gdb.python/py-unwind.exp: Test flushregs.
11853
dc4bde35
SDJ
118542017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11855
11856 PR cli/21688
11857 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11858 tests for alias commands and trailing whitespace.
11859
51ed89aa
SDJ
118602017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11861
11862 PR cli/21688
11863 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11864 procedure. Call it.
11865
eb17d413
PA
118662017-06-29 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.base/printcmds.exp: Add tests.
11869
41664b45
DG
118702017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11871
11872 PR gdb/21337
11873 * gdb.base/reread-readsym.exp: New file.
11874 * gdb.base/reread-readsym.c: New file.
11875
75312ae3
KB
118762017-06-21 Kevin Buettner <kevinb@redhat.com>
11877
11878 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11879 subpattern.
11880
66953522
PB
118812017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11882
11883 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11884 extended mnemonic.
11885 * gdb.arch/powerpc-power9.s: Likewise.
11886
5524b525
AA
118872017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11888
11889 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11890 on 32-bit x86 targets. Exploit is_*_target macros where
11891 appropriate.
11892
03c8af18
AA
118932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11894
11895 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11896 register pieces.
11897
3bf31011
AA
118982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11899
11900 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11901 located in one or more DWARF pieces.
11902
805acca0
AA
119032017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11904
11905 * lib/gdb.exp (get_endianness): New proc.
11906 * gdb.arch/aarch64-fp.exp: Use it.
11907 * gdb.arch/altivec-regs.exp: Likewise.
11908 * gdb.arch/e500-regs.exp: Likewise.
11909 * gdb.arch/vsx-regs.exp: Likewise.
11910 * gdb.base/dump.exp: Likewise.
11911 * gdb.base/funcargs.exp: Likewise.
11912 * gdb.base/gnu_vector.exp: Likewise.
11913 * gdb.dwarf2/formdata16.exp: Likewise.
11914 * gdb.dwarf2/implptrpiece.exp: Likewise.
11915 * gdb.dwarf2/nonvar-access.exp: Likewise.
11916 * gdb.python/py-inferior.exp: Likewise.
11917 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11918
e9352324
AA
119192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11920
11921 PR gdb/21226
11922 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11923 stack value pieces are taken from the LSB end.
11924
d5d1163e
AA
119252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11926
11927 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11928 variable at nonzero offset.
11929
0567c986
AA
119302017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11931
11932 * gdb.dwarf2/var-access.c: New file.
11933 * gdb.dwarf2/var-access.exp: New test.
11934 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11935
973e9aab
TT
119362017-06-12 Tom Tromey <tom@tromey.com>
11937
11938 * gdb.dwarf2/formdata16.exp: Add tests.
11939
d9109c80
TT
119402017-06-12 Tom Tromey <tom@tromey.com>
11941
11942 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11943
30a25466
TT
119442017-06-12 Tom Tromey <tom@tromey.com>
11945
11946 PR exp/16225:
11947 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11948 * gdb.arch/vsx-regs.exp: Update tests.
11949 * gdb.arch/s390-vregs.exp (hex128): New proc.
11950 Update test.
11951 * gdb.arch/altivec-regs.exp: Update tests.
11952
aefd8b33
SDJ
119532017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11954
11955 * gdb.base/startup-with-shell.c: New file.
11956 * gdb.base/startup-with-shell.exp: Likewise.
11957
2090129c
SDJ
119582017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11959
11960 * gdb.server/non-existing-program.exp: Update regex in order to
11961 reflect the fact that gdbserver is now using fork_inferior (with a
11962 shell) to startup the inferior.
11963
8e86a419
SM
119642017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11965
11966 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11967 support function calls from GDB.
11968
e6cf65f2
TT
119692017-05-21 Tom Tromey <tom@tromey.com>
11970
11971 PR rust/21466:
11972 * gdb.rust/unsized.exp: New file.
11973 * gdb.rust/unsized.rs: New file.
11974
43cc5389
TT
119752017-05-19 Tom Tromey <tom@tromey.com>
11976
11977 PR rust/21484:
11978 * gdb.rust/watch.exp: New file.
11979 * gdb.rust/watch.rs: New file.
11980
ec8df234
TT
119812017-05-18 Tom Tromey <tom@tromey.com>
11982
11983 * gdb.rust/simple.exp: Allow Box to be qualified.
11984
3e3e7fae
TP
119852017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11986
11987 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11988
59cc050d
PA
119892017-05-18 Pedro Alves <palves@redhat.com>
11990
11991 * gdb.base/fileio.c (test_write, test_read, test_close)
11992 (test_fstat): Don't print 'ret' in the fail path.
11993
c8f6abd1
PA
119942017-05-18 Pedro Alves <palves@redhat.com>
11995
11996 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11997 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11998 (test_system, test_rename, test_unlink, test_time): Change
11999 prototypes.
12000 * gdb.base/fileio.exp (stop_msg): Adjust.
12001
d2a03b77
PA
120022017-05-18 Pedro Alves <palves@redhat.com>
12003
12004 * gdb.base/fileio.c (null_str): New global.
12005 (test_stat): Use it.
12006 * gdb.base/fileio.exp: Remove nowarnings.
12007
0d5c6999
YQ
120082017-05-17 Yao Qi <yao.qi@linaro.org>
12009
12010 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12011
21873064
YQ
120122017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12013
12014 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12015 argument command.
12016 (top-level): Invoke test_set_inferior_tty.
12017
d512d31c
PA
120182017-05-04 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12021 Add parens to print call for Python 3.
12022
90cef2ed
KS
120232017-05-03 Keith Seitz <keiths@redhat.com>
12024
12025 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12026 (main): Call it.
12027
14f819c8
TW
120282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12029
12030 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12031 to prev and next.
12032
913aeadd
TW
120332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12034
12035 * gdb.python/py-record-btrace.exp: Remove test for
12036 gdb.BtraceInstruction.error.
12037
a3be24ad
TW
120382017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12039
12040 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12041
ae20e79a
TW
120422017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12043
12044 * gdb.python/py-record-btrace-threads.c: New file.
12045 * gdb.python/py-record-btrace-threads.exp: New file.
12046
45ce1b47
SDJ
120472017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12048
12049 PR testsuite/8595
12050 * gdb.base/environ.exp: Make test available in all architectures.
12051 Move bits related to "info program" testing to
12052 gdb.base/info-program.exp. Rewrite tests to use the two new
12053 procedures mentione below.
12054 (test_set_show_env_var) New procedure.
12055 (test_set_show_env_var_equal): Likewise.
12056 * gdb.base/info-program.exp: New file.
12057
e15c3eb4
KS
120582017-04-27 Keith Seitz <keiths@redhat.com>
12059
12060 * gdb.cp/oranking.cc (test15): New function.
12061 (main): Call test15 and declare additional variables for testing.
12062 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12063 "p foo101('abc')" tests.
12064 Add tests for cv qualifier overloads.
12065 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12066 "lvalue reference overload" test.
12067 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12068 "print value of f1 on Child&& in f2" test.
12069
3a3fd0fd
PA
120702017-04-19 Pedro Alves <palves@redhat.com>
12071
12072 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12073 procedure.
12074 (top level): Call it.
12075 * lib/gdb.exp (gdb_define_cmd): New procedure.
12076
53375380
PA
120772017-04-12 Pedro Alves <palves@redhat.com>
12078
12079 PR gdb/21323
12080 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12081 (wchar): New global.
12082 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12083 (do_test_wide_char, wide_char_types_no_program, top level): Add
12084 wchar_t testing.
12085
53e710ac
PA
120862017-04-12 Pedro Alves <palves@redhat.com>
12087
12088 PR c++/21323
12089 * gdb.cp/wide_char_types.c: New file.
12090 * gdb.cp/wide_char_types.exp: New file.
12091
0ad9d8c7
SDJ
120922017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12093
12094 PR gdb/21352
12095 * gdb.trace/tsv.exp: Add test for "tsave -r".
12096
b1b45502
IB
120972017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12098
12099 * gdb.dlang/watch-loc.c: New file.
12100 * gdb.dlang/watch-loc.exp: New file.
12101
ec13808e
JK
121022017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12103
12104 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12105
fe5f7374
AK
121062017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12107
12108 * gdb.arch/arc-analyze-prologue.S: New file.
12109 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12110
eea78757
AK
121112017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12112
12113 * gdb.arch/arc-decode-insn.S: New file.
12114 * gdb.arch/arc-decode-insn.exp: Likewise.
12115
5badf10a
IR
121162017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12117
12118 PR tdep/20928
12119 * gdb.arch/sparc64-regs.exp: New file.
12120 * gdb.arch/sparc64-regs.S: Likewise.
12121
cee59b3f
TW
121222017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12123
12124 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12125 and memory view on Python 3.
12126
c0f55cc6
AV
121272017-03-20 Artemiy Volkov <artemiyv@acm.org>
12128 Keith Seitz <keiths@redhat.com>
12129
12130 PR gdb/14441
12131 * gdb.cp/demangle.exp: Add rvalue reference tests.
12132 * gdb.cp/rvalue-ref-casts.cc: New file.
12133 * gdb.cp/rvalue-ref-casts.exp: New file.
12134 * gdb.cp/rvalue-ref-overload.cc: New file.
12135 * gdb.cp/rvalue-ref-overload.exp: New file.
12136 * gdb.cp/rvalue-ref-params.cc: New file.
12137 * gdb.cp/rvalue-ref-params.exp: New file.
12138 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12139 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12140 * gdb.cp/rvalue-ref-types.cc: New file.
12141 * gdb.cp/rvalue-ref-types.exp: New file.
12142 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12143 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12144
51457a05
MAL
121452017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12146
12147 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12148 New procedure.
12149
5b291c04
MAL
121502017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12151
12152 * lib/mi-support.exp (mi_gdb_test): Add additional message
12153 for unexpected output.
12154
59a56148
AA
121552017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12156
12157 * gdb.base/examine-backward.c (Barrier): New character array
12158 constant, to ensure that TestStrings is preceded by a string
12159 terminator.
12160
7942e96e
AA
121612017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12162
12163 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12164 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12165 and implicit pointer into such a location.
12166
6ebac3fb
DE
121672017-03-16 Doug Evans <dje@google.com>
12168
12169 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12170
ec3b243d
TP
121712017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12172
12173 * gdb.cp/m-static.exp: Fix expectation for prototype of
12174 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12175
121762017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12177
12178 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12179 * gdb.guile/scm-lazy-string.c: New file.
12180 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12181 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12182 for pointer, array, typedef lazy strings.
12183
2cc36e25 121842017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12185
12186 PR python/17728, python/18439, python/18779
12187 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12188 * gdb.python/py-lazy-string.c (pointer): New typedef.
12189 (main): New locals ptr, array, typedef_ptr.
12190 * gdb.python/py-value.exp: Move lazy string tests to ...
12191 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12192 array, typedef lazy strings.
ec3b243d 12193
0efcde63
AK
121942017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12195
12196 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12197 Add optional 'test' parameter.
12198
7978d7c3
SM
121992017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12200
12201 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12202 Skip for versions of DejaGnu < 1.5.
12203
896c0c1e
SM
122042017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12205
12206 * lib/gdb.exp (dejagnu_version): New proc.
12207 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12208 Use dejagnu_version.
12209
5f4d1085
KS
122102017-03-10 Keith Seitz <keiths@redhat.com>
12211
12212 PR c++/8128
12213 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12214 type from destructor regexps.
12215 Add a branch which actually passes the test.
12216 Adjust "ptype t5i" test names.
12217
1de05205
PA
122182017-03-08 Pedro Alves <palves@redhat.com>
12219
12220 * gdb.base/step-over-exit.exp: Add explicit test message.
12221
c65d6b55
PA
122222017-03-08 Pedro Alves <palves@redhat.com>
12223
12224 PR gdb/18360
12225 * gdb.threads/interrupt-while-step-over.c: New file.
12226 * gdb.threads/interrupt-while-step-over.exp: New file.
12227
2e86a283
PA
122282017-03-08 Pedro Alves <palves@redhat.com>
12229
12230 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12231 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12232
25dcbff6
PA
122332017-03-08 Pedro Alves <palves@redhat.com>
12234
12235 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12236 PKRU as not supported as a PASS.
12237
dc9366eb
PA
122382017-03-08 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12241 prefix instead of $binfile1/$binfile2.
12242 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12243 in test message.
12244 * gdb.python/py-completion.exp: Use "load python file" as test
12245 messages instead of unstable path names.
12246
6e5d74e7
PA
122472017-03-08 Pedro Alves <palves@redhat.com>
12248 Jan Kratochvil <jan.kratochvil@redhat.com>
12249
12250 PR cli/21218
12251 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12252 New proc.
12253 (top level): Call it.
12254
9753a2f6
PA
122552017-03-08 Pedro Alves <palves@redhat.com>
12256
12257 PR tui/21216
12258 * gdb.tui/tui-nl-filtered-output.exp: New file.
12259
1a4dd9dd
PA
122602017-03-08 Pedro Alves <palves@redhat.com>
12261
12262 * gdb.base/completion.exp: Move TUI completion tests to ...
12263 * gdb.tui/completion.exp: ... this new file.
12264
7cbbff33
PA
122652017-03-08 Pedro Alves <palves@redhat.com>
12266
12267 * gdb.base/tui-disasm-long-lines.c,
12268 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12269 gdb.base/tui-layout.exp: Move to ...
12270 * gdb.tui/: ... this new directory.
12271
5f6fd321
PA
122722017-03-07 Pedro Alves <palves@redhat.com>
12273
12274 * gdb.base/tui-layout.c: New file.
12275 * gdb.base/tui-layout.exp: New file.
12276
44959fa8
PA
122772017-03-07 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.base/tui-layout.c: Rename to ...
12280 * gdb.base/tui-disasm-long-lines.c: ... this.
12281 * gdb.base/tui-layout.exp: Rename to ...
12282 * gdb.base/tui-disasm-long-lines.exp: ... this.
12283
f8c4e718
PA
122842017-03-07 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12287
6dbb839a 122882017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12289
12290 * i386-mpx-call.c: New file.
12291 * i386-mpx-call.exp: New file.
12292
65b48a81
PB
122932017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12294
12295 * gdb.arch/powerpc-power.exp: Delete test.
12296 * gdb.arch/powerpc-power.s: Likewise.
12297 * gdb.disasm/disassembler-options.exp: New test.
12298 * gdb.arch/powerpc-altivec.exp: Likewise.
12299 * gdb.arch/powerpc-altivec.s: Likewise.
12300 * gdb.arch/powerpc-altivec2.exp: Likewise.
12301 * gdb.arch/powerpc-altivec2.s: Likewise.
12302 * gdb.arch/powerpc-altivec3.exp: Likewise.
12303 * gdb.arch/powerpc-altivec3.s: Likewise.
12304 * gdb.arch/powerpc-power7.exp: Likewise.
12305 * gdb.arch/powerpc-power7.s: Likewise.
12306 * gdb.arch/powerpc-power8.exp: Likewise.
12307 * gdb.arch/powerpc-power8.s: Likewise.
12308 * gdb.arch/powerpc-power9.exp: Likewise.
12309 * gdb.arch/powerpc-power9.s: Likewise.
12310 * gdb.arch/powerpc-vsx.exp: Likewise.
12311 * gdb.arch/powerpc-vsx.s: Likewise.
12312 * gdb.arch/powerpc-vsx2.exp: Likewise.
12313 * gdb.arch/powerpc-vsx2.s: Likewise.
12314 * gdb.arch/powerpc-vsx3.exp: Likewise.
12315 * gdb.arch/powerpc-vsx3.s: Likewise.
12316 * gdb.arch/arm-disassembler-options.exp: Likewise.
12317 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12318 * gdb.arch/s390-disassembler-options.exp: Likewise.
12319
17cd4947
LM
123202017-02-23 Luis Machado <lgustavo@codesourcery.com>
12321
12322 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12323 (check_supported_features): ... this. Changed return type to void.
12324 (supports_rdseed): New static global.
12325 (rdseed): Check supports_rdseed.
12326 (initialize): Call check_supported_features.
12327
2039d74e
EBM
123282017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12329
12330 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12331 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12332 and lqarx/stqcx.
12333 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12334 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12335
a51d7ecf
EBM
123362017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12337
12338 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12339 uppercase.
12340
0224619f
JK
123412017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12342
12343 * gdb.dwarf2/formdata16.c: New file.
12344 * gdb.dwarf2/formdata16.exp: New file.
12345 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12346
216f72a1
JK
123472017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12348
12349 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12350 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12351 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12352 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12353 DW_AT_GNU_*.
12354
43988095
JK
123552017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12356
12357 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12358
99e8a4f9
SDJ
123592017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12360
12361 PR gdb/21164
12362 * gdb.base/maint.exp: Add testcases for when the commands do
12363 not have arguments.
12364
b58a8c0c
TP
123652017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12366
12367 * gdb.cp/chained-calls.exp: Use p instead of P.
12368
4e746bb6
TW
123692017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12370
12371 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12372 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12373
3f77c769
TT
123742017-02-14 Tom Tromey <tom@tromey.com>
12375
12376 PR python/13598:
12377 * gdb.python/py-events.exp: Add before_prompt event tests.
12378
075beec0
AA
123792017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12380
12381 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12382
bf5f525c
LM
123832017-02-13 Luis Machado <lgustavo@codesourcery.com>
12384
12385 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12386 (main): Call my_unique_function_name.
12387 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12388 completion of patterns with a single match.
12389 Add missing -re switches to gdb_test_multiple calls.
12390
13a66184
LM
123912017-02-13 Luis Machado <lgustavo@codesourcery.com>
12392
12393 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12394 return if core file is not recognized.
12395
26a06916
SM
123962017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12397
12398 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12399 and extra UIs.
12400
b761ca9e
SM
124012017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12402
12403 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12404 proc_with_prefix.
12405
b964bee0
TT
124062017-02-10 Tom Tromey <tom@tromey.com>
12407
12408 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12409
18da0c51
MG
124102017-02-10 Martin Galvan <martingalvan@sourceware.org>
12411
12412 PR gdb/21122
12413 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12414
604c4576
JG
124152017-02-08 Jerome Guitton <guitton@adacore.com>
12416
12417 * gdb.base/define.exp: Add test for command abbreviations
12418 in define.
12419
20b477a7
LM
124202017-02-06 Luis Machado <lgustavo@codesourcery.com>
12421
12422 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12423 * gdb.reverse/insn-reverse-x86.c: New file.
12424
3f7b46f2
IR
124252017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12426
12427 PR tdep/20936
12428 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12429
f0fd41c1
TT
124302017-02-03 Tom Tromey <tom@tromey.com>
12431
12432 PR rust/21097:
12433 * gdb.rust/simple.exp: Add new tests.
12434
5be5dbf0
PA
124352017-02-02 Pedro Alves <palves@redhat.com>
12436
12437 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12438 tests.
12439
7346ef59
AA
124402017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12441
12442 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12443 taking a 2-byte value out of a 4-byte DWARF implicit value on
12444 big-endian targets.
12445 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12446 logic. Add test cases for DW_OP_implicit.
12447
787f0025
MM
124482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12449
12450 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12451
68777c29
MM
124522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12453
12454 * gdb.btrace/enable.exp: Call gdb_exit before
12455 skip_gdbserver_tests.
12456
0a1c7e28
MM
124572017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12458
12459 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12460 GDBFLAGS.
12461
b5ac99b0
MM
124622017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12463
12464 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12465 the test is skipped.
12466 * gdb.btrace/data.exp: Likewise.
12467 * gdb.btrace/delta.exp: Likewise.
12468 * gdb.btrace/dlopen.exp: Likewise.
12469 * gdb.btrace/enable-running.exp: Likewise.
12470 * gdb.btrace/enable.exp: Likewise.
12471 * gdb.btrace/exception.exp: Likewise.
12472 * gdb.btrace/function_call_history.exp: Likewise.
12473 * gdb.btrace/gcore.exp: Likewise.
12474 * gdb.btrace/instruction_history.exp: Likewise.
12475 * gdb.btrace/multi-thread-step.exp: Likewise.
12476 * gdb.btrace/nohist.exp: Likewise.
12477 * gdb.btrace/non-stop.exp: Likewise.
12478 * gdb.btrace/reconnect.exp: Likewise.
12479 * gdb.btrace/record_goto-step.exp: Likewise.
12480 * gdb.btrace/record_goto.exp: Likewise.
12481 * gdb.btrace/rn-dl-bind.exp: Likewise.
12482 * gdb.btrace/segv.exp: Likewise.
12483 * gdb.btrace/step.exp: Likewise.
12484 * gdb.btrace/stepi.exp: Likewise.
12485 * gdb.btrace/tailcall-only.exp: Likewise.
12486 * gdb.btrace/tailcall.exp: Likewise.
12487 * gdb.btrace/tsx.exp: Likewise.
12488 * gdb.btrace/unknown_functions.exp: Likewise.
12489 * gdb.btrace/vdso.exp: Likewise.
12490
cd4007e4
MM
124912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12492
12493 * gdb.btrace/enable-running.c: New.
12494 * gdb.btrace/enable-running.exp: New.
12495
2735833d
WT
124962017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12497
12498 * gdb.arch/amd64-gs_base.c: New file.
12499 * gdb.arch/amd64-gs_base.exp: New file.
12500
b51e1e94
LM
125012017-01-26 Luis Machado <lgustavo@codesourcery.com>
12502
12503 * lib/memory.exp: Remove spurious empty newlines.
12504
72ca0410
SM
125052017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12506
12507 * gdb.python/py-bad-printers.exp: Load python file using "source".
12508 * gdb.python/py-events.exp: Likewise.
12509 * gdb.python/py-evsignal.exp: Likewise.
12510 * gdb.python/py-evthreads.exp: Likewise.
12511 * gdb.python/py-frame-args.exp: Likewise.
12512 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12513 * gdb.python/py-framefilter-mi.exp: Likewise.
12514 * gdb.python/py-framefilter.exp: Likewise.
12515 * gdb.python/py-mi.exp: Likewise.
12516 * gdb.python/py-pp-maint.exp: Likewise.
12517 * gdb.python/py-pp-registration.exp: Likewise.
12518 * gdb.python/py-prettyprint.exp: Likewise.
12519 (run_lang_tests): Likewise.
12520 * gdb.python/py-typeprint.exp: Likewise.
12521
e309aa65
LM
125222017-01-26 Luis Machado <lgustavo@codesourcery.com>
12523
12524 * lib/memory.exp: New file.
12525 * lib/gdb.exp: Load memory.exp.
12526 * gdb.base/memattr.exp (delete_memory): Move proc to
12527 lib/memory.exp and rename to delete_memory_regions.
12528 Replace delete_memory with delete_memory_regions.
12529 Cleanup memory regions before tests.
12530 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12531 before tests.
12532
515aff23
LM
125332017-01-26 Luis Machado <lgustavo@codesourcery.com>
12534
12535 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12536 files.
12537 (initialize): New function conditionally defined.
12538 (testcases): Move within conditional block.
12539 (main): Call initialize.
12540 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12541 of gdb.reverse/insn-reverse.c.
12542 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12543 gdb.reverse/insn-reverse.c.
12544
d8b49cf0
YQ
125452017-01-26 Yao Qi <yao.qi@linaro.org>
12546
12547 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12548 disassemble on address 0.
12549
f13a9a0c
YQ
125502017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12551 Yao Qi <yao.qi@linaro.org>
12552
12553 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12554 * gdb.dwarf2/implptr-64bit.S: Remove.
12555 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12556 variables in caller's context. Add DW_OP_implicit_value.
12557
5ac95241
YQ
125582017-01-25 Yao Qi <yao.qi@linaro.org>
12559
12560 * lib/dwarf.exp (Dwarf::_location): Handle
12561 DW_OP_GNU_implicit_pointer with proper size.
12562
23e82930
LM
125632017-01-20 Luis Machado <lgustavo@codesourcery.com>
12564
12565 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12566 and add untested calls.
12567
d334ae25
LM
125682017-01-20 Luis Machado <lgustavo@codesourcery.com>
12569
12570 * gdb.python/python.exp: Check line number against what GDB thinks
12571 the line number is for func1.
12572
f5e6296e
IB
125732017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12574
12575 * gdb.dlang/debug-expr.exp: New file.
12576
5b362f04
LM
125772016-12-23 Luis Machado <lgustavo@codesourcery.com>
12578
12579 Fix test names for the following files:
12580
12581 * gdb.ada/exec_changed.exp
12582 * gdb.ada/info_types.exp
12583 * gdb.arch/aarch64-atomic-inst.exp
12584 * gdb.arch/aarch64-fp.exp
12585 * gdb.arch/altivec-abi.exp
12586 * gdb.arch/altivec-regs.exp
12587 * gdb.arch/amd64-byte.exp
12588 * gdb.arch/amd64-disp-step.exp
12589 * gdb.arch/amd64-dword.exp
12590 * gdb.arch/amd64-entry-value-inline.exp
12591 * gdb.arch/amd64-entry-value-param.exp
12592 * gdb.arch/amd64-entry-value-paramref.exp
12593 * gdb.arch/amd64-entry-value.exp
12594 * gdb.arch/amd64-i386-address.exp
12595 * gdb.arch/amd64-invalid-stack-middle.exp
12596 * gdb.arch/amd64-invalid-stack-top.exp
12597 * gdb.arch/amd64-optimout-repeat.exp
12598 * gdb.arch/amd64-prologue-skip.exp
12599 * gdb.arch/amd64-prologue-xmm.exp
12600 * gdb.arch/amd64-stap-special-operands.exp
12601 * gdb.arch/amd64-stap-wrong-subexp.exp
12602 * gdb.arch/amd64-tailcall-cxx.exp
12603 * gdb.arch/amd64-tailcall-noret.exp
12604 * gdb.arch/amd64-tailcall-ret.exp
12605 * gdb.arch/amd64-tailcall-self.exp
12606 * gdb.arch/amd64-word.exp
12607 * gdb.arch/arm-bl-branch-dest.exp
12608 * gdb.arch/arm-disp-step.exp
12609 * gdb.arch/arm-neon.exp
12610 * gdb.arch/arm-single-step-kernel-helper.exp
12611 * gdb.arch/avr-flash-qualifier.exp
12612 * gdb.arch/disp-step-insn-reloc.exp
12613 * gdb.arch/e500-abi.exp
12614 * gdb.arch/e500-regs.exp
12615 * gdb.arch/ftrace-insn-reloc.exp
12616 * gdb.arch/i386-avx512.exp
12617 * gdb.arch/i386-bp_permanent.exp
12618 * gdb.arch/i386-byte.exp
12619 * gdb.arch/i386-cfi-notcurrent.exp
12620 * gdb.arch/i386-disp-step.exp
12621 * gdb.arch/i386-dr3-watch.exp
12622 * gdb.arch/i386-float.exp
12623 * gdb.arch/i386-gnu-cfi.exp
12624 * gdb.arch/i386-mpx-map.exp
12625 * gdb.arch/i386-mpx-sigsegv.exp
12626 * gdb.arch/i386-mpx-simple_segv.exp
12627 * gdb.arch/i386-mpx.exp
12628 * gdb.arch/i386-permbkpt.exp
12629 * gdb.arch/i386-prologue.exp
12630 * gdb.arch/i386-signal.exp
12631 * gdb.arch/i386-size-overlap.exp
12632 * gdb.arch/i386-unwind.exp
12633 * gdb.arch/i386-word.exp
12634 * gdb.arch/mips-fcr.exp
12635 * gdb.arch/powerpc-d128-regs.exp
12636 * gdb.arch/powerpc-stackless.exp
12637 * gdb.arch/ppc64-atomic-inst.exp
12638 * gdb.arch/s390-stackless.exp
12639 * gdb.arch/s390-tdbregs.exp
12640 * gdb.arch/s390-vregs.exp
12641 * gdb.arch/sparc-sysstep.exp
12642 * gdb.arch/thumb-bx-pc.exp
12643 * gdb.arch/thumb-singlestep.exp
12644 * gdb.arch/thumb2-it.exp
12645 * gdb.arch/vsx-regs.exp
12646 * gdb.asm/asm-source.exp
12647 * gdb.base/a2-run.exp
12648 * gdb.base/advance.exp
12649 * gdb.base/all-bin.exp
12650 * gdb.base/anon.exp
12651 * gdb.base/args.exp
12652 * gdb.base/arithmet.exp
12653 * gdb.base/async-shell.exp
12654 * gdb.base/async.exp
12655 * gdb.base/attach-pie-noexec.exp
12656 * gdb.base/attach-twice.exp
12657 * gdb.base/auto-load.exp
12658 * gdb.base/bang.exp
12659 * gdb.base/bitfields.exp
12660 * gdb.base/break-always.exp
12661 * gdb.base/break-caller-line.exp
12662 * gdb.base/break-entry.exp
12663 * gdb.base/break-inline.exp
12664 * gdb.base/break-on-linker-gcd-function.exp
12665 * gdb.base/break-probes.exp
12666 * gdb.base/break.exp
12667 * gdb.base/breakpoint-shadow.exp
12668 * gdb.base/call-ar-st.exp
12669 * gdb.base/call-sc.exp
12670 * gdb.base/call-signal-resume.exp
12671 * gdb.base/call-strs.exp
12672 * gdb.base/callfuncs.exp
12673 * gdb.base/catch-fork-static.exp
12674 * gdb.base/catch-gdb-caused-signals.exp
12675 * gdb.base/catch-load.exp
12676 * gdb.base/catch-signal-fork.exp
12677 * gdb.base/catch-signal.exp
12678 * gdb.base/catch-syscall.exp
12679 * gdb.base/charset.exp
12680 * gdb.base/checkpoint.exp
12681 * gdb.base/chng-syms.exp
12682 * gdb.base/code-expr.exp
12683 * gdb.base/code_elim.exp
12684 * gdb.base/commands.exp
12685 * gdb.base/completion.exp
12686 * gdb.base/complex.exp
12687 * gdb.base/cond-expr.exp
12688 * gdb.base/condbreak.exp
12689 * gdb.base/consecutive.exp
12690 * gdb.base/continue-all-already-running.exp
12691 * gdb.base/coredump-filter.exp
12692 * gdb.base/corefile.exp
12693 * gdb.base/dbx.exp
12694 * gdb.base/debug-expr.exp
12695 * gdb.base/define.exp
12696 * gdb.base/del.exp
12697 * gdb.base/disabled-location.exp
12698 * gdb.base/disasm-end-cu.exp
12699 * gdb.base/disasm-optim.exp
12700 * gdb.base/display.exp
12701 * gdb.base/duplicate-bp.exp
12702 * gdb.base/ena-dis-br.exp
12703 * gdb.base/ending-run.exp
12704 * gdb.base/enumval.exp
12705 * gdb.base/environ.exp
12706 * gdb.base/eu-strip-infcall.exp
12707 * gdb.base/eval-avoid-side-effects.exp
12708 * gdb.base/eval-skip.exp
12709 * gdb.base/exitsignal.exp
12710 * gdb.base/expand-psymtabs.exp
12711 * gdb.base/filesym.exp
12712 * gdb.base/find-unmapped.exp
12713 * gdb.base/finish.exp
12714 * gdb.base/float.exp
12715 * gdb.base/foll-exec-mode.exp
12716 * gdb.base/foll-exec.exp
12717 * gdb.base/foll-fork.exp
12718 * gdb.base/fortran-sym-case.exp
12719 * gdb.base/freebpcmd.exp
12720 * gdb.base/func-ptr.exp
12721 * gdb.base/func-ptrs.exp
12722 * gdb.base/funcargs.exp
12723 * gdb.base/gcore-buffer-overflow.exp
12724 * gdb.base/gcore-relro-pie.exp
12725 * gdb.base/gcore-relro.exp
12726 * gdb.base/gcore.exp
12727 * gdb.base/gdb1090.exp
12728 * gdb.base/gdb11530.exp
12729 * gdb.base/gdb11531.exp
12730 * gdb.base/gdb1821.exp
12731 * gdb.base/gdbindex-stabs.exp
12732 * gdb.base/gdbvars.exp
12733 * gdb.base/hbreak.exp
12734 * gdb.base/hbreak2.exp
12735 * gdb.base/included.exp
12736 * gdb.base/infcall-input.exp
12737 * gdb.base/inferior-died.exp
12738 * gdb.base/infnan.exp
12739 * gdb.base/info-macros.exp
12740 * gdb.base/info-os.exp
12741 * gdb.base/info-proc.exp
12742 * gdb.base/info-shared.exp
12743 * gdb.base/info-target.exp
12744 * gdb.base/infoline.exp
12745 * gdb.base/interp.exp
12746 * gdb.base/interrupt.exp
12747 * gdb.base/jit-reader.exp
12748 * gdb.base/jit-simple.exp
12749 * gdb.base/kill-after-signal.exp
12750 * gdb.base/kill-detach-inferiors-cmd.exp
12751 * gdb.base/label.exp
12752 * gdb.base/langs.exp
12753 * gdb.base/ldbl_e308.exp
12754 * gdb.base/line-symtabs.exp
12755 * gdb.base/linespecs.exp
12756 * gdb.base/list.exp
12757 * gdb.base/long_long.exp
12758 * gdb.base/longest-types.exp
12759 * gdb.base/maint.exp
12760 * gdb.base/max-value-size.exp
12761 * gdb.base/memattr.exp
12762 * gdb.base/mips_pro.exp
12763 * gdb.base/morestack.exp
12764 * gdb.base/moribund-step.exp
12765 * gdb.base/multi-forks.exp
12766 * gdb.base/nested-addr.exp
12767 * gdb.base/nextoverexit.exp
12768 * gdb.base/noreturn-finish.exp
12769 * gdb.base/noreturn-return.exp
12770 * gdb.base/nostdlib.exp
12771 * gdb.base/offsets.exp
12772 * gdb.base/opaque.exp
12773 * gdb.base/pc-fp.exp
12774 * gdb.base/permissions.exp
12775 * gdb.base/print-symbol-loading.exp
12776 * gdb.base/prologue-include.exp
12777 * gdb.base/psymtab.exp
12778 * gdb.base/ptype.exp
12779 * gdb.base/random-signal.exp
12780 * gdb.base/randomize.exp
12781 * gdb.base/range-stepping.exp
12782 * gdb.base/readline-ask.exp
12783 * gdb.base/recpar.exp
12784 * gdb.base/recurse.exp
12785 * gdb.base/relational.exp
12786 * gdb.base/restore.exp
12787 * gdb.base/return-nodebug.exp
12788 * gdb.base/return.exp
12789 * gdb.base/run-after-attach.exp
12790 * gdb.base/save-bp.exp
12791 * gdb.base/scope.exp
12792 * gdb.base/sect-cmd.exp
12793 * gdb.base/set-lang-auto.exp
12794 * gdb.base/set-noassign.exp
12795 * gdb.base/setvar.exp
12796 * gdb.base/sigall.exp
12797 * gdb.base/sigbpt.exp
12798 * gdb.base/siginfo-addr.exp
12799 * gdb.base/siginfo-infcall.exp
12800 * gdb.base/siginfo-obj.exp
12801 * gdb.base/siginfo.exp
12802 * gdb.base/signals-state-child.exp
12803 * gdb.base/signest.exp
12804 * gdb.base/sigstep.exp
12805 * gdb.base/sizeof.exp
12806 * gdb.base/skip.exp
12807 * gdb.base/solib-corrupted.exp
12808 * gdb.base/solib-nodir.exp
12809 * gdb.base/solib-search.exp
12810 * gdb.base/stack-checking.exp
12811 * gdb.base/stale-infcall.exp
12812 * gdb.base/stap-probe.exp
12813 * gdb.base/start.exp
12814 * gdb.base/step-break.exp
12815 * gdb.base/step-bt.exp
12816 * gdb.base/step-line.exp
12817 * gdb.base/step-over-exit.exp
12818 * gdb.base/step-over-syscall.exp
12819 * gdb.base/step-resume-infcall.exp
12820 * gdb.base/step-test.exp
12821 * gdb.base/store.exp
12822 * gdb.base/structs3.exp
12823 * gdb.base/sym-file.exp
12824 * gdb.base/symbol-without-target_section.exp
12825 * gdb.base/term.exp
12826 * gdb.base/testenv.exp
12827 * gdb.base/ui-redirect.exp
12828 * gdb.base/until.exp
12829 * gdb.base/unwindonsignal.exp
12830 * gdb.base/value-double-free.exp
12831 * gdb.base/vla-datatypes.exp
12832 * gdb.base/vla-ptr.exp
12833 * gdb.base/vla-sideeffect.exp
12834 * gdb.base/volatile.exp
12835 * gdb.base/watch-cond-infcall.exp
12836 * gdb.base/watch-cond.exp
12837 * gdb.base/watch-non-mem.exp
12838 * gdb.base/watch-read.exp
12839 * gdb.base/watch-vfork.exp
12840 * gdb.base/watchpoint-cond-gone.exp
12841 * gdb.base/watchpoint-delete.exp
12842 * gdb.base/watchpoint-hw-hit-once.exp
12843 * gdb.base/watchpoint-hw.exp
12844 * gdb.base/watchpoint-stops-at-right-insn.exp
12845 * gdb.base/watchpoints.exp
12846 * gdb.base/wchar.exp
12847 * gdb.base/whatis-exp.exp
12848 * gdb.btrace/buffer-size.exp
12849 * gdb.btrace/data.exp
12850 * gdb.btrace/delta.exp
12851 * gdb.btrace/dlopen.exp
12852 * gdb.btrace/enable.exp
12853 * gdb.btrace/exception.exp
12854 * gdb.btrace/function_call_history.exp
12855 * gdb.btrace/gcore.exp
12856 * gdb.btrace/instruction_history.exp
12857 * gdb.btrace/nohist.exp
12858 * gdb.btrace/reconnect.exp
12859 * gdb.btrace/record_goto-step.exp
12860 * gdb.btrace/record_goto.exp
12861 * gdb.btrace/rn-dl-bind.exp
12862 * gdb.btrace/segv.exp
12863 * gdb.btrace/step.exp
12864 * gdb.btrace/stepi.exp
12865 * gdb.btrace/tailcall-only.exp
12866 * gdb.btrace/tailcall.exp
12867 * gdb.btrace/tsx.exp
12868 * gdb.btrace/unknown_functions.exp
12869 * gdb.btrace/vdso.exp
12870 * gdb.compile/compile-ifunc.exp
12871 * gdb.compile/compile-ops.exp
12872 * gdb.compile/compile-print.exp
12873 * gdb.compile/compile-setjmp.exp
12874 * gdb.cp/abstract-origin.exp
12875 * gdb.cp/ambiguous.exp
12876 * gdb.cp/annota2.exp
12877 * gdb.cp/annota3.exp
12878 * gdb.cp/anon-ns.exp
12879 * gdb.cp/anon-struct.exp
12880 * gdb.cp/anon-union.exp
12881 * gdb.cp/arg-reference.exp
12882 * gdb.cp/baseenum.exp
12883 * gdb.cp/bool.exp
12884 * gdb.cp/breakpoint.exp
12885 * gdb.cp/bs15503.exp
12886 * gdb.cp/call-c.exp
12887 * gdb.cp/casts.exp
12888 * gdb.cp/chained-calls.exp
12889 * gdb.cp/class2.exp
12890 * gdb.cp/classes.exp
12891 * gdb.cp/cmpd-minsyms.exp
12892 * gdb.cp/converts.exp
12893 * gdb.cp/cp-relocate.exp
12894 * gdb.cp/cpcompletion.exp
12895 * gdb.cp/cpexprs.exp
12896 * gdb.cp/cplabel.exp
12897 * gdb.cp/cplusfuncs.exp
12898 * gdb.cp/cpsizeof.exp
12899 * gdb.cp/ctti.exp
12900 * gdb.cp/derivation.exp
12901 * gdb.cp/destrprint.exp
12902 * gdb.cp/dispcxx.exp
12903 * gdb.cp/enum-class.exp
12904 * gdb.cp/exception.exp
12905 * gdb.cp/exceptprint.exp
12906 * gdb.cp/expand-psymtabs-cxx.exp
12907 * gdb.cp/expand-sals.exp
12908 * gdb.cp/extern-c.exp
12909 * gdb.cp/filename.exp
12910 * gdb.cp/formatted-ref.exp
12911 * gdb.cp/fpointer.exp
12912 * gdb.cp/gdb1355.exp
12913 * gdb.cp/gdb2495.exp
12914 * gdb.cp/hang.exp
12915 * gdb.cp/impl-this.exp
12916 * gdb.cp/infcall-dlopen.exp
12917 * gdb.cp/inherit.exp
12918 * gdb.cp/iostream.exp
12919 * gdb.cp/koenig.exp
12920 * gdb.cp/local.exp
12921 * gdb.cp/m-data.exp
12922 * gdb.cp/m-static.exp
12923 * gdb.cp/mb-ctor.exp
12924 * gdb.cp/mb-inline.exp
12925 * gdb.cp/mb-templates.exp
12926 * gdb.cp/member-name.exp
12927 * gdb.cp/member-ptr.exp
12928 * gdb.cp/meth-typedefs.exp
12929 * gdb.cp/method.exp
12930 * gdb.cp/method2.exp
12931 * gdb.cp/minsym-fallback.exp
12932 * gdb.cp/misc.exp
12933 * gdb.cp/namelessclass.exp
12934 * gdb.cp/namespace-enum.exp
12935 * gdb.cp/namespace-nested-import.exp
12936 * gdb.cp/namespace.exp
12937 * gdb.cp/nextoverthrow.exp
12938 * gdb.cp/no-dmgl-verbose.exp
12939 * gdb.cp/non-trivial-retval.exp
12940 * gdb.cp/noparam.exp
12941 * gdb.cp/nsdecl.exp
12942 * gdb.cp/nsimport.exp
12943 * gdb.cp/nsnested.exp
12944 * gdb.cp/nsnoimports.exp
12945 * gdb.cp/nsrecurs.exp
12946 * gdb.cp/nsstress.exp
12947 * gdb.cp/nsusing.exp
12948 * gdb.cp/operator.exp
12949 * gdb.cp/oranking.exp
12950 * gdb.cp/overload-const.exp
12951 * gdb.cp/overload.exp
12952 * gdb.cp/ovldbreak.exp
12953 * gdb.cp/ovsrch.exp
12954 * gdb.cp/paren-type.exp
12955 * gdb.cp/parse-lang.exp
12956 * gdb.cp/pass-by-ref.exp
12957 * gdb.cp/pr-1023.exp
12958 * gdb.cp/pr-1210.exp
12959 * gdb.cp/pr-574.exp
12960 * gdb.cp/pr10687.exp
12961 * gdb.cp/pr12028.exp
12962 * gdb.cp/pr17132.exp
12963 * gdb.cp/pr17494.exp
12964 * gdb.cp/pr9067.exp
12965 * gdb.cp/pr9167.exp
12966 * gdb.cp/pr9631.exp
12967 * gdb.cp/printmethod.exp
12968 * gdb.cp/psmang.exp
12969 * gdb.cp/psymtab-parameter.exp
12970 * gdb.cp/ptype-cv-cp.exp
12971 * gdb.cp/ptype-flags.exp
12972 * gdb.cp/re-set-overloaded.exp
12973 * gdb.cp/ref-types.exp
12974 * gdb.cp/rtti.exp
12975 * gdb.cp/scope-err.exp
12976 * gdb.cp/shadow.exp
12977 * gdb.cp/smartp.exp
12978 * gdb.cp/static-method.exp
12979 * gdb.cp/static-print-quit.exp
12980 * gdb.cp/temargs.exp
12981 * gdb.cp/templates.exp
12982 * gdb.cp/try_catch.exp
12983 * gdb.cp/typedef-operator.exp
12984 * gdb.cp/typeid.exp
12985 * gdb.cp/userdef.exp
12986 * gdb.cp/using-crash.exp
12987 * gdb.cp/var-tag.exp
12988 * gdb.cp/virtbase.exp
12989 * gdb.cp/virtfunc.exp
12990 * gdb.cp/virtfunc2.exp
12991 * gdb.cp/vla-cxx.exp
12992 * gdb.disasm/t01_mov.exp
12993 * gdb.disasm/t02_mova.exp
12994 * gdb.disasm/t03_add.exp
12995 * gdb.disasm/t04_sub.exp
12996 * gdb.disasm/t05_cmp.exp
12997 * gdb.disasm/t06_ari2.exp
12998 * gdb.disasm/t07_ari3.exp
12999 * gdb.disasm/t08_or.exp
13000 * gdb.disasm/t09_xor.exp
13001 * gdb.disasm/t10_and.exp
13002 * gdb.disasm/t11_logs.exp
13003 * gdb.disasm/t12_bit.exp
13004 * gdb.disasm/t13_otr.exp
13005 * gdb.dlang/circular.exp
13006 * gdb.dwarf2/arr-stride.exp
13007 * gdb.dwarf2/arr-subrange.exp
13008 * gdb.dwarf2/atomic-type.exp
13009 * gdb.dwarf2/bad-regnum.exp
13010 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13011 * gdb.dwarf2/callframecfa.exp
13012 * gdb.dwarf2/clztest.exp
13013 * gdb.dwarf2/corrupt.exp
13014 * gdb.dwarf2/data-loc.exp
13015 * gdb.dwarf2/dup-psym.exp
13016 * gdb.dwarf2/dw2-anon-mptr.exp
13017 * gdb.dwarf2/dw2-anonymous-func.exp
13018 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13019 * gdb.dwarf2/dw2-bad-unresolved.exp
13020 * gdb.dwarf2/dw2-basic.exp
13021 * gdb.dwarf2/dw2-canonicalize-type.exp
13022 * gdb.dwarf2/dw2-case-insensitive.exp
13023 * gdb.dwarf2/dw2-common-block.exp
13024 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13025 * gdb.dwarf2/dw2-compressed.exp
13026 * gdb.dwarf2/dw2-const.exp
13027 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13028 * gdb.dwarf2/dw2-cu-size.exp
13029 * gdb.dwarf2/dw2-dup-frame.exp
13030 * gdb.dwarf2/dw2-entry-value.exp
13031 * gdb.dwarf2/dw2-icycle.exp
13032 * gdb.dwarf2/dw2-ifort-parameter.exp
13033 * gdb.dwarf2/dw2-inline-break.exp
13034 * gdb.dwarf2/dw2-inline-param.exp
13035 * gdb.dwarf2/dw2-intercu.exp
13036 * gdb.dwarf2/dw2-intermix.exp
13037 * gdb.dwarf2/dw2-lexical-block-bare.exp
13038 * gdb.dwarf2/dw2-linkage-name-trust.exp
13039 * gdb.dwarf2/dw2-minsym-in-cu.exp
13040 * gdb.dwarf2/dw2-noloc.exp
13041 * gdb.dwarf2/dw2-op-call.exp
13042 * gdb.dwarf2/dw2-op-out-param.exp
13043 * gdb.dwarf2/dw2-opt-structptr.exp
13044 * gdb.dwarf2/dw2-param-error.exp
13045 * gdb.dwarf2/dw2-producer.exp
13046 * gdb.dwarf2/dw2-ranges-base.exp
13047 * gdb.dwarf2/dw2-ref-missing-frame.exp
13048 * gdb.dwarf2/dw2-reg-undefined.exp
13049 * gdb.dwarf2/dw2-regno-invalid.exp
13050 * gdb.dwarf2/dw2-restore.exp
13051 * gdb.dwarf2/dw2-restrict.exp
13052 * gdb.dwarf2/dw2-single-line-discriminators.exp
13053 * gdb.dwarf2/dw2-strp.exp
13054 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13055 * gdb.dwarf2/dw2-unresolved.exp
13056 * gdb.dwarf2/dw2-var-zero-addr.exp
13057 * gdb.dwarf2/dw4-sig-types.exp
13058 * gdb.dwarf2/dwz.exp
13059 * gdb.dwarf2/dynarr-ptr.exp
13060 * gdb.dwarf2/enum-type.exp
13061 * gdb.dwarf2/gdb-index.exp
13062 * gdb.dwarf2/implptr-64bit.exp
13063 * gdb.dwarf2/implptr-optimized-out.exp
13064 * gdb.dwarf2/implptr.exp
13065 * gdb.dwarf2/implref-array.exp
13066 * gdb.dwarf2/implref-const.exp
13067 * gdb.dwarf2/implref-global.exp
13068 * gdb.dwarf2/implref-struct.exp
13069 * gdb.dwarf2/mac-fileno.exp
13070 * gdb.dwarf2/main-subprogram.exp
13071 * gdb.dwarf2/member-ptr-forwardref.exp
13072 * gdb.dwarf2/method-ptr.exp
13073 * gdb.dwarf2/missing-sig-type.exp
13074 * gdb.dwarf2/nonvar-access.exp
13075 * gdb.dwarf2/opaque-type-lookup.exp
13076 * gdb.dwarf2/pieces-optimized-out.exp
13077 * gdb.dwarf2/pieces.exp
13078 * gdb.dwarf2/pr10770.exp
13079 * gdb.dwarf2/pr13961.exp
13080 * gdb.dwarf2/staticvirtual.exp
13081 * gdb.dwarf2/subrange.exp
13082 * gdb.dwarf2/symtab-producer.exp
13083 * gdb.dwarf2/trace-crash.exp
13084 * gdb.dwarf2/typeddwarf.exp
13085 * gdb.dwarf2/valop.exp
13086 * gdb.dwarf2/watch-notconst.exp
13087 * gdb.fortran/array-element.exp
13088 * gdb.fortran/charset.exp
13089 * gdb.fortran/common-block.exp
13090 * gdb.fortran/complex.exp
13091 * gdb.fortran/derived-type-function.exp
13092 * gdb.fortran/derived-type.exp
13093 * gdb.fortran/logical.exp
13094 * gdb.fortran/module.exp
13095 * gdb.fortran/multi-dim.exp
13096 * gdb.fortran/nested-funcs.exp
13097 * gdb.fortran/print-formatted.exp
13098 * gdb.fortran/subarray.exp
13099 * gdb.fortran/vla-alloc-assoc.exp
13100 * gdb.fortran/vla-datatypes.exp
13101 * gdb.fortran/vla-history.exp
13102 * gdb.fortran/vla-ptr-info.exp
13103 * gdb.fortran/vla-ptype-sub.exp
13104 * gdb.fortran/vla-ptype.exp
13105 * gdb.fortran/vla-sizeof.exp
13106 * gdb.fortran/vla-type.exp
13107 * gdb.fortran/vla-value-sub-arbitrary.exp
13108 * gdb.fortran/vla-value-sub-finish.exp
13109 * gdb.fortran/vla-value-sub.exp
13110 * gdb.fortran/vla-value.exp
13111 * gdb.fortran/whatis_type.exp
13112 * gdb.go/chan.exp
13113 * gdb.go/handcall.exp
13114 * gdb.go/hello.exp
13115 * gdb.go/integers.exp
13116 * gdb.go/methods.exp
13117 * gdb.go/package.exp
13118 * gdb.go/strings.exp
13119 * gdb.go/types.exp
13120 * gdb.go/unsafe.exp
13121 * gdb.guile/scm-arch.exp
13122 * gdb.guile/scm-block.exp
13123 * gdb.guile/scm-breakpoint.exp
13124 * gdb.guile/scm-cmd.exp
13125 * gdb.guile/scm-disasm.exp
13126 * gdb.guile/scm-equal.exp
13127 * gdb.guile/scm-frame-args.exp
13128 * gdb.guile/scm-frame-inline.exp
13129 * gdb.guile/scm-frame.exp
13130 * gdb.guile/scm-iterator.exp
13131 * gdb.guile/scm-math.exp
13132 * gdb.guile/scm-objfile.exp
13133 * gdb.guile/scm-ports.exp
13134 * gdb.guile/scm-symbol.exp
13135 * gdb.guile/scm-symtab.exp
13136 * gdb.guile/scm-value-cc.exp
13137 * gdb.guile/types-module.exp
13138 * gdb.linespec/break-ask.exp
13139 * gdb.linespec/cpexplicit.exp
13140 * gdb.linespec/explicit.exp
13141 * gdb.linespec/keywords.exp
13142 * gdb.linespec/linespec.exp
13143 * gdb.linespec/ls-dollar.exp
13144 * gdb.linespec/ls-errs.exp
13145 * gdb.linespec/skip-two.exp
13146 * gdb.linespec/thread.exp
13147 * gdb.mi/mi-async.exp
13148 * gdb.mi/mi-basics.exp
13149 * gdb.mi/mi-break.exp
13150 * gdb.mi/mi-catch-load.exp
13151 * gdb.mi/mi-cli.exp
13152 * gdb.mi/mi-cmd-param-changed.exp
13153 * gdb.mi/mi-console.exp
13154 * gdb.mi/mi-detach.exp
13155 * gdb.mi/mi-disassemble.exp
13156 * gdb.mi/mi-eval.exp
13157 * gdb.mi/mi-file-transfer.exp
13158 * gdb.mi/mi-file.exp
13159 * gdb.mi/mi-fill-memory.exp
13160 * gdb.mi/mi-inheritance-syntax-error.exp
13161 * gdb.mi/mi-linespec-err-cp.exp
13162 * gdb.mi/mi-logging.exp
13163 * gdb.mi/mi-memory-changed.exp
13164 * gdb.mi/mi-read-memory.exp
13165 * gdb.mi/mi-record-changed.exp
13166 * gdb.mi/mi-reg-undefined.exp
13167 * gdb.mi/mi-regs.exp
13168 * gdb.mi/mi-return.exp
13169 * gdb.mi/mi-reverse.exp
13170 * gdb.mi/mi-simplerun.exp
13171 * gdb.mi/mi-solib.exp
13172 * gdb.mi/mi-stack.exp
13173 * gdb.mi/mi-stepi.exp
13174 * gdb.mi/mi-syn-frame.exp
13175 * gdb.mi/mi-until.exp
13176 * gdb.mi/mi-var-block.exp
13177 * gdb.mi/mi-var-child.exp
13178 * gdb.mi/mi-var-cmd.exp
13179 * gdb.mi/mi-var-cp.exp
13180 * gdb.mi/mi-var-display.exp
13181 * gdb.mi/mi-var-invalidate.exp
13182 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13183 * gdb.mi/mi-vla-fortran.exp
13184 * gdb.mi/mi-watch.exp
13185 * gdb.mi/mi2-var-child.exp
13186 * gdb.mi/user-selected-context-sync.exp
13187 * gdb.modula2/unbounded-array.exp
13188 * gdb.multi/dummy-frame-restore.exp
13189 * gdb.multi/multi-arch-exec.exp
13190 * gdb.multi/multi-arch.exp
13191 * gdb.multi/tids.exp
13192 * gdb.multi/watchpoint-multi.exp
13193 * gdb.opencl/callfuncs.exp
13194 * gdb.opencl/convs_casts.exp
13195 * gdb.opencl/datatypes.exp
13196 * gdb.opencl/operators.exp
13197 * gdb.opencl/vec_comps.exp
13198 * gdb.opt/clobbered-registers-O2.exp
13199 * gdb.opt/inline-break.exp
13200 * gdb.opt/inline-bt.exp
13201 * gdb.opt/inline-cmds.exp
13202 * gdb.opt/inline-locals.exp
13203 * gdb.pascal/case-insensitive-symbols.exp
13204 * gdb.pascal/floats.exp
13205 * gdb.pascal/gdb11492.exp
13206 * gdb.python/lib-types.exp
13207 * gdb.python/py-arch.exp
13208 * gdb.python/py-as-string.exp
13209 * gdb.python/py-bad-printers.exp
13210 * gdb.python/py-block.exp
13211 * gdb.python/py-breakpoint-create-fail.exp
13212 * gdb.python/py-breakpoint.exp
13213 * gdb.python/py-caller-is.exp
13214 * gdb.python/py-cmd.exp
13215 * gdb.python/py-explore-cc.exp
13216 * gdb.python/py-explore.exp
13217 * gdb.python/py-finish-breakpoint.exp
13218 * gdb.python/py-finish-breakpoint2.exp
13219 * gdb.python/py-frame-args.exp
13220 * gdb.python/py-frame-inline.exp
13221 * gdb.python/py-frame.exp
13222 * gdb.python/py-framefilter-mi.exp
13223 * gdb.python/py-infthread.exp
13224 * gdb.python/py-lazy-string.exp
13225 * gdb.python/py-linetable.exp
13226 * gdb.python/py-mi-events.exp
13227 * gdb.python/py-mi-objfile.exp
13228 * gdb.python/py-mi.exp
13229 * gdb.python/py-objfile.exp
13230 * gdb.python/py-pp-integral.exp
13231 * gdb.python/py-pp-maint.exp
13232 * gdb.python/py-pp-re-notag.exp
13233 * gdb.python/py-pp-registration.exp
13234 * gdb.python/py-recurse-unwind.exp
13235 * gdb.python/py-strfns.exp
13236 * gdb.python/py-symbol.exp
13237 * gdb.python/py-symtab.exp
13238 * gdb.python/py-sync-interp.exp
13239 * gdb.python/py-typeprint.exp
13240 * gdb.python/py-unwind-maint.exp
13241 * gdb.python/py-unwind.exp
13242 * gdb.python/py-value-cc.exp
13243 * gdb.python/py-xmethods.exp
13244 * gdb.reverse/amd64-tailcall-reverse.exp
13245 * gdb.reverse/break-precsave.exp
13246 * gdb.reverse/break-reverse.exp
13247 * gdb.reverse/consecutive-precsave.exp
13248 * gdb.reverse/consecutive-reverse.exp
13249 * gdb.reverse/finish-precsave.exp
13250 * gdb.reverse/finish-reverse-bkpt.exp
13251 * gdb.reverse/finish-reverse.exp
13252 * gdb.reverse/fstatat-reverse.exp
13253 * gdb.reverse/getresuid-reverse.exp
13254 * gdb.reverse/i386-precsave.exp
13255 * gdb.reverse/i386-reverse.exp
13256 * gdb.reverse/i386-sse-reverse.exp
13257 * gdb.reverse/i387-env-reverse.exp
13258 * gdb.reverse/i387-stack-reverse.exp
13259 * gdb.reverse/insn-reverse.exp
13260 * gdb.reverse/machinestate-precsave.exp
13261 * gdb.reverse/machinestate.exp
13262 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13263 * gdb.reverse/pipe-reverse.exp
13264 * gdb.reverse/readv-reverse.exp
13265 * gdb.reverse/recvmsg-reverse.exp
13266 * gdb.reverse/rerun-prec.exp
13267 * gdb.reverse/s390-mvcle.exp
13268 * gdb.reverse/step-precsave.exp
13269 * gdb.reverse/step-reverse.exp
13270 * gdb.reverse/time-reverse.exp
13271 * gdb.reverse/until-precsave.exp
13272 * gdb.reverse/until-reverse.exp
13273 * gdb.reverse/waitpid-reverse.exp
13274 * gdb.reverse/watch-precsave.exp
13275 * gdb.reverse/watch-reverse.exp
13276 * gdb.rust/generics.exp
13277 * gdb.rust/methods.exp
13278 * gdb.rust/modules.exp
13279 * gdb.rust/simple.exp
13280 * gdb.server/connect-with-no-symbol-file.exp
13281 * gdb.server/ext-attach.exp
13282 * gdb.server/ext-restart.exp
13283 * gdb.server/ext-wrapper.exp
13284 * gdb.server/file-transfer.exp
13285 * gdb.server/server-exec-info.exp
13286 * gdb.server/server-kill.exp
13287 * gdb.server/server-mon.exp
13288 * gdb.server/wrapper.exp
13289 * gdb.stabs/exclfwd.exp
13290 * gdb.stabs/gdb11479.exp
13291 * gdb.threads/clone-new-thread-event.exp
13292 * gdb.threads/corethreads.exp
13293 * gdb.threads/current-lwp-dead.exp
13294 * gdb.threads/dlopen-libpthread.exp
13295 * gdb.threads/gcore-thread.exp
13296 * gdb.threads/sigstep-threads.exp
13297 * gdb.threads/watchpoint-fork.exp
13298 * gdb.trace/actions-changed.exp
13299 * gdb.trace/backtrace.exp
13300 * gdb.trace/change-loc.exp
13301 * gdb.trace/circ.exp
13302 * gdb.trace/collection.exp
13303 * gdb.trace/disconnected-tracing.exp
13304 * gdb.trace/ftrace.exp
13305 * gdb.trace/mi-trace-frame-collected.exp
13306 * gdb.trace/mi-trace-unavailable.exp
13307 * gdb.trace/mi-traceframe-changed.exp
13308 * gdb.trace/mi-tsv-changed.exp
13309 * gdb.trace/no-attach-trace.exp
13310 * gdb.trace/passc-dyn.exp
13311 * gdb.trace/qtro.exp
13312 * gdb.trace/range-stepping.exp
13313 * gdb.trace/read-memory.exp
13314 * gdb.trace/save-trace.exp
13315 * gdb.trace/signal.exp
13316 * gdb.trace/status-stop.exp
13317 * gdb.trace/tfile.exp
13318 * gdb.trace/trace-break.exp
13319 * gdb.trace/trace-buffer-size.exp
13320 * gdb.trace/trace-condition.exp
13321 * gdb.trace/tracefile-pseudo-reg.exp
13322 * gdb.trace/tstatus.exp
13323 * gdb.trace/unavailable.exp
13324 * gdb.trace/while-dyn.exp
13325 * gdb.trace/while-stepping.exp
13326
34c41c68
DE
133272016-12-22 Doug Evans <xdje42@gmail.com>
13328
13329 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13330 and msymbols.
13331
16e69324
YQ
133322016-12-19 Yao Qi <yao.qi@linaro.org>
13333
13334 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13335 (test_with_self): Don't call do_steps_and_nexts, and remove
13336 code about stepping into xmalloc.
13337
f94f411b
YQ
133382016-12-09 Yao Qi <yao.qi@linaro.org>
13339
13340 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13341
133422016-12-09 Yao Qi <yao.qi@linaro.org>
13343
13344 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13345
f1b5deee
PA
133462016-12-09 Pedro Alves <palves@redhat.com>
13347
13348 * gdb.base/all-architectures-0.exp: New file.
13349 * gdb.base/all-architectures-1.exp: New file.
13350 * gdb.base/all-architectures-2.exp: New file.
13351 * gdb.base/all-architectures-3.exp: New file.
13352 * gdb.base/all-architectures-4.exp: New file.
13353 * gdb.base/all-architectures-5.exp: New file.
13354 * gdb.base/all-architectures-6.exp: New file.
13355 * gdb.base/all-architectures-7.exp: New file.
13356 * gdb.base/all-architectures.exp.in: New file.
13357
364ca42e
YQ
133582016-12-09 Yao Qi <yao.qi@linaro.org>
13359
13360 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13361
107c2d62
LM
133622016-12-02 Luis Machado <lgustavo@codesourcery.com>
13363
13364 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13365 possible.
13366 Remove useless pattern-matching code.
13367
df3ee9ca
PA
133682016-12-02 Pedro Alves <palves@redhat.com>
13369
13370 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13371 procedure.
13372 (top level): Call it.
13373
ec835369
PA
133742016-12-02 Pedro Alves <palves@redhat.com>
13375
13376 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13377 New procedure.
13378 (top level): Call it.
13379
01770bbd
PA
133802016-12-02 Pedro Alves <palves@redhat.com>
13381
13382 PR cli/20559
13383 * gdb.base/commands.exp (user_defined_command_args_eval): New
13384 procedure.
13385 (top level): Call it.
13386
008459ea
LM
133872016-12-02 Luis Machado <lgustavo@codesourcery.com>
13388
13389 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13390 timeout handling.
13391
0c1b455e
TT
133922016-12-02 Tom Tromey <tom@tromey.com>
13393
13394 * gdb.dwarf2/main-subprogram.c: New file.
13395 * gdb.dwarf2/main-subprogram.exp: New file.
13396
018572b8
LM
133972016-12-01 Luis Machado <lgustavo@codesourcery.com>
13398
13399 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13400 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13401 gdb_test_no_output for a couple of cases.
13402 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13403
84c93cd5
LM
134042016-12-01 Luis Machado <lgustavo@codesourcery.com>
13405
13406 Fix test names and standardize compilation error messages throughout
13407 the following files:
13408
13409 * gdb.ada/start.exp
13410 * gdb.arch/alpha-step.exp
13411 * gdb.arch/e500-prologue.exp
13412 * gdb.arch/ftrace-insn-reloc.exp
13413 * gdb.arch/gdb1291.exp
13414 * gdb.arch/gdb1431.exp
13415 * gdb.arch/gdb1558.exp
13416 * gdb.arch/i386-dr3-watch.exp
13417 * gdb.arch/i386-sse-stack-align.exp
13418 * gdb.arch/ia64-breakpoint-shadow.exp
13419 * gdb.arch/pa-nullify.exp
13420 * gdb.arch/powerpc-aix-prologue.exp
13421 * gdb.arch/thumb-bx-pc.exp
13422 * gdb.base/annota1.exp
13423 * gdb.base/annota3.exp
13424 * gdb.base/arrayidx.exp
13425 * gdb.base/assign.exp
13426 * gdb.base/attach.exp
13427 * gdb.base/auxv.exp
13428 * gdb.base/bang.exp
13429 * gdb.base/bfp-test.exp
13430 * gdb.base/bigcore.exp
13431 * gdb.base/bitfields2.exp
13432 * gdb.base/break-fun-addr.exp
13433 * gdb.base/break-probes.exp
13434 * gdb.base/call-rt-st.exp
13435 * gdb.base/callexit.exp
13436 * gdb.base/catch-fork-kill.exp
13437 * gdb.base/charset.exp
13438 * gdb.base/checkpoint.exp
13439 * gdb.base/comprdebug.exp
13440 * gdb.base/constvars.exp
13441 * gdb.base/coredump-filter.exp
13442 * gdb.base/cursal.exp
13443 * gdb.base/cvexpr.exp
13444 * gdb.base/detach.exp
13445 * gdb.base/display.exp
13446 * gdb.base/dmsym.exp
13447 * gdb.base/dprintf-pending.exp
13448 * gdb.base/dso2dso.exp
13449 * gdb.base/dtrace-probe.exp
13450 * gdb.base/dump.exp
13451 * gdb.base/enum_cond.exp
13452 * gdb.base/exe-lock.exp
13453 * gdb.base/exec-invalid-sysroot.exp
13454 * gdb.base/execl-update-breakpoints.exp
13455 * gdb.base/exprs.exp
13456 * gdb.base/fileio.exp
13457 * gdb.base/find.exp
13458 * gdb.base/finish.exp
13459 * gdb.base/fixsection.exp
13460 * gdb.base/foll-vfork.exp
13461 * gdb.base/frame-args.exp
13462 * gdb.base/gcore.exp
13463 * gdb.base/gdb1250.exp
13464 * gdb.base/global-var-nested-by-dso.exp
13465 * gdb.base/gnu-ifunc.exp
13466 * gdb.base/hashline1.exp
13467 * gdb.base/hashline2.exp
13468 * gdb.base/hashline3.exp
13469 * gdb.base/hbreak-in-shr-unsupported.exp
13470 * gdb.base/huge.exp
13471 * gdb.base/infcall-input.exp
13472 * gdb.base/info-fun.exp
13473 * gdb.base/info-shared.exp
13474 * gdb.base/jit-simple.exp
13475 * gdb.base/jit-so.exp
13476 * gdb.base/jit.exp
13477 * gdb.base/jump.exp
13478 * gdb.base/label.exp
13479 * gdb.base/lineinc.exp
13480 * gdb.base/logical.exp
13481 * gdb.base/longjmp.exp
13482 * gdb.base/macscp.exp
13483 * gdb.base/miscexprs.exp
13484 * gdb.base/new-ui-echo.exp
13485 * gdb.base/new-ui-pending-input.exp
13486 * gdb.base/new-ui.exp
13487 * gdb.base/nodebug.exp
13488 * gdb.base/nofield.exp
13489 * gdb.base/offsets.exp
13490 * gdb.base/overlays.exp
13491 * gdb.base/pending.exp
13492 * gdb.base/pointers.exp
13493 * gdb.base/pr11022.exp
13494 * gdb.base/printcmds.exp
13495 * gdb.base/prologue.exp
13496 * gdb.base/ptr-typedef.exp
13497 * gdb.base/realname-expand.exp
13498 * gdb.base/relativedebug.exp
13499 * gdb.base/relocate.exp
13500 * gdb.base/remote.exp
13501 * gdb.base/reread.exp
13502 * gdb.base/return2.exp
13503 * gdb.base/savedregs.exp
13504 * gdb.base/sep.exp
13505 * gdb.base/sepdebug.exp
13506 * gdb.base/sepsymtab.exp
13507 * gdb.base/set-inferior-tty.exp
13508 * gdb.base/setshow.exp
13509 * gdb.base/shlib-call.exp
13510 * gdb.base/sigaltstack.exp
13511 * gdb.base/siginfo-addr.exp
13512 * gdb.base/signals.exp
13513 * gdb.base/signull.exp
13514 * gdb.base/sigrepeat.exp
13515 * gdb.base/so-impl-ld.exp
13516 * gdb.base/solib-display.exp
13517 * gdb.base/solib-overlap.exp
13518 * gdb.base/solib-search.exp
13519 * gdb.base/solib-symbol.exp
13520 * gdb.base/structs.exp
13521 * gdb.base/structs2.exp
13522 * gdb.base/symtab-search-order.exp
13523 * gdb.base/twice.exp
13524 * gdb.base/unload.exp
13525 * gdb.base/varargs.exp
13526 * gdb.base/watchpoint-solib.exp
13527 * gdb.base/watchpoint.exp
13528 * gdb.base/whatis.exp
13529 * gdb.base/wrong_frame_bt_full.exp
13530 * gdb.btrace/dlopen.exp
13531 * gdb.cell/ea-standalone.exp
13532 * gdb.cell/ea-test.exp
13533 * gdb.cp/dispcxx.exp
13534 * gdb.cp/gdb2384.exp
13535 * gdb.cp/method2.exp
13536 * gdb.cp/nextoverthrow.exp
13537 * gdb.cp/pr10728.exp
13538 * gdb.disasm/am33.exp
13539 * gdb.disasm/h8300s.exp
13540 * gdb.disasm/mn10300.exp
13541 * gdb.disasm/sh3.exp
13542 * gdb.dwarf2/dw2-dir-file-name.exp
13543 * gdb.fortran/complex.exp
13544 * gdb.fortran/library-module.exp
13545 * gdb.guile/scm-pretty-print.exp
13546 * gdb.guile/scm-symbol.exp
13547 * gdb.guile/scm-type.exp
13548 * gdb.guile/scm-value.exp
13549 * gdb.linespec/linespec.exp
13550 * gdb.mi/gdb701.exp
13551 * gdb.mi/gdb792.exp
13552 * gdb.mi/mi-breakpoint-changed.exp
13553 * gdb.mi/mi-dprintf-pending.exp
13554 * gdb.mi/mi-dprintf.exp
13555 * gdb.mi/mi-exit-code.exp
13556 * gdb.mi/mi-pending.exp
13557 * gdb.mi/mi-solib.exp
13558 * gdb.mi/new-ui-mi-sync.exp
13559 * gdb.mi/pr11022.exp
13560 * gdb.mi/user-selected-context-sync.exp
13561 * gdb.opt/solib-intra-step.exp
13562 * gdb.python/py-events.exp
13563 * gdb.python/py-finish-breakpoint.exp
13564 * gdb.python/py-mi.exp
13565 * gdb.python/py-prettyprint.exp
13566 * gdb.python/py-shared.exp
13567 * gdb.python/py-symbol.exp
13568 * gdb.python/py-template.exp
13569 * gdb.python/py-type.exp
13570 * gdb.python/py-value.exp
13571 * gdb.reverse/solib-precsave.exp
13572 * gdb.reverse/solib-reverse.exp
13573 * gdb.server/solib-list.exp
13574 * gdb.stabs/weird.exp
13575 * gdb.threads/reconnect-signal.exp
13576 * gdb.threads/stepi-random-signal.exp
13577 * gdb.trace/actions.exp
13578 * gdb.trace/ax.exp
13579 * gdb.trace/backtrace.exp
13580 * gdb.trace/change-loc.exp
13581 * gdb.trace/deltrace.exp
13582 * gdb.trace/ftrace-lock.exp
13583 * gdb.trace/ftrace.exp
13584 * gdb.trace/infotrace.exp
13585 * gdb.trace/mi-tracepoint-changed.exp
13586 * gdb.trace/packetlen.exp
13587 * gdb.trace/passcount.exp
13588 * gdb.trace/pending.exp
13589 * gdb.trace/range-stepping.exp
13590 * gdb.trace/report.exp
13591 * gdb.trace/stap-trace.exp
13592 * gdb.trace/tfind.exp
13593 * gdb.trace/trace-break.exp
13594 * gdb.trace/trace-condition.exp
13595 * gdb.trace/trace-enable-disable.exp
13596 * gdb.trace/trace-mt.exp
13597 * gdb.trace/tracecmd.exp
13598 * gdb.trace/tspeed.exp
13599 * gdb.trace/tsv.exp
13600 * lib/perftest.exp
13601
fb9feb35
LM
136022016-12-01 Luis Machado <lgustavo@codesourcery.com>
13603
13604 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13605 with gdb_test_no_output.
13606 Use command as test name.
13607
cd2ddb6c
LM
136082016-12-01 Luis Machado <lgustavo@codesourcery.com>
13609
13610 Fix test names starting with uppercase throughout the files.
13611
13612 * gdb.ada/assign_1.exp
13613 * gdb.ada/boolean_expr.exp
13614 * gdb.base/arrayidx.exp
13615 * gdb.base/del.exp
13616 * gdb.base/gcore-buffer-overflow.exp
13617 * gdb.base/testenv.exp
13618 * gdb.compile/compile.exp
13619 * gdb.python/py-framefilter-invalidarg.exp
13620 * gdb.python/py-framefilter.exp
13621
bb95117e
LM
136222016-12-01 Luis Machado <lgustavo@codesourcery.com>
13623
13624 Fix test names starting with uppercase throughout the files.
13625
13626 * gdb.ada/array_return.exp
13627 * gdb.ada/expr_delims.exp
13628 * gdb.ada/mi_dyn_arr.exp
13629 * gdb.ada/mi_interface.exp
13630 * gdb.ada/mi_var_array.exp
13631 * gdb.ada/watch_arg.exp
13632 * gdb.arch/alpha-step.exp
13633 * gdb.arch/altivec-regs.exp
13634 * gdb.arch/e500-regs.exp
13635 * gdb.arch/powerpc-d128-regs.exp
13636 * gdb.base/arrayidx.exp
13637 * gdb.base/break.exp
13638 * gdb.base/checkpoint.exp
13639 * gdb.base/debug-expr.exp
13640 * gdb.base/dmsym.exp
13641 * gdb.base/radix.exp
13642 * gdb.base/sepdebug.exp
13643 * gdb.base/testenv.exp
13644 * gdb.base/watch_thread_num.exp
13645 * gdb.base/watchpoint-cond-gone.exp
13646 * gdb.cell/break.exp
13647 * gdb.cell/ea-cache.exp
13648 * gdb.compile/compile.exp
13649 * gdb.cp/gdb2495.exp
13650 * gdb.gdb/selftest.exp
13651 * gdb.gdb/xfullpath.exp
13652 * gdb.go/hello.exp
13653 * gdb.go/integers.exp
13654 * gdb.objc/basicclass.exp
13655 * gdb.pascal/hello.exp
13656 * gdb.pascal/integers.exp
13657 * gdb.python/py-breakpoint.exp
13658 * gdb.python/py-cmd.exp
13659 * gdb.python/py-linetable.exp
13660 * gdb.python/py-xmethods.exp
13661 * gdb.python/python.exp
13662 * gdb.reverse/consecutive-precsave.exp
13663 * gdb.reverse/finish-precsave.exp
13664 * gdb.reverse/i386-precsave.exp
13665 * gdb.reverse/machinestate-precsave.exp
13666 * gdb.reverse/sigall-precsave.exp
13667 * gdb.reverse/solib-precsave.exp
13668 * gdb.reverse/step-precsave.exp
13669 * gdb.reverse/until-precsave.exp
13670 * gdb.reverse/watch-precsave.exp
13671 * gdb.threads/leader-exit.exp
13672 * gdb.threads/pthreads.exp
13673 * gdb.threads/wp-replication.exp
13674 * gdb.trace/actions.exp
13675 * gdb.trace/mi-tsv-changed.exp
13676 * gdb.trace/tsv.exp
13677
de97fdd4
LM
136782016-12-01 Luis Machado <lgustavo@codesourcery.com>
13679
13680 Fix test names starting with uppercase throughout the files.
13681
13682 * gdb.arch/i386-bp_permanent.exp
13683 * gdb.arch/i386-gnu-cfi.exp
13684 * gdb.base/disasm-end-cu.exp
13685 * gdb.base/macscp.exp
13686 * gdb.base/pending.exp
13687 * gdb.base/watch_thread_num.exp
13688 * gdb.cp/exception.exp
13689 * gdb.cp/gdb2495.exp
13690 * gdb.cp/local.exp
13691 * gdb.python/py-evsignal.exp
13692 * gdb.python/python.exp
13693 * gdb.trace/tracecmd.exp
13694
9f058c10
LM
136952016-12-01 Luis Machado <lgustavo@codesourcery.com>
13696
13697 Fix test names starting with uppercase throughout the files.
13698
13699 * gdb.base/charset.exp
13700 * gdb.base/eval.exp
13701 * gdb.base/multi-forks.exp
13702 * gdb.guile/scm-progspace.exp
13703 * gdb.opencl/datatypes.exp
13704 * gdb.python/py-block.exp
13705 * gdb.python/py-function.exp
13706 * gdb.python/py-symbol.exp
13707 * gdb.python/py-symtab.exp
13708 * gdb.python/py-xmethods.exp
13709 * gdb.reverse/break-precsave.exp
13710 * gdb.reverse/break-reverse.exp
13711 * gdb.reverse/consecutive-precsave.exp
13712 * gdb.reverse/consecutive-reverse.exp
13713 * gdb.reverse/finish-precsave.exp
13714 * gdb.reverse/finish-reverse-bkpt.exp
13715 * gdb.reverse/finish-reverse.exp
13716 * gdb.reverse/fstatat-reverse.exp
13717 * gdb.reverse/getresuid-reverse.exp
13718 * gdb.reverse/i386-precsave.exp
13719 * gdb.reverse/i386-reverse.exp
13720 * gdb.reverse/i386-sse-reverse.exp
13721 * gdb.reverse/i387-stack-reverse.exp
13722 * gdb.reverse/insn-reverse.exp
13723 * gdb.reverse/machinestate-precsave.exp
13724 * gdb.reverse/machinestate.exp
13725 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13726 * gdb.reverse/pipe-reverse.exp
13727 * gdb.reverse/readv-reverse.exp
13728 * gdb.reverse/recvmsg-reverse.exp
13729 * gdb.reverse/rerun-prec.exp
13730 * gdb.reverse/s390-mvcle.exp
13731 * gdb.reverse/sigall-precsave.exp
13732 * gdb.reverse/sigall-reverse.exp
13733 * gdb.reverse/solib-precsave.exp
13734 * gdb.reverse/solib-reverse.exp
13735 * gdb.reverse/step-precsave.exp
13736 * gdb.reverse/step-reverse.exp
13737 * gdb.reverse/time-reverse.exp
13738 * gdb.reverse/until-precsave.exp
13739 * gdb.reverse/until-reverse.exp
13740 * gdb.reverse/waitpid-reverse.exp
13741 * gdb.reverse/watch-precsave.exp
13742 * gdb.reverse/watch-reverse.exp
13743
cdc7edd7
LM
137442016-12-01 Luis Machado <lgustavo@codesourcery.com>
13745
13746 Fix test names starting with uppercase throughout the files.
13747
13748 * gdb.arch/i386-mpx-simple_segv.exp
13749 * gdb.arch/i386-mpx.exp
13750 * gdb.arch/i386-permbkpt.exp
13751 * gdb.arch/pa-nullify.exp
13752 * gdb.arch/powerpc-d128-regs.exp
13753 * gdb.arch/vsx-regs.exp
13754 * gdb.base/bfp-test.exp
13755 * gdb.base/break.exp
13756 * gdb.base/breakpoint-shadow.exp
13757 * gdb.base/callfuncs.exp
13758 * gdb.base/charset.exp
13759 * gdb.base/commands.exp
13760 * gdb.base/completion.exp
13761 * gdb.base/dfp-test.exp
13762 * gdb.base/echo.exp
13763 * gdb.base/ending-run.exp
13764 * gdb.base/eval.exp
13765 * gdb.base/expand-psymtabs.exp
13766 * gdb.base/float128.exp
13767 * gdb.base/floatn.exp
13768 * gdb.base/foll-exec-mode.exp
13769 * gdb.base/gdb1056.exp
13770 * gdb.base/gdb11531.exp
13771 * gdb.base/kill-after-signal.exp
13772 * gdb.base/multi-forks.exp
13773 * gdb.base/overlays.exp
13774 * gdb.base/pending.exp
13775 * gdb.base/sepdebug.exp
13776 * gdb.base/testenv.exp
13777 * gdb.base/valgrind-db-attach.exp
13778 * gdb.base/watch_thread_num.exp
13779 * gdb.base/watchpoint-cond-gone.exp
13780 * gdb.base/watchpoint.exp
13781 * gdb.base/watchpoints.exp
13782 * gdb.cp/arg-reference.exp
13783 * gdb.cp/baseenum.exp
13784 * gdb.cp/operator.exp
13785 * gdb.cp/shadow.exp
13786 * gdb.dwarf2/dw2-op-out-param.exp
13787 * gdb.dwarf2/dw2-reg-undefined.exp
13788 * gdb.go/chan.exp
13789 * gdb.go/hello.exp
13790 * gdb.go/integers.exp
13791 * gdb.go/methods.exp
13792 * gdb.go/package.exp
13793 * gdb.guile/scm-parameter.exp
13794 * gdb.guile/scm-progspace.exp
13795 * gdb.guile/scm-value.exp
13796 * gdb.mi/mi-pending.exp
13797 * gdb.mi/user-selected-context-sync.exp
13798 * gdb.multi/multi-attach.exp
13799 * gdb.multi/tids.exp
13800 * gdb.opt/clobbered-registers-O2.exp
13801 * gdb.pascal/floats.exp
13802 * gdb.pascal/integers.exp
13803 * gdb.python/py-block.exp
13804 * gdb.python/py-events.exp
13805 * gdb.python/py-parameter.exp
13806 * gdb.python/py-symbol.exp
13807 * gdb.python/py-symtab.exp
13808 * gdb.python/py-type.exp
13809 * gdb.python/py-value.exp
13810 * gdb.python/py-xmethods.exp
13811 * gdb.python/python.exp
13812 * gdb.reverse/break-precsave.exp
13813 * gdb.reverse/consecutive-precsave.exp
13814 * gdb.reverse/finish-precsave.exp
13815 * gdb.reverse/i386-precsave.exp
13816 * gdb.reverse/machinestate-precsave.exp
13817 * gdb.reverse/sigall-precsave.exp
13818 * gdb.reverse/solib-precsave.exp
13819 * gdb.reverse/step-precsave.exp
13820 * gdb.reverse/until-precsave.exp
13821 * gdb.reverse/watch-precsave.exp
13822 * gdb.server/ext-attach.exp
13823 * gdb.server/ext-restart.exp
13824 * gdb.server/ext-run.exp
13825 * gdb.server/ext-wrapper.exp
13826 * gdb.stabs/gdb11479.exp
13827 * gdb.stabs/weird.exp
13828 * gdb.threads/attach-many-short-lived-threads.exp
13829 * gdb.threads/kill.exp
13830 * gdb.threads/watchpoint-fork.exp
13831
bc6c7af4
LM
138322016-12-01 Luis Machado <lgustavo@codesourcery.com>
13833
13834 Fix test names starting with uppercase throughout all the files below.
13835
13836 * gdb.ada/array_return.exp
13837 * gdb.ada/catch_ex.exp
13838 * gdb.ada/info_exc.exp
13839 * gdb.ada/mi_catch_ex.exp
13840 * gdb.ada/mi_dyn_arr.exp
13841 * gdb.ada/mi_ex_cond.exp
13842 * gdb.ada/mi_exc_info.exp
13843 * gdb.ada/mi_interface.exp
13844 * gdb.ada/mi_task_arg.exp
13845 * gdb.ada/mi_task_info.exp
13846 * gdb.ada/mi_var_array.exp
13847 * gdb.arch/alpha-step.exp
13848 * gdb.arch/amd64-disp-step.exp
13849 * gdb.arch/arm-disp-step.exp
13850 * gdb.arch/disp-step-insn-reloc.exp
13851 * gdb.arch/e500-prologue.exp
13852 * gdb.arch/ftrace-insn-reloc.exp
13853 * gdb.arch/gdb1558.exp
13854 * gdb.arch/i386-bp_permanent.exp
13855 * gdb.arch/i386-disp-step.exp
13856 * gdb.arch/i386-float.exp
13857 * gdb.arch/i386-gnu-cfi.exp
13858 * gdb.arch/ia64-breakpoint-shadow.exp
13859 * gdb.arch/mips16-thunks.exp
13860 * gdb.arch/pa-nullify.exp
13861 * gdb.arch/powerpc-aix-prologue.exp
13862 * gdb.arch/powerpc-power.exp
13863 * gdb.arch/ppc-dfp.exp
13864 * gdb.arch/s390-tdbregs.exp
13865 * gdb.arch/spu-info.exp
13866 * gdb.arch/spu-ls.exp
13867 * gdb.arch/thumb-bx-pc.exp
13868 * gdb.base/advance.exp
13869 * gdb.base/annota-input-while-running.exp
13870 * gdb.base/arrayidx.exp
13871 * gdb.base/asmlabel.exp
13872 * gdb.base/async.exp
13873 * gdb.base/attach-wait-input.exp
13874 * gdb.base/auto-connect-native-target.exp
13875 * gdb.base/batch-preserve-term-settings.exp
13876 * gdb.base/bfp-test.exp
13877 * gdb.base/bigcore.exp
13878 * gdb.base/bp-permanent.exp
13879 * gdb.base/break-always.exp
13880 * gdb.base/break-fun-addr.exp
13881 * gdb.base/break-idempotent.exp
13882 * gdb.base/break-main-file-remove-fail.exp
13883 * gdb.base/break-probes.exp
13884 * gdb.base/break-unload-file.exp
13885 * gdb.base/break.exp
13886 * gdb.base/call-ar-st.exp
13887 * gdb.base/call-rt-st.exp
13888 * gdb.base/call-sc.exp
13889 * gdb.base/call-signal-resume.exp
13890 * gdb.base/call-strs.exp
13891 * gdb.base/callexit.exp
13892 * gdb.base/callfuncs.exp
13893 * gdb.base/catch-gdb-caused-signals.exp
13894 * gdb.base/catch-signal-siginfo-cond.exp
13895 * gdb.base/catch-syscall.exp
13896 * gdb.base/compare-sections.exp
13897 * gdb.base/cond-eval-mode.exp
13898 * gdb.base/condbreak-call-false.exp
13899 * gdb.base/consecutive-step-over.exp
13900 * gdb.base/cursal.exp
13901 * gdb.base/disabled-location.exp
13902 * gdb.base/disasm-end-cu.exp
13903 * gdb.base/display.exp
13904 * gdb.base/double-prompt-target-event-error.exp
13905 * gdb.base/dprintf-bp-same-addr.exp
13906 * gdb.base/dprintf-detach.exp
13907 * gdb.base/dprintf-next.exp
13908 * gdb.base/dprintf-non-stop.exp
13909 * gdb.base/dprintf-pending.exp
13910 * gdb.base/dso2dso.exp
13911 * gdb.base/ending-run.exp
13912 * gdb.base/enum_cond.exp
13913 * gdb.base/examine-backward.exp
13914 * gdb.base/exe-lock.exp
13915 * gdb.base/exec-invalid-sysroot.exp
13916 * gdb.base/execl-update-breakpoints.exp
13917 * gdb.base/execution-termios.exp
13918 * gdb.base/fileio.exp
13919 * gdb.base/fixsection.exp
13920 * gdb.base/foll-exec-mode.exp
13921 * gdb.base/foll-exec.exp
13922 * gdb.base/fork-running-state.exp
13923 * gdb.base/frame-args.exp
13924 * gdb.base/fullpath-expand.exp
13925 * gdb.base/func-ptr.exp
13926 * gdb.base/gcore-relro-pie.exp
13927 * gdb.base/gdb1090.exp
13928 * gdb.base/gdb1555.exp
13929 * gdb.base/global-var-nested-by-dso.exp
13930 * gdb.base/gnu-ifunc.exp
13931 * gdb.base/hbreak-in-shr-unsupported.exp
13932 * gdb.base/hbreak-unmapped.exp
13933 * gdb.base/hook-stop.exp
13934 * gdb.base/infcall-input.exp
13935 * gdb.base/info-fun.exp
13936 * gdb.base/info-shared.exp
13937 * gdb.base/interrupt-noterm.exp
13938 * gdb.base/jit-so.exp
13939 * gdb.base/jit.exp
13940 * gdb.base/line-symtabs.exp
13941 * gdb.base/list.exp
13942 * gdb.base/longjmp.exp
13943 * gdb.base/macscp.exp
13944 * gdb.base/max-value-size.exp
13945 * gdb.base/nodebug.exp
13946 * gdb.base/nofield.exp
13947 * gdb.base/overlays.exp
13948 * gdb.base/paginate-after-ctrl-c-running.exp
13949 * gdb.base/paginate-bg-execution.exp
13950 * gdb.base/paginate-inferior-exit.exp
13951 * gdb.base/pending.exp
13952 * gdb.base/pr11022.exp
13953 * gdb.base/printcmds.exp
13954 * gdb.base/ptr-typedef.exp
13955 * gdb.base/ptype.exp
13956 * gdb.base/randomize.exp
13957 * gdb.base/range-stepping.exp
13958 * gdb.base/realname-expand.exp
13959 * gdb.base/relativedebug.exp
13960 * gdb.base/remote.exp
13961 * gdb.base/savedregs.exp
13962 * gdb.base/sepdebug.exp
13963 * gdb.base/set-noassign.exp
13964 * gdb.base/shlib-call.exp
13965 * gdb.base/shreloc.exp
13966 * gdb.base/sigaltstack.exp
13967 * gdb.base/sigbpt.exp
13968 * gdb.base/siginfo-addr.exp
13969 * gdb.base/siginfo-obj.exp
13970 * gdb.base/siginfo-thread.exp
13971 * gdb.base/signest.exp
13972 * gdb.base/signull.exp
13973 * gdb.base/sigrepeat.exp
13974 * gdb.base/skip.exp
13975 * gdb.base/so-impl-ld.exp
13976 * gdb.base/solib-corrupted.exp
13977 * gdb.base/solib-disc.exp
13978 * gdb.base/solib-display.exp
13979 * gdb.base/solib-overlap.exp
13980 * gdb.base/solib-search.exp
13981 * gdb.base/solib-symbol.exp
13982 * gdb.base/source-execution.exp
13983 * gdb.base/sss-bp-on-user-bp-2.exp
13984 * gdb.base/sss-bp-on-user-bp.exp
13985 * gdb.base/stack-checking.exp
13986 * gdb.base/stale-infcall.exp
13987 * gdb.base/step-break.exp
13988 * gdb.base/step-line.exp
13989 * gdb.base/step-over-exit.exp
13990 * gdb.base/step-test.exp
13991 * gdb.base/structs.exp
13992 * gdb.base/sym-file.exp
13993 * gdb.base/symtab-search-order.exp
13994 * gdb.base/term.exp
13995 * gdb.base/type-opaque.exp
13996 * gdb.base/unload.exp
13997 * gdb.base/until-nodebug.exp
13998 * gdb.base/until.exp
13999 * gdb.base/unwindonsignal.exp
14000 * gdb.base/watch-cond.exp
14001 * gdb.base/watch-non-mem.exp
14002 * gdb.base/watch_thread_num.exp
14003 * gdb.base/watchpoint-reuse-slot.exp
14004 * gdb.base/watchpoint-solib.exp
14005 * gdb.base/watchpoint.exp
14006 * gdb.btrace/dlopen.exp
14007 * gdb.cell/arch.exp
14008 * gdb.cell/break.exp
14009 * gdb.cell/bt.exp
14010 * gdb.cell/core.exp
14011 * gdb.cell/data.exp
14012 * gdb.cell/dwarfaddr.exp
14013 * gdb.cell/ea-cache.exp
14014 * gdb.cell/ea-standalone.exp
14015 * gdb.cell/ea-test.exp
14016 * gdb.cell/f-regs.exp
14017 * gdb.cell/fork.exp
14018 * gdb.cell/gcore.exp
14019 * gdb.cell/mem-access.exp
14020 * gdb.cell/ptype.exp
14021 * gdb.cell/registers.exp
14022 * gdb.cell/sizeof.exp
14023 * gdb.cell/solib-symbol.exp
14024 * gdb.cell/solib.exp
14025 * gdb.compile/compile-tls.exp
14026 * gdb.cp/exception.exp
14027 * gdb.cp/gdb2495.exp
14028 * gdb.cp/local.exp
14029 * gdb.cp/mb-inline.exp
14030 * gdb.cp/mb-templates.exp
14031 * gdb.cp/pr10687.exp
14032 * gdb.cp/pr9167.exp
14033 * gdb.cp/scope-err.exp
14034 * gdb.cp/templates.exp
14035 * gdb.cp/virtfunc.exp
14036 * gdb.dwarf2/dw2-dir-file-name.exp
14037 * gdb.dwarf2/dw2-single-line-discriminators.exp
14038 * gdb.fortran/complex.exp
14039 * gdb.fortran/library-module.exp
14040 * gdb.guile/guile.exp
14041 * gdb.guile/scm-cmd.exp
14042 * gdb.guile/scm-frame-inline.exp
14043 * gdb.guile/scm-objfile.exp
14044 * gdb.guile/scm-pretty-print.exp
14045 * gdb.guile/scm-symbol.exp
14046 * gdb.guile/scm-type.exp
14047 * gdb.guile/scm-value.exp
14048 * gdb.linespec/keywords.exp
14049 * gdb.linespec/ls-errs.exp
14050 * gdb.linespec/macro-relative.exp
14051 * gdb.linespec/thread.exp
14052 * gdb.mi/mi-breakpoint-changed.exp
14053 * gdb.mi/mi-dprintf-pending.exp
14054 * gdb.mi/mi-fullname-deleted.exp
14055 * gdb.mi/mi-logging.exp
14056 * gdb.mi/mi-pending.exp
14057 * gdb.mi/mi-solib.exp
14058 * gdb.mi/new-ui-mi-sync.exp
14059 * gdb.mi/user-selected-context-sync.exp
14060 * gdb.multi/dummy-frame-restore.exp
14061 * gdb.multi/multi-arch-exec.exp
14062 * gdb.multi/remove-inferiors.exp
14063 * gdb.multi/watchpoint-multi-exit.exp
14064 * gdb.opt/solib-intra-step.exp
14065 * gdb.perf/backtrace.exp
14066 * gdb.perf/single-step.exp
14067 * gdb.perf/skip-command.exp
14068 * gdb.perf/skip-prologue.exp
14069 * gdb.perf/solib.exp
14070 * gdb.python/lib-types.exp
14071 * gdb.python/py-as-string.exp
14072 * gdb.python/py-bad-printers.exp
14073 * gdb.python/py-block.exp
14074 * gdb.python/py-breakpoint.exp
14075 * gdb.python/py-cmd.exp
14076 * gdb.python/py-events.exp
14077 * gdb.python/py-evthreads.exp
14078 * gdb.python/py-finish-breakpoint.exp
14079 * gdb.python/py-finish-breakpoint2.exp
14080 * gdb.python/py-frame-inline.exp
14081 * gdb.python/py-frame.exp
14082 * gdb.python/py-inferior.exp
14083 * gdb.python/py-infthread.exp
14084 * gdb.python/py-mi.exp
14085 * gdb.python/py-objfile.exp
14086 * gdb.python/py-pp-maint.exp
14087 * gdb.python/py-pp-registration.exp
14088 * gdb.python/py-prettyprint.exp
14089 * gdb.python/py-recurse-unwind.exp
14090 * gdb.python/py-shared.exp
14091 * gdb.python/py-symbol.exp
14092 * gdb.python/py-symtab.exp
14093 * gdb.python/py-template.exp
14094 * gdb.python/py-type.exp
14095 * gdb.python/py-unwind-maint.exp
14096 * gdb.python/py-unwind.exp
14097 * gdb.python/py-value.exp
14098 * gdb.python/python.exp
14099 * gdb.reverse/finish-reverse-bkpt.exp
14100 * gdb.reverse/insn-reverse.exp
14101 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14102 * gdb.reverse/solib-precsave.exp
14103 * gdb.reverse/solib-reverse.exp
14104 * gdb.stabs/gdb11479.exp
14105 * gdb.stabs/weird.exp
14106 * gdb.threads/fork-child-threads.exp
14107 * gdb.threads/fork-plus-threads.exp
14108 * gdb.threads/fork-thread-pending.exp
14109 * gdb.threads/forking-threads-plus-breakpoint.exp
14110 * gdb.threads/hand-call-in-threads.exp
14111 * gdb.threads/interrupted-hand-call.exp
14112 * gdb.threads/linux-dp.exp
14113 * gdb.threads/local-watch-wrong-thread.exp
14114 * gdb.threads/next-while-other-thread-longjmps.exp
14115 * gdb.threads/non-ldr-exit.exp
14116 * gdb.threads/pending-step.exp
14117 * gdb.threads/print-threads.exp
14118 * gdb.threads/process-dies-while-detaching.exp
14119 * gdb.threads/process-dies-while-handling-bp.exp
14120 * gdb.threads/pthreads.exp
14121 * gdb.threads/queue-signal.exp
14122 * gdb.threads/reconnect-signal.exp
14123 * gdb.threads/signal-command-handle-nopass.exp
14124 * gdb.threads/signal-command-multiple-signals-pending.exp
14125 * gdb.threads/signal-delivered-right-thread.exp
14126 * gdb.threads/signal-sigtrap.exp
14127 * gdb.threads/sigthread.exp
14128 * gdb.threads/staticthreads.exp
14129 * gdb.threads/stepi-random-signal.exp
14130 * gdb.threads/thread-unwindonsignal.exp
14131 * gdb.threads/thread_check.exp
14132 * gdb.threads/thread_events.exp
14133 * gdb.threads/tid-reuse.exp
14134 * gdb.threads/tls-nodebug.exp
14135 * gdb.threads/tls-shared.exp
14136 * gdb.threads/tls-so_extern.exp
14137 * gdb.threads/tls.exp
14138 * gdb.threads/wp-replication.exp
14139 * gdb.trace/actions-changed.exp
14140 * gdb.trace/actions.exp
14141 * gdb.trace/backtrace.exp
14142 * gdb.trace/change-loc.exp
14143 * gdb.trace/collection.exp
14144 * gdb.trace/deltrace.exp
14145 * gdb.trace/disconnected-tracing.exp
14146 * gdb.trace/entry-values.exp
14147 * gdb.trace/ftrace-lock.exp
14148 * gdb.trace/ftrace.exp
14149 * gdb.trace/infotrace.exp
14150 * gdb.trace/mi-trace-frame-collected.exp
14151 * gdb.trace/mi-trace-unavailable.exp
14152 * gdb.trace/mi-traceframe-changed.exp
14153 * gdb.trace/mi-tracepoint-changed.exp
14154 * gdb.trace/mi-tsv-changed.exp
14155 * gdb.trace/no-attach-trace.exp
14156 * gdb.trace/packetlen.exp
14157 * gdb.trace/passc-dyn.exp
14158 * gdb.trace/passcount.exp
14159 * gdb.trace/pending.exp
14160 * gdb.trace/pr16508.exp
14161 * gdb.trace/qtro.exp
14162 * gdb.trace/range-stepping.exp
14163 * gdb.trace/read-memory.exp
14164 * gdb.trace/report.exp
14165 * gdb.trace/save-trace.exp
14166 * gdb.trace/signal.exp
14167 * gdb.trace/stap-trace.exp
14168 * gdb.trace/status-stop.exp
14169 * gdb.trace/strace.exp
14170 * gdb.trace/tfile.exp
14171 * gdb.trace/tfind.exp
14172 * gdb.trace/trace-break.exp
14173 * gdb.trace/trace-condition.exp
14174 * gdb.trace/trace-enable-disable.exp
14175 * gdb.trace/trace-mt.exp
14176 * gdb.trace/tracecmd.exp
14177 * gdb.trace/tracefile-pseudo-reg.exp
14178 * gdb.trace/tspeed.exp
14179 * gdb.trace/tstatus.exp
14180 * gdb.trace/tsv.exp
14181 * gdb.trace/unavailable.exp
14182 * gdb.trace/while-dyn.exp
14183 * gdb.trace/while-stepping.exp
14184 * lib/gdb-guile.exp
14185 * lib/gdb.exp
14186 * lib/mi-support.exp
14187 * lib/pascal.exp
14188 * lib/perftest.exp
14189 * lib/prelink-support.exp
14190 * lib/selftest-support.exp
14191
ad02e4fe
SM
141922016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14193
14194 * Makefile.in: Include disable-implicit-rules.mk.
14195
22347e55
AA
141962016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14197
14198 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14199 non-byte-aligned bit fields.
14200
da5b30da
AA
142012016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14202
14203 PR gdb/12616
14204 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14205 respects the DW_AT_data_bit_offset attribute.
14206
b593ecca
SM
142072016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14208
14209 * gdb.base/default.exp: Fix output of "set language".
14210
3b165252
SM
142112016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14212
14213 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14214 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14215 make.
14216 * configure.ac: Remove checks for the make program.
14217 * configure: Re-generate.
14218
1a2f3d7f
KB
142192016-11-16 Kevin Buettner <kevinb@redhat.com>
14220
14221 * gdb.python/py-recurse-unwind.c (main): Add loop.
14222 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14223 to read_register() and gdb.parse_and_eval(). Make each code
14224 call a separate case that can be individually tested.
14225 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14226 proc. Call cont_and_backtrace for each of the code paths that
14227 we want to test in the unwinder.
14228
b7f38fda
AA
142292016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14230
14231 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14232 the definition of struct S.
14233
1f8db343
CM
142342016-11-11 Catherine Moore <clm@codesourcery.com>
14235
14236 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14237
fad0c9fb
PA
142382016-11-09 Pedro Alves <palves@redhat.com>
14239
14240 * gdb.base/commands.exp (runto_or_return): New procedure.
14241 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14242 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14243 (progvar_simple_while_test, progvar_complex_if_while_test)
14244 (if_while_breakpoint_command_test)
14245 (infrun_breakpoint_command_test, breakpoint_command_test)
14246 (user_defined_command_test, watchpoint_command_test)
14247 (test_command_prompt_position, redefine_hook_test)
14248 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14249 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14250 multi_line_input and multi_line. Remove gdb_expect and
14251 gdb_stop_suppressing_tests uses.
14252 * lib/gdb.exp (valnum_re): New global.
14253 (multi_line_input): New procedure.
14254
8354c62c
SM
142552016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14256
14257 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14258 Remove.
14259 (test_setup): Define with proc_with_prefix.
14260 (test_cli_inferior): Likewise.
14261 (test_cli_thread): Likewise.
14262 (test_cli_frame): Likewise.
14263 (test_cli_select_frame): Likewise.
14264 (test_cli_up_down): Likewise.
14265 (test_mi_thread_select): Likewise.
14266 (test_mi_stack_select_frame): Likewise.
14267 (test_cli_in_mi_inferior): Likewise.
14268 (test_cli_in_mi_thread): Likewise.
14269 (test_cli_in_mi_frame): Likewise.
14270 (top level): Do not use with_test_prefix_procname.
14271
64f367a2
PA
142722016-11-09 Pedro Alves <palves@redhat.com>
14273
14274 * gdb.base/commands.exp (gdbvar_simple_if_test)
14275 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14276 (progvar_simple_if_test, progvar_simple_while_test)
14277 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14278 (infrun_breakpoint_command_test, breakpoint_command_test)
14279 (user_defined_command_test, watchpoint_command_test)
14280 (test_command_prompt_position, deprecated_command_test)
14281 (bp_deleted_in_command, temporary_breakpoint_commands)
14282 (stray_arg0_test, source_file_with_indented_comment)
14283 (recursive_source_test, if_commands_test)
14284 (error_clears_commands_left, redefine_hook_test)
14285 (redefine_backtrace_test): Use proc_with_prefix.
14286 * lib/gdb.exp (proc_with_prefix): New proc.
14287
0bb65f1e
AA
142882016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14289
14290 * gdb.base/tui-layout.c: New file.
14291 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14292 disassembly window contains very long lines.
14293
7353f247
TT
142942016-11-08 Tom Tromey <tom@tromey.com>
14295
14296 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14297 depend on Python 2.
14298
30a7bb83
TT
142992016-11-08 Tom Tromey <tom@tromey.com>
14300
14301 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14302 New method.
14303
cdf5a07c
MG
143042016-10-29 Manish Goregaokar <manish@mozilla.com>
14305
2806dc7e 14306 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14307
51a789c3
MG
143082016-10-27 Manish Goregaokar <manish@mozilla.com>
14309
2806dc7e
PA
14310 * gdb.rust/simple.rs: Add test for univariant enums without
14311 discriminants and for encoded struct-like enums.
51a789c3 14312
f610ab6d
PA
143132016-10-28 Pedro Alves <palves@redhat.com>
14314
14315 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14316 gdb_test_multiple, tighten regexps and match symtabs and line
14317 tables incrementally.
14318
b129b0ca
LM
143192016-10-28 Luis Machado <lgustavo@codesourcery.com>
14320
14321 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14322 general.
14323
ecf45d2c
SL
143242016-10-25 Luis Machado <lgustavo@codesourcery.com>
14325
14326 * gdb.base/exec-invalid-sysroot.exp: New file.
14327
b8d38ee4
JK
143282016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14329
14330 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14331
f90fd8c2
JK
143322016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14333
14334 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14335
2d2476aa
MR
143362016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14337
2806dc7e
PA
14338 * gdb.base/killed-outside.exp: Remove $options from a call to
14339 `prepare_for_testing'.
2d2476aa 14340
e42b25a0
SM
143412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14342
14343 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14344 Change test message.
14345
3ccdb432
SM
143462016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14347
14348 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14349 Update comment.
14350
5bad3170
SM
143512016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14352
14353 * gdb.trace/mi-trace-save.exp: New file.
14354
5ad9dba7
YQ
143552016-10-13 Yao Qi <yao.qi@linaro.org>
14356
14357 * gdb.base/code_elim.exp (get_var_address): Remove.
14358 * gdb.base/relocate.exp: Likewise.
14359 * gdb.base/shreloc.exp: Likewise.
14360 * lib/gdb.exp (get_var_address): New.
14361
62df7e21
YQ
143622016-10-13 Yao Qi <yao.qi@linaro.org>
14363
14364 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14365 floating point tests if $skip_float_test is false.
14366
4dac951e
LM
143672016-10-12 Luis Machado <lgustavo@codesourcery.com>
14368
14369 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14370 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14371 argc values.
14372 Add 1 to argc so we guarantee distinct initial/modified argc values.
14373
8f1a8fc4
JK
143742016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14375
14376 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14377
16c85b5d
JK
143782016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14379
14380 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14381 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14382 * gdb.arch/vsx-regs.exp: Likewise.
14383
1d0e042a
YQ
143842016-10-07 Yao Qi <yao.qi@linaro.org>
14385
14386 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14387
68dadef5
MM
143882016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14389
14390 * gdb.python/python.exp: Test decode_line("*0").
14391
33fa2c6e
DE
143922016-10-06 Doug Evans <dje@google.com>
14393
14394 * gdb.python/py-value.exp (test_value_creation): Add test for large
14395 unsigned 64-bit value.
14396
9c37b5ae
TT
143972016-10-06 Tom Tromey <tom@tromey.com>
14398
14399 * gdb.compile/compile.exp: Change java tests to rust.
14400 * gdb.base/setshow.exp: Change java tests to rust.
14401 * gdb.base/default.exp: Remove java from language list.
14402 * README (Examples): Update language example.
14403 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14404 test.
14405 * lib/gdb.exp (skip_java_tests): Remove.
14406 * lib/java.exp: Remove.
14407 * gdb.java: Remove.
14408
78b86327
MR
144092016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14410
14411 * gdb.arch/mips-fcr.exp: New test.
14412 * gdb.arch/mips-fcr.c: Source for the new test.
14413
7470adbb
MR
144142016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14415
14416 * gdb.base/solib-disc.exp: Use `standard_output_file'
14417 throughout.
14418
4a556533
PA
144192016-10-06 Pedro Alves <palves@redhat.com>
14420
14421 * gdb.base/jit-simple-dl.c: New file.
14422 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14423 * gdb.base/jit-simple.c: ... this.
14424 * gdb.base/jit-simple.exp (jit_run): Delete.
14425 (build_jit): New proc.
14426 (jit_test_reread): Recompile either the main program or the shared
14427 library, depending on what is being tested. Skip changing address
14428 if caller wants to. Compare before/after addresses. If testing
14429 standalone, explicitly load the binary. Test "maint info
14430 breakpoints".
14431 (top level): Add "standalone vs shared lib" and "change address"
14432 vs "same address" axes.
14433
5a122fbc
PA
144342016-10-06 Pedro Alves <palves@redhat.com>
14435
14436 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14437 call.
14438 (jit_run): Delete.
14439 (jit_test_reread): Use with_test_prefix. Reload the main binary
14440 explicitly. Compare the before/after addresses of the JIT
14441 descriptor.
14442
ee8da4b8
DE
144432016-08-15 Doug Evans <dje@google.com>
14444
14445 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14446 for single bitfields is bool.
14447 * gdb.xml/tdesc-regs.exp: Ditto.
14448
f389f6fe
JK
144492016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14450
14451 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14452
fdebf1a4
YQ
144532016-10-05 Yao Qi <yao.qi@linaro.org>
14454
14455 * lib/gdb.exp (support_complex_tests): Return zero if
14456 gdb_skip_float_test return true.
14457
9c36d954 144582016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14459 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14460
14461 PR gdb/20487
14462 * gdb.mi/user-selected-context-sync.exp: New file.
14463 * gdb.mi/user-selected-context-sync.c: New file.
14464
4034d0ff 144652016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14466 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14467
14468 PR gdb/20487
14469 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14470 =thread-select-event check.
14471
a4297203
PB
144722016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14473
14474 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14475 the compulsory L operand changes.
14476 * gdb.arch/powerpc-power.s: Likewise.
14477
bb805577
JK
144782016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14479
14480 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14481 * gdb.base/jit-attach-pie.c: New file.
14482 * gdb.base/jit-attach-pie.exp: New file.
14483
6d61dee5
PA
144842016-09-28 Pedro Alves <palves@redhat.com>
14485
14486 * gdb.base/infcall-input.c: New file.
14487 * gdb.base/infcall-input.exp: New file.
14488
f73842fc
YQ
144892016-09-22 Yao Qi <yao.qi@linaro.org>
14490
14491 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14492 (gdb_exit): Rename it to ...
14493 (gdbserver_gdb_exit): ... Close GDBserver.
14494 (gdb_exit): New proc, call gdbserver_gdb_exit.
14495 (mi_gdb_exit): Likewise.
14496
90681dab
YQ
144972016-09-22 Yao Qi <yao.qi@linaro.org>
14498
14499 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14500 path.
14501 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14502 Remove duplication.
14503
9c211fd8
YQ
145042016-09-22 Yao Qi <yao.qi@linaro.org>
14505
14506 * lib/gdbserver-support.exp: Check the existence of
14507 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14508
ad0a504f
AK
145092016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14510
14511 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14512
36cf1806
TT
145132016-09-21 Tom Tromey <tom@tromey.com>
14514
14515 PR gdb/20604:
14516 * gdb.base/quit.exp: New file.
14517
74172ecf
SM
145182016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14519
14520 * .gitignore: New file.
14521
3d0ec882
MR
145222016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14523
14524 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14525 throughout.
14526
8193adea
AA
145272016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14528
14529 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14530
d41a5c09
JK
145312016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14532
14533 * gdb.cp/casts.cc (decltype): Move it ...
14534 (main): ... with its call to ...
14535 * gdb.cp/casts03.cc: ... a new file.
14536 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14537
d2dfe700
JK
145382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14539
14540 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14541
e2a92b16
PB
145422016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14543
14544 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14545 and sync up the test with tests in gas/testsuite/gas/ppc.
14546 * gdb.arch/powerpc-power.exp: Likewise.
14547
49b4de64
JK
145482016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14549
14550 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14551
2c29df25
SDJ
145522016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14553 Jan Kratochvil <jan.kratochvil@redhat.com>
14554
14555 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14556 make m1's definition to be different from m2's. Use 'dummy' as an
14557 argument for probe 'two'.
14558
cc3c2846
JB
145592016-09-10 Jon Beniston <jon@beniston.com>
14560
14561 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14562 for sim target.
14563
e1b2624a
AA
145642016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14565
14566 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14567 variable declaration.
14568 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14569 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14570 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14571 received HWCAP as its argument.
14572
4295e285
PA
145732016-09-06 Pedro Alves <palves@redhat.com>
14574
14575 * gdb.base/new-ui-pending-input.c: New file.
14576 * gdb.base/new-ui-pending-input.exp: New file.
14577 * gdb.exp (clear_gdb_spawn_id): New procedure.
14578 (with_spawn_id): Check whether gdb_spawn_id exists before
14579 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14580 on exit.
14581
00d5215e
UW
145822016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14583
14584 * gdb.base/float128.c: New file.
14585 * gdb.base/float128.exp: Likewise.
14586 * gdb.base/floatn.c: Likewise.
14587 * gdb.base/floatn.exp: Likewise.
14588
a9ff5f12
UW
145892016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14590
14591 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14592
f245535c
PA
145932016-09-05 Pedro Alves <palves@redhat.com>
14594
14595 PR backtrace/19927
14596 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14597 unwinders are immediately called as side effect of "source" or
14598 "disable unwinder" commands.
14599 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14600
ae9cf263
YQ
146012016-09-02 Yao Qi <yao.qi@linaro.org>
14602
14603 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14604 is true and $type is "float" or "double".
14605
27aba047
YQ
146062016-09-02 Yao Qi <yao.qi@linaro.org>
14607
14608 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14609 true.
14610 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14611 * gdb.base/call-rt-st.exp: Likewise.
14612 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14613 return value instead of gdb,skip_float_test.
14614 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14615 (do_function_calls): Use its return value instead of
14616 gdb,skip_float_test.
14617 * gdb.base/finish.exp: Likewise.
14618 * gdb.base/funcargs.exp: Likewise.
14619 * gdb.base/return.exp: Likewise.
14620 * gdb.base/return2.exp: Likewise.
14621 * gdb.base/varargs.exp: Likewise.
14622 * lib/gdb.exp (gdb_skip_float_test): Change it to
14623 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14624
5af962df
AA
146252016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14626
14627 * gdb.multi/tids.exp: Test "thread apply all".
14628
7fac6910
JK
146292016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14630
14631 * gdb.base/default.exp (tty): Remove.
14632
bb1fe4ac
KB
146332016-08-24 Kevin Buettner <kevinb@redhat.com>
14634
2806dc7e
PA
14635 * gdb.python/py-recurse-unwind.c: New file.
14636 * gdb.python/py-recurse-unwind.py: New file.
14637 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14638
0a1ddfa6
SM
146392016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14640
14641 * gdb.base/set-inferior-tty.exp: New file.
14642 * gdb.base/set-inferior-tty.c: New file.
14643
d9de1fe3
PA
146442016-08-23 Pedro Alves <palves@redhat.com>
14645
14646 PR gdb/20494
14647 * gdb.base/new-ui-echo.c: New file.
14648 * gdb.base/new-ui-echo.exp: New file.
14649
e9d9abd7
YQ
146502016-08-23 Yao Qi <yao.qi@linaro.org>
14651
14652 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14653 gdbserver_spawn.
14654 * gdb.server/connect-without-multi-process.exp (do_test):
14655 Likewise.
14656
3589529e
YQ
146572016-08-23 Yao Qi <yao.qi@linaro.org>
14658
14659 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14660 standalone_txt. Delete gdb_txt and standalone_txt on host
14661 and target. Spawn the binary on target. Copy files from
14662 target to host.
14663
6bb90213
PA
146642016-08-22 Pedro Alves <palves@redhat.com>
14665
14666 PR gdb/20505
14667 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14668 with_test_prefix. Factor out bits to ...
14669 (test_no_vdso): ... this new procedure.
14670
20c2c024
CL
146712016-08-19 Carl Love <cel@us.ibm.com>
14672
14673 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14674 maintaining separate logic for constructing the output path.
14675 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14676 * gdb.arch/ppc-dfp.exp: Likewise.
14677 * gdb.arch/ppc-fp.exp: Likewise.
14678 * gdb.arch/vsx-regs.exp: Likewise.
14679 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14680 binprefix for generating the additional binary files.
14681
0646e07d
PA
146822016-08-19 Pedro Alves <palves@redhat.com>
14683
14684 * gdb.trace/mi-trace-frame-collected.exp
14685 (test_trace_frame_collected): On x32, expect two registers.
14686
46da9242
CL
146872016-08-18 Carl Love <cel@us.ibm.com>
14688
14689 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14690 and sync up the test with tests in gas/testsuite/gas/ppc.
14691 * gdb.arch/powerpc-power.exp: Likewise.
14692
eb2332d7
SM
146932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14694
14695 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14696 expected error message.
14697
63c61e04
SM
146982016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14699
14700 * gdb.multi/remove-inferiors.exp: New file.
14701 * gdb.multi/remove-inferiors.c: New file.
14702
7b17065f
YQ
147032016-08-12 Yao Qi <yao.qi@linaro.org>
14704
14705 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14706 argument list.
14707
01d3dedf
PA
147082016-08-10 Pedro Alves <palves@redhat.com>
14709
14710 PR gdb/19187
14711 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14712 setup_kfails.
14713
3eb7562a
PA
147142016-08-09 Pedro Alves <palves@redhat.com>
14715 Simon Marchi <simon.marchi@ericsson.com>
14716
14717 PR gdb/20418
14718 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14719 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14720
80614914
PA
147212016-08-09 Pedro Alves <palves@redhat.com>
14722
14723 PR mi/20431
14724 * gdb.mi/mi-cmd-error.exp: New file.
14725
f348d89a
PA
147262016-08-09 Pedro Alves <palves@redhat.com>
14727
14728 PR gdb/18653
14729 * gdb.base/signals-state-child.c: New file.
14730 * gdb.base/signals-state-child.exp: New file.
14731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14732
e5ca03b4
PA
147332016-08-09 Pedro Alves <palves@redhat.com>
14734
14735 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14736
282a0691
TT
147372016-08-03 Tom Tromey <tom@tromey.com>
14738
14739 PR python/18565:
14740 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14741
41bfcd63
YQ
147422016-08-01 Yao Qi <yao.qi@linaro.org>
14743
14744 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14745 variable mode to "multi-process" if $multi_process is 1, otherwise
14746 set it to "single-process".
14747
e3465b24
YQ
147482016-08-01 Yao Qi <yao.qi@linaro.org>
14749
14750 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14751 * gdb.cp/cpexprs.exp: Likewise.
14752 * gdb.cp/m-static.exp: Likewise.
14753
0b31a4bc
TT
147542016-07-26 Tom Tromey <tom@tromey.com>
14755
14756 PR python/20190:
14757 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14758 test.
14759
e0461dbb
MM
147602016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14761
14762 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14763 selecting assembly source files.
14764 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14765 assembly source files.
14766 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14767 assembly source files.
14768 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14769 selecting assembly source files.
14770
8194e927
SM
147712016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14772
14773 * gdb.base/new-ui.exp (do_test_invalid_args): New
14774 procedure.
14775
c0272db5
TW
147762016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14777
14778 * gdb.btrace/reconnect.c: New file.
14779 * gdb.btrace/reconnect.exp: New file.
14780
e3487908
GKB
147812016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14782
14783 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14784 to test_catch_syscall_group.
14785 (test_catch_syscall_group): New.
14786
12df5c00
TT
147872016-07-21 Tom Tromey <tom@tromey.com>
14788
14789 * gdb.rust/simple.rs (main): Use empty struct expression.
14790 * gdb.rust/simple.exp: Add tests for empty struct expression.
14791
bae62ee2
YQ
147922016-07-21 Yao Qi <yao.qi@linaro.org>
14793
14794 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14795 if gdb_skip_xml_test is true on some targets.
14796
b1b53fb3
YQ
147972016-07-21 Yao Qi <yao.qi@linaro.org>
14798
14799 * gdb.server/solib-list.exp: Unset last_loaded_file.
14800
027d97f8
JK
148012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14802
14803 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14804 "step into captured_main (args)".
14805
7674d381
JK
148062016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14807
14808 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14809
72b5d099
JK
148102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14811
14812 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14813
1f960ced
PA
148142016-07-19 Pedro Alves <palves@redhat.com>
14815
14816 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14817 * gdb.opt/inline-bt.exp: Likewise.
14818 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14819 additional_flags=-Winline.
14820 * gdb.opt/inline-locals.exp: Likewise.
14821 * gdb.opt/inline-markers.c (ATTR): Define.
14822 (inlined_fn): Use it.
14823
f25827c1
YQ
148242016-07-19 Yao Qi <yao.qi@linaro.org>
14825
14826 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14827 (test_with_self): Remove some code. Remove argument executable.
14828 (top-level): Use do_self_tests.
14829
37539ebe
DB
148302016-07-15 Zachary Welch <zwelch@codesourcery.com>
14831 Don Breazeal <donb@codesourcery.com>
14832
14833 * gdb.base/maint.exp: Escape paths used in regular expressions.
14834 * gdb.stabs/weird.exp: Likewise.
14835
dac790e1
TT
148362016-07-13 Tom Tromey <tom@tromey.com>
14837
14838 PR python/15620, PR python/18620:
14839 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14840 (test_bkpt_events): New procs.
14841
93daf339
TT
148422016-07-13 Tom Tromey <tom@tromey.com>
14843
14844 PR python/17698:
14845 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14846 test.
14847 (test_watchpoints): Likewise.
14848 (test_bkpt_pending): New proc.
14849
6571a381
TT
148502016-07-13 Tom Tromey <tom@tromey.com>
14851
14852 PR cli/18053:
14853 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14854 completion test.
14855
e8732474
JK
148562016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14857
14858 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14859 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14860 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14861 f_label.
14862 (g): Rename g_end_lbl to g_label.
14863 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14864 low_pc and high_pc.
14865 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14866
e0f3fd7c
TT
148672016-07-12 Tom Tromey <tom@tromey.com>
14868
14869 PR python/19293:
14870 * gdb.python/py-unwind-maint.exp: Update tests.
14871
3cfe46b6
YQ
148722016-07-12 Yao Qi <yao.qi@linaro.org>
14873
14874 * lib/selftest-support.exp (selftest_setup): Match the output
14875 when captured_main is inlined.
14876
4f19a0e6
WT
148772016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14878
14879 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14880 New variables.
14881 (print this%a, print this%b, print this): New tests.
14882 * gdb.fortran/derived-types.f90 (this): New object and
14883 initialization.
14884
986cf455
SM
148852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14886
14887 * gdb.ada/arraydim.exp: Remove extra directory level in build
14888 directory.
14889
f0464b23
SM
148902016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14891
14892 * lib/ada.exp: Remove extra directory level in build directory.
14893 * gdb.ada/cond_lang.exp: Likewise.
14894 * gdb.ada/exec_changed.exp: Likewise.
14895 * gdb.ada/lang_switch.exp: Likewise.
14896
42d94011
MG
148972016-07-06 Manish Goregaokar <manish@mozilla.com>
14898
2806dc7e
PA
14899 * simple.rs: Add test for raw pointer subscripting.
14900 * simple.exp: Add test expectations.
42d94011 14901
647c264c
YQ
149022016-07-05 Yao Qi <yao.qi@linaro.org>
14903
14904 * gdb.mi/mi-reverse.exp: Match =record-started output.
14905
20aa2c60
PA
149062016-07-01 Pedro Alves <palves@redhat.com>
14907
14908 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14909 procedure.
14910 (jit_reader_test): Test the jit reader's unwinder.
14911 * gdb.base/jithost.c (jit_function_00_code): New global.
14912 (main): Use memcpy to fill in the mmapped code, instead of poking
14913 bytes manually here.
14914 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14915 value.
14916 (read_debug_info): Save the function's range.
14917 (read_sp): New function.
14918 (unwind_frame): Use it. Also unwind RBP.
14919 (get_frame_id): Use read_sp.
14920 (gdb_init_reader): Use calloc instead of malloc.
14921 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14922 parameter. Use gdb_test_multiple.
14923
ced2dffb
PA
149242016-07-01 Pedro Alves <palves@redhat.com>
14925 Antoine Tremblay <antoine.tremblay@ericsson.com>
14926
14927 * gdb.threads/process-dies-while-detaching.c: New file.
14928 * gdb.threads/process-dies-while-detaching.exp: New file.
14929
63000888
PA
149302016-07-01 Pedro Alves <palves@redhat.com>
14931
14932 * gdb.multi/watchpoint-multi-exit.c: New file.
14933 * gdb.multi/watchpoint-multi-exit.exp: New file.
14934
038d4868
PA
149352016-06-30 Pedro Alves <palves@redhat.com>
14936
14937 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14938 unset inferior_spawn_id.
14939
994e9c83
PA
149402016-06-30 Pedro Alves <palves@redhat.com>
14941
14942 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14943 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14944
e5653468
YQ
149452016-06-29 Yao Qi <yao.qi@linaro.org>
14946
14947 * gdb.base/return.c: Add copyright header.
14948
803b47e5
TT
149492016-06-29 Tom Tromey <tom@tromey.com>
14950
14951 PR python/20129:
14952 * gdb.python/py-framefilter.exp: Add tests for setting priority
14953 and disabling of non-existent frame filter.
14954
28244707
YQ
149552016-06-29 Yao Qi <yao.qi@linaro.org>
14956
14957 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14958 0x0f07ff.
14959
a31d2f06
YQ
149602016-06-28 Yao Qi <yao.qi@linaro.org>
14961
14962 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14963 triplets. Start gdb, execute catch syscall, and continue. Check
14964 gdb's output to determine catch syscall is supported.
14965
921d8f54
MG
149662016-06-27 Manish Goregaokar <manish@mozilla.com>
14967
25d49b86
PA
14968 * gdb.rust/simple.rs: Add test for returning unit in a function.
14969 * gdb.rust/simple.exp: Add expectation for functions returning
14970 unit.
921d8f54 14971
f4952523
PMR
149722016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14973
14974 * gdb.python/py-breakpoint-create-fail.c,
14975 gdb.python/py-breakpoint-create-fail.exp,
14976 gdb.python/py-breakpoint-create-fail.py: New testcase.
14977
fccb08f8
MG
149782016-06-25 Manish Goregaokar <manish@mozilla.com>
14979
14980 PR gdb/20239
14981 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14982 * gdb.rust/simple.exp: Add test expectations for new NonZero
14983 tests.
fccb08f8 14984
6b850546
DT
149852016-06-24 David Taylor <dtaylor@emc.com>
14986
14987 * gdb.base/offsets.exp: New file.
14988 * gdb.base/offsets.c: New file.
14989
17621150
TT
149902016-06-23 Tom Tromey <tom@tromey.com>
14991
14992 PR gdb/16483:
14993 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14994 before any filters are loaded.
14995
04d59df6
WT
149962016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14997
14998 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14999 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15000 structs.
15001 * gdb.fortran/derived-type-function.exp: New file.
15002 * gdb.fortran/derived-type-function.f90: New file.
15003
15004
ac69f786
PA
150052016-06-21 Pedro Alves <palves@redhat.com>
15006
15007 * gdb.base/new-ui.exp: New file.
15008 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15009 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15010 (with_spawn_id): New procedure.
15011
49940788
PA
150122016-06-21 Pedro Alves <palves@redhat.com>
15013
15014 * gdb.mi/mi-exec-run.exp: New file.
15015
ef274d26
PA
150162016-06-21 Pedro Alves <palves@redhat.com>
15017
15018 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15019 breakpoint command's output on the main UI.
15020 (test_break): New procedure, factored out from calls in the top
15021 level.
15022 (top level): Use foreach_with_prefix to test MI as main UI and as
15023 separate UI.
15024
468afe6c
PA
150252016-06-21 Pedro Alves <palves@redhat.com>
15026
15027 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15028 (test_awatch_creation_and_listing)
15029 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15030 Remove 'type' parameter.
15031 (test_watchpoint_all): New parameter mi_mode. Remove
15032 with_test_prefix.
15033 (top level): Use foreach_with_prefix, and add main/separate UI MI
15034 testing axis.
15035
51f77c37
PA
150362016-06-21 Pedro Alves <palves@redhat.com>
15037
15038 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15039 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15040 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15041 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15042 (gdb_main_spawn_id, mi_spawn_id): Declare and
15043 comment.
15044 (mi_create_inferior_pty): New procedure,
15045 factored out from default_mi_gdb_start.
15046 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15047 procedures.
15048 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15049 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15050 Use mi_create_inferior_pty.
15051 (mi_gdb_start): Use eval to pass down args list.
15052
8980e177
PA
150532016-06-21 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15056 * gdb.opt/inline-cmds.exp: Add MI tests.
15057
f38d3ad1
PA
150582016-06-21 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15061
45db7c09
PA
150622016-06-21 Pedro Alves <palves@redhat.com>
15063
15064 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15065 (top level): Use it instead of mi_execute_to.
15066
5a069ab3
PA
150672016-06-21 Pedro Alves <palves@redhat.com>
15068
15069 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15070 (cont_handler_str): New.
15071 (signal_stop_handler): Set stop_handler_str instead of printing to
15072 stdout.
15073 (continue_handler): Set cont_handler_str instead of printing to
15074 stdout.
15075 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15076 mi_send_resuming_command. Print stop_handler_str and
15077 cont_handler_str instead of expecting the python events print
15078 directly.
15079
2838cc1d
SD
150802016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15081
15082 * gdb.base/jit-reader.exp: New file.
15083 * gdb.base/jithost.c: New file.
15084 * gdb.base/jithost.h: New file.
15085 * gdb.base/jitreader.c : New file.
15086 * gdb.base/jit-protocol.h: New file.
15087
21a77091
YQ
150882016-06-17 Yao Qi <yao.qi@linaro.org>
15089
15090 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15091 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15092 and detach-on-fork. Adjust tests.
15093 (top level): Invoke break_cond_on_syscall with combinations of
15094 syscall, follow-fork-mode and detach-on-fork.
15095
f50bf8e5
YQ
150962016-06-17 Yao Qi <yao.qi@linaro.org>
15097
15098 * gdb.base/step-over-exit.c: New.
15099 * gdb.base/step-over-exit.exp: New.
15100
a28d8e50
YTL
151012016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15102
15103 * gdb.base/float.exp: Add target check for nds32*-*-*.
15104 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15105
cad8e26d
AB
151062016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15107
15108 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15109 for unsupported target features.
15110 * gdb.base/call-rt-st.exp: Likewise.
15111 * gdb.base/call-sc.exp: Likewise.
15112 * gdb.base/call-signal-resume.exp: Likewise.
15113 * gdb.base/call-strs.exp: Likewise.
15114 * gdb.base/callexit.exp: Likewise.
15115 * gdb.base/callfuncs.exp: Likewise.
15116 * gdb.base/nodebug.exp: Likewise.
15117 * gdb.base/printcmds.exp: Likewise.
15118 * gdb.base/ptype.exp: Likewise.
15119 * gdb.base/structs.exp: Likewise.
15120 * gdb.base/unwindonsignal.exp: Likewise.
15121 * gdb.cp/gdb2495.exp: Likewise.
15122 * gdb.cp/templates.exp: Likewise.
15123 * gdb.cp/virtfunc.exp: Likewise.
15124 * gdb.threads/hand-call-in-threads.exp: Likewise.
15125 * gdb.threads/interrupted-hand-call.exp: Likewise.
15126 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15127
347dc102
TT
151282016-06-10 Tom Tromey <tom@tromey.com>
15129
15130 PR rust/20110:
15131 * gdb.rust/expr.exp: Add test for integer constant larger than
15132 i32.
15133
5e13cf25
BH
151342016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15135
15136 * gdb.fortran/nested-funcs.exp: New.
15137 * gdb.fortran/nested-funcs.f90: New.
15138
bb556f1f
TK
151392016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15140
15141 * gdb.base/examine-backward.c: New file.
15142 * gdb.base/examine-backward.exp: New file.
15143
38b022b4
SM
151442016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15145
15146 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15147 matching.
15148
1b40ec05
TT
151492016-06-02 Tom Tromey <tom@tromey.com>
15150
15151 PR python/18984:
15152 * gdb.python/py-shared.exp: Add solib_name test.
15153
193bd378
SM
151542016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15155
15156 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15157
3326303b
MG
151582016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15159
15160 PR c++/19893
15161 * gdb.dwarf2/implref.exp: Rename to...
15162 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15163 * gdb.dwarf2/implref-array.c: New file.
15164 * gdb.dwarf2/implref-array.exp: Likewise.
15165 * gdb.dwarf2/implref-global.c: Likewise.
15166 * gdb.dwarf2/implref-global.exp: Likewise.
15167 * gdb.dwarf2/implref-struct.c: Likewise.
15168 * gdb.dwarf2/implref-struct.exp: Likewise.
15169
825c8ef2
AT
151702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15171
15172 * gdb.trace/trace-condition.exp: Add 64bit tests.
15173
2320162a
AT
151742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15175
15176 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15177 bits types.
15178 (main): Adapt to 8 to 64 bits types.
15179 * gdb.trace/trace-condition.exp: Add new tests.
15180
a7818233
AT
151812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15182
15183 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15184
0d336466
AT
151852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15186
15187 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15188 Move condition tests...
15189 * gdb.trace/trace-condition.exp: Here.
15190
7faeb45a
AT
151912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15192
15193 * gdb.trace/trace-condition.exp: Add counter-case tests.
15194
e385593e
JK
151952016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15196
15197 PR c++/15231
15198 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15199 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15200
744608cc
PA
152012016-05-27 Pedro Alves <palves@redhat.com>
15202
15203 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15204 New procedure.
15205 (top level): Call it, and bail out of DejaGnu is known to be bad.
15206
ac775bf4
AB
152072016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15208
15209 * gdb.base/whatis.c: Extend the test case.
15210 * gdb.base/whatis.exp: Add additional tests.
15211
2bbad2ea
BH
152122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15213
15214* gdb.fortran/type.f90: Add pointer variable.
15215* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15216
8b70175d
BH
152172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15218
15219 * gdb.fortran/vla-type.exp: Fix testcase name.
15220
86d8a848
BH
152212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15222
15223 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15224
e188eb36
BH
152252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15226
15227 * gdb.fortran/type.f90: Add nested structures.
15228 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15229 * gdb.fortran/derived-type.exp: Adapt expected output.
15230 * gdb.fortran/vla-type.exp: Adapt expected output.
15231
9b2db1fd
BH
152322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15233
15234 * gdb.fortran/whatis_type.exp: Adapt expected output.
15235
72b17055
BH
152362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15237
15238 * gdb.fortran/print_type.exp: Fix expected output.
15239 * gdb.fortran/whatis_type.exp: Fix expected output.
15240
3cd81d8d
BH
152412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15242
15243 * gdb.fortran/whatis_type.exp: Use multi_line.
15244
ddae9462
TT
152452016-05-24 Tom Tromey <tom@tromey.com>
15246
15247 PR python/17386:
15248 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15249 use value as an index.
15250
1957f6b8
TT
152512016-05-23 Tom Tromey <tom@tromey.com>
15252
15253 PR python/17981:
15254 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15255 no-breakpoint case.
15256
026a9174
PA
152572016-05-24 Pedro Alves <palves@redhat.com>
15258
15259 PR gdb/19828
15260 * gdb.threads/clone-attach-detach.c: New file.
15261 * gdb.threads/clone-attach-detach.exp: New file.
15262
e70a7231
FR
152632016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15264
15265 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15266
0f6ed0e0
TT
152672016-05-23 Tom Tromey <tom@tromey.com>
15268
15269 PR python/19438, PR python/18393:
15270 * gdb.python/py-progspace.exp: Add "dir" test.
15271 * gdb.python/py-objfile.exp: Add "dir" test.
15272
ffd19d61
YQ
152732016-05-23 Yao Qi <yao.qi@linaro.org>
15274
15275 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15276 * gdb.arch/thumb2-it.exp: Likewise.
15277
9e8f9b05
SM
152782016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15279
15280 * gdb.mi/mi-threads-interrupt.c: New file.
15281 * gdb.mi/mi-threads-interrupt.exp: New file.
15282
61c6156d
SM
152832016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15284
15285 PR gdb/18077
15286 * gdb.mi/mi-async-run.exp: New file.
15287 * gdb.mi/mi-async-run.c: New file.
15288
67218854
TT
152892016-05-17 Tom Tromey <tom@tromey.com>
15290 Manish Goregaokar <manishsmail@gmail.com>
15291
15292 * lib/rust-support.exp: New file.
15293 * lib/gdb.exp (skip_rust_tests): New proc.
15294 (build_executable_from_specs): Handle rust.
15295 * lib/future.exp (gdb_find_rustc): New proc.
15296 (gdb_default_target_compile): Handle rust.
15297 * gdb.rust/expr.exp: New file.
15298 * gdb.rust/generics.exp: New file.
15299 * gdb.rust/generics.rs: New file.
15300 * gdb.rust/methods.exp: New file.
15301 * gdb.rust/methods.rs: New file.
15302 * gdb.rust/modules.exp: New file.
15303 * gdb.rust/modules.rs: New file.
15304 * gdb.rust/simple.exp: New file.
15305 * gdb.rust/simple.rs: New file.
15306
c44af4eb
TT
153072016-05-17 Tom Tromey <tom@tromey.com>
15308
15309 * gdb.base/default.exp (set language): Add rust.
15310
dcd1f979
TT
153112016-05-17 Tom Tromey <tom@tromey.com>
15312
15313 * gdb.gdb/unittest.exp: New file.
15314
155b7f57
YQ
153152016-05-16 Yao Qi <yao.qi@linaro.org>
15316
15317 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15318 shell_prompt. Update shell_prompt_re.
15319
8ddd5a6c
DE
153202016-05-12 Doug Evans <dje@google.com>
15321
15322 PR symtab/19999
15323 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15324 $options when building executable.
15325 * gdb.dwarf2/fission-loclists-pie.S: New file.
15326 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15327
02e370d9
SM
153282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15329
15330 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15331 of [is_remote target],
15332
8929ad8b
SM
153332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15334
15335 * lib/gdb.exp (use_gdb_stub): New procedure.
15336
6c447423
DE
153372016-05-03 Yunlian Jiang <yunlian@google.com>
15338 Doug Evans <dje@google.com>
15339
15340 PR symtab/19914
15341 * gdb.dwarf2/dwp-sepdebug.c: New file.
15342 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15343
444e826c
SM
153442016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15345
15346 * gdb.base/detach.exp: Remove is_remote check.
15347
740feeaa
SM
153482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15349
15350 * gdb.base/annota-input-while-running.exp: Don't check for
15351 [is_remote target]. Enable annotations after running to main.
15352 Remove unused "set test..." line.
15353
9080ac9d
SM
153542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15355
15356 * gdb.trace/trace-enable-disable.exp: New file.
15357 * gdb.trace/trace-enable-disable.c: New file.
15358
952ebca5
SM
153592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15360
15361 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15362 use it in info sharedlibrary test.
15363 * gdb.trace/ftrace-lock.exp: Likewise.
15364 * gdb.trace/ftrace.exp: Likewise.
15365 * gdb.trace/range-stepping.exp: Likewise.
15366 * gdb.trace/trace-break.exp: Likewise.
15367 * gdb.trace/trace-condition.exp: Likewise.
15368 * gdb.trace/trace-mt.exp: Likewise.
15369
d9019901
SM
153702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15371
15372 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15373 (gdb_load_shlib): ... this.
15374 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15375 gdb_load_shlib.
15376 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15377 * gdb.base/ctxobj.exp: Likewise.
15378 * gdb.base/dprintf-pending.exp: Likewise.
15379 * gdb.base/dso2dso.exp: Likewise.
15380 * gdb.base/fixsection.exp: Likewise.
15381 * gdb.base/gcore-relro.exp: Likewise.
15382 * gdb.base/gdb1555.exp: Likewise.
15383 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15384 * gdb.base/gnu-ifunc.exp: Likewise.
15385 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15386 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15387 * gdb.base/pending.exp: Likewise.
15388 * gdb.base/print-file-var.exp: Likewise.
15389 * gdb.base/print-symbol-loading.exp: Likewise.
15390 * gdb.base/shlib-call.exp: Likewise.
15391 * gdb.base/shreloc.exp: Likewise.
15392 * gdb.base/so-impl-ld.exp: Likewise.
15393 * gdb.base/solib-disc.exp: Likewise.
15394 * gdb.base/solib-nodir.exp: Likewise.
15395 * gdb.base/solib-overlap.exp: Likewise.
15396 * gdb.base/solib-symbol.exp: Likewise.
15397 * gdb.base/solib-weak.exp (do_test): Likewise.
15398 * gdb.base/sym-file.exp: Likewise.
15399 * gdb.base/symtab-search-order.exp: Likewise.
15400 * gdb.base/type-opaque.exp: Likewise.
15401 * gdb.base/unload.exp: Likewise.
15402 * gdb.base/watchpoint-solib.exp: Likewise.
15403 * gdb.compile/compile.exp: Likewise.
15404 * gdb.cp/gdb2384.exp: Likewise.
15405 * gdb.cp/infcall-dlopen.exp: Likewise.
15406 * gdb.cp/re-set-overloaded.exp: Likewise.
15407 * gdb.fortran/library-module.exp: Likewise.
15408 * gdb.opt/solib-intra-step.exp: Likewise.
15409 * gdb.python/py-finish-breakpoint.exp: Likewise.
15410 * gdb.python/py-shared.exp: Likewise.
15411 * gdb.reverse/solib-precsave.exp: Likewise.
15412 * gdb.reverse/solib-reverse.exp: Likewise.
15413 * gdb.server/solib-list.exp: Likewise.
15414 * gdb.threads/dlopen-libpthread.exp: Likewise.
15415 * gdb.threads/tls-shared.exp: Likewise.
15416 * gdb.threads/tls-so_extern.exp: Likewise.
15417 * gdb.trace/change-loc.exp: Likewise.
15418 * gdb.trace/ftrace-lock.exp: Likewise.
15419 * gdb.trace/ftrace.exp: Likewise.
15420 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15421 * gdb.trace/pending.exp: Likewise.
15422 * gdb.trace/range-stepping.exp: Likewise.
15423 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15424 (strace_info_marker): Likewise.
15425 (strace_probe_marker): Likewise.
15426 (strace_trace_on_same_addr): Likewise.
15427 (strace_trace_on_diff_addr): Likewise.
15428 * gdb.trace/trace-break.exp: Likewise.
15429 * gdb.trace/trace-condition.exp: Likewise.
15430 * gdb.trace/trace-mt.exp: Likewise.
15431
fca4cfd9
SM
154322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15433
15434 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15435 result of gdb_remote_download.
15436 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15437 * gdb.base/dso2dso.exp: Likewise.
15438 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15439 * gdb.base/print-file-var.exp: Likewise.
15440 * gdb.base/shlib-call.exp: Likewise.
15441 * gdb.base/shreloc.exp: Likewise.
15442 * gdb.base/solib-overlap.exp: Likewise.
15443 * gdb.base/solib-weak.exp (do_test): Likewise.
15444 * gdb.base/unload.exp: Likewise.
15445
11cf4ffb
YQ
154462016-04-27 Yao Qi <yao.qi@linaro.org>
15447
15448 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15449 exists.
15450
3e2e34f8
KB
154512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15452
15453 * vla-type.exp: Print structure from toplevel.
15454
8f07e298
BH
154552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15456
15457 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15458 of dynamic types.
15459 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15460 of dynamic types.
15461
9920b434
BH
154622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15463
15464 * gdb.fortran/vla-type.f90: New file.
15465 * gdb.fortran/vla-type.exp: New file.
15466
f3abeff5
YQ
154672016-04-25 Yao Qi <yao.qi@linaro.org>
15468
15469 * gdb.base/branch-to-self.c: New file.
15470 * gdb.base/branch-to-self.exp: New file.
15471
0a5d52f0
YQ
154722016-04-22 Yao Qi <yao.qi@linaro.org>
15473
15474 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15475 more after $hex.
15476
495346f6
YQ
154772016-04-22 Yao Qi <yao.qi@linaro.org>
15478
15479 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15480 * gdb.base/annota3.exp: Likewise.
15481
4a7e075c
YQ
154822016-04-22 Yao Qi <yao.qi@linaro.org>
15483
15484 * gdb.reverse/step-precsave.exp: Do one step and test program
15485 stops in "callee" and do multiple steps until program goes out
15486 of "callee".
15487 * gdb.reverse/step-reverse.exp: Likewise.
15488
5b061e98
YQ
154892016-04-22 Yao Qi <yao.qi@linaro.org>
15490
15491 * gdb.trace/signal.exp: Also pass if
15492 $tracepoint_hits($i) > $iterations.
15493
5c5dc57f
YQ
154942016-04-22 Yao Qi <yao.qi@linaro.org>
15495
15496 * gdb.trace/signal.c: New file.
15497 * gdb.trace/signal.exp: New file.
15498
a55411b9
DE
154992016-04-19 Doug Evans <xdje42@gmail.com>
15500
15501 * gdb.base/bad-file.exp: New file.
15502
a22df60a
MG
155032016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15504
15505 * gdb.dwarf2/implref.exp: New file.
15506
0c13f7e5
BH
155072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15508
15509 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15510 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15511 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15512 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15513 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15514 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15515 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15516 * lib/fortran.exp (fortran_int4): New procedure.
15517 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15518 (fortran_logical4): Likewise.
15519
9b9b09e9
BH
155202016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15521
15522 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15523
a14d1f4d
BH
155242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15525
15526 * lib/compiler.c: Add Intel specific preprocessor macros.
15527 * lib/compiler.cc: Likewise.
25d49b86 15528
7d49b1d0
LM
155292016-04-13 Luis Machado <lgustavo@codesourcery.com>
15530
15531 * gdb.server/connect-with-no-symbol-file.c: New file.
15532 * gdb.server/connect-with-no-symbol-file.exp: New file.
15533
8392fa22
SM
155342016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15535
15536 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15537
8c4c4aeb
SM
155382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15539
15540 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15541 standard output directory.
15542
45e3745e
AT
155432016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15544
15545 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15546
e26b7e41
MM
155472016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15548
15549 * gdb.btrace/instruction_history.c (loop): Add declaration.
15550
8ce09462
AT
155512016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15552
15553 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15554
2e88a1ea
SM
155552016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15556
15557 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15558 parentheses to print.
15559 (continue_handler): Likewise.
15560
f48e22e3
SM
155612016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15562
15563 * gdb.server/solib-list.exp: Remove is_remote check.
15564 Pass shlib= to gdb_compile. Don't link shared library with
15565 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15566 Run binary filename through "readlink -f" on the target.
15567
096be756
PA
155682016-04-08 Pedro Alves <palves@redhat.com>
15569
15570 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15571 interpreter filename as argument to gdbserver_spawn.
15572 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15573 Return empty if $last_loaded_file does not exist.
15574
06500533
JK
155752016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15576
15577 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15578 * gdb.base/jit-main.c: Use exit after usage.
15579
2d35e871
JK
155802016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15581
15582 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15583 GDBHISTSIZE prior to the tests.
15584 * gdb.base/gdbinit-history.exp: Likewise.
15585
155862016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15587
15588 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15589 instead of build_executable. Use gdb_load_shlibs.
15590
c8064e7e
YQ
155912016-04-07 Yao Qi <yao.qi@linaro.org>
15592
15593 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15594 Execute "si" command.
15595
bde47561
YQ
155962016-04-07 Yao Qi <yao.qi@linaro.org>
15597
15598 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15599 number instead of the comments on some line.
15600
b16f8a3b
DB
156012016-04-06 Don Breazeal <donb@codesourcery.com>
15602
15603 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15604 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15605
c2f901df
SM
156062016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15607
15608 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15609 standard_output_file. Remove unused binfile variable.
15610
ac17fda0
CU
156112016-04-05 Catalin Udma <catalin.udma@freescale.com>
15612
15613 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15614 * gdb.python/py-mi-objfile.exp: Match "list main" output
15615 in console format.
15616
03a8c4df
SM
156172016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15618
15619 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15620 absolute.
15621
6e774b13
SM
156222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15623
15624 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15625 absolute.
15626 * gdb.trace/ftrace.exp: Likewise.
15627 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15628 targets as well.
15629 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15630 (gdb_load_shlibs): Copy libraries to test directory when testing
15631 natively. Only set solib-search-path if testing remotely.
15632 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15633
7817ea46
SM
156342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15635
15636 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15637 gdb_download. Use it even if the target is not remote.
15638 * gdb.base/jit.exp (compile_jit_test): Likewise.
15639 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15640 output directory if the destination board is local, otherwise use
15641 the standard remote_download from DejaGnu.
15642 (gdb_download): Remove.
15643 (gdb_load_shlibs): Use gdb_remote_download instead of
15644 gdb_download.
15645 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15646 Use gdb_remote_download instead of gdb_download. Use it even if
15647 the target is not remote.
15648 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15649 instead of gdb_download.
15650
7beb7f68
SM
156512016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15652
15653 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15654 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15655 run.
15656
cc63428a
AV
156572016-04-01 Artemiy Volkov <artemiyv@acm.org>
15658
15659 PR gdb/19820
15660 * gdb.base/printcmds.exp: Add artificial arrays tests.
15661
64cdf930
PA
156622016-03-31 Pedro Alves <palves@redhat.com>
15663
15664 PR gdb/19858
15665 * gdb.base/jit-main.c: Include unistd.h.
15666 (ATTACH): Define to 0 if not already defined.
15667 (wait_for_gdb, mypid): New globals.
15668 (WAIT_FOR_GDB): New macro.
15669 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15670 some breakpoint locations.
15671 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15672 New procedures.
15673 (one_jit_test): Add REATTACH parameter, and handle it. Use
15674 continue_to_test_location.
15675 (top level): Test attach, and adjusts calls to one_jit_test.
15676
40dea8cb
PA
156772016-03-31 Pedro Alves <palves@redhat.com>
15678
15679 PR gdb/19858
15680 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15681 BINSUFFIX parameter, and handle it.
15682 (top level): Adjust calls compile_jit_test.
15683
e7ea3ec7
CU
156842016-03-31 Catalin Udma <catalin.udma@freescale.com>
15685
15686 PR python/19743
15687 * gdb.python/py-mi-events-gdb.py: New file.
15688 * gdb.python/py-mi-events.c: New file.
15689 * gdb.python/py-mi-events.exp: New file.
15690
e6359af3
YQ
156912016-03-30 Yao Qi <yao.qi@linaro.org>
15692
15693 * gdb.reverse/until-precsave.exp: Match function name only.
15694 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15695 Move malloc to a condition block.
15696 * gdb.reverse/until-reverse.exp: Match function name only.
15697
a4105d04
MK
156982016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15699
15700 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15701 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15702 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15703 variable for GPR 0 instead of assuming it is register 0.
15704 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15705 * lib/trace-support.exp: Add s390 registers.
15706
bfa6adb9
YQ
157072016-03-29 Yao Qi <yao.qi@linaro.org>
15708
15709 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15710
1e6697ea
YQ
157112016-03-24 Yao Qi <yao.qi@linaro.org>
15712
15713 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15714 test message.
15715
64bcd522
AA
157162016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15717
15718 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15719 maintaining separate logic for constructing the output path.
15720
7868401b
DB
157212016-03-16 Don Breazeal <donb@codesourcery.com>
15722
15723 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15724 Retry fork and waitpid on interrupted system call errors.
15725 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15726 Use with_timeout_factor to increase timeout by factor of 10.
15727
1cafadb4
DB
157282016-03-15 Don Breazeal <donb@codesourcery.com>
15729
15730 * gdb.cp/scope-err.cc: New test program.
15731 * gdb.cp/scope-err.exp: New test script.
15732 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15733 lines and "set breakpoint here" comment.
15734 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15735 Fixed some whitespace and format issues.
15736 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15737 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15738
81516450
DE
157392016-03-15 Doug Evans <dje@google.com>
15740
15741 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15742 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15743 All callers updated. Add tests for enums, mixed flags register.
15744
aa52b601
DE
157452016-03-15 Doug Evans <dje@google.com>
15746
15747 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15748 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15749
fa4ff313
SM
157502016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15751
15752 * gdb.base/default.exp: Add $_as_string to the list of expected
15753 convenience functions.
15754
f2403c39
AB
157552016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15756
15757 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15758
f2f3ccb9
SM
157592016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15760
15761 * gdb.python/py-as-string.exp: New file.
15762 * gdb.python/py-as-string.c: New file.
15763
00dbd492
PA
157642016-03-09 Pedro Alves <palves@redhat.com>
15765
15766 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15767 signal" -> "Thread NN received signal" output change.
15768 * gdb.threads/ia64-sigill.exp: Likewise.
15769 * gdb.threads/linux-dp.exp: Likewise.
15770 * gdb.threads/manythreads.exp: Likewise.
15771 * gdb.threads/pending-step.exp: Likewise.
15772 * gdb.threads/print-threads.exp: Likewise.
15773 * gdb.threads/sigstep-threads.exp: Likewise.
15774 * gdb.threads/staticthreads.exp: Likewise.
15775 * gdb.threads/tls.exp: Likewise.
15776
1e6697ea
YQ
157772016-03-09 Pedro Alves <palves@redhat.com>
15778
15779 * gdb.base/command-line-input.exp: New file.
15780
b04fd3be
MK
157812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15782
15783 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15784 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15785 * gdb.trace/pending.exp: Accept leading dot before function name.
15786 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15787 * lib/trace-support.exp: Set registers for ppc.
15788
98fa59e9
MK
157892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15790
15791 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15792 use it for disassembly; accept .main in addition to main in backtrace.
15793
f77198c8
MK
157942016-03-09 Wei-cheng Wang <cole945@gmail.com>
15795 Marcin Kościelnicki <koriakin@0x04.net>
15796
15797 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15798 (gdb_recursion_test_ptr): New global variable.
15799 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15800 gdb_recursion_test.
15801 (gdb_c_test): Ditto.
15802
ba84e0da
MK
158032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15804
15805 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15806 ordering.
15807
4366d36e
MK
158082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15809
15810 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15811 (bar): Add bar_start_lbl label.
15812 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15813 of foo/bar for emitting DWARF and tracing.
15814
5eb264df
SDJ
158152016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15816
15817 * analyze-racy-logs.py: Set executable bit.
15818
fb6a751f
SDJ
158192016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15820
15821 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15822 (CHECK_TARGET_TMP): Likewise.
15823 (check-single-racy): New rule.
15824 (check-parallel-racy): Likewise.
15825 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15826 (do-check-parallel-racy): New rule.
15827 (check-racy/%.exp): Likewise.
15828 * README (Racy testcases): New section.
15829 * analyze-racy-logs.py: New file.
15830
bdf7e230
DE
158312016-03-03 Doug Evans <dje@google.com>
15832
15833 * gdb.base/skip.exp: Use with_test_prefix.
15834
4719d415
YQ
158352016-03-03 Yao Qi <yao.qi@linaro.org>
15836
15837 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15838 Invoke step_over_syscall "clone" and break_cond_on_syscall
15839 "clone".
15840 * gdb.base/step-over-clone.c: New file.
15841
ea507862
YQ
158422016-03-03 Yao Qi <yao.qi@linaro.org>
15843
15844 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15845 code format.
15846
8fc8cbda
YQ
158472016-03-03 Yao Qi <yao.qi@linaro.org>
15848
15849 * gdb.base/disp-step-fork.c: Rename to ...
15850 * gdb.base/step-over-fork.c: ... it. New file.
15851 * gdb.base/disp-step-vfork.c: Rename to ...
15852 * gdb.base/step-over-vfork.c: ... it. New file.
15853 * gdb.base/disp-step-syscall.exp: Rename to ...
15854 * gdb.base/step-over-syscall.exp: ... it. New file.
15855 (disp_step_cross_syscall): Rename to ...
15856 (step_over_syscall): ... it.
15857
92fa70b0
YQ
158582016-03-03 Yao Qi <yao.qi@linaro.org>
15859
15860 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15861 If target supports condition evaluation on target, invoke
15862 break_cond_on_syscall for fork and vfork.
15863
e197ad3c
YQ
158642016-03-03 Yao Qi <yao.qi@linaro.org>
15865
15866 * gdb.base/disp-step-syscall.exp: Don't invoke
15867 support_displaced_stepping.
15868 (disp_step_cross_syscall): Test with displaced stepping off and
15869 on if supported.
15870
0b47da9f
YQ
158712016-03-03 Yao Qi <yao.qi@linaro.org>
15872
15873 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15874 proc.
15875 (setup): New proc.
15876 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15877 and setup.
15878
065ab6dc
BH
158792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15880
15881 * gdb.fortran/vla-history.exp: Remove breakpoint.
15882
07e448ad 158832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15884
25d49b86
PA
15885 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15886 exceeds timeout.
07e448ad 15887
9ac2d526 158882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15889
25d49b86
PA
15890 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15891 breakpoint.
9ac2d526 15892
17807369
BH
158932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15894
15895 * gdb.mi/vla.f90: Nullify pointer after declaration.
15896
86e501af
PA
158972016-03-01 Pedro Alves <palves@redhat.com>
15898
15899 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15900
1e903e32
PA
159012016-03-01 Pedro Alves <palves@redhat.com>
15902
15903 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15904 before anything else.
15905 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15906 _GNU_SOURCE here.
15907 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15908 before anything else.
15909 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15910
6ccb54e2
PA
159112016-03-01 Pedro Alves <palves@redhat.com>
15912
15913 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15914
30ca9da1
YQ
159152016-03-01 Yao Qi <yao.qi@linaro.org>
15916
15917 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15918 prepare_for_testing.
15919
dc856b38
YQ
159202016-03-01 Yao Qi <yao.qi@linaro.org>
15921
15922 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15923
4a932159
AA
159242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15925
15926 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15927 manually constructing the output path.
15928
f2489477
AA
159292016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15930
15931 * gdb.arch/s390-stackless.S: New.
15932 * gdb.arch/s390-stackless.exp: New.
15933
38899f16
IB
159342016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15935
15936 * gdb.dlang/circular.c: New file.
15937 * gdb.dlang/circular.exp: New file.
15938
9fde51ed
YQ
159392016-02-26 Yao Qi <yao.qi@linaro.org>
15940
15941 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15942 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15943 (testcases): Update.
15944
ce90fefe
YQ
159452016-02-26 Yao Qi <yao.qi@linaro.org>
15946
15947 * gdb.reverse/aarch64.c: Rename to ...
15948 * gdb.reverse/insn-reverse.c: ... it.
15949 * gdb.reverse/aarch64.exp: Rename to ...
15950 * gdb.reverse/insn-reverse.exp: ... it.
15951
3263bceb
YQ
159522016-02-26 Yao Qi <yao.qi@linaro.org>
15953
15954 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15955 (testcase_ftype): New.
15956 (testcases): New array.
15957 (n_testcases): New.
15958 (main): Call each element in testcases.
15959 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15960 (read_testcase): New.
15961 Do the tests in a loop.
15962
6cb59ff1
YQ
159632016-02-25 Yao Qi <yao.qi@linaro.org>
15964
15965 * gdb.base/branches.c: Remove.
15966
ae91f625
MK
159672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15968
15969 PR gdb/13808
15970 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15971
678b48b7
MK
159722016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15973
15974 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15975
7337a6f2
MK
159762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15977
15978 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15979 change x86_64 call_insn to 'callq'.
15980
861ca91f
AT
159812016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15982
15983 * gdb.trace/tfile-avx.c: Move to...
15984 * gdb.trace/tracefile-pseudo-reg.c: Here.
15985 * gdb.trace/tfile-avx.exp: Move to...
15986 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15987
bf74e428
GB
159882016-02-24 Gary Benson <gbenson@redhat.com>
15989
15990 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15991 message on attach.
15992
cce0e923
DE
159932016-02-23 Doug Evans <dje@google.com>
15994
15995 * gdb.base/skip.c (test_skip): New function.
15996 (end_test_skip_file_and_function): New function.
15997 (test_skip_file_and_function): New function.
15998 * gdb.base/skip1.c (test_skip): New function.
15999 (skip1_test_skip_file_and_function): New function.
16000 * gdb.base/skip.exp: Add tests for new skip options.
16001 * gdb.base/skip-solib.exp: Update expected output.
16002 * gdb.perf/skip-command.cc: New file.
16003 * gdb.perf/skip-command.exp: New file.
16004 * gdb.perf/skip-command.py: New file.
16005
4000e47e
MK
160062016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16007
16008 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16009 info registers pattern.
16010
24f75ead
IB
160112016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16012
16013 * lib/future.exp: Add D support.
16014 (gdb_find_gdc): New proc.
16015 (gdb_default_target_compile): Add D support.
16016
fbb7bcbe
WW
160172016-02-18 Wei-cheng Wang <cole945@gmail.com>
16018
16019 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16020 user+system time.
16021 (trace_speed_test): Determine the iteration count for a time
16022 between 15..30 seconds.
16023
012b3a21
WT
160242016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16025
16026 * gdb.arch/i386-mpx-sigsegv.c: New file.
16027 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16028 * gdb.arch/i386-mpx-simple_segv.c: New file.
16029 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16030
2d5189bd
YQ
160312016-02-18 Yao Qi <yao.qi@linaro.org>
16032
16033 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16034 Don't call setup_kfail.
16035
40fb20d0
YQ
160362016-02-18 Yao Qi <yao.qi@linaro.org>
16037
16038 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16039 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16040
21b1f8d2
DE
160412016-02-16 Doug Evans <dje@google.com>
16042
16043 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16044 * gdb.base/skip1.c: Ditto.
16045 * gdb.base/skip.exp: Whitespace cleanup.
16046
4041ed77
DB
160472016-02-16 Don Breazeal <donb@codesourcery.com>
16048
16049 PR remote/19496
16050 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16051 Remove kfail for PR remote/19496.
16052
c4ef31bf
SM
160532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16054
16055 * lib/gdb.exp (standard_temp_file): Return a path specific to
16056 the runtest invocation.
16057
266b65b3
SM
160582016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16059
16060 * gdb.trace/save-trace.exp: Change relative path to be in the
16061 standard output directory.
16062
a7a0a6a9
JK
160632016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16064
16065 * gdb.arch/i386-prologue.c: Add missing prototypes.
16066
c99dbb42
JK
160672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16068
16069 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16070 * gdb.arch/i386-prologue.exp: Likewise.
16071 * gdb.arch/i386-size.exp: Likewise.
16072
aa480355
SM
160732016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16074
16075 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16076 define object file path.
16077 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16078 file path.
16079 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16080 standard_output_file to define binfile.
16081
ba881f50
JK
160822016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16083
16084 Fix compatibility with recent gfortran-5.3.1.
16085 * gdb.fortran/vla-history.exp (print vla1 allocated)
16086 (print vla2 allocated, print $2, print $3): Remove
16087 (print $4): Rename to ...
16088 (print $2): ... here.
16089 (print $9): Rename to ...
16090 (print $5): ... here.
16091 (print $10): Rename to ...
16092 (print $6): ... here.
16093 * gdb.fortran/vla.f90: Add pvla initialization.
16094
e9fb005c
JK
160952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16096
16097 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16098 New test.
16099 * gdb.fortran/vla-value-sub.exp: Likewise.
16100
e44e00ff
MK
161012016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16102
16103 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16104
97e94151
SM
161052016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16106
16107 * i386-biarch-core.exp: Define corefile using
16108 standard_output_file.
16109
01113bc1
YQ
161102016-02-12 Yao Qi <yao.qi@linaro.org>
16111
16112 * gdb.arch/arm-single-step-kernel-helper.c: New.
16113 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16114
33b4777c
MM
161152016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16116
16117 * gdb.btrace/tailcall-only.exp: New.
16118 * gdb.btrace/tailcall-only.c: New.
16119 * gdb.btrace/x86_64-tailcall-only.S: New.
16120 * gdb.btrace/i686-tailcall-only.S: New.
16121
acc23c11
PA
161222016-02-11 Pedro Alves <palves@redhat.com>
16123
16124 * README (Parallel testing): Add missing double quotes.
16125
e352bf0a
PA
161262016-02-11 Pedro Alves <palves@redhat.com>
16127
16128 * README (Parallel testing): New section.
16129 (GDB_PARALLEL): Rewrite.
16130 (FORCE_PARALLEL): Document.
16131
9f5fed78
MK
161322016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16133
16134 * gdb.trace/tfile-avx.c: New test.
16135 * gdb.trace/tfile-avx.exp: New test.
16136
9ef9e6a6
KS
161372016-02-09 Keith Seitz <keiths@redhat.com>
16138
16139 PR breakpoints/19546
16140 * gdb.base/infcall-exec.c: New file.
16141 * gdb.base/infcall-exec2.c: New file.
16142 * gdb.base/infcall-exec.exp: New file.
16143
a96e36da
KS
161442016-02-09 Keith Seitz <keiths@redhat.com>
16145
16146 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16147 (toplevel): Call test_bkpt_address.
16148
9f61929f
KS
161492016-02-09 Keith Seitz <keiths@redhat.com>
16150
16151 PR python/19506
16152 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16153 (toplevel): Call test_bkpt_address.
16154
1e94266c
SM
161552016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16156
16157 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16158 to AC_OUTPUT.
16159 * configure: Regenerate.
16160
2a7f3dff
PA
161612016-02-09 Pedro Alves <palves@redhat.com>
16162
16163 PR breakpoints/19548
16164 * gdb.base/execl-update-breakpoints.c (some_function): New
16165 function.
16166 (main): Call it.
16167 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16168 Tighten expected GDB output.
16169
2151ccc5
SM
161702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16171
16172 * Makefile.in (ALL_SUBDIRS): Remove.
16173 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16174 (distclean maintainer-clean realclean): Likewise.
16175 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16176 * configure: Regenerate.
16177 * gdb.ada/Makefile.in: Delete.
16178 * gdb.arch/Makefile.in: Likewise.
16179 * gdb.asm/Makefile.in: Likewise.
16180 * gdb.base/Makefile.in: Likewise.
16181 * gdb.btrace/Makefile.in: Likewise.
16182 * gdb.cell/Makefile.in: Likewise.
16183 * gdb.compile/Makefile.in: Likewise.
16184 * gdb.cp/Makefile.in: Likewise.
16185 * gdb.disasm/Makefile.in: Likewise.
16186 * gdb.dlang/Makefile.in: Likewise.
16187 * gdb.dwarf2/Makefile.in: Likewise.
16188 * gdb.fortran/Makefile.in: Likewise.
16189 * gdb.gdb/Makefile.in: Likewise.
16190 * gdb.go/Makefile.in: Likewise.
16191 * gdb.guile/Makefile.in: Likewise.
16192 * gdb.java/Makefile.in: Likewise.
16193 * gdb.linespec/Makefile.in: Likewise.
16194 * gdb.mi/Makefile.in: Likewise.
16195 * gdb.modula2/Makefile.in: Likewise.
16196 * gdb.multi/Makefile.in: Likewise.
16197 * gdb.objc/Makefile.in: Likewise.
16198 * gdb.opencl/Makefile.in: Likewise.
16199 * gdb.opt/Makefile.in: Likewise.
16200 * gdb.pascal/Makefile.in: Likewise.
16201 * gdb.perf/Makefile.in: Likewise.
16202 * gdb.python/Makefile.in: Likewise.
16203 * gdb.reverse/Makefile.in: Likewise.
16204 * gdb.server/Makefile.in: Likewise.
16205 * gdb.stabs/Makefile.in: Likewise.
16206 * gdb.threads/Makefile.in: Likewise.
16207 * gdb.trace/Makefile.in: Likewise.
16208 * gdb.xml/Makefile.in: Likewise.
16209 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16210 GDB_PARALLEL.
16211 (standard_output_file): Remove check for GDB_PARALLEL, always
16212 return path in outputs/$subdir/$testname.
16213
437277d4
SM
162142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16215
16216 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16217 (site.exp): Assign abs_srcdir to tcl's srcdir.
16218
31d913c7
YQ
162192016-02-04 Yao Qi <yao.qi@linaro.org>
16220
16221 * gdb.base/foll-exec-mode.c: Include limits.h.
16222 (main): Add parameters argc and argv. Get directory from
16223 argv[0].
16224 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16225 compilation.
16226 * gdb.base/foll-exec.c: Include limits.h.
16227 (main): Add parameters argc and argv.
16228 Get directory from argv[0].
16229 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16230 Adjust tests on the number of lines as source code changed.
16231 * gdb.base/foll-vfork-exit.c: Include limits.h.
16232 (main): Add one line of statement before vfork.
16233 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16234 (main): Add parameters argc and argv. Get directory from
16235 argv[0].
16236 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16237 (setup_gdb): Set tbreak to skip some source lines.
16238 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16239 (main): Add parameters argc and argv. Get directory from
16240 argv[0].
16241 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16242 compilation.
16243 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16244 (main): Add parameters argc and argv. Get directory from
16245 argv[0].
16246 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16247 compilation.
16248
9482b9fb
DE
162492016-02-01 Doug Evans <dje@google.com>
16250
16251 * gdb.base/skip.exp: Clean up multiple references to same test name.
16252
6b2e4f10
PA
162532016-02-01 Pedro Alves <palves@redhat.com>
16254
ccb6afd6 16255 PR remote/19496
6b2e4f10
PA
16256 * gdb.threads/forking-threads-plus-breakpoint.exp
16257 (displaced_stepping_supported): New global.
16258 (probe_displaced_stepping_support): New procedure.
16259 (do_test): Add 'displaced' parameter, and use it.
16260 (top level): Check for displaced stepping support. Add displaced
16261 stepping on/off testing axis.
16262
37a8db1a
AB
162632016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16264
16265 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16266 pointer. Don't perform further tests on the unassociated pointer
16267 if the first test fails.
16268
5fdf6324
AB
162692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16270
16271 * gdb.base/max-value-size.c: New file.
16272 * gdb.base/max-value-size.exp: New file.
16273 * gdb.base/huge.exp: Disable max-value-size for this test.
16274
935c6144
IB
162752016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16276
16277 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16278
7fe8399d
YQ
162792016-01-28 Yao Qi <yao.qi@linaro.org>
16280
16281 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16282
a2077e25
PA
162832016-01-25 Pedro Alves <palves@redhat.com>
16284
16285 PR threads/19461
16286 * gdb.base/fork-running-state.c: New file.
16287 * gdb.base/fork-running-state.exp: New file.
16288
1d2736d4
PA
162892016-01-25 Pedro Alves <palves@redhat.com>
16290
16291 PR gdb/19494
16292 * gdb.base/catch-fork-kill.c: New file.
16293 * gdb.base/catch-fork-kill.exp: New file.
16294
f1da4b11
PA
162952016-01-25 Pedro Alves <palves@redhat.com>
16296
16297 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16298 Delete, moved to lib/gdb.exp.
16299 * gdb.threads/forking-threads-plus-breakpoint.exp
16300 (foreach_with_prefix): Likewise.
16301 * gdb.threads/process-dies-while-handling-bp.exp
16302 (foreach_with_prefix): Likewise.
16303 * lib/gdb.exp (foreach_with_prefix): New procedure.
16304
45f38546
MK
163052016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16306
16307 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16308 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16309
dc29a1ce
MK
163102016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16311
16312 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16313 endian targets.
16314
092127d7
JK
163152016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16316 Pedro Alves <palves@redhat.com>
16317
16318 Fix testsuite compatibility with Guile.
16319 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16320 number.
16321
31d765d3
JK
163222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16323
16324 Fix testsuite compatibility with Guile.
16325 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16326 (thread 1): New test for backtrace through signal handler.
16327
1ac78c04
YQ
163282016-01-22 Yao Qi <yao.qi@linaro.org>
16329
16330 PR testsuite/19491
16331 * gdb.base/multi-forks.c: Include
16332 ../lib/unbuffer_output.c
16333 (main): Call gdb_unbuffer_output.
16334
4f5946a8
DE
163352016-01-21 Doug Evans <dje@google.com>
16336
16337 * lib/ada.exp (gdb_compile_ada): Fix typo.
16338
305e13e6
JB
163392016-01-21 Joel Brobecker <brobecker@adacore.com>
16340
16341 * gdb.base/break-fun-addr.exp: New file.
16342 * gdb.base/break-fun-addr1.c: New file.
16343 * gdb.base/break-fun-addr2.c: New file.
16344
5f5dfff6
SM
163452016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16346
16347 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16348 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16349 enum flag values.
16350
fd356fa2
AA
163512016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16352
16353 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16354 when GDB can not set the vector return value. Add more comments
16355 for clarification.
16356
9df22175
AT
163572016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16358
16359 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16360 command.
16361
41d1845e
SM
163622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16363
16364 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16365
01ac6840
SM
163662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16367
16368 * Makefile.in (check-single): Pass --status to runtest.
16369 (check/%.exp): Likewise.
16370
163712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16372
16373 * Makefile.in (check-parallel): Propagate return code from make
16374 do-check-parallel.
16375
bd0a71fa
MK
163762016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16377
16378 * gdb.trace/ftrace.exp: Fix expected message on continue.
16379 * gdb.trace/pending.exp: Fix expected message on continue.
16380 * gdb.trace/trace-break.exp: Fix expected message on continue.
16381
8bcbad33
SM
163822016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16383
16384 * lib/gdb.exp (gdb_test): Remove unused global references.
16385
f303dbd6
PA
163862016-01-18 Pedro Alves <palves@redhat.com>
16387
16388 * gdb.base/async-shell.exp: Adjust expected output.
16389 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16390 * gdb.base/siginfo-thread.exp: Adjust expected output.
16391 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16392 * gdb.java/jnpe.exp: Adjust expected output.
16393 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16394 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16395 * gdb.threads/leader-exit.exp: Adjust expected output.
16396 * gdb.threads/manythreads.exp: Adjust expected output.
16397 * gdb.threads/pthreads.exp: Adjust expected output.
16398 * gdb.threads/schedlock.exp: Adjust expected output.
16399 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16400 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16401 expected output.
16402 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16403 output.
16404 * gdb.threads/sigthread.exp: Adjust expected output.
16405 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16406
b2789696
YQ
164072016-01-18 Yao Qi <yao.qi@linaro.org>
16408
16409 * gdb.guile/scm-section-script.c: Replace @progbits with
16410 %progbits.
16411 * gdb.python/py-section-script.c: Likewise.
16412
71ef29a8
PA
164132016-01-15 Pedro Alves <palves@redhat.com>
16414
16415 * gdb.multi/tids.exp: Test star wildcard ranges.
16416
3f5b7598
PA
164172016-01-15 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16420 command from "thread apply" invocation.
16421 (thr_apply_info_thr_invalid): Default the expected output to the
16422 input tid list.
16423 (top level): Add tests that use convenience variables. Add tests
16424 for "thread apply" with a valid TID list, but missing the command.
16425
663f6d42
PA
164262016-01-13 Pedro Alves <palves@redhat.com>
16427
16428 * gdb.base/default.exp: Expect $_gthread as well.
16429 * gdb.multi/tids.exp: Test $_gthread.
16430 * gdb.threads/thread-specific.exp: Test $_gthread.
16431
c84f6bbf
PA
164322016-01-13 Pedro Alves <palves@redhat.com>
16433
16434 * gdb.multi/tids.exp: Test "info threads -gid".
16435
22a02324
PA
164362016-01-13 Pedro Alves <palves@redhat.com>
16437
16438 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16439 Breakpoint.thread.
16440 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16441
5d5658a1
PA
164422016-01-07 Pedro Alves <palves@redhat.com>
16443
16444 * gdb.base/break.exp: Adjust to output changes.
16445 * gdb.base/hbreak2.exp: Likewise.
16446 * gdb.base/sepdebug.exp: Likewise.
16447 * gdb.base/watch_thread_num.exp: Likewise.
16448 * gdb.linespec/keywords.exp: Likewise.
16449 * gdb.multi/info-threads.exp: Likewise.
16450 * gdb.threads/thread-find.exp: Likewise.
16451 * gdb.multi/tids.c: New file.
16452 * gdb.multi/tids.exp: New file.
16453
84654457
PA
164542016-01-13 Pedro Alves <palves@redhat.com>
16455
16456 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16457
e3940304
PA
164582016-01-13 Pedro Alves <palves@redhat.com>
16459
16460 * gdb.base/default.exp: Expect $_inferior as well.
16461 * gdb.multi/base.exp: Test $_inferior.
16462
a911d87a
PA
164632016-01-13 Pedro Alves <palves@redhat.com>
16464
16465 PR breakpoints/19388
16466 * gdb.base/catch-signal-siginfo-cond.c: New file.
16467 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16468
82075af2
JS
164692016-01-12 Josh Stone <jistone@redhat.com>
16470 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16471
16472 * gdb.base/catch-syscall.c (do_execve): New variable.
16473 (main): Conditionally trigger an execve.
16474 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16475 (test_catch_syscall_execve): New, check entry/return across execve.
16476 (do_syscall_tests): Call test_catch_syscall_execve.
16477
e46eeedd
PA
164782016-01-12 Pedro Alves <palves@redhat.com>
16479
16480 * gdb.base/random-signal.exp (do_test): New procedure, with body
16481 of testcase moved in.
16482
01d8c27e
JK
164832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16484 Pedro Alves <palves@redhat.com>
16485
16486 * gdb.base/funcargs.exp (finish from indirectly called function):
16487 Reintroduce the case for 'First'.
16488
9a706302
JK
164892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16490 Pedro Alves <palves@redhat.com>
16491
16492 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16493 (tcatch_vfork_then_child_follow_exec)
16494 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16495 identification.
16496
c0ecb95f
JK
164972016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16498
16499 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16500 and repeats to unlimited.
16501 * gdb.python/py-value.exp: Likewise.
16502 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16503 and repeats to unlimited.
16504
6cfc1fcb
JK
165052016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16506
16507 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16508 and reordering the functions.
16509 * gdb.multi/hangout.c: Likewise.
16510 * gdb.multi/hello.c: Likewise.
16511
582a1b00
SM
165122016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16513
16514 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16515 absolute.
16516 (SingleStatisticTestResult.report): Use dict.keys instead of
16517 dict.iterkeys.
16518
79bc59cb
PA
165192016-01-06 Pedro Alves <palves@redhat.com>
16520
16521 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16522
43368e1d
MM
165232016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16524
16525 * gdb.btrace/dlopen.exp: New.
16526 * gdb.btrace/dlopen.c: New.
16527 * gdb.btrace/dlopen-dso.c: New.
16528
79fad5b8
SL
165292015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16530
16531 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16532 PATTERN argument is optional.
16533
ab8314b3
JB
165342015-12-24 Joel Brobecker <brobecker@adacore.com>
16535
16536 * lib/ada.exp (target_compile_ada_from_dir): New function.
16537 (gdb_compile_ada): Reimplement avoiding the use of project files.
16538 * gdb.ada/gnat_ada.gpr: Delete.
16539 * gdb.ada/cond_lang.exp: Adjust test to make path before
16540 filename optional.
16541 * gdb.ada/small_reg_param.exp: Likewise.
16542
fe33faff
SM
165432015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16544
16545 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16546
6d265cb4
TP
165472015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16548
16549 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16550 case.
16551
10125099
SM
165522015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16553
16554 * gdb.base/break.exp: Remove dead code.
16555 * gdb.base/sepdebug.exp: Likewise.
16556
3ca22649
SM
165572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16558
16559 * gdb.asm/asm-source.exp: Remove HP-UX references.
16560 * gdb.base/annota1.exp: Likewise.
16561 * gdb.base/annota3.exp: Likewise.
16562 * gdb.base/attach.exp: Likewise.
16563 * gdb.base/bigcore.exp: Likewise.
16564 * gdb.base/break.exp: Likewise.
16565 * gdb.base/call-ar-st.exp: Likewise.
16566 * gdb.base/callfuncs.exp: Likewise.
16567 * gdb.base/catch-fork-static.exp: Likewise.
16568 * gdb.base/display.exp: Likewise.
16569 * gdb.base/foll-exec-mode.exp: Likewise.
16570 * gdb.base/foll-exec.exp: Likewise.
16571 * gdb.base/foll-fork.exp: Likewise.
16572 * gdb.base/foll-vfork.exp: Likewise.
16573 * gdb.base/funcargs.exp: Likewise.
16574 * gdb.base/hbreak2.exp: Likewise.
16575 * gdb.base/inferior-died.exp: Likewise.
16576 * gdb.base/interrupt.exp: Likewise.
16577 * gdb.base/multi-forks.exp: Likewise.
16578 * gdb.base/nodebug.exp: Likewise.
16579 * gdb.base/sepdebug.exp: Likewise.
16580 * gdb.base/solib1.c: Likewise.
16581 * gdb.base/step-test.exp: Likewise.
16582 * gdb.mi/non-stop.c: Likewise.
16583 * gdb.mi/pthreads.c: Likewise.
16584 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16585 * gdb.threads/pthreads.c: Likewise.
16586 * gdb.threads/staticthreads.exp: Likewise.
16587 * lib/future.exp: Likewise.
16588 * lib/gdb.exp: Likewise.
16589 * gdb.base/so-indr-cl.c: Remove.
16590 * gdb.base/so-indr-cl.exp: Likewise.
16591 * gdb.base/solib.c: Likewise.
16592 * gdb.base/solib.exp: Likewise.
16593 * gdb.base/solib2.c: Likewise.
16594
b6304613
SM
165952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16596
16597 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16598 * gdb.base/call-ar-st.exp: Likewise.
16599 * gdb.base/callfuncs.exp: Likewise.
16600 * gdb.base/condbreak.exp: Likewise.
16601 * gdb.base/constvars.exp: Likewise.
16602 * gdb.base/hbreak2.exp: Likewise.
16603 * gdb.base/langs.exp: Likewise.
16604 * gdb.base/list.exp: Likewise.
16605 * gdb.base/long_long.exp: Likewise.
16606 * gdb.base/ptype.exp: Likewise.
16607 * gdb.base/scope.exp: Likewise.
16608 * gdb.base/signals.exp: Likewise.
16609 * gdb.base/so-impl-ld.exp: Likewise.
16610 * gdb.base/varargs.exp: Likewise.
16611 * gdb.base/volatile.exp: Likewise.
16612 * gdb.base/whatis.exp: Likewise.
16613 * gdb.cp/cplusfuncs.exp: Likewise.
16614 * gdb.cp/inherit.exp: Likewise.
16615 * gdb.cp/local.exp: Likewise.
16616 * gdb.cp/member-ptr.exp: Likewise.
16617 * gdb.cp/method.exp: Likewise.
16618 * gdb.cp/overload.exp: Likewise.
16619 * gdb.cp/templates.exp: Likewise.
16620 * gdb.stabs/weird.exp: Likewise.
16621 * lib/compiler.c: Likewise.
16622 * lib/compiler.cc: Likewise.
16623 * lib/cp-support.exp: Likewise.
16624 * lib/gdb.exp: Likewise.
16625
bf401b07
SM
166262015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16627
16628 * configure.ac: Remove HP-UX case.
16629 * configure: Regenerate.
16630
aff9c0f8
SM
166312015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16632
16633 * lib/gdb.exp (gdb_compile): Add function doc.
16634
a6904d5a
PA
166352015-12-17 Pedro Alves <palves@redhat.com>
16636
16637 PR threads/19354
16638 * gdb.multi/info-threads.exp: New file.
16639
a22279dd
YQ
166402015-12-15 Yao Qi <yao.qi@linaro.org>
16641
16642 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16643 is aarch64*-*-*.
16644
0588c796
SL
166452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16646
16647 * gdb.base/history-duplicates.exp: Skip if no readline support.
16648
5d978e17
SL
166492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16650
16651 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16652
7e763b86
SL
166532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16654
16655 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16656
87a3a92c
SL
166572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16658
16659 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16660 ctrl-C if nointerrupts target property is set.
16661 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16662 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16663 * gdb.base/paginate-bg-execution.exp: Likewise.
16664 * gdb.base/paginate-execution-startup.exp: Likewise.
16665 * gdb.base/random-signal.exp: Likewise.
16666 * gdb.base/range-stepping.exp: Likewise.
16667 * gdb.cp/annota2.exp: Likewise.
16668 * gdb.cp/annota3.exp: Likewise.
16669 * gdb.gdb/selftest.exp: Likewise.
16670 * gdb.threads/continue-pending-status.exp: Likewise.
16671 * gdb.threads/leader-exit.exp: Likewise.
16672 * gdb.threads/manythreads.exp: Likewise.
16673 * gdb.threads/pthreads.exp: Likewise.
16674 * gdb.threads/schedlock.exp: Likewise.
16675 * gdb.threads/sigthread.exp: Likewise.
16676
a8f077dc
DB
166772015-12-11 Don Breazeal <donb@codesourcery.com>
16678
16679 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16680 remote.
16681 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16682 * gdb.base/foll-exec.exp (main): Enable for target remote.
16683 * gdb.base/foll-fork.exp (main): Likewise.
16684 * gdb.base/foll-vfork.exp (main): Likewise.
16685 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16686 (proc continue_to_exit_bp_loc): Use clean_restart.
16687 * gdb.base/pie-execl.exp (main): Disable for target remote.
16688 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16689 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16690 * gdb.threads/execl.exp (main): Likewise.
16691 * gdb.threads/fork-child-threads.exp (main): Likewise.
16692 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16693 remote.
16694 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16695 remote.
16696 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16697 pid.tid style ptids, instead of just tid.
16698 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16699 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16700 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16701 ptids, instead of just tid.
16702
3b2464a8
AB
167032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16704
16705 * gdb.base/list.exp (test_list_forward): Add end of file error
16706 test.
16707 (test_repeat_list_command): Add end of file error test.
16708 (test_list_backwards): Add beginning of file error test.
16709
a0def019
AB
167102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16711
16712 * gdb.base/list.exp (test_list_invalid_args): New function,
16713 defined, and called.
16714
5c000dff
AB
167152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16716
16717 * gdb.base/list.exp (test_list): Make test names unique.
16718
f1637ebe
YQ
167192015-12-11 Yao Qi <yao.qi@linaro.org>
16720
16721 * gdb.base/coremaker2.c: Remove.
16722
36d6fc0a
PA
167232015-12-10 Pedro Alves <palves@redhat.com>
16724
16725 * gdb.multi/base.exp: Remove stale "spaces" references.
16726
762f7747
PA
167272015-12-10 Pedro Alves <palves@redhat.com>
16728
16729 * gdb.multi/base.exp: Don't use nowarnings.
16730 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16731 * gdb.multi/hangout.c: Include stdio.h.
16732 * gdb.multi/hello.c: Include stdlib.h.
16733 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16734 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16735 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16736
28d2bfb9
AB
167372015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16738
16739 * gdb.dwarf2/dw2-ranges-base.c: New file.
16740 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16741 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16742 support additional line table, and debug ranges generation.
16743 (Dwarf::ranges): New function, generate .debug_ranges.
16744 (Dwarf::lines): Support generating simple line table programs.
16745 (Dwarf::assemble): Initialise new namespace variables.
16746
5fc2beac
KB
167472015-12-09 Kevin Buettner <kevinb@redhat.com>
16748
16749 * gdb.base/async.exp (proc test_background): Add case for
16750 asynchronous execution not supported.
16751
1c35a88f
LM
167522015-12-09 Luis Machado <lgustavo@codesourcery.com>
16753
16754 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16755 format and change test names to make them unique.
16756
b593e3d9
RK
167572015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16758 Pedro Alves <pedro@redhat.com>
16759
16760 PR gdb/18702
16761 Add checking of floatformats setup on x86_64 hosts.
16762 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16763 (smallval, bigval): New labels/constants.
16764 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16765 float" after loading bigval and smallval.
16766
d72413e6
PMR
167672015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16768
16769 * gdb.ada/fun_overload_menu.exp: New testcase.
16770 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16771
ece66d65
JS
167722015-12-04 Josh Stone <jistone@redhat.com>
16773
16774 * gdb.base/catch-fork-static.exp: New.
16775
41d0efca
YQ
167762015-12-03 Yao Qi <yao.qi@linaro.org>
16777
16778 * gdb.base/sizeof.c: Don't include stdio.h and
16779 ../lib/unbuffer_output.c.
16780 (main): New variable 'size' and 'value'. Remove printf and
16781 gdb_unbuffer_output. Assign return value to size and value.
16782 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16783 at the beginning.
16784 (check_sizeof): Check the result by printing variable 'size'.
16785 (check_valueof): Check the result by printing variable 'value'.
16786
99fd02d9
YQ
167872015-12-01 Yao Qi <yao.qi@linaro.org>
16788
16789 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16790 for aarch64*-*-linux* target.
16791
f2faf941
PA
167922015-11-30 Pedro Alves <palves@redhat.com>
16793
16794 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16795
04bf20c5
PA
167962015-11-30 Pedro Alves <palves@redhat.com>
16797
16798 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16799 Handle non-stop mode vCont replies.
16800
09df4675
PA
168012015-11-30 Pedro Alves <palves@redhat.com>
16802
16803 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16804 prepare_for_testing. Start gdb with "set non-stop on" appended to
16805 GDBFLAGS. Lax expected stop output.
16806
58b584af
YQ
168072015-11-27 Yao Qi <yao.qi@linaro.org>
16808
16809 * gdb.arch/arm-neon.exp: New.
16810 * gdb.arch/arm-neon.c: New.
16811
dfcb77a8
YQ
168122015-11-27 Yao Qi <yao.qi@linaro.org>
16813
16814 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16815
88e8ec1b
YQ
168162015-11-27 Yao Qi <yao.qi@linaro.org>
16817
16818 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16819 frames-invalid annotation.
16820
bfde72c2
YQ
168212015-11-27 Yao Qi <yao.qi@linaro.org>
16822
16823 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16824
f6512a69
SM
168252015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16826
16827 * gdb.threads/names.exp: New file.
16828 * gdb.threads/names.c: New file.
16829 * README: Mention gdb,no_thread_names.
16830
46a3515b
MM
168312015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16832
16833 PR 19297
16834 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16835 support" error.
16836
62147a22
PA
168372015-11-24 Pedro Alves <palves@redhat.com>
16838
16839 PR 17539
16840 * gdb.base/display.exp: Expect displays to be sorted in ascending
16841 order. Use multi_line.
16842 * gdb.base/solib-display.exp: Likewise.
16843
2f341b6e
PA
168442015-11-24 Pedro Alves <palves@redhat.com>
16845
16846 PR 17539
25d49b86
PA
16847 * gdb.base/display.exp: Expect displays to be sorted in ascending
16848 order. Use multi_line.
16849 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16850
7e0aa6aa
PA
168512015-11-24 Pedro Alves <palves@redhat.com>
16852
16853 PR 17539
16854 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16855 threads in ascending order.
16856 * gdb.base/foll-fork.exp: Likewise.
16857 * gdb.base/foll-vfork.exp: Likewise.
16858 * gdb.base/multi-forks.exp: Likewise.
16859 * gdb.mi/mi-nonstop.exp: Likewise.
16860 * gdb.mi/mi-nsintrall.exp: Likewise.
16861 * gdb.multi/base.exp: Likewise.
16862 * gdb.multi/multi-arch.exp: Likewise.
16863 * gdb.python/py-inferior.exp: Likewise.
16864 * gdb.threads/break-while-running.exp: Likewise.
16865 * gdb.threads/execl.exp: Likewise.
16866 * gdb.threads/gcore-thread.exp: Likewise.
16867 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16868 * gdb.threads/kill.exp: Likewise.
16869 * gdb.threads/linux-dp.exp: Likewise.
16870 * gdb.threads/multiple-step-overs.exp: Likewise.
16871 * gdb.threads/next-bp-other-thread.exp: Likewise.
16872 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16873 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16874 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16875 * gdb.threads/thread-find.exp: Likewise.
16876 * gdb.threads/tls.exp: Likewise.
16877 * lib/mi-support.exp (mi_reverse_list): Delete.
16878 (mi_check_thread_states): No longer reverse list.
16879
2cc57ad8
PA
168802015-11-24 Pedro Alves <palves@redhat.com>
16881
16882 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16883 use lowercase.
16884
c93e8391
SM
168852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16886
16887 * gdb.trace/actions.c: Include trace-common.h.
16888 (main): Add a location for a fast tracepoint.
16889 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16890 the normal tracepoints.
16891 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16892
045ccf91
SM
168932015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16894
16895 * save-trace.exp: Factor out code to these...
16896 (gdb_save_tracepoints): New.
16897 (gdb_load_tracepoints): New.
16898 (do_save_load_test): New.
16899
5506f9f6
KB
169002015-11-23 Kevin Buettner <kevinb@redhat.com>
16901
16902 * gdb.base/asmlabel.exp: New test.
16903 * gdb.base/asmlabel.c: New test case.
16904
16c3b12f
JB
169052015-11-23 Joel Brobecker <brobecker@adacore.com>
16906
16907 * gdb.base/wrong_frame_bt_full-main.c: New file.
16908 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16909 * gdb.base/wrong_frame_bt_full.exp: New file.
16910
155bfbd3
JB
169112015-11-23 Joel Brobecker <brobecker@adacore.com>
16912
16913 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16914
bb097445
JM
169152015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16916
206853a0 16917 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16918 pstate register when comparing registers values in
16919 sparc64-*-linux-gnu targets to avoid spurious differences.
16920
9c88ed8f
JM
169212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16922
206853a0 16923 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16924
96161e25
SL
169252015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16926
16927 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16928 as type argument to gdb_compile.
16929 * gdb.base/nested-subp2.exp: Likewise.
16930 * gdb.base/nested-subp3.exp: Likewise.
16931
340c2830
DV
169322015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16933
16934 * lib/dwarf.exp (_note): Fix left shift of negative value.
16935 * gdb.trace/trace-condition.exp: Likewise.
16936
c1862d0f
YQ
169372015-11-13 Yao Qi <yao.qi@linaro.org>
16938
16939 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16940 comments about d10v.
16941 (test_scalar_returns): Likewise.
16942 * gdb.base/d10v.ld: Remove.
16943 * gdb.base/overlays.exp: Remove the target triplet checking for
16944 d10v-*-*.
16945 * gdb.base/structs.exp (test_struct_returns): Remove the
16946 comments about d10v.
16947 (test_struct_calls): Likewise.
16948
77ae9c19
YQ
169492015-11-13 Yao Qi <yao.qi@linaro.org>
16950
16951 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16952 * gdb.base/gnu_vector.c: Don't include stdio.h.
16953 (main): Don't print res and call add_some_intvecs.
16954
430e004e
MK
169552015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16956
16957 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16958 macro.
16959 (func5): Removed.
16960 (func4): Use FAST_TRACEPOINT_LABEL.
16961 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16962 macro.
16963 (func): Removed.
16964 (thread_function): Use FAST_TRACEPOINT_LABEL.
16965 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16966 (func): Remove.
16967 (marker): Use FAST_TRACEPOINT_LABEL.
16968 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16969 (pendfunc1): Remove.
16970 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16971 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16972 (foo): Remove.
16973 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16974 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16975 macro.
16976 (func): Remove.
16977 (marker): Use FAST_TRACEPOINT_LABEL.
16978 * gdb.trace/trace-common.h: New header.
16979 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16980 macro.
16981 (func): Remove.
16982 (marker): Use FAST_TRACEPOINT_LABEL.
16983 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16984 (func): Remove.
16985 (thread_function): Use FAST_TRACEPOINT_LABEL.
16986
6e7675a7
MK
169872015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16988
16989 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16990 in front.
16991 * gdb.trace/change-loc.exp: Use global pcreg definition.
16992 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16993 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16994 in front.
16995 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16996 * gdb.trace/pending.exp: Likewise.
16997 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16998 * gdb.trace/trace-break.exp: Likewise.
16999 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17000 in front.
17001 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17002 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17003 in front.
17004 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17005
dddc0e16
JB
170062015-11-09 Joel Brobecker <brobecker@adacore.com>
17007
17008 * gdb.ada/fin_fun_out: New testcase.
17009
c6f0b406
KB
170102015-11-07 Kevin Buettner <kevinb@redhat.com>
17011
17012 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17013 value associated with DW_AT_byte_size.
17014 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17015 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17016 DW_AT_upper_bound.
17017
f01dcfd9
KB
170182015-11-07 Kevin Buettner <kevinb@redhat.com>
17019
17020 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17021 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17022 version.
17023 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17024 gdb.dwarf2/dw2-canonicalize-type.exp,
17025 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17026 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17027 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17028 provided by gdb_target_symbol_prefix_flags_asm.
17029 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17030 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17031 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17032 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17033 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17034 macros where needed). Use this macro for symbols which require
17035 the prefix provided by SYMBOL_PREFIX.
17036
2223449a
KB
170372015-11-05 Kevin Buettner <kevinb@redhat.com>
17038
17039 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17040 New procs.
17041 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17042 representing expressions, of more than one list element.
17043 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17044 to prepend linker symbol prefix to f.
17045 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17046 table_1 and table_2.
17047 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17048 Likewise, for f and g.
17049 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17050 for ptr.
17051 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17052 for main.
17053 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17054 table_1_ptr and table_2_ptr.
17055
6f2f1a3a
JK
170562015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17057 Joel Brobecker <brobecker@adacore.com>
17058
17059 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17060
566c56c9
MK
170612015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17062
17063 * gdb.reverse/s390-mvcle.c: New test.
17064 * gdb.reverse/s390-mvcle.exp: New file.
17065 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17066
d5f0636b
MK
170672015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17068
17069 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17070
7ad8b86c
MK
170712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17072
17073 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17074 reaching marker2.
17075 * gdb.reverse/getresuid-reverse.exp: Likewise.
17076 * gdb.reverse/pipe-reverse.exp: Likewise.
17077 * gdb.reverse/readv-reverse.exp: Likewise.
17078 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17079 * gdb.reverse/time-reverse.exp: Likewise.
17080 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17081
4081c0f1
YQ
170822015-10-30 Yao Qi <yao.qi@linaro.org>
17083
17084 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17085 (empty_cycle): Remove.
17086 (main): Don't call empty_cycle. Don't use watch_count_done.
17087 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17088 empty_cycle. Rewrite the code counting HW watchpoints.
17089
452b4ba5
MK
170902015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17091
17092 * gdb.reverse/fstatat-reverse.c: New test.
17093 * gdb.reverse/fstatat-reverse.exp: New file.
17094 * gdb.reverse/getresuid-reverse.c: New test.
17095 * gdb.reverse/getresuid-reverse.exp: New file.
17096 * gdb.reverse/pipe-reverse.c: New test.
17097 * gdb.reverse/pipe-reverse.exp: New file.
17098 * gdb.reverse/readv-reverse.c: New test.
17099 * gdb.reverse/readv-reverse.exp: New file.
17100 * gdb.reverse/recvmsg-reverse.c: New test.
17101 * gdb.reverse/recvmsg-reverse.exp: New file.
17102 * gdb.reverse/time-reverse.c: New test.
17103 * gdb.reverse/time-reverse.exp: New file.
17104 * gdb.reverse/waitpid-reverse.c: New test.
17105 * gdb.reverse/waitpid-reverse.exp: New file.
17106
5e2e7507
JK
171072015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17108
17109 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17110
0fde2c53
DE
171112015-10-26 Doug Evans <dje@google.com>
17112
17113 PR symtab/17391
17114 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17115 * gdb.dwarf2/bad-regnum.c: New file.
17116 * gdb.dwarf2/bad-regnum.exp: New file.
17117
1a70ae97
DE
171182015-10-26 Doug Evans <dje@google.com>
17119
17120 PR python/18938
17121 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17122 file.
17123
27dc26ab
JK
171242015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17125
17126 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17127 for a change by "Mention language in compile error message".
17128
bed91f4d
SM
171292015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17130
17131 PR python/18073
17132 * gdb.python/py-type.c (C::a_method): New.
17133 (C::a_const_method): New.
17134 (C::a_static_method): New.
17135 (a_function): New.
17136 * gdb.python/py-type.exp (test_fields): Test getting fields
17137 from function and method.
17138
3f2f83dd
KB
171392015-10-21 Keven Boell <keven.boell@intel.com>
17140
17141 * gdb.fortran/vla-alloc-assoc.exp: New file.
17142 * gdb.fortran/vla-datatypes.exp: New file.
17143 * gdb.fortran/vla-datatypes.f90: New file.
17144 * gdb.fortran/vla-history.exp: New file.
17145 * gdb.fortran/vla-ptype-sub.exp: New file.
17146 * gdb.fortran/vla-ptype.exp: New file.
17147 * gdb.fortran/vla-sizeof.exp: New file.
17148 * gdb.fortran/vla-sub.f90: New file.
17149 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17150 * gdb.fortran/vla-value-sub-finish.exp: New file.
17151 * gdb.fortran/vla-value-sub.exp: New file.
17152 * gdb.fortran/vla-value.exp: New file.
17153 * gdb.fortran/vla-ptr-info.exp: New file.
17154 * gdb.mi/mi-vla-fortran.exp: New file.
17155 * gdb.mi/vla.f90: New file.
17156
27145d50
SL
171572015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17158
17159 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17160 of hardwired timeout value.
17161
5f3ff4f8
JK
171622015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17163 Pedro Alves <palves@redhat.com>
17164
17165 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17166 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17167
bfd09d20
JS
171682015-10-19 Josh Stone <jistone@redhat.com>
17169
17170 * gdb.base/catch-syscall.c: Include <sched.h>.
17171 (unknown_syscall): New variable.
17172 (main): Trigger a vfork and an unknown syscall.
17173 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17174 (unknown_syscall_number): Likewise.
17175 (check_call_to_syscall): Accept an optional syscall pattern.
17176 (check_return_from_syscall): Likewise.
17177 (check_continue): Likewise.
17178 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17179 (test_catch_syscall_skipping_return): New test toggling off 'catch
17180 syscall' to step over the syscall return, then toggling back on.
17181 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17182 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17183 (do_syscall_tests): Call test_catch_syscall_without_args and
17184 test_catch_syscall_mid_vfork.
17185 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17186 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17187
b32b93c6
AS
171882015-10-19 Andrew Stubbs <ams@codesourcery.com>
17189
17190 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17191 print g_vE): Add new pass patterns.
17192 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17193 print various symbol names for vptr fields.
17194
9d622bda
AB
171952015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17196
17197 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17198 results.
17199
0fd8ac1c
YQ
172002015-10-12 Yao Qi <yao.qi@linaro.org>
17201
17202 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17203
34240514
YQ
172042015-10-12 Yao Qi <yao.qi@linaro.org>
17205
17206 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17207 is aarch64*-*-linux*.
17208
8240f442
YQ
172092015-10-12 Yao Qi <yao.qi@linaro.org>
17210
17211 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17212 (can_relocate_bcond_true): ... it.
17213 (can_relocate_bcond_false): New function.
17214 (foo): Likewise.
17215 (can_relocate_bl): Likewise.
17216 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17217 can_relocate_bl.
17218
2520f728
PMR
172192015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17220
17221 * gdb.base/nested-addr.c: New file.
17222 * gdb.base/nested-addr.exp: New testcase.
17223
abcef95a
MM
172242015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17225
17226 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17227 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17228 its output. Ignore the output of "record goto begin" and instead
17229 check that GDB is replaying.
17230
145e3ddb
PA
172312015-10-09 Pedro Alves <palves@redhat.com>
17232
17233 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17234 (top level): Use it in the run with no args test.
17235
d5d8c4e1
IB
172362015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17237
17238 * gdb.dlang/properties.exp: New file.
17239
06e635ef
SL
172402015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17241
17242 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17243 whether or not address 0x1000 is mapped on the target.
17244
e019fd1d
SM
172452015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17246
17247 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17248 build.
17249
77ba2a67
MM
172502015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17251
17252 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17253 instruction-history test.
17254
c60eb31f
DE
172552015-09-28 Doug Evans <dje@google.com>
17256
17257 * gdb.base/gcore.c (array_func): Add reference to static_array.
17258
9a3c8263
SM
172592015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17260
17261 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17262 source line.
17263
9720e656
SL
172642015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17265
17266 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17267 short or char as base type.
17268
938d3bf2
SL
172692015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17270
17271 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17272 to allow any size enum.
17273
e6c2c623
PMR
172742015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17275
17276 * gdb.ada/array_ptr_renaming.exp: New testcase.
17277 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17278 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17279
06da0f77
PL
172802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17281
17282 * gdb.trace/ftrace-lock.c: New file.
17283 * gdb.trace/ftrace-lock.exp: New file.
17284
4f51c22a
PL
172852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17286
17287 * gdb.arch/insn-reloc.c: New file.
17288 * gdb.arch/ftrace-insn-reloc.exp: New file.
17289
7041adf4
PL
172902015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17291
17292 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17293 instruction.
17294 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17295 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17296 * gdb.trace/range-stepping.c: Likewise.
17297 * gdb.trace/trace-break.c: Likewise.
17298 * gdb.trace/trace-mt.c (thread_function): Likewise.
17299 * gdb.trace/ftrace.c (marker): Likewise.
17300 * gdb.trace/trace-condition.c (marker): Likewise.
17301 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17302 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17303 is_aarch64_target.
17304
015d2e7e
DE
173052015-09-18 Doug Evans <xdje42@gmail.com>
17306
17307 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17308 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17309
26b188a2
SL
173102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17311
17312 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17313 the breakpoint.
17314
79dc332b
SL
173152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17316
17317 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17318 the pending breakpoint. Remove timeout override for "Run till
17319 MI pending breakpoint on pendfunc3 on thread 2" test.
17320
f57929f2
SL
173212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17322
17323 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17324 filename pattern.
17325
3f469b17
SL
173262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17327
17328 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17329 in breakpoint filename pattern.
17330
515b89b3
SL
173312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17332
7800dbe4
SL
17333 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17334
173352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17336
515b89b3
SL
17337 * gdb.linespec/explicit.exp: Check for readline support for
17338 tab-completion tests. Fix obvious typo.
17339
d2939ba2
MM
173402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17341
17342 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17343 and replay.
17344
cbb55fa7
MM
173452015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17346
17347 * gdb.btrace/non-stop.c: New.
17348 * gdb.btrace/non-stop.exp: New.
17349
43691ca1
PL
173502015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17351 Yao Qi <yao.qi@linaro.org>
17352
17353 * gdb.trace/trace-condition.c: New file.
17354 * gdb.trace/trace-condition.exp: New file.
17355
d78908cf
WW
173562015-09-16 Wei-cheng Wang <cole945@gmail.com>
17357
17358 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17359 for testing bytecode compilation.
17360
1ed415e2
PA
173612015-09-16 Pedro Alves <palves@redhat.com>
17362 Sandra Loosemore <sandra@codesourcery.com>
17363
17364 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17365 (SECONDS): Redefine.
17366 (main): Call pthread_kill and alarm early.
17367 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17368 support.
17369 (test): If the target can't hardware step and doesn't support
17370 displaced stepping, increase the timeout.
17371
d136eff5
PA
173722015-09-16 Pedro Alves <palves@redhat.com>
17373
17374 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17375 (enable_debug): New procedures.
17376 (test): Use them. Bail out if waiting for threads fails.
17377 (top level): Bail out if a test fails.
17378
991f019c
YQ
173792015-09-16 Yao Qi <yao.qi@linaro.org>
17380
17381 * gdb.asm/asm-source.exp: Set asm-arch for
17382 aarch64*-*-* target.
17383 * gdb.asm/aarch64.inc: New file.
17384
bfca584f
PMR
173852015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17386
17387 * gdb.ada/array_of_variable_length.exp: New testcase.
17388 * gdb.ada/array_of_variable_length/foo.adb: New file.
17389 * gdb.ada/array_of_variable_length/pck.adb: New file.
17390 * gdb.ada/array_of_variable_length/pck.ads: New file.
17391
b326e587
DE
173922015-09-15 Doug Evans <dje@google.com>
17393
17394 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17395 of function static local variable.
17396
5382cfab
PW
173972015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17398
17399 * gdb.threads/tls-so_extern.exp: New test file.
17400 * gdb.threads/tls-so_extern.c: New test file.
17401 * gdb.threads/tls-so_extern_main.c: New test file.
17402
141c5cc4
JK
174032015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17404
17405 * gdb.opt/solib-intra-step-lib.c: New file.
17406 * gdb.opt/solib-intra-step-main.c: New file.
17407 * gdb.opt/solib-intra-step.exp: New file.
17408
d15dcecd
PA
174092015-09-15 Pedro Alves <palves@redhat.com>
17410
17411 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17412 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17413
4c2f2a79
PA
174142015-09-14 Pedro Alves <palves@redhat.com>
17415
17416 * gdb.base/hook-stop-continue.c: Delete.
17417 * gdb.base/hook-stop-continue.exp: Delete.
17418 * gdb.base/hook-stop-frame.c: Delete.
17419 * gdb.base/hook-stop-frame.exp: Delete.
17420 * gdb.base/hook-stop.c: New file.
17421 * gdb.base/hook-stop.exp: New file.
17422
919e6dbe
PMR
174232015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17424
17425 * gdb.ada/access_to_packed_array.exp: New testcase.
17426 * gdb.ada/access_to_packed_array/foo.adb: New file.
17427 * gdb.ada/access_to_packed_array/pack.adb: New file.
17428 * gdb.ada/access_to_packed_array/pack.ads: New file.
17429
157280a4
MM
174302015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17431
17432 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17433 buffer size test.
17434
2fd33e94
DB
174352015-09-11 Don Breazeal <donb@codesourcery.com>
17436
17437 * gdb.base/foll-exec.c: Add copyright header. Fix
17438 formatting issues.
17439 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17440 (do_exec_tests): Use clean_restart in place of zap_session,
17441 and for test initialization. Fix formatting issues. Use
17442 fail in place of perror.
17443 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17444 an expect statement to match an expression with output from
17445 the program under debug.
17446 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17447 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17448 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17449 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17450 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17451
e70b6e8e
DE
174522015-09-09 Doug Evans <dje@google.com>
17453
17454 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17455
7a551a51
DE
174562015-09-09 Doug Evans <dje@google.com>
17457
17458 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17459
4c666f84
DE
174602015-09-09 Doug Evans <dje@google.com>
17461
17462 * gdb.base/savedregs.exp: Fix typo.
17463
243a9253
PA
174642015-09-09 Pedro Alves <palves@redhat.com>
17465
17466 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17467
c0fa8fbd
SL
174682015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17469
17470 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17471 command actually switches threads. Give up on remaining
17472 tests if target fails to stop at breakpoint.
17473
cd7c1778
PMR
174742015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17475
17476 * gdb.ada/funcall_char.exp: New testcase.
17477 * gdb.ada/funcall_char/foo.adb: New file.
17478
dc5c8746
PMR
174792015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17480
17481 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17482 expected outputs. Add two testcases for completing ambiguous
17483 functions.
17484 * gdb.ada/complete/aux_pck.adb: New file.
17485 * gdb.ada/complete/aux_pck.ads: New file.
17486 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17487 Ambiguous_Func functions.
17488 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17489 * gdb.ada/complete/pck.adb: Likewise.
17490
4e83a1e7
UW
174912015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17492
17493 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17494 failures to run the test program under GDB.
17495
8ce74153
LM
174962015-08-26 Luis Machado <lgustavo@codesourcery.com>
17497
17498 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17499 to C.
17500
e9756d52
PP
175012015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17502
17503 * gdb.base/run-after-attach.exp: New test file.
17504 * gdb.base/run-after-attach.c: New test file.
17505
8d37573b
DB
175062015-08-26 Don Breazeal <donb@codesourcery.com>
17507
17508 * gdb.base/foll-exec-2.c: New test program.
17509 * gdb.base/foll-exec-2.exp: New test.
17510
63e43d3a
PMR
175112015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17512
17513 * gdb.base/nested-subp1.exp: New file.
17514 * gdb.base/nested-subp1.c: New file.
17515 * gdb.base/nested-subp2.exp: New file.
17516 * gdb.base/nested-subp2.c: New file.
17517 * gdb.base/nested-subp3.exp: New file.
17518 * gdb.base/nested-subp3.c: New file.
17519
3d40fbb5
PA
175202015-08-24 Pedro Alves <palves@redhat.com>
17521
17522 * gdb.server/connect-without-multi-process.c: New file.
17523 * gdb.server/connect-without-multi-process.exp: New file.
17524
4422ac93
LM
175252015-08-24 Luis Machado <lgustavo@codesourcery.com>
17526
17527 * gdb.opt/inline-markers.c: Make z int.
17528
91dddb86
LM
175292015-08-24 Luis Machado <lgustavo@codesourcery.com>
17530
17531 * gdb.opt/inline-markers.c: Make z volatile.
17532
a48847ee
LM
175332015-08-24 Luis Machado <lgustavo@codesourcery.com>
17534
17535 * gdb.opt/inline-bt.c: New volatile global z.
17536 * gdb.opt/inline-cmds.c: Likewise.
17537 * gdb.opt/inline-locals.c: Likewise.
17538 * gdb.opt/inline-markers.c: New extern global z.
17539 (marker): Use z.
17540 (inline_fn): Likewise.
17541
0ebbc52b
PA
175422015-08-24 Pedro Alves <palves@redhat.com>
17543
17544 * config/m32r-stub.exp: Remove file.
17545 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17546 * gdb.base/call-rt-st.exp: Likewise.
17547 * gdb.base/call-strs.exp: Likewise.
17548 * gdb.base/default.exp: Remove references to h8300-*-hms and
17549 *-*-udi*.
17550 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17551
77c365df
AA
175522015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17553
17554 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17555 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17556 and "return" use KFAIL when GDB can not read/write the vector
17557 return value.
17558
4313b8c0
GB
175592015-08-21 Gary Benson <gbenson@redhat.com>
17560
17561 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17562
0e433b32
PA
175632015-08-20 Pedro Alves <palves@redhat.com>
17564
17565 * gdb.server/solib-list.exp: No longer expect an interior stop in
17566 non-stop mode.
17567
221e1a37
PA
175682015-08-20 Pedro Alves <palves@redhat.com>
17569
17570 * gdb.server/connect-stopped-target.c: New file.
17571 * gdb.server/connect-stopped-target.exp: New file.
17572
40e3ad0e
PA
175732015-08-20 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.dwarf2/comp-unit-lang.exp: New file.
17576 * gdb.dwarf2/comp-unit-lang.c: New file.
17577
af39b327
PMR
175782015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17579
17580 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17581 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17582
7d45c7c3 175832015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17584
7d45c7c3
KB
17585 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17586 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17587
4d6cceb4
DE
175882015-08-18 Doug Evans <dje@google.com>
17589 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17590
17591 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17592 skip_python_tests. New arg prompt_regexp.
17593 (skip_python_tests): New function.
17594 * lib/mi-support.exp (mi_skip_python_tests): New function.
17595 * gdb.python/py-mi-objfile-gdb.py: New file.
17596 * gdb.python/py-mi-objfile.c: New file.
17597 * gdb.python/py-mi-objfile.exp: New file.
17598
ad89c2aa
KS
175992015-08-17 Keith Seitz <keiths@redhat.com>
17600
17601 * gdb.linespec/explicit.exp: Move strace test from here ...
17602 * gdb.trace/strace.exp: ... to here.
17603
e3ae3c43
PP
176042015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17605
17606 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17607 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17608
604b2636
DE
176092015-08-14 Doug Evans <xdje42@gmail.com>
17610
17611 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17612 inferior before selecting a new file.
17613
6ff0ba5f
DE
176142015-08-14 Doug Evans <xdje42@gmail.com>
17615
17616 * gdb.mi/mi-disassemble.exp: Update.
17617 * gdb.base/disasm-optim.S: New file.
17618 * gdb.base/disasm-optim.c: New file.
17619 * gdb.base/disasm-optim.h: New file.
17620 * gdb.base/disasm-optim.exp: New file.
17621
9ca98f92
KS
176222015-08-14 Keith Seitz <keiths@redhat.com>
17623
17624 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17625 "evaluated-by".
17626
52bbc560
JB
176272015-08-13 Joel Brobecker <brobecker@adacore.com>
17628
17629 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17630
5d8c3ed3
PMR
176312015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17632
17633 * gdb.ada/fun_renaming.exp: New testcase.
17634 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17635 * gdb.ada/fun_renaming/pack.adb: New file.
17636 * gdb.ada/fun_renaming/pack.ads: New file.
17637
ea8812bc
KS
176382015-08-12 Keith Seitz <keiths@redhat.com>
17639
17640 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17641 gdb_get_line_number.
17642
4dafcdeb
JB
176432015-08-12 Joel Brobecker <brobecker@adacore.com>
17644
17645 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17646 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17647 gdb.base/dso2dso.exp: New files.
17648
5ba32597
SDJ
176492015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17650 Pedro Alves <palves@redhat.com>
17651 Keith Seitz <keiths@redhat.com>
17652
17653 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17654 GDBFLAGS.
17655
b6dafabf
PP
176562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17657
17658 * gdb.base/gdbhistsize-history.exp
17659 (test_histsize_history_setting): Use save_vars.
17660 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17661 Use save_vars.
17662 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17663 * gdb.base/readline.exp: Use save_vars.
17664
abe8e607
PP
176652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17666
17667 * lib/gdb.exp (save_vars): New proc.
17668
629500fa
KS
176692015-08-11 Keith Seitz <keiths@redhat.com>
17670
17671 * gdb.base/help.exp: Update help_breakpoint_text.
17672
eb8c4e2e
KS
176732015-08-11 Keith Seitz <keiths@redhat.com>
17674
17675 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17676 (at toplevel): Call test_explicit_breakpoints.
17677 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17678 breakpoints.
17679 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17680 breakpoint conditions, "-cond".
17681
87f0e720
KS
176822015-08-11 Keith Seitz <keiths@redhat.com>
17683
17684 * gdb.linespec/3explicit.c: New file.
17685 * gdb.linespec/cpexplicit.cc: New file.
17686 * gdb.linespec/cpexplicit.exp: New file.
17687 * gdb.linespec/explicit.c: New file.
17688 * gdb.linespec/explicit.exp: New file.
17689 * gdb.linespec/explicit2.c: New file.
17690 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17691 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17692 before using in the matching pattern.
17693 Clarify that `prefix' is a regular expression.
17694
f00aae0f
KS
176952015-08-11 Keith Seitz <keiths@redhat.com>
17696
17697 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17698 test.
17699 Add tests for missing ",FMT" and ",".
17700
e27852be
DE
177012015-08-10 Doug Evans <dje@google.com>
17702 Keith Seitz <keiths@redhat.com>
17703
17704 PR gdb/17960
17705 * gdb.base/completion.exp: Add location completer tests.
17706
7f03bd92
PA
177072015-08-07 Pedro Alves <palves@redhat.com>
17708
17709 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17710 tests here.
17711 (top level): Run do_test with and without displaced stepping.
17712
3fc8eb30
PA
177132015-08-07 Pedro Alves <palves@redhat.com>
17714
17715 * gdb.base/valgrind-disp-step.c: New file.
17716 * gdb.base/valgrind-disp-step.exp: New file.
17717
d4569d7b
PA
177182015-08-07 Pedro Alves <palves@redhat.com>
17719
17720 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17721 Delete function.
17722 (main): Add alarm. Run an infinite loop instead of calling
17723 wait_threads.
17724 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17725 comment.
17726 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17727 Delete function.
17728 (main): Add alarm. Run an infinite loop instead of calling
17729 wait_threads.
17730 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17731 comment.
17732
e1316e60
PA
177332015-08-07 Pedro Alves <palves@redhat.com>
17734
17735 * gdb.base/checkpoint-ns.exp: New file.
17736 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17737 standard_testfile.
17738
da8c46d2
MM
177392015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17740
17741 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17742 * gdb.btrace/instruction_history.exp: Update.
17743 * gdb.btrace/tsx.exp: New.
17744 * gdb.btrace/tsx.c: New.
17745
de1c2c52
PA
177462015-08-06 Pedro Alves <palves@redhat.com>
17747
17748 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17749 increase timeout.
17750 * gdb.reverse/until-precsave.exp: Bump timeouts.
17751
782e0bf4
PA
177522015-08-06 Pedro Alves <palves@redhat.com>
17753
17754 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17755
83e97ed0
PA
177562015-08-06 Pedro Alves <palves@redhat.com>
17757
17758 PR gdb/18749
17759 * gdb.threads/process-dies-while-handling-bp.c: New file.
17760 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17761
863d01bd
PA
177622015-08-06 Pedro Alves <palves@redhat.com>
17763
17764 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17765 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17766
0a39bb32
PA
177672015-08-05 Pedro Alves <palves@redhat.com>
17768
17769 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17770 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17771
ee2d2b10
SL
177722015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17773
17774 * gdb.base/bp-permanent.exp: Report test as unsupported if
17775 the target cannot stop at the permanent breakpoint.
17776
4e1bdb00
DE
177772015-08-03 Doug Evans <dje@google.com>
17778
17779 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17780 10000.
17781
3d338901
DE
177822015-08-03 Doug Evans <dje@google.com>
17783
17784 * Makefile.in (workers/%.worker, build-perf): New rule.
17785 (GDB_PERFTEST_MODE): New variable.
17786 (check-perf): Use it.
17787 (clean): Clean up gdb.perf parallel build subdirs.
17788 * lib/build-piece.exp: New file.
17789 * lib/gdb.exp (make_gdb_parallel_path): New function
17790 (standard_output_file, standard_temp_file): Call it.
17791 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17792 of $GDB_PARALLEL.
17793 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17794
af061d3e
DE
177952015-08-03 Doug Evans <dje@google.com>
17796
8e1afc81 17797 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17798 (LOG_FILE_NAME): New global.
17799 (TextReporter.__init__): Initialize self.txt_sum.
17800 (TextReporter.report): Add support for multiple data-points.
17801 Move report to perftest.sum, put raw data in perftest.log.
17802 (TextReporter.start): Open sum and log files.
17803 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17804 * gdb.perf/lib/perftest/testresult.py
17805 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17806
2c8c5d37
PA
178072015-07-31 Pedro Alves <palves@redhat.com>
17808
17809 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17810 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17811 kill_wait_spawned_process instead of explicit "kill -9".
17812 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17813 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17814 kill_wait_spawned_process.
17815 * gdb.base/attach-twice.exp: Likewise.
17816 * gdb.base/attach.exp: Likewise.
17817 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17818 gdb_test_multiple.
17819 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17820 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17821 kill_wait_spawned_process.
17822 * gdb.base/valgrind-infcall.exp: Likewise.
17823 * gdb.multi/multi-attach.exp: Likewise.
17824 * gdb.python/py-prompt.exp: Likewise.
17825 * gdb.python/py-sync-interp.exp: Likewise.
17826 * gdb.server/ext-attach.exp: Likewise.
17827 * gdb.threads/attach-into-signal.exp (corefunc): Use
17828 spawn_wait_for_attach, spawn_id_get_pid and
17829 kill_wait_spawned_process.
17830 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17831 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17832 spawn_id_get_pid and kill_wait_spawned_process.
17833 * gdb.threads/attach-stopped.exp (corefunc): Use
17834 spawn_wait_for_attach, spawn_id_get_pid and
17835 kill_wait_spawned_process.
17836 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17837 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17838 kill_wait_spawned_process instead of explicit "kill -9".
17839 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17840 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17841 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17842 processes. Don't map cygwin/windows pids here. Now returns a
17843 spawn id list.
17844
032a0fca
SL
178452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17846
17847 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17848 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17849 correct patch.
17850
61a934ca
SL
178512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17852
17853 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17854
4bc4d428
SL
178552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17856
17857 Reapply:
17858 2014-05-21 Mark Wielaard <mjw@redhat.com>
17859
17860 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17861
998d452a
PA
178622015-07-30 Pedro Alves <palves@redhat.com>
17863
17864 * linux-low.c (handle_extended_wait): Set the child's last
17865 reported status to TARGET_WAITKIND_STOPPED.
17866
69dde7dc
PA
178672015-07-30 Pedro Alves <palves@redhat.com>
17868
17869 PR threads/18600
17870 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17871 only shows inferior 1.
17872
4dd63d48
PA
178732015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17874 Pedro Alves <palves@redhat.com>
17875
17876 PR threads/18600
17877 * gdb.threads/fork-plus-threads.c: New file.
17878 * gdb.threads/fork-plus-threads.exp: New file.
17879
d618e4c5
PP
178802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17881
17882 * gdb.base/batch-preserve-term-settings.exp
17883 (test_terminal_settings_preserved_after_cli_exit): Use
17884 send_quit_command.
17885
1eef6428
PA
178862015-07-29 Pedro Alves <palves@redhat.com>
17887 Don Breazeal <donb@codesourcery.com>
17888
17889 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17890 output from both inferior_spawn_id and gdb_spawn_id.
17891
7da5b897
SDJ
178922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17893
17894 * gdb.threads/attach-into-signal.exp (corefunc): Use
17895 with_test_prefix on nested loops, uniquefying the test messages.
17896
dac804df
SDJ
178972015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17898
17899 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17900 commit.
17901
06265e53
PP
179022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17903
17904 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17905 New proc.
17906 (test_terminal_settings_preserved_after_sigterm): New test.
17907
18206ca3
PP
179082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17909
17910 * gdb.base/batch-preserve-term-settings.exp
17911 (test_terminal_settings_preserved_after_cli_exit): New test.
17912
90074d11
PP
179132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17914
17915 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17916 manipulation of saved_gdbflags.
17917 (test_terminal_settings_preserved): Remove global declaration of
17918 the unused variable pagination_prompt. Remove manipulation of
17919 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17920 GDBFLAGS.
17921
eb1a7902
PA
179222015-07-29 Pedro Alves <palves@redhat.com>
17923
17924 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17925
8b75dd3b
PA
179262015-07-29 Pedro Alves <palves@redhat.com>
17927
17928 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17929 at the top.
17930
dedad4e3
PA
179312015-07-29 Pedro Alves <palves@redhat.com>
17932
17933 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17934 (main): Call gdb_unbuffer_output.
17935 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17936 (main): Call gdb_unbuffer_output.
17937 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17938 (main): Call gdb_unbuffer_output.
17939 * gdb.base/call-strs.exp: Adjust to step over the
17940 gdb_unbuffer_output call.
17941 * gdb.base/catch-gdb-caused-signals.c: Include
17942 "../lib/unbuffer_output.c".
17943 (main): Call gdb_unbuffer_output.
17944 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17945 (main): Call gdb_unbuffer_output.
17946 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17947 (main): Call gdb_unbuffer_output.
17948 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17949 (main): Call gdb_unbuffer_output.
17950 * gdb.base/shlib-call.exp: Adjust to step over the
17951 gdb_unbuffer_output call.
17952 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17953 (main): Call gdb_unbuffer_output.
17954 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17955 (main): Call gdb_unbuffer_output.
17956 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17957 (main): Rename to ...
17958 (test): ... this.
17959 (main): Reimplement.
17960 * gdb.base/varargs.exp: Run to test instead of to main.
17961 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17962 (main): Call gdb_unbuffer_output.
17963
58789a91
PA
179642015-07-29 Pedro Alves <palves@redhat.com>
17965
17966 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17967 factore out from mi_continue_dprintf. For call-style dprintfs,
17968 expect dprintf output out of $inferior_spawn_id.
17969 (mi_continue_dprintf): Use mi_expect_dprintf.
17970 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17971 (main): Call gdb_unbuffer_output.
17972
e8376742
PA
179732015-07-29 Pedro Alves <palves@redhat.com>
17974
17975 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17976 (default_mi_gdb_start): Set inferior_spawn_id instead of
17977 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17978 gdb_spawn_id.
17979 (mi_gdb_test): Always expect inferior output from both
17980 $inferior_spawn_id and $gdb_spawn_id.
17981
08280010
PA
179822015-07-29 Pedro Alves <palves@redhat.com>
17983
17984 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17985 send_inferior and $inferior_spawn_id.
17986
4d30e432
PA
179872015-07-29 Pedro Alves <palves@redhat.com>
17988
17989 * gdb.gdb/complaints.exp (test_initial_complaints)
17990 (test_serial_complaints, test_short_complaints): Use
17991 gdb_test_stdio.
17992 (test_empty_complaint): Handle $inferior_spawn_id !=
17993 $gdb_spawn_id.
17994
0d30a335
PA
179952015-07-29 Pedro Alves <palves@redhat.com>
17996
17997 * gdb.base/varargs.exp: Use gdb_test_stdio.
17998
39413b29
PA
179992015-07-29 Pedro Alves <palves@redhat.com>
18000
18001 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18002
7cb000a9
PA
180032015-07-29 Pedro Alves <palves@redhat.com>
18004
18005 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18006
d7b8ac82
PA
180072015-07-29 Pedro Alves <palves@redhat.com>
18008
18009 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18010 parameter into two new parameters, "inf_result" and "gdb_result".
18011 Expect inferior output and gdb output from $inferior_spawn_id and
18012 $gdb_spawn_id, respectively. Adjust all callers.
18013
789c3a0c
PA
180142015-07-29 Pedro Alves <palves@redhat.com>
18015
18016 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18017 of gdb_test_sequence.
18018
77e760c3
PA
180192015-07-29 Pedro Alves <palves@redhat.com>
18020
18021 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18022 (saw_spurious_output): Expect inferior output from
18023 $inferior_spawn_id. Use gdb_test_stdio.
18024
8396d2cd
PA
180252015-07-29 Pedro Alves <palves@redhat.com>
18026
18027 * gdb.base/dprintf.exp: Use standard_testfile. Change
18028 prepare_for_testing call.
18029 (srcfile): Don't set.
18030 (restart): New procedure.
18031 (test_dprintf): New procecure, use to continue over dprintfs.
18032 (test_call, test_agent): New procedures, tests moved here.
18033 Restart gdb and recreate dprintfs. Adjust expected output.
18034
2051d61f
PA
180352015-07-29 Pedro Alves <palves@redhat.com>
18036
18037 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18038
452397af
PA
180392015-07-29 Pedro Alves <palves@redhat.com>
18040
18041 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18042
8aed9555
PA
180432015-07-29 Pedro Alves <palves@redhat.com>
18044
18045 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18046 gdb_test_stdio.
18047
188a61b4
PA
180482015-07-29 Pedro Alves <palves@redhat.com>
18049
18050 * lib/gdb.exp (gdb_test_stdio): New procedure.
18051
12264a45
PA
180522015-07-29 Pedro Alves <palves@redhat.com>
18053
18054 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18055
23ffc893
PA
180562015-07-29 Pedro Alves <palves@redhat.com>
18057
18058 * gdb.base/call-signal-resume.exp: Remove check for
18059 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18060 * gdb.base/unwindonsignal.exp: Likewise.
18061 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18062 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18063
65566918
PA
180642015-07-29 Pedro Alves <palves@redhat.com>
18065
18066 * gdb.base/siginfo-addr.c (pass): New function.
18067 (handler): Call it iff si_addr is correct.
18068 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18069 Set a breakpoint at "pass" and continue to it.
18070
d60a9221
SDJ
180712015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18072
18073 * gdb.python/py-objfile.exp: Make some tests have unique names.
18074 * gdb.python/py-pp-registration.exp: Likewise.
18075
bde40b8f
PA
180762015-07-28 Pedro Alves <palves@redhat.com>
18077
18078 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18079
13e1dec8
SM
180802015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18081
18082 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18083
da33c9a7
SM
180842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18085
18086 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18087
077836f7
PP
180882015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18089
18090 * gdb.base/gdb-sigterm-2.exp: New test.
18091
b8cc7b2e
DE
180922015-07-25 Doug Evans <xdje42@gmail.com>
18093
18094 Revert:
18095 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18096 (workers/%.worker, build-perf): New rule.
18097 (GDB_PERFTEST_MODE): New variable.
18098 (check-perf): Use it.
18099 (clean): Clean up gdb.perf parallel build subdirs.
18100 * lib/build-piece.exp: New file.
18101 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18102 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18103 name.
18104 (standard_temp_file): Ditto.
18105 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18106 of $GDB_PARALLEL.
18107
c8bd4544
DE
181082015-07-24 Doug Evans <dje@google.com>
18109
18110 * gdb.perf/lib/perftest/utils.py: New file.
18111 * gdb.perf/gm-hello.cc: New file.
18112 * gdb.perf/gm-pervasive-typedef.cc: New file.
18113 * gdb.perf/gm-pervasive-typedef.h: New file.
18114 * gdb.perf/gm-std.cc: New file.
18115 * gdb.perf/gm-std.h: New file.
18116 * gdb.perf/gm-use-cerr.cc: New file.
18117 * gdb.perf/gm-utils.h: New file.
18118 * gdb.perf/gmonster-null-lookup.py: New file.
18119 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18120 * gdb.perf/gmonster-print-cerr.py: New file.
18121 * gdb.perf/gmonster-ptype-string.py: New file.
18122 * gdb.perf/gmonster-runto-main.py: New file.
18123 * gdb.perf/gmonster-select-file.py: New file.
18124 * gdb.perf/gmonster1-null-lookup.exp: New file.
18125 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18126 * gdb.perf/gmonster1-print-cerr.exp: New file.
18127 * gdb.perf/gmonster1-ptype-string.exp: New file.
18128 * gdb.perf/gmonster1-runto-main.exp: New file.
18129 * gdb.perf/gmonster1-select-file.exp: New file.
18130 * gdb.perf/gmonster1.cc: New file.
18131 * gdb.perf/gmonster1.exp: New file.
18132 * gdb.perf/gmonster2-null-lookup.exp: New file.
18133 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18134 * gdb.perf/gmonster2-print-cerr.exp: New file.
18135 * gdb.perf/gmonster2-ptype-string.exp: New file.
18136 * gdb.perf/gmonster2-runto-main.exp: New file.
18137 * gdb.perf/gmonster2-select-file.exp: New file.
18138 * gdb.perf/gmonster2.cc: New file.
18139 * gdb.perf/gmonster2.exp: New file.
18140
6eab34f3
DE
181412015-07-24 Doug Evans <dje@google.com>
18142
18143 * gdb.perf/README: New file.
18144 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18145 * lib/gen-perf-test.exp: New file.
18146
63738bfd
DE
181472015-07-24 Doug Evans <dje@google.com>
18148
18149 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18150 (PerfTest::startup): New function.
18151 (PerfTest::run): Return result of calling body.
18152 (PerfTest::assemble): Rewrite.
18153 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18154 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18155 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18156 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18157 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18158
7b606f95
DE
181592015-07-24 Doug Evans <dje@google.com>
18160
18161 * lib/gdb.exp (clean_restart): Make executable optional.
18162
a97b16b8
DE
181632015-07-24 Doug Evans <dje@google.com>
18164
18165 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18166 compiler_info references.
18167 * gdb.cp/temargs.exp: Ditto.
18168 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18169 (get_compiler_info): Early exit if already computed. Set compiler_info
18170 to "unknown" if there was a problem.
18171 (test_compiler_info): Add function comment. Call get_compiler_info.
18172
35baa57f
DE
181732015-07-24 Doug Evans <dje@google.com>
18174
18175 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18176 (workers/%.worker, build-perf): New rule.
18177 (GDB_PERFTEST_MODE): New variable.
18178 (check-perf): Use it.
18179 (clean): Clean up gdb.perf parallel build subdirs.
18180 * lib/build-piece.exp: New file.
18181 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18182 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18183 name.
18184 (standard_temp_file): Ditto.
18185 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18186 of $GDB_PARALLEL.
18187
6ebea266
DE
181882015-07-24 Doug Evans <dje@google.com>
18189
18190 * lib/future.exp (gdb_default_target_compile): New option
18191 "early_flags".
18192 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18193 --as-needed.
18194
1e76a7e9
SDJ
181952015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18196
18197 * gdb.base/catch-syscall.exp: Call gdb_exit before
18198 gdb_skip_xml_test.
18199
5068630a
PA
182002015-07-24 Pedro Alves <palves@redhat.com>
18201
18202 * gdb.python/py-events.exp: Accept output between the stop event
18203 and the prompt.
18204 * gdb.python/py-evsignal.exp: Likewise.
18205 * gdb.python/py-evthreads.exp: Likewise.
18206
77598427
PA
182072015-07-24 Pedro Alves <palves@redhat.com>
18208
18209 PR gdb/18717
18210 * gdb.threads/non-ldr-exit.c: New file.
18211 * gdb.threads/non-ldr-exit.exp: New file.
18212
11e6c98f
YQ
182132015-07-24 Yao Qi <yao.qi@linaro.org>
18214
18215 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18216 restarting process.
18217
51aee833
YQ
182182015-07-24 Yao Qi <yao.qi@linaro.org>
18219
18220 * gdb.server/ext-restart.exp: New file.
18221
8cfe207c
YQ
182222015-07-24 Yao Qi <yao.qi@linaro.org>
18223
18224 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18225 argument options.
18226 * gdb.server/ext-wrapper.exp: New file.
18227
cc12ce38
DE
182282015-07-23 Doug Evans <dje@google.com>
18229
18230 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18231 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18232
d0d84780
PMR
182332015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18234
18235 * gdb.ada/var_arr_typedef.exp: New testcase.
18236 * gdb.ada/var_arr_typedef/pack.adb: New file.
18237 * gdb.ada/var_arr_typedef/pack.ads: New file.
18238 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18239
8b558f79
JB
182402015-07-20 Joel Brobecker <brobecker@adacore.com>
18241
18242 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18243
775a3298
JK
182442015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18245
18246 * gdb.arch/i386-biarch-core.exp: Replace istarget
18247 by "complete set gnutarget". Remove expectation for the "core-file"
18248 command.
18249
db1ff28b
JK
182502015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18251
18252 Revert the previous commit:
18253 Tests for validate symbol file using build-id.
18254
0a94970d
JK
182552015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18256
18257 Tests for validate symbol file using build-id.
18258 * gdb.base/solib-mismatch-lib.c: New file.
18259 * gdb.base/solib-mismatch-libmod.c: New file.
18260 * gdb.base/solib-mismatch.c: New file.
18261 * gdb.base/solib-mismatch.exp: New file.
18262
03346981
SL
182632015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18264
18265 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18266 nios2-*-linux*.
18267 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18268 * gdb.base/siginfo.exp: Likewise.
18269 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18270
42422cc7
PL
182712015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18272
18273 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18274 Move it to ...
18275 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18276 ... here.
18277 * gdb.trace/range-stepping.exp: Check that the target supports
18278 range stepping.
18279
cfa68bae
JK
182802015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18281
18282 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18283
8ffdba26
PA
182842015-07-14 Pedro Alves <palves@redhat.com>
18285
18286 * gdb.base/killed-outside.exp: New file.
18287 * gdb.base/killed-outside.c: New file.
18288
218a5a11
JK
182892015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18290
18291 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18292 (n at main): New.
18293 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18294
e03ed3c6
AA
182952015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18296
18297 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18298 infcall tests instead of setting up for KFAIL.
18299
485668e5
MM
183002015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18301
18302 * gdb.btrace/record_goto-step.exp: New.
18303
08464196
JK
183042015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18305
18306 PR compile/18484
18307 * gdb.compile/compile.c (struct struct_type): Add volatile to
18308 selffield's type.
18309 * gdb.compile/compile.exp
18310 (compile code struct_object.selffield = &struct_object): Skip further
18311 struct_object tests if this one xfails.
18312
bcf5c1d9
RC
183132015-07-08 Robert O'Callahan <robert@ocallahan.org>
18314
18315 PR exp/18617
18316 * gdb.trace/ax.exp: Add test.
18317
4931af25
YQ
183182015-07-07 Yao Qi <yao.qi@linaro.org>
18319
18320 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18321 instead of istarget "aarch64*-*-*".
18322 * gdb.arch/aarch64-fp.exp: Likewise.
18323 * gdb.base/float.exp: Likewise.
18324 * gdb.reverse/aarch64.exp: Likewise.
18325 * lib/gdb.exp (is_aarch64_target): New proc.
18326
9fcf688e
YQ
183272015-07-07 Yao Qi <yao.qi@linaro.org>
18328
18329 * lib/gdb.exp (is_aarch32_target): New proc.
18330 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18331 instead of "istarget "arm*-*-*"".
18332 * gdb.arch/arm-disp-step.exp: Likewise.
18333 * gdb.arch/thumb-bx-pc.exp: Likewise.
18334 * gdb.arch/thumb-prologue.exp: Likewise.
18335 * gdb.arch/thumb-singlestep.exp: Likewise.
18336 * gdb.base/disp-step-syscall.exp: Likewise.
18337 * gdb.base/float.exp: Likewise.
18338
fbd8d50d
YQ
183392015-07-07 Yao Qi <yao.qi@linaro.org>
18340
18341 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18342 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18343
71be1fdc
YQ
183442015-07-07 Yao Qi <yao.qi@linaro.org>
18345
18346 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18347 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18348 if it exists.
18349 * gdb.multi/multi-arch.exp: Likewise.
18350
3e221d36
SM
183512015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18352
18353 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18354 print.
18355
d441430b
YQ
183562015-07-07 Yao Qi <yao.qi@linaro.org>
18357
18358 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18359
06f810bd
MG
183602015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18361
18362 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18363 '[' and ']' characters.
18364
5e61e7c0
IB
183652015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18366
18367 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18368
28bf096c
PA
183692015-06-29 Pedro Alves <palves@redhat.com>
18370
18371 PR threads/18127
18372 * gdb.threads/hand-call-new-thread.c: New file.
18373 * gdb.threads/hand-call-new-thread.c: New file.
18374
ee93cd5e
KS
183752015-06-26 Keith Seitz <keiths@redhat.com>
18376 Doug Evans <dje@google.com>
18377
18378 PR 16253
18379 * gdb.cp/var-tag-2.cc: New file.
18380 * gdb.cp/var-tag-3.cc: New file.
18381 * gdb.cp/var-tag-4.cc: New file.
18382 * gdb.cp/var-tag.cc: New file.
18383 * gdb.cp/var-tag.exp: New file.
18384
fc637f04
PP
183852015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18386
18387 * gdb.base/history-duplicates.exp: New test.
18388
2e52ae68
PP
183892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18390
18391 * gdb.base/completion.exp: Test the completion of the "focus"
18392 command.
18393
6e22494e
JK
183942015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18395
18396 * gdb.arch/amd64-prologue-skip.S: New file.
18397 * gdb.arch/amd64-prologue-skip.exp: New file.
18398
bf7b9cd9
SM
183992015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18400
18401 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18402 is_address_zero_readable check.
18403
201e8dfd
PB
184042015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18405
18406 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18407 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18408
5cd867b4
YQ
184092015-06-24 Yao Qi <yao.qi@linaro.org>
18410
18411 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18412 linux targets.
18413
4d7be007
YQ
184142015-06-24 Yao Qi <yao.qi@linaro.org>
18415
18416 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18417 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18418 * gdb.base/siginfo-thread.exp: Likewise.
18419
07fcd301
YQ
184202015-06-22 Yao Qi <yao.qi@linaro.org>
18421
18422 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18423
52042a00
YQ
184242015-06-22 Yao Qi <yao.qi@linaro.org>
18425
18426 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18427 aarch64*-*-*.
18428 (skip_hw_watchpoint_tests): Likewise.
18429
74bd41ce
PP
184302015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18431
18432 * gdb.base/gdbinit-history.exp: Test the interaction between
18433 setting GDBHISTSIZE and setting the history size via .gdbinit.
18434
bc460514
PP
184352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18436
18437 PR gdb/16999
18438 * gdb.base/gdbhistsize-history.exp: New test.
18439
b58c513b
PP
184402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18441
18442 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18443 with GDBHISTSIZE.
18444 * gdb.base/readline.exp: Likewise.
18445
92046791
YQ
184462015-06-17 Yao Qi <yao.qi@linaro.org>
18447
18448 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18449 line.
18450
2093d2d3
PP
184512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18452
18453 * gdb.base/gdbinit-history.exp: Add test case to check that
18454 an unlimited history file does not get truncated on exit.
18455
e6c693af
AA
184562015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18457
18458 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18459 (VECTOR): New macro. Use it...
18460 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18461 ...for these typedefs.
18462 (int8, char1, int1, double1): New typedefs.
18463 (struct just_int2, struct two_int2): New structures.
18464 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18465 (add_structvecs, add_singlevecs): New functions.
18466 (main): Call add_some_intvecs twice.
18467 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18468 the compile and exit upon failure. Try compiling for the "native"
18469 architecture. Test inferior function calls with vector arguments
18470 and vector return value handling with "finish" and "return".
18471
c74f7d1c
JT
184722015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18473
18474 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18475 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18476 PE file.
18477 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18478
98aa42ee
AT
184792015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18480
18481 PR breakpoints/16465
18482 * gdb.mi/mi-dprintf-pending.c: New file.
18483 * gdb.mi/mi-dprintf-pending.exp: New test.
18484 * gdb.mi/mi-dprintf-pendshr.c: New file.
18485
7d73c23c 184862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18487 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18488
18489 * gdb.arch/i386-mpx-map.c: New file.
18490 * gdb.arch/i386-mpx-map.exp: New File.
18491
184922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18493
18494 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18495 * gdb.arch/i386-mpx.exp: Indentation fixed.
18496
184972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18498
18499 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18500 function and improved indentation.
18501 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18502 gdb_test_multiple. Added additional tests to skip the test.
18503
185042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18505
18506 * gdb.arch/i386-avx512.c: Change path in include file.
18507 * gdb.arch/i386-avx512.exp: Change include dir path
18508 compilation flag.
18509 * gdb.arch/i386-mpx.c: Change path in include file.
18510 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18511 flag.
18512
d5eba19a
JK
185132015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18514
18515 * gdb.compile/compile-print.exp (compile print *vararray@3)
18516 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18517
7f361056
JK
185182015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18519
18520 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18521 (do not keep jit in memory): ... this.
18522 (expect 5): Change it to ...
18523 (expect no 5): ... this.
18524
3b462ec2
SM
185252015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18526
18527 PR gdb/15564
18528 * gdb.mi/mi-detach.exp: New file.
18529
e0619de6
JK
185302015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18531
18532 PR symtab/18392
18533 * gdb.arch/amd64-tailcall-self.S: New file.
18534 * gdb.arch/amd64-tailcall-self.c: New file.
18535 * gdb.arch/amd64-tailcall-self.exp: New file.
18536
e970cb34
DB
185372015-05-28 Don Breazeal <donb@codesourcery.com>
18538
18539 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18540 tests for remote targets by checking is_target_gdbserver.
18541
b2e2f908
DE
185422015-05-27 Doug Evans <dje@google.com>
18543
18544 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18545 * gdb.dwarf2/opaque-type-lookup.c: New file.
18546 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18547
82c7be31
DE
185482015-05-26 Doug Evans <dje@google.com>
18549
18550 * gdb.cp/iostream.cc: New file.
18551 * gdb.cp/iostream.exp: New file.
18552
b4f54984
DE
185532015-05-26 Doug Evans <dje@google.com>
18554
18555 * gdb.dwarf2/dw2-op-call.exp: Update.
18556 * gdb.dwarf2/dw4-sig-types.exp: Update.
18557 * gdb.dwarf2/implptr.exp: Update.
18558 * gdb.mi/mi-cmd-param-changed.exp: Update.
18559
4ea6efe9
DE
185602015-05-26 Doug Evans <dje@google.com>
18561
18562 * gdb.python/py-lazy-string.c: New file.
18563 * gdb.python/py-lazy-string.exp: New file.
18564 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18565 (main): Update. Add estring3.
18566 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18567 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18568
f6bb7db3
YQ
185692015-05-26 Omair Javaid <omair.javaid@linaro.org>
18570 Yao Qi <yao.qi@linaro.org>
18571
18572 * gdb.reverse/aarch64.c: New.
18573 * gdb.reverse/aarch64.exp: New.
18574
a81bfbd0
OJ
185752015-05-26 Omair Javaid <omair.javaid@linaro.org>
18576
25d49b86
PA
18577 * lib/gdb.exp (supports_process_record): Return true for
18578 aarch64*-linux*.
a81bfbd0
OJ
18579 (supports_reverse): Likewise.
18580
158bf1b4
PP
185812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18582
18583 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18584 Use with_test_prefix.
18585
a0145030
AB
185862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18587
18588 * gdb.base/completion.exp: Add test for completion of layout
18589 names.
18590
ebe3b578
AB
185912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18592
18593 * lib/gdb.exp (skip_tui_tests): New proc.
18594 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18595
84204ed7
PA
185962015-05-19 Pedro Alves <palves@redhat.com>
18597
18598 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18599 Save the whole env array instead of just HOME. Unset HISTSIZE in
18600 the environment while testing. Restore whole environment
18601 afterwards.
18602
37442ce1
DE
186032015-05-16 Doug Evans <xdje42@gmail.com>
18604
18605 * gdb.guile/scm-ports.c: New file.
18606 * gdb.guile/scm-ports.exp: Add memory port tests.
18607
36de76f9
JK
186082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18609
18610 * gdb.compile/compile-print.c: New file.
18611 * gdb.compile/compile-print.exp: New file.
18612
3a9558c4
JK
186132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18614
18615 * gdb.compile/compile-ops.exp: Cast param to void.
18616 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18617 (compile code struct_object.selffield = &struct_object): Add xfail.
18618
aa715135
JG
186192015-05-15 Joel Brobecker <brobecker@adacore.com>
18620
18621 * gdb.ada/arr_enum_with_gap: New testcase.
18622
931e5bc3
JG
186232015-05-15 Joel Brobecker <brobecker@adacore.com>
18624
18625 * gdb.ada/byte_packed_arr: New testcase.
18626
9cd4d857
JB
186272015-05-15 Joel Brobecker <brobecker@adacore.com>
18628
18629 * gdb.ada/pckd_neg: New testcase.
18630
ebfd00d2
PP
186312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18632
18633 PR gdb/17820
18634 * gdb.base/gdbinit-history.exp: New test.
18635 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18636 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18637
4c082a81
SC
186382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18639
18640 * gdb.python/py-xmethods.cc: Enhance test case.
18641 * gdb.python/py-xmethods.exp: New tests.
18642 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18643 function.
18644 (B_indexoper): Likewise.
18645 (global_dm_list) : Add new xmethod worker functions.
18646
f7797074
SDJ
186472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18648
18649 * gdb.base/coredump-filter.exp: Correctly unset
18650 "coredump_var_addr" array.
18651
a4674e4e
PA
186522015-05-08 Pedro Alves <palves@redhat.com>
18653
18654 * gdb.server/non-existing-program.exp: Unset spawn_id.
18655
df2eb078
SC
186562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18657
18658 PR python/18291
18659 * gdb.python/py-xmethods.exp: Add tests.
18660
422349a3
YQ
186612015-05-08 Yao Qi <yao.qi@linaro.org>
18662
18663 PR gdb/18208
18664 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18665 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18666 function set_coredump_filter, and remove remote_exec call.
18667 Remove argument ipid. Callers update.
18668 (top level): Don't get inferior's PID.
18669
63fc80ce
AA
186702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18671
18672 * gdb.base/watch_thread_num.exp: Skip test on targets without
18673 access watchpoints.
18674
80ad801e
PA
186752015-05-06 Pedro Alves <palves@redhat.com>
18676
18677 PR server/18081
18678 * gdb.server/non-existing-program.exp: New file.
18679
0fa7fe50
JB
186802015-05-05 Joel Brobecker <brobecker@adacore.com>
18681
18682 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18683
3ea89b92
PMR
186842015-05-05 Joel Brobecker <brobecker@adacore.com>
18685
18686 * gdb.ada/out_of_line_in_inlined: New testcase.
18687
87b8eff0
JB
186882015-05-05 Joel Brobecker <brobecker@adacore.com>
18689
18690 * gdb.ada/var_rec_arr: New testcase.
18691
5fccc635
YQ
186922015-04-30 Yao Qi <yao.qi@linaro.org>
18693
18694 * gdb.base/break-idempotent.exp: If
18695 skip_hw_watchpoint_multi_tests returns true, skip the tests
18696 on "rwatch" and "awatch".
18697
42d38f42
YQ
186982015-04-30 Yao Qi <yao.qi@linaro.org>
18699
18700 * gdb.base/relativedebug.exp: Invoke gdb command
18701 "info sharedlibrary", and if libc.so doesn't have debug info,
18702 skip the test.
18703
2ce1cdbf
DE
187042015-04-29 Doug Evans <dje@google.com>
18705
18706 * gdb.python/py-xmethods.exp: Add ptype tests.
18707 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18708 get_result_type method.
18709
f24a38c5
LM
187102015-04-29 Luis Machado <lgustavo@codesourcery.com>
18711
18712 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18713 the target does not support hardware watchpoints.
18714
ecbf2b3c
LM
187152015-04-29 Luis Machado <lgustavo@codesourcery.com>
18716
18717 * gdb.base/break-always.exp: Abort testing if writing to memory
18718 causes an error.
18719
34f5f757
DE
187202015-04-28 Doug Evans <dje@google.com>
18721
18722 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18723 * gdb.python/py-pp-registration.exp: ... here. New file.
18724 * gdb.python/py-pp-registration.c: New file.
18725 * gdb.python/py-pp-registration.py: New file.
18726
69b4374a
DE
187272015-04-28 Doug Evans <dje@google.com>
18728
18729 * gdb.python/py-bad-printers.c: New file.
18730 * gdb.python/py-bad-printers.py: New file.
18731 * gdb.python/py-bad-printers.exp: New file.
18732
59fb7612
SS
187332015-04-28 Sasha Smundak <asmundak@google.com>
18734
18735 * gdb.python/py-type.exp: New test.
18736
2631b16a
AW
187372015-04-28 Andy Wingo <wingo@igalia.com>
18738
18739 * gdb.python/py-parameter.exp:
18740 * gdb.guile/scm-parameter.exp: Escape the path that we are
18741 matching against, as it might contain characters that are special
18742 to regular expressions.
18743
460efde1
JB
187442015-04-27 Joel Brobecker <brobecker@adacore.com>
18745
18746 * gdb.ada/rec_comp: New testcase.
18747
2d369d8e
SDJ
187482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18749
18750 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18751 before using it.
18752
cf75d6c3
AB
187532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18754
18755 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18756 new tests for verilog output.
18757
8dbe7ca5
YQ
187582015-04-24 Yao Qi <yao.qi@linaro.org>
18759
18760 * boards/remote-gdbserver-on-localhost.exp: New file.
18761
4ef9fb2f
PA
187622015-04-23 Pedro Alves <palves@redhat.com>
18763
18764 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18765 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18766 "end of file", remove $inferior_spawn_id from the indirect list.
18767
0a803169
PA
187682015-04-23 Pedro Alves <palves@redhat.com>
18769
18770 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18771
749ef8f8
PA
187722015-04-23 Pedro Alves <palves@redhat.com>
18773
18774 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18775 on $any_spawn_id instead of only on $gdb_spawn_id.
18776
8aae4344
PM
187772015-04-21 Pierre Muller <muller@sourceware.org>
18778
18779 PR pascal/17815
18780 * lib/pascal.exp (gpc_compile): Add new option "class".
18781 (fpc_compile): Likewise.
18782 * gdb.pascal/case-insensitive-symbols.pas: New file.
18783 * gdb.pascal/case-insensitive-symbols.exp: New file.
18784
1586c8fb
GB
187852015-04-20 Gary Benson <gbenson@redhat.com>
18786
18787 * gdb.base/attach.exp: Fix three extended remote failures.
18788
1b6e6f5c
GB
187892015-04-17 Gary Benson <gbenson@redhat.com>
18790
18791 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18792 the main executable over the remote protocol.
18793
e797481d
PA
187942015-04-16 Pedro Alves <palves@redhat.com>
18795
18796 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18797 a new gdbserver if gdbserver_reconnect_p is set.
18798
1ca99c42
PA
187992015-04-16 Pedro Alves <palves@redhat.com>
18800
18801 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18802 is set, don't exit gdbserver.
18803
af9fd6f8
AA
188042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18805
18806 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18807 appropriate .insn, such that an older assembler can be used.
18808 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18809 the z/Architecture instruction set on 31-bit targets as well.
18810
04ff1e61
AA
188112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18812
18813 * gdb.go/handcall.exp: Remove all logic related to the first
18814 breakpoint and rely on go_runto_main instead.
18815 * gdb.go/strings.exp: Likewise.
18816 * gdb.go/unsafe.exp: Likewise.
18817 * gdb.go/hello.exp: Likewise. Also rename the remaining
18818 breakpoint marker to "breakpoint 1".
18819 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18820 * gdb.go/strings.go: Likewise.
18821 * gdb.go/unsafe.go: Likewise.
18822 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18823 "set breakpoint 2 here" and rename the remaining breakpoint marker
18824 to "breakpoint 1".
18825
40d2f8d6
SM
188262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18827
18828 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18829 if itertools.imap is not present.
18830 * gdb.python/py-objfile.exp: Add parentheses.
18831 * gdb.python/py-type.exp: Same.
18832 * gdb.python/py-unwind-maint.py: Same.
18833
8cbc97c6
YQ
188342015-04-15 Yao Qi <yao.qi@linaro.org>
18835
18836 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18837 of ":$ptr_size" and set its form explicitly.
18838
45fd756c
YQ
188392015-04-15 Pedro Alves <palves@redhat.com>
18840 Yao Qi <yao.qi@linaro.org>
18841
18842 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18843 timeout by factor of 4.
18844 (test_regular_watch): Likewise.
18845 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18846 * gdb.reverse/sigall-reverse.exp: Likewise.
18847 * gdb.reverse/until-precsave.exp: Likewise.
18848 * lib/gdb.exp (with_timeout_factor): New proc.
18849 (gdb_expect): Move some code to ...
18850 (get_largest_timeout): ... here. New procedure.
18851
9e811bc3
LM
188522015-04-14 Luis Machado <lgustavo@codesourcery.com>
18853
18854 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18855
0ff6fcb2
LM
188562015-04-13 Luis Machado <lgustavo@codesourcery.com>
18857
18858 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18859 to write to the .text section.
18860
7578d5f7
LM
188612015-04-13 Luis Machado <lgustavo@codesourcery.com>
18862
18863 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18864 Handle the case of targets that do not provide PID information.
18865
2efe15c4
YQ
188662015-04-13 Yao Qi <yao.qi@linaro.org>
18867
18868 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18869 and use expect instead of gdb_expect.
18870
8cd8f2f8
SDJ
188712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18872
18873 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18874 "coredump_var_addr" to avoid naming conflict with other testcases.
18875
9ee41772
PA
188762015-04-10 Pedro Alves <palves@redhat.com>
18877
18878 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18879 gdb_test_sequence and gdb_assert.
18880
07473109
PA
188812015-04-10 Pedro Alves <palves@redhat.com>
18882
18883 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18884 test messages that don't include the breakpoint address.
18885
de3db44c
YQ
188862015-04-10 Yao Qi <yao.qi@linaro.org>
18887
18888 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18889 false for some offset and width combinations which aren't
18890 supported by linux kernel.
18891
c79d856c
PA
188922015-04-10 Pedro Alves <palves@redhat.com>
18893
18894 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18895 procedure, factored out from ...
18896 (top level): ... here. Add "set displaced-stepping" testing axis.
18897 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18898 parameter "displaced". Use it.
18899 (top level): Use foreach and add "set displaced-stepping" testing
18900 axis.
18901
ebc90b50
PA
189022015-04-10 Pedro Alves <palves@redhat.com>
18903
18904 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18905 Remove comment.
18906 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18907 both the address of the instruction that triggers the watchpoint
18908 and the address of the instruction immediately after, and use
18909 those addresses for the test. Fix comment.
18910
8f572e5c
PA
189112015-04-10 Pedro Alves <palves@redhat.com>
18912
18913 * gdb.base/sigstep.exp (breakpoint_to_handler)
18914 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18915 Test "backtrace" in handler.
18916 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18917 (top level): Add new "displaced" test axis to
18918 breakpoint_to_handler, breakpoint_to_handler_entry and
18919 breakpoint_over_handler.
18920
8d707a12
PA
189212015-04-10 Pedro Alves <palves@redhat.com>
18922
18923 PR gdb/18216
18924 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18925
ef713951
YQ
189262015-04-10 Yao Qi <yao.qi@linaro.org>
18927
18928 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18929 (test_add_rn_pc): New function.
18930 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18931 (top level): Invoke test_add_rn_pc.
18932
906d60cf
PA
189332015-04-10 Pedro Alves <palves@redhat.com>
18934
18935 PR gdb/13858
18936 * gdb.base/step-over-no-symbols.exp: New file.
18937
f2983cc3
AW
189382015-04-09 Andy Wingo <wingo@igalia.com>
18939
18940 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18941 after the Python tests.
18942
6d62641c
SDJ
189432015-04-08 Keith Seitz <keiths@redhat.com>
18944
18945 PR python/16699
18946 * gdb.python/py-completion.exp: New tests for completion.
18947 * gdb.python/py-completion.py (CompleteLimit1): New class.
18948 (CompleteLimit2): Likewise.
18949 (CompleteLimit3): Likewise.
18950 (CompleteLimit4): Likewise.
18951 (CompleteLimit5): Likewise.
18952 (CompleteLimit6): Likewise.
18953 (CompleteLimit7): Likewise.
18954
f3770638
PA
189552015-04-08 Pedro Alves <palves@redhat.com>
18956
18957 PR gdb/18214
18958 PR gdb/18216
18959 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18960 function.
18961 (main): Install it as SIGUSR1 handler.
18962 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18963 parameter. Always use "setup" as prefix. Toggle "set
18964 displaced-stepping" off/on depending on global. Don't switch to
18965 thread 1 here.
18966 (top level): Add displaced stepping "off/on" test axis. Update
18967 "setup" calls. Wrap each subtest with with_test_prefix. Test
18968 continuing with a queued signal in each thread.
18969
4496bed7
PA
189702015-04-08 Pedro Alves <palves@redhat.com>
18971
18972 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18973 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18974 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18975 Return early if running to main fails.
18976 * gdb.trace/while-stepping.exp: Likewise.
18977
b97fde92
PA
189782015-04-07 Pedro Alves <palves@redhat.com>
18979
18980 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18981 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18982 interact with inferior program.
18983
f71c18e7
PA
189842015-04-07 Pedro Alves <palves@redhat.com>
18985
18986 * lib/gdb.exp (inferior_spawn_id): New global.
18987 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18988 spawn id after processing the user code.
18989 (default_gdb_start): Set inferior_spawn_id.
18990 (send_inferior): New procedure.
18991 * lib/gdbserver-support.exp (gdbserver_start): Set
18992 inferior_spawn_id.
18993 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18994
6423214f
PA
189952015-04-07 Pedro Alves <palves@redhat.com>
18996
18997 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18998 * lib/gdbserver-support.exp (gdbserver_start): Make
18999 $server_spawn_id global.
19000 (gdbserver_start): Don't wait for gdbserver's spawn id with
19001 expect_background.
19002 (close_gdbserver): New procedure.
19003 (gdb_exit): Rename the default version and reimplement.
19004
71c0ee8c
PA
190052015-04-07 Pedro Alves <palves@redhat.com>
19006
72f4393d 19007 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19008 append the substituted item, not the original item.
19009
203bc29b
PA
190102015-04-07 Pedro Alves <palves@redhat.com>
19011
19012 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19013 gdb_expect.
19014
508a3ddf
PA
190152015-04-07 Pedro Alves <palves@redhat.com>
19016
19017 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19018 output appearing once only.
19019
9f6dbe2b
PA
190202015-04-07 Pedro Alves <palves@redhat.com>
19021
19022 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19023 that doesn't expect anything. Return early if running to main
19024 fails.
19025
337532fa
YQ
190262015-04-07 Yao Qi <yao.qi@linaro.org>
19027
19028 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19029 (child_function): Call alarm.
19030 (main): Move call to alarm into the loop.
19031 * gdb.threads/non-stop-fair-events.exp: Build program with
19032 -DTIMEOUT=$timeout.
19033
01b622d4
DE
190342015-04-06 Doug Evans <xdje42@gmail.com>
19035
19036 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19037 Fix dest parameter to board_info.
19038 (fpc_compile): Ditto.
19039 (gdb_compile_pascal): Rename dest arg to destfile.
19040
961f4160
PMR
190412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19042
19043 * gdb.ada/funcall_ref.exp: New file.
19044 * gdb.ada/funcall_ref/foo.adb: New file.
19045
cafda597
YQ
190462015-04-02 Yao Qi <yao.qi@linaro.org>
19047
19048 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19049 is remote.
19050
fed040c6
GB
190512015-04-02 Gary Benson <gbenson@redhat.com>
19052
19053 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19054
d11916aa
SS
190552015-04-01 Sasha Smundak <asmundak@google.com>
19056
19057 * gdb.python/py-unwind-maint.c: New file.
19058 * gdb.python/py-unwind-maint.exp: New test.
19059 * gdb.python/py-unwind-maint.py: New file.
19060 * gdb.python/py-unwind.c: New file.
19061 * gdb.python/py-unwind.exp: New test.
19062 * gdb.python/py-unwind.py: New test.
19063
a1471180
PA
190642015-04-01 Pedro Alves <palves@redhat.com>
19065
19066 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19067 to fail instead of non-existent $test.
19068
0bbeccb1
PA
190692015-04-01 Pedro Alves <palves@redhat.com>
19070
19071 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19072 GDBFLAGS if not empty.
19073
3c724c8c
PMR
190742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19075
19076 * gdb.ada/complete.exp: Remove "multi_line".
19077 * gdb.ada/info_exc.exp: Remove "multi_line".
19078 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19079 * gdb.ada/ptype_field.exp: Remove "multi_line".
19080 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19081 * gdb.ada/tagged.exp: Remove "multi_line".
19082 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19083 [multi_line ...]
19084 * gdb.btrace/delta.exp: Likewise.
19085 * gdb.btrace/exception.exp: Likewise.
19086 * gdb.btrace/function_call_history.exp: Likewise.
19087 * gdb.btrace/instruction_history.exp: Likewise.
19088 * gdb.btrace/nohist.exp: Likewise.
19089 * gdb.btrace/record_goto.exp: Likewise.
19090 * gdb.btrace/segv.exp: Likewise.
19091 * gdb.btrace/stepi.exp: Likewise.
19092 * gdb.btrace/tailcall.exp: Likewise.
19093 * gdb.btrace/unknown_functions.exp: Likewise.
19094 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19095 * lib/gdb.exp: Add the "multi_line" helper.
19096
4eec2deb
PA
190972015-04-01 Pedro Alves <palves@redhat.com>
19098
19099 * gdb.threads/tid-reuse.c: New file.
19100 * gdb.threads/tid-reuse.exp: New file.
19101
df8411da
SDJ
191022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19103
19104 PR corefiles/16092
19105 * gdb.base/coredump-filter.c: New file.
19106 * gdb.base/coredump-filter.exp: Likewise.
19107
6ef37366
PM
191082015-03-27 Petr Machata <pmachata@redhat.com>
19109
19110 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19111 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19112 (Dwarf::assemble): Initialize them.
19113 (Dwarf::lines): New function.
19114
7ec911b0
JT
191152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19116
19117 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19118 SYMBOL_PREFIX for x86_64-*-cygwin.
19119
ff908ebf
AW
191202015-03-26 Andy Wingo <wingo@igalia.com>
19121
19122 PR symtab/18148
19123 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19124 const_value but not a location.
19125 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19126 location defined in non-main CUs are visible.
19127
6d5f0679
YQ
191282015-03-26 Yao Qi <yao.qi@linaro.org>
19129
19130 PR testsuite/18139
19131 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19132 Add a line number entry for the same line.
19133 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19134 Add a line number entry for the same line.
19135
2898689b
YQ
191362015-03-26 Yao Qi <yao.qi@linaro.org>
19137
19138 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19139 .int 0.
19140 (func): Likewise. Add .Lfunc_1 label.
19141 Use .Lfunc_1 label.
19142 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19143 .int 0.
19144 (func): Likewise.
19145 Use .Lfunc_1 label.
19146
85180498
YQ
191472015-03-26 Yao Qi <yao.qi@linaro.org>
19148
19149 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19150 Call gdb_compile instead to compile each .s files without debug
19151 information.
19152
8aa08a8d
YQ
191532015-03-26 Yao Qi <yao.qi@linaro.org>
19154
19155 * gdb.base/savedregs.exp (process_saved_regs): Make
19156 "Saved registers:" optional in the pattern.
19157
66849923
MM
191582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19159
19160 * gdb.btrace/next.exp: Merged into step.exp.
19161 * gdb.btrace/finish.exp: Merged into step.exp.
19162 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19163 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19164 "record goto" and checking the exact replay position.
19165 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19166 check for "Recording format" in "info record" output.
19167 * gdb.btrace/record_goto.exp: Choose test file based on target.
19168 * gdb.btrace/x86-record_goto.S: Renamed into ...
19169 * gdb.btrace/x86_64-record_goto.S: ... this.
19170 * gdb.btrace/i686-record_goto.S: New.
19171 * gdb.btrace/x86-tailcall.S: Renamed into ...
19172 * gdb.btrace/x86_64-tailcall.S: ... this.
19173 * gdb.btrace/i686-tailcall.S: New.
19174 * gdb.btrace/x86-tailcall.c: Renamed into ...
19175 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19176 separate statements. Update test.
19177 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19178 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19179 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19180 * gdb.btrace/tailcall.exp: Choose test file based on target.
19181 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19182
11cc1b74
MM
191832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19184
19185 * gdb.btrace/exception.exp: Increase BTS buffer size.
19186
a25d8bf9
PA
191872015-03-24 Pedro Alves <palves@redhat.com>
19188
19189 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19190
856e7dd6
PA
191912015-03-24 Pedro Alves <palves@redhat.com>
19192
19193 * gdb.threads/schedlock.exp (test_step): No longer expect that
19194 "set scheduler-locking step" with "next" over a function call runs
19195 threads unlocked.
19196
ad235a41
AT
191972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19198
19199 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19200
15630549
AT
192012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19202
19203 PR breakpoints/16466
19204 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19205 * gdb.mi/mi-pending.c (thread_func): New function.
19206 (int main): Add threading support required.
19207 * gdb.mi/mi-pending.exp: Add tests for this issue.
19208 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19209 (pendfunc2): Remove stdio dependency.
19210 * gdb.mi/mi-pendshr2.c: New file.
19211
693dca06
KS
192122015-03-23 Keith Seitz <keiths@redhat.com>
19213
19214 * gdb.linespec/keywords.c: New file.
19215 * gdb.linespec/keywords.exp: New file.
19216
7e993ebf
KS
192172015-03-23 Keith Seitz <keiths@redhat.com>
19218
19219 PR gdb/18021
19220 * gdb.dwarf2/staticvirtual.exp: New test.
19221
bc23328c
JK
192222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19223
19224 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19225 * README: Remove HP-UX and gdb.hp.
19226 (configuration):
19227 * configure: Regenerate.
19228 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19229 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19230 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19231 gdb.hp/gdb.defects/Makefile.
19232 * gdb.hp/Makefile.in: File deleted.
19233 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19234 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19235 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19236 * gdb.hp/gdb.aCC/run.c: File deleted.
19237 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19238 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19239 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19240 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19241 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19242 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19243 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19244 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19245 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19246 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19247 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19248 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19249 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19250 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19251 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19252 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19253 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19254 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19255 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19256 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19257 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19258 * gdb.hp/gdb.compat/average.c: File deleted.
19259 * gdb.hp/gdb.compat/sum.c: File deleted.
19260 * gdb.hp/gdb.compat/xdb.c: File deleted.
19261 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19262 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19263 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19264 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19265 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19266 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19267 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19268 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19269 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19270 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19271 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19272 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19273 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19274 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19275 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19276 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19277 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19278 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19279 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19280 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19281 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19282 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19283 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19284 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19285 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19286 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19287 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19288 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19289 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19290 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19291 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19292 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19293 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19294 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19295 * gdb.hp/tools/odump: File deleted.
19296
8bf3b159
PA
192972015-03-19 Pedro Alves <palves@redhat.com>
19298
19299 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19300 (saw_thread_3): New globals.
19301 (top level): Increment them when an event for the corresponding
19302 thread is seen.
19303 (no thread starvation): New test.
19304
eb54c8bf
PA
193052015-03-19 Pedro Alves <palves@redhat.com>
19306
19307 * gdb.threads/continue-pending-status.c: New file.
19308 * gdb.threads/continue-pending-status.exp: New file.
19309
32d2e5d6
PA
193102015-03-18 Pedro Alves <palves@redhat.com>
19311
19312 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19313 Use gdb_is_target_remote instead of is_remote. Use
19314 gdb_test_multiple instead of gdb_expect. Exit early if
19315 gdb_test_multiple hits its internal matches. Tighten stepi tests
19316 expected output. Fail on exit with any signal, instead of just
19317 SIGILL.
19318
f68f11b7
YQ
193192015-03-18 Yao Qi <yao.qi@linaro.org>
19320
19321 PR tdep/18107
19322 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19323 variable.
19324 * gdb.base/catch-syscall.exp: Don't skip it on
19325 aarch64*-*-linux* target. Remove elements in all_syscalls.
19326 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19327 target.
19328 (setup_all_syscalls): New proc.
19329
ca5fd19b
YQ
193302015-03-16 Yao Qi <yao.qi@linaro.org>
19331
19332 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19333 (top level): Skip tests if valid_addr_p returns false for
19334 $cmd1 or $cmd2.
19335
85642ba0
AW
193362015-03-11 Andy Wingo <wingo@igalia.com>
19337
19338 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19339
e03f9645
YQ
193402015-03-11 Yao Qi <yao.qi@linaro.org>
19341
19342 * gdb.base/catch-syscall.exp: Fix typo in comments.
19343
5d0962b2
YQ
193442015-03-11 Yao Qi <yao.qi@linaro.org>
19345
19346 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19347
b2df3cef
PA
193482015-03-09 Pedro Alves <palves@redhat.com>
19349
19350 * dg-extract-results.py: Delete.
19351
ef878e53
PA
193522015-03-09 Pedro Alves <palves@redhat.com>
19353
19354 Merge dg-extract-results.sh from GCC upstream (r218843).
19355
19356 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19357 * dg-extract-results.sh: Use --text with grep to avoid issues with
19358 binary files. Fall back to cat -v, if that doesn't work.
19359
9494d219
PA
193602015-03-05 Pedro Alves <palves@redhat.com>
19361
19362 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19363
a8d9763a
SM
193642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19365
19366 * lib/mi-support.exp (mi_expect_interrupt): Accept
19367 alternative event for when in all-stop mode.
19368
be9957b8
PA
193692015-03-04 Pedro Alves <palves@redhat.com>
19370
19371 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19372
d57be0f4 193732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19374
19375 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19376
c214c7cf
AA
193772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19378
19379 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19380 regexps for GDB's current line display, accept a hex address
19381 preceding the line number.
19382
6d74a497
AA
193832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19384
19385 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19386 the 'arch1' variable for "s390*-linux*" targets.
19387
511aee7c
PA
193882015-03-04 Pedro Alves <palves@redhat.com>
19389
19390 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19391 (main): Pass missing retval argument to pthread_join call.
19392
95e50b27
PA
193932015-03-02 Pedro Alves <palves@redhat.com>
19394
19395 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19396 (top level): Call do_test with non-stop as well.
19397
28054d69
PA
193982015-03-02 Pedro Alves <palves@redhat.com>
19399
19400 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19401 -1.
19402
4fa5d7b4
AA
194032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19404
19405 * gdb.arch/s390-vregs.exp: New test.
19406 * gdb.arch/s390-vregs.S: New file.
19407
97c18565
PA
194082015-02-27 Pedro Alves <palves@redhat.com>
19409
19410 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19411 call to catch_command_errors.
19412 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19413 catch_command_errors.
19414
a37bfa30
PA
194152015-02-27 Pedro Alves <palves@redhat.com>
19416
19417 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19418 "true" for boolean result.
19419 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19420 prototype of main.
19421
6f98576f
PA
194222015-02-27 Pedro Alves <palves@redhat.com>
19423
19424 * lib/unbuffer_output.c: New file.
19425 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19426 (main): Call gdb_unbuffer_output.
19427
eba5ab56
YQ
194282015-02-27 Yao Qi <yao.qi@linaro.org>
19429
19430 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19431 target.
19432
0def5aaa
DE
194332015-02-26 Doug Evans <dje@google.com>
19434
19435 * gdb.cp/class2.cc (Dbase, D): New classes.
19436 (main): New local delta.
19437 * gdb.cp/class2.exp: Test printing delta.
19438 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19439 (dynbar): New global.
19440 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19441
081a1c2c
JK
194422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19443
19444 * gdb.compile/compile-ifunc.c: New file.
19445 * gdb.compile/compile-ifunc.exp: New file.
19446
2f41223f
AT
194472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19448
19449 * gdb.base/structs.exp: Check for correct struct on finish.
19450
03eddd80
YQ
194512015-02-26 Yao Qi <yao.qi@linaro.org>
19452
19453 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19454 is zero.
19455
80c57053
JK
194562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19457
19458 * gdb.arch/cordic.ko.bz2: New file.
19459 * gdb.arch/cordic.ko.debug.bz2: New file.
19460 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19461
21613c12
YQ
194622015-02-25 Yao Qi <yao.qi@linaro.org>
19463
19464 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19465 aarch64*-*-* target.
19466
d8b901ed
PA
194672015-02-23 Pedro Alves <palves@redhat.com>
19468
19469 * lib/gdb.exp (delete_breakpoints): Rewrite using
19470 gdb_test_multiple.
19471
e5b85ead
PA
194722015-02-23 Pedro Alves <palves@redhat.com>
19473
19474 * gdb.base/info-os.c: Include stdlib.h.
19475
85c3a371
DE
194762015-02-22 Doug Evans <xdje42@gmail.com>
19477
19478 PR symtab/17855
19479 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19480 is read after symbols have been re-read.
19481 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19482 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19483
96553a0c
DE
194842015-02-21 Doug Evans <dje@google.com>
19485
19486 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19487
97a0c697
JK
194882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19489
19490 PR corefiles/17808
19491 * gdb.arch/i386-biarch-core.core.bz2: New file.
19492 * gdb.arch/i386-biarch-core.exp: New file.
19493
a47cd6e9
PA
194942015-02-21 Pedro Alves <palves@redhat.com>
19495
19496 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19497 runto_main fails.
19498
c5facdc4
PA
194992015-02-20 Pedro Alves <palves@redhat.com>
19500
19501 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19502 info probes.
19503
2db9a427
PA
195042015-02-20 Pedro Alves <palves@redhat.com>
19505
19506 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19507
60fb7e9e
PA
195082015-02-20 Pedro Alves <palves@redhat.com>
19509
19510 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19511 clean_restart before gdb_target_supports_trace.
19512
5c5019c2
PA
195132015-02-20 Pedro Alves <palves@redhat.com>
19514
19515 PR threads/18006
19516 * gdb.threads/clone-thread_db.c: New file.
19517 * gdb.threads/clone-thread_db.exp: New file.
19518
c9587f88
AT
195192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19520
19521 PR breakpoints/16812
19522 * gdb.base/catch-gdb-caused-signals.c: New file.
19523 * gdb.base/catch-gdb-caused-signals.exp: New file.
19524
f6a88844
JM
195252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19526
19527 * configure: Regenerated.
19528 * configure.ac: Use GDB_AC_TRANSFORM.
19529 * aclocal.m4: sinclude ../transform.m4.
19530
497c491b
JM
195312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19532
19533 * lib/dtrace.exp: New file.
19534 * gdb.base/dtrace-probe.exp: Likewise.
19535 * gdb.base/dtrace-probe.d: Likewise.
19536 * gdb.base/dtrace-probe.c: Likewise.
19537 * lib/pdtrace.in: Likewise.
19538 * configure.ac: Output variables with the transformed names of
19539 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19540 * configure: Regenerated.
19541
03e98035
JM
195422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19543
19544 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19545 expected message when trying to access $_probe_* convenience
19546 variables while not on a probe.
19547
63cc30e9
JK
195482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19549
19550 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19551
0703599a
PA
195522015-02-11 Pedro Alves <pedro@codesourcery.com>
19553
19554 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19555 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19556
7e60a48e
DE
195572015-02-10 Doug Evans <xdje42@gmail.com>
19558
19559 * lib/gdb.exp (gdb_load): Always return a result.
19560
01b088bc
PA
195612015-02-10 Pedro Alves <palves@redhat.com>
19562
19563 * gdb.threads/signal-sigtrap.c: New file.
19564 * gdb.threads/signal-sigtrap.exp: New file.
19565
b05ec7a5
AT
195662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19567
19568 * gdb.trace/no-attach-trace.c: New file.
19569 * gdb.trace/no-attach-trace.exp: New file.
19570
a2c2acaf
MW
195712015-02-09 Mark Wielaard <mjw@redhat.com>
19572
19573 * gdb.dwarf2/atomic.c: New file.
19574 * gdb.dwarf2/atomic-type.exp: Likewise.
19575
31fd9caa
MM
195762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19577
19578 * gdb.btrace/buffer-size.exp: Update "info record" output.
19579 * gdb.btrace/delta.exp: Update "info record" output.
19580 * gdb.btrace/enable.exp: Update "info record" output.
19581 * gdb.btrace/finish.exp: Update "info record" output.
19582 * gdb.btrace/instruction_history.exp: Update "info record" output.
19583 * gdb.btrace/next.exp: Update "info record" output.
19584 * gdb.btrace/nexti.exp: Update "info record" output.
19585 * gdb.btrace/step.exp: Update "info record" output.
19586 * gdb.btrace/stepi.exp: Update "info record" output.
19587 * gdb.btrace/nohist.exp: Update "info record" output.
19588
d33501a5
MM
195892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19590
19591 * gdb.btrace/buffer-size: New.
19592
f4abbc16
MM
195932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19594
19595 * gdb.btrace/delta.exp: Update "info record" output.
19596 * gdb.btrace/enable.exp: Update "info record" output.
19597 * gdb.btrace/finish.exp: Update "info record" output.
19598 * gdb.btrace/instruction_history.exp: Update "info record" output.
19599 * gdb.btrace/next.exp: Update "info record" output.
19600 * gdb.btrace/nexti.exp: Update "info record" output.
19601 * gdb.btrace/step.exp: Update "info record" output.
19602 * gdb.btrace/stepi.exp: Update "info record" output.
19603 * gdb.btrace/nohist.exp: Update "info record" output.
19604
b9d61307
SM
196052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19606
19607 PR gdb/15678
19608 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19609
e584fdbc
PA
196102015-02-06 Pedro Alves <palves@redhat.com>
19611
19612 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19613 macro.
19614 (seconds_left, again): New globals.
19615 (main): Wait seconds_left in a 1-second sleep loop instead of
19616 sleeping 180 seconds. If 'again' is set, reset the seconds
19617 counter.
19618 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19619 'again' in the inferior before detaching. Print the seconds left.
19620 (options): New global.
19621 (top level): Build program with -DTIMEOUT=$timeout.
19622
77f41761
PA
196232015-02-06 Pedro Alves <palves@redhat.com>
19624
19625 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19626 determine how many seconds to pass to 'alarm'.
19627 * gdb.base/gdb-sigterm.exp (top level): Build program with
19628 -DTIMEOUT=$timeout.
19629 (do_test): Return success/failure indication. Add more verbose
19630 logging. Don't fail if 200 single steps are seen. Instead, fail
19631 when the test times out.
19632 (passes): New global.
19633 (top level): Break the testing loop if testing fails on any
19634 iteration. Use gdb_assert.
19635
b9394193
DB
196362015-02-04 Don Breazeal <donb@codesourcery.com>
19637
19638 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19639 and initialize them.
19640 (ipc_cleanup): New function.
19641 (main): Don't declare shmid, semid, and msqid. Add a call to
19642 atexit so that we call ipc_cleanup on exit.
19643
42d9e528
PA
196442015-02-04 Pedro Alves <palves@redhat.com>
19645
19646 * boards/native-extended-gdbserver.exp: Remove any target variant
19647 specifications from the board name before clearing the isremote
19648 flag from board_info.
19649
ae6ae975
DE
196502015-01-31 Doug Evans <xdje42@gmail.com>
19651
19652 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19653
cfb069a8
GB
196542015-01-31 Gary Benson <gbenson@redhat.com>
19655
19656 * gdb.base/completion.exp: Disable completion limiting for
19657 existing tests. Add new tests to check completion limiting.
19658 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19659
5dd31d79
DE
196602015-01-31 Doug Evans <xdje42@gmail.com>
19661
19662 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19663
9f050062
DE
196642015-01-31 Doug Evans <xdje42@gmail.com>
19665
19666 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19667 entries. Duplicate file section script entries.
19668 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19669 inlined entries. Add test for safe-path rejection.
19670 * gdb.python/py-section-script.c: Add duplicate inlined section script
19671 entries. Duplicate file section script entries.
19672 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19673 inlined entries. Add test for safe-path rejection.
19674
df25ebbd
JB
196752015-01-29 Joel Brobecker <brobecker@adacore.com>
19676
19677 * gdb.ada/disc_arr_bound: New testcase.
19678
4a0ca9ec
JB
196792015-01-29 Joel Brobecker <brobecker@adacore.com>
19680
19681 * gdb.ada/mi_var_array: New testcase.
19682
3a8b707a
DE
196832015-01-27 Doug Evans <dje@google.com>
19684
19685 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19686 Add test for objfile.filename, objfile.username after objfile
19687 has been unloaded.
19688
f8313f6e
JB
196892015-01-26 Joel Brobecker <brobecker@adacore.com>
19690
19691 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19692 the second test to print the name attribute of value
19693 returned by the call to gdb.lookup_type, and adjust
19694 the expected output accordingly.
19695
37bc665e
MW
196962015-01-25 Mark Wielaard <mjw@redhat.com>
19697
19698 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19699 * gdb.base/disp-step-fork.c: Include unistd.h.
19700 * gdb.base/siginfo-obj.c: Include stdio.h.
19701 * gdb.base/siginfo-thread.c: Likewise.
19702 * gdb.mi/non-stop.c: Include unistd.h.
19703 * gdb.mi/nsthrexec.c: Include stdio.h.
19704 * gdb.mi/pthreads.c: Include unistd.h.
19705 * gdb.modula2/unbounded1.c (main): Declare returns int.
19706 * gdb.reverse/consecutive-reverse.c: Likewise.
19707 * gdb.threads/create-fail.c: Include unistd.h.
19708 * gdb.threads/killed.c: Likewise.
19709 * gdb.threads/linux-dp.c: Likewise.
19710 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19711 * gdb.threads/non-ldr-exc-2.c: Likewise.
19712 * gdb.threads/non-ldr-exc-3.c: Likewise.
19713 * gdb.threads/non-ldr-exc-4.c: Likewise.
19714 * gdb.threads/pthreads.c: Include unistd.h.
19715 (main): Declare returns int.
19716 * gdb.threads/tls-main.c (foo): New declaration.
19717 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19718
f7e5394d
SM
197192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19720
19721 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19722 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19723
743649fd
MW
197242015-01-15 Mark Wielaard <mjw@redhat.com>
19725
19726 * gdb.base/noreturn-return.c: New file.
19727 * gdb.base/noreturn-return.exp: New file.
19728 * gdb.base/noreturn-finish.c: New file.
19729 * gdb.base/noreturn-finish.exp: New file.
19730
198297aa
PA
197312015-01-23 Pedro Alves <palves@redhat.com>
19732
19733 * gdb.threads/continue-pending-after-query.c: New file.
19734 * gdb.threads/continue-pending-after-query.exp: New file.
19735
717cf30c
AG
197362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19737 Simon Marchi <simon.marchi@ericsson.com>
19738
19739 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19740 * gdb.base/valgrind-db-attach.exp: Same.
19741 * gdb.base/valgrind-infcall.exp: Same.
19742 * lib/mi-support.exp (default_mi_gdb_start): Same.
19743 * lib/prompt.exp (default_prompt_gdb_start): Same.
19744 * lib/gdb.exp (default_gdb_spawn): Same.
19745 (gdb_interact): New.
19746
19747
4b62a76e
JK
197482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19749
19750 * gdb.compile/compile.exp (pointer to jit function): New test.
19751
b4cdae6f
WW
197522015-01-17 Wei-cheng Wang <cole945@gmail.com>
19753
19754 * lib/gdb.exp (supports_process_record): Return true for
19755 powerpc*-*-linux*.
19756 (supports_reverse): Likewise.
19757
d221e7ef
DB
197582015-01-15 Don Breazeal <donb@codesourcery.com>
19759
19760 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19761 instead of checking whether the target board is remote and
19762 use spawn_wait_for_attach instead of exec/sleep.
19763 * gdb.base/attach-twice.exp: Likewise.
19764
bafffb51
JB
197652015-01-15 Joel Brobecker <brobecker@adacore.com>
19766
19767 * gdb.ada/var_arr_attrs: New testcase.
19768
5589af0e
PA
197692015-01-14 Pedro Alves <palves@redhat.com>
19770 Joel Brobecker <brobecker@adacore.com>
19771
19772 PR gdb/17525
19773 * gdb.base/bp-cmds-execution-x-script.c: New file.
19774 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19775 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19776
6c400b59
PA
197772015-01-14 Pedro Alves <palves@redhat.com>
19778
19779 PR cli/17828
19780 * gdb.base/batch-preserve-term-settings.c: New file.
19781 * gdb.base/batch-preserve-term-settings.exp: New file.
19782
e02c96a7
DE
197832015-01-13 Doug Evans <dje@google.com>
19784
19785 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19786 binary.
19787
576fd14c
JB
197882015-01-13 Joel Brobecker <brobecker@adacore.com>
19789
19790 * Makefile.in (clean mostlyclean): Do not delete *.py.
19791
04dccad0
JB
197922015-01-13 Joel Brobecker <brobecker@adacore.com>
19793
19794 * gdb.python/py-lookup-type.exp: New file.
19795
3d230f71
PA
197962015-01-12 Pedro Alves <palves@redhat.com>
19797
19798 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19799 restore GDBFLAGS before returning.
19800
7e67715d
JK
198012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19802
19803 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19804 is_amd64_regs_target and is_x86_like_target.
19805
f2e0d4b4
DE
198062015-01-11 Doug Evans <xdje42@gmail.com>
19807
19808 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19809 is given without an explicit form.
19810 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19811 attributes.
19812 * gdb.dwarf/corrupt.exp: Ditto.
19813 * gdb.dwarf2/enum-type.exp: Ditto.
19814 * gdb.trace/entry-values.exp: Ditto.
19815 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19816
439250fb
DE
198172015-01-11 Doug Evans <xdje42@gmail.com>
19818
19819 PR gdb/15830
19820 * gdb.base/maint.exp: Remove references to "maint demangle".
19821 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19822 Add tests for explicitly specifying language to demangle.
19823 * gdb.dlang/demangle.exp: Ditto.
19824
ede9f622
PA
198252015-01-09 Pedro Alves <palves@redhat.com>
19826
19827 * gdb.threads/non-stop-fair-events.c: New file.
19828 * gdb.threads/non-stop-fair-events.exp: New file.
19829
a7b796db
PA
198302015-01-09 Pedro Alves <palves@redhat.com>
19831
19832 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19833 the global scope. Set a breakpoint after all threads are started
19834 rather than stepping over two source lines. Expect the prompt.
19835 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19836 global.
19837 (NUM): Now 15.
19838 (main): Use threads_started_barrier to wait for all threads to
19839 start. Main thread no longer calls thread_function. Exit after
19840 180 seconds.
19841 (loop): New function.
19842 (thread_function): Wait on threads_started_barrier barrier. Call
19843 'loop' at each iteration.
19844 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19845 threads have started, instead of hardcoding number of "next"
19846 steps. Use an access watchpoint instead of a write watchpoint.
19847
9665ffdd
PA
198482015-01-09 Pedro Alves <palves@redhat.com>
19849
19850 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19851 (thread_func): Wait on barrier.
19852 (main): Wait for all threads to start before stopping GDB.
19853 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19854 global.
19855 (thread1_func, thread2_func): Wait on barrier.
19856 (main): Wait for all threads to start before stopping GDB.
19857 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19858 New global.
19859 (thread1_func, thread2_func): Wait on barrier.
19860 (main): Wait for all threads to start before stopping GDB.
19861
c945a99f
PA
198622015-01-09 Pedro Alves <palves@redhat.com>
19863
19864 * gdb.threads/attach-many-short-lived-threads.c: New file.
19865 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19866
c1a747c1
PA
198672014-01-09 Pedro Alves <palves@redhat.com>
19868
19869 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19870 instead of to thread 2.
19871 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19872 Add barrier around each pthread_create call instead of around all
19873 calls.
19874 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19875 Set a break on thread_function and have the child threads hit it
19876 one at at a time.
19877
60b3033e
PA
198782015-01-09 Pedro Alves <palves@redhat.com>
19879
19880 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19881 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19882 false.
19883 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19884 checking whether the target board is remote.
19885 * gdb.multi/multi-attach.exp: Likewise.
19886 * gdb.python/py-sync-interp.exp: Likewise.
19887 * gdb.server/ext-attach.exp: Likewise.
19888 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19889 tests that need to attach, instead of checking whether the target
19890 board is remote at the top of the file.
19891
acc018ac
YQ
198922015-01-08 Yao Qi <yao@codesourcery.com>
19893
19894 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19895
50a18af8
JK
198962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19897
19898 Fix testcase compilation.
19899 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19900
8503d6e1
JB
199012015-01-06 Joel Brobecker <brobecker@adacore.com>
19902
19903 * gdb.python/py-type.exp: Add a couple test about empty
19904 array creation, and negative-length array creation.
19905
cc73dbcc
DE
199062015-01-02 Doug Evans <xdje42@gmail.com>
19907
19908 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19909
0300bbc7
DE
199102015-01-02 Doug Evans <dje@google.com>
19911
19912 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19913
9d85a0ec
YQ
199142014-12-29 Yao Qi <yao@codesourcery.com>
19915
19916 * gdb.trace/entry-values.exp: Update comments. Rename variable
19917 bar_call_foo to returned_from_foo.
19918
87186c6a
MMN
199192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19920
19921 PR gdb/17394
19922 * gdb.linespec/break-asm-file.c: New file.
19923 * gdb.linespec/break-asm-file.exp: New file.
19924 * gdb.linespec/break-asm-file0.s: New file.
19925 * gdb.linespec/break-asm-file1.s: New file.
19926
1bab7383
YQ
199272014-12-18 Nigel Stephens <nigel@mips.com>
19928 Maciej W. Rozycki <macro@codesourcery.com>
19929
19930 * gdb.base/float.exp: Handle the new output from "info float" on
19931 MIPS targets.
19932
1bc1068a
JK
199332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19934
19935 Fix MinGW compilation.
19936 * gdb.compile/compile-ops.exp: Update untested message if
19937 !skip_compile_feature_tests.
19938 * gdb.compile/compile-setjmp.exp: Likewise.
19939 * gdb.compile/compile-tls.exp: Likewise.
19940 * gdb.compile/compile.exp: Likewise.
19941 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19942 supported on this host".
19943
b6615d10
DE
199442014-12-16 Doug Evans <xdje42@gmail.com>
19945
19946 * boards/stabs.exp: New file.
19947
25dda427
AA
199482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19949
19950 * gdb.base/completion.exp: Adjust to format changes of "maint
19951 print user-registers".
19952
bf330350
CU
199532014-12-16 Catalin Udma <catalin.udma@freescale.com>
19954
19955 PR server/17457
19956 * gdb.arch/aarch64-fp.c: New file.
19957 * gdb.arch/aarch64-fp.exp: New file.
19958
395cf596
SDJ
199592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19960
19961 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19962 r210637, r210913, r211666, r215400, r215817).
19963
19964 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19965 * dg-extract-results.py: New file.
19966 * dg-extract-results.sh: Use it if the environment seems
19967 suitable.
19968
19969 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19970
19971 * dg-extract-results.py (parse_run): Handle warnings that
19972 are printed before a test harness is run.
19973
19974 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19975
19976 * dg-extract-results.py (Named): Remove __cmp__ method.
19977 (output_variation): Use a key to sort variation.harnesses.
19978
19979 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19980
19981 * dg-extract-results.py: For Python 3, force sys.stdout to
19982 handle surrogate escape sequences.
19983 (safe_open): New function.
19984 (output_segment, main): Use it.
19985
19986 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19987
19988 * dg-extract-results.py (Prog.result_re): Include options
19989 in test name.
19990
19991 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19992
19993 * dg-extract-results.py (output_variation): Always sort if
19994 do_sum.
19995
e882ef3c
SM
199962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19997
19998 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19999 as long as we get pagination notifications.
20000
4992aa20
JM
200012014-12-15 Jason Merrill <jason@redhat.com>
20002
20003 * Makefile.in (check-gdb.%): Restore.
20004 * README: Mention it.
20005
c1b5a1a6
JB
200062014-12-13 Joel Brobecker <brobecker@adacore.com>
20007
20008 * gdb.ada/str_uninit: New testcase.
20009
5537b577
JK
200102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20011
20012 PR symtab/17642
20013 * gdb.base/vla-stub-define.c: New file.
20014 * gdb.base/vla-stub.c: New file.
20015 * gdb.base/vla-stub.exp: New file.
20016
bb2ec1b3
TT
200172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20018 Jan Kratochvil <jan.kratochvil@redhat.com>
20019 Tom Tromey <tromey@redhat.com>
20020
20021 * configure.ac: Add gdb.compile/.
20022 * configure: Regenerate.
20023 * gdb.compile/Makefile.in: New file.
20024 * gdb.compile/compile-ops.exp: New file.
20025 * gdb.compile/compile-ops.c: New file.
20026 * gdb.compile/compile-tls.c: New file.
20027 * gdb.compile/compile-tls.exp: New file.
20028 * gdb.compile/compile-constvar.S: New file.
20029 * gdb.compile/compile-constvar.c: New file.
20030 * gdb.compile/compile-mod.c: New file.
20031 * gdb.compile/compile-nodebug.c: New file.
20032 * gdb.compile/compile-setjmp-mod.c: New file.
20033 * gdb.compile/compile-setjmp.c: New file.
20034 * gdb.compile/compile-setjmp.exp: New file.
20035 * gdb.compile/compile-shlib.c: New file.
20036 * gdb.compile/compile.c: New file.
20037 * gdb.compile/compile.exp: New file.
20038 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20039
4ff709eb
TT
200402014-12-12 Tom Tromey <tromey@redhat.com>
20041
20042 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20043 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20044
6dddd6a5
DE
200452014-12-12 Doug Evans <dje@google.com>
20046
20047 * lib/gdb-python.exp (get_python_valueof): New function.
20048 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20049
71c24708
AA
200502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20051
20052 * gdb.base/completion.exp: Add test for completion of "info
20053 registers ".
20054
3e29f34a
MR
200552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20056
20057 * gdb.base/func-ptrs.c: New file.
20058 * gdb.base/func-ptrs.exp: New file.
20059
fc126975
SM
200602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20061
20062 PR breakpoints/17012
20063 * gdb.base/dprintf-detach.c: New file.
20064 * gdb.base/dprintf-detach.exp: New file.
20065
0a46d518
SM
200662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20067
20068 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20069 * lib/gdb.exp (target_is_gdbserver): New procedure.
20070
a0be3e44
DE
200712014-12-08 Doug Evans <dje@google.com>
20072
20073 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20074
df1b803a
YQ
200752014-12-05 Yao Qi <yao@codesourcery.com>
20076
20077 * gdb.guile/scm-error.exp: Remove the third argument to
20078 gdb_remote_download.
20079 * gdb.guile/scm-frame-args.exp: Likewise.
20080 * gdb.guile/scm-section-script.exp: Likewise.
20081
ddb9f679
YQ
200822014-12-05 Yao Qi <yao@codesourcery.com>
20083
20084 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20085
86e4ed39
DE
200862014-12-04 Doug Evans <dje@google.com>
20087
20088 * gdb.python/py-objfile.exp: Add tests for
20089 objfile.add_separate_debug_file.
20090
7c50a931
DE
200912014-12-04 Doug Evans <dje@google.com>
20092
20093 * lib/gdb.exp (get_build_id): New function.
20094 (build_id_debug_filename_get): Rewrite to use it.
20095 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20096
621661e3
MR
200972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20098
20099 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20100 `method(long)', not just 0x0.
20101 * gdb.cp/nsalias.exp: Align code labels to 4.
20102 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20103 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20104 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20105 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20106 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20107 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20108
29f0c3b7
DE
201092014-12-02 Doug Evans <dje@google.com>
20110
e1e061e7 20111 PR symtab/17602
29f0c3b7 20112 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20113 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20114 * gdb.cp/anon-ns.exp: Update.
20115
162078c8
NB
201162014-12-02 Nick Bull <nicholaspbull@gmail.com>
20117
20118 * gdb.python/py-events.py (inferior_call_handler): New.
20119 (register_changed_handler, memory_changed_handler): New.
20120 (test_events.invoke): Register new handlers.
20121 * gdb.python/py-events.exp: Add tests for inferior call,
20122 memory_changed and register_changed events.
20123
fdb09caf
AA
201242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20125
20126 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20127 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20128 if the linker doesn't understand this.
20129
55cfb2c4
SM
201302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20131
20132 * gdb.python/python.exp: Change expected reply to help().
20133
9e8cd6df
YQ
201342014-12-01 Yao Qi <yao@codesourcery.com>
20135
20136 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20137 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20138 * configure: Re-generated.
20139
6c659fc2
SC
201402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20141
20142 * gdb.cp/chained-calls.cc: New file.
20143 * gdb.cp/chained-calls.exp: New file.
20144 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20145
d7fc3181
SM
201462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20147
20148 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20149 * gdb.dwarf2/symtab-producer.exp: Same.
20150 * gdb.gdb/python-interrupts.exp: Same.
20151 * gdb.gdb/python-selftest.exp: Same.
20152 * gdb.python/py-linetable.exp: Same.
20153 * gdb.python/py-type.exp: Same.
20154 * gdb.python/py-value-cc.exp: Same.
20155 * gdb.python/py-value.exp: Same.
20156
10e79639
YQ
201572014-11-28 Yao Qi <yao@codesourcery.com>
20158
20159 * gdb.base/break-probes.exp: Match library name prefixed with
20160 sysroot.
20161
f28a0564
SM
201622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20163
20164 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20165 test expected output. Add parentheses for the call to print.
20166 Remove L suffix from integers.
20167
3fe1ce1d
DE
201682014-11-26 Doug Evans <dje@google.com>
20169
20170 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20171
84429e27
YQ
201722014-11-22 Yao Qi <yao@codesourcery.com>
20173
20174 * gdb.trace/entry-values.c: Remove asms.
20175 (foo): Add foo_label.
20176 (bar): Add bar_label.
20177 * gdb.trace/entry-values.exp: Remove code computing foo's
20178 length and bar's length.
20179 (Dwarf::assemble): Invoke function_range for bar and use
20180 MACRO_AT_func for foo.
20181
26741859
YQ
201822014-11-22 Yao Qi <yao@codesourcery.com>
20183
20184 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20185 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20186 Use .Lgcc43_procstart instead of gcc43.
20187
45e44d27
JB
201882014-11-21 Joel Brobecker <brobecker@adacore.com>
20189
20190 * gdb.ada/n_arr_bound: New testcase.
20191
458c8db8
SDJ
201922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20193
20194 PR breakpoints/10737
20195 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20196 test_catch_syscall_multi_arch.
20197 (test_catch_syscall_multi_arch): New function.
20198
43f3e411
DE
201992014-11-20 Doug Evans <xdje42@gmail.com>
20200
20201 * gdb.base/maint.exp: Update expected output.
20202
0d7b2549
AA
202032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20204
20205 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20206 4-byte instruction on S390.
20207
8908fca5
JB
202082014-11-19 Joel Brobecker <brobecker@adacore.com>
20209
20210 * gdb.ada/arr_arr: New testcase.
20211
4a46959e
JB
202122014-11-19 Joel Brobecker <brobecker@adacore.com>
20213
20214 * gdb.ada/pkd_arr_elem: New Testcase.
20215
470e2f4e
LM
202162014-11-18 Luis Machado <lgustavo@codesourcery.com>
20217
20218 * gdb.reverse/break-precsave: Expect completion message for
20219 core file reads.
20220 * gdb.reverse/consecutive-precsave.exp: Likewise.
20221 * gdb.reverse/finish-precsave.exp: Likewise.
20222 * gdb.reverse/i386-precsave.exp: Likewise.
20223 * gdb.reverse/machinestate-precsave.exp: Likewise.
20224 * gdb.reverse/sigall-precsave.exp: Likewise.
20225 * gdb.reverse/solib-precsave.exp: Likewise.
20226 * gdb.reverse/step-precsave.exp: Likewise.
20227 * gdb.reverse/until-precsave.exp: Likewise.
20228 * gdb.reverse/watch-precsave.exp: Likewise.
20229
a267f3ad
AA
202302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20231
20232 * gdb.base/bp-permanent.c: Include unistd.h.
20233 * gdb.python/py-framefilter-mi.c (main): Add return type.
20234 * gdb.python/py-framefilter.c (main): Likewise.
20235 * gdb.trace/actions-changed.c (main): Likewise.
20236
12084a9a
AA
202372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20238
20239 * gdb.mi/until.c: Add eye-catchers.
20240 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20241 line numbers.
20242
dc7e1a77
AA
202432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20244
20245 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20246 function header variants in break1.c.
20247 * gdb.base/ena-dis-br.exp: Likewise.
20248 * gdb.base/hbreak2.exp: Likewise.
20249 * gdb.reverse/until-precsave.exp: Drop references to removed
20250 non-prototype function header variants in ur1.c.
20251 * gdb.reverse/until-reverse.exp: Likewise.
20252
41c77605
PM
202532014-11-17 Petr Machata <pmachata@redhat.com>
20254
20255 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20256 ${_cu_offset_size} bytes abbrev offset.
20257
34248c3a
DE
202582014-11-15 Doug Evans <xdje42@gmail.com>
20259
20260 PR symtab/17559
20261 * gdb.base/line-symtabs.exp: New file.
20262 * gdb.base/line-symtabs.c: New file.
20263 * gdb.base/line-symtabs.h: New file.
20264
646da059
YQ
202652014-11-14 Yao Qi <yao@codesourcery.com>
20266
20267 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20268 (func): Add label func_label.
20269 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20270 Replace low_pc and high_pc with MACRO_AT_range.
20271 Replace name, low_pc and high_pc with MACRO_AT_func.
20272
9301ebe6
YQ
202732014-11-14 Yao Qi <yao@codesourcery.com>
20274
20275 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20276 Replace name, low_pc and high_pc with MACRO_AT_func.
20277
f166b542
YQ
202782014-11-14 Yao Qi <yao@codesourcery.com>
20279
20280 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20281 produce debug information.
20282 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20283
0f6e71e3
YQ
202842014-11-14 Yao Qi <yao@codesourcery.com>
20285
20286 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20287 object and get function length.
20288 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20289 with MACRO_AT_func.
20290 (top-level): Replace gdb_compile and clean_restart with
20291 prepare_for_testing.
20292 * gdb.dwarf2/main.c (main): Add label main_label.
20293
876c4df9
YQ
202942014-11-14 Yao Qi <yao@codesourcery.com>
20295
20296 * lib/dwarf.exp (function_range): New procedure.
20297 (Dwarf::_handle_macro_at_func): New procedure.
20298 (Dwarf::_handle_macro_at_range): New procedure.
20299 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20300
02ad9cf1
YQ
203012014-11-14 Yao Qi <yao@codesourcery.com>
20302
20303 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20304 (_handle_attribute): New procedure.
20305
a59add0c
AA
203062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20307
20308 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20309 * gdb.base/call-sc.c (zed): Likewise.
20310 * gdb.base/checkpoint.c (main): Likewise.
20311 * gdb.base/dump.c (main): Likewise.
20312 * gdb.base/gcore.c (main): Likewise.
20313 * gdb.base/huge.c (main): Likewise.
20314 * gdb.base/multi-forks.c (main): Likewise.
20315 * gdb.base/pr10179-a.c (main): Likewise.
20316 * gdb.base/savedregs.c (main): Likewise.
20317 * gdb.base/sigaltstack.c (main): Likewise.
20318 * gdb.base/siginfo.c (main): Likewise.
20319 * gdb.base/structs.c (zed): Likewise.
20320 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20321 * gdb.mi/mi-syn-frame.c (main): Likewise.
20322 * gdb.mi/until.c (foo, main): Likewise.
20323 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20324 * gdb.base/solib-weak.c (foo): Declare.
20325 * gdb.base/attach-twice.c: Include stdio.h.
20326 * gdb.base/weaklib1.c: Likewise.
20327 * gdb.base/weaklib2.c: Likewise.
20328 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20329 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20330 unistd.h.
20331 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20332 * gdb.mi/mi-exit-code.c: Likewise.
20333 * gdb.base/break-interp-lib.c: Include string.h.
20334 * gdb.base/coremaker.c: Likewise.
20335 * gdb.base/testenv.c: Likewise.
20336 * gdb.python/py-finish-breakpoint.c: Likewise.
20337 * gdb.base/inferior-died.c: Include sys/wait.h.
20338 * gdb.base/fileio.c: Include time.h.
20339 * gdb.base/async-shell.c: Include unistd.h.
20340 * gdb.base/dprintf-non-stop.c: Likewise.
20341 * gdb.base/info-os.c: Likewise.
20342 * gdb.mi/mi-console.c: Likewise.
20343 * gdb.mi/watch-nonstop.c: Likewise.
20344 * gdb.python/py-events.c: Likewise.
20345 * gdb.base/async.c (baz): Move up before its invocation.
20346 * gdb.base/code_elim2.c (my_global_func): Likewise.
20347 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20348 * gdb.base/advance.c (func2): Likewise.
20349
3b5d5997
AA
203502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20351
20352 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20353 variant.
20354 * gdb.base/annota3.c: Likewise.
20355 * gdb.base/async.c: Likewise.
20356 * gdb.base/average.c: Likewise.
20357 * gdb.base/call-ar-st.c: Likewise.
20358 * gdb.base/call-rt-st.c: Likewise.
20359 * gdb.base/call-sc.c: Likewise.
20360 * gdb.base/call-strs.c: Likewise.
20361 * gdb.base/ending-run.c: Likewise.
20362 * gdb.base/execd-prog.c: Likewise.
20363 * gdb.base/exprs.c: Likewise.
20364 * gdb.base/foll-exec.c: Likewise.
20365 * gdb.base/foll-fork.c: Likewise.
20366 * gdb.base/foll-vfork.c: Likewise.
20367 * gdb.base/funcargs.c: Likewise.
20368 * gdb.base/gcore.c: Likewise.
20369 * gdb.base/jump.c: Likewise.
20370 * gdb.base/langs0.c: Likewise.
20371 * gdb.base/langs1.c: Likewise.
20372 * gdb.base/langs2.c: Likewise.
20373 * gdb.base/mips_pro.c: Likewise.
20374 * gdb.base/nodebug.c: Likewise.
20375 * gdb.base/opaque0.c: Likewise.
20376 * gdb.base/opaque1.c: Likewise.
20377 * gdb.base/recurse.c: Likewise.
20378 * gdb.base/run.c: Likewise.
20379 * gdb.base/scope0.c: Likewise.
20380 * gdb.base/scope1.c: Likewise.
20381 * gdb.base/setshow.c: Likewise.
20382 * gdb.base/setvar.c: Likewise.
20383 * gdb.base/shmain.c: Likewise.
20384 * gdb.base/shr1.c: Likewise.
20385 * gdb.base/shr2.c: Likewise.
20386 * gdb.base/sigall.c: Likewise.
20387 * gdb.base/signals.c: Likewise.
20388 * gdb.base/so-indr-cl.c: Likewise.
20389 * gdb.base/solib2.c: Likewise.
20390 * gdb.base/structs.c: Likewise.
20391 * gdb.base/sum.c: Likewise.
20392 * gdb.base/vforked-prog.c: Likewise.
20393 * gdb.base/watchpoint.c: Likewise.
20394 * gdb.reverse/shr2.c: Likewise.
20395 * gdb.reverse/until-reverse.c: Likewise.
20396 * gdb.reverse/ur1.c: Likewise.
20397 * gdb.reverse/watch-reverse.c: Likewise.
20398
066a77c5
AA
203992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20400
20401 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20402 variant.
20403 * gdb.base/sepdebug.exp: Drop references to removed code.
20404
4f204ea5
AA
204052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20406
20407 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20408 variant. Preserve original line numbering.
20409 * gdb.base/list1.c: Likewise.
20410
3b377a3a
AA
204112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20412
20413 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20414 variant.
20415 * gdb.base/break1.c: Likewise.
20416 * gdb.base/break.exp: Drop references to removed code.
20417
e444df73
AA
204182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20419
20420 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20421 variant.
20422
8008f2a7
AA
204232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20424
20425 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20426
a5a06887
AA
204272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20428
20429 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20430 logic into perform_all_tests() and invoke it with and without
20431 function header prototypes.
20432 (do_function_calls): Remove conditional XFAIL for PR 5318.
20433 (rerun_and_prepare): Remove duplicate code.
20434 (perform_all_tests): New. Main logic moved here.
20435
44dba9b9
AA
204362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20437
20438 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20439 code guarded by #ifdef NO_PROTOTYPES.
20440 (t_double_many_args): Likewise.
20441 (DEF_FUNC_MANY_ARGS_1): Likewise.
20442 (DEF_FUNC_VALUES_1): Likewise.
20443 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20444 guarded by #ifdef PROTOTYPES.
20445
d1fbcd56
AA
204462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20447
20448 * gdb.mi/mi-console.c: Add eye-catcher.
20449 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20450 instead of literal line number.
20451
b0e59b8f
AA
204522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20453
20454 * gdb.base/shr2.c: Add eye-catcher.
20455 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20456 line number.
20457
78f98cca
AA
204582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20459
20460 * gdb.base/jump.c: Add eye-catchers.
20461 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20462 numbers.
20463
58fa2af0
AA
204642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20465
20466 * gdb.base/execd-prog.c: Add eye-catchers.
20467 * gdb.base/foll-exec.c: Likewise.
20468 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20469 line numbers.
20470
04e5059b
AA
204712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20472
20473 * gdb.base/ending-run.c: Add eye-catchers.
20474 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20475 literal line numbers.
20476
dbfdb174
AA
204772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20478
20479 * gdb.base/call-rt-st.c: Add eye-catchers.
20480 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20481 literal line numbers.
20482
888a2ade
AA
204832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20484
20485 * gdb.base/call-ar-st.c: Add eye-catchers.
20486 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20487 literal line numbers.
20488
6acc2dde
AA
204892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20490
20491 * gdb.base/average.c: Add eye-catchers.
20492 * gdb.base/sum.c: Likewise.
20493 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20494 regexps dynamically.
20495
9ecfcd1d
AA
204962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20497
20498 * gdb.base/solib1.c: Add eye-catchers.
20499 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20500 literal line numbers.
20501
78708b7c
PA
205022014-11-12 Pedro Alves <palves@redhat.com>
20503
20504 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20505 leader has exited.
20506
af48d08f
PA
205072014-11-12 Pedro Alves <palves@redhat.com>
20508
20509 * gdb.arch/i386-bp_permanent.c: New file.
20510 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20511 (srcfile): Set to i386-bp_permanent.c.
20512 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20513 that stepi does not execute the 'leave' instruction, instead of
20514 testing it does execute.
20515 * gdb.base/bp-permanent.c: New file.
20516 * gdb.base/bp-permanent.exp: New file.
20517
af3768e9
DE
205182014-11-10 Doug Evans <xdje42@gmail.com>
20519
20520 PR symtab/17564
20521 * gdb.base/symtab-search-order.exp: New file.
20522 * gdb.base/symtab-search-order.c: New file.
20523 * gdb.base/symtab-search-order-1.c: New file.
20524 * gdb.base/symtab-search-order-shlib-1.c: New file.
20525
9de00a4a
PA
205262014-11-07 Pedro Alves <palves@redhat.com>
20527
20528 PR gdb/17511
20529 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20530 i?86-*-linux*.
20531
e0f52461
SC
205322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20533
20534 PR c++/17494
20535 * gdb.cp/pr17494.cc: New file.
20536 * gdb.cp/pr17494.exp: New file.
20537
6ce8c980
YQ
205382014-11-02 Yao Qi <yao@codesourcery.com>
20539
20540 * gdb.python/python.exp: Get working directory and match the
20541 output of "set extended-prompt \\w " with it.
20542
02be9a71
DE
205432014-10-30 Doug Evans <dje@google.com>
20544
20545 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20546 in objfiles.
20547 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20548 in progspaces.
20549
3bdff46b
LM
205502014-10-30 Janis Johnson <janisjo@codesourcery.com>
20551
20552 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20553 * gdb.base/realname-expand.exp: Likewise.
20554 * gdb.linespec/macro-relative.exp: Likewise.
20555
ab917dfb
PA
205562014-10-29 Pedro Alves <palves@redhat.com>
20557
20558 PR gdb/17408
20559 * gdb.threads/schedlock.c (some_function): New function.
20560 (call_function): New global.
20561 (MAYBE_CALL_SOME_FUNCTION): New macro.
20562 (thread_function): Call it.
20563 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20564 and use it instead of a global counter. Adjust all callers.
20565 (get_current_thread): Use "find current thread" for test message
20566 here rather than having all callers pass down the same string.
20567 (goto_loop): New procedure, factored out from ...
20568 (my_continue): ... this.
20569 (step_ten_loops): Change parameter from test message to command to
20570 use. Adjust.
20571 (list_count): Delete global.
20572 (check_result): New procedure, factored out from duplicate top
20573 level code.
20574 (continue tests): Wrap in with_test_prefix.
20575 (test_step): New procedure, factored out from duplicate top level
20576 code.
20577 (top level): Test "step" in combination with all scheduler-locking
20578 modes. Test "next" in combination with all scheduler-locking
20579 modes, and in combination with stepping over a function call or
20580 not.
20581 * gdb.threads/next-bp-other-thread.c: New file.
20582 * gdb.threads/next-bp-other-thread.exp: New file.
20583
d3d4baed
PA
205842014-10-29 Pedro Alves <palves@redhat.com>
20585
20586 PR python/17372
20587 * gdb.python/python.exp: Test a multi-line command that spawns
20588 interactive Python.
20589 * gdb.base/multi-line-starts-subshell.exp: New file.
20590
563e8d85
YQ
205912014-10-29 Yao Qi <yao@codesourcery.com>
20592
20593 * gdb.base/fileio.exp: Make directories on host.
20594
0ea4d52e
YQ
205952014-10-29 Yao Qi <yao@codesourcery.com>
20596
20597 * gdb.base/fileio.c (test_write): Close the file.
20598
7f5ef605
PA
205992014-10-28 Pedro Alves <palves@redhat.com>
20600
20601 PR gdb/12623
20602 * gdb.base/sigstep.c (no_handler): New global.
20603 (main): If 'no_handler is true, set the signal handlers to
20604 SIG_IGN.
20605 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20606 with_sw_watch and no_handler parameters. Handle them.
20607 (top level) <stepping over handler when stopped at a breakpoint
20608 test>: Add a test axis for testing with a software watchpoint, and
20609 another for testing with the signal handler set to SIG_IGN.
20610 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20611 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20612
abbdbd03
PA
206132014-10-28 Pedro Alves <palves@redhat.com>
20614
20615 PR gdb/17511
20616 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20617 * gdb.base/sigstep.exp (other_handler_location): New global.
20618 (advance): Support stepping into the signal handler, and running
20619 commands while in the handler.
20620 (in_handler_map): New global.
20621 (top level): In the advance test, add combinations for getting
20622 into the handler with stepping commands, and for running commands
20623 in the handler. Add comment descripting the advancei tests.
20624
1df4399f
PA
206252014-10-28 Pedro Alves <palves@redhat.com>
20626
20627 * gdb.base/sigstep.exp: Use build_executable instead of
20628 prepare_for_testing.
20629 (top level): Move code that starts GDB, runs to main and creates a
20630 display to ...
20631 (restart): ... this new procedure.
20632 (top level): Move backtrace from signal handler test to ...
20633 (validate_backtrace): ... this new procedure.
20634 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20635 with_test_prefix. Always restart GDB.
20636 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20637 with_test_prefix. Always restart GDB. No need to delete
20638 breakpoints after the test.
20639 (test_skip_handler): Remove prefix parameter.
20640 (skip_over_handler, breakpoint_to_handler)
20641 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20642 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20643 restart GDB. No need to delete breakpoints after the test.
20644 (top level): Use foreach to call the test procedures with
20645 different commands.
20646
a5b6e449
PA
206472014-10-28 Pedro Alves <palves@redhat.com>
20648
20649 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20650 instead of GNATS numbers.
20651 * gdb.base/sigbpt.exp: Likewise.
20652 * gdb.base/siginfo.exp: Likewise.
20653 * gdb.base/sigstep.exp: Likewise.
20654
e5f8a7cc
PA
206552014-10-27 Pedro Alves <palves@redhat.com>
20656
20657 * gdb.base/sigstep.c (dummy): New global.
20658 (main): Issue a couple writes to the new global.
20659 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20660 procedures.
20661 (skip_over_handler): Use test_skip_handler.
20662 (top level): Call skip_over_handler for stepi and nexti too.
20663 (breakpoint_over_handler): Use test_skip_handler.
20664 (top level): Call breakpoint_over_handler for stepi and nexti too.
20665
763905a3
YQ
206662014-10-27 Yao Qi <yao@codesourcery.com>
20667
20668 * gdb.trace/tfile.c (adjust_function_address)
20669 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20670 function descriptor.
20671
6f259a23
DB
206722014-10-24 Don Breazeal <donb@codesourcery.com>
20673
20674 * gdb.base/foll-fork.exp (test_follow_fork,
20675 catch_fork_child_follow): Check for updated fork messages emitted
20676 from infrun.c.
20677 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20678 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20679 vfork_and_exec_child_follow_through_step): Check for updated vfork
20680 messages emitted from infrun.c.
20681
09dd9a69
PA
206822014-10-24 Pedro Alves <palves@redhat.com>
20683
20684 * gdb.base/corefile.exp: Remove references to ultrix.
20685 * gdb.base/interrupt.exp: Likewise.
20686 * gdb.base/whatis.exp: Likewise.
20687 * gdb.gdb/selftest.exp: Likewise.
20688 * gdb.threads/manythreads.exp: Likewise.
20689 * gdb.threads/print-threads.exp: Likewise.
20690 * gdb.threads/pthreads.exp:: Likewise.
20691 * gdb.threads/schedlock.exp: Likewise.
20692
3433cfa5
SC
206932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20694
20695 * gdb.cp/non-trivial-retval.cc: Add a test case.
20696 * gdb.cp/non-trivial-retval.exp: Add a test.
20697
092f880b
YQ
206982014-10-20 Yao Qi <yao@codesourcery.com>
20699
20700 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20701 * gdb.python/py-objfile-script-gdb.py: New file.
20702 * gdb.python/py-objfile-script.exp: Update reference to
20703 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20704 of remote_download. Remove the dest file.
20705
acbdb7f3
YQ
207062014-10-20 Yao Qi <yao@codesourcery.com>
20707
20708 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20709 * gdb.base/step-line.exp: Likewise.
20710 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20711 * gdb.dwarf2/dw2-basic.exp: Likewise.
20712 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20713 * gdb.dwarf2/dw2-filename.exp: Likewise.
20714 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20715 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20716 * gdb.dwarf2/dw2-producer.exp: Likewise.
20717 * gdb.dwarf2/mac-fileno.exp: Likewise.
20718 * gdb.python/py-frame-args.exp: Likewise.
20719 * gdb.python/py-framefilter.exp: Likewise.
20720 * gdb.python/py-mi.exp: Likewise.
20721 * gdb.python/py-objfile-script.exp: Likewise
20722 * gdb.python/py-pp-integral.exp: Likewise.
20723 * gdb.python/py-pp-re-notag.exp: Likewise.
20724 * gdb.python/py-prettyprint.exp: Likewise.
20725 * gdb.python/py-section-script.exp: Likewise.
20726 * gdb.python/py-typeprint.exp: Likewise.
20727 * gdb.python/py-xmethods.exp: Likewise.
20728 * gdb.stabs/weird.exp: Likewise.
20729 * gdb.xml/tdesc-regs.exp: Likewise.
20730
bd286a29
KCY
207312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20732
20733 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20734 (out_cu): Use addr_len for the size of addresses.
20735 (out_line): Likewise. Size DW_LNE_set_address instruction
20736 according to addr_len.
20737 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20738 (FUNC): Add START_INSNS to definition.
20739
673dc4a0
YQ
207402014-10-18 Yao Qi <yao@codesourcery.com>
20741
20742 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20743 gdb_has_argv0 return true.
20744 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20745 check [target_info exists noargs], check [gdb_has_argv0]
20746 instead.
20747 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20748 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20749 procedures.
20750
4ffbba72
DE
207512014-10-17 Doug Evans <dje@google.com>
20752
20753 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20754 event.
20755 * gdb.python/py-events.py: Add clear_objfiles event.
20756
d096d8c1
DE
207572014-10-17 Doug Evans <dje@google.com>
20758
20759 * gdb.python/py-objfile.exp: Test progspace attribute.
20760
a80db015
LM
207612014-10-17 Luis Machado <lgustavo@codesourcery.com>
20762
20763 * gdb.guile/scm-breakpoint.exp: Do not assume any
20764 directory separators when matching source file paths.
20765 * gdb.python/py-breakpoint.exp: Likewise.
20766 * gdb.reverse/break-precsave.exp: Likewise.
20767 * gdb.reverse/break-reverse.exp: Likewise.
20768 * gdb.reverse/consecutive-precsave.exp: Likewise.
20769 * gdb.reverse/finish-precsave.exp: Likewise.
20770 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20771 * gdb.reverse/finish-reverse.exp: Likewise.
20772 * gdb.reverse/i386-precsave.exp: Likewise.
20773 * gdb.reverse/i387-env-reverse.exp: Likewise.
20774 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20775 * gdb.reverse/machinestate-precsave.exp: Likewise.
20776 * gdb.reverse/machinestate.exp: Likewise.
20777 * gdb.reverse/sigall-precsave.exp: Likewise.
20778 * gdb.reverse/solib-precsave.exp: Likewise.
20779 * gdb.reverse/step-precsave.exp: Likewise.
20780 * gdb.reverse/until-precsave.exp: Likewise.
20781 * gdb.reverse/watch-precsave.exp: Likewise.
20782 * gdb.reverse/watch-reverse.exp: Likewise.
20783
b22089ab
YQ
207842014-10-17 Yao Qi <yao@codesourcery.com>
20785
20786 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20787 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20788
6c4486e6
PA
207892014-10-17 Pedro Alves <palves@redhat.com>
20790
20791 PR gdb/17471
20792 * gdb.base/bg-execution-repeat.c: New file.
20793 * gdb.base/bg-execution-repeat.exp: New file.
20794
0ff33695
PA
207952014-10-17 Pedro Alves <palves@redhat.com>
20796
20797 PR gdb/17300
20798 * gdb.base/continue-all-already-running.c: New file.
20799 * gdb.base/continue-all-already-running.exp: New file.
20800
6fdebc3d
PA
208012014-10-17 Pedro Alves <palves@redhat.com>
20802
20803 PR gdb/17472
20804 * gdb.base/annota-input-while-running.c: New file.
20805 * gdb.base/annota-input-while-running.exp: New file.
20806
32a8097b
PA
208072014-10-17 Pedro Alves <palves@redhat.com>
20808
20809 * gdb.base/callfuncs.exp: emove references to osf.
20810 * gdb.base/sigall.exp: Likewise.
20811 * gdb.gdb/selftest.exp: Likewise.
20812 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20813 * gdb.mi/non-stop.c: Likewise.
20814 * gdb.mi/pthreads.c: Likewise.
20815 * gdb.reverse/sigall-precsave.exp: Likewise.
20816 * gdb.reverse/sigall-reverse.exp: Likewise.
20817 * gdb.threads/pthreads.c: Likewise.
20818 * gdb.threads/pthreads.exp: Likewise.
20819
7a3517ff
YQ
208202014-10-17 Yao Qi <yao@codesourcery.com>
20821
20822 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20823 check 'target_info exists noargs'.
20824 (test_command_prompt_position): Likewise.
20825 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20826 Remove "set args".
20827 (progvar_simple_while_test): Likewise.
20828 (progvar_complex_if_while_test): Likewise.
20829 (if_while_breakpoint_command_test): Likewise.
20830 (infrun_breakpoint_command_test): Likewise.
20831 (breakpoint_command_test): Likewise.
20832 (watchpoint_command_test): Likewise.
20833 (bp_deleted_in_command_test): Likewise.
20834 (temporary_breakpoint_commands): Likewise.
20835
bb99c472
YQ
208362014-10-16 Yao Qi <yao@codesourcery.com>
20837
20838 * gdb.base/remotetimeout.exp: Remove noargs checking.
20839
7c16b83e
PA
208402014-10-15 Pedro Alves <palves@redhat.com>
20841
20842 PR breakpoints/9649
20843 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20844 * gdb.base/breakpoint-in-ro-region.exp
20845 (probe_target_hardware_step): New procedure.
20846 (top level): Probe hardware stepping and hardware breakpoint
20847 support. Test stepping through a read-only region, with both
20848 "breakpoint auto-hw" on and off and both "always-inserted" on and
20849 off.
20850
35a49624
IB
208512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20852
20853 * gdb.dlang/demangle.exp: Update for demangling changes.
20854
2d1c107c
SC
208552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20856
20857 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20858 * gdb.cp/non-trivial-retval.exp: Add new tests.
20859
778811d5
SC
208602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20861
20862 PR c++/13403
20863 PR c++/15154
20864 * gdb.cp/non-trivial-retval.cc: New file.
20865 * gdb.cp/non-trivial-retval.exp: New file.
20866
10c5f0a8
YQ
208672014-10-15 Yao Qi <yao@codesourcery.com>
20868
20869 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20870 remote host.
20871
65d7b369
YQ
208722014-10-15 Yao Qi <yao@codesourcery.com>
20873
20874 * gdb.python/py-symbol.exp: Match file base name if host is
20875 remote, otherwise match file name with dir name.
20876 * gdb.python/py-symtab.exp: Likewise.
20877 * gdb.python/python.exp: Likewise.
20878
46dc1394
YQ
208792014-10-15 Yao Qi <yao@codesourcery.com>
20880
20881 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20882 pattern.
20883 * gdb.python/py-symtab.exp: Likewise.
20884 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20885 locationn.
20886
c40cc657
JB
208872014-10-14 Joel Brobecker <brobecker@adacore.com>
20888
20889 * gdb.ada/addr_arith: New testcase.
20890
2abf49e1
MR
208912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20892
20893 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20894 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20895 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20896 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20897
f7088df3
SDJ
208982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20899
20900 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20901 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20902 * gdb.arch/stap-eval-lang-ada.exp: New file.
20903
4dc06805
YQ
209042014-10-14 Yao Qi <yao@codesourcery.com>
20905
20906 * gdb.mi/mi-var-child.c (nothing1): New function.
20907 (nothing2): New function.
20908 (do_children_tests): Set function pointers by nothing1 and
20909 nothing2.
20910 * gdb.mi/mi-var-child.exp: Step over new added statements.
20911 Update test to match the new output.
20912 * gdb.mi/var-cmd.c (nothing1): New function.
20913 (nothing2): New function.
20914 (do_children_tests): Set function pointers by nothing1 and
20915 nothing2.
20916 * gdb.mi/mi-var-display.exp: Update test to match output.
20917 Step to the line specified by $line_dct_nothing.
20918 Increase the number of lines to step.
20919
46a93de2
YQ
209202014-10-14 Yao Qi <yao@codesourcery.com>
20921
20922 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20923 tests.
20924 * gdb.mi/mi2-var-child.exp: Likewise.
20925
14ea52ee
DE
209262014-10-13 Doug Evans <dje@google.com>
20927
20928 * gdb.python/py-objfile.exp: Change name of file name test.
20929
e5c6e92b
DE
209302014-10-13 Doug Evans <dje@google.com>
20931
20932 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20933 from the start of the CU.
20934
c780cc2f
JK
209352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20936 Yao Qi <yao@codesourcery.com>
20937
20938 Fix "save breakpoints" for "catch" command.
20939 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20940 Remove -nonewline. Match also the added "main" line.
20941
99894e11
JK
209422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20943
20944 Fix "save breakpoints" for "disable $bpnum" command.
20945 * gdb.base/save-bp.c (main): Add label.
20946 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20947
6e1ac5a3
JK
209482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20949
20950 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20951
754dd2b0
YQ
209522014-10-11 Yao Qi <yao@codesourcery.com>
20953
20954 * gdb.server/server-kill.exp: Execute command
20955 "set remote trace-status-packet on" before "tstatus".
20956
f90183d7
YQ
209572014-10-11 Yao Qi <yao@codesourcery.com>
20958
20959 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20960 (main): Call getppid.
20961 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20962 and continue to it. Read variable "server_pid".
20963
bf40a607
YQ
209642014-10-11 Yao Qi <yao@codesourcery.com>
20965
20966 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20967
052ca370
YQ
209682014-10-11 Yao Qi <yao@codesourcery.com>
20969
20970 * gdb.threads/thread-find.exp: Don't execute command
20971 "info threads".
20972 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20973 * gdb.threads/linux-dp.exp: Don't check the condition
20974 $threads_created equals to zero.
20975
3831839c
PA
209762014-10-10 Pedro Alves <palves@redhat.com>
20977
20978 * gdb.base/bigcore.exp: Remove references to IRIX.
20979 * gdb.base/funcargs.exp: Likewise.
20980 * gdb.base/interrupt.exp: Likewise.
20981 * gdb.base/mips_pro.exp: Likewise.
20982 * gdb.base/nodebug.exp: Likewise.
20983 * gdb.base/setvar.exp: Likewise.
20984 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20985
8b9a549d
PA
209862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20987 Pedro Alves <palves@redhat.com>
20988
20989 PR symtab/14466
20990 * gdb.base/vdso-warning.c: New file.
20991 * gdb.base/vdso-warning.exp: New file.
20992
d48ba5e8
DE
209932014-10-02 Doug Evans <dje@google.com>
20994
20995 * gdb.base/structs.c (main): Don't run forever.
20996
2278c276
PA
209972014-10-02 Pedro Alves <palves@redhat.com>
20998
20999 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21000 (top level) <stop threads 1, stop threads 2>: Use it.
21001
b57bacec
PA
210022014-10-02 Pedro Alves <palves@redhat.com>
21003
21004 * gdb.threads/break-while-running.exp (test): Add new
21005 'update_thread_list' argument. Skip "info threads" if false.
21006 (top level): Add new 'update_thread_list' axis.
21007
13fd3ff3
PA
210082014-10-02 Pedro Alves <palves@redhat.com>
21009
21010 PR breakpoints/17431
21011 * gdb.base/execl-update-breakpoints.c: New file.
21012 * gdb.base/execl-update-breakpoints.exp: New file.
21013
0fec99e8
PA
210142014-10-01 Pedro Alves <palves@redhat.com>
21015
21016 * gdb.base/breakpoint-in-ro-region.c: New file.
21017 * gdb.base/breakpoint-in-ro-region.exp: New file.
21018
2ddf4301
SM
210192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21020
21021 * gdb.mi/mi-exit-code.exp: New file.
21022 * gdb.mi/mi-exit-code.c: New file.
21023
6a5f3f43
YQ
210242014-09-30 Yao Qi <yao@codesourcery.com>
21025
21026 * lib/prelink-support.exp (build_executable_own_libs): Error if
21027 the target isn't native.
21028
345bcc73
YQ
210292014-09-30 Yao Qi <yao@codesourcery.com>
21030
21031 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21032 false.
21033
a25a5a45
PA
210342014-09-22 Pedro Alves <palves@redhat.com>
21035
21036 * gdb.threads/break-while-running.exp: New file.
21037 * gdb.threads/break-while-running.c: New file.
21038
00ba3162
YQ
210392014-09-19 Yao Qi <yao@codesourcery.com>
21040
21041 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21042 Invoke test. Restart GDB with --readnow and invoke test again.
21043
c3b7b696
YQ
210442014-09-19 Yao Qi <yao@codesourcery.com>
21045
21046 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21047 proc set_breakpoint_on_gcd_function. Invoke
21048 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21049 invoke set_breakpoint_on_gcd_function again.
21050
2b4fd423
DE
210512014-09-18 Doug Evans <dje@google.com>
21052
21053 * gdb.dwarf2/symtab-producer.exp: New file.
21054
a5947601
SDJ
210552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21056
21057 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21058 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21059 * gdb.base/global-var-nested-by-dso.c: Likewise.
21060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21061
91c19059
SDJ
210622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21063 Pedro Alves <palves@redhat.com>
21064
21065 * gdb.base/watch-bitfields.exp: Pass string other than test file
21066 name to prepare_for_testing.
21067 (watch): New procedure.
21068 (expect_watchpoint): Use with_test_prefix.
21069 (top level): Factor out tests to ...
21070 (test_watch_location, test_regular_watch): ... these new
21071 procedures, and use with_test_prefix and gdb_continue_to_end.
21072
bb9d5f81
PP
210732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21074
21075 PR breakpoints/12526
21076 * gdb.base/watch-bitfields.exp: New file.
21077 * gdb.base/watch-bitfields.c: New file.
21078
635856f5
PA
210792014-09-16 Pedro Alves <palves@redhat.com>
21080
21081 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21082 software and hardware addresses, not software address against
21083 itself.
21084
7280ceea
PA
210852014-09-16 Pedro Alves <palves@redhat.com>
21086
21087 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21088 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21089
428b16bd
PA
210902014-09-16 Pedro Alves <palves@redhat.com>
21091
21092 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21093 files.
21094 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21095 "*-*-vxworks*" throughout.
21096 * gdb.base/break.exp: Likewise.
21097 * gdb.base/default.exp: Likewise.
21098 * gdb.base/scope.exp: Likewise.
21099 * gdb.base/sepdebug.exp: Likewise.
21100 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21101 throughout.
21102 * gdb.base/run.c: Likewise.
21103 * gdb.base/sepdebug.c: Likewise.
21104 * gdb.hp/gdb.aCC/run.c: Likewise.
21105 * gdb.reverse/until-reverse.c: Likewise.
21106 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21107
666d413c
YQ
211082014-09-16 Yao Qi <yao@codesourcery.com>
21109
21110 * boards/local-remote-host-native.exp: New file.
21111
57cbd724
DE
211122014-09-14 Doug Evans <xdje42@gmail.com>
21113
21114 * gdb.threads/queue-signal.c (thread_count): New variable.
21115 (thread_count_mutex, thread_count_condvar): New variables.
21116 (incr_thread_count, wait_all_threads_running): New functions.
21117 (main): Wait for all threads to be in their thread functions.
21118
81219e53
DE
211192014-09-13 Doug Evans <xdje42@gmail.com>
21120
21121 * gdb.threads/queue-signal.c: New file.
21122 * gdb.threads/queue-signal.exp: New file.
21123
3714cea7
DE
211242014-09-13 Doug Evans <xdje42@gmail.com>
21125
21126 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21127 be consistent with what default_gdb_init uses.
21128 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21129 the plain text of the prompt. Add some logging printfs.
21130 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21131
fa43b1d7
PA
211322014-09-12 Pedro Alves <palves@redhat.com>
21133
21134 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21135 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21136 * gdb.arch/i386-size-overlap.exp: Likewise.
21137 * gdb.arch/i386-size.exp: Likewise.
21138 * gdb.arch/i386-unwind.exp: Likewise.
21139 * gdb.base/a2-run.exp: Likewise.
21140 * gdb.base/break.exp: Likewise.
21141 * gdb.base/charset.exp: Likewise.
21142 * gdb.base/chng-syms.exp: Likewise.
21143 * gdb.base/commands.exp: Likewise.
21144 * gdb.base/dbx.exp: Likewise.
21145 * gdb.base/find.exp: Likewise.
21146 * gdb.base/funcargs.exp: Likewise.
21147 * gdb.base/jit-simple.exp: Likewise.
21148 * gdb.base/reread.exp: Likewise.
21149 * gdb.base/sepdebug.exp: Likewise.
21150 * gdb.base/step-bt.exp: Likewise.
21151 * gdb.cp/mb-inline.exp: Likewise.
21152 * gdb.cp/mb-templates.exp: Likewise.
21153 * gdb.objc/basicclass.exp: Likewise.
21154 * gdb.threads/killed.exp: Likewise.
21155
9d9bf2df
EBM
211562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21157
21158 PR tdep/17379
21159 * gdb.arch/powerpc-stackless.S: New file.
21160 * gdb.arch/powerpc-stackless.exp: New file.
21161
1cf2f1b0
JK
211622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21163
21164 * gdb.base/attach.c: Include unistd.h.
21165 (main): Call alarm. Add label postloop.
21166 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21167 gdb_breakpoint, gdb_continue_to_breakpoint.
21168 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21169
98880d46
PA
211702014-09-11 Pedro Alves <palves@redhat.com>
21171
21172 PR gdb/17347
21173 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21174 * gdb.base/attach.exp (test_command_line_attach_run): New
21175 procedure.
21176 (top level): Call it.
21177
4c92ff2c
PA
211782014-09-11 Pedro Alves <palves@redhat.com>
21179
21180 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21181 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21182 (do_command_attach_tests): Use spawn_wait_for_attach.
21183 * gdb.base/solib-overlap.exp: Likewise.
21184 * gdb.multi/multi-attach.exp: Likewise.
21185 * gdb.python/py-prompt.exp: Likewise.
21186 * gdb.python/py-sync-interp.exp: Likewise.
21187 * gdb.server/ext-attach.exp: Likewise.
21188
3adc1a7d
GKB
211892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21190
21191 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21192 command in testcase. Simplify testcase.
21193
96334934
JB
211942014-09-10 Joel Brobecker <brobecker@adacore.com>
21195
21196 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21197
eb479039
JB
211982014-09-10 Joel Brobecker <brobecker@adacore.com>
21199
21200 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21201
deede10c
JB
212022014-09-10 Joel Brobecker <brobecker@adacore.com>
21203
21204 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21205
7828a5f5
JB
212062014-09-10 Joel Brobecker <brobecker@adacore.com>
21207
21208 * gdb.dwarf2/dynarr-ptr.c: New file.
21209 * gdb.dwarf2/dynarr-ptr.exp: New file.
21210
33aeebcf
MR
212112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21212
21213 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21214 of 30 rather than hardcoding 120 for a slow test case. Take the
21215 `gdb,timeout' target setting into account for this calculation.
21216 Don't extend the timeout for the test cases that don't need it.
21217
7b415901
MR
212182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21219
21220 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21221 a factor of 2 for a slow test case. Take the `gdb,timeout'
21222 target setting into account for this calculation.
21223 * gdb.reverse/until-precsave.exp: Increase the timeout by
21224 a factor of 15 and 3 respectively rather than adding 120
21225 for a pair of slow test cases. Take the `gdb,timeout'
21226 target setting into account for this calculation.
21227
4a40f85a
MR
212282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21229
21230 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21231 timeout, don't pass one down to gdb_expect.
21232 (gdb_expect): Rework timeout selection.
21233
09635af7
MR
212342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21235
21236 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21237 exception on timeout.
21238 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21239 (gdbserver_start_extended): Catch any `gdbserver_start' error
21240 exceptions.
21241 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21242 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21243 `gdbserver_gdb_load' error exceptions.
21244
2bdd10b7
MR
212452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21246
21247 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21248 120 on waiting for the TCP socket to open.
21249
316935f0
DE
212502014-09-09 Doug Evans <xdje42@gmail.com>
21251
21252 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21253 _caller_matches, _any_caller_is, _any_caller_matches.
21254
83740597
DE
212552014-09-09 Doug Evans <xdje42@gmail.com>
21256
21257 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21258
4c122fc3
YQ
212592014-09-09 Yao Qi <yao@codesourcery.com>
21260
21261 * gdb.mi/mi-var-display.exp: Set print symbol off.
21262
a9f116cb
GKB
212632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21264
21265 PR gdb/17035
21266 * gdb.base/commands.exp: Add tests to verify user-defined
21267 commands with empty bodies.
21268 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21269 python commands in `show user command`.
21270 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21271 scheme commands in `show user command`.
21272
c75bd3a2
JK
212732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21274
21275 PR python/17355
21276 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21277 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21278 * gdb.python/py-framefilter-invalidarg.exp: New file.
21279 * gdb.python/py-framefilter-invalidarg.py: New file.
21280
faa42425
DE
212812014-09-06 Doug Evans <xdje42@gmail.com>
21282
21283 PR 15276
21284 * gdb.python/py-caller-is.c: New file.
21285 * gdb.python/py-caller-is.exp: New file.
21286
474ca4f6
SDJ
212872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21288
21289 PR gdb/17235
21290 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21291 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21292
eb0b0463
SDJ
212932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21294
21295 PR fortran/17237
21296 * gdb.fortran/print-formatted.exp: New file.
21297 * gdb.fortran/print-formatted.f90: Likewise.
21298
5f3b99cf
SS
212992014-09-03 Sasha Smundak <asmundak@google.com>
21300
21301 * gdb.python/py-frame.exp: Test Frame.read_register.
21302
7d793aa9
SDJ
213032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21304
21305 PR python/16699
21306 * gdb.python/py-completion.exp: New file.
21307 * gdb.python/py-completion.py: Likewise.
21308
fb0576e9
DE
213092014-08-28 Doug Evans <dje@google.com>
21310
21311 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21312 eax,etc. are live with values set by gdb and thus the compiler can't
21313 use them.
21314 * gdb.arch/i386-pseudo.c (main): Ditto.
21315
ee92b0dd
DE
213162014-08-27 Doug Evans <dje@google.com>
21317
21318 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21319
6649db35
DE
213202014-08-25 Doug Evans <dje@google.com>
21321
21322 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21323 (main): Ditto.
21324
564b7600
DE
213252014-08-25 Doug Evans <dje@google.com>
21326
21327 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21328
3881fb67
YQ
213292014-08-24 Yao Qi <yao@codesourcery.com>
21330
21331 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21332 symbol off.
21333 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21334
a05a36a5
DE
213352014-08-22 Doug Evans <dje@google.com>
21336
21337 PR 17276
21338 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21339 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21340 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21341
7c343b48
YQ
213422014-08-22 Yao Qi <yao@codesourcery.com>
21343
21344 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21345 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21346 * gdb.python/python.exp: Likewise. Use .py file on the host
21347 instead of the build.
21348
22fd09ae
JK
213492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21350
21351 * gdb.threads/gcore-stale-thread.c: New file.
21352 * gdb.threads/gcore-stale-thread.exp: New file.
21353
a8454a7c
PA
213542014-08-21 Pedro Alves <palves@redhat.com>
21355
21356 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21357 * gdb.base/gcore-relro-pie.exp: Likewise.
21358 * gdb.base/gcore-relro.exp: Likewise.
21359 * gdb.base/gcore.exp: Likewise.
21360 * gdb.base/print-symbol-loading.exp: Likewise.
21361 * gdb.threads/gcore-thread.exp: Likewise.
21362 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21363
2a31c623
PA
213642014-08-20 Pedro Alves <palves@redhat.com>
21365 Jan Kratochvil <jan.kratochvil@redhat.com>
21366
21367 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21368 configure.
21369 (EXPECT): Handle READ1 being set.
21370 (all): Depend on EXTRA_RULES.
21371 (check-read1, expect-read1, read1.so, read1): New rules.
21372 * README (Testsuite Parameters): Document the READ1 make variable.
21373 (Race detection): New section.
21374 * configure: Regenerate.
21375 * configure.ac: If build==host==target, and running under a
21376 GNU/glibc system, add read1 to the extra Makefile rules.
21377 (EXTRA_RULES): AC_SUBST it.
21378 * lib/read1.c: New file.
21379
d36430db
JB
213802014-08-20 Joel Brobecker <brobecker@adacore.com>
21381
21382 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21383 the handling of variables declared as a typedef to an array
21384 which a DW_AT_data_location attribute.
21385
9a0dc9e3
PA
213862014-08-19 Andrew Burgess <aburgess@broadcom.com>
21387 Pedro Alves <palves@redhat.com>
21388
21389 PR symtab/14604
21390 PR symtab/14605
21391 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21392 gdb_test.
21393
0718a8da
PA
213942014-08-19 Pedro Alves <palves@redhat.com>
21395
21396 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21397
13b448cd
YQ
213982014-08-19 Yao Qi <yao@codesourcery.com>
21399
21400 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21401 right line.
21402
1cbf5077
DB
214032014-08-18 David Blaikie <dblaikie@gmail.com>
21404
21405 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21406
bf0fae19
JB
214072014-08-18 Joel Brobecker <brobecker@adacore.com>
21408
21409 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21410 attribute in array range.
21411
3c8c5dcc
JB
214122014-08-18 Joel Brobecker <brobecker@adacore.com>
21413
21414 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21415
e66d4446
SC
214162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21417
21418 PR c++/17132
21419 * gdb.cp/pr17132.cc: New file.
21420 * gdb.cp/pr17132.exp: New file.
21421
940df408
SC
214222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21423
21424 * gdb.python/py-xmethods.py (A_getarrayind)
21425 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21426 Use 'print' with function call syntax.
21427 (E_method_matcher.match): Fix tab vs space indentation mixup.
21428
ebcc6c3a
YQ
214292014-08-15 Yao Qi <yao@codesourcery.com>
21430
21431 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21432 false.
21433
775e0f04
YQ
214342014-08-15 Yao Qi <yao@codesourcery.com>
21435
21436 * gdb.cp/casts.exp: Set print symbol off.
21437 * gdb.cp/class2.exp: Likewise.
21438 * gdb.cp/overload.exp: Likewise.
21439 * gdb.cp/templates.exp: Likewise.
21440
d769e349
DE
214412014-08-11 Doug Evans <dje@google.com>
21442
21443 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21444 (test_load_shlib): Update.
21445
20c6f1e1
YQ
214462014-08-09 Yao Qi <yao@codesourcery.com>
21447
21448 * gdb.base/display.exp: Invoke is_address_zero_readable.
21449 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21450 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21451 * gdb.base/hbreak-unmapped.exp: Return if
21452 is_address_zero_readable returns true.
21453 * gdb.base/signest.exp: Likewise.
21454 * gdb.base/signull.exp: Likewise.
21455 * gdb.base/sigbpt.exp: Likewise.
21456 * gdb.guile/scm-disasm.exp: Do the test if
21457 is_address_zero_readable returns false.
21458 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21459 * gdb.python/py-arch.exp: Likewise.
21460 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21461 * lib/gdb.exp (is_address_zero_readable): New proc.
21462
5792e8e3
YQ
214632014-08-09 Yao Qi <yao@codesourcery.com>
21464
21465 PR testsuite/13443
21466 * gdb.mi/mi-var-display.exp: Make test messages unique.
21467
3cecbbbe
TT
214682014-08-04 Tom Tromey <tromey@redhat.com>
21469
21470 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21471 target 0".
21472
00b51ff5
TT
214732014-08-04 Tom Tromey <tromey@redhat.com>
21474
21475 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21476 "target_resume".
21477
6908c509
JB
214782014-08-01 Joel Brobecker <brobecker@adacore.com>
21479
21480 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21481 inner_vla_struct_object_size.
21482 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21483 as xfail.
21484
cc6563d2
PA
214852014-07-30 Pedro Alves <palves@redhat.com>
21486
21487 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21488 comment.
21489
7e09a223
YQ
214902014-07-29 Yao Qi <yao@codesourcery.com>
21491
21492 PR gdb/17206
21493 * gdb.base/until-nodebug.exp: New.
21494
7ebdbe92
DE
214952014-07-28 Doug Evans <xdje42@gmail.com>
21496
21497 PR guile/17203
21498 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21499 previously existing parameter, and previously ambiguously spelled
21500 parameter.
21501
fdb1adc6
WN
215022014-07-28 Will Newton <will.newton@linaro.org>
21503
21504 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21505
186fcde0
DE
215062014-07-26 Ludovic Courtès <ludo@gnu.org>
21507 Doug Evans <xdje42@gmail.com>
21508
21509 PR guile/17146
21510 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21511
70509625
PA
215122014-07-25 Pedro Alves <palves@redhat.com>
21513
21514 * gdb.threads/signal-command-handle-nopass.c: New file.
21515 * gdb.threads/signal-command-handle-nopass.exp: New file.
21516 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21517 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21518 * gdb.threads/signal-delivered-right-thread.c: New file.
21519 * gdb.threads/signal-delivered-right-thread.exp: New file.
21520
c3f814a1
PA
215212014-07-25 Pedro Alves <palves@redhat.com>
21522
21523 * gdb.base/double-prompt-target-event-error.exp
21524 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21525 match.
21526 (cancel_pagination_in_target_event): Rework double prompt
21527 detection.
21528 * gdb.base/paginate-after-ctrl-c-running.exp
21529 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21530 <return>' match.
21531 * gdb.base/paginate-bg-execution.exp
21532 (test_bg_execution_pagination_return)
21533 (test_bg_execution_pagination_cancel): Remove '-notransfer
21534 <return>' matches.
21535 * gdb.base/paginate-execution-startup.exp
21536 (test_fg_execution_pagination_return)
21537 (test_fg_execution_pagination_cancel): Remove '-notransfer
21538 <return>' matches.
21539 * gdb.base/paginate-inferior-exit.exp
21540 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21541 match.
21542 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21543 * lib/gdb.exp (pagination_prompt): Run text through
21544 string_to_regexp.
21545 (gdb_test_multiple): Match $pagination_prompt instead of
21546 "<return>".
21547 (string_to_regexp): Move to lib/gdb-utils.exp.
21548
e214cf6c
JK
215492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21550
21551 * gdb.arch/amd64-entry-value-paramref.S: New file.
21552 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21553 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21554 * gdb.arch/amd64-optimout-repeat.S: New file.
21555 * gdb.arch/amd64-optimout-repeat.c: New file.
21556 * gdb.arch/amd64-optimout-repeat.exp: New file.
21557
17d0c5c8
JK
215582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21559
21560 PR gdb/17170
21561 * gdb.base/statistics.exp: New file.
21562
b8b8facf
DE
215632014-07-17 Doug Evans <dje@google.com>
21564
74b49205 21565 PR gdb/17170
b8b8facf
DE
21566 * gdb.base/maint.exp: Update testing of per-command stats.
21567
1b5d0ab3
PA
215682014-07-16 Pedro Alves <palves@redhat.com>
21569
21570 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21571 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21572 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21573 (tfile_write_buf): New functions.
21574 (add_memory_block): Rewrite using the above.
21575 (adjust_function_address): New function.
21576 (FUNCTION_ADDRESS): New macro.
21577 (write_basic_trace_file): Remove short_x local, and use
21578 tfile_write_16. Change type of func_addr local to unsigned long
21579 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21580 here. Cast argument of add_memory_block to char pointer.
21581 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21582 (main): Remove parameters.
21583 * gdb.trace/tfile.exp: Remove nowarnings.
21584
4d974e88
SM
215852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21586
21587 * gdb.base/debug-expr.exp: Test string evaluation with
21588 "debug expression" on.
21589
41e99568
PA
215902014-07-15 Pedro Alves <palves@redhat.com>
21591
21592 * gdb.base/reread.exp: Use clean_restart.
21593
487d9753
PL
215942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21595
21596 * gdb.arch/avr-flash-qualifer.c: New.
21597 * gdb.arch/avr-flash-qualifer.exp: New.
21598
cc1c52ad
PA
215992014-07-14 Pedro Alves <palves@redhat.com>
21600
21601 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21602 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21603
1e973570
PA
216042014-07-14 Pedro Alves <palves@redhat.com>
21605
21606 * gdb.base/double-prompt-target-event-error.c: New file.
21607 * gdb.base/double-prompt-target-event-error.exp: New file.
21608
93d6eb10
PA
216092014-07-14 Pedro Alves <palves@redhat.com>
21610
21611 PR gdb/17072
21612 * gdb.base/paginate-inferior-exit.c: New file.
21613 * gdb.base/paginate-inferior-exit.exp: New file.
21614
0017922d
PA
216152014-07-14 Pedro Alves <palves@redhat.com>
21616
21617 PR gdb/17072
21618 * gdb.base/paginate-bg-execution.c: New file.
21619 * gdb.base/paginate-bg-execution.exp: New file.
21620
94696ad3
PA
216212014-07-14 Pedro Alves <palves@redhat.com>
21622
21623 PR gdb/17072
21624 * gdb.base/paginate-execution-startup.c: New file.
21625 * gdb.base/paginate-execution-startup.exp: New file.
21626 * lib/gdb.exp (pagination_prompt): New global.
21627 (default_gdb_spawn): New procedure, factored out from
21628 default_gdb_spawn.
21629 (default_gdb_start): Adjust to call default_gdb_spawn.
21630 (gdb_spawn): New procedure.
21631
bd293940
PA
216322014-07-14 Pedro Alves <palves@redhat.com>
21633
21634 * lib/gdb.exp (gdb_assert): New procedure.
21635 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21636
c933f875
PA
216372014-07-14 Pedro Alves <palves@redhat.com>
21638
21639 * gdb.base/execution-termios.c: New file.
21640 * gdb.base/execution-termios.exp: New file.
21641
d98b7a16
TT
216422014-07-14 Tom Tromey <tromey@redhat.com>
21643
21644 * gdb.cp/vla-cxx.cc: New file.
21645 * gdb.cp/vla-cxx.exp: New file.
21646
548740d6
TT
216472014-07-14 Tom Tromey <tromey@redhat.com>
21648
21649 * gdb.reverse/rerun-prec.c: New file.
21650 * gdb.reverse/rerun-prec.exp: New file.
21651
a25eb028
MR
216522014-07-12 Maciej W. Rozycki <macro@mips.com>
21653 Maciej W. Rozycki <macro@codesourcery.com>
21654
21655 * lib/gdb-utils.exp: New file.
21656 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21657 inline `gdb_init_command' processing.
21658 (gdb_start_cmd): Likewise.
21659 * lib/mi-support.exp (mi_run_cmd): Likewise.
21660 * README: Document `gdb_init_command' and `gdb_init_commands'.
21661
218c2655
JK
216622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21663
21664 Fix false FAIL running under a very long directory name.
21665 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21666 and "set print elements 10000". Twice.
21667
5401fde3
YQ
216682014-07-11 Yao Qi <yao@codesourcery.com>
21669
21670 * gdb.base/exprs.exp: "set print symbol off".
21671
e76126e8
PA
216722014-07-11 Pedro Alves <palves@redhat.com>
21673
21674 * gdb.threads/kill.c: New file.
21675 * gdb.threads/kill.exp: New file.
21676
2d6f0de6
YQ
216772014-07-10 Yao Qi <yao@codesourcery.com>
21678
21679 * gdb.trace/tfile.c (write_basic_trace_file)
21680 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21681 address written to trace file.
21682
7180e04a
PA
216832014-07-09 Pedro Alves <palves@redhat.com>
21684
21685 * gdb.base/attach-wait-input.exp: New file.
21686 * gdb.base/attach-wait-input.c: New file.
21687
9a9a7608
AB
216882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21689
21690 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21691 setting up test structures.
21692 (main): Call new test function.
21693 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21694 test function, continue into test function and walk test
21695 structures.
21696
161ac41e
YQ
216972014-07-02 Yao Qi <yao@codesourcery.com>
21698
21699 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21700 'bar_start' at the beginning of functions 'foo' and 'bar'
21701 respectively.
21702 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21703 instead of 'foo' and 'bar'.
21704
1f267ae3
MM
217052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21706
21707 * gdb.btrace/segv.exp: New.
21708 * gdb.btrace/segv.c: New.
21709
2b239efb
LM
217102014-07-02 Luis Machado <lgustavo@codesourcery.com>
21711
21712 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21713 instruction.
21714
cf363f18
MW
217152014-06-30 Mark Wielaard <mjw@redhat.com>
21716
21717 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21718 vulture, vilify, villar): New volatile array constants.
21719 (vindictive, vegetation): New const volatile array constants.
21720 * gdb.base/volatile.exp: Test volatile and const volatile array
21721 types.
21722
aebf9d24
AA
217232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21724
21725 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21726 target lacks support for awatch, rwatch, or hbreak.
21727
b67a2c6f
YQ
217282014-06-27 Yao Qi <yao@codesourcery.com>
21729
21730 * gdb.multi/dummy-frame-restore.exp: New.
21731 * gdb.multi/dummy-frame-restore.c: New.
21732
aef92902
MM
217332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21734
21735 * gdb.btrace/gcore.exp: New.
21736
8e9db26e
PA
217372014-06-23 Pedro Alves <palves@redhat.com>
21738
21739 * gdb.base/watchpoint-reuse-slot.c: New file.
21740 * gdb.base/watchpoint-reuse-slot.exp: New file.
21741
70afc5b7
SC
217422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21743
21744 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21745 progspace's filename in 'info', 'enable' and 'disable' command
21746 tests.
21747
b972bd9c
JK
217482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21749
21750 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21751 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21752 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21753
125f8a3d
GB
217542014-06-20 Gary Benson <gbenson@redhat.com>
21755
21756 * gdb.arch/i386-avx.exp: Fix include file location.
21757 * gdb.arch/i386-sse.exp: Likewise.
21758
3ed9baed
IB
217592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21760
21761 * gdb.dlang/expression.exp: New file.
21762
034f788c
PA
217632014-06-19 Pedro Alves <palves@redhat.com>
21764
21765 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21766 out from ...
21767 (top level): ... here. Iterate running tests under different
21768 scheduler-locking settings.
21769
45371d0c
LM
217702014-06-18 Luis Machado <lgustavo@codesourcery.com>
21771
21772 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21773 to DW_FORM_addr and use non-zero addresses.
21774
5d376983
SC
217752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21776
21777 PR gdb/17017
21778 * gdb.python/py-xmethods.cc: Add global function call counters and
21779 increment them in their respective functions. Remove "cout"
21780 statements.
21781 * gdb.python/py-xmethods.exp: Make tests check the global function
21782 call counters instead of depending on inferior IO.
21783
a1aa2221
LM
217842014-06-18 Don Breazeal <donb@codesourcery.com>
21785
21786 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21787 Deleted procedure.
21788 (explicit_fork_parent_follow): Deleted procedure.
21789 (explicit_fork_child_follow): Deleted procedure.
21790 (test_follow_fork): New procedure.
21791 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21792 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21793 procedure calls.
21794
0fc05997
YQ
217952014-06-17 Yao Qi <yao@codesourcery.com>
21796
21797 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21798 CP1252.
21799
70795c52
LM
218002014-06-17 Luis Machado <lgustavo@codesourcery.com>
21801
21802 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21803 Initialize ptr and S explicitly.
21804 (skip_type_update_when_not_use_rtti_test): Likewise.
21805
6be47f0c
KS
218062014-06-16 Keith Seitz <keiths@redhat.com>
21807
21808 PR mi/15863
21809 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21810 the inferior is started.
21811
d03de421
PA
218122014-06-16 Pedro Alves <palves@redhat.com>
21813
21814 * gdb.base/break-main-file-remove-fail.c: New file.
21815 * gdb.base/break-main-file-remove-fail.exp: New file.
21816 * gdb.base/break-unload-file.exp: Use build_executable instead of
21817 prepare_for_testing.
21818 (test_break): New parameter "initial_load". Handle it.
21819 (top level): Add initial_load cmdline/file axis.
21820
f9579b99
TT
218212014-06-12 Tom Tromey <tromey@redhat.com>
21822
21823 * gdb.base/completion.exp: Don't use directory name in test.
21824
3657956b
GB
218252014-06-09 Gary Benson <gbenson@redhat.com>
21826
21827 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21828 separate the always-available ANSI-standard signals from the
21829 signals that require checking.
21830 (main): Likewise.
21831 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21832 Likewise.
21833 (main): Likewise.
21834
4186eb54
KS
218352014-06-07 Keith Seitz <keiths@redhat.com>
21836
21837 Revert:
21838 PR c++/16253
21839 * gdb.cp/var-tag.cc: New file.
21840 * gdb.cp/var-tag.exp: New file.
21841 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21842 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21843 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21844 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21845
25326a28 218462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21847
21848 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21849
829155c9
PA
218502014-06-06 Pedro Alves <palves@redhat.com>
21851
21852 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21853 in target debug output instead of looking at RSP packets,
21854 disabling the test on any target that uses hardware stepping.
21855 Update comments.
21856
61c8d22e
PA
218572014-06-06 Pedro Alves <palves@redhat.com>
21858
21859 * gdb.base/break-unload-file.exp: Fix typo.
21860
d9a47287
YQ
218612014-06-06 Yao Qi <yao@codesourcery.com>
21862
21863 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21864 from "jit_function" to "^jit_function".
21865
e5e01dbf
YQ
218662014-06-06 Yao Qi <yao@codesourcery.com>
21867
21868 * gdb.base/async.c (foo): Add one statement.
21869 * gdb.base/async.exp: Get the next instruction address and
21870 match the output of "nexti" by instruction address. Match
21871 the hex address in the output of "finish".
21872
73ba372c
GB
218732014-06-06 Gary Benson <gbenson@redhat.com>
21874
21875 * gdb.base/call-signals.c: Remove preprocessor conditionals
21876 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21877 SIGSEGV and SIGTERM.
21878 * gdb.base/sigall.c: Likewise.
21879 * gdb.base/unwindonsignal.c: Likewise.
21880 * gdb.reverse/sigall-reverse.c: Likewise.
21881
831517df
YQ
218822014-06-06 Yao Qi <yao@codesourcery.com>
21883
21884 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21885 readable, skip the test.
21886
b8b91e98
YQ
218872014-06-06 Yao Qi <yao@codesourcery.com>
21888
21889 * gdb.threads/staticthreads.c (thread_function): Move the line
21890 setting breakpoint on forward.
21891 * gdb.threads/staticthreads.exp: Update comments.
21892
fb934770
LC
218932014-06-05 Ludovic Courtès <ludo@gnu.org>
21894
21895 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21896 "history-append! type error".
21897
6ef284bd
SM
218982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21899
21900 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21901 erroneous dprintf expected input.
21902
a872e241
DE
219032014-06-04 Doug Evans <xdje42@gmail.com>
21904
21905 * gdb.guile/scm-generics.exp: Delete.
21906
16f691fb
DE
219072014-06-04 Doug Evans <xdje42@gmail.com>
21908
21909 * gdb.guile/scm-breakpoint.exp: Update.
21910 Add tests for breakpoint registration.
21911
012370f6
TT
219122014-06-04 Tom Tromey <tromey@redhat.com>
21913
21914 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21915 VLA-in-union.
21916 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21917 inner_vla_struct, vla_union types. Initialize objects of those
21918 types and compute their sizes.
21919
9f5a4cef
HZ
219202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21921 Hui Zhu <hui@codesourcery.com>
21922
21923 * gdb.base/fileio.exp: Add test for shell not available as well as
21924 available.
21925 * gdb.base/fileio.c (test_system): Check for shell twice.
21926
90a45c4d
YQ
219272014-06-04 Yao Qi <yao@codesourcery.com>
21928
21929 * gdb.base/auto-connect-native-target.exp: Remove redundant
21930 space from the regexp pattern.
21931
70017e41
YQ
219322014-06-04 Yao Qi <yao@codesourcery.com>
21933
21934 * gdb.base/default.exp: Replace "child" with "native" in
21935 regexp pattern.
21936
883964a7
SC
219372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21938
21939 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21940 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21941 * gdb.python/py-xmethods.py: Python script supporting the
21942 new testcase and tests.
21943
ef370185
JB
219442014-06-03 Joel Brobecker <brobecker@adacore.com>
21945 Pedro Alves <palves@redhat.com>
21946
21947 PR breakpoints/17000
21948 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21949 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21950
1e2ccb61
BM
219512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21952
21953 * gdb.base/subst.exp: Add tests to verify partial path matching
21954 output.
21955
c6ec5ab2
PA
219562014-06-03 Pedro Alves <palves@redhat.com>
21957
21958 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21959 target that doesn't use software single-stepping.
21960
835c559f
PA
219612014-06-03 Pedro Alves <palves@redhat.com>
21962
21963 PR breakpoints/17000
21964 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21965 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21966
06eb1586
DE
219672014-06-02 Doug Evans <xdje42@gmail.com>
21968
21969 * gdb.guile/scm-parameter.exp: New file.
21970
e698b8c4
DE
219712014-06-02 Doug Evans <xdje42@gmail.com>
21972
21973 * gdb.guile/scm-cmd.c: New file.
21974 * gdb.guile/scm-cmd.exp: New file.
21975
ded03782
DE
219762014-06-02 Doug Evans <xdje42@gmail.com>
21977
21978 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21979 pretty-printer lookup.
21980 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21981 (make-pp_s-printer): Call it.
21982 (make-pretty-printer-from-dict): New function.
21983 (lookup-pretty-printer-maker-from-dict): New function.
21984 (*pretty-printer*): Simplify.
21985 (make-objfile-pp_s-printer): New function.
21986 (install-objfile-pretty-printers!): New function.
21987 (make-progspace-pp_s-printer): New function.
21988 (install-progspace-pretty-printers!): New function.
21989 * gdb.guile/scm-progspace.c: New file.
21990 * gdb.guile/scm-progspace.exp: New file.
21991
41fac0cf
PA
219922014-06-02 Pedro Alves <palves@redhat.com>
21993
21994 * gdb.base/dprintf-bp-same-addr.c: New file.
21995 * gdb.base/dprintf-bp-same-addr.exp: New file.
21996
96ae5695
EBM
219972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21998
21999 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22000 * gdb.arch/powerpc-power.s: Likewise.
22001
da02b3a8
JB
220022014-06-02 Joel Brobecker <brobecker@adacore.com>
22003
22004 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22005
c72b2e7b
YQ
220062014-06-01 Yao Qi <yao@codesourcery.com>
22007
22008 * gdb.base/watchpoint.exp (test_watch_location): Check null
22009 pointer can be dereferenced. If not, do the test, otherwise
22010 skip it.
22011
53e8a631
AB
220122014-05-30 Andrew Burgess <aburgess@broadcom.com>
22013
22014 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22015 results.
22016 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22017
938f0e2f
AB
220182014-05-30 Andrew Burgess <aburgess@broadcom.com>
22019
22020 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22021 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22022 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22023 * gdb.arch/amd64-invalid-stack-top.c: New file.
22024 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22025
9ba6657a
PA
220262014-05-30 Pedro Alves <palves@redhat.com>
22027
22028 PR breakpoints/17000
22029 * gdb.base/sss-bp-on-user-bp.c: New file.
22030 * gdb.base/sss-bp-on-user-bp.exp: New file.
22031
522c09bf
DB
220322014-05-30 David Blaikie <dblaikie@gmail.com>
22033
22034 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22035 gnu_inline semantics via attribute.
22036 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22037 source explicitly specifies the required semantics.
22038
bf4ef81e
MR
220392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22040
22041 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22042
329ea579
PA
220432014-05-29 Pedro Alves <palves@redhat.com>
22044 Tom Tromey <tromey@redhat.com>
22045
22046 * gdb.base/async-shell.exp: Don't enable target-async.
22047 * gdb.base/async.exp
22048 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22049 parameter. Adjust.
22050 (top level): Don't test with "target-async".
22051 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22052 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22053 * gdb.base/inferior-died.exp: Don't enable target-async.
22054 * gdb.base/interrupt-noterm.exp: Likewise.
22055 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22056 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22057 * gdb.mi/mi-nonstop.exp: Likewise.
22058 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22059 * gdb.mi/mi-nsintrall.exp: Likewise.
22060 * gdb.mi/mi-nsmoribund.exp: Likewise.
22061 * gdb.mi/mi-nsthrexec.exp: Likewise.
22062 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22063 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22064 * gdb.python/py-evsignal.exp: Don't enable target-async.
22065 * gdb.python/py-evthreads.exp: Likewise.
22066 * gdb.python/py-prompt.exp: Likewise.
22067 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22068 * gdb.server/solib-list.exp: Don't enable target-async.
22069 * gdb.threads/thread-specific-bp.exp: Likewise.
22070 * lib/mi-support.exp: Adjust to use mi-async.
22071
fd664c91
PA
220722014-05-29 Pedro Alves <palves@redhat.com>
22073
22074 PR gdb/13860
22075 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22076 reason, even in sync mode.
22077
251bde03
PA
220782014-05-29 Pedro Alves <palves@redhat.com>
22079 Hui Zhu <hui@codesourcery.com>
22080
22081 PR PR15693
22082 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22083 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22084 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22085 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22086
7f3c0343
JB
220872014-05-28 Joel Brobecker <brobecker@adacore.com>
22088
22089 * config/monitor.exp (gdb_target_monitor): Replace use of
22090 "set remotebaud" by "set serial baud".
22091
b2715b27
AW
220922014-05-26 Andy Wingo <wingo@igalia.com>
22093
22094 * gdb.guile/scm-breakpoint.exp:
22095 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22096 properties instead of gdb-object-properties.
22097
498a4489
YQ
220982014-05-26 Yao Qi <yao@codesourcery.com>
22099
22100 * gdb.server/no-thread-db.exp: Specify source file name
22101 explicitly when setting a breakpoint.
22102
589fdceb
MM
221032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22104
22105 * gdb.btrace/vdso.c: New.
22106 * gdb.btrace/vdso.exp: New.
22107
e9089e05
MM
221082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22109
22110 * gdb.base/gcore.exp (capture_command_output): Move ...
22111 * lib/gdb.exp (capture_command_output): ... here.
22112
67b5c0c1
MM
221132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22114
22115 * gdb.btrace/data.exp: Test memory access during btrace replay.
22116
a2199296
SM
221172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22118
22119 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22120
17b2616c
PA
221212014-05-21 Pedro Alves <palves@redhat.com>
22122
22123 PR gdb/13860
22124 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22125 (top level): Test that output related to execution commands is
22126 sent to the console with CLI commands, but not with MI commands.
22127 Test that breakpoint events are always mirrored to the console.
22128 Also expect the new source line to be output after a "next" in
22129 async mode too. Make it a pass/fail test.
22130 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22131 output.
22132 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22133
5166082f
PA
221342014-05-21 Pedro Alves <palves@redhat.com>
22135
22136 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22137 Use them to test variations of "list" after reaching a breakpoint.
22138 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22139 Test "list" with listsize 10 after reaching a breakpoint.
22140 * gdb.python/python.exp (decode_line current location line
22141 number): Adjust expected line number.
22142
2f25d70f
SM
221432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22144
22145 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22146 behavior for $args, pass it directly to "run".
22147
ff604a67
MR
221482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22149
22150 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22151 30000 to 65536.
22152
6a3cb8e8
PA
221532014-05-21 Pedro Alves <palves@redhat.com>
22154
22155 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22156 auto-connect-native-target off".
22157 * gdb.base/auto-connect-native-target.c: New file.
22158 * gdb.base/auto-connect-native-target.exp: New file.
22159
4ebfc96e
PA
221602014-05-21 Pedro Alves <palves@redhat.com>
22161
22162 * gdb.base/default.exp: Test "target native" instead of "target
22163 child".
22164
36d46afb
MW
221652014-05-21 Mark Wielaard <mjw@redhat.com>
22166
22167 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22168
5876f503
JK
221692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22170
22171 Fix TLS access for -static -pthread.
22172 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22173 <HAVE_TLS> (thread_function, main): Initialize it.
22174 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22175 Add clean_restart.
22176 <$have_tls != "">: Check TLSVAR.
22177
0256a6ac
PA
221782014-05-21 Pedro Alves <palves@redhat.com>
22179
22180 * gdb.base/dcache-line-read-error.c: New.
22181 * gdb.base/dcache-line-read-error.exp: New.
22182
936d2992
PA
221832014-05-20 Pedro Alves <palves@redhat.com>
22184
22185 * gdb.base/compare-sections.c: New file.
22186 * gdb.base/compare-sections.exp: New file.
22187
802e8e6d
PA
221882014-05-20 Pedro Alves <palves@redhat.com>
22189
22190 * gdb.base/break-idempotent.c: New file.
22191 * gdb.base/break-idempotent.exp: New file.
22192
e59fa00f
MM
221932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22194
22195 * gdb.btrace/nohist.exp: New.
22196
8b696e31
YQ
221972014-05-20 Yao Qi <yao@codesourcery.com>
22198
22199 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22200 gdb.reverse directory and gdb_reverse_timeout exists in board
22201 setting.
22202 * README: Document gdb_reverse_timeout.
22203
73c9764f
YQ
222042014-05-20 Yao Qi <yao@codesourcery.com>
22205
22206 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22207 'test_file_name'. Treat args as a string instead of a list.
22208 (gdb_init): Rename argument 'args' by 'test_file_name'.
22209
f1f4348a
JK
222102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22211
22212 * gdb.arch/powerpc-power.exp: New file.
22213 * gdb.arch/powerpc-power.s: New file.
22214
0dbe70ce
DE
222152014-05-16 Doug Evans <dje@google.com>
22216
22217 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22218 * gdb.base/completion.exp: Check that all expected files exist
22219 before doing file completion.
0dbe70ce 22220
8d551b02
DE
222212014-05-16 Doug Evans <dje@google.com>
22222
22223 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22224 Update.
22225 (do_syscall_tests_without_xml): Update.
22226
73eb7709
PA
222272014-05-16 Pedro Alves <palves@redhat.com>
22228
22229 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22230 instead of "unknown output after running".
22231
3fae92fc
YQ
222322014-05-16 Yao Qi <yao@codesourcery.com>
22233
22234 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22235 file1.txt from host at the end.
22236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22237
c2b2ccc5
DE
222382014-05-15 Doug Evans <dje@google.com>
22239
22240 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22241 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22242 loading file. Add test for TU lookup.
22243
8c217a4b
SM
222442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22245
22246 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22247 calling "-exec-arguments" or "set args" before running the
22248 inferior.
22249
3deb39c6
SM
222502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22251
22252 * lib/mi-support.exp (mi_expect_stop): Expect message for
22253 inferiors that exit with non-zero exit code.
22254
71a79f8c
YQ
222552014-05-14 Yao Qi <yao@codesourcery.com>
22256
22257 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22258 match absolute path on remote host.
22259 (test_file_list_exec_source_files): Remove "/" from the
22260 pattern.
22261
f23fcd46
YQ
222622014-05-14 Yao Qi <yao@codesourcery.com>
22263
22264 * boards/local-remote-host-notty.exp (${board}_file): New
22265 proc.
22266
9404b58f
KM
222672014-05-07 Kyle McMartin <kyle@redhat.com>
22268
22269 Pushed by Joel Brobecker <brobecker@adacore.com>.
22270 * gdb.arch/aarch64-atomic-inst.c: New file.
22271 * gdb.arch/aarch64-atomic-inst.exp: New file.
22272
5e45f04c
YQ
222732014-05-07 Yao Qi <yao@codesourcery.com>
22274
22275 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22276 in current context" too.
22277
c888a17d
KS
222782014-05-05 Keith Seitz <keiths@redhat.com>
22279
22280 * gdb.linespec/ls-dollar.exp: Add test for linespec
22281 file:convenience_variable.
22282
290a839c
YQ
222832014-05-05 Yao Qi <yao@codesourcery.com>
22284
22285 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22286 traceframes into tfile and ctf trace files. Read data from
22287 trace file and test collected data.
22288 (gdb_collect_locals_test): Likewise.
22289 (gdb_unavailable_registers_test): Likewise.
22290 (gdb_unavailable_floats): Likewise.
22291 (gdb_collect_globals_test): Likewise.
22292 (top-level): Append "ctf" to trace_file_targets if GDB
22293 supports.
22294
b5262cd0
YQ
222952014-05-05 Yao Qi <yao@codesourcery.com>
22296
22297 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22298 code to ...
22299 (gdb_collect_args_test_1): ... it. New proc.
22300 (gdb_collect_locals_test): Move some code to ...
22301 (gdb_collect_locals_test_1): ... it. New proc.
22302 (gdb_unavailable_registers_test): Move some code to ...
22303 (gdb_unavailable_registers_test_1): ... it. New proc.
22304 (gdb_unavailable_floats): Move some code to ...
22305 (gdb_unavailable_floats_1): ... it. New proc.
22306
30a1e6cc
SDJ
223072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22308
22309 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22310 probes to test for bitness recognition.
22311 * gdb.arch/amd64-stap-optional-prefix.exp
22312 (test_probe_value_without_reg): New procedure.
22313 Add code to test for different kinds of bitness.
22314
f33da99a
SDJ
223152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22316
22317 PR breakpoints/16889
22318 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22319 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22320
5b80f00d
PA
223212014-05-01 Pedro Alves <palves@redhat.com>
22322
22323 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22324 gdb_file_cmd if no file is specified.
22325 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22326 last_loaded_file to set the remote exec-file.
22327
f8c2a73c
PA
223282014-05-01 Pedro Alves <palves@redhat.com>
22329
22330 * boards/local-remote-host.exp: New file.
22331
be6e8ac7
PA
223322014-05-01 Pedro Alves <palves@redhat.com>
22333
22334 * boards/local-remote-host.exp: Rename to ...
22335 * boards/local-remote-host-notty.exp: ... this.
22336
cac0dc8f
JB
223372014-04-28 Joel Brobecker <brobecker@adacore.com>
22338
22339 * gdb.ada/dyn_arrayidx: New testcase.
22340
9730e6cc
YQ
223412014-04-26 Yao Qi <yao@codesourcery.com>
22342
22343 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22344 and compute the length of function main. Save it in
22345 $main_length.
22346 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22347 (top-level): Use gdb_compile to compile objects into
22348 executable and restart GDB. Remove invocation to
22349 prepare_for_testing.
22350
7ae1a6a6
PA
223512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22352 Pedro Alves <palves@redhat.com>
22353
22354 PR server/16255
22355 * gdb.multi/multi-attach.c: New file.
22356 * gdb.multi/multi-attach.exp: New file.
22357
4082afcc
PA
223582014-04-25 Pedro Alves <palves@redhat.com>
22359
22360 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22361 user.
22362 (top level): Test that "set remote conditional-breakpoints-packet
22363 off" works as intended.
22364 * gdb.base/dprintf.exp: Test that "set remote
22365 breakpoint-commands-packet off" works as intended.
22366 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22367 New function.
22368 (top level): Call it.
22369 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22370 remote fast-tracepoints-packet off" works as intended.
22371 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22372 * lib/gdb.exp (gdb_is_target_remote): ... here.
22373
2abc3f8d
DB
223742014-04-24 David Blaikie <dblaikie@gmail.com>
22375
22376 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22377 ensure clang would not discard them.
22378 * gdb.base/gdbvars.c: Ditto.
22379 * gdb.base/memattr.c: Ditto.
22380 * gdb.base/whatis.c: Ditto.
22381 * gdb.python/py-prettyprint.c: Ditto.
22382 * gdb.trace/actions.c: Ditto.
22383 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22384 ensure clang would not discard it.
22385
bfd39632
DB
223862014-04-24 David Blaikie <dblaikie@gmail.com>
22387
22388 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22389 clang to emit the full definition of type required by the test
22390 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22391
22842ff6
DB
223922014-04-24 David Blaikie <dblaikie@gmail.com>
22393
22394 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22395 coax Clang into emitting the definition of the type.
22396 * gdb.cp/pr10728-x.h (y): Ditto.
22397 * gdb.cp/pr10728-y.cc (y): Ditto.
22398
c2e827ad
DB
223992014-04-24 David Blaikie <dblaikie@gmail.com>
22400
22401 * gdb.base/label.exp: XFAIL label related tests under Clang.
22402 * gdb.cp/cplabel.exp: Ditto.
22403 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22404 under Clang those using labels.
22405
4c2d33e7
YQ
224062014-04-25 Yao Qi <yao@codesourcery.com>
22407
22408 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22409 double_label.
22410 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22411 partial_label and double_label.
22412
56083b99
DB
224132014-04-24 David Blaikie <dblaikie@gmail.com>
22414
22415 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22416
25d4e99d
DB
224172014-04-24 David Blaikie <dblaikie@gmail.com>
22418
22419 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22420 of the function to work across GCC and Clang.
22421 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22422 pointer types (const void ** const V void **).
22423
01f9f808
MS
224242014-04-24 Michael Sturm <michael.sturm@mintel.com>
22425 Walfred Tedeschi <walfred.tedeschi@intel.com>
22426
22427 * Makefile.in (EXECUTABLES): Added i386-avx512.
22428 * gdb.arch/i386-avx512.c: New file.
22429 * gdb.arch/i386-avx512.exp: Likewise.
22430
4b48d439
KS
224312014-04-23 Keith Seitz <keiths@redhat.com>
22432
22433 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22434 (mi_make_breakpoint_table): New procedure.
22435 (mi_create_breakpoint): Use mi_make_breakpoint
22436 and return the result.
22437 (mi_make_breakpoint): New procedure.
22438 (mi_build_kv_pairs): New procedure.
22439
22440 * gdb.mi/mi-break.exp: Remove unused globals,
22441 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22442 All callers updated.
22443 * gdb.mi/mi-dprintf.exp: Use variable to track command
22444 number.
22445 Update all callers of mi_create_breakpoint and use
22446 mi_make_breakpoint_table.
22447 Remove any unused global variables.
22448 * gdb.mi/mi-nonstop.exp: Likewise.
22449 * gdb.mi/mi-nsintrall.exp: Likewise.
22450 * gdb.mi/mi-nsmoribund.exp: Likewise.
22451 * gdb.mi/mi-nsthrexec.exp: Likewise.
22452 * gdb.mi/mi-reverse.exp: Likewise.
22453 * gdb.mi/mi-simplerun.exp: Likewise.
22454 * gdb.mi/mi-stepn.exp: Likewise.
22455 * gdb.mi/mi-syn-frame.exp: Likewise.
22456 * gdb.mi/mi-until.exp: Likewise.
22457 * gdb.mi/mi-var-cp.exp: Likewise.
22458 * gdb.mi/mi-var-display.exp: Likewise.
22459 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22460 * gdb.mi/mi2-var-child.exp: Likewise.
22461 * gdb.mi/mi-vla-c99.exp: Likewise.
22462 * lib/mi-support.exp: Likewise.
22463
22464 From Ian Lance Taylor <iant@cygnus.com>:
22465 * lib/gdb.exp (parse_args): New procedure.
22466
08351840
PA
224672014-04-23 Pedro Alves <palves@redhat.com>
22468
22469 * gdb.base/break-unload-file.c: New file.
22470 * gdb.base/break-unload-file.exp: New file.
22471 * gdb.base/sym-file-lib.c (baz): New function.
22472 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22473 field.
22474 (load): Store the segment's mapped size.
22475 (unload): New function.
22476 (unload_shlib): New function.
22477 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22478 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22479 set a breakpoint at baz, and call it.
22480 * gdb.base/sym-file.exp: New tests for stale breakpoint
22481 instructions.
22482
076855f9
PA
224832014-04-23 Pedro Alves <palves@redhat.com>
22484
22485 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22486 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22487 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22488 * gdb.base/hbreak-unmapped.c: New file.
22489 * gdb.base/hbreak-unmapped.exp: New file.
22490 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22491 * lib/gdb.exp (gdb_is_target_remote): ... here.
22492
483805cf
PA
224932014-04-22 Pedro Alves <palves@redhat.com>
22494
22495 * gdb.base/consecutive-step-over.c: New file.
22496 * gdb.base/consecutive-step-over.exp: New file.
22497
06d97543
PA
224982014-04-22 Pedro Alves <palves@redhat.com>
22499
22500 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22501 instead of send_gdb/gdb_expect.
22502
b4429ea2
YQ
225032014-04-22 Yao Qi <yao@codesourcery.com>
22504
22505 * lib/trace-support.exp (generate_tracefile): New procedure.
22506 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22507 return 0.
22508 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22509 if generate_tracefile returns 1.
22510
51d48146
PA
225112014-04-18 Tom Tromey <palves@redhat.com>
22512 Pedro alves <tromey@redhat.com>
22513
22514 PR backtrace/15558
22515 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22516 with a backtrace limit.
22517 * gdb.python/py-frame-inline.exp: Test running to an inline
22518 function with a backtrace limit, and printing the newest frame.
22519 * gdb.python/py-frame-inline.c (main): Call f.
22520
bd1dce5f
MS
225212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22522
22523 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22524
40d1a503
MS
225252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22526
22527 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22528 Drop prefix from unsupported source file path.
22529
389b98f7
YQ
225302014-04-17 Yao Qi <yao@codesourcery.com>
22531
22532 * lib/gdb.exp (with_target_charset): New proc.
22533 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22534 with_target_charset.
22535 (test_print_strings): Likewise.
22536 (test_repeat_bytes): Likewise.
22537 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22538 for some tests.
22539
22869d73
KS
225402014-04-16 Keith Seitz <keiths@redhat.com>
22541
22542 PR gdb/15827
22543 * gdb.dwarf2/corrupt.c: New file.
22544 * gdb.dwarf2/corrupt.exp: New file.
22545
c4f87ca6
KS
225462014-04-16 Keith Seitz <keiths@redhat.com>
22547
22548 PR c++/16597
22549 * gdb.cp/namelessclass.cc: New file.
22550 * gdb.cp/namelessclass.exp: New file.
22551 * gdb.cp/namelessclass.S: New file.
22552
ab19de87
DE
225532014-04-16 Doug Evans <dje@google.com>
22554
22555 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22556 Add comment.
22557 (gdbserver_default_get_comm_port): New function.
22558 (gdbserver_start): Check if board file provided
22559 "gdbserver,get_comm_port" and use it if so.
22560 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22561 (gdb,socketport): Set to "stdio".
22562 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22563 (stdio_gdbserver_template): Delete.
22564 (${board}_get_remote_address): Update.
22565 (${board}_build_remote_cmd): Delete.
22566 (${board}_get_comm_port): New function.
22567 (${board}_spawn): Update.
22568 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22569 Delete.
22570 (${board}_get_remote_address): Update.
22571 (${board}_get_comm_port): New function.
22572
fc98a809
AB
225732014-04-16 Andrew Burgess <aburgess@broadcom.com>
22574
22575 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22576 appearing in any order.
22577
87fd9e6e
DE
225782014-04-15 Doug Evans <dje@google.com>
22579
22580 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22581 uninitialized value of "description".
22582
099fc3ea
KS
225832014-04-15 Keith Seitz <keiths@redhat.com>
22584
22585 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22586 Remove unused globals.
22587 (test_running_the_program): Likewise.
22588 (test_controlled_execution): Likewise.
22589 (test_controlling_breakpoints): Likewise.
22590 (test_program_termination): Likewise.
22591
5da151d4
KS
225922014-04-15 Keith Seitz <keiths@redhat.com>
22593
22594 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22595 unused globals.
22596 (test_rbreak_creation_and_listing): Likewise.
22597 (test_ignore_count): Likewise.
22598 (test_error): Likewise.
22599
35e5d2f0
PA
226002014-04-15 Pedro Alves <palves@redhat.com>
22601
22602 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22603 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22604 sym-file-loader.c.
22605 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22606 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22607 to sym-file-loader.c.
22608 (struct library): Forward declare.
22609 (load_shlib, lookup_function): Change prototypes.
22610 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22611 (translate_offset): Remove declarations.
22612 (get_text_addr): New declaration.
22613 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22614 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22615 sym-file-loader.h.
22616 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22617 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22618 here from sym-file-loader.h.
22619 (struct library): New structure.
22620 (load_shlib, lookup_function): Change prototypes and adjust to
22621 work with a struct library.
22622 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22623 (translate_offset): Make static.
22624 (get_text_addr): New function.
22625 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22626
eb4c1710
PA
226272014-04-15 Pedro Alves <palves@redhat.com>
22628
22629 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22630
2d1baf52
PA
226312014-04-15 Pedro Alves <palves@redhat.com>
22632
22633 * gdb.base/sym-file-loader.c: Include <limits.h>.
22634 (SELF_LINK): New define.
22635 (get_origin): New function.
22636 (load_shlib): Use it.
22637 * gdb.base/sym-file.exp: Don't early return if the target is
22638 remote. Use runto_main, and issue fail is that fails. Use
22639 gdb_load_shlibs.
22640 (shlib_name): Delete.
22641 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22642
7dd6df01
PA
226432014-04-15 Pedro Alves <palves@redhat.com>
22644
22645 * gdb.base/sym-file.exp: Remove regex characters from test
22646 message. Don't refer to breakpoint numbers in test messages.
22647
b50c8614
KS
226482014-04-14 Keith Seitz <keiths@redhat.com>
22649
22650 PR c++/16253
22651 * gdb.cp/var-tag.cc: New file.
22652 * gdb.cp/var-tag.exp: New file.
22653 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22654 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22655 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22656 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22657
3d567982
TT
226582014-04-14 Tom Tromey <tromey@redhat.com>
22659
22660 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22661 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22662 type.
22663 * gdb.cp/enum-class.exp: New file.
22664 * gdb.cp/enum-class.cc: New file.
22665
0626fc76
TT
226662014-04-14 Tom Tromey <tromey@redhat.com>
22667
22668 * gdb.dwarf2/enum-type.exp: New file.
22669
dca325b3
SA
226702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22671
22672 * gdb.mi/mi-vla-c99.exp: New file.
22673 * gdb.mi/vla.c: New file.
22674
5854b38a
SA
226752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22676
22677 * gdb.base/vla-datatypes.c: New file.
22678 * gdb.base/vla-datatypes.exp: New file.
22679
463bb957
SA
226802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22681
22682 * gdb.base/vla-ptr.c: New file.
22683 * gdb.base/vla-ptr.exp: New file.
22684
3dd170be
SA
226852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22686
22687 * gdb.dwarf2/count.exp: New file.
22688
5ecaaa66
SA
226892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22690
22691 * gdb.base/vla-sideeffect.c: New file.
22692 * gdb.base/vla-sideeffect.exp: New file.
22693
41f1ada5
DB
226942014-04-14 David Blaikie <dblaikie@gmail.com>
22695
22696 * gdb.mi/non-stop.c: Add return value for non-void function return
22697 statement.
22698 * gdb.threads/staticthreads.c: Ditto.
22699
0be03e84
DE
227002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22701 Doug Evans <xdje42@gmail.com>
22702
22703 * gdb.guile/scm-value.c: Improve test case.
22704 * gdb.guile/scm-value.exp: Add new test.
22705
f180a1fb
DB
227062014-04-11 David Blaikie <dblaikie@gmail.com>
22707
22708 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22709 override Clang's default.
22710
6b662e19
JB
227112014-04-11 Joel Brobecker <brobecker@adacore.com>
22712
22713 Revert the following changes (regressions):
22714
22715 * gdb.base/vla-sideeffect.c: New file.
22716 * gdb.base/vla-sideeffect.exp: New file.
22717
22718 * gdb.dwarf2/count.exp: New file.
22719
22720 * gdb.base/vla-multi.c: New file.
22721 * gdb.base/vla-multi.exp: New file.
22722
22723 * gdb.base/vla-ptr.c: New file.
22724 * gdb.base/vla-ptr.exp: New file.
22725
22726 * gdb.base/vla-datatypes.c: New file.
22727 * gdb.base/vla-datatypes.exp: New file.
22728
22729 * gdb.mi/mi-vla-c99.exp: New file.
22730 * gdb.mi/vla.c: New file.
22731
245a5f0b
KS
227322014-04-11 Keith Seitz <keiths@redhat.com>
22733
22734 PR c++/16675
22735 * gdb.cp/cpsizeof.exp: New file.
22736 * gdb.cp/cpsizeof.cc: New file.
22737
58a84dcf
SA
227382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22739
191a8a90
JB
22740 * gdb.mi/mi-vla-c99.exp: New file.
22741 * gdb.mi/vla.c: New file.
58a84dcf 22742
c8655f75
SA
227432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22744
22745 * gdb.base/vla-datatypes.c: New file.
22746 * gdb.base/vla-datatypes.exp: New file.
22747
024e13b4
SA
227482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22749
22750 * gdb.base/vla-ptr.c: New file.
22751 * gdb.base/vla-ptr.exp: New file.
22752
1a237e0e
SA
227532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22754
22755 * gdb.base/vla-multi.c: New file.
22756 * gdb.base/vla-multi.exp: New file.
22757
504f3432
SA
227582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22759
22760 * gdb.dwarf2/count.exp: New file.
22761
3bce8237
SA
227622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22763
191a8a90
JB
22764 * gdb.base/vla-sideeffect.c: New file.
22765 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22766
322f9c21
YQ
227672014-04-11 Yao Qi <yao@codesourcery.com>
22768
22769 * gdb.base/completion.exp: Check file exists before running tests
22770 on file completion.
22771
d708bcd1
PA
227722014-04-10 Pedro Alves <palves@redhat.com>
22773
22774 * gdb.base/cond-eval-mode.c: New file.
22775 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22776 prepare_for_testing to build the new file. Check result of
22777 runto_main.
22778 (test_break, test_watch): New procedures.
22779 (top level): Use them.
22780
ae1d2761
PM
227812014-04-08 Pierre Muller <muller@sourceware.org>
22782
22783 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22784 Ctrl-V use for mingw hosts.
22785
7af389b8
SC
227862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22787
22788 * gdb.python/py-value.c: Improve test case.
22789 * gdb.python/py-value.exp: Add new test.
22790
5e703181
DE
227912014-04-07 David Blaikie <dblaikie@gmail.com>
22792
22793 * lib/compiler.c: Identify the clang compiler.
22794 * lib/compiler.cc: Ditto.
22795
9810b410
YQ
227962014-04-03 Yao Qi <yao@codesourcery.com>
22797
22798 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22799
98d1b8dc
AB
228002014-04-01 Anton Blanchard <anton@samba.org>
22801
22802 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22803 messages unique.
22804
3114cea1
AB
228052014-04-01 Anton Blanchard <anton@samba.org>
22806
22807 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22808 prepare_for_testing.
22809
62f7182c
AB
228102014-04-01 Anton Blanchard <anton@samba.org>
22811
22812 * gdb.arch/ppc64-atomic-inst.c: Remove.
22813 * gdb.arch/ppc64-atomic-inst.S: New file.
22814 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22815
770e7fc7
DE
228162014-03-31 Doug Evans <dje@google.com>
22817
22818 * gdb.base/print-symbol-loading-lib.c: New file.
22819 * gdb.base/print-symbol-loading-main.c: New file.
22820 * gdb.base/print-symbol-loading.exp: New file.
22821
46e2bafa
YQ
228222014-03-31 Yao Qi <yao@codesourcery.com>
22823
22824 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22825
8776cfe9
JB
228262014-03-28 Joel Brobecker <brobecker@adacore.com>
22827
22828 * gdb.ada/mi_dyn_arr: New testcase.
22829
5d1ef361
DE
228302014-03-27 Doug Evans <dje@google.com>
22831
22832 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22833
b5bee914
YQ
228342014-03-27 Yao Qi <yao@codesourcery.com>
22835
22836 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22837 if target is nios2-*-*.
22838
0d4d0e77
YQ
228392014-03-26 Yao Qi <yao@codesourcery.com>
22840
22841 * lib/gdb.exp (readline_is_used): New proc.
22842 * gdb.base/completion.exp: Move tests on command complete up.
22843 Skip the rest of tests if readline is not used.
22844 * gdb.ada/complete.exp: Skp the test if readline is not
22845 used.
22846 * gdb.base/filesym.exp: Likewise.
22847 * gdb.base/macscp.exp: Likewise.
22848 * gdb.base/readline-ask.exp: Likewise.
22849 * gdb.base/readline.exp: Likewise.
22850 * gdb.python/py-cmd.exp: Likewise.
22851 * gdb.trace/tfile.exp: Likewise.
22852
29361eee
YQ
228532014-03-26 Yao Qi <yao@codesourcery.com>
22854
22855 * gdb.base/macscp.exp: Fix code format issues.
22856
bc9a5525
UW
228572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22858
22859 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22860 * gdb.asm/powerpc64le.inc: New file.
22861
d3839ede
PA
228622014-03-25 Pedro Alves <palves@redhat.com>
22863 Doug Evans <dje@google.com>
22864
22865 * gdb.base/source-execution.c: New file.
22866 * gdb.base/source-execution.exp: New file.
22867 * gdb.base/source-execution.gdb: New file.
22868
01672a57
DE
228692014-03-24 Doug Evans <dje@google.com>
22870
22871 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22872 using fission.
22873
88bbeca9
HZ
228742014-03-24 Hui Zhu <hui@codesourcery.com>
22875 Pedro Alves <palves@redhat.com>
22876
22877 PR breakpoints/16101
22878 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22879 test pass/fail messages. Detect missing support for dprintf when
22880 breakpoints are actually inserted.
22881 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22882 breakpoints are actually inserted.
22883 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22884 fails.
22885
d2348791
JK
228862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22887
22888 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22889
feef67ab
DE
228902014-03-22 Doug Evans <xdje42@gmail.com>
22891
22892 * gdb.python/python.exp (python not supported): Verify multi-line
22893 python command issues an error.
25d743f9 22894 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22895 guile command issues an error.
feef67ab 22896
ecebef6a
MR
228972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22898
22899 * gdb.threads/thread-specific.exp: Handle the lack of usable
22900 $this_breakpoint and $this_thread.
22901
ccdd1909
HZ
229022014-03-21 Hui Zhu <hui@codesourcery.com>
22903
22904 * gdb.base/attach.exp (do_command_attach_tests): New.
22905
beb460e8
PA
229062014-03-20 Tom Tromey <tromey@redhat.com>
22907 Pedro Alves <palves@redhat.com>
22908
22909 PR cli/15718
22910 * gdb.base/condbreak-call-false.c: New file.
22911 * gdb.base/condbreak-call-false.exp: New file.
22912
40acf43a
PA
229132014-03-20 Pedro Alves <palves@redhat.com>
22914
22915 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22916 Delete.
22917 (block_signals, unblock_signals): Delete.
22918 (child_function_2, main): Remove references to deleted variable
22919 and functions.
22920
9f5e1e02
PA
229212014-03-20 Pedro Alves <palves@redhat.com>
22922
22923 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22924 Use pthread_kill to signal thread 2.
22925 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22926 Adjust to make the test send itself a signal rather than using the
22927 host's "kill" command.
22928
99619bea
PA
229292014-03-20 Pedro Alves <palves@redhat.com>
22930
22931 * gdb.threads/multiple-step-overs.c: New file.
22932 * gdb.threads/multiple-step-overs.exp: New file.
22933 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22934 Adjust expected infrun debug output.
22935
2adfaa28
PA
229362014-03-20 Pedro Alves <palves@redhat.com>
22937
22938 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22939 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22940
31e77af2
PA
229412014-03-20 Pedro Alves <palves@redhat.com>
22942
22943 PR breakpoints/7143
22944 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22945 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22946 of gdb_test_multiple.
22947 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22948 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22949
b9f437de
PA
229502014-03-20 Pedro Alves <palves@redhat.com>
22951
22952 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22953 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22954
05adc73e
PA
229552014-03-19 Pedro Alves <palves@redhat.com>
22956
22957 * gdb.base/async.exp: Remove early return.
22958
6048b950
PA
229592014-03-19 Pedro Alves <palves@redhat.com>
22960
22961 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22962
8bcfb00a
PA
229632014-03-19 Pedro Alves <palves@redhat.com>
22964
22965 * gdb.base/async.exp (test_background): Expect \r\n after
22966 "completed." in the fail pattern.
22967
884e37dc
PA
229682014-03-19 Pedro Alves <palves@redhat.com>
22969
22970 * gdb.base/async.exp (test_background): New procedure.
22971 Use it for all background execution command tests.
22972
148e57e2
PA
229732014-03-19 Pedro Alves <palves@redhat.com>
22974
22975 * gdb.base/async.exp: Use prepare_for_testing.
22976
f48088c7
PA
229772014-03-19 Pedro Alves <palves@redhat.com>
22978
22979 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22980 the same line.
22981
e2f6c966
PA
229822014-03-19 Pedro Alves <palves@redhat.com>
22983
22984 * gdb.base/async.c (main): Add "jump here" and "until here" line
22985 marker comments.
22986 * gdb.base/async.exp (jump_here): New global.
22987 (jump& test): Use it.
22988 (until_here): New global.
22989 (until& test): Use it.
22990
c30568d4
PA
229912014-03-19 Pedro Alves <palves@redhat.com>
22992
22993 * gdb.base/async.exp: Don't frob gdb_protocol.
22994
0172b6a7
DE
229952014-03-18 Doug Evans <xdje42@gmail.com>
22996
22997 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22998 Fix spelling of exec-done-display.
22999
06c868a8
JK
230002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23001
23002 PR gdb/15358
23003 * gdb.base/gdb-sigterm.c: New file.
23004 * gdb.base/gdb-sigterm.exp: New file.
23005
0c7e1a46
PA
230062014-03-18 Pedro Alves <palves@redhat.com>
23007
23008 PR gdb/13860
23009 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23010 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23011 solib-event.
23012
f7c77d93
JB
230132014-03-17 Joel Brobecker <brobecker@adacore.com>
23014
23015 * gdb.ada/pckd_arr_ren: New testcase.
23016
5a1e8c7a
DE
230172014-03-13 Doug Evans <xdje42@gmail.com>
23018
23019 PR guile/16612
23020 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23021 collect after discarding symbols.
23022
350e1a76
DE
230232014-03-13 Ludovic Courtès <ludo@gnu.org>
23024 Doug Evans <xdje42@gmail.com>
23025
23026 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23027 to history survives a gc.
23028
a69900ae
PA
230292014-03-13 Pedro Alves <palves@redhat.com>
23030
23031 * gdb.base/default.exp: Don't test "target procfs".
23032
5db9f0bd
PA
230332014-03-13 Pedro Alves <palves@redhat.com>
23034
23035 * gdb.base/default.exp: Update "target child" and "target procfs"
23036 tests to not expect "Unix".
23037
b3ccfe11
TT
230382014-03-12 Tom Tromey <tromey@redhat.com>
23039
23040 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23041 New procs. Add target-async tests.
23042 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23043 Add target-async tests.
23044
646f4417
AA
230452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23046
23047 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23048 'func_start' and 'func_end' for the beginning and end of the
23049 function code, respectively.
23050 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23051 'func_end' instead of 'func' and 'main'.
23052
288c211f
AA
230532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23054
23055 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23056 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23057 generate the debug info assembler source.
23058
e0c0f156
AA
230592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23060
23061 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23062 * gdb.dwarf2/arr-subrange.exp: Likewise.
23063 * gdb.dwarf2/dwz.exp: Likewise.
23064 * gdb.dwarf2/method-ptr.exp: Likewise.
23065 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23066 * gdb.dwarf2/subrange.exp: Likewise.
23067 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23068 * gdb.dwarf2/implptrpiece.exp: Likewise.
23069 * gdb.dwarf2/nostaticblock.exp: Likewise.
23070
0e5c4555
AA
230712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23072
23073 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23074 directory to absolute path name arguments.
23075
5ec18f2b
JG
230762014-03-10 Joel Brobecker <brobecker@adacore.com>
23077
23078 * gdb.ada/tagged_access: New testcase.
23079
847fc4f2
MM
230802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23081
23082 * gdb.btrace/data.exp: Update expected output.
23083
cc3da688
YQ
230842014-03-06 Yao Qi <yao@codesourcery.com>
23085
23086 * gdb.trace/pr16508.exp: New file.
23087
0f26cec1
PA
230882014-03-05 Pedro Alves <palves@redhat.com>
23089
23090 PR gdb/16575
23091 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23092 procedure.
23093 (top level): Adjust to use it. Add tests that exercise breakpoint
23094 interaction with the code-cache.
23095
7a5a839f
LC
230962014-02-26 Ludovic Courtès <ludo@gnu.org>
23097
23098 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23099 test for 'history-append!'.
23100
31aa7e4e
JB
231012014-02-26 Joel Brobecker <brobecker@adacore.com>
23102
23103 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23104 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23105 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23106 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23107 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23108 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23109
1b588015
JB
231102014-02-26 Joel Brobecker <brobecker@adacore.com>
23111
23112 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23113 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23114 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23115
55426c9d
JB
231162014-02-26 Joel Brobecker <brobecker@adacore.com>
23117
23118 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23119
dc53a7ad
JB
231202014-02-26 Joel Brobecker <brobecker@adacore.com>
23121
23122 * gdb.dwarf2/arr-stride.c: New file.
23123 * gdb.dwarf2/arr-stride.exp: New file.
23124
12ab52e9
PA
231252014-02-26 Pedro Alves <palves@redhat.com>
23126
23127 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23128 that won't ever trigger. Make sure that GDB reports the correct
23129 breakpoint that caused the stop.
23130
849c862e
JK
231312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23132
23133 PR gdb/16626
23134 * gdb.base/auto-load-script: New file.
23135 * gdb.base/auto-load.c: New file.
23136 * gdb.base/auto-load.exp: New file.
23137
71b7d793
JK
23138 PR gdb/16626
23139 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23140
e2f0d509
JK
231412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23142
23143 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23144 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23145
50cc37c8
DE
231462014-02-24 Doug Evans <dje@google.com>
23147
23148 * lib/gdb.exp (run_on_host): Log error output if program fails.
23149
ea4758f2
PA
231502014-02-21 Pedro Alves <palves@redhat.com>
23151
23152 * gdb.threads/step-after-sr-lock.c: Rename to ...
23153 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23154 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23156 ... this.
23157
d7b30f67
SDJ
231582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23159
23160 PR tdep/16397
23161 * gdb.arch/amd64-stap-special-operands.exp: New file.
23162 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23163 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23164 * gdb.arch/amd64-stap-triplet.S: Likewise.
23165 * gdb.arch/amd64-stap-triplet.c: Likewise.
23166
83deb43f
JB
231672014-02-20 Joel Brobecker <brobecker@adacore.com>
23168
23169 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23170 in .section pseudo-op.
23171
adde2bff
DE
231722014-02-20 lin zuojian <manjian2006@gmail.com>
23173 Joel Brobecker <brobecker@adacore.com>
23174 Doug Evans <xdje42@gmail.com>
23175
23176 PR symtab/16581
23177 * gdb.dwarf2/dw2-icycle.S: New file.
23178 * gdb.dwarf2/dw2-icycle.c: New file.
23179 * gdb.dwarf2/dw2-icycle.exp: New file.
23180
f7bd0f78
SC
231812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23182
23183 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23184 operations on gdb.Value objects.
23185 * gdb.python/py-value-cc.exp: Add new test to test operations on
23186 gdb.Value objects.
23187
c17ef0d5
DE
231882014-02-18 Doug Evans <dje@google.com>
23189
23190 * Makefile.in (TESTS): New variable.
23191 (expanded_tests, expanded_tests_or_none): New variables
23192 (check-single): Pass $(expanded_tests_or_none) to runtest.
23193 (check-parallel): Only run tests in $(TESTS) if non-empty.
23194 (check/no-matching-tests-found): New rule.
23195 * README: Document TESTS makefile variable.
23196
5dd3176f
DE
231972014-02-18 Doug Evans <dje@google.com>
23198
23199 * Makefile.in (check-parallel): rm -rf outputs temp.
23200
0b10be4f
JK
232012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23202
23203 Fix "ERROR: no fileid for" in the testsuite.
23204 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23205
85f224e7
DE
232062014-02-12 Doug Evans <dje@google.com>
23207
23208 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23209 (MISCELLANEOUS): New variable.
23210 (clean): rm -rf $(MISCELLANEOUS).
23211 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23212 dwp live in the same directory as symlinks, with each symlink pointed
23213 to a differently named file in a different directory.
23214
149b30ff
DE
232152014-02-11 Doug Evans <dje@google.com>
23216
23217 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23218 of Tcl file commands.
23219
1dfdac32
MK
232202014-02-10 Mark Kettenis <kettenis@gnu.org>
23221
23222 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23223 "kill -SIGUSR1 -1".
23224
aa4fb036
JB
232252014-02-10 Joel Brobecker <brobecker@adacore.com>
23226
23227 * gdb.ada/tick_length_array_enum_idx: New testcase.
23228
ed3ef339
DE
232292014-02-10 Doug Evans <xdje42@gmail.com>
23230
23231 * configure.ac (AC_OUTPUT): Add gdb.guile.
23232 * configure: Regenerate.
23233 * lib/gdb-guile.exp: New file.
23234 * lib/gdb.exp (get_target_charset): New function.
23235 * gdb.base/help.exp: Update expected output from "apropos apropos".
23236 * gdb.guile/Makefile.in: New file.
23237 * gdb.guile/guile.exp: New file.
23238 * gdb.guile/scm-arch.c: New file.
23239 * gdb.guile/scm-arch.exp: New file.
23240 * gdb.guile/scm-block.c: New file.
23241 * gdb.guile/scm-block.exp: New file.
23242 * gdb.guile/scm-breakpoint.c: New file.
23243 * gdb.guile/scm-breakpoint.exp: New file.
23244 * gdb.guile/scm-disasm.c: New file.
23245 * gdb.guile/scm-disasm.exp: New file.
23246 * gdb.guile/scm-equal.c: New file.
23247 * gdb.guile/scm-equal.exp: New file.
23248 * gdb.guile/scm-error.exp: New file.
23249 * gdb.guile/scm-error.scm: New file.
23250 * gdb.guile/scm-frame-args.c: New file.
23251 * gdb.guile/scm-frame-args.exp: New file.
23252 * gdb.guile/scm-frame-args.scm: New file.
23253 * gdb.guile/scm-frame-inline.c: New file.
23254 * gdb.guile/scm-frame-inline.exp: New file.
23255 * gdb.guile/scm-frame.c: New file.
23256 * gdb.guile/scm-frame.exp: New file.
23257 * gdb.guile/scm-generics.exp: New file.
23258 * gdb.guile/scm-gsmob.exp: New file.
23259 * gdb.guile/scm-iterator.c: New file.
23260 * gdb.guile/scm-iterator.exp: New file.
23261 * gdb.guile/scm-math.c: New file.
23262 * gdb.guile/scm-math.exp: New file.
23263 * gdb.guile/scm-objfile-script-gdb.in: New file.
23264 * gdb.guile/scm-objfile-script.c: New file.
23265 * gdb.guile/scm-objfile-script.exp: New file.
23266 * gdb.guile/scm-objfile.c: New file.
23267 * gdb.guile/scm-objfile.exp: New file.
23268 * gdb.guile/scm-ports.exp: New file.
23269 * gdb.guile/scm-pretty-print.c: New file.
23270 * gdb.guile/scm-pretty-print.exp: New file.
23271 * gdb.guile/scm-pretty-print.scm: New file.
23272 * gdb.guile/scm-section-script.c: New file.
23273 * gdb.guile/scm-section-script.exp: New file.
23274 * gdb.guile/scm-section-script.scm: New file.
23275 * gdb.guile/scm-symbol.c: New file.
23276 * gdb.guile/scm-symbol.exp: New file.
23277 * gdb.guile/scm-symtab-2.c: New file.
23278 * gdb.guile/scm-symtab.c: New file.
23279 * gdb.guile/scm-symtab.exp: New file.
23280 * gdb.guile/scm-type.c: New file.
23281 * gdb.guile/scm-type.exp: New file.
23282 * gdb.guile/scm-value-cc.cc: New file.
23283 * gdb.guile/scm-value-cc.exp: New file.
23284 * gdb.guile/scm-value.c: New file.
23285 * gdb.guile/scm-value.exp: New file.
23286 * gdb.guile/source2.scm: New file.
23287 * gdb.guile/types-module.cc: New file.
23288 * gdb.guile/types-module.exp: New file.
23289
7026a7c1
YQ
232902014-02-10 Yao Qi <yao@codesourcery.com>
23291
23292 PR testsuite/16543
23293 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23294 * configure: Regenerated.
23295 * Makefile.in: New file.
23296
6c466447
AS
232972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23298
23299 * gdb.python/py-framefilter.exp: Fix typo.
23300
6e854735
YQ
233012014-02-08 Yao Qi <yao@codesourcery.com>
23302
23303 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23304 that no =breakpoint-modified is emitted when breakpoints are
23305 modified through MI commands.
23306
d137e6dc
PA
233072014-02-07 Pedro Alves <pedro@codesourcery.com>
23308 Pedro Alves <palves@redhat.com>
23309
23310 * gdb.threads/step-after-sr-lock.c: New file.
23311 * gdb.threads/step-after-sr-lock.exp: New file.
23312
b5ee5a50
PA
233132014-02-07 Pedro Alves <palves@redhat.com>
23314
23315 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23316
3c77faf3
JK
233172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23318
23319 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23320 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23321
6dddc817
DE
233222014-02-06 Doug Evans <xdje42@gmail.com>
23323
23324 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23325 output.
23326
23327 * gdb.gdb/python-interrupts.exp: New file.
23328
de7b2893
YQ
233292014-02-05 Yao Qi <yao@codesourcery.com>
23330
23331 * gdb.trace/report.exp (use_collected_data): Test the output
23332 of "info threads" and "info inferiors".
23333
66d032ac
YQ
233342014-02-05 Yao Qi <yao@codesourcery.com>
23335
23336 Revert this patch:
23337
23338 2013-05-24 Yao Qi <yao@codesourcery.com>
23339
23340 * gdb.trace/tfile.exp: Test inferior and thread.
23341
591a12a1
UW
233422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23343
23344 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23345 on a function.
23346 * gdb.base/step-bt.c: Call hello via function pointer to make
23347 sure its first instruction is executed on powerpc64le-linux.
23348
0ff3e01f
UW
233492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23350
23351 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23352
084ee545
UW
233532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23354
23355 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23356 of the test patterns for use on little-endian systems.
23357
6ed14ff3
UW
233582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23359
23360 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23361 (decimal_vector): Fix for little-endian.
23362
401e27fd
JM
233632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23364
23365 * gdb.arch/sparc-sysstep.exp: New file.
23366 * gdb.arch/sparc-sysstep.c: Likewise.
23367
23368 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23369
8b924729
EBM
233702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23371
23372 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23373
fb151210
JB
233742014-01-23 Tom Tromey <tromey@redhat.com>
23375
23376 * gdb.ada/array_char_idx: New testcase.
23377
0740f8d8
TT
233782014-01-23 Tom Tromey <tromey@redhat.com>
23379
23380 PR python/16487:
23381 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23382 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23383 classes.
23384
21909fa1
TT
233852014-01-23 Tom Tromey <tromey@redhat.com>
23386
23387 PR python/16491:
23388 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23389 string from an inferior frame.
23390 * gdb.python/py-framefilter-mi.exp: Update.
23391
87ce2a04
DE
233922014-01-22 Doug Evans <dje@google.com>
23393
23394 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23395
237b092b
AA
233962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23397
23398 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23399
d674a709
AA
234002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23401
23402 * gdb.trace/entry-values.exp: Remove excess space character from
23403 regex patterns. Handle s390 call instruction.
23404
20fa3390
AA
234052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23406
23407 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23408 define "*_start" label. Make "name" static.
23409 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23410 ${name} by references to ${name}_start.
23411
78466714
AA
234122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23413
23414 * gdb.base/info-macros.exp: Remove "debug" from the compile
23415 options.
23416
ec9f644a
IB
234172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23418
23419 * gdb.dlang/demangle.exp: New file.
23420
94b1b47e
IB
234212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23422
23423 * gdb.dlang/primitive-types.exp: New file.
23424
7f420862
IB
234252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23426
23427 * configure.ac: Create gdb.dlang/Makefile.
23428 * configure: Regenerate.
23429 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23430 * gdb.dlang/Makefile.in: New file.
23431 * lib/d-support.exp: New file.
23432 * lib/gdb.exp (skip_d_tests): New proc.
23433
52834460
MM
234342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23435
23436 * gdb.btrace/delta.exp: Check reverse stepi.
23437 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23438 * gdb.btrace/finish.exp: New.
23439 * gdb.btrace/next.exp: New.
23440 * gdb.btrace/nexti.exp: New.
23441 * gdb.btrace/record_goto.c: Add comments.
23442 * gdb.btrace/step.exp: New.
23443 * gdb.btrace/stepi.exp: New.
23444 * gdb.btrace/multi-thread-step.c: New.
23445 * gdb.btrace/multi-thread-step.exp: New.
23446 * gdb.btrace/rn-dl-bind.c: New.
23447 * gdb.btrace/rn-dl-bind.exp: New.
23448 * gdb.btrace/data.c: New.
23449 * gdb.btrace/data.exp: New.
23450 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23451
6e07b1d2
MM
234522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23453
23454 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23455 * gdb.btrace/exception.exp: Update.
23456 * gdb.btrace/instruction_history.exp: Update.
23457 * gdb.btrace/record_goto.exp: Update.
23458 * gdb.btrace/tailcall.exp: Update.
23459 * gdb.btrace/unknown_functions.exp: Update.
23460 * gdb.btrace/delta.exp: New.
23461
0b722aec
MM
234622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23463
23464 * gdb.btrace/record_goto.exp: Add backtrace test.
23465 * gdb.btrace/tailcall.exp: Add backtrace test.
23466
066ce621
MM
234672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23468
23469 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23470 * gdb.btrace/record_goto.c: New.
23471 * gdb.btrace/record_goto.exp: New.
23472 * gdb.btrace/x86-record_goto.S: New.
23473
0688d04e
MM
234742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23475
23476 * gdb.btrace/function_call_history.exp: Update tests.
23477 * gdb.btrace/instruction_history.exp: Update tests.
23478
8710b709
MM
234792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23480
23481 * gdb.btrace/function_call_history.exp: Fix expected field
23482 order for "record function-call-history".
23483 Add new tests for "record function-call-history /c".
23484 * gdb.btrace/exception.cc: New.
23485 * gdb.btrace/exception.exp: New.
23486 * gdb.btrace/tailcall.exp: New.
23487 * gdb.btrace/x86-tailcall.S: New.
23488 * gdb.btrace/x86-tailcall.c: New.
23489 * gdb.btrace/unknown_functions.c: New.
23490 * gdb.btrace/unknown_functions.exp: New.
23491 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23492
5de9129b
MM
234932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23494
23495 * gdb.btrace/instruction_history.exp: Update.
23496 * gdb.btrace/function_call_history.exp: Update.
23497
23a7fe75
MM
234982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23499
23500 * gdb.btrace/function_call_history.exp: Fix expected function
23501 trace.
23502 * gdb.btrace/instruction_history.exp: Initialize traced.
23503 Remove traced_functions.
23504
724c7dd8
MM
235052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23506
23507 * gdb.btrace/function_call_history.exp: Update
23508 * gdb.btrace/instruction_history.exp: Update.
23509
6d78d93b
MM
235102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23511
23512 * gdb.btrace/enable.exp: Update expected text.
23513
93a360cc
OJ
235142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23515
23516 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23517 bytes.
23518
3772b53f
MR
235192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23520
23521 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23522
596662fa
OJ
235232014-01-15 Omair Javaid <omair.javaid@linaro.org>
23524
23525 * lib/gdb.exp (supports_process_record): Return true for
23526 arm*-linux*. (supports_reverse): Likewise.
23527
b5b08fb4
SC
235282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23529
23530 PR python/15464
23531 PR python/16113
23532 * gdb.python/py-type.c: Enhance test case.
23533 * gdb.python/py-value-cc.cc: Likewise
23534 * gdb.python/py-type.exp: Add new tests.
23535 * gdb.python/py-value-cc.exp: Likewise
23536
52d7fb13
AA
235372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23538 Pedro Alves <palves@redhat.com>
23539
23540 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23541 Make "name" extern.
23542 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23543 references to ${name}_start by references to ${name}.
23544
a2cd8cfe
JB
235452014-01-10 Joel Brobecker <brobecker@adacore.com>
23546
23547 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23548
4e23fced
JB
235492014-01-10 Joel Brobecker <brobecker@adacore.com>
23550
23551 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23552
c6a9e42c
PA
235532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23554 Pedro Alves <palves@redhat.com>
23555
23556 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23557 mi_gdb_target_load.
c6a9e42c 23558
b7ea362b
PA
235592014-01-08 Pedro Alves <palves@redhat.com>
23560
23561 * gdb.threads/reconnect-signal.c: New file.
23562 * gdb.threads/reconnect-signal.exp: New file.
23563
5e3f4fab
EBM
235642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23565
23566 * gdb.base/source-dir.exp: New file.
23567
79301218
JB
235682014-01-07 Joel Brobecker <brobecker@adacore.com>
23569
23570 * gdb.ada/mi_interface: New testcase.
23571
8e355c5d
JB
235722014-01-07 Joel Brobecker <brobecker@adacore.com>
23573
23574 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23575 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23576 gdb.ada/pp-rec-component/pck.ads: New files.
23577
c0d48811
JB
235782014-01-07 Joel Brobecker <brobecker@adacore.com>
23579
23580 * gdb.python/py-pp-integral.c: New file.
23581 * gdb.python/py-pp-integral.py: New file.
23582 * gdb.python/py-pp-integral.exp: New file.
23583
17b609c3 23584For older changes see ChangeLog-1993-2013.
c906108c 23585\f
8d8cb839
EZ
23586;; Local Variables:
23587;; mode: change-log
23588;; left-margin: 8
23589;; fill-column: 74
23590;; version-control: never
23591;; End:
902f2ccb 23592
3666a048 23593 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23594 Copying and distribution of this file, with or without modification,
23595 are permitted provided the copyright notice and this notice are preserved.
This page took 5.420817 seconds and 4 git commands to generate.