[gdb/symtab] Fix duplicate CUs in create_cus_from_debug_names_list
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2021-02-05 Tom de Vries <tdevries@suse.de>
2
3 PR symtab/27307
4 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
5
6 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
7
8 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
9
10 2021-02-03 Pedro Alves <pedro@palves.net>
11
12 * gdb.threads/detach-step-over.c: New file.
13 * gdb.threads/detach-step-over.exp: New file.
14
15 2021-02-03 Pedro Alves <pedro@palves.net>
16
17 * gdb.threads/attach-non-stop.c: New file.
18 * gdb.threads/attach-non-stop.exp: New file.
19
20 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
21
22 * gdb.base/inferior-noarg.c: New test.
23 * gdb.base/inferior-noarg.exp: New test.
24
25 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
26
27 * gdb.base/scope.exp: Use proc_with_prefix.
28
29 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
30
31 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
32 table proc.
33 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
34 .debug_rnglists table without offset array.
35 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
36 .debug_loclists table without offset array.
37
38 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
39
40 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
41 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
42 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
43 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
44 attribute
45
46 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
47
48 PR gdb/26813
49 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
50 (loclists): New proc.
51 * gdb.dwarf2/loclists-multiple-cus.c: New.
52 * gdb.dwarf2/loclists-multiple-cus.exp: New.
53 * gdb.dwarf2/loclists-sec-offset.c: New.
54 * gdb.dwarf2/loclists-sec-offset.exp: New.
55
56 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
57
58 * lib/dwarf.exp (_location): Add parameters.
59 (_handle_DW_FORM): Adjust.
60
61 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
62
63 PR gdb/26813
64 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
65 (cu): Generate header for DWARF 5.
66 (rnglists): New proc.
67 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
68 * gdb.dwarf2/rnglists-sec-offset.exp: New.
69
70 2021-02-02 Tom de Vries <tdevries@suse.de>
71
72 PR symtab/24620
73 * gdb.dwarf2/fission-reread.exp: Add test-case.
74
75 2021-02-01 Tom de Vries <tdevries@suse.de>
76
77 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
78 * gdb.dwarf2/fission-loclists-pie.S: Same.
79 * gdb.dwarf2/fission-loclists.S: Same.
80 * gdb.dwarf2/fission-multi-cu.S: Same.
81 * gdb.dwarf2/fission-reread.S: Same.
82 * gdb.dwarf2/fission-base.exp: Use DWO.
83 * gdb.dwarf2/fission-loclists-pie.exp: Same.
84 * gdb.dwarf2/fission-loclists.exp: Same.
85 * gdb.dwarf2/fission-multi-cu.exp: Same.
86 * gdb.dwarf2/fission-reread.exp: Same.
87
88 2021-01-29 Tom de Vries <tdevries@suse.de>
89
90 PR breakpoints/26063
91 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
92 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
93
94 2021-01-29 Tom de Vries <tdevries@suse.de>
95
96 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
97
98 2021-01-28 Tom de Vries <tdevries@suse.de>
99
100 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
101 in the backtrace, and use that in the rest of the test instead of
102 hardcoded constant 3. Use "frame" instead of "up" for robustness.
103
104 2021-01-28 Tom de Vries <tdevries@suse.de>
105
106 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
107 * gdb.arch/i386-sse-stack-align.c: Same.
108 * gdb.arch/i386-sse-stack-align.exp: Same.
109
110 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
113
114 2021-01-28 Tom de Vries <tdevries@suse.de>
115
116 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
117
118 2021-01-28 Tom de Vries <tdevries@suse.de>
119
120 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
121 "maint info line-table". Make PASS pattern more specific. Make
122 FAIL pattern work for -m32.
123
124 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
125
126 PR gdb/27133
127 * gdb.base/ui-redirect.exp: Add test case that ensures that
128 redirecting both logging and debug does not cause gdb to crash.
129
130
131 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
132
133 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
134
135 2021-01-26 Tom de Vries <tdevries@suse.de>
136
137 * gdb.threads/killed-outside.exp: Allow regular output.
138
139 2021-01-26 Tom de Vries <tdevries@suse.de>
140
141 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
142
143 2021-01-25 Tom de Vries <tdevries@suse.de>
144
145 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
146 * lib/gdb.exp: Use gdb_load_no_complaints.
147
148 2021-01-25 Tom Tromey <tromey@adacore.com>
149
150 * gdb.ada/fixed_points.exp: Add regression test.
151 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
152 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
153
154 2021-01-25 Tom Tromey <tromey@adacore.com>
155
156 * gdb.ada/local-enum.exp: Add enumerator resolution test.
157
158 2021-01-25 Tom Tromey <tromey@adacore.com>
159
160 * gdb.ada/local-enum.exp: New file.
161 * gdb.ada/local-enum/local.adb: New file.
162
163 2021-01-23 Tom Tromey <tom@tromey.com>
164
165 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
166
167 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
168
169 * gdb.base/line65535.exp: Fix test expectation.
170
171 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
172
173 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
174 suppression.
175 (default_gdb_exit): Likewise.
176 (default_gdb_spawn): Likewise.
177 (send_gdb): Likewise.
178 (gdb_expect): Likewise.
179 (gdb_expect_list): Likewise.
180 (default_gdb_init): Likewise.
181 (gdb_suppress_entire_file): Remove.
182 (gdb_suppress_tests): Remove.
183 (gdb_stop_suppressing_tests): Remove.
184 (gdb_clear_suppressed): Remove.
185 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
186 related to test suppression.
187 (default_mi_gdb_start): Likewise.
188 (mi_gdb_reinitialize_dir): Likewise.
189 (mi_gdb_test): Likewise.
190 (mi_run_cmd_full): Likewise.
191 (mi_runto_helper): Likewise.
192 (mi_execute_to): Likewise.
193 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
194 * gdb.base/bitfields.exp: Likewise.
195 * gdb.base/bitfields2.exp: Likewise.
196 * gdb.base/break.exp: Likewise.
197 * gdb.base/call-sc.exp: Likewise.
198 * gdb.base/callfuncs.exp: Likewise.
199 * gdb.base/dfp-test.exp: Likewise.
200 * gdb.base/endian.exp: Likewise.
201 * gdb.base/exprs.exp: Likewise.
202 * gdb.base/funcargs.exp: Likewise.
203 * gdb.base/hbreak2.exp: Likewise.
204 * gdb.base/recurse.exp: Likewise.
205 * gdb.base/scope.exp: Likewise.
206 * gdb.base/sepdebug.exp: Likewise.
207 * gdb.base/structs.exp: Likewise.
208 * gdb.base/until.exp: Likewise.
209 * gdb.cp/misc.exp: Likewise.
210
211 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 PR cli/25956
214 * gdb.base/style.exp (run_style_tests): Add version string test.
215 (test_startup_version_string): Use version style name.
216 * lib/gdb-utils.exp (style): Handle version style name.
217
218 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.base/style.exp (limited_style): New proc.
221 (clean_restart_and_disable): New proc.
222 (run_style_tests): New proc. Most of the old tests from this file
223 are now in this proc.
224 (test_startup_version_string): New proc. Reamining test from the
225 old file is in this proc.
226
227 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
228
229 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
230 Adjust to "set debug remote" changes.
231
232 2021-01-21 Luis Machado <luis.machado@linaro.org>
233
234 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
235 message.
236
237 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
238
239 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
240
241 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
242
243 PR python/19151
244 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
245
246 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
247
248 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
249
250 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
251
252 * lib/tuiterm.exp: Add links in comments.
253
254 2021-01-20 Tom de Vries <tdevries@suse.de>
255
256 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
257 offset.
258
259 2021-01-20 Tom de Vries <tdevries@suse.de>
260
261 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
262
263 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
264
265 * gdb.arch/amd64-stap-expressions.S: New file.
266 * gdb.arch/amd64-stap-expressions.exp: New file.
267
268 2021-01-19 Tom de Vries <tdevries@suse.de>
269
270 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
271 sequence.
272
273 2021-01-19 Tom de Vries <tdevries@suse.de>
274
275 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
276
277 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.fortran/array-slices.exp (run_test): Avoid including
280 addresses in test names.
281
282 2021-01-15 Tom de Vries <tdevries@suse.de>
283
284 PR testsuite/26997
285 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
286 when adding sizeof.
287
288 2021-01-14 Tom de Vries <tdevries@suse.de>
289
290 PR testsuite/24590
291 * gdb.base/style.exp: Handle shorter argv in frame command output.
292
293 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 PR gdb/26819
296 * gdb.server/stop-reply-no-thread-multi.c: New file.
297 * gdb.server/stop-reply-no-thread-multi.exp: New file.
298
299 2021-01-12 Tom de Vries <tdevries@suse.de>
300
301 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
302 (main): Remove call to have_mpx.
303 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
304 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
305 (main): Remote call to have_mpx.
306 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
307 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
308 (main): Remove call to have_mpx.
309 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
310 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
311 (main): Remove call to have_mpx.
312 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
313 * gdb.arch/i386-mpx.c (have_mpx): Remove.
314 (main): Remote call to have_mpx.
315 * gdb.arch/i386-mpx.exp: Use have_mpx.
316 * lib/gdb.exp (have_mpx): New proc.
317
318 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
319
320 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
321
322 2021-01-12 Tom de Vries <tdevries@suse.de>
323
324 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
325
326 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.fortran/debug-expr.exp: Add new tests.
329
330 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
331
332 * gdb.fortran/dot-ops.exp: Add new tests.
333
334 2021-01-11 Tom de Vries <tdevries@suse.de>
335
336 PR testsuite/26968
337 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
338 Move insn setting $eax to before probe point.
339
340 2021-01-09 Tom Tromey <tom@tromey.com>
341
342 * gdb.trace/ax.exp: Do not require an "ext".
343
344 2021-01-08 Tom Tromey <tromey@adacore.com>
345
346 * gdb.ada/voidctx/pck.adb: New file.
347 * gdb.ada/voidctx/pck.ads: New file.
348 * gdb.ada/voidctx/voidctx.adb: New file.
349 * gdb.ada/voidctx.exp: New file.
350
351 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
352
353 PR gdb/27157
354 * gdb.base/empty-host-env-vars.exp: New test.
355
356 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
357
358 * gdb.base/completion.exp: Add a new test.
359
360 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 * gdb.fortran/intvar-dynamic-types.exp: New file.
363 * gdb.fortran/intvar-dynamic-types.f90: New file.
364
365 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * gdb.fortran/intvar-array.exp: New file.
368 * gdb.fortran/intvar-array.f90: New file.
369
370 2021-01-07 Tom Tromey <tromey@adacore.com>
371
372 * gdb.ada/assign_arr.exp: Add 'others' test.
373
374 2021-01-06 Tom Tromey <tromey@adacore.com>
375
376 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
377 (FP4_Type): New type.
378 (FP4_Var): New variable.
379 * gdb.ada/fixed_points/fixed_points.adb: Update.
380 * gdb.ada/fixed_points.exp: Add tests for binary operators.
381
382 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
383
384 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
386 Pass prompt containing debug print to gdb_test_sequence.
387
388 2021-01-04 Tom de Vries <tdevries@suse.de>
389
390 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
391
392 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
393
394
395
396 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
397
398 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
399 * gdb.server/connect-without-multi-process.exp: Likewise.
400 * gdb.server/exit-multiple-threads.exp: Likewise.
401 * gdb.server/ext-attach.exp: Likewise.
402 * gdb.server/ext-restart.exp: Likewise.
403 * gdb.server/ext-run.exp: Likewise.
404 * gdb.server/ext-wrapper.exp: Likewise.
405 * gdb.server/multi-ui-errors.exp: Likewise.
406 * gdb.server/no-thread-db.exp: Likewise.
407 * gdb.server/reconnect-ctrl-c.exp: Likewise.
408 * gdb.server/run-without-local-binary.exp: Likewise.
409 * gdb.server/server-kill.exp: Likewise.
410 * gdb.server/server-run.exp: Likewise.
411 * gdb.server/solib-list.exp: Likewise.
412 * gdb.server/stop-reply-no-thread.exp: Likewise.
413 * gdb.server/wrapper.exp: Likewise.
414 * gdb.server/sysroot.exp: Increase timeout when testing the
415 target: sysroot.
416
417 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
418
419 * gdb.server/server-run.exp: Use clean_restart.
420
421 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
422
423 * gdb.server/ext-run.exp: Use clean_restart.
424
425 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
426
427 * gdb.server/stop-reply-no-thread.exp: Use build_executable
428 instead of prepare_for_testing.
429
430 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
431
432 * gdb.server/solib-list.exp: Use clean_restart.
433
434 2021-01-04 Tom de Vries <tdevries@suse.de>
435
436 * gdb.base/morestack.c: Remove printf.
437 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
438
439 2020-12-31 Tom Tromey <tom@tromey.com>
440
441 * gdb.rust/simple.exp: Update output for Rust 1.49.
442
443 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
444
445 * gdb.cp/step-and-next-inline.exp: Fix test case.
446
447 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
448
449 * gdb.python/py-frame-args.exp: De-duplicate test names.
450
451 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
452
453 PR gdb/27059
454 * gdb.dwarf2/dyn-type-unallocated.c: New file.
455 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
456
457 2020-12-21 Peter Waller <p@pwaller.net>
458
459 * gdb.base/style-interp-exec-mi.exp: New.
460 * gdb.base/style-interp-exec-mi.c: New.
461
462 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
463
464 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
465 gdb_test. Use proc_with_prefix.
466
467 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
468
469 * gdb.btrace/exception.exp: Build with nopie.
470 * gdb.btrace/function_call_history.exp: Likewise.
471 * gdb.btrace/unknown_functions.exp: Likewise.
472
473 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
474
475 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
476
477 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
478
479 * gdb.python/py-record-btrace.exp: Make test names unique.
480 * gdb.python/py-record-full.exp: Likewise.
481
482 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
483
484 * gdb.btrace/data.exp: Make test names unique.
485 * gdb.btrace/delta.exp: Likewise.
486 * gdb.btrace/enable.exp: Likewise.
487 * gdb.btrace/function_call_history.exp: Likewise.
488 * gdb.btrace/nohist.exp: Likewise.
489 * gdb.btrace/non-stop.exp: Likewise.
490 * gdb.btrace/rn-dl-bind.exp: Likewise.
491 * gdb.btrace/step.exp: Likewise.
492 * gdb.btrace/stepi.exp: Likewise.
493 * gdb.btrace/tailcall.exp: Likewise.
494
495 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
496
497 * gdb.btrace/enable.exp: Update error message.
498 * gdb.btrace/multi-inferior.exp: Likewise.
499 * gdb.btrace/reconnect.exp: Likewise.
500 * gdb.python/py-record-btrace.exp: Likewise.
501 * gdb.python/py-record-full.exp: Likewise.
502
503 2020-12-20 Tom de Vries <tdevries@suse.de>
504
505 * lib/gdb.exp (save_target_board_info): New proc.
506 (gdb_compile_shlib): Use save_target_board_info.
507
508 2020-12-19 Tom de Vries <tdevries@suse.de>
509
510 * lib/gdb.exp (supports_scalar_storage_order_attribute)
511 (supports_gnuc): New proc.
512 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
513 test_compiler_info calls. Add unsupported message.
514 * gdb.base/endianity.c: Use TEST_SSO.
515
516 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
517
518 PR exp/27070
519 * gdb.python/compare-enum-type-a.c: New test.
520 * gdb.python/compare-enum-type-b.c: New test.
521 * gdb.python/compare-enum-type.exp: New file.
522 * gdb.python/compare-enum-type.h: New test.
523
524 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
525
526 * gdb.python/py-format-string.exp: Add tests for address keyword.
527
528 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
529
530 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
531
532 2020-12-18 Tom Tromey <tromey@adacore.com>
533
534 * gdb.ada/fixed_points.exp: Also run with
535 -fgnat-encodings=minimal. Update expected output.
536
537 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
538
539 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
540 * gdb.base/continue-all-already-running.exp: Likewise.
541 * gdb.base/moribund-step.exp: Likewise.
542 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
543
544 2020-12-16 Tom de Vries <tdevries@suse.de>
545
546 * gdb.base/batch-preserve-term-settings.exp:
547
548 2020-12-16 Tom de Vries <tdevries@suse.de>
549
550 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
551 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
552
553 2020-12-16 Luis Machado <luis.machado@linaro.org>
554
555 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
556 pointer-based memory accesses.
557 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
558 hw watchpoint cases.
559
560 2020-12-15 Rae Kim <rae.kim@gmail.com>
561
562 * gdb.base/document.exp: New test.
563
564 2020-12-15 Tom Tromey <tromey@adacore.com>
565
566 * gdb.base/style.exp: Add deprecation tests.
567
568 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
569
570 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
571
572 2020-12-14 Mark Wielaard <mark@klomp.org>
573
574 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
575 specially, set attr_form_comment to the actual FORM string used.
576
577 2020-12-14 Mark Wielaard <mark@klomp.org>
578
579 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
580 _constants(SPECIAL_expr) here, but set it...
581 (Dwarf::cu): ...here based on _cu_version.
582
583 2020-12-14 Tom de Vries <tdevries@suse.de>
584
585 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
586 pass -fPIC.
587 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
588 * gdb.base/break-probes.exp: Same.
589 * gdb.base/ctxobj.exp: Same.
590 * gdb.base/dso2dso.exp: Same.
591 * gdb.base/global-var-nested-by-dso.exp: Same.
592 * gdb.base/info-shared.exp: Same.
593 * gdb.base/jit-reader-simple.exp: Same.
594 * gdb.base/print-file-var.exp: Same.
595 * gdb.base/skip-solib.exp: Same.
596 * gdb.btrace/dlopen.exp: Same.
597
598 2020-12-14 Tom de Vries <tdevries@suse.de>
599
600 PR testsuite/26963
601 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
602
603 2020-12-14 Tom de Vries <tdevries@suse.de>
604
605 PR testsuite/26962
606 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
607 cast it to its declared type".
608
609 2020-12-14 Tom de Vries <tdevries@suse.de>
610
611 PR testsuite/26951
612 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
613 shell prompt.
614
615 2020-12-14 Tom Tromey <tromey@adacore.com>
616
617 * gdb.ada/nested.exp: Add new tests.
618 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
619
620 2020-12-14 Tom Tromey <tromey@adacore.com>
621
622 * gdb.dwarf2/ada-thick-pointer.exp: New file.
623
624 2020-12-14 Tom Tromey <tromey@adacore.com>
625
626 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
627
628 2020-12-13 Tom de Vries <tdevries@suse.de>
629
630 PR testsuite/26953
631 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
632 attribute support if compiler doesn't support it.
633
634 2020-12-13 Tom de Vries <tdevries@suse.de>
635
636 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
637 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
638 source to shared lib. Add ada to options.
639
640 2020-12-13 Tom de Vries <tdevries@suse.de>
641
642 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
643 calling gnatbind and gnatlink.
644
645 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.base/dcache-flush.c: New file.
648 * gdb.base/dcache-flush.exp: New file.
649
650 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
651
652 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
653 commands.
654 * gdb.base/killed-outside.exp: Likewise.
655 * gdb.opt/inline-bt.exp: Likewise.
656 * gdb.perf/gmonster-null-lookup.py: Likewise.
657 * gdb.perf/gmonster-print-cerr.py: Likewise.
658 * gdb.perf/gmonster-ptype-string.py: Likewise.
659 * gdb.python/py-unwind.exp: Likewise.
660
661 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * gdb.base/commands.exp: Update expected results.
664
665 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 PR cli/15104
668 * gdb.base/commands.exp: Add additional tests.
669 * gdb.base/completion.exp: Add additional tests.
670
671 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
672
673 * gdb.base/completion.exp: Add additional tests.
674
675 2020-12-11 Tom de Vries <tdevries@suse.de>
676
677 PR testsuite/26991
678 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
679 violations by setting bounds registers if the bounds are passed in the
680 Bounds Table.
681
682 2020-12-11 Tom de Vries <tdevries@suse.de>
683
684 PR testsuite/26954
685 * gdb.base/float128.exp: Detect and handle no mpfr support.
686
687 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
688
689 PR gdb/24694
690 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
691 calls.
692
693 2020-12-10 Tom de Vries <tdevries@suse.de>
694
695 PR testsuite/26947
696 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
697 braces for tcl 8.5 and earlier.
698
699 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
700
701 PR 26875, PR 26901
702 * gdb.base/flexible-array-member.c: New test.
703 * gdb.base/flexible-array-member.exp: New test.
704
705 2020-12-08 Tom de Vries <tdevries@suse.de>
706
707 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
708 using is_amd64_regs_target.
709
710 2020-12-08 Tom de Vries <tdevries@suse.de>
711
712 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
713 self_id.
714
715 2020-12-07 Pedro Alves <pedro@palves.net>
716
717 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
718 'additional_flags' variable.
719
720 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
721
722 * gdb.linespec/explicit.exp: Extend with a test to check completing
723 '-' after seemingly complete options.
724
725 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
726
727 * gdb.linespec/keywords.exp: Add tests to check positional
728 flexibility of "-force-condition".
729
730 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
731
732 * gdb.base/bp-cmds-run-with-ex.c: New file.
733 * gdb.base/bp-cmds-run-with-ex.exp: New file.
734 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
735 * gdb.gdb/python-interrupts.exp: Update the call to
736 'catch_command_errors' with the new argument.
737 * gdb.gdb/python-selftest.exp: Ditto.
738
739 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
740
741 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
742 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
743 * gdb.threads/non-stop-fair-events.exp: Likewise.
744
745 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
746
747 * gdb.threads/step-over-exec.exp: New.
748 * gdb.threads/step-over-exec.c: New.
749 * gdb.threads/step-over-exec-execd.c: New.
750 * lib/my-syscalls.S: New.
751 * lib/my-syscalls.h: New.
752
753 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
754
755 * lib/dwarf.exp (declare_labels): Use name as text if text is
756 not provided.
757
758 2020-12-04 Tom de Vries <tdevries@suse.de>
759
760 PR testsuite/26990
761 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
762 are unsupported.
763
764 2020-12-04 Tom de Vries <tdevries@suse.de>
765
766 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
767 clause.
768
769 2020-12-04 Tom de Vries <tdevries@suse.de>
770
771 * gdb.reverse/insn-reverse.exp: Fix count handling.
772
773 2020-12-04 Tom de Vries <tdevries@suse.de>
774
775 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
776 __x86_64__.
777
778 2020-12-04 Tom de Vries <tdevries@suse.de>
779
780 * gdb.reverse/insn-reverse.c (test_nr): New var.
781 (usage, parse_args): New function.
782 (main): Call parse_args. Only run test for test_nr.
783 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
784 and bail out. Run subtests individually, using an inferior arg
785 specifying the subtest.
786
787 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
790
791 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
792
793 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
794 update test to use this.
795
796 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
797
798 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
799
800 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
801
802 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
803 (do_test): Don't use with_test_prefix.
804 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
805 (do_test): Don't use with_test_prefix.
806 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
807 (do_test): Don't use with_test_prefix.
808 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
809 (do_test): Don't use with_test_prefix.
810
811 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
812
813 * gdb.threads/non-ldr-exit.exp: Fix comment.
814
815 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.xml/maint-xml-dump-03.xml: New file.
818
819 2020-11-30 Tom de Vries <tdevries@suse.de>
820
821 PR symtab/26905
822 * gdb.dwarf2/count.exp: Remove kfails.
823
824 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
825
826 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
827 indices.
828
829 2020-11-24 Joel Brobecker <brobecker@adacore.com>
830
831 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
832 the "ptype pck__fp1_range_var" test for the module-2 and pascal
833 languages. Remove the associated setup_xfail.
834
835 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
836
837 * lib/gdb.exp (gdb_assert): Show error message on error.
838
839 2020-11-23 Tom de Vries <tdevries@suse.de>
840
841 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
842 * gdb.ada/mod_from_name.exp: Same.
843 * gdb.ada/pckd_arr_ren.exp: Same.
844
845 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
846
847 * gdb.base/template.exp: New.
848 * gdb.base/template.c: New.
849
850 2020-11-22 Gary Benson <gbenson@redhat.com>
851
852 PR gdb/26905
853 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
854 is defined using a DW_AT_count which references another DIE.
855
856 2020-11-21 Tom de Vries <tdevries@suse.de>
857
858 * gdb.base/vla-ptr.exp: Add XFAIL.
859
860 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
861
862 * gdb.fortran/array-slices-bad.exp: New file.
863 * gdb.fortran/array-slices-bad.f90: New file.
864 * gdb.fortran/array-slices-sub-slices.exp: New file.
865 * gdb.fortran/array-slices-sub-slices.f90: New file.
866 * gdb.fortran/array-slices.exp: Rewrite tests.
867 * gdb.fortran/array-slices.f90: Rewrite tests.
868 * gdb.fortran/vla-sizeof.exp: Correct expected results.
869
870 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * gdb.base/completion.exp: Add new completion tests.
873
874 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
875
876 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
877 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
878 * gdb.mi/mi-nsintrall.exp: Likewise.
879 * gdb.mi/mi-nsmoribund.exp: Likewise.
880 * gdb.mi/mi-nsthrexec.exp: Likewise.
881 * gdb.mi/mi-watch-nonstop.exp: Likewise.
882
883 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
884
885 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
886 of perror.
887
888 2020-11-18 Joseph Myers <joseph@codesourcery.com>
889
890 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
891 $arg.exe exists but $arg does not.
892
893 2020-11-17 Gary Benson <gbenson@redhat.com>
894
895 * gdb.trace/trace-common.h (x86_trace_dummy): Add
896 __attribute__ ((used)).
897
898 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
899
900 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
901
902 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
903
904 * gdb.base/completion.exp: Add new tests.
905
906 2020-11-16 Tom Tromey <tromey@adacore.com>
907
908 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
909 tests.
910
911 2020-11-15 Joel Brobecker <brobecker@adacore.com>
912
913 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
914 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
915 (main): Add reference to pck__fp1_var2.
916 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
917
918 2020-11-15 Joel Brobecker <brobecker@adacore.com>
919
920 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
921
922 2020-11-15 Joel Brobecker <brobecker@adacore.com>
923
924 * gdb.ada/fixed_points.exp: Add ptype tests.
925 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
926
927 2020-11-15 Joel Brobecker <brobecker@adacore.com>
928
929 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
930
931 2020-11-15 Joel Brobecker <brobecker@adacore.com>
932
933 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
934 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
935 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
936 New files.
937 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
938
939 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
940 New files.
941
942 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
943
944 PR cli/26879
945 * gdb.fortran/completion.exp: New file.
946 * gdb.fortran/completion.f90: New file.
947
948 2020-11-12 Joseph Myers <joseph@codesourcery.com>
949
950 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
951 but $arg does not.
952
953 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.fortran/types.exp: Add more tests.
956
957 2020-11-12 Tom Tromey <tom@tromey.com>
958
959 PR rust/26799:
960 * gdb.rust/traits.exp: Remove kfails.
961
962 2020-11-12 Gary Benson <gbenson@redhat.com>
963
964 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
965 statement.
966
967 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
968
969 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
970 always-inserted" axis.
971 (do_test): Add breakpoint_always_inserted parameter.
972
973 2020-11-10 Tom Tromey <tromey@adacore.com>
974
975 * gdb.ada/bias.exp: Update.
976 * gdb.ada/bias/bias.adb (X): Change value.
977
978 2020-11-10 Gary Benson <gbenson@redhat.com>
979
980 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
981 regexp fragment in parentheses to prevent false matching.
982
983 2020-11-10 Gary Benson <gbenson@redhat.com>
984
985 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
986
987 2020-11-10 Gary Benson <gbenson@redhat.com>
988
989 * gdb.cp/step-and-next-inline.exp: Only require
990 -gstatement-frontiers when building with GCC.
991 Only setup KFAIL's for GCC issues when using
992 a GCC-built executable.
993
994 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
995
996 * gdb.base/debug-expr.c: Add extra function to allow for an
997 additional test.
998 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
999 to this proc with gdb_test_debug_expr. Add an extra test.
1000 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1001 to this proc with gdb_test_debug_expr, give the tests names
1002 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1003 calls to this proc with gdb_test_debug_expr, give the tests names
1004 * gdb.fortran/debug-expr.exp: New file.
1005 * gdb.fortran/debug-expr.f90: New file.
1006 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1007
1008 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
1009
1010 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1011 proceduresu.
1012 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1013 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1014 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1015 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1016 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1017 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1018 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1019 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1020
1021 2020-11-04 Tom Tromey <tromey@adacore.com>
1022
1023 * gdb.ada/funcall_ref.exp: Update.
1024 * gdb.ada/var_rec_arr.exp: Update.
1025
1026 2020-11-04 Tom Tromey <tromey@adacore.com>
1027
1028 * gdb.ada/rec_ptype.exp: New file.
1029 * gdb.ada/rec_ptype/main.adb: New file.
1030 * gdb.ada/rec_ptype/p.ads: New file.
1031
1032 2020-11-04 Tom Tromey <tromey@adacore.com>
1033
1034 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1035 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1036 (PT_Full): New variable.
1037 * gdb.ada/tick_length_array_enum_idx/pck.adb
1038 (Full_PT): New type.
1039
1040 2020-11-04 Tom Tromey <tromey@adacore.com>
1041
1042 * gdb.ada/array_of_variant.exp: New file.
1043 * gdb.ada/array_of_variant/p.adb: New file.
1044 * gdb.ada/array_of_variant/pck.ads: New file.
1045 * gdb.ada/array_of_variant/pck.adb: New file.
1046
1047 2020-11-04 Tom Tromey <tromey@adacore.com>
1048
1049 * gdb.ada/enum_idx_packed.exp: Add test.
1050 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1051 New variable.
1052 * gdb.ada/enum_idx_packed/pck.ads (Short)
1053 (Multi_Dimension, Multi_Dimension_Access): New types.
1054
1055 2020-11-04 Tom Tromey <tromey@adacore.com>
1056
1057 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1058
1059 2020-11-04 Tom Tromey <tromey@adacore.com>
1060
1061 * gdb.ada/set_pckd_arr_elt.exp: Also test
1062 -fgnat-encodings=minimal. Add tests.
1063 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1064 Call Update_Small a second time.
1065 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1066 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1067 (Variant_Access): New types.
1068 (New_Variant): Declare.
1069
1070 2020-11-04 Tom Tromey <tromey@adacore.com>
1071
1072 * gdb.ada/mod_from_name.exp: Test printing slice.
1073
1074 2020-11-04 Tom Tromey <tromey@adacore.com>
1075
1076 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1077 values.
1078 * gdb.ada/access_to_unbounded_array.exp: Test different
1079 -fgnat-encodings values.
1080 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1081 values.
1082 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1083 values.
1084 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1085 values.
1086 * gdb.ada/array_of_variable_length.exp: Test different
1087 -fgnat-encodings values.
1088 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1089 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1090 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1091 change.
1092 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1093 values.
1094 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1095 * gdb.ada/out_of_line_in_inlined.exp: Test different
1096 -fgnat-encodings values.
1097 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1098 values.
1099 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1100 values.
1101 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1102 -fgnat-encodings values.
1103 * gdb.ada/variant_record_packed_array.exp: Test different
1104 -fgnat-encodings values.
1105
1106 2020-11-04 Tom Tromey <tromey@adacore.com>
1107
1108 * gdb.ada/enum_idx_packed.exp: Add tests.
1109 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1110 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1111 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1112 declarations.
1113
1114 2020-11-03 Tom de Vries <tdevries@suse.de>
1115
1116 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1117 terminator comments.
1118 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1119 terminator.
1120
1121 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1122
1123 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1124 integer format test with regexp.
1125
1126 2020-11-02 Gary Benson <gbenson@redhat.com>
1127
1128 * gdb.base/print-file-var.exp (test): Separate compiler and
1129 linker options, and build using build_executable_from_specs
1130 to accommodate this.
1131
1132 2020-11-02 Gary Benson <gbenson@redhat.com>
1133
1134 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1135 for .c files compiled as C++ with Clang if any shared
1136 libraries are specified.
1137
1138 2020-11-02 Gary Benson <gbenson@redhat.com>
1139
1140 * lib/attributes.h: New header.
1141 * gdb.base/backtrace.c: Include the above. Replace
1142 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1143 * gdb.base/infcall-nested-structs.c: Likewise.
1144 * gdb.base/vla-optimized-out.c: Likewise.
1145
1146 2020-11-02 Tom de Vries <tdevries@suse.de>
1147
1148 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1149
1150 2020-11-01 Joel Brobecker <brobecker@adacore.com>
1151
1152 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1153 System.Min_Int and System.Max_Int with smaller hardcoded
1154 constants.
1155
1156 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1157
1158 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1159 * configure: Re-generate.
1160
1161 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
1162
1163 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1164 expected output.
1165
1166 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1167
1168 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1169 behavior.
1170 * gdb.base/paginate-bg-execution.exp: Ditto.
1171 * gdb.base/paginate-inferior-exit.exp: Ditto.
1172 * gdb.base/double-prompt-target-event-error.c: Remove.
1173 * gdb.base/double-prompt-target-event-error.exp: Remove.
1174
1175 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1176
1177 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1178 inferiors' and 'detach inferiors' do not change the current
1179 inferior.
1180
1181 2020-10-29 Tom de Vries <tdevries@suse.de>
1182
1183 * gdb.threads/tls.exp: Fix DUPLICATEs.
1184
1185 2020-10-28 Tom de Vries <tdevries@suse.de>
1186
1187 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1188
1189 2020-10-28 Tom de Vries <tdevries@suse.de>
1190
1191 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1192 * gdb.base/reread.exp: Same.
1193
1194 2020-10-28 Tom de Vries <tdevries@suse.de>
1195
1196 * lib/gdb.exp (readnow): Handle arg.
1197 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1198
1199 2020-10-28 Tom de Vries <tdevries@suse.de>
1200
1201 * gdb.base/relocate.exp: Update regexp for -readnow.
1202
1203 2020-10-28 Tom de Vries <tdevries@suse.de>
1204
1205 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1206 -readnow.
1207
1208 2020-10-28 Tom de Vries <tdevries@suse.de>
1209
1210 PR symtab/26772
1211 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1212 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1213
1214 2020-10-28 Tom de Vries <tdevries@suse.de>
1215
1216 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1217 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1218 complaint during file command for -readnow.
1219
1220 2020-10-28 Tom de Vries <tdevries@suse.de>
1221
1222 * gdb.cp/nsalias.exp: Fix typo in test name.
1223
1224 2020-10-28 Tom de Vries <tdevries@suse.de>
1225
1226 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1227
1228 2020-10-28 Tom de Vries <tdevries@suse.de>
1229
1230 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1231 -readnow.
1232
1233 2020-10-27 Tom de Vries <tdevries@suse.de>
1234
1235 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1236
1237 2020-10-27 Tom de Vries <tdevries@suse.de>
1238
1239 * gdb.base/maint.exp: Update for -readnow.
1240
1241 2020-10-27 Tom de Vries <tdevries@suse.de>
1242
1243 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1244 -readnow.
1245
1246 2020-10-14 Gary Benson <gbenson@redhat.com>
1247
1248 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1249 "_vptr$Base" as correct, in addition to "_vptr.Base".
1250 (test_mixed): Likewise.
1251
1252 2020-10-27 Gary Benson <gbenson@redhat.com>
1253
1254 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1255 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1256
1257 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1258
1259 * gdb.base/condbreak.exp: Update the completion tests to
1260 consider the '-force' flag.
1261
1262 2020-10-27 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.base/list-ambiguous-readnow.exp: New file.
1265
1266 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1267
1268 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1269 the condition.
1270 * gdb.linespec/cpcompletion.exp: Update to consider the
1271 '-force-condition' keyword.
1272 * gdb.linespec/explicit.exp: Ditto.
1273 * lib/completion-support.exp: Ditto.
1274
1275 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1276
1277 * gdb.base/condbreak-multi-context.cc: New file.
1278 * gdb.base/condbreak-multi-context.exp: New file.
1279
1280 2020-10-26 Tom Tromey <tom@tromey.com>
1281
1282 * lib/mi-support.exp (default_mi_gdb_start): Call
1283 gdb_stdin_log_init.
1284 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1285 subtract one from gdb_instances.
1286 (gdb_stdin_log_write): Flush in_file.
1287
1288 2020-10-26 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1291
1292 2020-10-26 Tom Tromey <tromey@adacore.com>
1293
1294 * gdb.ada/unsigned_range/foo.adb: New file.
1295 * gdb.ada/unsigned_range/pack.adb: New file.
1296 * gdb.ada/unsigned_range/pack.ads: New file.
1297 * gdb.ada/unsigned_range.exp: New file.
1298
1299 2020-10-26 Tom de Vries <tdevries@suse.de>
1300
1301 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1302
1303 2020-10-26 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1306 for CU.
1307 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1308
1309 2020-10-23 Tom de Vries <tdevries@suse.de>
1310
1311 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1312 DW_FORM_string.
1313 (Dwarf::_default_form): New proc.
1314 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1315 guessed.
1316
1317 2020-10-23 Tom de Vries <tdevries@suse.de>
1318
1319 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1320 * gdb.dwarf2/atomic-type.exp: Same.
1321 * gdb.dwarf2/bad-regnum.exp: Same.
1322 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1323 * gdb.dwarf2/dw2-align.exp: Same.
1324 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1325 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1326 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1327 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1328 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1329 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1330 * gdb.dwarf2/enum-type.exp: Same.
1331 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1332 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1333 * gdb.dwarf2/main-subprogram.exp: Same.
1334 * gdb.dwarf2/missing-type-name.exp: Same.
1335 * gdb.dwarf2/nonvar-access.exp: Same.
1336 * gdb.dwarf2/typedef-void-finish.exp: Same.
1337 * gdb.dwarf2/var-access.exp: Same.
1338 * gdb.dwarf2/void-type.exp: Same.
1339
1340 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1341
1342 PR gdb/26693
1343 * gdb.dwarf2/template-specification-full-name.exp: New test.
1344
1345 2020-10-22 Luis Machado <luis.machado@linaro.org>
1346
1347 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1348 expected an offset from the function.
1349 * gdb.base/msym-bp.exp (test): Likewise.
1350
1351 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1352
1353 * gdb.fortran/array-slices.exp: Add a new test.
1354
1355 2020-10-21 Gary Benson <gbenson@redhat.com>
1356
1357 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1358 fullname test with Clang. Also expand comments generally.
1359
1360 2020-10-20 Tom de Vries <tdevries@suse.de>
1361
1362 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1363
1364 2020-10-20 Tom de Vries <tdevries@suse.de>
1365
1366 * gdb.dwarf2/arr-stride.c: Remove.
1367 * gdb.dwarf2/arr-stride.exp: Use main.c.
1368 * gdb.dwarf2/arr-subrange.c: Remove.
1369 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1370 * gdb.dwarf2/bad-regnum.c: Remove.
1371 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1372 * gdb.dwarf2/corrupt.c: Remove.
1373 * gdb.dwarf2/corrupt.exp: Use main.c.
1374 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1375 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1376 * gdb.dwarf2/dw2-icycle.c: Remove.
1377 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1378 * gdb.dwarf2/formdata16.c: Remove.
1379 * gdb.dwarf2/formdata16.exp: Use main.c.
1380 * gdb.dwarf2/implptrconst.c: Remove.
1381 * gdb.dwarf2/implptrconst.exp: Use main.c.
1382 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1383 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1384 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1385 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1386
1387 2020-10-20 Tom de Vries <tdevries@suse.de>
1388
1389 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1390 file.
1391 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1392
1393 2020-10-20 Tom de Vries <tdevries@suse.de>
1394
1395 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1396 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1397 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1398 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1399 * gdb.dwarf2/dw2-ranges.exp: Same.
1400 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1401 * gdb.dwarf2/var-access.exp: Same.
1402
1403 2020-10-19 Tom Tromey <tromey@adacore.com>
1404
1405 PR tui/26719
1406 * gdb.tui/list.exp: Check source window contents after focus
1407 change.
1408
1409 2020-10-17 Tom de Vries <tdevries@suse.de>
1410
1411 PR symtab/26317
1412 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1413
1414 2020-10-17 Tom de Vries <tdevries@suse.de>
1415
1416 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1417 as suffix.
1418 * gdb.dwarf2/atomic.c: Rename to ...
1419 * gdb.dwarf2/atomic-type.c: ... this.
1420 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1421 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1422 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1423 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1424 * gdb.dwarf2/fission-mix2.c: Rename to ...
1425 * gdb.dwarf2/fission-mix-2.c: ... this.
1426 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1427 standard_testfile.
1428 * gdb.dwarf2/ada-valprint-error.exp: Same.
1429 * gdb.dwarf2/arr-stride.exp: Same.
1430 * gdb.dwarf2/arr-subrange.exp: Same.
1431 * gdb.dwarf2/atomic-type.exp: Same.
1432 * gdb.dwarf2/bad-regnum.exp: Same.
1433 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1434 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1435 * gdb.dwarf2/clang-debug-names.exp: Same.
1436 * gdb.dwarf2/comp-unit-lang.exp: Same.
1437 * gdb.dwarf2/corrupt.exp: Same.
1438 * gdb.dwarf2/count.exp: Same.
1439 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1440 * gdb.dwarf2/data-loc.exp: Same.
1441 * gdb.dwarf2/dw2-align.exp: Same.
1442 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1443 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1444 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1445 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1446 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1447 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1448 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1449 * gdb.dwarf2/dw2-inline-param.exp: Same.
1450 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1451 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1452 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1453 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1454 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1455 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1456 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1457 * gdb.dwarf2/dw2-param-error.exp: Same.
1458 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1459 * gdb.dwarf2/dw2-ranges.exp: Same.
1460 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1461 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1462 * gdb.dwarf2/dw4-sig-types.exp: Same.
1463 * gdb.dwarf2/dynarr-ptr.exp: Same.
1464 * gdb.dwarf2/enum-type.exp: Same.
1465 * gdb.dwarf2/fission-mix.exp: Same.
1466 * gdb.dwarf2/formdata16.exp: Same.
1467 * gdb.dwarf2/implptrconst.exp: Same.
1468 * gdb.dwarf2/implptrpiece.exp: Same.
1469 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1470 * gdb.dwarf2/main-subprogram.exp: Same.
1471 * gdb.dwarf2/method-ptr.exp: Same.
1472 * gdb.dwarf2/missing-sig-type.exp: Same.
1473 * gdb.dwarf2/nonvar-access.exp: Same.
1474 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1475 * gdb.dwarf2/shortpiece.exp: Same.
1476 * gdb.dwarf2/staticvirtual.exp: Same.
1477 * gdb.dwarf2/subrange.exp: Same.
1478 * gdb.dwarf2/symtab-producer.exp: Same.
1479 * gdb.dwarf2/typedef-void-finish.exp: Same.
1480 * gdb.dwarf2/var-access.exp: Same.
1481 * gdb.dwarf2/variant.exp: Same.
1482 * gdb.dwarf2/void-type.exp: Same.
1483 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1484 dw2-ranges-main.c.
1485 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1486
1487 2020-10-16 Tom de Vries <tdevries@suse.de>
1488
1489 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1490
1491 2020-10-16 Tom de Vries <tdevries@suse.de>
1492
1493 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1494
1495 2020-10-14 Tom de Vries <tdevries@suse.de>
1496
1497 PR testsuite/26732
1498 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1499 scenario 2.
1500 * gdb.ada/mi_catch_ex_hand.exp: Same.
1501
1502 2020-10-13 Pedro Alves <pedro@palves.net>
1503
1504 * lib/mi-support.exp (mi_clean_restart): New.
1505 (mi_run_to_main): Delete.
1506 All callers adjust to use mi_clean_restart / mi_runto_main.
1507
1508 2020-10-13 Pedro Alves <pedro@palves.net>
1509
1510 * config/monitor.exp: Use "list -q".
1511 * gdb.arch/gdb1558.exp: Use "break -q".
1512 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1513 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1514 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1515 * gdb.base/commands.exp: Use "break -q".
1516 * gdb.base/condbreak.exp: Use "break -q".
1517 * gdb.base/ctf-ptype.exp: Use "list -q".
1518 * gdb.base/define.exp: Use "break -q".
1519 * gdb.base/del.exp: Use "break -q".
1520 * gdb.base/fullname.exp: Use "break -q".
1521 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1522 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1523 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1524 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1525 "hbreak -q".
1526 * gdb.base/included.exp: Use "list -q".
1527 * gdb.base/label.exp: Use "break -q".
1528 * gdb.base/lineinc.exp: Use "break -q".
1529 * gdb.base/list.exp: Use "list -q".
1530 * gdb.base/macscp.exp: Use "list -q".
1531 * gdb.base/pending.exp: Use "break -q".
1532 * gdb.base/prologue-include.exp: Use "break -q".
1533 * gdb.base/ptype.exp: Use "list -q".
1534 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1535 * gdb.base/server-del-break.exp: Use "break -q".
1536 * gdb.base/style.exp: Use "break -q".
1537 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1538 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1539 * gdb.cp/exception.exp: Use "tbreak -q".
1540 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1541 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1542 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1543 * gdb.dwarf2/pr13961.exp: Use "break -q".
1544 * gdb.linespec/explicit.exp: Use "list -q".
1545 * gdb.linespec/linespec.exp: Use "break -q".
1546 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1547 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1548 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1549 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1550 * gdb.trace/change-loc.exp: Use "break -q".
1551 * gdb.trace/pending.exp: Use "break -q".
1552 * gdb.tui/basic.exp: Use "list -q".
1553 * gdb.tui/list-before.exp: Use "list -q".
1554 * gdb.tui/list.exp: Use "list -q".
1555 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1556
1557 2020-10-13 Pedro Alves <pedro@palves.net>
1558
1559 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1560 saved breakpoints file.
1561 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1562 inspecting breakpoint list.
1563 * lib/gdb.exp (runto_main): Add "qualified" to options.
1564 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1565 and handle it.
1566 (mi_runto_main): Pass 1 as qualified argument.
1567
1568 2020-10-13 Pedro Alves <pedro@palves.net>
1569
1570 * lib/mi-support.exp (mi_runto_main): New proc.
1571 (mi_run_to_main): Use it.
1572 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1573 * gdb.mi/mi-var-cmd.exp: Likewise.
1574 * gdb.mi/mi-var-invalidate.exp: Likewise.
1575 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1576 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1577 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1578 * gdb.mi/user-selected-context-sync.exp: Likewise.
1579 * gdb.opt/inline-cmds.exp: Likewise.
1580 * gdb.python/py-framefilter-mi.exp: Likewise.
1581 * gdb.python/py-mi.exp: Likewise.
1582
1583 2020-10-13 Pedro Alves <pedro@palves.net>
1584
1585 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1586 "runto main".
1587 * gdb.ada/small_reg_param.exp: Likewise.
1588 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1589 * gdb.base/annota1.exp: Likewise.
1590 * gdb.base/anon.exp: Likewise.
1591 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1592 * gdb.base/dprintf-non-stop.exp: Likewise.
1593 * gdb.base/dprintf.exp: Likewise.
1594 * gdb.base/gdb11530.exp: Likewise.
1595 * gdb.base/gdb11531.exp: Likewise.
1596 * gdb.base/gnu_vector.exp: Likewise.
1597 * gdb.base/interrupt-noterm.exp: Likewise.
1598 * gdb.base/memattr.exp: Likewise.
1599 * gdb.base/step-over-syscall.exp: Likewise.
1600 * gdb.base/watch-cond-infcall.exp: Likewise.
1601 * gdb.base/watch-read.exp: Likewise.
1602 * gdb.base/watch-vfork.exp: Likewise.
1603 * gdb.base/watch_thread_num.exp: Likewise.
1604 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1605 * gdb.guile/scm-frame-inline.exp: Likewise.
1606 * gdb.linespec/explicit.exp: Likewise.
1607 * gdb.opt/inline-break.exp: Likewise.
1608 * gdb.python/py-frame-inline.exp: Likewise.
1609 * gdb.reverse/break-precsave.exp: Likewise.
1610 * gdb.reverse/break-reverse.exp: Likewise.
1611 * gdb.reverse/consecutive-precsave.exp: Likewise.
1612 * gdb.reverse/consecutive-reverse.exp: Likewise.
1613 * gdb.reverse/finish-precsave.exp: Likewise.
1614 * gdb.reverse/finish-reverse.exp: Likewise.
1615 * gdb.reverse/fstatat-reverse.exp: Likewise.
1616 * gdb.reverse/getresuid-reverse.exp: Likewise.
1617 * gdb.reverse/i386-precsave.exp: Likewise.
1618 * gdb.reverse/i386-reverse.exp: Likewise.
1619 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1620 * gdb.reverse/i387-env-reverse.exp: Likewise.
1621 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1622 * gdb.reverse/insn-reverse.exp: Likewise.
1623 * gdb.reverse/machinestate-precsave.exp: Likewise.
1624 * gdb.reverse/machinestate.exp: Likewise.
1625 * gdb.reverse/pipe-reverse.exp: Likewise.
1626 * gdb.reverse/readv-reverse.exp: Likewise.
1627 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1628 * gdb.reverse/rerun-prec.exp: Likewise.
1629 * gdb.reverse/s390-mvcle.exp: Likewise.
1630 * gdb.reverse/solib-precsave.exp: Likewise.
1631 * gdb.reverse/solib-reverse.exp: Likewise.
1632 * gdb.reverse/step-precsave.exp: Likewise.
1633 * gdb.reverse/step-reverse.exp: Likewise.
1634 * gdb.reverse/time-reverse.exp: Likewise.
1635 * gdb.reverse/until-precsave.exp: Likewise.
1636 * gdb.reverse/until-reverse.exp: Likewise.
1637 * gdb.reverse/waitpid-reverse.exp: Likewise.
1638 * gdb.reverse/watch-precsave.exp: Likewise.
1639 * gdb.reverse/watch-reverse.exp: Likewise.
1640 * gdb.threads/kill.exp: Likewise.
1641 * gdb.threads/tid-reuse.exp: Likewise.
1642
1643 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1644
1645 PR gdb/26642
1646 * gdb.base/maint-target-async-off.c: New test.
1647 * gdb.base/maint-target-async-off.exp: New test.
1648
1649 2020-10-13 Alan Modra <amodra@gmail.com>
1650
1651 * gdb.arch/powerpc-altivec.s,
1652 * gdb.arch/powerpc-power7.s,
1653 * gdb.arch/powerpc-power8.s,
1654 * gdb.arch/powerpc-power9.s,
1655 * gdb.arch/powerpc-vsx.s,
1656 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1657 * gdb.arch/powerpc-altivec.exp,
1658 * gdb.arch/powerpc-power7.exp,
1659 * gdb.arch/powerpc-power8.exp,
1660 * gdb.arch/powerpc-power9.exp,
1661 * gdb.arch/powerpc-vsx.exp,
1662 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1663 disassembly of mfvsrd/mtvsrd.
1664
1665 2020-10-13 Alan Modra <amodra@gmail.com>
1666
1667 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1668 "target architecture" output.
1669 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1670 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1671 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1672 * gdb.arch/s390-disassembler-options.exp: Likewise.
1673
1674 2020-10-12 Pedro Alves <pedro@palves.net>
1675
1676 PR exp/26602
1677 PR c++/26550
1678 * gdb.cp/ambiguous.cc (marker1): Delete.
1679 (main): Initialize all the fields of the locals. Replace marker1
1680 call with a "set breakpoint here" marker.
1681 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1682 instead of running to marker1. Add tests printing all the
1683 variables and all the fields of the variables.
1684 (test_ambiguous): New proc, expecting the new GDB output when a
1685 field access is ambiguous. Change all "warning: X ambiguous"
1686 tests to use it.
1687
1688 2020-10-12 Gary Benson <gbenson@redhat.com>
1689
1690 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1691 * gdb.base/msym-bp-2.c (foo): Likewise.
1692 * gdb.base/msym-lang.c (foo): Likewise.
1693 * gdb.base/msym-lang-main.c (foo): Likewise.
1694 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1695 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1696 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1697 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1698 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1699 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1700 * gdb.python/py-objfile.c (static_var): Likewise.
1701 * gdb.python/py-symbol.c (rr): Likewise.
1702 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1703 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1704
1705 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1706
1707 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1708 output of backtrace.
1709
1710 2020-10-09 Tom Tromey <tromey@adacore.com>
1711
1712 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1713 (Rec): Add field. Fix range.
1714 * gdb.ada/scalar_storage.exp: Update.
1715
1716 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
1717
1718 PR exp/26714
1719 * gdb.base/printcmds.exp: Add tests for void results.
1720
1721 2020-10-09 Jan Vrany <jan.vrany@labware.com>
1722
1723 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1724 is emmited for both 'set directories' and 'directory' commands.
1725
1726 2020-10-08 Tom Tromey <tom@tromey.com>
1727
1728 * gdb.base/style.exp: Check that "main"'s name is styled.
1729
1730 2020-10-07 Tom Tromey <tromey@adacore.com>
1731
1732 * gdb.base/find.exp: Rename some tests.
1733
1734 2020-10-06 Gary Benson <gbenson@redhat.com>
1735
1736 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1737 * gdb.base/list1.c (unused): Likewise.
1738
1739 2020-10-06 Gary Benson <gbenson@redhat.com>
1740
1741 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1742 __attribute__ ((used)).
1743 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1744
1745 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1746
1747 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1748 make use of regions throughout.
1749 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1750 not {...}.
1751 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1752
1753 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
1754
1755 * gdb.base/call-sc.c: Fix return struct on stack test case.
1756 * gdb.base/call-sc.exp: Likewise.
1757
1758 2020-10-02 Gary Benson <gbenson@redhat.com>
1759
1760 * README: Fix "paralell".
1761
1762 2020-09-30 Gary Benson <gbenson@redhat.com>
1763
1764 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1765 Convert directive to lowercase.
1766 (.Labbrev1_begin): Add missing label.
1767 (abbrev code 0x1): Remove DW_AT_stmt_list.
1768 (.Ldie_b): Likewise.
1769
1770 2020-09-27 Tom Tromey <tom@tromey.com>
1771
1772 * gdb.tui/new-layout.exp: Use with_test_prefix.
1773
1774 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1775
1776 PR python/26586
1777 * gdb.python/python.exp: add test cases for the from_tty
1778 argument to gdb.execute.
1779
1780 2020-09-25 Gary Benson <gbenson@redhat.com>
1781
1782 * gdb.base/infcall-nested-structs.exp.tcl: Add
1783 additional_flags=-Wno-tautological-compare for C++
1784 tests when compiling using Clang.
1785
1786 2020-09-25 Gary Benson <gbenson@redhat.com>
1787
1788 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1789 for .c files.
1790
1791 2020-09-24 Tom Tromey <tromey@adacore.com>
1792
1793 PR tui/26638:
1794 * gdb.tui/list.exp: Check output of "focus next".
1795
1796 2020-09-23 Tom Tromey <tom@tromey.com>
1797
1798 * gdb.dwarf2/intbits.exp: New file.
1799 * gdb.dwarf2/intbits.c: New file.
1800
1801 2020-09-20 Pedro Alves <pedro@palves.net>
1802
1803 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1804 spawn_id before calling remote_close. Close secondary MI channel.
1805
1806 2020-09-20 Pedro Alves <pedro@palves.net>
1807
1808 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1809 fails.
1810
1811 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.fortran/array-slices.exp: Update expected results.
1814 * gdb.fortran/class-allocatable-array.exp: Likewise.
1815 * gdb.fortran/multi-dim.exp: Likewise.
1816 * gdb.fortran/vla-type.exp: Likewise.
1817 * gdb.mi/mi-vla-fortran.exp: Likewise.
1818
1819 2020-09-18 Victor Collod <vcollod@nvidia.com>
1820
1821 PR gdb/26635
1822 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1823 compatible with i386, and move it to...
1824 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1825 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1826 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1827
1828 2020-09-18 Pedro Alves <pedro@palves.net>
1829
1830 PR gdb/26631
1831 * gdb.multi/multi-target-thread-find.exp: New file.
1832
1833 2020-09-18 Pedro Alves <pedro@palves.net>
1834
1835 * gdb.multi/multi-target-continue.exp: New file, factored out from
1836 multi-target.exp.
1837 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1838 multi-target.exp.
1839 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1840 multi-target.exp.
1841 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1842 multi-target.exp.
1843 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1844 multi-target.exp.
1845 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1846 multi-target.exp.
1847 * gdb.multi/multi-target.exp: Delete.
1848
1849 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1850
1851 * gdb.fortran/array-slices.exp: Add missing message data.
1852
1853 2020-09-17 Pedro Alves <pedro@palves.net>
1854
1855 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1856
1857 2020-09-17 Pedro Alves <pedro@palves.net>
1858
1859 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1860 full prototype.
1861
1862 2020-09-17 Pedro Alves <pedro@palves.net>
1863
1864 * gdb.python/py-as-string.c: Add cast.
1865
1866 2020-09-17 Pedro Alves <pedro@palves.net>
1867
1868 * gdb.base/sizeof.c (fill): Add cast.
1869
1870 2020-09-17 Pedro Alves <pedro@palves.net>
1871
1872 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1873
1874 2020-09-17 Pedro Alves <pedro@palves.net>
1875
1876 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1877 linkage name.
1878 * gdb.base/prologue.exp: Use print /d.
1879 * gdb.base/symbol-alias.exp: Handle C++ output.
1880 * gdb.base/symbol-alias2.c: Handle C++ output.
1881 [__cplusplus] (func): Explicitly specify linkage name.
1882
1883 2020-09-17 Pedro Alves <pedro@palves.net>
1884
1885 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1886 (struct my_key_t): ... this. Adjust all references.
1887 (struct value_t): Rename to ...
1888 (struct my_value_t): ... this. Adjust all references.
1889 (create_map, add_map_element, create_map_map)
1890 (add_map_map_element): Add casts.
1891
1892 2020-09-17 Pedro Alves <pedro@palves.net>
1893
1894 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1895 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1896
1897 2020-09-17 Pedro Alves <pedro@palves.net>
1898
1899 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1900
1901 2020-09-17 Pedro Alves <pedro@palves.net>
1902
1903 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1904 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1905 (charfoo, intfoo): Define full prototype.
1906 * gdb.base/ptype1.c (charfoo): Define full prototype.
1907 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1908 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1909
1910 2020-09-17 Pedro Alves <pedro@palves.net>
1911
1912 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1913 Don't define.
1914 (utf_32_string): Compile for both C and C++.
1915 * gdb.base/charset.exp: Use "print /d".
1916
1917 2020-09-17 Pedro Alves <pedro@palves.net>
1918
1919 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1920 (nullptr): Rename to ...
1921 (null_ptr): ... this.
1922 * gdb.base/watchpoint.exp: Adjust to rename.
1923
1924 2020-09-17 Pedro Alves <pedro@palves.net>
1925
1926 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1927 (three_not_flag): Add casts.
1928
1929 2020-09-17 Pedro Alves <pedro@palves.net>
1930
1931 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1932 char array.
1933 (main): Add references to Barrier, TestStrings, TestStringsH and
1934 TestStringsW.
1935 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1936 and expect a full prototype in C++.
1937
1938 2020-09-17 Pedro Alves <pedro@palves.net>
1939
1940 * gdb.base/nested-addr.c (main): Add cast.
1941 * gdb.base/nested-addr.exp: Use "print /d".
1942
1943 2020-09-17 Pedro Alves <pedro@palves.net>
1944
1945 * gdb.base/break.exp (func): New. Use it throughout when
1946 expecting a function name.
1947
1948 2020-09-17 Pedro Alves <pedro@palves.net>
1949
1950 * gdb.base/display.exp: Issue "set print asm-demangle on".
1951
1952 2020-09-17 Pedro Alves <pedro@palves.net>
1953
1954 * gdb.base/find.c: Include <string.h>.
1955 (init_bufs): Add cast.
1956 * gdb.base/find.exp: Issue "set print asm-demangle on".
1957
1958 2020-09-16 Tom Tromey <tromey@adacore.com>
1959
1960 PR gdb/26598:
1961 * gdb.base/skipcxx.exp: New file.
1962 * gdb.base/skipcxx.cc: New file.
1963
1964 2020-09-16 Tom de Vries <tdevries@suse.de>
1965
1966 PR testsuite/26617
1967 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1968 WITH_DEBUG_SECTIONS is defined.
1969 (xstr, str): New macro.
1970 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1971 to get start and size of _Dmain.
1972 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1973 using additional_flags.
1974
1975 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1976
1977 * gdb.base/bp-cmds-sourced-script.c: New file.
1978 * gdb.base/bp-cmds-sourced-script.exp: New test.
1979 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1980
1981 2020-09-16 Tom de Vries <tdevries@suse.de>
1982
1983 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1984 get the gdb prompt after issuing "monitor exit".
1985
1986 2020-09-16 Tom de Vries <tdevries@suse.de>
1987
1988 PR testsuite/26624
1989 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1990
1991 2020-09-16 Tom de Vries <tdevries@suse.de>
1992
1993 PR testsuite/26618
1994 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1995
1996 2020-09-15 Tom Tromey <tromey@adacore.com>
1997
1998 PR rust/26197:
1999 * lib/rust-support.exp (rust_llvm_version): New proc.
2000 * gdb.rust/simple.exp: Check rust_llvm_version.
2001
2002 2020-09-14 Tom de Vries <tdevries@suse.de>
2003
2004 * gdb.rust/traits.exp: Fix PATH warning.
2005
2006 2020-09-13 Pedro Alves <pedro@palves.net>
2007
2008 * gdb.base/catch-follow-exec.c (main): Add explicit return
2009 statement.
2010 * gdb.base/catch-signal.c (main): Likewise.
2011 * gdb.base/condbreak-call-false.c (main): Likewise.
2012 * gdb.base/consecutive.c (main): Add explicit return
2013 statement and return type.
2014 * gdb.base/cursal.c (main): Add explicit return statement.
2015 * gdb.base/cvexpr.c (main): Likewise.
2016 * gdb.base/display.c (main): Add explicit return statement and
2017 return type.
2018 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2019 * gdb.base/endianity.c (main): Likewise.
2020 * gdb.base/execd-prog.c (main): Likewise.
2021 * gdb.base/gdb1090.c (main): Likewise.
2022 * gdb.base/info_qt.c (main): Likewise.
2023 * gdb.base/lineinc.c (main): Likewise.
2024 * gdb.base/load-command.c (main): Likewise.
2025 * gdb.base/macscp1.c (main): Likewise.
2026 * gdb.base/pr10179-a.c (main): Likewise.
2027 * gdb.base/quit-live.c (main): Likewise.
2028 * gdb.base/scope0.c (main): Likewise.
2029 * gdb.base/settings.c (main): Likewise.
2030 * gdb.base/stack-checking.c (main): Return int.
2031 * gdb.base/varargs.c (main): Add explicit return statement.
2032 * gdb.cp/ambiguous.cc (main): Likewise.
2033 * gdb.cp/anon-struct.cc (main): Likewise.
2034 * gdb.cp/anon-union.cc (main): Likewise.
2035 * gdb.cp/bool.cc (main): Likewise.
2036 * gdb.cp/bs15503.cc (main): Likewise.
2037 * gdb.cp/cplusfuncs.cc (main): Likewise.
2038 * gdb.cp/cttiadd.cc (main): Likewise.
2039 * gdb.cp/extern-c.cc (main): Likewise.
2040 * gdb.cp/filename.cc (main): Likewise.
2041 * gdb.cp/formatted-ref.cc (main): Likewise.
2042 * gdb.cp/mb-ctor.cc (main): Likewise.
2043 * gdb.cp/member-ptr.cc (main): Likewise.
2044 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2045 * gdb.cp/overload-const.cc (main): Likewise.
2046 * gdb.cp/paren-type.cc (main): Likewise.
2047 * gdb.cp/parse-lang.cc (main): Likewise.
2048 * gdb.cp/pr-1023.cc (main): Likewise.
2049 * gdb.cp/psmang1.cc (main): Likewise.
2050 * gdb.cp/readnow-language.cc (main): Likewise.
2051 * gdb.cp/ref-params.cc (main): Likewise.
2052 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2053 * gdb.cp/virtbase2.cc (main): Likewise.
2054 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2055 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2056 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2057 * gdb.mi/mi-console.c (main): Likewise.
2058 * gdb.mi/mi-read-memory.c (main): Likewise.
2059 * gdb.modula2/multidim.c (main): Likewise.
2060 * gdb.opt/inline-small-func.c (main): Likewise.
2061 * gdb.python/py-rbreak.c (main): Likewise.
2062 * gdb.stabs/exclfwd1.c (main): Likewise.
2063 * gdb.trace/qtro.c (main): Likewise.
2064
2065 2020-09-13 Pedro Alves <pedro@palves.net>
2066
2067 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2068 instead of getenv.
2069
2070 2020-09-13 Pedro Alves <pedro@palves.net>
2071
2072 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2073 instead of spawning GDB with remote_spawn.
2074 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2075 gdb_spawn instead of spawning GDB with remote_spawn.
2076
2077 2020-09-13 Pedro Alves <pedro@palves.net>
2078
2079 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2080 file and add calls to first and second.
2081 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2082 add call to f.
2083
2084 2020-09-13 Pedro Alves <pedro@palves.net>
2085
2086 * gdb.mi/mi-break-qualified.cc: New file.
2087 * gdb.mi/mi-break-qualified.exp: New file.
2088 * lib/mi-support.exp (mi_create_breakpoint_multi)
2089 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2090 procedures.
2091 (mi_create_breakpoint_1): New, factored out from
2092 mi_create_breakpoint.
2093
2094 2020-09-13 Pedro Alves <pedro@palves.net>
2095
2096 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2097 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2098 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2099 (register_class): Delete.
2100 (main): Don't call register_class.
2101
2102 2020-09-13 Pedro Alves <pedro@palves.net>
2103
2104 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2105 (do_tests): Remove "calling method for small class" test.
2106 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2107 (register_class): Delete.
2108 (main): Don't call register_class.
2109 * gdb.cp/call-method-register.exp: New file, based on bits removed
2110 from classes.exp.
2111 * gdb.cp/call-method-register.cc: New file, based on bits removed
2112 from classes.cc.
2113
2114 2020-09-13 Pedro Alves <pedro@palves.net>
2115
2116 * gdb.base/msym-bp-2.c: New.
2117 * gdb.base/msym-bp-shl-lib.c: New file.
2118 * gdb.base/msym-bp-shl-main-2.c: New file.
2119 * gdb.base/msym-bp-shl-main.c: New file.
2120 * gdb.base/msym-bp-shl.exp: New file.
2121 * gdb.base/msym-bp.c: New file.
2122 * gdb.base/msym-bp.exp: New file.
2123
2124 2020-09-13 Joel Brobecker <brobecker@adacore.com>
2125
2126 * gdb.base/default.exp: Change $_gdb_major to 11.
2127
2128 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2129 Felix Willgerodt <Felix.Willgerodt@intel.com>
2130
2131 * x86-avx512bf16.c: New file.
2132 * x86-avx512bf16.exp: Likewise.
2133 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2134
2135 2020-09-11 Tom de Vries <tdevries@suse.de>
2136
2137 PR exp/26602
2138 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2139
2140 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2141
2142 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2143
2144 2020-09-10 Alan Modra <amodra@gmail.com>
2145
2146 PR 26597
2147 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2148
2149 2020-09-08 Tom de Vries <tdevries@suse.de>
2150
2151 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2152 after gdb_starti_cmd.
2153
2154 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2155
2156 * lib/fortran.exp (fortran_complex8): New proc.
2157 (fortran_complex16): New proc.
2158 * gdb.fortran/complex.exp: Use routines from fortran.exp
2159 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2160 * gdb.fortran/vla-ptr-info.exp: Likewise.
2161
2162 2020-09-03 Tom de Vries <tdevries@suse.de>
2163
2164 PR breakpoint/26546
2165 * gdb.base/label-without-address.exp: Runto main first.
2166
2167 2020-09-02 Tom Tromey <tromey@adacore.com>
2168
2169 * gdb.ada/mi_var_access.exp: Test children of access variable.
2170 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2171 * gdb.ada/mi_var_array.exp: Update.
2172
2173 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2174
2175 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2176 on docker w/ AUFS storage driver.
2177
2178 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2179
2180 * gdb.base/corefile2.exp (renamed binfile): New tests.
2181
2182 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2183
2184 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2185
2186 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2187
2188 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2189 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2190
2191 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2192
2193 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2194 output, printing a "not saved" value from history and printing a
2195 convenience variable created from a "not saved" value.
2196
2197 2020-08-31 Tom de Vries <tdevries@suse.de>
2198
2199 * gdb.base/eh_return.exp: Use nopie.
2200
2201 2020-08-28 Pedro Alves <pedro@palves.net>
2202
2203 * gdb.base/advance-until-multiple-locations.exp
2204 (advance_overload, until_overload): Adjust to match the
2205 frame/function header instead of the source line text.
2206
2207 2020-08-28 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.base/label-without-address.c: New test.
2210 * gdb.base/label-without-address.exp: New file.
2211
2212 2020-08-27 Pedro Alves <pedro@palves.net>
2213
2214 PR gdb/26523
2215 PR gdb/26524
2216 * gdb.base/advance-until-multiple-locations.cc: New.
2217 * gdb.base/advance-until-multiple-locations.exp: New.
2218
2219 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2220
2221 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2222
2223 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2224
2225 * gdb.arch/amd64-byte.exp: Make test names unique, use
2226 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2227 * gdb.arch/amd64-dword.exp: Likewise.
2228 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2229 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2230 unique.
2231 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2232 * gdb.arch/amd64-word.exp: Make test names unique, use
2233 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2234 * gdb.arch/i386-byte.exp: Make test names unique, use
2235 gdb_breakpoint.
2236 * gdb.arch/i386-word.exp: Likewise.
2237
2238 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
2239
2240 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2241
2242 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2243
2244 PR gdb/26532
2245 * gdb.threads/stepi-random-signal.exp: Update pattern.
2246
2247 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
2248
2249 PR gdb/26532
2250 * gdb.base/ui-redirect.exp: Update pattern.
2251
2252 2020-08-25 Gary Benson <gbenson@redhat.com>
2253
2254 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2255 when compiling with clang.
2256 * gdb.dwarf2/dw2-restore.exp: Likewise.
2257
2258 2020-08-25 Gary Benson <gbenson@redhat.com>
2259
2260 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2261 Add additional_flags=-Wno-inaccessible-base when compiling
2262 with GCC >= 10.1 or clang. Add additional_flags=-w when
2263 compiling with GCC < 10.
2264
2265 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2266
2267 PR m2/26372
2268 * gdb.modula2/multidim.c: New file.
2269 * gdb.modula2/multidim.exp: New file.
2270
2271 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2272
2273 * lib/gdb.exp (runto): Always emit fail on internal error.
2274
2275 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
2276
2277 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2278 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2279 Likewise.
2280 * gdb.threads/stepi-random-signal.exp: Likewise.
2281
2282 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2283
2284 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2285 * gdb.trace/strace.exp: Ditto.
2286
2287 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2288
2289 * gdb.fortran/vla-type.exp: Skip commands not required for
2290 the Flang compiled binaries after prologue fix.
2291
2292 2020-08-17 Tom de Vries <tdevries@suse.de>
2293 Tom Tromey <tromey@adacore.com>
2294
2295 PR rust/26197:
2296 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2297
2298 2020-08-17 Tom Tromey <tromey@adacore.com>
2299
2300 * gdb.ada/mi_var_access.exp: New file.
2301 * gdb.ada/mi_var_access/mi_access.adb: New file.
2302 * gdb.ada/mi_var_access/pck.adb: New file.
2303 * gdb.ada/mi_var_access/pck.ads: New file.
2304
2305 2020-08-16 Tom de Vries <tdevries@suse.de>
2306
2307 PR gdb/25350
2308 * gdb.base/eh_return.c: New test.
2309 * gdb.base/eh_return.exp: New file.
2310
2311 2020-08-15 Tom de Vries <tdevries@suse.de>
2312
2313 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2314 (mixed_func_1d_): Use fortran_charlen_t in decl.
2315
2316 2020-08-15 Tom de Vries <tdevries@suse.de>
2317
2318 PR backtrace/26390
2319 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2320 Update expected pattern.
2321
2322 2020-08-13 Pedro Alves <pedro@palves.net>
2323
2324 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2325 * gdb.fortran/library-module.exp: Likewise.
2326 * gdb.fortran/logical.exp: Likewise.
2327 * gdb.fortran/module.exp: Likewise.
2328 * gdb.fortran/print_type.exp: Likewise.
2329 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2330 * gdb.fortran/vla-datatypes.exp: Likewise.
2331 * gdb.fortran/vla-history.exp: Likewise.
2332 * gdb.fortran/vla-ptr-info.exp: Likewise.
2333 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2334 * gdb.fortran/vla-ptype.exp: Likewise.
2335 * gdb.fortran/vla-sizeof.exp: Likewise.
2336 * gdb.fortran/vla-type.exp: Likewise.
2337 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2338 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2339 * gdb.fortran/vla-value-sub.exp: Likewise.
2340 * gdb.fortran/vla-value.exp: Likewise.
2341
2342 2020-08-13 Pedro Alves <pedro@palves.net>
2343
2344 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2345 * gdb.ada/access_to_packed_array.exp: Likewise.
2346 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2347 * gdb.ada/addr_arith.exp: Likewise.
2348 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2349 * gdb.ada/arr_arr.exp: Likewise.
2350 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2351 * gdb.ada/array_bounds.exp: Likewise.
2352 * gdb.ada/array_of_variable_length.exp: Likewise.
2353 * gdb.ada/array_ptr_renaming.exp: Likewise.
2354 * gdb.ada/array_subscript_addr.exp: Likewise.
2355 * gdb.ada/arraydim.exp: Likewise.
2356 * gdb.ada/arrayparam.exp: Likewise.
2357 * gdb.ada/arrayptr.exp: Likewise.
2358 * gdb.ada/assign_1.exp: Likewise.
2359 * gdb.ada/assign_arr.exp: Likewise.
2360 * gdb.ada/atomic_enum.exp: Likewise.
2361 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2362 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2363 * gdb.ada/bias.exp: Likewise.
2364 * gdb.ada/boolean_expr.exp: Likewise.
2365 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2366 * gdb.ada/bp_enum_homonym.exp: Likewise.
2367 * gdb.ada/bp_inlined_func.exp: Likewise.
2368 * gdb.ada/bp_on_var.exp: Likewise.
2369 * gdb.ada/bp_range_type.exp: Likewise.
2370 * gdb.ada/bp_reset.exp: Likewise.
2371 * gdb.ada/call_pn.exp: Likewise.
2372 * gdb.ada/catch_assert_if.exp: Likewise.
2373 * gdb.ada/catch_ex.exp: Likewise.
2374 * gdb.ada/catch_ex_std.exp: Likewise.
2375 * gdb.ada/char_enum.exp: Likewise.
2376 * gdb.ada/char_param.exp: Likewise.
2377 * gdb.ada/complete.exp: Likewise.
2378 * gdb.ada/cond_lang.exp: Likewise.
2379 * gdb.ada/convvar_comp.exp: Likewise.
2380 * gdb.ada/dgopt.exp: Likewise.
2381 * gdb.ada/disc_arr_bound.exp: Likewise.
2382 * gdb.ada/display_nested.exp: Likewise.
2383 * gdb.ada/dot_all.exp: Likewise.
2384 * gdb.ada/dyn_loc.exp: Likewise.
2385 * gdb.ada/dyn_stride.exp: Likewise.
2386 * gdb.ada/excep_handle.exp: Likewise.
2387 * gdb.ada/expr_delims.exp: Likewise.
2388 * gdb.ada/expr_with_funcall.exp: Likewise.
2389 * gdb.ada/exprs.exp: Likewise.
2390 * gdb.ada/fin_fun_out.exp: Likewise.
2391 * gdb.ada/fixed_cmp.exp: Likewise.
2392 * gdb.ada/formatted_ref.exp: Likewise.
2393 * gdb.ada/frame_arg_lang.exp: Likewise.
2394 * gdb.ada/frame_args.exp: Likewise.
2395 * gdb.ada/fullname_bp.exp: Likewise.
2396 * gdb.ada/fun_addr.exp: Likewise.
2397 * gdb.ada/fun_in_declare.exp: Likewise.
2398 * gdb.ada/fun_overload_menu.exp: Likewise.
2399 * gdb.ada/fun_renaming.exp: Likewise.
2400 * gdb.ada/funcall_char.exp: Likewise.
2401 * gdb.ada/funcall_param.exp: Likewise.
2402 * gdb.ada/funcall_ptr.exp: Likewise.
2403 * gdb.ada/funcall_ref.exp: Likewise.
2404 * gdb.ada/homonym.exp: Likewise.
2405 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2406 * gdb.ada/info_auto_lang.exp: Likewise.
2407 * gdb.ada/info_exc.exp: Likewise.
2408 * gdb.ada/info_types.exp: Likewise.
2409 * gdb.ada/int_deref.exp: Likewise.
2410 * gdb.ada/interface.exp: Likewise.
2411 * gdb.ada/iwide.exp: Likewise.
2412 * gdb.ada/lang_switch.exp: Likewise.
2413 * gdb.ada/length_cond.exp: Likewise.
2414 * gdb.ada/maint_with_ada.exp: Likewise.
2415 * gdb.ada/mi_catch_assert.exp: Likewise.
2416 * gdb.ada/mi_catch_ex.exp: Likewise.
2417 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2418 * gdb.ada/mi_dyn_arr.exp: Likewise.
2419 * gdb.ada/mi_ex_cond.exp: Likewise.
2420 * gdb.ada/mi_exc_info.exp: Likewise.
2421 * gdb.ada/mi_interface.exp: Likewise.
2422 * gdb.ada/mi_prot.exp: Likewise.
2423 * gdb.ada/mi_ref_changeable.exp: Likewise.
2424 * gdb.ada/mi_string_access.exp: Likewise.
2425 * gdb.ada/mi_task_arg.exp: Likewise.
2426 * gdb.ada/mi_task_info.exp: Likewise.
2427 * gdb.ada/mi_var_array.exp: Likewise.
2428 * gdb.ada/mi_var_union.exp: Likewise.
2429 * gdb.ada/mi_variant.exp: Likewise.
2430 * gdb.ada/minsyms.exp: Likewise.
2431 * gdb.ada/mod_from_name.exp: Likewise.
2432 * gdb.ada/nested.exp: Likewise.
2433 * gdb.ada/null_array.exp: Likewise.
2434 * gdb.ada/optim_drec.exp: Likewise.
2435 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2436 * gdb.ada/packed_array_assign.exp: Likewise.
2437 * gdb.ada/packed_tagged.exp: Likewise.
2438 * gdb.ada/pp-rec-component.exp: Likewise.
2439 * gdb.ada/print_chars.exp: Likewise.
2440 * gdb.ada/print_pc.exp: Likewise.
2441 * gdb.ada/ptr_typedef.exp: Likewise.
2442 * gdb.ada/ptype_arith_binop.exp: Likewise.
2443 * gdb.ada/ptype_array.exp: Likewise.
2444 * gdb.ada/ptype_field.exp: Likewise.
2445 * gdb.ada/ptype_tagged_param.exp: Likewise.
2446 * gdb.ada/ptype_union.exp: Likewise.
2447 * gdb.ada/py_range.exp: Likewise.
2448 * gdb.ada/py_taft.exp: Likewise.
2449 * gdb.ada/rdv_wait.exp: Likewise.
2450 * gdb.ada/rec_comp.exp: Likewise.
2451 * gdb.ada/rec_return.exp: Likewise.
2452 * gdb.ada/ref_param.exp: Likewise.
2453 * gdb.ada/ref_tick_size.exp: Likewise.
2454 * gdb.ada/rename_subscript_param.exp: Likewise.
2455 * gdb.ada/repeat_dyn.exp: Likewise.
2456 * gdb.ada/same_component_name.exp: Likewise.
2457 * gdb.ada/same_enum.exp: Likewise.
2458 * gdb.ada/scalar_storage.exp: Likewise.
2459 * gdb.ada/set_wstr.exp: Likewise.
2460 * gdb.ada/small_reg_param.exp: Likewise.
2461 * gdb.ada/str_binop_equal.exp: Likewise.
2462 * gdb.ada/str_ref_cmp.exp: Likewise.
2463 * gdb.ada/str_uninit.exp: Likewise.
2464 * gdb.ada/sub_variant.exp: Likewise.
2465 * gdb.ada/sym_print_name.exp: Likewise.
2466 * gdb.ada/taft_type.exp: Likewise.
2467 * gdb.ada/tagged.exp: Likewise.
2468 * gdb.ada/tagged_access.exp: Likewise.
2469 * gdb.ada/task_bp.exp: Likewise.
2470 * gdb.ada/task_switch_in_core.exp: Likewise.
2471 * gdb.ada/tasks.exp: Likewise.
2472 * gdb.ada/tick_last_segv.exp: Likewise.
2473 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2474 * gdb.ada/type_coercion.exp: Likewise.
2475 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2476 * gdb.ada/unchecked_union.exp: Likewise.
2477 * gdb.ada/uninitialized_vars.exp: Likewise.
2478 * gdb.ada/var_arr_attrs.exp: Likewise.
2479 * gdb.ada/var_arr_typedef.exp: Likewise.
2480 * gdb.ada/var_rec_arr.exp: Likewise.
2481 * gdb.ada/variant-record.exp: Likewise.
2482 * gdb.ada/variant.exp: Likewise.
2483 * gdb.ada/variant_record_packed_array.exp: Likewise.
2484 * gdb.ada/varsize_limit.exp: Likewise.
2485 * gdb.ada/whatis_array_val.exp: Likewise.
2486 * gdb.ada/widewide.exp: Likewise.
2487 * gdb.ada/win_fu_syms.exp: Likewise.
2488
2489 2020-08-12 Gary Benson <gbenson@redhat.com>
2490
2491 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2492
2493 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2494
2495 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2496 unset the array variable.
2497
2498 2020-08-03 Tom de Vries <tdevries@suse.de>
2499
2500 PR symtab/26333
2501 * lib/dwarf.exp (DW_LNE_user): New proc.
2502 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2503 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2504
2505 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2506
2507 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2508 to 'uintptr_t'
2509 (inttypes.h): Include.
2510
2511 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2512
2513 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2514 (C5_24k): Delete.
2515 (C5_8k, C5_64k, C5_256k): New macros.
2516 (buf_ro): Allocate 256 KiB of initialized data.
2517
2518 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2519
2520 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2521 that attempt to overwrite an existing condition with a condition
2522 that fails parsing and also with a condition that parses fine
2523 but contains junk at the end.
2524
2525 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2526
2527 * gdb.base/condbreak-bad.c: New test.
2528 * gdb.base/condbreak-bad.exp: New file.
2529
2530 2020-07-30 Tom de Vries <tdevries@suse.de>
2531
2532 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2533 out of ...
2534 (GDBInfoModuleSymbols::check_entry): ... here.
2535 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2536 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2537 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2538
2539 2020-07-30 Tom de Vries <tdevries@suse.de>
2540
2541 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2542 "__class_some_module_Number_t" optional.
2543
2544 2020-07-29 Tom de Vries <tdevries@suse.de>
2545
2546 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2547 multiple locations.
2548
2549 2020-07-29 Tom de Vries <tdevries@suse.de>
2550
2551 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2552 rather than function name.
2553
2554 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2555
2556 PR symtab/26270:
2557 * gdb.cp/disasm-func-name.cc: New file.
2558 * gdb.cp/disasm-func-name.exp: New file.
2559
2560 2020-07-28 Tom Tromey <tromey@adacore.com>
2561
2562 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2563 'varval' location.
2564
2565 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2566
2567 * gdb.python/py-unwind.py: Update to make use of a register
2568 descriptor.
2569
2570 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2571
2572 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2573
2574 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2575
2576 PR fortran/23051
2577 PR fortran/26139
2578 * gdb.fortran/class-allocatable-array.exp: New file.
2579 * gdb.fortran/class-allocatable-array.f90: New file.
2580 * gdb.fortran/pointer-to-pointer.exp: New file.
2581 * gdb.fortran/pointer-to-pointer.f90: New file.
2582
2583 2020-07-25 Tom de Vries <tdevries@suse.de>
2584
2585 PR symtab/26243
2586 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2587 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2588
2589 2020-07-24 Tom de Vries <tdevries@suse.de>
2590
2591 PR testsuite/26293
2592 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2593
2594 2020-07-23 Pedro Alves <pedro@palves.net>
2595
2596 * gdb.server/server-kill.exp (prepare): New, factored out from the
2597 top level.
2598 (kill_server): New.
2599 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2600 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2601
2602 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2603
2604 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2605
2606 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2607
2608 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2609 Initialize to empty string at top level.
2610 (gdb_wrapper_init): Revert check for file existence on build.
2611 Build the wrapper in its default place, not a build-specific
2612 location. When host == build, make the pathname absolute.
2613 (gdb_compile): Delete leftover declaration of
2614 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2615 string instead of uninitialized.
2616
2617 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2618
2619 * gdb.base/corefile2.exp: New file.
2620 * gdb.base/coremaker2.exp: New file.
2621
2622 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2623
2624 * gdb.base/coredump-filter.exp: Add second
2625 non-Private-Shared-Anon-File test.
2626 (test_disasm): Rename binfile for test which is expected
2627 to fail.
2628
2629 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2630
2631 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2632 data in core file".
2633 * gdb.base/coremaker.c (buf2ro): New global.
2634 (mmapdata): Add a read-only mmap mapping.
2635
2636 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2637
2638 PR corefiles/25631
2639 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2640 New test.
2641 * gdb.base/coremaker.c (buf3): New global.
2642 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2643 flags.
2644
2645 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2646
2647 * gdb.base/coremaker.c (filler_ro): New global constant.
2648
2649 2020-07-22 Tom Tromey <tromey@adacore.com>
2650
2651 * gdb.ada/mi_prot.exp: New file.
2652 * gdb.ada/mi_prot/pkg.adb: New file.
2653 * gdb.ada/mi_prot/pkg.ads: New file.
2654 * gdb.ada/mi_prot/prot.adb: New file.
2655
2656 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2657
2658 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2659 loads two JITers.
2660
2661 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2662
2663 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2664
2665 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2666
2667 * gdb.python/py-arch-reg-names.exp: Additional tests.
2668
2669 2020-07-21 Tom de Vries <tdevries@suse.de>
2670
2671 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2672 breakpoint locations".
2673 * gdb.reverse/solib-reverse.exp: Same.
2674
2675 2020-07-21 Tom de Vries <tdevries@suse.de>
2676
2677 * gdb.reverse/step-reverse.c (callee): Merge statements.
2678
2679 2020-07-21 Tom de Vries <tdevries@suse.de>
2680
2681 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2682 line numbers for some variables.
2683
2684 2020-07-21 Tom de Vries <tdevries@suse.de>
2685
2686 * gdb.opt/inline-locals.c (init_array): New func.
2687 (func1): Use init_array.
2688 * gdb.opt/inline-locals.exp: Update pattern.
2689
2690 2020-07-21 Tom de Vries <tdevries@suse.de>
2691
2692 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2693 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2694
2695 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2696
2697 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2698 * gdb.guile/types-module.exp: Remove "ERROR:" from
2699 regexps since Guile 3.0 no longer prints that.
2700
2701 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2702
2703 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2704 error regexp to match on Guile 2.2.
2705
2706 2020-07-20 Gary Benson <gbenson@redhat.com>
2707
2708 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2709 with clang.
2710
2711 2020-07-20 Tom de Vries <tdevries@suse.de>
2712
2713 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2714 (omp_set_lock_in_order): New function.
2715 (single_scope, multi_scope, nested_func, nested_parallel): Use
2716 omp_set_lock_in_order and omp_unset_lock.
2717 (main): Init and destroy lock and lock2.
2718
2719 2020-07-20 Tom de Vries <tdevries@suse.de>
2720
2721 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2722
2723 2020-07-20 Tom de Vries <tdevries@suse.de>
2724
2725 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2726
2727 2020-07-17 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/valgrind-infcall-2.c: New test.
2730 * gdb.base/valgrind-infcall-2.exp: New file.
2731 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2732
2733 2020-07-17 Tom de Vries <tdevries@suse.de>
2734
2735 * gdb.dlang/circular.c (found): Use found_label as label name.
2736 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2737 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2738 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2739 * gdb.dwarf2/ada-linkage-name.exp: Same.
2740 * gdb.dwarf2/arr-subrange.exp: Same.
2741 * gdb.dwarf2/atomic-type.exp: Same.
2742 * gdb.dwarf2/comp-unit-lang.exp: Same.
2743 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2744 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2745 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2746 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2747 * gdb.dwarf2/implptr-64bit.exp: Same.
2748 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2749 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2750 * gdb.dwarf2/imported-unit.exp: Same.
2751 * gdb.dwarf2/main-subprogram.exp: Same.
2752 * gdb.dwarf2/missing-type-name.exp: Same.
2753 * gdb.dwarf2/nonvar-access.exp: Same.
2754 * gdb.dwarf2/struct-with-sig.exp: Same.
2755 * gdb.dwarf2/typedef-void-finish.exp: Same.
2756 * gdb.dwarf2/void-type.exp: Same.
2757
2758 2020-07-17 Tom de Vries <tdevries@suse.de>
2759
2760 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2761 src parameter.
2762 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2763 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2764 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2765 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2766 * gdb.dwarf2/dwz.exp: Same.
2767 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2768 * gdb.dwarf2/implref-array.exp: Same.
2769 * gdb.dwarf2/implref-const.exp: Same.
2770 * gdb.dwarf2/implref-global.exp: Same.
2771 * gdb.dwarf2/implref-struct.exp: Same.
2772 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2773 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2774 * gdb.dwarf2/var-access.exp: Same.
2775 * gdb.dwarf2/varval.exp: Same.
2776 * gdb.trace/entry-values.exp: Same.
2777
2778 2020-07-17 Tom de Vries <tdevries@suse.de>
2779
2780 * lib/dwarf.exp (Dwarf::extern): Remove.
2781 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2782 * gdb.dlang/circular.exp: Same.
2783 * gdb.dwarf2/comp-unit-lang.exp: Same.
2784 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2785 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2786 * gdb.dwarf2/dwz.exp: Same.
2787 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2788 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2789 * gdb.dwarf2/imported-unit.exp: Same.
2790 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2791
2792 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2793
2794 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2795 Use double quotes instead of single quotes.
2796
2797 2020-07-16 Caroline Tice <cmtice@google.com>
2798
2799 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2800 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2801
2802 2020-07-16 Tom de Vries <tdevries@suse.de>
2803
2804 * lib/dwarf.exp (program): Initialize _line.
2805 (DW_LNE_end_sequence): Reinitialize _line.
2806 (DW_LNS_advance_line): Update _line.
2807 (line): New proc.
2808 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2809 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2810 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2811 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2812 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2813 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2814
2815 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2816
2817 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2818 generic.
2819
2820 2020-07-15 Tom de Vries <tdevries@suse.de>
2821
2822 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2823 is_amd64_regs_target.
2824
2825 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2826
2827 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2828 * gdb.fortran/ptype-on-functions.f90: Likewise.
2829
2830 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2831
2832 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2833 values in documentation for addr_size to 4 and 8.
2834
2835 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2836
2837 * gdb.arch/amd64-osabi.exp: Update.
2838 * gdb.arch/arm-disassembler-options.exp: Update.
2839 * gdb.arch/powerpc-disassembler-options.exp: Update.
2840 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2841 * gdb.arch/s390-disassembler-options.exp: Update.
2842 * gdb.base/all-architectures.exp.tcl: Update.
2843 * gdb.base/attach-pie-noexec.exp: Update.
2844 * gdb.base/catch-syscall.exp: Update.
2845 * gdb.xml/tdesc-arch.exp: Update.
2846
2847 2020-07-14 Tom de Vries <tdevries@suse.de>
2848
2849 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2850 (local_gettid): ... this.
2851 (fn): Update.
2852
2853 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2854
2855 * gdb.base/info_sources.exp: Skip directory match tests on
2856 remote hosts.
2857
2858 2020-07-13 Gary Benson <gbenson@redhat.com>
2859
2860 * gdb.base/savedregs.exp (caller): Use parentheses to
2861 make expected expression evaluation ordering explicit.
2862
2863 2020-07-13 Gary Benson <gbenson@redhat.com>
2864
2865 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2866
2867 2020-07-13 Gary Benson <gbenson@redhat.com>
2868
2869 * gdb.base/bigcore.c (main): Use a volatile pointer when
2870 attempting to trigger a SIGSEGV.
2871 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2872 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2873 * gdb.base/savedregs.c (thrower): Likewise.
2874 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2875
2876 2020-07-13 Gary Benson <gbenson@redhat.com>
2877
2878 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2879 defining and using VLA structure fields into...
2880 * gdb.base/vla-struct-fields.c: New file.
2881 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2882 tests into...
2883 * gdb.base/vla-struct-fields.exp: New file.
2884
2885 2020-07-13 Tom de Vries <tdevries@suse.de>
2886
2887 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2888 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2889 * gdb.base/gold-gdb-index.exp: Same.
2890 * gdb.base/morestack.exp: Same.
2891
2892 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2893
2894 PR rust/26121
2895 * gdb.rust/modules.rs: Prevent linker from discarding test
2896 symbol.
2897
2898 2020-07-10 Pedro Alves <pedro@palves.net>
2899
2900 PR gdb/26199
2901 * gdb.multi/multi-target.c (exit_thread): New.
2902 (thread_start): Break loop if EXIT_THREAD.
2903 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2904 (top level) Call test_no_resumed.
2905
2906 2020-07-08 Tom Tromey <tromey@adacore.com>
2907
2908 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2909 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2910
2911 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2912
2913 PR python/22748
2914 * gdb.opt/inline-frame-tailcall.c: New file.
2915 * gdb.opt/inline-frame-tailcall.exp: New file.
2916 * gdb.python/py-unwind-inline.c: New file.
2917 * gdb.python/py-unwind-inline.exp: New file.
2918 * gdb.python/py-unwind-inline.py: New file.
2919
2920 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2921
2922 * gdb.python/py-arch-reg-groups.exp: New file.
2923
2924 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2925
2926 * gdb.python/py-arch-reg-names.exp: New file.
2927
2928 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2929
2930 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2931 gdb.PendingFrame.architecture method.
2932
2933 2020-07-06 Tom de Vries <tdevries@suse.de>
2934
2935 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2936
2937 2020-07-03 Pedro Alves <palves@redhat.com>
2938
2939 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2940 explicitly write negative numbers.
2941 * gdb.base/structs2.exp: Adjust expected output.
2942
2943 2020-07-03 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/charset.c (init_string): Change all char parameters to
2946 unsigned char parameters.
2947
2948 2020-07-03 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.base/call-sc.exp (start_scalars_test): Use
2951 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2952 * gdb.base/overlays.c: Remove references to PARAMS.
2953 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2954 * gdb.base/reread.exp: Don't set 'prototypes' global.
2955 * gdb.base/structs.exp (start_structs_test): Use
2956 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2957 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2958 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2959 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2960 call.
2961 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2962
2963 2020-07-03 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.base/m32rovly.c: Delete.
2966 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2967
2968 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2969
2970 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2971 of gdb_py_test_multiple.
2972 * gdb.python/py-cmd.exp: Likewise.
2973 * gdb.python/py-events.exp: Likewise.
2974 * gdb.python/py-function.exp: Likewise.
2975 * gdb.python/py-inferior.exp: Likewise.
2976 * gdb.python/py-infthread.exp: Likewise.
2977 * gdb.python/py-linetable.exp: Likewise.
2978 * gdb.python/py-parameter.exp: Likewise.
2979 * gdb.python/py-value.exp: Likewise.
2980
2981 2020-06-30 Tom de Vries <tdevries@suse.de>
2982
2983 PR testsuite/26175
2984 * lib/future.exp (gdb_default_target_compile): Detect and handle
2985 early_flags.
2986
2987 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
2988
2989 * boards/simavr.exp (gdb_load): Catch errors when closing
2990 previous connection. Close connection, wait for process and
2991 unset simavr_spawn_id on failure.
2992
2993 2020-06-29 Tom de Vries <tdevries@suse.de>
2994
2995 * lib/gdb.exp (unknown): Make test-case unresolved.
2996
2997 2020-06-29 Tom de Vries <tdevries@suse.de>
2998
2999 PR gdb/25475
3000 * gdb.server/solib-list.exp: Verify that the symbol reload
3001 confirmation question is asked.
3002
3003 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3004
3005 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3006 have a input seq nr in each pass message.
3007 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
3008 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3009 * gdb.python/python.exp: Make test names unique,
3010 use gdb_test_multiline instead of gdb_py_test_multiple,
3011 use $gdb_test_name.
3012 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3013
3014 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
3015
3016 * configure.ac: Add --enable-libctf.
3017 * aclocal.m4: sinclude ../config/enable.m4.
3018 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3019 * lib/gdb.exp (skip_ctf_tests): Use it.
3020 * gdb.base/ctf-constvars.exp: Error message tweak.
3021 * gdb.base/ctf-ptype.exp: Likewise.
3022 * configure: Regenerate.
3023
3024 2020-06-26 Gary Benson <gbenson@redhat.com>
3025
3026 * gdb.cp/try_catch.cc: Include string.h.
3027 (main): Replace comparison against string literal with
3028 strcmp, avoiding build failure with -Wstring-compare.
3029 Add "marker test-complete".
3030 * gdb.cp/try_catch.exp: Run the test to the above marker,
3031 then verify that the value of "test" is still true.
3032
3033 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3034
3035 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3036
3037 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3038
3039 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3040
3041 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3042
3043 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3044 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3045 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3046 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3047 * gdb.arch/riscv-tdesc-loading.exp: New file.
3048
3049 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3050
3051 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3052
3053 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3054
3055 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3056 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3057 * gdb.arch/riscv-tdesc-regs.c: New file.
3058 * gdb.arch/riscv-tdesc-regs.exp: New file.
3059
3060 2020-06-24 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.arch/amd64-entry-value-paramref.exp: Use
3063 prepare_for_testing_full and don't pass "c++" for the .S file
3064 build spec.
3065 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3066 $options, since it's an assembly file. Remove -Wno-deprecated.
3067 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3068 compiling C++ programs.
3069
3070 2020-06-24 Pedro Alves <palves@redhat.com>
3071
3072 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3073 Clang, add "-Wno-unknown-warning-option" to the options.
3074
3075 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3076
3077 * gdb.xml/tdesc-reload.c: New file.
3078 * gdb.xml/tdesc-reload.exp: New file.
3079 * gdb.xml/maint-xml-dump-01.xml: New file.
3080 * gdb.xml/maint-xml-dump-02.xml: New file.
3081 * gdb.xml/maint-xml-dump.exp: New file.
3082
3083 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3084
3085 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3086 Adjust for omitted commands when TUI is disabled.
3087
3088 2020-06-23 Gary Benson <gbenson@redhat.com>
3089 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3092 * gdb.cp/nsimport.cc: Likewise.
3093 * gdb.cp/nsnested.cc: Likewise.
3094 * gdb.cp/nsnoimports.cc: Likewise.
3095 * gdb.cp/nsusing.cc: Likewise.
3096 * gdb.cp/smartp.cc: Likewise.
3097 * gdb.python/py-pp-integral.c: Likewise.
3098 * gdb.python/py-pp-re-notag.c: Likewise.
3099
3100 2020-06-23 Gary Benson <gbenson@redhat.com>
3101
3102 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3103 * gdb.cp/nsimport.cc: Likewise.
3104 * gdb.cp/nsnested.cc: Likewise.
3105 * gdb.cp/nsnoimports.cc: Likewise.
3106 * gdb.cp/nsusing.cc: Likewise.
3107 * gdb.cp/smartp.cc: Likewise.
3108 * gdb.python/py-pp-integral.c: Likewise.
3109 * gdb.python/py-pp-re-notag.c: Likewise.
3110
3111 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3112
3113 * gdb.base/default-args.exp: New test.
3114 * gdb.base/default-args.c: New file.
3115 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3116 * gdb.base/default.exp: Update to new help text.
3117 * gdb.base/help.exp: Likewise.
3118 * gdb.base/page.exp: Likewise.
3119 * gdb.base/style.exp: Likewise.
3120 * gdb.guile/guile.exp: Likewise.
3121 * gdb.python/python.exp: Likewise.
3122
3123 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3124
3125 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3126 remote host. Fix search path syntax on Windows host.
3127
3128 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3129
3130 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3131 over 'exec-file-mismatch'.
3132 * gdb.base/attach.c: Mark should_exit volatile.
3133 * gdb.base/attach2.c: Likewise. Add a comment explaining
3134 why the sleep cannot be big.
3135 * gdb.base/attach3.c: New file.
3136
3137 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3138
3139 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3140 prefix optional.
3141
3142 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3143
3144 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3145 for remote host.
3146
3147 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3148 Hafiz Abid Qadeer <abidh@codesourcery.com>
3149
3150 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3151 file sent to remote host.
3152 (top level): Allow int32_t as type of 32-bit register.
3153
3154 2020-06-19 Tom de Vries <tdevries@suse.de>
3155
3156 * lib/gdb.exp (gdb_note): New proc.
3157 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3158 (gdb_default_target_compile): ... here. Only call
3159 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3160 (use_gdb_compile): Change to array.
3161 (toplevel): Update sets of use_gdb_compile to specify language.
3162 Warn about default_target_compile override. Store dejagnu's version
3163 of default_target_compile in dejagnu_default_target_compile.
3164
3165 2020-06-18 Tom de Vries <tdevries@suse.de>
3166
3167 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3168 (default_gdb_init): ... here.
3169
3170 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3171
3172 Fix TUI support checks in gdb.tui tests.
3173
3174 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3175 just say UNSUPPORTED.
3176 * gdb.tui/corefile-run.exp: Likewise.
3177 * gdb.tui/empty.exp: Likewise.
3178 * gdb.tui/list-before.exp: Likewise.
3179 * gdb.tui/list.exp: Likewise.
3180 * gdb.tui/main.exp: Likewise.
3181 * gdb.tui/regs.exp: Likewise.
3182 * gdb.tui/resize.exp: Likewise.
3183 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3184 * gdb.tui/tui-layout-asm.exp: Likewise.
3185 * gdb.tui/tui-missing-src.exp: Likewise.
3186 * gdb.tui/winheight.exp: Likewise.
3187 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3188
3189 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3190
3191 Fix TCL error in gdb.python/py-format-string.exp.
3192
3193 * gdb.python/py-format-string.exp: Move test for python support
3194 earlier, out of function body.
3195
3196 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
3197
3198 * gdb.base/index-cache-load-twice.c: New.
3199 * gdb.base/index-cache-load-twice.exp: New.
3200
3201 2020-06-17 Keith Seitz <keiths@redhat.com>
3202
3203 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
3204 when executing "gdb --configuration".
3205
3206 2020-06-17 Tom de Vries <tdevries@suse.de>
3207
3208 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3209 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3210 conditional on presence of gdb_tcl_unknown.
3211 (gdb_finish): Make override undo conditional on presence of
3212 gdb_tcl_unknown.
3213
3214 2020-06-16 Tom Tromey <tom@tromey.com>
3215
3216 * gdb.python/tui-window.py (failwin): New function. Register it
3217 as a TUI window type.
3218 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3219
3220 2020-06-16 Gary Benson <gbenson@redhat.com>
3221
3222 * gdb.python/py-nested-maps.c (create_map): Add missing return
3223 value.
3224 (create_map_map): Likewise.
3225
3226 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3227
3228 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3229 variable.
3230 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3231 and use the already-defined 'options' variable.
3232
3233 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3234 Tom de Vries <tdevries@suse.de>
3235
3236 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3237 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3238 (gdb_setup_known_globals): New proc.
3239 (gdb_cleanup_globals): New proc.
3240 * lib/gdb.exp (load_lib): New override proc.
3241 (gdb_stdin_log_init): Set var in_file as persistent global.
3242 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3243 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3244 fpc_compiler as persistent global.
3245
3246 2020-06-12 Tom de Vries <tdevries@suse.de>
3247
3248 * lib/tuiterm.exp (spawn): Rename to ...
3249 (tui_spawn): ... this.
3250 (toplevel): Move rename of spawn ...
3251 (gdb_init_tuiterm): ... here. New proc.
3252 (gdb_finish_tuiterm): New proc.
3253 * lib/gdb.exp (gdb_finish_hooks): New global var.
3254 (gdb_finish): Handle gdb_finish_hooks.
3255 (tuiterm_env): New proc.
3256 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3257 tuiterm_env.
3258 * gdb.tui/basic.exp: Same.
3259 * gdb.tui/corefile-run.exp: Same.
3260 * gdb.tui/empty.exp: Same.
3261 * gdb.tui/list-before.exp: Same.
3262 * gdb.tui/list.exp: Same.
3263 * gdb.tui/main.exp: Same.
3264 * gdb.tui/new-layout.exp: Same.
3265 * gdb.tui/regs.exp: Same.
3266 * gdb.tui/resize.exp: Same.
3267 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3268 * gdb.tui/tui-layout-asm.exp: Same.
3269 * gdb.tui/tui-missing-src.exp: Same.
3270 * gdb.tui/winheight.exp: Same.
3271
3272 2020-06-12 Tom de Vries <tdevries@suse.de>
3273
3274 PR testsuite/26110
3275 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3276 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3277
3278 2020-06-11 Tom Tromey <tom@tromey.com>
3279
3280 PR gdb/18318:
3281 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3282 floating point tests.
3283
3284 2020-06-11 Keith Seitz <keiths@redhat.com>
3285
3286 PR gdb/21356
3287 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3288 vla_struct.
3289 Add new struct vla_typedef and union vla_typedef_union and
3290 corresponding instantiation objects.
3291 Initialize new objects.
3292 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3293 and vla_typedef_union_object.
3294 Fixup type for vla_struct_object.
3295
3296 2020-06-11 Tom de Vries <tdevries@suse.de>
3297
3298 * lib/gdb.exp (with_override): New proc, factored out of ...
3299 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3300
3301 2020-06-10 Tom de Vries <tdevries@suse.de>
3302
3303 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3304
3305 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3306
3307 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3308 parameter, update callers.
3309
3310 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
3311
3312 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3313 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3314 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3315
3316 2020-06-04 Tom de Vries <tdevries@suse.de>
3317
3318 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3319
3320 2020-06-04 Tom de Vries <tdevries@suse.de>
3321
3322 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3323 exp_continue.
3324
3325 2020-06-04 Tom de Vries <tdevries@suse.de>
3326
3327 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3328
3329 2020-06-03 Tom de Vries <tdevries@suse.de>
3330
3331 PR symtab/26046
3332 * gdb.cp/breakpoint-locs-2.cc: New test.
3333 * gdb.cp/breakpoint-locs.cc: New test.
3334 * gdb.cp/breakpoint-locs.exp: New file.
3335 * gdb.cp/breakpoint-locs.h: New test.
3336
3337 2020-06-03 Tom de Vries <tdevries@suse.de>
3338
3339 PR testsuite/25609
3340 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3341 value of global verbose.
3342 * gdb.base/jit-elf.exp: Same.
3343 * gdb.base/jit-reader.exp: Same.
3344
3345 2020-06-02 Tom de Vries <tdevries@suse.de>
3346
3347 * gdb.dwarf2/multidictionary.exp: Don't use
3348 gdb_spawn_with_cmdline_opts.
3349
3350 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3351
3352 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3353 use_header case.
3354 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3355 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3356 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3357 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3358 * gdb.dwarf2/dw2-inline-header.c: New file.
3359 * gdb.dwarf2/dw2-inline-header.h: New file.
3360
3361 2020-05-30 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3364 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3365
3366 2020-05-29 Gary Benson <gbenson@redhat.com>
3367
3368 * gdb.compile/compile-cplus.exp (additional_flags): Also
3369 set when building with clang.
3370 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3371 when building with clang.
3372
3373 2020-05-29 Gary Benson <gbenson@redhat.com>
3374
3375 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3376 building with clang.
3377 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3378
3379 2020-05-29 Gary Benson <gbenson@redhat.com>
3380
3381 * gdb.cp/koenig.exp (prepare_for_testing): Add
3382 additional_flags=-Wno-unused-comparison.
3383 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3384
3385 2020-05-28 Gary Benson <gbenson@redhat.com>
3386
3387 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3388 statement.
3389
3390 2020-05-28 Gary Benson <gbenson@redhat.com>
3391
3392 * gdb.cp/classes.exp (prepare_for_testing): Add
3393 additional_flags=-Wno-deprecated-register.
3394 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3395 * gdb.cp/misc.exp: Likewise.
3396
3397 2020-05-28 Gary Benson <gbenson@redhat.com>
3398
3399 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3400 (test_op_new::operator new): Add return statement.
3401 (test_op_new_array::operator new[]): Likewise.
3402
3403 2020-05-27 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3406 check. Use test_gdb_complete_unique instead of
3407 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3408 test_gdb_complete_multiple instead of
3409 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3410
3411 2020-05-27 Luis Machado <luis.machado@linaro.org>
3412
3413 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3414 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3415 * gdb.arch/arm-disassembler-options.exp: Likewise.
3416 * gdb.arch/arm-disp-step.exp: Likewise.
3417 * gdb.arch/thumb-prologue.exp: Likewise.
3418 * gdb.base/async.exp: Likewise.
3419 * gdb.base/auxv.exp: Likewise.
3420 * gdb.base/complex-parts.exp: Likewise.
3421 * gdb.base/ena-dis-br.exp: Likewise.
3422 * gdb.base/foll-exec.exp: Likewise.
3423 * gdb.base/permissions.exp: Likewise.
3424 * gdb.base/relocate.exp: Likewise.
3425 * gdb.base/return2.exp: Likewise.
3426 * gdb.base/sigbpt.exp: Likewise.
3427 * gdb.base/siginfo-obj.exp: Likewise.
3428 * gdb.cp/converts.exp: Likewise.
3429 * gdb.cp/exceptprint.exp: Likewise.
3430 * gdb.cp/inherit.exp: Likewise.
3431 * gdb.cp/nsnoimports.exp: Likewise.
3432 * gdb.cp/virtbase2.exp: Likewise.
3433 * gdb.mi/mi-var-cmd.exp: Likewise.
3434 * gdb.mi/var-cmd.c: Likewise.
3435
3436 2020-05-26 Tom Tromey <tromey@adacore.com>
3437
3438 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3439
3440 2020-05-26 Tom Tromey <tromey@adacore.com>
3441
3442 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3443 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3444 type.
3445 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3446 variable.
3447
3448 2020-05-26 Christian Biesinger <cbiesinger@google.com>
3449
3450 * Makefile.in: Use = instead of == for the test command
3451 for portability.
3452
3453 2020-05-26 Tom de Vries <tdevries@suse.de>
3454
3455 * gdb.base/gold-gdb-index-2.c: New test.
3456 * gdb.base/gold-gdb-index.c: New test.
3457 * gdb.base/gold-gdb-index.exp: New file.
3458 * gdb.base/gold-gdb-index.h: New test.
3459
3460 2020-05-25 Tom de Vries <tdevries@suse.de>
3461
3462 * boards/gold-gdb-index.exp: New file.
3463
3464 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3465
3466 * boards/simavr.exp: New file.
3467
3468 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3469
3470 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3471 * gdb.base/inferior-args.exp: New file.
3472 * gdb.base/inferior-args.c: New file.
3473
3474 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3475
3476 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3477 inferior_args. Pass it to gdb_reload.
3478 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3479 inferior_args.
3480 (gdb_reload): Add inferior_args argument.
3481 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3482 pass it to gdbserver_run.
3483 * boards/native-gdbserver.exp: Do not set noargs.
3484 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3485 inferior_args argument.
3486 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3487 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3488 * gdb.base/args.exp: Likewise.
3489
3490 2020-05-25 Tom de Vries <tdevries@suse.de>
3491
3492 * lib/gdb.exp (exec_is_pie): Add comment.
3493
3494 2020-05-25 Tom de Vries <tdevries@suse.de>
3495
3496 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3497 instead of $binfile in the untested message.
3498
3499 2020-05-25 Tom de Vries <tdevries@suse.de>
3500
3501 PR testsuite/26031
3502 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3503
3504 2020-05-25 Tom de Vries <tdevries@suse.de>
3505
3506 * boards/gold.exp: New file.
3507
3508 2020-05-23 Tom Tromey <tom@tromey.com>
3509
3510 * gdb.base/style.exp: Remove completion styling test.
3511 * lib/gdb-utils.exp (style): Remove completion styles.
3512
3513 2020-05-23 Tom Tromey <tom@tromey.com>
3514
3515 * gdb.base/style.exp: Add completion styling test.
3516 * lib/gdb-utils.exp (style): Add completion styles.
3517
3518 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3519
3520 * gdb.base/annota1.exp: Update expected results.
3521 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3522 test name.
3523 * gdb.cp/annota3.exp: Update expected results.
3524
3525 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
3526
3527 PR gdb/26016
3528 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3529 against MAP_FAILED.
3530 * gdb.base/coremaker.c (mmapdata): Likewise.
3531 * gdb.base/jit-reader-host.c (main): Likewise.
3532 * gdb.base/sym-file-loader.c (load): Likewise.
3533 (load_shlib): Likewise.
3534
3535 2020-05-20 Tom Tromey <tromey@adacore.com>
3536
3537 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3538
3539 2020-05-20 Tom de Vries <tdevries@suse.de>
3540
3541 PR symtab/25833
3542 * gdb.base/with-mf-inc.c: New test.
3543 * gdb.base/with-mf-main.c: New test.
3544 * gdb.base/with-mf.exp: New file.
3545
3546 2020-05-19 Tom Tromey <tromey@adacore.com>
3547
3548 * gdb.rust/simple.exp: Restore missing test result.
3549
3550 2020-05-19 Tom de Vries <tdevries@suse.de>
3551
3552 * gdb.base/gdb-caching-proc.exp: Fix typo.
3553
3554 2020-05-19 Tom Tromey <tromey@adacore.com>
3555
3556 * gdb.rust/simple.exp: Add some test descriptions.
3557 (test_one_slice): Use with_test_prefix.
3558
3559 2020-05-18 Tom de Vries <tdevries@suse.de>
3560
3561 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3562
3563 2020-05-17 Pedro Alves <palves@redhat.com>
3564
3565 PR gdb/25741
3566 * gdb.base/hw-sw-break-same-address.exp: New file.
3567
3568 2020-05-16 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3571 LAST_LOADED_FILE accordingly.
3572
3573 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3574
3575 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3576
3577 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3578
3579 * gdb.base/help.exp: Test apropos and help for commands
3580 having aliases. Fixed comments not starting with an
3581 upper-case letter or not finishing with a dot.
3582
3583 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3584
3585 * gdb.base/alias.exp: Update help output check.
3586
3587 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3588
3589 * gdb.base/default.exp: Update output following fixes.
3590
3591 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3592
3593 * gdb.base/alias.exp: Test aliases starting with a prefix of
3594 another alias.
3595
3596 2020-05-15 Gary Benson <gbenson@redhat.com>
3597
3598 * gdb.base/info-os.c (main): Add return statement.
3599 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3600 * gdb.base/large-frame-2.c (func): Likewise.
3601 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3602 * gdb.base/pr10179-b.c (foo2): Likewise.
3603 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3604 * gdb.base/watch-cond.c (func): Likewise.
3605 * gdb.multi/goodbye.c (verylongfun): Likewise.
3606 * gdb.multi/hello.c (commonfun): Likewise.
3607 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3608 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3609 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3610 Likewise.
3611 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3612 * gdb.threads/interrupt-while-step-over.c (child_function):
3613 Likewise.
3614 * gdb.trace/actions-changed.c (end): Likewise.
3615
3616 2020-05-15 Gary Benson <gbenson@redhat.com>
3617
3618 * gdb.opencl/callfuncs.exp: Report when test skipped.
3619 * gdb.opencl/convs_casts.exp: Likewise.
3620 * gdb.opencl/datatypes.exp: Likewise.
3621 * gdb.opencl/operators.exp: Likewise.
3622 * gdb.opencl/vec_comps.exp: Likewise.
3623
3624 2020-05-15 Tom de Vries <tdevries@suse.de>
3625
3626 * gdb.base/align.exp.in: Rename to ...
3627 * gdb.base/align.exp.tcl: ... this.
3628 * gdb.base/align-c++.exp: Update.
3629 * gdb.base/align-c.exp: Update.
3630 * gdb.base/all-architectures.exp.in: Rename to ...
3631 * gdb.base/all-architectures.exp: ... this.
3632 * gdb.base/all-architectures-0.exp: Update.
3633 * gdb.base/all-architectures-1.exp: Update.
3634 * gdb.base/all-architectures-2.exp: Update.
3635 * gdb.base/all-architectures-3.exp: Update.
3636 * gdb.base/all-architectures-4.exp: Update.
3637 * gdb.base/all-architectures-5.exp: Update.
3638 * gdb.base/all-architectures-6.exp: Update.
3639 * gdb.base/all-architectures-7.exp: Update.
3640 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3641 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3642 * gdb.base/infcall-nested-structs-c++.exp: Update.
3643 * gdb.base/infcall-nested-structs-c.exp: Update.
3644 * gdb.base/info-types.exp.in: Rename to ...
3645 * gdb.base/info-types.exp.tcl: ... this.
3646 * gdb.base/info-types-c++.exp: Update.
3647 * gdb.base/info-types-c.exp: Update.
3648 * gdb.base/max-depth.exp.in: Rename to ...
3649 * gdb.base/max-depth.exp.tcl: ... this.
3650 * gdb.base/max-depth-c++.exp: Update.
3651 * gdb.base/max-depth-c.exp: Update.
3652 * gdb.cp/cpexprs.exp.in: Rename to ...
3653 * gdb.cp/cpexprs.exp.tcl: ... this.
3654 * gdb.cp/cpexprs-debug-types.exp: Update.
3655 * gdb.cp/cpexprs.exp: Update.
3656 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3657 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3658 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3659 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3660 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3661 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3662 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3663 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3664 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3665 * gdb.dwarf2/clang-debug-names.exp: Update.
3666
3667 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3668
3669 * lib/check-test-names.exp: Remove code that prevents this file
3670 loading when tests are run in parallel.
3671
3672 2020-05-15 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.multi/multi-kill.exp (start_inferior): Remove
3675 'testpid' parameter. Refer to namespace variable directly.
3676 (testpid): Declare as namespace variable.
3677
3678 2020-05-15 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.multi/multi-kill.exp: Wrap in namespace.
3681 (start_inferior): Add TESTPID parameter. Use it instead of the
3682 testpid global.
3683 (top level): Define empty TESTPID array, and pass it down to
3684 start_inferior.
3685
3686 2020-05-14 Tom de Vries <tdevries@suse.de>
3687
3688 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3689 output.
3690
3691 2020-05-14 Tom de Vries <tdevries@suse.de>
3692
3693 * gdb.base/align.exp: Split into ...
3694 * gdb.base/align.exp.in: ...
3695 * gdb.base/align-c++.exp: ...
3696 * gdb.base/align-c.exp: ... these.
3697 * gdb.base/infcall-nested-structs.exp: Split into ...
3698 * gdb.base/infcall-nested-structs.exp.in: ...
3699 * gdb.base/infcall-nested-structs-c++.exp: ...
3700 * gdb.base/infcall-nested-structs-c.exp: ... these.
3701 * gdb.base/info-types.exp: Split into ...
3702 * gdb.base/info-types.exp.in: ...
3703 * gdb.base/info-types-c++.exp: ...
3704 * gdb.base/info-types-c.exp: ... these.
3705 * gdb.base/max-depth.exp: Split into ...
3706 * gdb.base/max-depth.exp.in: ...
3707 * gdb.base/max-depth-c++.exp: ...
3708 * gdb.base/max-depth-c.exp: ... these.
3709 * gdb.cp/infcall-nodebug.exp: Split into ...
3710 * gdb.cp/infcall-nodebug.exp.in: ...
3711 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3712 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3713 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3714 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3715
3716 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3717 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.multi/multi-exit.c: New file.
3720 * gdb.multi/multi-exit.exp: New file.
3721 * gdb.multi/multi-kill.c: New file.
3722 * gdb.multi/multi-kill.exp: New file.
3723
3724 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3725
3726 * gdb.base/annota1.exp: Update the expected output.
3727 * gdb.cp/annota2.exp: Ditto.
3728
3729 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3730
3731 * lib/check-test-names.exp: Disable when testing is being run in
3732 parallel.
3733
3734 2020-05-12 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.base/jit-elf.exp: Fix string concat.
3737
3738 2020-05-12 Tom de Vries <tdevries@suse.de>
3739
3740 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3741 messages.
3742
3743 2020-05-12 Tom de Vries <tdevries@suse.de>
3744
3745 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3746
3747 2020-05-12 Tom de Vries <tdevries@suse.de>
3748
3749 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3750 * gdb.ada/mi_catch_ex.exp: Same.
3751 * gdb.ada/mi_catch_ex_hand.exp: Same.
3752
3753 2020-05-12 Tom de Vries <tdevries@suse.de>
3754
3755 * gdb.fortran/complex.exp: Use with_test_prefix.
3756
3757 2020-05-12 Tom de Vries <tdevries@suse.de>
3758
3759 * gdb.trace/passcount.exp: Fix test-names.
3760
3761 2020-05-12 Tom de Vries <tdevries@suse.de>
3762
3763 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3764
3765 2020-05-12 Tom de Vries <tdevries@suse.de>
3766
3767 * gdb.gdb/complaints.exp: Use with_test_prefix.
3768 * gdb.xml/tdesc-regs.exp: Same.
3769 * gdb.opt/inline-locals.exp: Fix test name.
3770
3771 2020-05-12 Tom de Vries <tdevries@suse.de>
3772
3773 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3774 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3775 * gdb.dwarf2/implref-struct.exp: Same.
3776 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3777 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3778
3779 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3780
3781 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3782
3783 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3784
3785 * lib/check-test-names.exp (all_test_names): New module variable.
3786 (counts): Add 'duplicates' field.
3787 (_check_duplicates): New procedure.
3788 (check): Also check for duplicates.
3789 (do_log_summary): Print duplicates count.
3790 (do_reset_vars): Reset counter for duplicate test names, and
3791 discard all know test names.
3792
3793 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3794
3795 * lib/gdb.exp: Include check-test-names.exp library.
3796 * lib/check-test-names.exp: New file.
3797
3798 2020-05-11 Tom de Vries <tdevries@suse.de>
3799
3800 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3801
3802 2020-05-11 Keith Seitz <keiths@redhat.com>
3803
3804 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3805
3806 2020-05-11 Tom de Vries <tdevries@suse.de>
3807
3808 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3809 * gdb.cp/cpexprs.exp.in: .. here.
3810 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3811 cpexprs.exp.
3812
3813 2020-05-11 Keith Seitz <keiths@redhat.com>
3814
3815 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3816 test names.
3817 * gdb.ada/arrayptr.exp: Likewise.
3818 * gdb.ada/assign_arr.exp: Likewise.
3819 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3820 * gdb.ada/bp_on_var.exp: Likewise.
3821 * gdb.ada/call_pn.exp: Likewise.
3822 * gdb.ada/complete.exp: Likewise.
3823 * gdb.ada/fun_overload_menu.exp: Likewise.
3824 * gdb.ada/funcall_param.exp: Likewise.
3825 * gdb.ada/funcall_ref.exp: Likewise.
3826 * gdb.ada/packed_array_assign.exp: Likewise.
3827 * gdb.ada/same_component_name.exp: Likewise.
3828 * gdb.ada/type_coercion.exp: Likewise.
3829 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3830 * gdb.ada/variant_record_packed_array.exp: Likewise.
3831
3832 2020-05-11 Tom de Vries <tdevries@suse.de>
3833
3834 PR symtab/25941
3835 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3836 out of ...
3837 * gdb.dwarf2/clang-debug-names.exp: ... here.
3838 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3839 clang-debug-names.exp.in.
3840 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3841 * gdb.dwarf2/clang-debug-names-2.c: New test.
3842
3843 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3844
3845 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3846 (fortran_runto_main): New Proc, fortran version of runto_main.
3847 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3848 * gdb.fortran/array-bounds.exp: Likewise.
3849 * gdb.fortran/array-slices.exp: Likewise.
3850 * gdb.fortran/block-data.exp: Likewise.
3851 * gdb.fortran/charset.exp: Likewise.
3852 * gdb.fortran/common-block.exp: Likewise.
3853 * gdb.fortran/complex.exp: Likewise.
3854 * gdb.fortran/derived-type-function.exp: Likewise.
3855 * gdb.fortran/derived-type.exp: Likewise.
3856 * gdb.fortran/info-modules.exp: Likewise.
3857 * gdb.fortran/info-types.exp: Likewise.
3858 * gdb.fortran/intrinsics.exp: Likewise.
3859 * gdb.fortran/library-module.exp: Likewise.
3860 * gdb.fortran/logical.exp: Likewise.
3861 * gdb.fortran/max-depth.exp: Likewise.
3862 * gdb.fortran/module.exp: Likewise.
3863 * gdb.fortran/multi-dim.exp: Likewise.
3864 * gdb.fortran/nested-funcs.exp: Likewise.
3865 * gdb.fortran/print-formatted.exp: Likewise.
3866 * gdb.fortran/print_type.exp: Likewise.
3867 * gdb.fortran/printing-types.exp: Likewise.
3868 * gdb.fortran/ptr-indentation.exp: Likewise.
3869 * gdb.fortran/ptype-on-functions.exp: Likewise.
3870 * gdb.fortran/subarray.exp: Likewise.
3871 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3872 * gdb.fortran/vla-datatypes.exp: Likewise.
3873 * gdb.fortran/vla-history.exp: Likewise.
3874 * gdb.fortran/vla-ptr-info.exp: Likewise.
3875 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3876 * gdb.fortran/vla-ptype.exp: Likewise.
3877 * gdb.fortran/vla-sizeof.exp: Likewise.
3878 * gdb.fortran/vla-type.exp: Likewise.
3879 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3880 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3881 * gdb.fortran/vla-value-sub.exp: Likewise.
3882 * gdb.fortran/vla-value.exp: Likewise.
3883 * gdb.fortran/whatis_type.exp: Likewise.
3884 * gdb.mi/mi-var-child-f.exp: Likewise.
3885
3886 2020-05-09 Tom de Vries <tdevries@suse.de>
3887
3888 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3889
3890 2020-05-08 Tom de Vries <tdevries@suse.de>
3891
3892 * gdb.dwarf2/clang-debug-names.c: New test.
3893 * gdb.dwarf2/clang-debug-names.exp: New file.
3894
3895 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
3896
3897 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3898 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3899
3900 2020-05-06 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3903 breakpoint is at a "recommended breakpoint location".
3904 * gdb.reverse/consecutive-reverse.exp: Same.
3905
3906 2020-05-06 Tom de Vries <tdevries@suse.de>
3907
3908 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3909 address.
3910
3911 2020-05-06 Tom de Vries <tdevries@suse.de>
3912
3913 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3914
3915 2020-05-06 Tom de Vries <tdevries@suse.de>
3916
3917 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3918 info for r.
3919
3920 2020-05-06 Tom de Vries <tdevries@suse.de>
3921
3922 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3923 necessary.
3924
3925 2020-05-06 Tom de Vries <tdevries@suse.de>
3926
3927 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3928 void.
3929
3930 2020-05-06 Tom de Vries <tdevries@suse.de>
3931
3932 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3933 of ...
3934 * gdb.base/async.exp: ... here.
3935 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3936 "recommended breakpoint location".
3937
3938 2020-05-06 Tom de Vries <tdevries@suse.de>
3939
3940 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3941
3942 2020-05-04 Tom de Vries <tdevries@suse.de>
3943
3944 * gdb.base/async.exp: Check whether instruction addresses are a
3945 "recommended breakpoint location".
3946
3947 2020-05-03 Tom Tromey <tom@tromey.com>
3948
3949 * gdb.base/sepdebug.exp: Remove "catch" test.
3950 * gdb.base/break.exp: Remove "catch" test.
3951 * gdb.base/default.exp: Update expected output.
3952
3953 2020-05-02 Tom de Vries <tdevries@suse.de>
3954
3955 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3956 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3957 * gdb.arch/i386-mpx-map.exp: Same.
3958 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3959 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3960 * gdb.arch/i386-mpx.exp: Same.
3961
3962 2020-05-02 Tom de Vries <tdevries@suse.de>
3963
3964 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3965
3966 2020-05-01 Tom de Vries <tdevries@suse.de>
3967
3968 * gdb.ada/operator_bp.exp: Allow more than required amount of
3969 breakpoint.
3970
3971 2020-05-01 Tom de Vries <tdevries@suse.de>
3972
3973 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3974
3975 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
3976
3977 PR gdb/18706
3978 * gdb.cp/stub-array-size.cc: New test.
3979 * gdb.cp/stub-array-size.exp: New file.
3980 * gdb.cp/stub-array-size.h: New test.
3981 * gdb.cp/stub-array-size2.cc: New test.
3982
3983 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
3984
3985 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3986 output to the new format.
3987
3988 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
3989
3990 * gdb.base/break.exp: Use with_test_prefix.
3991
3992 2020-04-29 Tom de Vries <tdevries@suse.de>
3993
3994 * lib/gdb.exp (debug_types): New proc.
3995 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3996 * gdb.python/py-symtab.exp: Same.
3997
3998 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
3999
4000 PR gdb/17320
4001 * gdb.base/pretty-array.c: New test.
4002 * gdb.base/pretty-array.exp: New file.
4003
4004 2020-04-29 Tom de Vries <tdevries@suse.de>
4005
4006 PR symtab/25889
4007 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4008 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4009 and include cpexprs.exp.
4010
4011 2020-04-28 Mark Williams <mark@myosotissp.com>
4012
4013 PR gdb/24480
4014 * dw4-toplevel-types.exp: Test for top level types.
4015 * dw4-toplevel-types.cc: Test for top level types.
4016
4017 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4018
4019 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4020 (theads -> threads).
4021
4022 2020-04-28 Tom de Vries <tdevries@suse.de>
4023
4024 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4025
4026 2020-04-28 Tom de Vries <tdevries@suse.de>
4027
4028 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4029
4030 2020-04-28 Tom de Vries <tdevries@suse.de>
4031
4032 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4033
4034 2020-04-28 Tom de Vries <tdevries@suse.de>
4035
4036 * gdb.dwarf2/main-foo.c: New test.
4037 * gdb.dwarf2/struct-with-sig.exp: New file.
4038
4039 2020-04-25 Tom de Vries <tdevries@suse.de>
4040
4041 * boards/debug-types.exp: New file.
4042
4043 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4044
4045 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4046
4047 2020-04-24 Tom Tromey <tom@tromey.com>
4048
4049 PR symtab/12707:
4050 * gdb.python/py-symbol.exp: Update expected results for
4051 linkage_name test.
4052 * gdb.cp/print-demangle.exp: New file.
4053 * gdb.base/c-linkage-name.exp: Fix test.
4054 * gdb.guile/scm-symbol.exp: Update expected results for
4055 linkage_name test.
4056
4057 2020-04-24 Tom Tromey <tom@tromey.com>
4058
4059 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4060 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4061 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4062 assembler.
4063
4064 2020-04-24 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4067 C++.
4068
4069 2020-04-24 Tom Tromey <tromey@adacore.com>
4070
4071 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4072 values.
4073 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4074 values. Update test for minimal encodings.
4075 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4076 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4077 values. Update test for minimal encodings.
4078
4079 2020-04-24 Tom Tromey <tromey@adacore.com>
4080
4081 PR python/23662:
4082 * gdb.ada/variant.exp: Add Python checks.
4083 * gdb.rust/simple.exp: Add dynamic type checks.
4084
4085 2020-04-24 Tom Tromey <tromey@adacore.com>
4086
4087 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4088 Make array type matching more lax.
4089 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4090 * gdb.ada/mi_variant.exp: New file.
4091 * gdb.ada/mi_variant/pck.ads: New file.
4092 * gdb.ada/mi_variant/pkg.adb: New file.
4093 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4094 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4095
4096 2020-04-24 Tom Tromey <tromey@adacore.com>
4097
4098 * gdb.ada/variant.exp: Add dynamic field offset tests.
4099 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4100 * gdb.ada/variant/pkg.adb: Add new variables.
4101
4102 2020-04-24 Tom Tromey <tromey@adacore.com>
4103
4104 * gdb.ada/variant.exp: New file
4105 * gdb.ada/variant/pkg.adb: New file
4106 * gdb.ada/variant/pck.adb: New file
4107
4108 2020-04-24 Tom de Vries <tdevries@suse.de>
4109
4110 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4111
4112 2020-04-24 Tom de Vries <tdevries@suse.de>
4113
4114 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4115 flags.
4116
4117 2020-04-24 Tom de Vries <tdevries@suse.de>
4118
4119 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4120
4121 2020-04-24 Tom de Vries <tdevries@suse.de>
4122
4123 * lib/gdb.exp (default_gdb_start): Handle eof.
4124 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4125 failure.
4126 * gdb.base/readnever.exp: Handle clean_restart failure.
4127
4128 2020-04-23 Tom de Vries <tdevries@suse.de>
4129
4130 * gdb.base/decl-before-def.exp: Run to main and print a again.
4131
4132 2020-04-23 Tom de Vries <tdevries@suse.de>
4133
4134 * gdb.base/decl-before-def-decl.c: New test.
4135 * gdb.base/decl-before-def-def.c: New test.
4136 * gdb.base/decl-before-def.exp: New file.
4137
4138 2020-04-23 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4141
4142 2020-04-22 Tom de Vries <tdevries@suse.de>
4143
4144 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4145 debug_info_offset.
4146 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4147 before $objsfile in the line line.
4148
4149 2020-04-22 Tom de Vries <tdevries@suse.de>
4150
4151 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4152
4153 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4154
4155 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4156 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4157 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4158 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4159 * gdb.base/jit-protocol.h: Update definitions to match all usage
4160 contexts.
4161
4162 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4163
4164 * gdb.base: Rename all jit related test and source files.
4165
4166 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4167
4168 * gdb.base/jit-reader.exp: Relax register output check.
4169
4170 2020-04-22 Tom de Vries <tdevries@suse.de>
4171
4172 PR symtab/25764
4173 * gdb.base/psym-external-decl-2.c: New test.
4174 * gdb.base/psym-external-decl.c: New test.
4175 * gdb.base/psym-external-decl.exp: New file.
4176 * gdb.threads/tls.exp: Add PR25807 kfail.
4177
4178 2020-04-22 Tom de Vries <tdevries@suse.de>
4179
4180 PR symtab/25801
4181 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4182 in "info source" output.
4183
4184 2020-04-22 Tom de Vries <tdevries@suse.de>
4185
4186 PR symtab/25700
4187 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4188 symtab for imported_unit.c.
4189
4190 2020-04-21 Gary Benson <gbenson@redhat.com>
4191
4192 * gdb.base/advance.c (func): New argument, to match call site.
4193 (func2, func3): Add return statements.
4194
4195 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4196
4197 * gdb.multi/run-only-second-inf.c: New file.
4198 * gdb.multi/run-only-second-inf.exp: New file.
4199
4200 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4201
4202 * gdb.btrace/multi-inferior.c: New test.
4203 * gdb.btrace/multi-inferior.exp: New file.
4204
4205 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4206
4207 * gdb.btrace/enable-new-thread.c: New test.
4208 * gdb.btrace/enable-new-thread.exp: New file.
4209
4210 2020-04-21 Tom de Vries <tdevries@suse.de>
4211
4212 PR gdb/25471
4213 * gdb.threads/killed-outside.c: New test.
4214 * gdb.threads/killed-outside.exp: New file.
4215
4216 2020-04-20 Gary Benson <gbenson@redhat.com>
4217
4218 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4219 * gdb.base/nested-subp2.exp: Likewise.
4220 * gdb.base/nested-subp3.exp: Likewise.
4221
4222 2020-04-20 Gary Benson <gbenson@redhat.com>
4223
4224 * gdb.base/nested-subp1.exp: Disable test when using clang.
4225 * gdb.base/nested-subp2.exp: Likewise.
4226 * gdb.base/nested-subp3.exp: Likewise.
4227
4228 2020-04-20 Gary Benson <gbenson@redhat.com>
4229
4230 * gdb.cp/exception.cc: Fix compilation error with clang.
4231
4232 2020-04-20 Gary Benson <gbenson@redhat.com>
4233
4234 * gdb.trace/tspeed.c: Fix compilation error with clang.
4235
4236 2020-04-20 Gary Benson <gbenson@redhat.com>
4237
4238 * gdb.base/jit-main.c: Fix compilation error with clang.
4239
4240 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4241
4242 * gdb.base/attach-twice.c: Include "sys/types.h".
4243 (PTRACE_ATTACH): Add fallback definition.
4244 (main): Pass `0' to the 4th argument of `ptrace'.
4245
4246 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4247
4248 * gdb.base/fork-running-state.c: Include "signal.h".
4249
4250 2020-04-17 Tom Tromey <tromey@adacore.com>
4251
4252 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4253 Update tests.
4254 * gdb.btrace/cpu.exp: Update tests.
4255 * gdb.base/maint.exp: Update tests.
4256 * gdb.base/default.exp: Update tests.
4257 * gdb.base/completion.exp: Update tests.
4258
4259 2020-04-16 Tom de Vries <tdevries@suse.de>
4260
4261 PR symtab/25791
4262 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4263 (ensure_gdb_index): and factor out and move ...
4264 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4265 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4266
4267 2020-04-16 Tom de Vries <tdevries@suse.de>
4268
4269 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4270 loading exec.
4271
4272 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4273
4274 * gdb.base/many-completions.exp: New file.
4275
4276 2020-04-14 Tom de Vries <tdevries@suse.de>
4277
4278 PR symtab/25718
4279 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4280
4281 2020-04-14 Tom de Vries <tdevries@suse.de>
4282
4283 PR symtab/25720
4284 * gdb.base/maint-expand-symbols-header-file.c: New test.
4285 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4286 * gdb.base/maint-expand-symbols-header-file.h: New test.
4287
4288 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4289
4290 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4291 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4292 get_func_info.
4293 (get_func_info): Delete.
4294 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4295 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4296 * lib/dwarf.exp (get_func_info): New function.
4297
4298 2020-04-13 Tom de Vries <tdevries@suse.de>
4299
4300 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4301 to what find_gnatmake does.
4302
4303 2020-04-10 Tom de Vries <tdevries@suse.de>
4304
4305 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4306 -readnow.
4307
4308 2020-04-10 Tom de Vries <tdevries@suse.de>
4309
4310 PR cli/25808
4311 * gdb.base/style.c: Add leading newlines.
4312 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4313 Check listing of main's one-line body.
4314
4315 2020-04-08 Tom de Vries <tdevries@suse.de>
4316
4317 * lib/gdb.exp (psymtabs_p): New proc.
4318 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4319 importing unit" unsupported if there are no partial symbols.
4320
4321 2020-04-08 Tom de Vries <tdevries@suse.de>
4322
4323 PR testsuite/25760
4324 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4325
4326 2020-04-07 Tom de Vries <tdevries@suse.de>
4327
4328 PR symtab/25796
4329 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4330
4331 2020-04-07 Tom de Vries <tdevries@suse.de>
4332
4333 * gdb.base/check-psymtab.c: New test.
4334 * gdb.base/check-psymtab.exp: New file.
4335
4336 2020-04-06 Tom Tromey <tromey@adacore.com>
4337
4338 * gdb.ada/variant-record/proc.adb: New file.
4339 * gdb.ada/variant-record/value.adb: New file.
4340 * gdb.ada/variant-record/value.s: New file.
4341 * gdb.ada/variant-record.exp: New file.
4342
4343 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
4344
4345 PR gdb/25325
4346 * gdb.cp/typed-enum.cc: New test.
4347 * gdb.cp/typed-enum.exp: New file.
4348
4349 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4350
4351 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4352 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4353 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4354 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4355 * gdb.opt/inline-small-func.c: New file.
4356 * gdb.opt/inline-small-func.exp: New file.
4357 * gdb.opt/inline-small-func.h: New file.
4358
4359 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4360
4361 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4362 function.
4363
4364 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4365
4366 * lib/dwarf.exp (function_range): Allow compiler options to be
4367 specified.
4368
4369 2020-04-02 Tom de Vries <tdevries@suse.de>
4370
4371 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4372 __attribute__((always_inline)).
4373 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4374
4375 2020-04-02 Tom de Vries <tdevries@suse.de>
4376
4377 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4378 (gdbserver_gdb_exit): ... here. Add timeout warning.
4379 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4380 (connect_target_extended_remote): Append new server_spawn_id to
4381 server_spawn_ids.
4382 (cleanup): New proc.
4383 (setup, <toplevel>): Call cleanup.
4384
4385 2020-04-02 Tom de Vries <tdevries@suse.de>
4386
4387 * gdb.base/main-psymtab.exp: New file.
4388
4389 2020-04-02 Tom de Vries <tdevries@suse.de>
4390
4391 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4392
4393 2020-04-01 Tom Tromey <tom@tromey.com>
4394
4395 * gdb.base/complex-parts.exp: Add type tests.
4396
4397 2020-04-01 Tom Tromey <tom@tromey.com>
4398
4399 * gdb.base/complex-parts.exp: Add arithmetic tests.
4400
4401 2020-04-01 Tom Tromey <tom@tromey.com>
4402
4403 * gdb.compile/compile.exp: Update.
4404 * gdb.compile/compile-cplus.exp: Update.
4405 * gdb.base/varargs.exp: Update.
4406 * gdb.base/floatn.exp: Update.
4407 * gdb.base/endianity.exp: Update.
4408 * gdb.base/callfuncs.exp (do_function_calls): Update.
4409 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4410 (complex_float_integral_args): Update.
4411 * gdb.base/complex.exp: Update.
4412 * gdb.base/complex-parts.exp: Update.
4413
4414 2020-04-01 Tom Tromey <tromey@adacore.com>
4415
4416 * gdb.rust/union.rs: New file.
4417 * gdb.rust/union.exp: New file.
4418 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4419 (main): Update.
4420 * gdb.rust/simple.exp: Move union tests to union.exp.
4421
4422 2020-04-01 Tom Tromey <tromey@adacore.com>
4423
4424 * gdb.rust/simple.rs (main): Remove "y0".
4425
4426 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4427
4428 * gdb.multi/stop-all-on-exit.c: New test.
4429 * gdb.multi/stop-all-on-exit.exp: New file.
4430
4431 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
4432
4433 PR gdb/24789
4434 * gdb.cp/misc.cc: Add integer reference variable.
4435 * gdb.cp/misc.exp: Add test.
4436
4437 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4438
4439 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4440 scenario to cover execution until the end and also the case
4441
4442 2020-03-31 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4445 c. Use "maint info symtabs" to check symtab expansion.
4446
4447 2020-03-30 Tom de Vries <tdevries@suse.de>
4448
4449 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4450 unsupported.
4451 (verify_psymtab_expanded): Move ...
4452 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4453 test.
4454 (readnow): New proc.
4455
4456 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4457
4458 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4459 with $hex.
4460
4461 2020-03-20 Tom Tromey <tromey@adacore.com>
4462
4463 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4464
4465 2020-03-20 Tom Tromey <tromey@adacore.com>
4466
4467 * gdb.ada/sub_variant/subv.adb: New file.
4468 * gdb.ada/sub_variant.exp: New file.
4469
4470 2020-03-20 Tom de Vries <tdevries@suse.de>
4471
4472 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4473 first break fails.
4474 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4475
4476 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4477
4478 * gdb.server/exit-multiple-threads.c: New file.
4479 * gdb.server/exit-multiple-threads.exp: New file.
4480
4481 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4482
4483 * gdb.fortran/mixed-lang-stack.c: New file.
4484 * gdb.fortran/mixed-lang-stack.cpp: New file.
4485 * gdb.fortran/mixed-lang-stack.exp: New file.
4486 * gdb.fortran/mixed-lang-stack.f90: New file.
4487
4488 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4489
4490 * gdb.linespec/cp-completion-aliases.cc: New file.
4491 * gdb.linespec/cp-completion-aliases.exp: New file.
4492
4493 2020-03-19 Tom de Vries <tdevries@suse.de>
4494
4495 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4496 more precise.
4497
4498 2020-03-18 Tom de Vries <tdevries@suse.de>
4499
4500 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4501 * gdb.dwarf2/break-inline-psymtab.c: New test.
4502 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4503
4504 2020-03-16 Tom de Vries <tdevries@suse.de>
4505
4506 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4507 cache_verify and cache_verify_proc.
4508
4509 2020-03-15 Tom de Vries <tdevries@suse.de>
4510
4511 * gdb.server/solib-list.exp: Handle
4512 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4513
4514 2020-03-15 Tom de Vries <tdevries@suse.de>
4515
4516 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4517 objfiles".
4518
4519 2020-03-14 Tom Tromey <tom@tromey.com>
4520
4521 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4522
4523 2020-03-14 Tom de Vries <tdevries@suse.de>
4524
4525 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4526
4527 2020-03-14 Tom de Vries <tdevries@suse.de>
4528
4529 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4530 result in line-by-line fashion.
4531
4532 2020-03-14 Tom de Vries <tdevries@suse.de>
4533
4534 * lib/gdb.exp (supports_statement_frontiers): New proc.
4535 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4536
4537 2020-03-14 Tom de Vries <tdevries@suse.de>
4538
4539 * gdb.base/printcmds.exp: Add missing quoting for "print
4540 teststring2".
4541
4542 2020-03-13 Tom Tromey <tom@tromey.com>
4543
4544 * gdb.base/printcmds.exp (test_print_strings): Add regression
4545 test.
4546 * gdb.base/printcmds.c (charptr): New typedef.
4547 (teststring2): New global.
4548
4549 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4550
4551 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4552 full path in the test name.
4553 (test_ld): Add some with_test_prefix blocks to make test names
4554 unique.
4555
4556 2020-03-13 Tom de Vries <tdevries@suse.de>
4557
4558 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4559
4560 2020-03-13 Tom de Vries <tdevries@suse.de>
4561
4562 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4563
4564 2020-03-13 Tom de Vries <tdevries@suse.de>
4565
4566 PR symtab/25646
4567 * gdb.dwarf2/imported-unit.exp: Add test.
4568
4569 2020-03-13 Tom de Vries <tdevries@suse.de>
4570
4571 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4572 (var1, var2): New variable.
4573 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4574 matching symbols.
4575
4576 2020-03-13 Tom de Vries <tdevries@suse.de>
4577
4578 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4579 (Term::command): Use prompt prefix.
4580 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4581 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4582 command_no_prompt_prefix instead of prefix.
4583 * gdb.tui/tui-layout-asm.exp: Same.
4584
4585 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4586
4587 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4588
4589 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4590
4591 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4592 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4593 on" while stepping over the test instruction, match printed
4594 message.
4595
4596 2020-03-12 Tom de Vries <tdevries@suse.de>
4597
4598 * gdb.base/info-types.exp: Use exp_continue during matching of output
4599 of "info types".
4600
4601 2020-03-12 Tom de Vries <tdevries@suse.de>
4602
4603 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4604
4605 2020-03-12 Tom de Vries <tdevries@suse.de>
4606
4607 * gdb.fortran/module.exp: Use exp_continue during matching of output
4608 of "info variable -n".
4609
4610 2020-03-12 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4613 gdb.dwarf2/dw2-ranges-base.c.
4614
4615 2020-03-12 Tom de Vries <tdevries@suse.de>
4616
4617 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4618 in presence of GLIBC debuginfo.
4619
4620 2020-03-12 Tom de Vries <tdevries@suse.de>
4621
4622 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4623 $core.
4624
4625 2020-03-12 Tom de Vries <tdevries@suse.de>
4626
4627 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4628 more precise.
4629
4630 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
4631
4632 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4633 from Unix to Windows path.
4634
4635 2020-03-11 Tom de Vries <tdevries@suse.de>
4636
4637 * gdb.ada/minsyms.exp: Set language to ada.
4638
4639 2020-03-11 Tom de Vries <tdevries@suse.de>
4640
4641 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4642
4643 2020-03-11 Tom de Vries <tdevries@suse.de>
4644
4645 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4646
4647 2020-03-11 Tom Tromey <tromey@adacore.com>
4648
4649 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4650
4651 2020-03-11 Tom de Vries <tdevries@suse.de>
4652
4653 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4654
4655 2020-03-11 Tom de Vries <tdevries@suse.de>
4656
4657 * gdb.base/break-interp.exp: Limit verbose scope.
4658
4659 2020-03-11 Tom de Vries <tdevries@suse.de>
4660
4661 * gdb.fortran/logical.f90: Define variable with character type.
4662 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4663
4664 2020-03-11 Tom de Vries <tdevries@suse.de>
4665
4666 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4667
4668 2020-03-11 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4671 symtabs.
4672
4673 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4674 Bernd Edlinger <bernd.edlinger@hotmail.de>
4675
4676 * gdb.cp/step-and-next-inline.cc: New file.
4677 * gdb.cp/step-and-next-inline.exp: New file.
4678 * gdb.cp/step-and-next-inline.h: New file.
4679 * gdb.dwarf2/dw2-is-stmt.c: New file.
4680 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4681 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4682 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4683 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4684
4685 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4688 is-stmt flag in the line table.
4689
4690 2020-03-09 Tom de Vries <tdevries@suse.de>
4691
4692 * lib/gdb.exp (cached_file): Create cache dir.
4693
4694 2020-03-07 Tom de Vries <tdevries@suse.de>
4695
4696 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4697 * gdb.cp/rvalue-ref-params.exp: Same.
4698
4699 2020-03-06 Tom de Vries <tdevries@suse.de>
4700
4701 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4702 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4703
4704 2020-03-06 Tom de Vries <tdevries@suse.de>
4705
4706 * README: Fix "the the".
4707 * gdb.base/dprintf.exp: Same.
4708
4709 2020-03-05 Tom de Vries <tdevries@suse.de>
4710
4711 * gdb.base/maint.exp: Update "main print statistics" expected output.
4712
4713 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4714
4715 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4716 (fortran_int8): Likewise.
4717 (fortran_real4): Likewise.
4718 (fortran_real8): Likewise.
4719 (fortran_complex4): Likewise.
4720 (fortran_logical4): Likewise.
4721 (fortran_character1): Likewise.
4722
4723 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4724
4725 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4726 printed as true.
4727
4728 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4729
4730 * gdb.base/printcmds.exp: Add test to verify printf of a
4731 variable holding an address.
4732
4733 2020-03-03 Tom de Vries <tdevries@suse.de>
4734
4735 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4736
4737 2020-03-03 Tom de Vries <tdevries@suse.de>
4738
4739 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4740 gdb_test_multiple call.
4741
4742 2020-03-03 Tom de Vries <tdevries@suse.de>
4743
4744 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4745 gdb_test_multiple calls.
4746
4747 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4748
4749 * gdb.base/default.exp: Remove test of 'set history filename'.
4750 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4751 filename to the empty string.
4752 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4753 and GDBHISTSIZE.
4754
4755 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4756
4757 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4758 disabled.
4759
4760 2020-03-02 Pedro Alves <palves@redhat.com>
4761 Tom de Vries <tdevries@suse.de>
4762
4763 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4764 -prompt prefix, before user_code argument. Add -lbl option likewise.
4765 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4766 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4767 argument.
4768 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4769 have "\r\n" at start-of-line, instead of at end-of-line.
4770
4771 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
4772
4773 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4774 libinproctrace.so.
4775
4776 2020-02-28 Luis Machado <luis.machado@linaro.org>
4777
4778 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4779 to "p/x".
4780
4781 2020-02-28 Luis Machado <luis.machado@linaro.org>
4782
4783 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4784 asm/ptrace.h and error.h.
4785
4786 2020-02-28 Tom de Vries <tdevries@suse.de>
4787
4788 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4789 (struct wrapper, do_something, mundane/symada__cS): Move ...
4790 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4791 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4792 Update "print symada__cS before partial symtab expansion" regexp.
4793 Update breakpoint location. Flush symbol cache after expansion.
4794
4795 2020-02-28 Luis Machado <luis.machado@linaro.org>
4796
4797 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4798
4799 2020-02-27 Tom de Vries <tdevries@suse.de>
4800
4801 * config/sid.exp: Remove unused globals.
4802 * gdb.base/attach.exp: Same.
4803 * gdb.base/catch-load.exp: Same.
4804 * gdb.base/dbx.exp: Same.
4805 * lib/gdb.exp: Same.
4806 * lib/mi-support.exp: Same.
4807 * lib/prompt.exp: Same.
4808
4809 2020-02-27 Tom de Vries <tdevries@suse.de>
4810
4811 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4812 not set.
4813
4814 2020-02-26 Aaron Merey <amerey@redhat.com>
4815
4816 * gdb.debuginfod: New directory for debuginfod tests.
4817 * gdb.debuginfod/main.c: New test file.
4818 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4819
4820 2020-02-26 Tom de Vries <tdevries@suse.de>
4821
4822 PR gdb/25603
4823 * gdb.base/persistent-lang.cc: New test.
4824 * gdb.base/persistent-lang.exp: New file.
4825
4826 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4827
4828 * gdb.fortran/derived-type-striding.exp: Add a new test.
4829 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4830 new test.
4831
4832 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4833
4834 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4835 names.
4836
4837 2020-02-25 Tom de Vries <tdevries@suse.de>
4838
4839 PR go/18926
4840 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4841
4842 2020-02-24 Tom de Vries <tdevries@suse.de>
4843
4844 PR gdb/25592
4845 * gdb.base/info-locals-unused-static-var.c: New test.
4846 * gdb.base/info-locals-unused-static-var.exp: New file.
4847
4848 2020-02-22 Tom Tromey <tom@tromey.com>
4849
4850 * gdb.python/tui-window.exp: New file.
4851 * gdb.python/tui-window.py: New file.
4852
4853 2020-02-22 Tom Tromey <tom@tromey.com>
4854
4855 PR tui/17850:
4856 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4857 tests.
4858
4859 2020-02-22 Tom Tromey <tom@tromey.com>
4860
4861 * gdb.tui/new-layout.exp: Add sub-layout tests.
4862
4863 2020-02-22 Tom Tromey <tom@tromey.com>
4864
4865 * gdb.tui/new-layout.exp: New file.
4866
4867 2020-02-22 Tom Tromey <tom@tromey.com>
4868
4869 * gdb.rust/rust-style.rs: New file.
4870 * gdb.rust/rust-style.exp: New file.
4871 * gdb.base/style.exp: Test structure printing.
4872 * gdb.base/style.c (struct some_struct): New type.
4873 (enum etype): New type.
4874 (struct_value): New global.
4875
4876 2020-02-21 Tom de Vries <tdevries@suse.de>
4877
4878 PR go/18926
4879 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4880 Remove blanket xfails. Use message argument for gdb_breakpoint.
4881 Make continuing to breakpoint test conditional on setting breakpoint.
4882 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4883 DW_AT_name attribute. Add xfail for GCC PR93866.
4884
4885 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4886
4887 * gdb.dwarf2/cpp-linkage-name.c: New file.
4888 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4889
4890 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
4891
4892 * lib/gdb.exp (gdb_wrapper_init): Reset
4893 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4894 not exist.
4895
4896 2020-02-20 Tom de Vries <tdevries@suse.de>
4897
4898 PR go/17018
4899 * gdb.go/hello.exp: Copy ...
4900 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4901 print of st to print value of global definition. Add xfail for GCC
4902 PR93844.
4903 * gdb.go/hello.exp: Remove printing of st before definition.
4904 * gdb.go/hello.go: Copy ...
4905 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4906 to st.
4907 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4908
4909 2020-02-20 Tom de Vries <tdevries@suse.de>
4910
4911 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4912 (gdb_simple_compile): Handle compile_flags go by using .go extension
4913 for source file.
4914 * gdb.go/chan.exp: Use support_go_compile.
4915 * gdb.go/handcall.exp: Same.
4916 * gdb.go/hello.exp: Same.
4917 * gdb.go/integers.exp: Same.
4918 * gdb.go/max-depth.exp: Same.
4919 * gdb.go/methods.exp: Same.
4920 * gdb.go/package.exp: Same.
4921 * gdb.go/strings.exp: Same.
4922 * gdb.go/types.exp: Same.
4923 * gdb.go/unsafe.exp: Same.
4924
4925 2020-02-19 Tom de Vries <tdevries@suse.de>
4926
4927 * gdb.python/lib-types.exp: Make xfail more strict.
4928
4929 2020-02-19 Tom de Vries <tdevries@suse.de>
4930
4931 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4932
4933 2020-02-19 Doug Evans <dje@google.com>
4934
4935 PR rust/25535
4936 * gdb.rust/simple.exp: Add test.
4937 * gdb.rust/simple.rs: Add test.
4938
4939 2020-02-19 Tom de Vries <tdevries@suse.de>
4940
4941 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4942 output line-by-line.
4943
4944 2020-02-19 Tom de Vries <tdevries@suse.de>
4945
4946 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4947
4948 2020-02-19 Tom de Vries <tdevries@suse.de>
4949
4950 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4951 prelink.
4952
4953 2020-02-19 Tom de Vries <tdevries@suse.de>
4954
4955 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4956 (gdb_do_cache): Use gdb_do_cache_wrap.
4957 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4958
4959 2020-02-19 Tom de Vries <tdevries@suse.de>
4960
4961 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4962 gdb_compile option.
4963
4964 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4965
4966 * gdb.base/printcmds.exp (test_print_enums): Update expected
4967 output.
4968
4969 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4970
4971 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4972 for "unknown".
4973
4974 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4975
4976 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4977 enumerator.
4978
4979 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4980
4981 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4982 FE_, add FE_NONE.
4983 (three): Update.
4984 (enum flag_enum_without_zero): New enum.
4985 (flag_enum_without_zero): New variable.
4986 (enum not_flag_enum): New enum.
4987 (three_not_flag): New variable.
4988 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4989 (test_print_enums): Add more tests for printing flag enums.
4990
4991 2020-02-18 Tom de Vries <tdevries@suse.de>
4992
4993 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4994 (gdb_compile_ada): ... here.
4995 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4996 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4997
4998 2020-02-14 Tom Tromey <tom@tromey.com>
4999
5000 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5001 build directory.
5002 * boards/gdbserver-base.exp: Update path to gdbserver.
5003
5004 2020-02-13 Tom de Vries <tdevries@suse.de>
5005
5006 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5007
5008 2020-02-13 Tom de Vries <tdevries@suse.de>
5009
5010 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5011 are missing.
5012
5013 2020-02-13 Tom de Vries <tdevries@suse.de>
5014
5015 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5016 call.
5017
5018 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5019
5020 PR tui/25126
5021 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5022 * gdb.base/cached-source-file.c: New file.
5023 * gdb.base/cached-source-file.exp: New file.
5024
5025 2020-02-11 Tom de Vries <tdevries@suse.de>
5026
5027 PR testsuite/25488
5028 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5029
5030 2020-02-10 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5033
5034 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
5035
5036 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5037 and $after_addr are both integers before making a comparison.
5038
5039 2020-02-09 Tom de Vries <tdevries@suse.de>
5040
5041 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5042 command output and paste it into gdb.log. If any, paste catch message
5043 to gdb.log.
5044
5045 2020-02-07 Tom Tromey <tromey@adacore.com>
5046
5047 PR breakpoints/24915:
5048 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5049
5050 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
5051
5052 * gdb.tui/tui-missing-src.exp: Add the "missing source
5053 file" test for the TUI.
5054
5055 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5056
5057 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5058 including a port number in the output.
5059
5060 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5061
5062 * lib/fortran.exp (fortran_int4): Handle clang.
5063 (fortran_int8): Likewise.
5064 (fortran_real4): Likewise.
5065 (fortran_real8): Likewise.
5066 (fortran_complex4): Likewise.
5067 (fortran_logical4): Likewise.
5068 (fortran_character1): Likewise.
5069
5070 2020-02-04 Tom de Vries <tdevries@suse.de>
5071
5072 * README (Race detection): Add note.
5073
5074 2020-02-04 Tom de Vries <tdevries@suse.de>
5075
5076 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5077
5078 2020-02-04 Tom de Vries <tdevries@suse.de>
5079
5080 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5081
5082 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5083
5084 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5085 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5086 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5087 blttar, bnetarl.
5088 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5089 binary for blttar, bnetarl.
5090 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5091 wait instruction. Delete ldmx test.
5092 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5093
5094 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5095
5096 * gdb.fortran/array-bounds-high.exp: New file.
5097 * gdb.fortran/array-bounds-high.f90: New file.
5098
5099 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5100
5101 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5102 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5103
5104 2020-02-01 Tom de Vries <tdevries@suse.de>
5105
5106 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5107
5108 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5109
5110 PR tui/9765
5111 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5112 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5113
5114 2020-01-29 Luis Machado <luis.machado@linaro.org>
5115
5116 * gdb.arch/aarch64-brk-patterns.c: New source file.
5117 * gdb.arch/aarch64-brk-patterns.exp: New test.
5118
5119 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5120
5121 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5122 GCC/Clang version.
5123 * gdb.cp/pass-by-ref.exp: Ditto.
5124
5125 2020-01-29 Tom de Vries <tdevries@suse.de>
5126
5127 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5128 * gdb.threads/watchpoint-fork-mt.c: Same.
5129 * gdb.threads/watchpoint-fork-parent.c: Same.
5130 * gdb.threads/watchpoint-fork-st.c: Same.
5131 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5132
5133 2020-01-27 Luis Machado <luis.machado@linaro.org>
5134
5135 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5136 sitting at a syscall instruction when we hit the syscall function's
5137 breakpoint.
5138 Check PC against one obtained with the x command.
5139 Validate syscall number.
5140 (step_over_syscall): Don't continue to the syscall instruction if
5141 we're already there.
5142
5143 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5144
5145 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5146
5147 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5148
5149 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5150 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5151
5152 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5153
5154 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5155 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5156
5157 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5158
5159 * gdb.base/maint.exp: Update line table parsing test.
5160 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5161
5162 2020-01-24 Pedro Alves <palves@redhat.com>
5163
5164 PR gdb/25410
5165 * gdb.multi/multi-re-run-1.c: New.
5166 * gdb.multi/multi-re-run-2.c: New.
5167 * gdb.multi/multi-re-run.exp: New.
5168
5169 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5170
5171 PR gdb/23718
5172 * gdb.server/server-kill-python.exp: New file.
5173
5174 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5175
5176 * gdb.server/multi-ui-errors.c: New file.
5177 * gdb.server/multi-ui-errors.exp: New file.
5178
5179 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5180
5181 PR tui/9765
5182 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5183
5184 2020-01-19 Tom Tromey <tom@tromey.com>
5185
5186 * gdb.tui/main.exp: Add check for plain "file".
5187
5188 2020-01-16 Christian Biesinger <cbiesinger@google.com>
5189
5190 * lib/gdb.exp: Fix spelling error (seperatelly).
5191
5192 2020-01-14 Tom Tromey <tom@tromey.com>
5193
5194 PR symtab/12535:
5195 * gdb.python/python.exp: Test decode_line with empty string
5196 argument.
5197
5198 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5199
5200 * gdb.base/skip-inline.exp: Extend test.
5201
5202 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5203
5204 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5205 * gdb.dwarf2/dw2-bad-elf.c: New file.
5206 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5207
5208 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5211 _line_saw_file.
5212
5213 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5214
5215 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5216 border.
5217
5218 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5219
5220 * gdb.multi/multi-target.exp (setup): Factor out "info
5221 connections" and "info inferiors" tests to ...
5222 (test_info_inferiors): ... this new procedure.
5223 (top level): Run new "info-inferiors" tests.
5224
5225 2020-01-10 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.server/bkpt-other-inferior.exp: New file.
5228
5229 2020-01-10 Pedro Alves <palves@redhat.com>
5230
5231 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5232 of "add-inferior".
5233 * gdb.base/quit-live.exp: Likewise.
5234 * gdb.base/remote-exec-file.exp: Likewise.
5235 * gdb.guile/scm-progspace.exp: Likewise.
5236 * gdb.linespec/linespec.exp: Likewise.
5237 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5238 * gdb.mi/user-selected-context-sync.exp: Likewise.
5239 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5240 "info inferiors" tests.
5241 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5242 "add-inferior".
5243 * gdb.multi/watchpoint-multi.exp: Likewise.
5244 * gdb.python/py-inferior.exp: Likewise.
5245 * gdb.server/extended-remote-restart.exp: Likewise.
5246 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5247 "info inferiors".
5248 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5249 * gdb.trace/report.exp: Likewise.
5250
5251 2020-01-10 Pedro Alves <palves@redhat.com>
5252
5253 * gdb.multi/multi-target.c: New file.
5254 * gdb.multi/multi-target.exp: New file.
5255 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5256 mode requested, but remote does not support non-stop".
5257
5258 2020-01-10 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5261 disconnect before reconnecting.
5262
5263 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5264 Pedro Alves <palves@redhat.com>
5265
5266 * gdb.server/connect-without-multi-process.exp: Also test
5267 continuing to end.
5268
5269 2020-01-10 Pedro Alves <palves@redhat.com>
5270
5271 * gdb.base/remote-exec-file.exp: New file.
5272
5273 2020-01-10 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5276 output.
5277 * gdb.threads/async.c: New.
5278 * gdb.threads/async.exp: New.
5279 * gdb.multi/tids-gid-reset.c: New.
5280 * gdb.multi/tids-gid-reset.exp: New.
5281
5282 2020-01-10 George Barrett <bob@bob131.so>
5283
5284 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5285 to help in finding the image relocation offset.
5286 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5287 options in arguments.
5288 (stap_test_no_debuginfo): Likewise.
5289 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5290 test variants.
5291 (stap_test): Add null semaphore relocation test.
5292
5293 2020-01-10 George Barrett <bob@bob131.so>
5294
5295 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5296 * gdb.base/stap-probe.exp: Likewise.
5297 (stap_test): Pass argument as an additional flag.
5298 (stap_test_no_debuginfo): Likewise.
5299 (stap_test): Check `info probes stap' output for semaphore
5300 addresses if the test binary is supposed to have them.
5301
5302 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5303
5304 * gdb.tui/basic.exp: Add more scrolling tests.
5305
5306 2020-01-09 Tom Tromey <tom@tromey.com>
5307
5308 PR tui/18932:
5309 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5310 meangingful value.
5311 (Term::command, Term::resize): Update.
5312 * gdb.tui/basic.exp: Add scrolling test.
5313
5314 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5315
5316 * gdb.tui/tui-layout-asm.exp: New file.
5317
5318 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5321
5322 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5323
5324 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5325 (Term::enter_tui): Use Term::prepare_for_tui.
5326
5327 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5328
5329 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5330 called.
5331
5332 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5333
5334 * gdb.base/skip.exp: Fix race condition in test.
5335
5336 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5337
5338 * gdb.base/backtrace.c: New file.
5339 * gdb.base/backtrace.exp: New file.
5340
5341 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5342
5343 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5344
5345 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5346
5347 * gdb.base/style.exp: Test that warnings are styled.
5348
5349 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5350
5351 * gdb.base/line65535.exp: New file.
5352 * gdb.base/line65535.c: New file.
5353
5354 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5355
5356 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5357 * lib/gnat_debug_info_test.adb: New file.
5358 * gdb.ada/ptype_tagged_param.exp: Use
5359 gnat_runtime_has_debug_info, expect a different output if
5360 runtime does not have debug info.
5361
5362 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5363
5364 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5365 (another) quote in test name.
5366
5367 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5368
5369 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5370 Add quote in test name.
5371
5372 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5373
5374 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5375 directory instead.
5376 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5377 * gdb.cp/pass-by-ref-2.cc: New file.
5378 * gdb.cp/pass-by-ref-2.exp: New file.
5379
5380 2019-12-20 Tom Tromey <tom@tromey.com>
5381
5382 * gdb.tui/list-before.exp: New file.
5383
5384 2019-12-20 Tom Tromey <tom@tromey.com>
5385
5386 * gdb.tui/list.exp: Check for source on initial listing.
5387
5388 2019-12-11 Tom Tromey <tromey@adacore.com>
5389
5390 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5391 Add crlf test.
5392
5393 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
5394
5395 * gdb.base/default.exp: Update value of $_gdb_major.
5396
5397 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5398
5399 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5400
5401 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5402
5403 * gdb.base/skip.exp: Whitespace fix.
5404
5405 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5406
5407 * gdb.base/skip-inline.c: New file.
5408 * gdb.base/skip-inline.exp: New file.
5409
5410 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5411
5412 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5413 jit_function_00 to jit_function_stack_mangle.
5414 * gdb.base/jithost.c (jit_function_t): Rename to...
5415 (jit_function_stack_mangle_t): ... this.
5416 (jit_function_add_t): New typedef.
5417 (jit_function_00_code): Rename to...
5418 (jit_function_stack_mangle_code): ... this, make static.
5419 (jit_function_add_code): New.
5420 (main): Generate "add" function and call it. Adjust to changes
5421 in jithost_abi.
5422 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5423 (struct jithost_abi) <begin, end>: Remove fields.
5424 <object, function_stack_mangle, function_add>: New fields.
5425 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5426 code_end>: Remove fields.
5427 <func_stack_mangle>: New field.
5428 (read_debug_info): Adjust to renaming, create block for "add"
5429 function.
5430 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5431
5432 2019-12-11 Tom Tromey <tom@tromey.com>
5433
5434 * gdb.tui/resize.exp: Fix regexp.
5435 * gdb.tui/regs.exp: Fix regexps.
5436 * gdb.tui/main.exp: Fix regexp.
5437
5438 2019-12-11 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.tui/resize.exp: Update.
5441 * gdb.tui/empty.exp (layouts): Update.
5442
5443 2019-12-11 Tom Tromey <tom@tromey.com>
5444
5445 * gdb.tui/regs.exp: Update.
5446 * gdb.tui/empty.exp (layouts): Update.
5447 * gdb.tui/basic.exp: Update.
5448 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5449
5450 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5451
5452 * gdb.base/options.exp: Add -raw-values in the print completion list.
5453 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5454
5455 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5456
5457 * gdb.threads/omp-par-scope.c: New file.
5458 * gdb/threads/omp-par-scope.exp: New file.
5459
5460 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5461
5462 * lib/gdb.exp (support_nested_function_tests): New proc.
5463
5464 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5465
5466 * lib/gdb.exp (gdb_compile_openmp): New proc.
5467 (build_executable_from_specs): Add an "openmp" option.
5468 (gdb_compile_pthreads): Add non-executable case.
5469
5470 2019-12-10 Tom Tromey <tromey@adacore.com>
5471
5472 * gdb.ada/unchecked_union.exp: New file.
5473 * gdb.ada/unchecked_union/pck.adb: New file.
5474 * gdb.ada/unchecked_union/pck.ads: New file.
5475 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5476 * gdb-utils.exp (string_to_regexp): Also quote "?".
5477
5478 2019-12-10 George Barrett <bob@bob131.so>
5479
5480 Test scripted probe breakpoints.
5481 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5482 * gdb.python/py-breakpoint.c (main): Likewise.
5483 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5484 specifier test.
5485 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5486
5487 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5488
5489 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5490 an rvalue parameter.
5491 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5492 parameter.
5493
5494 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5495
5496 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5497 modules.
5498
5499 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5500
5501 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5502 broken version of GCC.
5503
5504 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5505
5506 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5507 sym-info-cmds library.
5508 * gdb.fortran/info-types.exp: Likewise.
5509 * lib/sym-info-cmds.exp: New file.
5510
5511 2019-12-08 Tom de Vries <tdevries@suse.de>
5512
5513 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5514
5515 2019-12-07 Keith Seitz <keiths@redhat.com>
5516
5517 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5518 * gdb.base/corefile-buildid-shlib.c: New file.
5519 * gdb.base/corefile-buildid.c: New file.
5520 * gdb.base/corefile-buildid.exp: New file.
5521
5522 2019-12-06 Tom de Vries <tdevries@suse.de>
5523
5524 * gdb.dwarf2/varval.exp: Add decl before def test.
5525
5526 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5527
5528 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5529
5530 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5531
5532 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5533 CV and reference conversion for overload resolution.
5534 * gdb.cp/rvalue-ref-overload.exp: Test it.
5535
5536 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5537
5538 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5539 * gdb.base/frameapply.exp: Test faas without command.
5540
5541 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5542
5543 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5544 Fortran tests.
5545 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5546 order.
5547
5548 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5549
5550 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5551 casting to type with no kind specified.
5552 (test_basic_parsing_of_type_kinds): Additional tests for types
5553 with no kind specified, and add tests for single/double
5554 precision/complex types.
5555
5556 2019-12-04 Tom Tromey <tromey@adacore.com>
5557
5558 * gdb.base/endianity.c (struct other) <x>: New field.
5559 (main): Initialize it.
5560 * gdb.base/endianity.exp: Update.
5561
5562 2019-12-04 Tom Tromey <tromey@adacore.com>
5563
5564 * gdb.ada/scalar_storage/storage.adb: New file.
5565 * gdb.ada/scalar_storage/pck.adb: New file.
5566 * gdb.ada/scalar_storage/pck.ads: New file.
5567 * gdb.ada/scalar_storage.exp: New file.
5568
5569 2019-12-04 Tom Tromey <tromey@adacore.com>
5570
5571 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5572 (main): Initialize it.
5573 * gdb.base/endianity.exp: Update.
5574
5575 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5576
5577 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5578
5579 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5580
5581 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5582 -symbol-info-module-functions and -symbol-info-module-variables.
5583
5584 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5585
5586 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5587
5588 2019-12-01 Richard Bunt <richard.bunt@arm.com>
5589 Andrew Burgess <andrew.burgess@embecosm.com>
5590
5591 * gdb.fortran/derived-type-striding.exp: New file.
5592 * gdb.fortran/derived-type-striding.f90: New file.
5593 * gdb.fortran/array-slices.exp: New file.
5594 * gdb.fortran/array-slices.f90: New file.
5595
5596 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5597
5598 * gdb.base/define.exp: Test . in command names.
5599 * gdb.base/setshow.exp: Update test, as . is now part of
5600 command name.
5601
5602 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5603
5604 * gdb.base/define-prefix.exp: New file.
5605
5606 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5609 compile.
5610 (skip_btrace_pt_tests): Likewise.
5611
5612 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5613
5614 * gdb.fortran/info-modules.exp: Compile source files in correct
5615 order.
5616
5617 2019-11-27 Kevin Buettner <kevinb@redhat.com>
5618
5619 * gdb.dwarf2/imported-unit.exp: New file.
5620 * gdb.dwarf2/imported-unit.c: New file.
5621
5622 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5623
5624 * gdb.mi/mi-fortran-modules-2.f90: New file.
5625 * gdb.mi/mi-fortran-modules.exp: New file.
5626 * gdb.mi/mi-fortran-modules.f90: New file.
5627
5628 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5629
5630 * gdb.mi/mi-sym-info-1.c: New file.
5631 * gdb.mi/mi-sym-info-2.c: New file.
5632 * gdb.mi/mi-sym-info.exp: New file.
5633
5634 2019-11-22 Tom Tromey <tromey@adacore.com>
5635
5636 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5637 * gdb.ada/tasks/foo.adb: Add another stopping location.
5638
5639 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5640
5641 * gdb.base/endianity.c: New test.
5642 * gdb.base/endianity.exp: New file.
5643
5644 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5645
5646 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5647
5648 2019-11-21 Tom de Vries <tdevries@suse.de>
5649
5650 PR gdb/24956
5651 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5652
5653 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5654
5655 * gdb.python/py-progspace.exp: Add missing parentheses on some
5656 'print' commands.
5657
5658 2019-11-19 Tom Tromey <tom@tromey.com>
5659
5660 * gdb.tui/winheight.exp: New file.
5661
5662 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5663
5664 * gdb.base/ctf-whatis.c: Delete.
5665 * gdb.base/ctf-whatis.exp: Delete.
5666 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5667
5668 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5669
5670 * gdb.base/ctf-cvexpr.exp: Delete.
5671 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5672
5673 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5674
5675 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5676 the compiler. Clean up header comment a little.
5677 * gdb.base/ctf-ptype.exp: Likewise.
5678 * gdb.base/ctf-whatis.exp: Likewise.
5679 * lib/gdb.exp (skip_ctf_tests): New proc.
5680
5681 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5682
5683 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5684 * gdb.tui/corefile-run.exp: New file.
5685
5686 2019-11-14 Tom Tromey <tromey@adacore.com>
5687
5688 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5689 regression tests.
5690
5691 2019-11-12 Tom Tromey <tom@tromey.com>
5692
5693 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5694 after any command. Expect prompt after WAIT_FOR is seen.
5695 (enter_tui): Enable resize messages.
5696 (command): Expect command in output.
5697 (get_line): Avoid error when cursor appears to be off-screen.
5698 (dump_screen): Include screen size in title.
5699 (_do_resize): New proc, from "resize".
5700 (resize): Rewrite. Do resize in two steps.
5701 * gdb.tui/empty.exp (layouts): Fix entries.
5702 (check_boxes): Remove xfail.
5703 (check_text): Dump screen on failure.
5704
5705 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5706
5707 * gdb.python/py-symbol.exp: Add test for
5708 gdb.lookup_static_symbols.
5709
5710 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5711
5712 * gdb.python/py-symbol.c: Declare and call function from new
5713 py-symbol-2.c file.
5714 * gdb.python/py-symbol.exp: Compile both source files, and add new
5715 tests for gdb.lookup_static_symbol.
5716 * gdb.python/py-symbol-2.c: New file.
5717
5718 2019-11-02 Tom de Vries <tdevries@suse.de>
5719
5720 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5721 * gdb.base/anon.exp: Same.
5722 * gdb.base/auto-connect-native-target.exp: Same.
5723 * gdb.base/call-ar-st.exp: Same.
5724 * gdb.base/catch-syscall.exp: Same.
5725 * gdb.base/commands.exp: Same.
5726 * gdb.base/default.exp: Same.
5727 * gdb.base/display.exp: Same.
5728 * gdb.base/float.exp: Same.
5729 * gdb.base/foll-fork.exp: Same.
5730 * gdb.base/help.exp: Same.
5731 * gdb.base/info-macros.exp: Same.
5732 * gdb.base/info-proc.exp: Same.
5733 * gdb.base/info-target.exp: Same.
5734 * gdb.base/long_long.exp: Same.
5735 * gdb.base/macscp.exp: Same.
5736 * gdb.base/memattr.exp: Same.
5737 * gdb.base/nofield.exp: Same.
5738 * gdb.base/pointers.exp: Same.
5739 * gdb.base/printcmds.exp: Same.
5740 * gdb.base/ptype.exp: Same.
5741 * gdb.base/restore.exp: Same.
5742 * gdb.base/return.exp: Same.
5743 * gdb.base/scope.exp: Same.
5744 * gdb.base/set-noassign.exp: Same.
5745 * gdb.base/setshow.exp: Same.
5746 * gdb.base/shlib-call.exp: Same.
5747 * gdb.base/signals.exp: Same.
5748 * gdb.base/sigstep.exp: Same.
5749 * gdb.base/skip.exp: Same.
5750 * gdb.base/solib-symbol.exp: Same.
5751 * gdb.base/stap-probe.exp: Same.
5752 * gdb.base/step-line.exp: Same.
5753 * gdb.base/step-test.exp: Same.
5754 * gdb.base/style.exp: Same.
5755 * gdb.base/varargs.exp: Same.
5756 * gdb.base/vla-datatypes.exp: Same.
5757 * gdb.base/vla-ptr.exp: Same.
5758 * gdb.base/vla-sideeffect.exp: Same.
5759 * gdb.base/volatile.exp: Same.
5760 * gdb.base/watch-cond-infcall.exp: Same.
5761 * gdb.base/watchpoint.exp: Same.
5762
5763 2019-11-02 Tom de Vries <tdevries@suse.de>
5764
5765 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5766 * gdb.cp/cpexprs.exp: Same.
5767 * gdb.cp/except-multi-location.exp: Same.
5768 * gdb.cp/exceptprint.exp: Same.
5769 * gdb.cp/gdb2384.exp: Same.
5770 * gdb.cp/inherit.exp: Same.
5771 * gdb.cp/m-static.exp: Same.
5772 * gdb.cp/meth-typedefs.exp: Same.
5773 * gdb.cp/misc.exp: Same.
5774 * gdb.cp/namespace.exp: Same.
5775 * gdb.cp/non-trivial-retval.exp: Same.
5776 * gdb.cp/overload.exp: Same.
5777 * gdb.cp/pr17132.exp: Same.
5778 * gdb.cp/re-set-overloaded.exp: Same.
5779 * gdb.cp/rvalue-ref-types.exp: Same.
5780 * gdb.cp/templates.exp: Same.
5781
5782 2019-11-01 Luis Machado <luis.machado@linaro.org>
5783
5784 PR gdb/25124
5785
5786 * gdb.arch/pr25124.S: New file.
5787 * gdb.arch/pr25124.exp: New file.
5788
5789 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5790
5791 * gdb.fortran/info-modules.exp: Update expected results, and add
5792 additional tests for 'info module functinos', and 'info module
5793 variables'.
5794 * gdb.fortran/info-types.exp: Update expected results.
5795 * gdb.fortran/info-types.f90: Extend testcase with additional
5796 module variables and functions.
5797
5798 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5799
5800 * gdb.fortran/info-modules.exp: New file.
5801 * gdb.fortran/info-types.exp: Build with new file.
5802 * gdb.fortran/info-types.f90: Include and use new module.
5803 * gdb.fortran/info-types-2.f90: New file.
5804
5805 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5806
5807 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5808 * gdb.base/settings.exp: Test all settings types using
5809 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5810 that now verifies that the value of "maint show" is the same as
5811 returned by the settings functions. Test the type of the
5812 maintenance settings.
5813 * gdb.base/default.exp: Update show_conv_list.
5814
5815 2019-10-31 Tom de Vries <tdevries@suse.de>
5816
5817 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5818 gdb_test.
5819 * gdb.arch/amd64-disp-step.exp: Same.
5820 * gdb.asm/asm-source.exp: Same.
5821 * gdb.btrace/buffer-size.exp: Same.
5822 * gdb.btrace/cpu.exp: Same.
5823 * gdb.btrace/enable.exp: Same.
5824 * gdb.dwarf2/count.exp: Same.
5825 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5826 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5827 * gdb.fortran/vla-datatypes.exp: Same.
5828 * gdb.fortran/vla-history.exp: Same.
5829 * gdb.fortran/vla-ptype.exp: Same.
5830 * gdb.fortran/vla-value.exp: Same.
5831 * gdb.fortran/whatis_type.exp: Same.
5832 * gdb.guile/guile.exp: Same.
5833 * gdb.multi/tids.exp: Same.
5834 * gdb.python/py-finish-breakpoint.exp: Same.
5835 * gdb.python/py-framefilter.exp: Same.
5836 * gdb.python/py-pp-registration.exp: Same.
5837 * gdb.python/py-xmethods.exp: Same.
5838 * gdb.python/python.exp: Same.
5839 * gdb.server/connect-with-no-symbol-file.exp: Same.
5840 * gdb.server/no-thread-db.exp: Same.
5841 * gdb.server/run-without-local-binary.exp: Same.
5842 * gdb.stabs/weird.exp: Same.
5843 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5844 * gdb.threads/thread-find.exp: Same.
5845 * gdb.threads/tls-shared.exp: Same.
5846 * gdb.threads/tls.exp: Same.
5847 * gdb.threads/wp-replication.exp: Same.
5848 * gdb.trace/ax.exp: Same.
5849 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5850
5851 2019-10-31 Tom de Vries <tdevries@suse.de>
5852
5853 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5854 * gdb.ada/array_subscript_addr.exp: Same.
5855 * gdb.ada/arrayidx.exp: Same.
5856 * gdb.ada/arrayparam.exp: Same.
5857 * gdb.ada/arrayptr.exp: Same.
5858 * gdb.ada/boolean_expr.exp: Same.
5859 * gdb.ada/call_pn.exp: Same.
5860 * gdb.ada/complete.exp: Same.
5861 * gdb.ada/fixed_cmp.exp: Same.
5862 * gdb.ada/fun_addr.exp: Same.
5863 * gdb.ada/funcall_param.exp: Same.
5864 * gdb.ada/interface.exp: Same.
5865 * gdb.ada/mod_from_name.exp: Same.
5866 * gdb.ada/null_array.exp: Same.
5867 * gdb.ada/packed_array.exp: Same.
5868 * gdb.ada/packed_tagged.exp: Same.
5869 * gdb.ada/print_chars.exp: Same.
5870 * gdb.ada/print_pc.exp: Same.
5871 * gdb.ada/ptype_arith_binop.exp: Same.
5872 * gdb.ada/ptype_field.exp: Same.
5873 * gdb.ada/ptype_tagged_param.exp: Same.
5874 * gdb.ada/rec_return.exp: Same.
5875 * gdb.ada/ref_tick_size.exp: Same.
5876 * gdb.ada/str_ref_cmp.exp: Same.
5877 * gdb.ada/taft_type.exp: Same.
5878 * gdb.ada/tagged.exp: Same.
5879 * gdb.ada/type_coercion.exp: Same.
5880 * gdb.ada/uninitialized_vars.exp: Same.
5881
5882 2019-10-30 Tom de Vries <tdevries@suse.de>
5883
5884 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5885
5886 2019-10-26 Tom de Vries <tdevries@suse.de>
5887
5888 * gdb.base/bigcore.c: Fix typos in comments.
5889 * gdb.base/ctf-ptype.c: Same.
5890 * gdb.base/long_long.c: Same.
5891 * gdb.dwarf2/dw2-op-out-param.S: Same.
5892 * gdb.python/py-evthreads.c: Same.
5893 * gdb.reverse/i387-stack-reverse.c: Same.
5894 * gdb.trace/tfile.c: Same.
5895 * lib/compiler.c: Same.
5896 * lib/compiler.cc: Same.
5897
5898 2019-10-25 Tom de Vries <tdevries@suse.de>
5899
5900 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5901 gdb_test_multiple calls.
5902 * gdb.reverse/sigall-reverse.exp: Same.
5903 * gdb.reverse/solib-precsave.exp: Same.
5904 * gdb.reverse/solib-reverse.exp: Same.
5905 * gdb.reverse/until-precsave.exp: Same.
5906 * gdb.reverse/until-reverse.exp: Same.
5907
5908 2019-10-24 Tom de Vries <tdevries@suse.de>
5909
5910 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5911 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5912 kfail using -wrap pattern flag and convenience variable
5913 gdb_test_name.
5914
5915 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5916
5917 * gdb.python/py-progspace.exp: Add tests for the
5918 Progspace.block_for_pc method.
5919
5920 2019-10-23 Tom Tromey <tom@tromey.com>
5921
5922 * configure: Rebuild.
5923 * aclocal.m4: Use m4_include, not sinclude.
5924
5925 2019-10-21 Tom de Vries <tdevries@suse.de>
5926
5927 * gdb.base/infcall-nested-structs.c: Add
5928 __attribute__((noinline,noclone)) to all functions.
5929 (call_all): Add missing variable initialization. Simplify return value.
5930 (breakpt): Increment volatile variable, to prevent call from being
5931 optimized out.
5932 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5933
5934 2019-10-17 Tom de Vries <tdevries@suse.de>
5935
5936 * gdb.fortran/module.exp: Allow info variables to print info for files
5937 other than module.f90.
5938
5939 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5940
5941 * gdb.fortran/module.exp: Extend with 'info variables' test.
5942
5943 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5944
5945 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5946 F77_FOR_TARGET.
5947
5948 2019-10-16 Tom de Vries <tdevries@suse.de>
5949
5950 PR tdep/25096
5951 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5952
5953 2019-10-16 Tom de Vries <tdevries@suse.de>
5954
5955 PR tdep/24104
5956 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5957 Add KFAIL for PR tdep/25096.
5958
5959 2019-10-16 Tom de Vries <tdevries@suse.de>
5960
5961 PR testsuite/25059
5962 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5963
5964 2019-10-16 Tom de Vries <tdevries@suse.de>
5965
5966 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5967 as signed.
5968
5969 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5970
5971 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5972 one instead of increasing timeout.
5973
5974 2019-10-13 Tom de Vries <tdevries@suse.de>
5975
5976 PR record/25038
5977 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5978 * gdb.reverse/sigall-reverse.exp: Same.
5979 * gdb.reverse/solib-precsave.exp: Same.
5980 * gdb.reverse/solib-reverse.exp: Same.
5981 * gdb.reverse/step-precsave.exp: Same.
5982 * gdb.reverse/until-precsave.exp: Same.
5983 * gdb.reverse/until-reverse.exp: Same.
5984 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5985
5986 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5987
5988 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5989 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5990 (cmp_struct_05_01, cmp_struct_static_02_01)
5991 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5992 comparisons.
5993
5994 2019-10-10 Tom de Vries <tdevries@suse.de>
5995
5996 PR testsuite/24888
5997 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5998 gnatlink.
5999
6000 2019-10-09 Tom de Vries <tdevries@suse.de>
6001
6002 PR testsuite/25048
6003 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6004
6005 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6006
6007 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6008 exceptions due to missing debug information.
6009
6010 2019-10-07 Tom de Vries <tdevries@suse.de>
6011
6012 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6013
6014 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6015
6016 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6017 * gdb.base/annota1.exp: Update to use gdb_test_name.
6018
6019 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
6020
6021 * gdb.base/ctf-whatis.exp: New file.
6022 * gdb.base/ctf-whatis.c: New file.
6023 * gdb.base/ctf-ptype.exp: New file.
6024 * gdb.base/ctf-ptype.c: New file.
6025 * gdb.base/ctf-constvars.exp: New file.
6026 * gdb.base/ctf-constvars.c: New file.
6027 * gdb.base/ctf-cvexpr.exp: New file.
6028
6029 2019-10-04 Tom de Vries <tdevries@suse.de>
6030
6031 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6032 for loop.
6033
6034 2019-10-03 Tom Tromey <tom@tromey.com>
6035
6036 PR rust/24976:
6037 * gdb.rust/simple.rs (Union2): New type.
6038 (main): Use Union2.
6039 * gdb.rust/simple.exp: Add test.
6040
6041 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6044 nested function prefix.
6045
6046 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6047 Richard Bunt <richard.bunt@arm.com>
6048 Andrew Burgess <andrew.burgess@embecosm.com>
6049
6050 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6051 nested functions.
6052 * gdb.fortran/nested-funcs.f90: Update expected results.
6053 * gdb.fortran/nested-funcs-2.exp: New file.
6054 * gdb.fortran/nested-funcs-2.f90: New file.
6055
6056 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6057
6058 * gdb.python/py-parameter.exp: Make test names unique.
6059 * gdb.python/py-template.exp: Likewise.
6060 * gdb.python/py-value.exp: Likewise.
6061
6062 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6063
6064 * gdb.base/break-interp.exp: Reduce test name duplication.
6065 * gdb.base/call-sc.exp: Likewise.
6066 * gdb.base/callfuncs.exp: Likewise.
6067 * gdb.base/charset.exp: Likewise.
6068 * gdb.base/dump.exp: Likewise.
6069 * gdb.base/ena-dis-br.exp: Likewise.
6070 * gdb.base/relational.exp: Likewise.
6071 * gdb.base/step-over-syscall.exp: Likewise.
6072 * gdb.base/structs.exp: Likewise.
6073
6074 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6075
6076 * gdb.linespec/explicit.exp: Make test names unique.
6077 * gdb.linespec/ls-errs.exp: Likewise.
6078
6079 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6080
6081 * gdb.reverse/break-precsave.exp: Make test names unique.
6082 * gdb.reverse/break-reverse.exp: Likewise.
6083 * gdb.reverse/finish-precsave.exp: Likewise.
6084 * gdb.reverse/finish-reverse.exp: Likewise.
6085 * gdb.reverse/machinestate-precsave.exp: Likewise.
6086 * gdb.reverse/machinestate.exp: Likewise.
6087 * gdb.reverse/readv-reverse.exp: Likewise.
6088 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6089 * gdb.reverse/sigall-precsave.exp: Likewise.
6090 * gdb.reverse/sigall-reverse.exp: Likewise.
6091 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6092 * gdb.reverse/watch-precsave.exp: Likewise.
6093 * gdb.reverse/watch-reverse.exp: Likewise.
6094
6095 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6096
6097 * gdb.threads/stop-with-handle.c: New file.
6098 * gdb.threads/stop-with-handle.exp: New file.
6099
6100 2019-10-03 Tom de Vries <tdevries@suse.de>
6101
6102 PR testsuite/25059
6103 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6104 directory" line to be missing.
6105
6106 2019-10-03 Tom de Vries <tdevries@suse.de>
6107
6108 PR testsuite/25059
6109 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6110 type optional.
6111
6112 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6113
6114 * gdb.python/py-format-string.c (string.h): New include.
6115 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6116 the same value, for endianness-independence.
6117 * gdb.python/py-format-string.exp (default_regexp_dict)
6118 (test_pretty_structs, test_format): Adjust expected output to the
6119 changed initialization.
6120
6121 2019-10-02 Tom Tromey <tromey@adacore.com>
6122
6123 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6124
6125 2019-10-02 Pedro Alves <palves@redhat.com>
6126 Andrew Burgess <andrew.burgess@embecosm.com>
6127
6128 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6129 "print-file-var.h".
6130 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6131 (get_version_1): Print this_version_id and its address.
6132 Add extern "C" wrappers around interface functions.
6133 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6134 "print-file-var.h".
6135 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6136 (get_version_2): Print this_version_id and its address.
6137 Add extern "C" wrappers around interface functions.
6138 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6139 <stddef.h> and "print-file-var.h".
6140 Add extern "C" wrappers around interface functions.
6141 [VERSION_ID_MAIN] (this_version_id): Define.
6142 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6143 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6144 up extern "C" blocks.
6145 * gdb.base/print-file-var.exp (test): New, factored out from top
6146 level.
6147 (top level): Test all combinations of attribute hidden or not,
6148 dlopen or not, and this_version_id symbol in main file or not.
6149 Compile tests as both C++ and C, make test names unique.
6150
6151 2019-10-01 Tom Tromey <tom@tromey.com>
6152
6153 * gdb.base/style.exp: Test "show logging filename".
6154
6155 2019-10-01 Tom Tromey <tom@tromey.com>
6156
6157 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6158 * gdb.base/style.exp: Add metadata style test.
6159
6160 2019-10-01 Tom Tromey <tom@tromey.com>
6161
6162 * gdb.base/style.exp: Test "pwd".
6163
6164 2019-10-01 Tom Tromey <tom@tromey.com>
6165
6166 * gdb.base/style.exp: Update tests.
6167
6168 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6169
6170 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6171 'six' to unsigned.
6172 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6173 'five'. Use an all-ones bit pattern for each.
6174 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6175 to its changed values.
6176
6177 2019-09-30 Tom Tromey <tromey@adacore.com>
6178
6179 * gdb.rust/traits.rs: Disable all warnings.
6180
6181 2019-09-29 Tom de Vries <tdevries@suse.de>
6182
6183 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
6184
6185 2019-09-29 Tom de Vries <tdevries@suse.de>
6186
6187 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6188
6189 2019-09-27 Tom de Vries <tdevries@suse.de>
6190
6191 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6192
6193 2019-09-27 Tom de Vries <tdevries@suse.de>
6194
6195 PR record/23188
6196 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6197
6198 2019-09-26 Tom Tromey <tromey@adacore.com>
6199
6200 * gdb.ada/py_taft.exp: New file.
6201 * gdb.ada/py_taft/main.adb: New file.
6202 * gdb.ada/py_taft/pkg.adb: New file.
6203 * gdb.ada/py_taft/pkg.ads: New file.
6204
6205 2019-09-24 Tom de Vries <tdevries@suse.de>
6206
6207 PR gdb/24598
6208 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6209
6210 2019-09-22 Tom de Vries <tdevries@suse.de>
6211
6212 * gdb.base/restore.exp: Allow register variables to be optimized out at
6213 -O0.
6214
6215 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6216
6217 * gdb.arch/spu-info.exp: Remove file.
6218 * gdb.arch/spu-info.c: Remove file.
6219 * gdb.arch/spu-ls.exp: Remove file.
6220 * gdb.arch/spu-ls.c: Remove file.
6221
6222 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6223 * gdb.asm/spu.inc: Remove file.
6224
6225 * gdb.base/dump.exp: Remove support for spu*-*-*.
6226 * gdb.base/stack-checking.exp: Likewise.
6227 * gdb.base/overlays.exp: Likewise.
6228 * gdb.base/ovlymgr.c: Likewise.
6229 * gdb.base/spu.ld: Remove file.
6230
6231 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6232 * gdb.cp/cpexprs.exp: Likewise.
6233 * gdb.cp/exception.exp: Likewise.
6234 * gdb.cp/gdb2495.exp: Likewise.
6235 * gdb.cp/mb-templates.exp: Likewise.
6236 * gdb.cp/pr9167.exp: Likewise.
6237 * gdb.cp/userdef.exp: Likewise.
6238
6239 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6240
6241 * gdb.cell: Remove directory.
6242 * lib/cell.exp: Remove file.
6243
6244 2019-09-19 Tom de Vries <tdevries@suse.de>
6245
6246 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6247
6248 2019-09-19 Tom de Vries <tdevries@suse.de>
6249
6250 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6251
6252 2019-09-19 Tom de Vries <tdevries@suse.de>
6253
6254 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6255 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6256 (gdb_target_cmd): ... here.
6257 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6258 value 2.
6259
6260 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6261
6262 * gdb.base/source-dir.exp: Avoid having directory names in test
6263 names.
6264
6265 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6266
6267 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6268 directory.
6269
6270 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.base/list-missing-source.exp: New file.
6273
6274 2019-09-14 Tom de Vries <tdevries@suse.de>
6275
6276 PR teststuite/24599
6277 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6278 * lib/ada.exp (gnatmake_version_at_least): New proc.
6279
6280 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6281
6282 * gdb.base/maint.exp: Use exec_has_index_section.
6283
6284 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6285
6286 * gdb.base/maint.exp: Add test for 'maint info sections'.
6287
6288 2019-09-12 Tom de Vries <tdevries@suse.de>
6289
6290 * gdb.base/store.exp: Allow register variables to be optimized out at
6291 -O0.
6292
6293 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6294
6295 * gdb.ada/rdv_wait.exp: Update to new task names.
6296 * gdb.base/task_switch_in_core.exp: Likewise.
6297 * gdb.base/info_sources_base.c: Likewise.
6298
6299 2019-09-10 Tom Tromey <tromey@adacore.com>
6300
6301 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6302
6303 2019-09-10 Tom Tromey <tromey@adacore.com>
6304
6305 * gdb.ada/dgopt.exp: New file.
6306 * gdb.ada/dgopt/x.adb: New file.
6307
6308 2019-09-08 Tom Tromey <tom@tromey.com>
6309
6310 * gdb.tui/resize.exp: Remove setup_xfail.
6311 * gdb.tui/regs.exp: Remove setup_xfail.
6312 * gdb.tui/basic.exp: Remove setup_xfail.
6313
6314 2019-09-06 David Blaikie <dblaikie@gmail.com>
6315
6316 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6317 * gdb.cp/cplabel.exp: Ditto.
6318 * gdb.linespec/ls-errs.exp: Ditto.
6319
6320 2019-09-05 Tom de Vries <tdevries@suse.de>
6321
6322 * lib/gdb.exp (cmp_file_string): New proc.
6323 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6324 runto_main. Verify save breakpoints output.
6325
6326 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6327
6328 * gdb.base/info-var.exp: Test info variables without running
6329 to main, to avoid expect's buffer overflow.
6330
6331 2019-09-03 Tom Tromey <tromey@adacore.com>
6332
6333 * gdb.ada/bias.exp: New file.
6334 * gdb.ada/bias/bias.adb: New file.
6335 * gdb.ada/print_chars.exp: Add regression test.
6336 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6337 (MC): New variable.
6338
6339 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6340
6341 * gdb.base/argv0-symlink.exp: Run only on native target
6342 and local host.
6343
6344 2019-08-29 Tom de Vries <tdevries@suse.de>
6345
6346 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6347 diverse debug info.
6348 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6349
6350 2019-08-28 Tom de Vries <tdevries@suse.de>
6351
6352 * gdb.base/info-var.exp: Allow info variables to print info for files
6353 other than info-var-f1.c and info-var-f2.c.
6354
6355 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6356
6357 * gdb.fortran/info-types.exp: Add module.
6358 * gdb.fortran/info-types.f90: Update expected results.
6359
6360 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6361
6362 * gdb.fortran/info-types.exp: New file.
6363 * gdb.fortran/info-types.f90: New file.
6364 * lib/fortran.exp (fortran_character1): New proc.
6365
6366 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6367
6368 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6369 functions'. Reindent as needed.
6370 * gdb.base/info-var-f1.c: New file.
6371 * gdb.base/info-var-f2.c: New file.
6372 * gdb.base/info-var.exp: New file.
6373 * gdb.base/info-var.h: New file.
6374
6375 2019-08-26 Tom de Vries <tdevries@suse.de>
6376
6377 PR c++/24852
6378 * gdb.cp/no-libstdcxx-probe.exp: New test.
6379
6380 2019-08-26 Tom de Vries <tdevries@suse.de>
6381
6382 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6383 * tests need to be skipped.
6384 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6385 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6386 mi_skip_libstdcxx_probe_tests.
6387
6388 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6389
6390 * gdb.python/py-xmethods.exp: Use raw strings when passing
6391 arguments to SimpleXMethodMatcher.
6392
6393 2019-08-22 Tom de Vries <tdevries@suse.de>
6394
6395 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6396 more informative.
6397
6398 2019-08-21 Pedro Alves <palves@redhat.com>
6399
6400 * gdb.base/with.exp: Test "with" with no arguments.
6401
6402 2019-08-21 Tom de Vries <tdevries@suse.de>
6403
6404 * gdb.base/gdb-caching-proc.exp: Sort files.
6405
6406 2019-08-20 Tom de Vries <tdevries@suse.de>
6407
6408 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6409 compilation.
6410
6411 2019-08-16 Tom de Vries <tdevries@suse.de>
6412
6413 * gdb.base/compare-sections.exp ("after run to main"): Allow
6414 mismatched read-only sections for PIE executables.
6415
6416 2019-08-16 Tom Tromey <tom@tromey.com>
6417
6418 * lib/tuiterm.exp (_csi_Z): New proc.
6419 * gdb.tui/basic.exp: Update window positions.
6420 * gdb.tui/empty.exp: Update window positions.
6421
6422 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6423
6424 * gdb.base/examine-backward.exp: Correct regexp for
6425 "examine 3 bytes backward from ${address_zero}".
6426
6427 2019-08-15 Tom Tromey <tom@tromey.com>
6428
6429 * gdb.tui/empty.exp: Enable resizing tests.
6430
6431 2019-08-15 Tom Tromey <tromey@adacore.com>
6432
6433 * gdb.ada/char_enum.exp: Add regression tests.
6434 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6435 and '0'.
6436 (Char, Gchar): Update.
6437 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6438
6439 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6440
6441 * gdb.python/python.exp: Expect a leading underscore on
6442 GdbOutput{,Error}File.
6443
6444 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6445
6446 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6447 Windows host.
6448
6449 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6450
6451 * gdb.base/batch-preserve-term-settings.exp
6452 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6453
6454 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6455
6456 * lib/gdb.exp: When running on a mingw target, replace
6457 /x/ with x:/.
6458
6459 2019-08-14 Alan Hayward <alan.hayward@arm.com>
6460
6461 * gdb.arch/aarch64-prologue.c: New test.
6462 * gdb.arch/aarch64-prologue.exp: New file.
6463
6464 2019-08-13 Tom de Vries <tdevries@suse.de>
6465
6466 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6467 Thread.
6468
6469 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6470
6471 * gdb.python/py-completion.exp: Download the .py file to the host
6472 and use its host pathname. Conditionalize tests that use
6473 tab completion and manipulate files on the build machine.
6474 * gdb.python/py-events.exp: Download the .py file to the host
6475 and use its host pathname.
6476 * gdb.python/py-evsignal.exp: Likewise.
6477 * gdb.python/py-evthreads.exp: Likewise.
6478 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6479 pathname syntax.
6480 * gdb.python/py-framefilter.exp: Download the .py file to the right
6481 place on the host. Match Windows pathname syntax.
6482 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6483 .py file to the host and use its host pathname.
6484 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6485 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6486 build pathname. Skip symlink test on Windows host. Add missing
6487 newline at end of file.
6488 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6489 and use its host pathname.
6490 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6491 * gdb.python/py-section-script.exp: Use host location of binfile
6492 on safe-path. Use correct path separator on Windows host.
6493 Reorder alternatives in gdb_test_multiple to prevent matching
6494 the wrong alternative on success.
6495 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6496
6497 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6498
6499 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6500 expect the GDB inferior to no longer immediately stop after
6501 being resumed with "signal SIGINT".
6502
6503 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6504
6505 * gdb.linespec/break-ask.exp: Generalize regexps to match
6506 Windows pathnames too.
6507
6508 2019-08-08 Tom de Vries <tdevries@suse.de>
6509
6510 PR testsuite/24862
6511 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6512
6513 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6514
6515 * gdb.base/style.exp: Update tests for help doc new invariants.
6516 * gdb.base/help.exp: Likewise.
6517
6518 2019-08-06 Tom Tromey <tom@tromey.com>
6519
6520 * gdb.base/style.exp: Add disassemble test.
6521 * gdb.base/style.c (some_called_function): New function.
6522 (main): Use it.
6523
6524 2019-08-05 Christian Biesinger <cbiesinger@google.com>
6525
6526 * gdb.python/py-block.exp: Test dictionary access on blocks.
6527
6528 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
6529
6530 PR gdb/24863
6531 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6532 -list-thread-groups --available test when running under
6533 check-read1.
6534
6535 2019-08-05 Tom de Vries <tdevries@suse.de>
6536
6537 PR testsuite/24863
6538 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6539 * gdb.base/help.exp: Use with_read1_timeout_factor.
6540 * gdb.base/info-macros.exp: Same.
6541 * gdb.cp/nested-types.exp: Same.
6542
6543 2019-08-05 Tom de Vries <tdevries@suse.de>
6544
6545 * lib/gdb.exp (version_at_least): Factor out of ...
6546 (tcl_version_at_least): ... here.
6547 (gdb_compile): Fail if pie results in non-PIE executable.
6548 (readelf_version, readelf_prints_pie): New proc.
6549 (exec_is_pie): Return -1 if unknown.
6550
6551 2019-08-05 Tom de Vries <tdevries@suse.de>
6552
6553 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6554
6555 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6556
6557 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6558
6559 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6560
6561 * lib/completion-support.exp (test_gdb_complete_none): Skip
6562 tab completion tests if no readline support.
6563 (test_gdb_complete_unique_re): Likewise.
6564 (test_gdb_complete_multiple): Likewise.
6565
6566 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6567
6568 * gdb.base/info_sources.exp: New file.
6569 * gdb.base/info_sources.c: New file.
6570 * gdb.base/info_sources_base.c: New file.
6571
6572 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6573
6574 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6575 prefix argument.
6576 (test_exit_status): Add prefix argument.
6577
6578 2019-08-01 Tom de Vries <tdevries@suse.de>
6579
6580 PR testsuite/24863
6581 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6582 calling exp_continue for new thread and thread exited messages.
6583
6584 2019-08-01 Tom de Vries <tdevries@suse.de>
6585
6586 PR testsuite/24863
6587 * gdb.base/structs.exp: Fix check-read1 timeout using
6588 gdb_test_sequence.
6589 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6590
6591 2019-08-01 Tom de Vries <tdevries@suse.de>
6592
6593 PR testsuite/24863
6594 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6595 line.
6596
6597 2019-08-01 Tom de Vries <tdevries@suse.de>
6598
6599 PR testsuite/24863
6600 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6601
6602 2019-07-30 Tom Tromey <tromey@adacore.com>
6603
6604 * gdb.ada/display_nested.exp: New file.
6605 * gdb.ada/display_nested/foo.adb: New file.
6606 * gdb.ada/display_nested/pack.adb: New file.
6607 * gdb.ada/display_nested/pack.ads: New file.
6608
6609 2019-07-30 Christian Biesinger <cbiesinger@google.com>
6610
6611 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6612 namespace.
6613 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6614
6615 2019-07-30 Tom de Vries <tdevries@suse.de>
6616
6617 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6618 instead.
6619
6620 2019-07-30 Tom de Vries <tdevries@suse.de>
6621
6622 PR testsuite/24834
6623 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6624 (exec_is_pie): New proc.
6625
6626 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6627
6628 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6629
6630 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6631
6632 * gdb.python/py-objfile.c: Add global and static vars.
6633 * gdb.python/py-objfile.exp: Test new functions Objfile.
6634 lookup_global_symbol and lookup_static_symbol.
6635
6636 2019-07-29 Tom Tromey <tom@tromey.com>
6637
6638 * lib/tuiterm.exp (Term::_csi_@): New proc.
6639 (Term::_csi_X): Don't move cursor.
6640
6641 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6642
6643 * gdb.base/options.exp: Update backtrace - completion to
6644 new option -frame-info.
6645 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6646 Test new 'set print frame-info'. Test backtrace -frame-info
6647 overriding 'set print frame-info'.
6648 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6649 Test new 'set print frame-info'.
6650 Verify consistency of backtrace with and without filters, with and
6651 without -no-filters.
6652 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6653 default.
6654
6655 2019-07-29 Tom de Vries <tdevries@suse.de>
6656
6657 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6658 no arguments".
6659
6660 2019-07-29 Tom de Vries <tdevries@suse.de>
6661
6662 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6663 is a substring of the first for "complete non-unique file name".
6664
6665 2019-07-29 Tom de Vries <tdevries@suse.de>
6666
6667 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6668 with ".*".
6669
6670 2019-07-29 Tom de Vries <tdevries@suse.de>
6671
6672 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6673 Pass prompt_regexp parameter to gdb_test_multiple calls.
6674
6675 2019-07-29 Tom de Vries <tdevries@suse.de>
6676
6677 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
6678 print registers" regexps.
6679
6680 2019-07-29 Tom de Vries <tdevries@suse.de>
6681
6682 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6683
6684 2019-07-29 Tom de Vries <tdevries@suse.de>
6685
6686 PR gdb/24855
6687 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6688 (skip_python_tests_prompt): Add prompt_regexp argument to
6689 gdb_test_multiple calls.
6690
6691 2019-07-27 Tom Tromey <tom@tromey.com>
6692
6693 * gdb.tui/main.exp: New file.
6694
6695 2019-07-27 Tom Tromey <tom@tromey.com>
6696
6697 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6698 optional.
6699 * gdb.tui/empty.exp: New file.
6700
6701 2019-07-27 Tom Tromey <tom@tromey.com>
6702
6703 * lib/tuiterm.exp (spawn): New proc.
6704 (Term::resize): New proc.
6705 * gdb.tui/resize.exp: New file.
6706
6707 2019-07-27 Tom Tromey <tom@tromey.com>
6708
6709 * gdb.tui/list.exp: New file.
6710
6711 2019-07-27 Tom Tromey <tom@tromey.com>
6712
6713 * gdb.tui/regs.exp: New file.
6714
6715 2019-07-27 Tom Tromey <tom@tromey.com>
6716
6717 * gdb.tui/basic.exp: Add "layout split" test.
6718
6719 2019-07-27 Tom Tromey <tom@tromey.com>
6720
6721 * gdb.tui/basic.exp: Add "layout asm" test.
6722
6723 2019-07-27 Tom Tromey <tom@tromey.com>
6724
6725 * lib/tuiterm.exp: New file.
6726 * gdb.tui/basic.exp: New file.
6727
6728 2019-07-27 Kevin Buettner <kevinb@redhat.com>
6729
6730 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6731 Enable tests associated with this flag. Adjust regex
6732 referencing "foo_low" to now refer to "foo_cold" instead.
6733
6734 2019-07-27 Kevin Buettner <kevinb@redhat.com>
6735
6736 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6737 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6738 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6739 foo_cold. Revise comments to match.
6740 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6741 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6742 were wrapped into this proc; Call do_test in loop from outermost
6743 level.
6744 (foo_low): Rename all occurrences to "foo_cold".
6745 (backtrace from baz): New test.
6746 (x2/i foo_cold): New test.
6747 (info line *foo_cold): New test.
6748
6749 2019-07-26 Tom de Vries <tdevries@suse.de>
6750
6751 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6752
6753 2019-07-25 Tom de Vries <tdevries@suse.de>
6754
6755 PR testsuite/24830
6756 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6757 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6758 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6759 (skip_libstdcxx_probe_tests): ... here.
6760 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6761
6762 2019-07-24 Tom de Vries <tdevries@suse.de>
6763
6764 PR testsuite/24807
6765 * gdb.objc/basicclass.m: Include stdio.h.
6766 * gdb.objc/nondebug.m: Same.
6767 * gdb.objc/objcdecode.m: Same.
6768
6769 2019-07-24 Tom de Vries <tdevries@suse.de>
6770
6771 PR testsuite/24612
6772 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6773 additional_flags.
6774
6775 2019-07-24 Tom de Vries <tdevries@suse.de>
6776
6777 PR testsuite/24831
6778 * gdb.multi/tids.exp: Update error messages for info threads.
6779
6780 2019-07-24 Tom de Vries <tdevries@suse.de>
6781
6782 * gdb.base/info-types.exp: Allow info types to print info for more than
6783 one file.
6784
6785 2019-07-23 Tom de Vries <tdevries@suse.de>
6786
6787 PR testsuite/24842
6788 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6789 gdb_spawn_with_cmdline_opts.
6790
6791 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6792
6793 * gdb.arch/arm-cmse-sgstubs.c: New test.
6794 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6795
6796 2019-07-23 Tom de Vries <tdevries@suse.de>
6797
6798 PR testsuite/24711
6799 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6800 issuing next command.
6801
6802 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6803
6804 * gdb.ada/info_auto_lang.exp: Update expected results.
6805 * gdb.base/info-types.c: Add additional types to check.
6806 * gdb.base/info-types.exp: Update expected results.
6807
6808 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6809
6810 * gdb.base/info-types.c: New file.
6811 * gdb.base/info-types.exp: New file.
6812
6813 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6814
6815 * gdb.arch/riscv-bp-infcall.c: New file.
6816 * gdb.arch/riscv-bp-infcall.exp: New file.
6817
6818 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6819
6820 PR breakpoints/24541
6821 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6822
6823 2019-07-14 Tom de Vries <tdevries@suse.de>
6824
6825 PR testsuite/24760
6826 * gdb.objc/basicclass.exp: Fix unterminated string.
6827
6828 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6829 Andrew Burgess <andrew.burgess@embecosm.com>
6830
6831 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6832 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6833 negative bounds.
6834 * gdb.fortran/vla-value.exp: Print elements of an array with
6835 negative bounds.
6836 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6837 testing.
6838
6839 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6840
6841 * gdb.base/options.exp (expect_string): Dequote strings in
6842 results.
6843 (test-string): Test strings with different quoting and reindent.
6844
6845 2019-07-10 Tom Tromey <tromey@adacore.com>
6846
6847 * gdb.ada/mi_ex_cond.exp: Update expected results.
6848 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6849 * gdb.ada/mi_catch_ex.exp: Update expected results.
6850 * gdb.ada/mi_catch_assert.exp: Update expected results.
6851 * gdb.ada/catch_ex.exp (catch_exception_info)
6852 (catch_exception_entry, catch_assert_entry)
6853 (catch_unhandled_entry): Update.
6854 * gdb.ada/catch_assert_if.exp: Update expected results.
6855
6856 2019-07-10 Richard Bunt <richard.bunt@arm.com>
6857 Stephen Roberts <stephen.roberts@arm.com>
6858
6859 * gdb.base/define.exp: Restore original prompt.
6860
6861 2019-07-09 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6864 breakpoints" output.
6865 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6866 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6867 throw" creates breakpoint.
6868 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6869 'type="catchpoint"'.
6870
6871 2019-07-09 Pedro Alves <palves@redhat.com>
6872
6873 PR c++/15468
6874 * gdb.cp/except-multi-location-lib.cc: New.
6875 * gdb.cp/except-multi-location-main.cc: New.
6876 * gdb.cp/except-multi-location.exp: New.
6877
6878 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6879
6880 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6881 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6882 argument and update callers.
6883
6884 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6885
6886 * gdb.arch/amd64-break-on-asm-line.S: New file.
6887 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6888
6889 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6890
6891 * gdb.base/printcmds.exp: Test printing C string and
6892 C wide string convenience vars without transiting via the inferior.
6893 Also make test names unique.
6894
6895 2019-07-08 Alan Hayward <alan.hayward@arm.com>
6896
6897 PR breakpoints/25011
6898 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6899
6900 2019-07-04 Pedro Alves <palves@redhat.com>
6901
6902 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6903 body returned ok(0), break(3) or continue(4).
6904 * gdb.testsuite/foreach_with_prefix.exp: New file.
6905
6906 2019-07-04 Alan Hayward <alan.hayward@arm.com>
6907
6908 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6909
6910 2019-07-03 Pedro Alves <palves@redhat.com>
6911
6912 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6913 "return -code".
6914
6915 2019-07-03 Pedro Alves <palves@redhat.com>
6916
6917 PR cli/24732
6918 * gdb.base/shell.exp: Load completion-support.exp.
6919 Adjust expected error output. Add completion tests.
6920
6921 2019-07-03 Pedro Alves <palves@redhat.com>
6922
6923 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6924 string_to_regexp.
6925
6926 2019-07-03 Pedro Alves <palves@redhat.com>
6927
6928 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6929 (expect_integer): Adjust to expect "-string".
6930 (expect_string): New.
6931 (all_options): Expect "-string".
6932 (test-flag, test-boolean): Adjust to expect "-string".
6933 (test-string): New proc.
6934 (top level): Call it.
6935
6936 2019-07-03 Pedro Alves <palves@redhat.com>
6937
6938 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6939 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6940 the expected output in the success.
6941
6942 2019-07-03 Pedro Alves <palves@redhat.com>
6943
6944 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6945 Split one gdb_test_multiple call in two to avoid a race.
6946
6947 2019-07-03 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.base/with.c: New file.
6950 * gdb.base/with.exp: New file.
6951
6952 2019-07-03 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/settings.exp: Replace all references to "maint
6955 test-settings set" with references to "maint set test-settings",
6956 and all references to "maint test-settings show" with references
6957 to "maint show test-settings".
6958
6959 2019-07-03 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.base/settings.exp (test-string): Adjust expected out when
6962 testing "maint test-settings show filename"
6963
6964 2019-07-02 Pedro Alves <palves@redhat.com>
6965
6966 * gdb.base/options.exp (test-info-threads): New procedure.
6967 (top level): Call it.
6968
6969 2019-06-28 Tom Tromey <tromey@adacore.com>
6970
6971 * gdb.dwarf2/ada-linkage-name.c: New file.
6972 * gdb.dwarf2/ada-linkage-name.exp: New file.
6973
6974 2019-06-27 Tom Tromey <tromey@adacore.com>
6975
6976 PR c++/20020:
6977 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6978
6979 2019-06-26 Tom de Vries <tdevries@suse.de>
6980
6981 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6982
6983 2019-06-26 Tom de Vries <tdevries@suse.de>
6984
6985 * gdb.base/index-cache.exp: Add back missing debug option.
6986
6987 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6988
6989 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6990
6991 2019-06-25 Tom de Vries <tdevries@suse.de>
6992
6993 PR testsuite/24727
6994 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6995
6996 2019-06-24 Tom de Vries <tdevries@suse.de>
6997
6998 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6999
7000 2019-06-24 Tom de Vries <tdevries@suse.de>
7001
7002 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7003 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7004 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7005
7006 2019-06-24 Tom de Vries <tdevries@suse.de>
7007
7008 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7009
7010 2019-06-21 Tom de Vries <tdevries@suse.de>
7011
7012 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7013
7014 2019-06-21 Tom de Vries <tdevries@suse.de>
7015
7016 PR testsuite/24518
7017 PR ada/24713
7018 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7019 index.
7020
7021 2019-06-19 Tom Tromey <tromey@adacore.com>
7022
7023 * gdb.ada/length_cond.exp: Add intro comment.
7024
7025 2019-06-19 Tom Tromey <tromey@adacore.com>
7026
7027 * gdb.ada/length_cond.exp: New file.
7028 * gdb.ada/length_cond/length_cond.adb: New file.
7029 * gdb.ada/length_cond/pck.adb: New file.
7030 * gdb.ada/length_cond/pck.ads: New file.
7031
7032 2019-06-18 Tom de Vries <tdevries@suse.de>
7033
7034 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7035
7036 2019-06-18 Tom Tromey <tromey@adacore.com>
7037
7038 * gdb.base/list0.h: Add comment explaining control character.
7039
7040 2019-06-18 Tom de Vries <tdevries@suse.de>
7041
7042 * boards/fission.exp: Break up long debug_flags line.
7043
7044 2019-06-16 Tom de Vries <tdevries@suse.de>
7045
7046 PR gdb/24445
7047 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7048 generated index.
7049
7050 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7051
7052 PR gdb/24686
7053 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7054 improve detection of bug gdb/24541.
7055
7056 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7057
7058 PR gdb/24669
7059 * gdb.base/index-cache.exp (uses_readnow,
7060 expecting_index_cache_use): Define global variable.
7061 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7062 expecting_index_cache_use.
7063
7064 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7065 Andrew Burgess <andrew.burgess@embecosm.com>
7066
7067 * gdb.fortran/pointers.f90: New file.
7068 * gdb.fortran/print_type.exp: New file.
7069 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7070 * gdb.fortran/vla-type.exp: Likewise.
7071 * gdb.fortran/vla-value.exp: Likewise.
7072 * gdb.mi/mi-vla-fortran.exp: Likewise.
7073
7074 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7075
7076 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7077 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7078 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7079 as a stop reason.
7080
7081 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7082
7083 * gdb.base/annota1.exp: Update expected results.
7084 * gdb.cp/annota2.exp: Likewise.
7085 * gdb.cp/annota3.exp: Likewise.
7086
7087 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.base/style-logging.exp: Remove path from test name.
7090
7091 2019-06-14 Tom Tromey <tromey@adacore.com>
7092
7093 PR gdb/24502:
7094 * gdb.base/style-logging.exp: New file.
7095
7096 2019-06-14 Tom Tromey <tromey@adacore.com>
7097
7098 * gdb.base/symfile-warn.exp: New file.
7099 * gdb.base/symfile-warn.c: New file.
7100
7101 2019-06-14 Tom Tromey <tromey@adacore.com>
7102
7103 * gdb.base/annotate-symlink.exp: New file.
7104
7105 2019-06-14 Tom Tromey <tromey@adacore.com>
7106
7107 * gdb.ada/set_wstr.exp: Add reassignment test.
7108
7109 2019-06-14 Tom Tromey <tromey@adacore.com>
7110
7111 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7112 'unchecked_access and 'unrestricted_access as well.
7113
7114 2019-06-14 Tom Tromey <tromey@adacore.com>
7115
7116 PR ada/24539:
7117 * gdb.ada/vla.exp: Update tests.
7118 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7119 pragma.
7120
7121 2019-06-13 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.base/settings.exp (test-integer): Test junk after
7124 "unlimited".
7125
7126 2019-06-13 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/options.exp (test-thread-apply): New.
7129 (top level): Call it.
7130
7131 2019-06-13 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.base/options.exp (test-frame-apply): New.
7134 (top level): Test print commands with different "frame apply"
7135 prefixes.
7136
7137 2019-06-13 Pedro Alves <palves@redhat.com>
7138
7139 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
7140 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7141 'max_completions' parameter and handle it.
7142 (test_gdb_completion_offers_commands): New.
7143
7144 2019-06-13 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7147
7148 2019-06-13 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.base/options.exp (test-backtrace): New.
7151 (top level): Call it.
7152
7153 2019-06-13 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.guile/scm-frame-args.exp: Use "set print
7156 raw-frame-arguments" instead of "set print raw frame-arguments".
7157 * gdb.python/py-frame-args.exp: Likewise.
7158
7159 2019-06-13 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.compile/compile.exp: Adjust expected output to option
7162 processing changes.
7163
7164 2019-06-13 Pedro Alves <palves@redhat.com>
7165
7166 * gdb.base/options.exp: Build executable.
7167 (test-print): New procedure.
7168 (top level): Call it, once for "print" and another for "compile
7169 print".
7170
7171 2019-06-13 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.base/options.c: New file.
7174 * gdb.base/options.exp: New file.
7175
7176 2019-06-13 Pedro Alves <palves@redhat.com>
7177
7178 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7179 that "o" is ambiguous.
7180
7181 2019-06-13 Pedro Alves <palves@redhat.com>
7182
7183 * gdb.base/settings.c: New file.
7184 * gdb.base/settings.exp: New file.
7185
7186 2019-06-13 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/completion.exp: Fix comment typo.
7189
7190 2019-06-13 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7193 foo --1" test.
7194
7195 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7196
7197 * gdb.fortran/block-data.f: New.
7198 * gdb.fortran/block-data.exp: New.
7199
7200 2019-06-11 Tom de Vries <tdevries@suse.de>
7201
7202 PR testsuite/24521
7203 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7204 message.
7205
7206 2019-06-11 Tom de Vries <tdevries@suse.de>
7207
7208 PR testsuite/24521
7209 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7210
7211 2019-06-11 Tom de Vries <tdevries@suse.de>
7212
7213 * boards/readnow.exp: New file.
7214
7215 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7216
7217 * gdb.fortran/vla-sizeof.exp: Update expected results.
7218
7219 2019-06-06 Amos Bird <amosbird@gmail.com>
7220
7221 * gdb.base/annota1.exp (thread_switch): Add test for
7222 thread-exited annotation.
7223
7224 2019-06-06 Tom Tromey <tromey@adacore.com>
7225
7226 * gdb.base/maint.exp: Expect command started/finished output.
7227
7228 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7229
7230 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7231 comment.
7232 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7233
7234 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7235
7236 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7237 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7238 * gdb.arch/riscv-unwind-long-insn.c: New file.
7239 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7240
7241 2019-06-04 Christian Biesinger <cbiesinger@google.com>
7242
7243 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
7244
7245 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7246
7247 * lib/gdb.exp (help_list_trailer): New regexp variable
7248 factorizing the help trailer message.
7249 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7250 arg to allow to better factorize various tests.
7251 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7252 (test_prefix_command_help): Use help_list_trailer.
7253 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7254 * gdb.guile/scm-cmd.exp: Likewise.
7255 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7256 * gdb.base/help.exp: Use test_user_defined_class_help.
7257 * gdb.base/style.exp: Add tests for styling of help and apropos.
7258 * lib/gdb-utils.exp (style): Add title and highlight styles.
7259
7260 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7261
7262 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7263 $_shell_exitsignal.
7264 * gdb.base/default.exp: Update for new convenience variables.
7265
7266 2019-05-29 Tom Tromey <tromey@adacore.com>
7267
7268 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7269 to "break complete ada" test case's regexp.
7270
7271 2019-05-29 Tom Tromey <tromey@adacore.com>
7272
7273 PR c++/20020:
7274 * gdb.cp/constexpr-field.exp: New file.
7275 * gdb.cp/constexpr-field.cc: New file.
7276
7277 2019-05-29 Tom Tromey <tromey@adacore.com>
7278
7279 * gdb.base/finish.exp (finish_no_print): New proc.
7280 (finish_tests): Call it.
7281
7282 2019-05-24 Tom de Vries <tdevries@suse.de>
7283
7284 * gdb.dwarf2/gdb-add-index.exp: New file.
7285
7286 2019-05-22 Tom Tromey <tromey@adacore.com>
7287
7288 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7289 * gdb.base/style.exp: Use "style".
7290 * lib/gdb-utils.exp (style): New proc.
7291
7292 2019-05-22 Tom de Vries <tdevries@suse.de>
7293
7294 * gdb.base/align.exp: Require c++11.
7295
7296 2019-05-22 Tom de Vries <tdevries@suse.de>
7297
7298 PR testsuite/24586
7299 * gdb.python/py-mi-var-info-path-expression.exp: Call
7300 mi_skip_python_tests to check if python is supported.
7301
7302 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7303
7304 * gdb.arch/aarch64-pauth.c: New test.
7305 * gdb.arch/aarch64-pauth.exp: New file.
7306
7307 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7308
7309 * README (Re-running Tests Outside The Testsuite): New section.
7310
7311 2019-05-21 Tom de Vries <tdevries@suse.de>
7312
7313 * gdb.arch/amd64-eval.exp: Require c++11.
7314 * gdb.base/max-depth.exp: Same.
7315 * gdb.compile/compile-cplus-array-decay.exp: Same.
7316 * gdb.cp/meth-typedefs.exp: Same.
7317 * gdb.cp/subtypes.exp: Same.
7318 * gdb.cp/temargs.exp: Same.
7319
7320 2019-05-21 Alan Hayward <alan.hayward@arm.com>
7321
7322 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7323
7324 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7325
7326 PR gdb/18644
7327 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7328 * gdb.fortran/printing-types.exp: Add new test.
7329 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7330 testing.
7331 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7332 setup_kfail call.
7333
7334 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7335
7336 * README (Running the Testsuite): Change example.
7337 (Testsuite Parameters): Remove TRANSCRIPT.
7338 * lib/gdb.exp: Remove TRANSCRIPT check.
7339
7340 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7341
7342 * README (Testsuite Parameters): Add replay logging to
7343 GDBSERVER_DEBUG.
7344 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7345 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7346 as a comma separated list.
7347 (gdb_debug_init): Override procedure.
7348
7349 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7350
7351 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7352 (gdb_write_cmd_file): New procedure.
7353 * lib/gdbserver-support.exp (gdbserver_start): Call
7354 gdbserver_write_cmd_file.
7355 (gdbserver_write_cmd_file): New procedure.
7356
7357 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7358
7359 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7360 (delete_breakpoints): Likewise.
7361 (gdb_run_cmd): Likewise.
7362 (gdb_start_cmd): Likewise.
7363 (gdb_starti_cmd): Likewise.
7364 (gdb_internal_error_resync): Likewise.
7365 (gdb_test_multiple): Likewise.
7366 (gdb_reinitialize_dir): Likewise.
7367 (default_gdb_exit): Likewise.
7368 (gdb_file_cmd): Mark kill as optional.
7369 (default_gdb_start): Call gdb_stdin_log_init.
7370 (send_gdb): Call gdb_stdin_log_write.
7371 (rerun_to_main): Mark Y as an answer.
7372 (gdb_stdin_log_init): New function.
7373 (gdb_stdin_log_write): Likewise.
7374
7375 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7376
7377 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7378 * gdb.base/debug-expr.exp: Likewise.
7379 * gdb.base/foll-fork.exp: Likewise.
7380 * gdb.base/foll-vfork.exp: Likewise.
7381 * gdb.base/fork-print-inferior-events.exp: Likewise.
7382 * gdb.base/gdb-sigterm.exp: Likewise.
7383 * gdb.base/gdbinit-history.exp: Likewise.
7384 * gdb.base/osabi.exp: Likewise.
7385 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7386 * gdb.base/ui-redirect.exp: Likewise.
7387 * gdb.gdb/unittest.exp: Likewise.
7388 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7389 * gdb.mi/mi-watch.exp: Likewise.
7390 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7391 * gdb.mi/user-selected-context-sync.exp: Likewise.
7392 * gdb.python/python.exp: Disable debug test when debugging.
7393 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7394 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7395 Likewise.
7396 * gdb.threads/stepi-random-signal.exp: Likewise.
7397
7398 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7399
7400 * Makefile.in: Pass through GDB_DEBUG.
7401 * README (Testsuite Parameters): Add GDB_DEBUG.
7402 (gdb,debug): Add board setting.
7403 * lib/gdb.exp (default_gdb_start): Start debugging.
7404 (gdb_debug_enabled): New procedure.
7405 (gdb_debug_init): Likewise.
7406
7407 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7408
7409 * Makefile.in: Pass through GDB_DEBUG.
7410 * README (Testsuite Parameters): Add GDB_DEBUG.
7411 (gdb,debug): Add board setting.
7412 * lib/gdb.exp (default_gdb_start): Start debugging.
7413 (gdb_debug_enabled): New procedure.
7414 (gdb_debug_init): Likewise.
7415
7416 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7417
7418 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7419
7420 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7421
7422 * gdb.base/ui-redirect.exp: Test redirection.
7423
7424 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7425
7426 * gdb.mi/mi-complete.exp: New file.
7427 * gdb.mi/mi-complete.cc: Likewise.
7428
7429 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7430
7431 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7432 indexed and sliced arrays, and pointers to arrays.
7433
7434 2019-05-14 Tom Tromey <tromey@adacore.com>
7435
7436 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7437 styling test.
7438
7439 2019-05-14 Tom de Vries <tdevries@suse.de>
7440
7441 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7442 selection entry encoding.
7443
7444 2019-05-10 Tom Tromey <tromey@adacore.com>
7445
7446 * gdb.ada/info_exc.exp: Add "complete" test.
7447
7448 2019-05-09 Tom de Vries <tdevries@suse.de>
7449
7450 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7451 CU-relative.
7452
7453 2019-05-09 Tom de Vries <tdevries@suse.de>
7454
7455 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7456 CU-relative.
7457
7458 2019-05-08 Joel Brobecker <brobecker@adacore.com>
7459
7460 * gdb.ada/frame_arg_lang.exp: New testcase.
7461 * gdb.ada/frame_arg_lang/bla.adb: New file.
7462 * gdb.ada/frame_arg_lang/pck.ads: New file.
7463 * gdb.ada/frame_arg_lang/pck.adb: New file.
7464 * gdb.ada/frame_arg_lang/foo.c: New file.
7465
7466 2019-05-08 Tom Tromey <tromey@adacore.com>
7467
7468 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7469
7470 2019-05-08 Tom Tromey <tromey@adacore.com>
7471
7472 * gdb.base/ptype-offsets.exp: Update tests.
7473
7474 2019-05-08 Tom Tromey <tromey@adacore.com>
7475
7476 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7477 cases.
7478 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7479 "short".
7480
7481 2019-05-08 Tom Tromey <tromey@adacore.com>
7482
7483 * gdb.ada/vla.exp: New file.
7484 * gdb.ada/vla/vla.adb: New file.
7485
7486 2019-05-07 Tom de Vries <tdevries@suse.de>
7487
7488 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7489
7490 2019-05-07 Tom de Vries <tdevries@suse.de>
7491
7492 PR testsuite/24522
7493 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7494 section.
7495
7496 2019-05-07 Tom de Vries <tdevries@suse.de>
7497
7498 PR testsuite/24522
7499 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7500 .debug_aranges section.
7501
7502 2019-05-07 Tom de Vries <tdevries@suse.de>
7503
7504 PR testsuite/24159
7505 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7506
7507 2019-05-06 Tom de Vries <tdevries@suse.de>
7508
7509 * lib/gdb.exp (exec_has_index_section): New proc.
7510 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7511 section.
7512
7513 2019-05-04 Tom de Vries <tdevries@suse.de>
7514
7515 * boards/cc-with-debug-names.exp: New file.
7516
7517 2019-05-03 Tom Tromey <tromey@adacore.com>
7518
7519 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7520 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7521 * gdb.ada/char_enum.exp: Add test.
7522
7523 2019-05-03 Tom de Vries <tdevries@suse.de>
7524
7525 * boards/cc-with-gdb-index.exp: New file.
7526
7527 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7528
7529 * gdb.rust/simple.exp: Add new test case.
7530 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7531 (main): Initialise an instance of the new struct.
7532
7533 2019-05-01 Tom Tromey <tromey@adacore.com>
7534
7535 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7536 record.
7537 (NPR): New variable.
7538 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7539 test.
7540
7541 2019-05-01 Tom Tromey <tromey@adacore.com>
7542
7543 * gdb.ada/packed_array_assign.exp: Add packed assignment
7544 regression test.
7545
7546 2019-05-01 Tom de Vries <tdevries@suse.de>
7547
7548 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7549
7550 2019-05-01 Tom de Vries <tdevries@suse.de>
7551
7552 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7553
7554 2019-04-30 Ali Tamur <tamur@google.com>
7555
7556 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7557
7558 2019-04-30 Tom Tromey <tromey@adacore.com>
7559
7560 * lib/ada.exp (find_ada_tool): New proc.
7561 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7562 * gdb.ada/catch_ex_std.exp: New file.
7563 * gdb.ada/catch_ex_std/foo.adb: New file.
7564 * gdb.ada/catch_ex_std/some_package.adb: New file.
7565 * gdb.ada/catch_ex_std/some_package.ads: New file.
7566
7567 2019-04-30 Tom Tromey <tromey@adacore.com>
7568
7569 PR c++/24470:
7570 * gdb.cp/temargs.cc: Add test code from PR.
7571
7572 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7573
7574 * gdb.fortran/vla-datatypes.exp: Update expected results.
7575 * gdb.fortran/vla-ptype.exp: Likewise.
7576 * gdb.fortran/vla-type.exp: Likewise.
7577 * gdb.fortran/vla-value.exp: Likewise.
7578
7579 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7580
7581 * gdb.fortran/ptr-indentation.exp: Update expected results.
7582 * gdb.fortran/ptype-on-functions.exp: Likewise.
7583 * gdb.fortran/vla-ptr-info.exp: Likewise.
7584 * gdb.fortran/vla-value.exp: Likewise.
7585
7586 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7587
7588 * gdb.fortran/ptype-on-functions.exp: New file.
7589 * gdb.fortran/ptype-on-functions.f90: New file.
7590
7591 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7592
7593 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7594 case void string.
7595
7596 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7597
7598 * gdb.fortran/complex.exp: Expand.
7599 * gdb.fortran/complex.f: Renamed to...
7600 * gdb.fortran/complex.f90: ...this, and extended to add more
7601 complex values.
7602
7603 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7604
7605 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7606 MODULO, CMPLX.
7607
7608 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7609 Richard Bunt <richard.bunt@arm.com>
7610
7611 * gdb.base/max-depth.c: New file.
7612 * gdb.base/max-depth.exp: New file.
7613 * gdb.python/py-nested-maps.c: New file.
7614 * gdb.python/py-nested-maps.exp: New file.
7615 * gdb.python/py-nested-maps.py: New file.
7616 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7617 (test_all_common): Call test_max_depth.
7618 * gdb.fortran/max-depth.exp: New file.
7619 * gdb.fortran/max-depth.f90: New file.
7620 * gdb.go/max-depth.exp: New file.
7621 * gdb.go/max-depth.go: New file.
7622 * gdb.modula2/max-depth.exp: New file.
7623 * gdb.modula2/max-depth.c: New file.
7624 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7625
7626 2019-04-29 Tom de Vries <tdevries@suse.de>
7627
7628 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7629
7630 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7631
7632 * gdb.base/callexit.exp: Test may-call-functions off.
7633
7634 2019-04-25 Keith Seitz <keiths@redhat.com>
7635
7636 PR c++/24367
7637 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7638 (another_incomplete_struct, test_incomplete): New definitions.
7639 (main): Use new definitions.
7640 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7641 functions.
7642
7643 2019-04-25 Ali Tamur <tamur@google.com>
7644
7645 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7646
7647 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7648
7649 PR corefiles/11608
7650 PR corefiles/18187
7651 * gdb.base/coredump-filter-build-id.exp: New file.
7652
7653 2019-04-25 Alan Hayward <alan.hayward@arm.com>
7654
7655 * Makefile.in: Pass through GDBSERVER_DEBUG.
7656 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7657 (gdbserver,debug): Add board setting.
7658 * gdb.trace/tspeed.exp: Skip when debugging.
7659 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7660 * lib/gdbserver-support.exp: Likewise
7661
7662 2019-04-24 Tom Tromey <tromey@adacore.com>
7663
7664 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7665 Rust.
7666
7667 2019-04-24 Tom Tromey <tromey@adacore.com>
7668
7669 * gdb.arch/amd64-eval.exp: Test bitfield return.
7670 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7671 (class Foo) <return_bitfields>: New method.
7672 (main): Call it.
7673
7674 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7675
7676 * gdb.cp/many-args.cc: New file.
7677 * gdb.cp/many-args.exp: New file.
7678
7679 2019-04-23 Tom de Vries <tdevries@suse.de>
7680
7681 PR gdb/24433
7682 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7683
7684 2019-04-23 Alan Hayward <alan.hayward@arm.com>
7685
7686 * gdb.trace/backtrace.exp: Use nopie flag.
7687 * gdb.trace/circ.exp: Likewise.
7688 * gdb.trace/collection.exp: Likewise.
7689 * gdb.trace/ftrace.exp: Likewise.
7690 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7691 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7692 * gdb.trace/qtro.exp: Likewise.
7693 * gdb.trace/read-memory.exp: Likewise.
7694 * gdb.trace/report.exp: Likewise.
7695 * gdb.trace/tfile.exp: Likewise.
7696 * gdb.trace/tfind.exp: Likewise.
7697 * gdb.trace/unavailable.exp: Likewise.
7698
7699 2019-04-22 Pedro Alves <palves@redhat.com>
7700
7701 * gdb.base/solib-probes-nosharedlibrary.c,
7702 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7703
7704 2019-04-19 Tom Tromey <tromey@adacore.com>
7705
7706 * gdb.ada/ptype_union.c: New file.
7707 * gdb.ada/ptype_union.exp: New file.
7708
7709 2019-04-19 Tom Tromey <tromey@adacore.com>
7710
7711 PR symtab/24423:
7712 * gdb.base/list0.h (foo): Add a control-l character.
7713
7714 2019-04-18 Tom de Vries <tdevries@suse.de>
7715
7716 PR gdb/24433
7717 * boards/local-board.exp: Set sysroot to "".
7718
7719 2019-04-18 Tom de Vries <tdevries@suse.de>
7720 Pedro Alves <palves@redhat.com>
7721
7722 PR gdb/24454
7723 * gdb.threads/vfork-follow-child-exec.c: New file.
7724 * gdb.threads/vfork-follow-child-exec.exp: New file.
7725 * gdb.threads/vfork-follow-child-exit.c: New file.
7726 * gdb.threads/vfork-follow-child-exit.exp: New file.
7727
7728 2019-04-15 Leszek Swirski <leszeks@google.com>
7729
7730 * gdb.arch/amd64-eval.cc: New file.
7731 * gdb.arch/amd64-eval.exp: New file.
7732
7733 2019-04-11 Alan Hayward <alan.hayward@arm.com>
7734
7735 * gdb.server/sysroot.c: New test.
7736 * gdb.server/sysroot.exp: New file.
7737 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7738 matching param.
7739
7740 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7741
7742 * gdb.base/align.exp: Extend test to cover structures containing
7743 only static fields.
7744
7745 2019-04-11 Tom de Vries <tdevries@suse.de>
7746
7747 * boards/cc-with-dwz-m.exp: New file.
7748 * boards/cc-with-dwz.exp: New file.
7749 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7750
7751 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
7752
7753 * gdb.base/start-cpp.exp: New file.
7754 * gdb.base/start-cpp.cc: New file.
7755
7756 2019-04-08 Kevin Buettner <kevinb@redhat.com>
7757
7758 * gdb.python/py-thrhandle.exp: Adjust tests to call
7759 thread_from_handle instead of thread_from_thread_handle.
7760
7761 2019-04-08 Kevin Buettner <kevinb@redhat.com>
7762
7763 * gdb.python/py-thrhandle.exp: Add tests for
7764 gdb.InferiorThread.handle.
7765
7766 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7767
7768 * gdb.python/py-function.exp: Check calling helper function from
7769 all languages.
7770 * lib/gdb.exp (gdb_supported_languages): New proc.
7771
7772 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7773
7774 * gdb.base/complex-parts.c: New file.
7775 * gdb.base/complex-parts.exp: New file.
7776
7777 2019-04-01 Tom Tromey <tromey@adacore.com>
7778
7779 PR symtab/23331:
7780 * gdb.dwarf2/dw2-ranges-main.c: New file.
7781 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7782 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7783
7784 2019-03-30 Simon Marchi <simark@simark.ca>
7785
7786 * gdb.base/default.exp: Add values for $_gdb_major and
7787 $_gdb_minor.
7788
7789 2019-03-29 Tom Tromey <tromey@adacore.com>
7790
7791 * gdb.base/help.exp: Tighten apropos regexp.
7792
7793 2019-03-29 Keith Seitz <keiths@redhat.com>
7794
7795 * gdb.fortran/array-bounds.exp: New file.
7796 * gdb.fortran/array-bounds.f90: New file.
7797
7798 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7799
7800 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7801
7802 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7803
7804 * gdb.multi/hello.c (main): Increase alarm timer.
7805
7806 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7807
7808 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7809 factor when no hardware watchpoint support.
7810
7811 2019-03-28 Alan Hayward <alan.hayward@arm.com>
7812 Pedro Alves <palves@redhat.com>
7813
7814 * boards/local-board.exp: set sysroot to /.
7815
7816 2019-03-27 Alan Hayward <alan.hayward@arm.com>
7817
7818 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7819 in child.
7820
7821 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7822
7823 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7824 field.
7825 (make_container): Initialise new field.
7826 * gdb.python/py-prettyprint.exp: Add new tests.
7827 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7828 <display_hint>: New method.
7829
7830 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7831
7832 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7833 gdb_continue_to_breakpoint more throughout this test.
7834 (run_lang_tests) Supply unique test names, and use
7835 gdb_test_no_output.
7836
7837 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7838
7839 * gdb.base/finish-pretty.exp: Update expected results.
7840 * gdb.base/pretty-print.c: New file.
7841 * gdb.base/pretty-print.exp: New file.
7842
7843 2019-03-25 Pedro Alves <palves@redhat.com>
7844
7845 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7846 move comments outside list. Append '-i "" eof' section.
7847
7848 2019-03-22 Alan Hayward <alan.hayward@arm.com>
7849
7850 PR testsuite/25016
7851 * README: Add pie options.
7852 * gdb.base/break-interp.exp: Ensure pie is disabled.
7853 * gdb.base/dump.exp: Likewise.
7854 * lib/gdb.exp (gdb_compile): Add pie option.
7855
7856 2019-03-19 Tom Tromey <tromey@adacore.com>
7857
7858 * gdb.mi/mi2-cli-display.c: New file.
7859 * gdb.mi/mi2-cli-display.exp: New file.
7860
7861 2019-03-18 Joel Brobecker <brobecker@adacore.com>
7862 Tom Tromey <tromey@adacore.com>
7863
7864 * gdb.ada/ptype_array/pck.adb: New file.
7865 * gdb.ada/ptype_array/pck.ads: New file.
7866 * gdb.ada/ptype_array/foo.adb: New file.
7867 * gdb.ada/ptype_array.exp: New file.
7868
7869 2019-03-14 Tom Tromey <tromey@adacore.com>
7870
7871 * gdb.base/style.exp: Add "set style sources" test.
7872
7873 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7874
7875 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7876 * mi-breakpoint-multiple-locations.exp: ... this.
7877 (make_breakpoints_pattern): New proc.
7878 (do_test): Add mi_version parameter, test -break-insert,
7879 -break-info and =breakpoint-created.
7880
7881 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7882
7883 * config/default.exp: Remove 'load_lib gdb.exp'.
7884 * config/monitor.exp: Likewise.
7885 * config/sid.exp: Likewise.
7886 * config/sim.exp: Likewise.
7887 * config/slite.exp: Likewise.
7888 * config/unix.exp: Likewise.
7889 * gdb.base/default.exp: Remove unhelpful comment.
7890
7891 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7892
7893 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7894
7895 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7896
7897 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7898
7899 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7900
7901 * gdb.fortran/type-kinds.exp: Update expected results.
7902
7903 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7904
7905 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7906
7907 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7908
7909 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7910 function.
7911 (test_basic_parsing_of_type_kinds): Expand types tested.
7912 (test_parsing_invalid_type_kinds): New function.
7913
7914 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7915
7916 * gdb.fortran/intrinsics.exp: New file.
7917 * gdb.fortran/intrinsics.f90: New file.
7918 * gdb.fortran/type-kinds.exp: New file.
7919
7920 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7921
7922 * gdb.fortran/dot-ops.exp: New file.
7923
7924 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7925
7926 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7927 Check upper and lower case logical literals.
7928
7929 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7930
7931 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7932 Remove duplicate tests.
7933
7934 2019-03-06 Alan Hayward <alan.hayward@arm.com>
7935
7936 * lib/gdb.exp (builtin_cd): rename of cd.
7937 (cd): Override builtin.
7938
7939 2019-03-06 Richard Bunt <richard.bunt@arm.com>
7940
7941 * gdb.fortran/function-calls.exp: New file.
7942 * gdb.fortran/function-calls.f90: New test.
7943
7944 2019-03-04 Richard Bunt <richard.bunt@arm.com>
7945
7946 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7947 on user program standard output.
7948 * gdb.fortran/short-circuit-argument-list.f90: Record function
7949 calls.
7950
7951 2019-02-28 Alan Hayward <alan.hayward@arm.com>
7952
7953 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7954 failure.
7955
7956 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7957
7958 PR gdb/8527
7959 * gdb.base/interrupt-daemon-attach.c,
7960 gdb.base/interrupt-daemon-attach.exp: New test.
7961
7962 2019-02-27 Pedro Alves <palves@redhat.com>
7963
7964 * gdb.base/page.exp: Add tests for "set width/height -1".
7965
7966 2019-02-27 Pedro Alves <palves@redhat.com>
7967
7968 * gdb.base/page.exp: Add tests for "set/show width/height" with
7969 "infinite" values.
7970
7971 2019-02-27 Tom Tromey <tromey@adacore.com>
7972
7973 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7974 2.4.
7975 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7976 workaround.
7977
7978 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7979
7980 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7981 tests for structs with static members.
7982
7983 2019-02-26 Tom Tromey <tromey@adacore.com>
7984
7985 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7986 ValueError, not TypeError.
7987
7988 2019-02-26 Kevin Buettner <kevinb@redhat.com>
7989
7990 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7991 call from main program.
7992
7993 2019-02-23 Joel Brobecker <brobecker@adacore.com>
7994
7995 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7996 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7997 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7998 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7999 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8000
8001 2019-02-22 Keith Seitz <keiths@redhat.com>
8002
8003 PR symtab/23853
8004 * gdb.base/symlink-sourcefile.c: New file.
8005 * gdb.base/symlink-sourcefile.exp: New file.
8006
8007 2019-02-20 Tom Tromey <tom@tromey.com>
8008
8009 * gdb.base/info_qt.exp: Update.
8010
8011 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8012
8013 * gdb.base/source.exp: Move "error in sourced script" code to
8014 the end.
8015 * gdb.base/source-error.gdb: Move contents to
8016 source-error-1.gdb. Add new code to source source-error-1.gdb.
8017 * gdb.base/source-error-1.gdb: New file, from previous
8018 source-error.gdb.
8019
8020 2019-02-17 Tom Tromey <tom@tromey.com>
8021
8022 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8023 for macro styling.
8024 * gdb.base/style.c (SOME_MACRO): New macro.
8025
8026 2019-02-17 Tom Tromey <tom@tromey.com>
8027
8028 * gdb.base/style.exp: Add line-wrapping tests.
8029 * gdb.base/page.exp: Add test for quitting during pagination.
8030
8031 2019-02-17 Joel Brobecker <brobecker@adacore.com>
8032
8033 * gdb.ada/big_packed_array: New testcase.
8034 * gdb.ada/homonym.exp: Fix incorrect expected output for
8035 "break <homonym__get_value>" test.
8036
8037 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
8038
8039 PR breakpoints/21870
8040 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8041 and prepare_for_testing. Add comment.
8042 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8043 redundant cleanup call. Clean up comment.
8044
8045 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
8046
8047 PR breakpoints/21870
8048 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8049 * gdb.arch/aarch64-dbreg-contents.c: New file.
8050
8051 2019-02-10 Joel Brobecker <brobecker@adacore.com>
8052
8053 * gdb.ada/mi_ref_changeable: New testcase.
8054
8055 2019-02-07 Alan Hayward <alan.hayward@arm.com>
8056
8057 * gdb.base/attach.exp: Add double attach test.
8058
8059 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8060
8061 * lib/gdb.exp (default_gdb_start): Don't match pagination
8062 prompt.
8063 (gdb_init): Set stty_init.
8064
8065 2019-01-27 Tom Tromey <tom@tromey.com>
8066
8067 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8068 skip_python_tests.
8069
8070 2019-01-24 Alan Hayward <alan.hayward@arm.com>
8071
8072 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8073 New structure.
8074 (struct struct_static_02_02): Likewise.
8075 (struct struct_static_02_03): Likewise.
8076 (struct struct_static_02_04): Likewise.
8077 (struct struct_static_04_01): Likewise.
8078 (struct struct_static_04_02): Likewise.
8079 (struct struct_static_04_03): Likewise.
8080 (struct struct_static_04_04): Likewise.
8081 (struct struct_static_06_01): Likewise.
8082 (struct struct_static_06_02): Likewise.
8083 (struct struct_static_06_03): Likewise.
8084 (struct struct_static_06_04): Likewise.
8085 (cmp_struct_static_02_01): Likewise.
8086 (cmp_struct_static_02_02): Likewise.
8087 (cmp_struct_static_02_03): Likewise.
8088 (cmp_struct_static_02_04): Likewise.
8089 (cmp_struct_static_04_01): Likewise.
8090 (cmp_struct_static_04_02): Likewise.
8091 (cmp_struct_static_04_03): Likewise.
8092 (cmp_struct_static_04_04): Likewise.
8093 (cmp_struct_static_06_01): Likewise.
8094 (cmp_struct_static_06_02): Likewise.
8095 (cmp_struct_static_06_03): Likewise.
8096 (cmp_struct_static_06_04): Likewise.
8097 (call_all): Test new structs.
8098 * gdb.base/infcall-nested-structs.exp: Likewise.
8099
8100 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8101 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8102
8103 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8104 * gdb.base/stack-protector.c: New test.
8105 * gdb.base/stack-protector.exp: New file.
8106 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8107 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8108 option.
8109 (gdb_compile): Remove stack protector for GCC and prevent
8110 recursion.
8111
8112 2019-01-16 Keith Seitz <keiths@redhat.com>
8113
8114 PR gdb/23773
8115 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8116
8117 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8118
8119 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8120 aliases.
8121 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8122 tests.
8123 * gdb.arch/powerpc-vector-regs.c: New file.
8124 * gdb.arch/powerpc-vector-regs.exp: New file.
8125
8126 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8127
8128 * gdb.arch/altivec-regs.exp: Fix the list passed to
8129 gdb_expect_list when testing "info vector".
8130
8131 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8132
8133 * gdb.base/style.exp: Don't include path in testname.
8134
8135 2019-01-10 Keith Seitz <keiths@redhat.com>
8136
8137 PR gdb/23712
8138 PR symtab/23010
8139 * gdb.dwarf2/multidictionary.exp: New file.
8140
8141 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8142
8143 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8144 (test_gnuv3_style_demangling): ... this.
8145 (test_lucid_style_demangling): Remove.
8146 (test_arm_style_demangling): Remove.
8147 (test_hp_style_demangling): Remove.
8148 (do_tests): Remove calls to the above.
8149
8150 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8151
8152 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8153 case.
8154
8155 2019-01-06 Tom Tromey <tom@tromey.com>
8156
8157 PR gdb/28155:
8158 * gdb.dwarf2/typedef-void-finish.exp: New file.
8159
8160 2018-12-28 Tom Tromey <tom@tromey.com>
8161 Simon Marchi <simark@simark.ca>
8162
8163 * gdb.base/jit-exec.exp: New file.
8164 * gdb.base/jit-exec.c: New file.
8165 * gdb.base/jit-execd.c: New file.
8166
8167 2018-12-28 Tom Tromey <tom@tromey.com>
8168
8169 * gdb.base/style.exp: Update test to check for address styling.
8170
8171 2018-12-28 Tom Tromey <tom@tromey.com>
8172
8173 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8174 message.
8175
8176 2018-12-28 Tom Tromey <tom@tromey.com>
8177
8178 * gdb.base/style.exp: Add test for version number styling.
8179
8180 2018-12-28 Tom Tromey <tom@tromey.com>
8181
8182 * gdb.base/style.exp: Add test for print_address_symbolic.
8183
8184 2018-12-28 Tom Tromey <tom@tromey.com>
8185
8186 * gdb.base/style.exp: Add test for breakpoint setting.
8187
8188 2018-12-28 Tom Tromey <tom@tromey.com>
8189
8190 * gdb.base/style.exp: Add test for variable names.
8191
8192 2018-12-28 Tom Tromey <tom@tromey.com>
8193
8194 * gdb.base/style.exp: New file.
8195 * gdb.base/style.c: New file.
8196
8197 2018-12-28 Tom Tromey <tom@tromey.com>
8198
8199 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8200 "dumb".
8201 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8202 the TERM environment variable.
8203
8204 2018-12-27 Tom Tromey <tom@tromey.com>
8205
8206 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8207 pagination test.
8208
8209 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8210
8211 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8212 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8213
8214 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8215
8216 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8217 Filename a.adb changed to bp_fun_addr.adb.
8218 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8219
8220 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8221
8222 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8223 non-PIE executables.
8224 * README: Mention the gdb,nopie_flag board setting.
8225 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8226 non-PIE executable.
8227 * gdb.arch/amd64-entry-value.exp: Likewise.
8228 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8229 * gdb.arch/i386-float.exp: Likewise.
8230 * gdb.arch/i386-signal.exp: Likewise.
8231 * gdb.mi/mi-reg-undefined.exp: Likewise.
8232
8233 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8234
8235 PR gdb/23974
8236 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8237
8238 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8239
8240 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8241 Update order of results accordingly.
8242
8243 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8244
8245 * gdb.base/annota1.exp: Update a test regexp.
8246
8247 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8248
8249 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8250
8251 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8252
8253 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8254 (reuse_time): Initialize to REUSE_TIME_CAP.
8255 (check_rc): New function.
8256 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8257 Check pthread_create rc.
8258 (spawner_thread_func): Check pthread_create and pthread_join rc.
8259
8260 2018-12-08 Pedro Alves <palves@redhat.com>
8261
8262 * gdb.base/list.exp (test_forward_search): Rename to ...
8263 (test_forward_reverse_search): ... this. Also test reverse-search
8264 and the forward-search alias.
8265
8266 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8267
8268 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8269 local timeout variable before return, and remove all local timeout
8270 variable entirely.
8271 (gdb_load): Likewise.
8272
8273 2018-12-01 Tom de Vries <tdevries@suse.de>
8274
8275 * gdb.base/gdb-caching-proc.exp: New file.
8276
8277 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8278
8279 * Makefile.in (TIMESTAMP): New variable.
8280 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8281 command.
8282 (check-single-racy): Likewise.
8283 (check/%.exp): Likewise.
8284 (check-racy/%.exp): Likewise.
8285 (workers/%.worker): Likewise.
8286 (build-perf): Likewise.
8287 (check-perf): Likewise.
8288 * README: Describe new "TS" and "TS_FORMAT" variables.
8289 * print-ts.py: New file.
8290
8291 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8292
8293 PR python/23714
8294 * gdb.python/python.exp: Test command repetition after
8295 gdb.execute.
8296
8297 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8298
8299 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8300 is correctly aligned.
8301
8302 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8303
8304 * gdb.ada/info_auto_lang.exp: New testcase.
8305 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8306 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8307 * gdb.ada/info_auto_lang/some_c.c: New file.
8308
8309 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8310
8311 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8312 FUNC_lang language syntax.
8313
8314 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8315
8316 * gdb.base/info_minsym.c: New file.
8317 * gdb.base/info_minsym.exp: New file.
8318
8319 2018-11-19 Tom Tromey <tom@tromey.com>
8320
8321 PR rust/23625:
8322 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8323 * gdb.rust/expr.exp: Update expected output. Change one test.
8324
8325 2018-11-19 Tom Tromey <tom@tromey.com>
8326
8327 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8328
8329 2018-11-19 Pedro Alves <palves@redhat.com>
8330
8331 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8332 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8333 see the expected warning.
8334
8335 2018-11-16 Alan Hayward <alan.hayward@arm.com>
8336
8337 PR gdb/22736:
8338 * gdb.cp/infcall-nodebug-lib.c: New test.
8339 * gdb.cp/infcall-nodebug-main.c: New test.
8340 * gdb.cp/infcall-nodebug.exp: New file.
8341
8342 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8343
8344 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8345 completer tests.
8346
8347 2018-11-09 Tom de Vries <tdevries@suse.de>
8348
8349 * gdb.base/msym-lang.c: New test.
8350 * gdb.base/msym-lang.exp: New file.
8351 * gdb.base/msym-lang-main.c: New test.
8352
8353 2018-11-08 Tom Tromey <tom@tromey.com>
8354
8355 PR gdb/23555:
8356 PR gdb/23838:
8357 * gdb.base/warning.exp: New file.
8358
8359 2018-11-08 Jan Beulich <jbeulich@suse.com>
8360
8361 * testsuite/gdb.arch/i386-avx512.c,
8362 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8363
8364 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8365
8366 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8367 point hardware.
8368
8369 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8370
8371 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8372 * gdb.dwarf2/missing-type-name.exp: New file.
8373
8374 2018-11-06 Tom de Vries <tdevries@suse.de>
8375
8376 * gdb.base/many-headers.c: New test.
8377 * gdb.base/many-headers.exp: New file.
8378
8379 2018-11-06 Jim Wilson <jimw@sifive.com>
8380
8381 * gdb.base/code_elim.exp: For riscv, set additional_flags
8382 to include -msmall-data-limit=0.
8383
8384 2018-11-01 Joel Brobecker <brobecker@adacore.com>
8385
8386 * gdb.ada/watch_minus_l: New testcase.
8387
8388 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8389
8390 * gdb.arch/aix-sighandle.c: New file.
8391 * gdb.arch/aix-sighandle.exp: New file.
8392
8393 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8394
8395 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8396 registers being unions.
8397
8398 2018-10-31 Tom de Vries <tdevries@suse.de>
8399
8400 * lib/valgrind.exp: New file.
8401 (vgdb_start, vgdb_stop): New procs, factored out of ...
8402 * gdb.base/valgrind-bt.exp: ... here, ...
8403 * gdb.base/valgrind-disp-step.exp: ... here and ...
8404 * gdb.base/valgrind-infcall.exp: ... here.
8405
8406 2018-10-31 Tom de Vries <tdevries@suse.de>
8407
8408 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8409
8410 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8411
8412 * gdb.dwarf2/void-type.c: New file.
8413 * gdb.dwarf2/void-type.exp: New file.
8414
8415 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8416
8417 * gdb.base/info_qt.c: New file.
8418 * gdb.base/info_qt.exp: New file.
8419
8420 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8421
8422 * gdb.arch/powerpc-htm-regs.c: New file.
8423 * gdb.arch/powerpc-htm-regs.exp: New file.
8424
8425 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8426
8427 * gdb.arch/powerpc-tar.c: New file.
8428 * gdb.arch/powerpc-tar.exp: New file.
8429
8430 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8431
8432 * gdb.arch/powerpc-ppr-dscr.c: New file.
8433 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8434
8435 2018-10-25 Tom de Vries <tdevries@suse.de>
8436
8437 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8438
8439 2018-10-24 Tom de Vries <tdevries@suse.de>
8440
8441 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8442 longer exists error.
8443
8444 2018-10-24 Tom de Vries <tdevries@suse.de>
8445
8446 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8447
8448 2018-10-24 Tom de Vries <tdevries@suse.de>
8449
8450 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8451 --db-attach in valgrind.
8452
8453 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8454
8455 * gdb.arch/riscv-reg-aliases.c: New file.
8456 * gdb.arch/riscv-reg-aliases.exp: New file.
8457
8458 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8459
8460 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8461
8462 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8463
8464 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8465
8466 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8467
8468 * gdb.cp/ovldbreak.exp: Fix regexps.
8469
8470 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8471
8472 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8473
8474 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8475
8476 PR cli/23785
8477 * gdb.base/restore.exp: New test to check if "restore" with an
8478 invalid file doesn't segfault.
8479
8480 2018-10-18 Tom de Vries <tdevries@suse.de>
8481
8482 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8483 * gdb.ada/excep_handle.exp: Same.
8484 * gdb.ada/mi_string_access.exp: Same.
8485 * gdb.ada/mi_var_union.exp: Same.
8486 * gdb.arch/arc-analyze-prologue.exp: Same.
8487 * gdb.arch/arc-decode-insn.exp: Same.
8488 * gdb.base/readnever.exp: Same.
8489 * gdb.fortran/printing-types.exp: Same.
8490 * gdb.guile/scm-lazy-string.exp: Same.
8491
8492 2018-10-16 Tom de Vries <tdevries@suse.de>
8493
8494 PR gdb/23730
8495 * gdb.base/catch-follow-exec.c: Add copyright notice.
8496 * gdb.base/catch-follow-exec.exp: Rewrite to use
8497 gdb_spawn_with_cmdline_opts. Require gdb-native.
8498
8499 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8500
8501 * gdb.trace/actions-changed.exp: Check for arch support.
8502 * gdb.trace/actions.exp: Likewise.
8503 * gdb.trace/ax.exp: Likewise.
8504 * gdb.trace/backtrace.exp: Likewise.
8505 * gdb.trace/change-loc.exp: Likewise.
8506 * gdb.trace/deltrace.exp: Likewise.
8507 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8508 * gdb.trace/ftrace.exp: Likewise.
8509 * gdb.trace/infotrace.exp: Check for arch support.
8510 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8511 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8512 * gdb.trace/mi-tsv-changed.exp: Likewise.
8513 * gdb.trace/packetlen.exp: Likewise.
8514 * gdb.trace/passc-dyn.exp: Likewise.
8515 * gdb.trace/passcount.exp: Likewise.
8516 * gdb.trace/pending.exp: Likewise.
8517 * gdb.trace/range-stepping.exp: Check for shlib support.
8518 * gdb.trace/report.exp: Check for arch support.
8519 * gdb.trace/save-trace.exp: Likewise.
8520 * gdb.trace/signal.exp: Check for signal support.
8521 * gdb.trace/tfind.exp: Check for arch support.
8522 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8523 * gdb.trace/trace-common.h: Add comment.
8524 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8525 * gdb.trace/trace-enable-disable.exp: Likewise.
8526 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8527 * gdb.trace/tracecmd.exp: Check for arch support.
8528 * gdb.trace/tspeed.exp: Check for shlib and target support.
8529 * gdb.trace/tstatus.exp: Check for arch support.
8530 * gdb.trace/tsv.exp: Likewise.
8531 * gdb.trace/while-dyn.exp: Likewise.
8532 * gdb.trace/while-stepping.exp: Likewise.
8533 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8534
8535 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8536
8537 * gdb.trace/tspeed.exp: Remove nowarnings.
8538 (prepare_for_trace_test): Declare "global ipalib".
8539 * gdb.trace/tspeed.c: Include unistd.h.
8540 (main): Remove superfluous printf argument.
8541
8542 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8543
8544 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8545 directory prefix on the filename.
8546
8547 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8548
8549 * gdb.gdb/unittest.exp: Update expected message informing that
8550 selftests have been disabled.
8551 * gdb.server/unittest.exp: Likewise.
8552
8553 2018-10-09 Tom de Vries <tdevries@suse.de>
8554
8555 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8556 with runto_main.
8557
8558 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
8559
8560 PR c++/16841
8561 * gdb.cp/virtbase2.cc: New file.
8562 * gdb.cp/virtbase2.exp: New file.
8563
8564 2018-10-06 Tom Tromey <tom@tromey.com>
8565
8566 PR python/19399:
8567 * gdb.python/py-inferior.exp: Add architecture test.
8568
8569 2018-10-06 Tom Tromey <tom@tromey.com>
8570
8571 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8572 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8573
8574 2018-10-06 Tom Tromey <tom@tromey.com>
8575
8576 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8577 of a "throw" catchpoint.
8578
8579 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8580
8581 * gdb.base/info-proc.exp: Update string expected from "help info
8582 proc".
8583
8584 2018-10-04 Tom Tromey <tom@tromey.com>
8585
8586 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8587 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8588 (test_initial_complaints, test_empty_complaints): Update.
8589 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8590
8591 2018-10-04 Tom Tromey <tom@tromey.com>
8592
8593 PR cli/19551:
8594 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8595 * lib/gdb.exp (gdb_file_cmd): Update.
8596 * gdb.stabs/weird.exp (print_weird_var): Update.
8597 * gdb.server/solib-list.exp: Update.
8598 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8599 * gdb.mi/mi-cli.exp: Update.
8600 * gdb.linespec/linespec.exp: Update.
8601 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8602 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8603 * gdb.cp/cp-relocate.exp: Update.
8604 * gdb.base/sym-file.exp: Update.
8605 * gdb.base/relocate.exp: Update.
8606 * gdb.base/readnever.exp: Update.
8607 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8608 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8609 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8610 * gdb.base/code_elim.exp: Update.
8611 * gdb.base/break-unload-file.exp (test_break): Update.
8612 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8613 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8614 Update.
8615 * gdb.base/attach.exp (do_attach_tests): Update.
8616 * gdb.base/sepdebug.exp: Update.
8617 * gdb.python/py-section-script.exp: Update.
8618
8619 2018-10-04 Tom Tromey <tom@tromey.com>
8620
8621 PR cli/22234:
8622 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8623 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8624 output.
8625
8626 2018-10-04 Tom Tromey <tom@tromey.com>
8627
8628 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8629 set width and height to 0.
8630 (test_command_line_attach_run): Use -quiet.
8631
8632 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8633
8634 * lib/gdb.exp (skip_ifunc_tests): New.
8635 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8636 other compile failures.
8637 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8638
8639 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8640
8641 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8642 is_amd64_regs_target.
8643
8644 2018-10-01 Alan Hayward <alan.hayward@arm.com>
8645
8646 * gdb.arch/aarch64-sighandler-regs.c: New test.
8647 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8648 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8649
8650 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8651
8652 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8653 assembly.
8654
8655 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8656
8657 * gdb.base/frame-selection.exp: New file.
8658 * gdb.base/frame-selection.c: New file.
8659
8660 2018-09-27 Alan Hayward <alan.hayward@arm.com>
8661
8662 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8663 pthread barrier.
8664 (main): Likewise.
8665
8666 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8667
8668 * gdb.base/large-frame-1.c: New file.
8669 * gdb.base/large-frame-2.c: New file.
8670 * gdb.base/large-frame.exp: New file.
8671 * gdb.base/large-frame.h: New file.
8672
8673 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8674
8675 PR gdb/20948
8676 * gdb.base/write_mem.exp: New test.
8677 * gdb.base/write_mem.c: Likewise.
8678
8679 2018-09-23 Tom Tromey <tom@tromey.com>
8680
8681 PR python/18852:
8682 * gdb.python/py-parameter.exp: Add test for parameter that throws
8683 on "set".
8684
8685 2018-09-23 Tom Tromey <tom@tromey.com>
8686
8687 PR python/17284:
8688 * gdb.python/py-template.exp (test_template_arg): Add test for
8689 negative template argument number.
8690
8691 2018-09-23 Tom Tromey <tom@tromey.com>
8692
8693 PR python/14062:
8694 * gdb.python/python.exp: Add test for post_event error.
8695
8696 2018-09-23 Tom Tromey <tom@tromey.com>
8697
8698 PR python/18170:
8699 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8700 convert pointers to int and long.
8701
8702 2018-09-23 Tom Tromey <tom@tromey.com>
8703
8704 PR python/20126:
8705 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8706 signed-ness conversion tests.
8707
8708 2018-09-23 Tom Tromey <tom@tromey.com>
8709
8710 PR python/18352;
8711 * gdb.python/py-value.exp (test_float_conversion): New proc.
8712 Use it.
8713
8714 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8715
8716 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8717
8718 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8719
8720 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8721 no readline.
8722 * gdb.base/utf8-identifiers.exp: Likewise.
8723 * gdb.cp/cpcompletion.exp: Likewise.
8724 * gdb.linespec/cpcompletion.exp: Likewise.
8725 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8726 * gdb.linespec/cpls-ops.exp: Likewise.
8727
8728 2018-09-19 Richard Bunt <richard.bunt@arm.com>
8729 Chris January <chris.january@arm.com>
8730
8731 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8732 * gdb.fortran/short-circuit-argument-list.exp: New file.
8733 * gdb.fortran/short-circuit-argument-list.f90: New test.
8734
8735 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8736
8737 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8738 "arch=" keyword when executing "-stack-list-frames".
8739
8740 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8741
8742 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8743 "arch=" keyword when executing "-stack-list-frames".
8744
8745 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8746
8747 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8748 break ada".
8749
8750 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8751
8752 PR python/23669
8753 * gdb.python/python.exp: Test gdb.execute("show commands").
8754
8755 2018-09-16 Tom Tromey <tom@tromey.com>
8756
8757 * gdb.base/new-ui.exp (do_execution_tests): Update.
8758 * gdb.base/dbx.exp (test_breakpoints): Update.
8759
8760 2018-09-14 Alan Hayward <alan.hayward@arm.com>
8761
8762 * lib/gdb.exp (gdb_simple_compile): Add proc.
8763 (is_elf_target): Use gdb_simple_compile.
8764 (skip_altivec_tests): Likewise.
8765 (skip_vsx_tests): Likewise.
8766 (skip_tsx_tests): Likewise.
8767 (skip_btrace_tests): Likewise.
8768 (skip_btrace_pt_tests): Likewise.
8769 (gdb_can_simple_compile): Likewise.
8770 (gdb_has_argv0): Likewise.
8771 (gdb_target_symbol_prefix): Likewise.
8772 (target_supports_scheduler_locking): Likewise.
8773
8774 2018-09-13 Tom Tromey <tom@tromey.com>
8775
8776 * Makefile.in (TAGS): Recognize proc_with_prefix and
8777 gdb_caching_proc.
8778
8779 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8780
8781 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8782 method.
8783
8784 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8785
8786 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8787 and a few other Inferior properties when the Inferior is no
8788 longer valid.
8789
8790 2018-09-13 Tom Tromey <tom@tromey.com>
8791
8792 PR rust/23650:
8793 * gdb.rust/simple.exp: Add test for enum field access error.
8794
8795 2018-09-13 Tom Tromey <tom@tromey.com>
8796
8797 PR rust/23626:
8798 * gdb.rust/simple.rs (EmptyEnum): New type.
8799 (main): Use it.
8800 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8801
8802 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8803
8804 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8805 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8806 * gdb.python/py-symtab.exp: Update test printing an objfile.
8807
8808 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8809
8810 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8811 object.
8812
8813 2018-09-12 Alan Hayward <alan.hayward@arm.com>
8814
8815 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8816 (support_complex_tests): Use gdb_can_simple_compile.
8817 (is_ilp32_target): Likewise.
8818 (is_lp64_target): Likewise.
8819 (is_64_target): Likewise.
8820 (is_amd64_regs_target): Likewise.
8821 (is_aarch32_target): Likewise.
8822 (gdb_int128_helper): Likewise.
8823
8824 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8825
8826 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8827
8828 2018-09-10 Jerome Guitton <guitton@adacore.com>
8829
8830 * gdb.ada/same_component_name: Add test for case of tagged record
8831 with variable-length fields.
8832
8833 2018-09-10 Xavier Roirand <roirand@adacore.com>
8834
8835 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8836 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8837 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8838 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8839
8840 2018-09-10 Xavier Roirand <roirand@adacore.com>
8841
8842 * gdb.ada/mi_string_access.exp: New testcase.
8843 * gdb.ada/mi_string_access/bar.adb: New file.
8844 * gdb.ada/mi_string_access/pck.adb: New file.
8845 * gdb.ada/mi_string_access/pck.asd: New file.
8846
8847 2018-09-10 Xavier Roirand <roirand@adacore.com>
8848
8849 * gdb.ada/mi_var_union.exp: New testcase.
8850 * gdb.ada/mi_var_union/bar.adb: New file.
8851 * gdb.ada/mi_var_union/pck.adb: New file.
8852 * gdb.ada/mi_var_union/pck.asd: New file.
8853
8854 2018-09-08 Tom Tromey <tom@tromey.com>
8855
8856 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8857
8858 2018-09-08 Tom Tromey <tom@tromey.com>
8859
8860 PR python/16047:
8861 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8862 (register_pretty_printers): Register new printer.
8863 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8864 test.
8865 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8866 (an_int_type3): New global.
8867
8868 2018-09-08 Joel Brobecker <brobecker@adacore.com>
8869
8870 * gdb.ada/expr_with_funcall: New testcase.
8871
8872 2018-09-08 Joel Brobecker <brobecker@adacore.com>
8873
8874 * gdb.ada/packed_array_assign: New testcase.
8875
8876 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8877
8878 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8879 names, and add test prefixes to make test names unique.
8880
8881 2018-09-05 Tom de Vries <tdevries@suse.de>
8882
8883 * gdb.dwarf2/varval.exp: Add test.
8884
8885 2018-09-04 Gary Benson <gbenson@redhat.com>
8886
8887 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8888 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8889
8890 2018-08-31 Tom Tromey <tom@tromey.com>
8891
8892 * gdb.rust/simple.rs: Rename second variable "v".
8893
8894 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8895
8896 * gdb.base/funcargs.c (use_a): New function.
8897 (recurse): Call use_a.
8898
8899 2018-08-29 Keith Seitz <keiths@redhat.com>
8900
8901 * gdb.compile/compile-cplus-anonymous.cc: New file.
8902 * gdb.compile/compile-cplus-anonymous.exp: New file.
8903 * gdb.compile/compile-cplus-array-decay.cc: New file.
8904 * gdb.compile/compile-cplus-array-decay.exp: New file.
8905 * gdb.compile/compile-cplus-inherit.cc: New file.
8906 * gdb.compile/compile-cplus-inherit.exp: New file.
8907 * gdb.compile/compile-cplus-member.cc: New file.
8908 * gdb.compile/compile-cplus-member.exp: New file.
8909 * gdb.compile/compile-cplus-method.cc: New file.
8910 * gdb.compile/compile-cplus-method.exp: New file.
8911 * gdb.compile/compile-cplus-mod.c: "New" file.
8912 * gdb.compile/compile-cplus-namespace.cc: New file.
8913 * gdb.compile/compile-cplus-namespace.exp: New file.
8914 * gdb.compile/compile-cplus-nested.cc: New file.
8915 * gdb.compile/compile-cplus-nested.exp: New file.
8916 * gdb.compile/compile-cplus-print.c: "New" file.
8917 * gdb.compile/compile-cplus-print.exp: "New" file.
8918 * gdb.compile/compile-cplus-virtual.cc: New file.
8919 * gdb.compile/compile-cplus-virtual.exp: New file.
8920 * gdb.compile/compile-cplus.c: "New" file.
8921 * gdb.compile/compile-cplus.exp: "New" file.
8922 * lib/compile-support.exp: New file.
8923
8924 2018-08-16 Gary Benson <gbenson@redhat.com>
8925
8926 PR gdb/13000:
8927 * gdb.base/batch-exit-status.exp: New file.
8928 * gdb.base/batch-exit-status.good-commands: Likewise.
8929 * gdb.base/batch-exit-status.bad-commands: Likewise.
8930
8931 2018-08-29 Alan Hayward <alan.hayward@arm.com>
8932
8933 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8934 (struct struct02): Likewise.
8935 (struct struct03): Likewise.
8936 (struct struct04): Likewise.
8937 (struct struct_01_01): New struct.
8938 (struct struct_01_02): Likewise.
8939 (struct struct_01_03): Likewise.
8940 (struct struct_01_04): Likewise.
8941 (struct struct_02_01): Likewise.
8942 (struct struct_02_02): Likewise.
8943 (struct struct_02_03): Likewise.
8944 (struct struct_02_04): Likewise.
8945 (struct struct_04_01): Likewise.
8946 (struct struct_04_02): Likewise.
8947 (struct struct_04_03): Likewise.
8948 (struct struct_04_04): Likewise.
8949 (struct struct_05_01): Likewise.
8950 (struct struct_05_02): Likewise.
8951 (struct struct_05_03): Likewise.
8952 (struct struct_05_04): Likewise.
8953 (cmp_struct01): Remove function.
8954 (cmp_struct02): Likewise.
8955 (cmp_struct03): Likewise.
8956 (cmp_struct04): Likewise.
8957 (cmp_struct_01_01): Add Function.
8958 (cmp_struct_01_02): Likewise.
8959 (cmp_struct_01_03): Likewise.
8960 (cmp_struct_01_04): Likewise.
8961 (cmp_struct_02_01): Likewise.
8962 (cmp_struct_02_02): Likewise.
8963 (cmp_struct_02_03): Likewise.
8964 (cmp_struct_02_04): Likewise.
8965 (cmp_struct_04_01): Likewise.
8966 (cmp_struct_04_02): Likewise.
8967 (cmp_struct_04_03): Likewise.
8968 (cmp_struct_04_04): Likewise.
8969 (cmp_struct_05_01): Likewise.
8970 (cmp_struct_05_02): Likewise.
8971 (cmp_struct_05_03): Likewise.
8972 (cmp_struct_05_04): Likewise.
8973 (call_all): Add new structs.
8974 * gdb.base/infcall-nested-structs.exp: Likewise.
8975
8976 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8977
8978 * gdb.python/py-framefilter-mi.exp: Update regexp to
8979 check for "arch" field in frame output.
8980
8981 2018-08-23 Kevin Buettner <kevinb@redhat.com>
8982
8983 * gdb.dwarf2/dw2-ranges-func.c: New file.
8984 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8985
8986 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8987
8988 * gdb.base/term.exp: Compare terminal settings with values from
8989 the inferior.
8990 * gdb.base/term.c: Get and set terminal settings.
8991
8992 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8993
8994 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8995 accommodate new "arch" field in frame output.
8996 * gdb.mi/mi-return.exp: Likewise.
8997 * gdb.mi/mi-stack.exp: Likewise.
8998 * gdb.mi/mi-syn-frame.exp: Likewise.
8999 * gdb.mi/user-selected-context-sync.exp: Likewise.
9000
9001 2018-08-19 Michael Spang <spang@google.com>
9002
9003 PR gdb/11786
9004 * gdb.base/gcore-tls-pie.c: New file.
9005 * gdb.base/gcore-tls-pie.exp: New file.
9006
9007 2018-08-18 Kevin Buettner <kevinb@redhat.com>
9008
9009 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
9010 * gdb.dwarf2/varval.c: New file.
9011 * gdb.dwarf2/varval.exp: New file.
9012
9013 2018-08-17 Alan Hayward <alan.hayward@arm.com>
9014
9015 PR gdb/18931
9016 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9017
9018 2018-08-16 Keith Seitz <keiths@redhat.com>
9019
9020 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9021 tests expected to pass.
9022
9023 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9024
9025 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9026 -data-disassemble -a.
9027 (test_disassembly_bogus_args): Likewise.
9028
9029 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9030
9031 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9032
9033 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9034
9035 * gdb.base/vla-optimized-out.exp: Add new test.
9036
9037 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9038
9039 * gdb.base/vla-optimized-out-o3.exp: Delete.
9040 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9041 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9042 deleted tests.
9043
9044 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9045
9046 PR gdb/18050:
9047 * gdb.server/extended-remote-restart.c: New file.
9048 * gdb.server/extended-remote-restart.exp: New file.
9049
9050 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9051
9052 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9053 "set variable index = 42".
9054
9055 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9056
9057 * boards/index-cache-gdb.exp: New file.
9058 * gdb.dwarf2/index-cache.exp: New file.
9059 * gdb.dwarf2/index-cache.c: New file.
9060 * gdb.base/maint.exp: Check if we are using the index cache.
9061
9062 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9063
9064 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9065 MAKEFLAGS.
9066
9067 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9068
9069 * dg-extract-results.sh: Move to toplevel contrib.
9070 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9071 * Makefile.in (check-parallel-racy): Likewise.
9072
9073 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9074
9075 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9076 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9077 tests if the target supports scheduler locking.
9078
9079 2018-08-04 Tom de Vries <tdevries@suse.de>
9080
9081 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9082
9083 2018-08-02 Tom Tromey <tom@tromey.com>
9084
9085 PR symtab/16842.
9086 * gdb.cp/temargs.exp: Test "info address" of a template
9087 parameter.
9088
9089 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9090
9091 * gdb.python/py-mi-var-info-path-expression.c: New file.
9092 * gdb.python/py-mi-var-info-path-expression.py: New file.
9093 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9094
9095 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9096
9097 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9098 error after "cannot resolve name" string.
9099
9100 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9101
9102 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9103 started.
9104 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9105
9106 2018-07-28 Tom de Vries <tdevries@suse.de>
9107
9108 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9109
9110 2018-07-26 Tom de Vries <tdevries@suse.de>
9111
9112 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9113
9114 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9115
9116 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9117 is visible.
9118
9119 2018-07-26 Tom de Vries <tdevries@suse.de>
9120
9121 PR breakpoints/23366
9122 * gdb.base/catch-follow-exec.c: New test.
9123 * gdb.base/catch-follow-exec.exp: New file.
9124
9125 2018-07-25 Tom de Vries <tdevries@suse.de>
9126
9127 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9128 vla-optimized-out.c.
9129
9130 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9131
9132 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9133 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9134
9135 2018-07-20 Tom de Vries <tdevries@suse.de>
9136
9137 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9138 NOCLONE macro.
9139 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9140
9141 2018-07-19 Tom de Vries <tdevries@suse.de>
9142
9143 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9144 regular expression.
9145
9146 2018-07-18 Tom de Vries <tdevries@suse.de>
9147
9148 * gdb.base/vla-optimized-out.c: New test.
9149 * gdb.base/vla-optimized-out.exp: New file.
9150
9151 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9152
9153 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9154 message "No address associated with hostname" when gdbserver
9155 cannot resolve the hostname.
9156
9157 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9158
9159 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9160 Add some test prefixes to make tests unique.
9161
9162 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9163
9164 * gdb.base/frameapply.c: New file.
9165 * gdb.base/frameapply.exp: New file.
9166
9167 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9168
9169 * gdb.base/skip.exp: Update expected error message.
9170
9171 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9172 Jan Kratochvil <jan.kratochvil@redhat.com>
9173 Paul Fertser <fercerpav@gmail.com>
9174 Tsutomu Seki <sekiriki@gmail.com>
9175
9176 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9177 parameter.
9178 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9179 by default.
9180 * boards/native-gdbserver.exp: Likewise.
9181 * gdb.server/run-without-local-binary.exp: Improve regexp used
9182 for detecting when a remote debugging connection succeeds.
9183 * gdb.server/server-connect.exp: New file.
9184 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9185 Do not prefix the port number with ":".
9186 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9187 support for detecting and using it. Add '$debughost_gdbserver'
9188 to the list of arguments used to start gdbserver. Handle case
9189 when gdbserver cannot resolve a network name.
9190
9191 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9192
9193 PR c++/23373
9194 * gdb.base/ptype-offsets.cc (struct static_member): New
9195 struct.
9196 (main) <stmember>: New variable.
9197 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9198 with a static member in it.
9199
9200 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9201
9202 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9203 watchpoints enabled and disabled.
9204
9205 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9206
9207 * gdb.base/examine-backward.exp: Still run tests around address
9208 0x0, even if address 0x0 is not readable. Update the pattern for
9209 matching address 0x0 in expected output.
9210
9211 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9212
9213 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9214 malloc/free.
9215
9216 2018-07-04 Tom de Vries <tdevries@suse.de>
9217
9218 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9219
9220 2018-07-02 Maciej W. Rozycki <macro@mips.com>
9221
9222 PR tdep/8282
9223 * gdb.arch/mips-disassembler-options.exp: New test.
9224 * gdb.arch/mips-disassembler-options.s: New test source.
9225
9226 2018-06-29 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.threads/names.exp: Adjust expected "info threads" output.
9229
9230 2018-06-29 Pedro Alves <palves@redhat.com>
9231
9232 * gdb.opt/inline-break.exp (line number, address): Add "info
9233 break" tests.
9234
9235 2018-06-29 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9238 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9239 number and address and running to them.
9240
9241 2018-06-29 Richard Bunt <richard.bunt@arm.com>
9242
9243 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9244
9245 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9246
9247 * lib/compiler.c: Remove executable permission flag.
9248
9249 2018-06-28 Richard Bunt <richard.bunt@arm.com>
9250
9251 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9252 code.
9253 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9254
9255 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9256
9257 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9258
9259 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9260
9261 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9262 address argument is omitted.
9263
9264 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9265
9266 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9267
9268 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
9269
9270 PR gdb/21695
9271 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9272 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9273
9274 2018-06-26 Tom Tromey <tom@tromey.com>
9275
9276 PR rust/22574:
9277 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9278 * gdb.rust/simple.rs (struct SimpleLayout): New.
9279
9280 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9281
9282 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9283 "info registers" output.
9284
9285 2018-06-21 Richard Bunt <richard.bunt@arm.com>
9286
9287 * gdb.base/watchpoint-hw-attach.c: New test.
9288 * gdb.base/watchpoint-hw-attach.exp: New file.
9289
9290 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9291
9292 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9293 through /bin/sh.
9294 * boards/dwarf4-gdb-index.exp: Likewise.
9295 * boards/fission-dwp.exp: Likewise.
9296
9297 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9298
9299 * gdb.base/float128.exp: Add comment and improved fail message
9300 to the failure case of "print large128" test.
9301
9302 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9303
9304 * configure.ac: Remove AC_PREREQ.
9305 * configure: Re-generate.
9306
9307 2018-06-19 Pedro Alves <palves@redhat.com>
9308
9309 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9310 (func_extern_caller): New.
9311 (main): Call func_extern_caller.
9312 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9313 logic change.
9314
9315 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
9316
9317 PR gdb/16841
9318 * gdb.cp/typedef-base.cc: New file.
9319 * gdb.cp/typedef-base.exp: New file.
9320
9321 2018-06-18 Tom de Vries <tdevries@suse.de>
9322
9323 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9324
9325 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9326 Richard Bunt <Richard.Bunt@arm.com>
9327
9328 * gdb.threads/attach-slow-waitpid.c: New file.
9329 * gdb.threads/attach-slow-waitpid.exp: New file.
9330 * gdb.threads/slow-waitpid.c: New file.
9331
9332 2018-06-14 Pedro Alves <palves@redhat.com>
9333
9334 * gdb.base/fork-running-state.c: Include <errno.h>.
9335 (exit_if_relative_exits): New.
9336 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9337 exits.
9338 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9339 child exits.
9340
9341 2018-06-14 Tom de Vries <tdevries@suse.de>
9342
9343 PR cli/22573
9344 * gdb.base/finish-pretty.c: New test.
9345 * gdb.base/finish-pretty.exp: New file.
9346
9347 2018-06-14 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9350 gdb's expected startup output.
9351
9352 2018-06-14 Pedro Alves <palves@redhat.com>
9353
9354 * lib/selftest-support.exp (selftest_setup): Remove inlined
9355 function handling.
9356
9357 2018-06-14 Tom de Vries <tdevries@suse.de>
9358
9359 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9360 matching of breakpoint printing.
9361
9362 2018-06-13 Tom de Vries <tdevries@suse.de>
9363
9364 PR testsuite/23269
9365 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9366 (fork_child): ... here, and ...
9367 (fork_parent): ... here.
9368
9369 2018-06-12 Tom de Vries <tdevries@suse.de>
9370
9371 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9372
9373 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9374 Stephen Roberts <stephen.roberts@arm.com>
9375
9376 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9377 rewrite test to describe action performed, rather than possible
9378 failure.
9379
9380 2018-06-08 Gary Benson <gbenson@redhat.com>
9381
9382 * gdb.threads/check-libthread-db.exp: New file.
9383 * gdb.threads/check-libthread-db.c: Likewise.
9384
9385 2018-06-05 Tom Tromey <tom@tromey.com>
9386
9387 * gdb.base/default.exp: Update expected "show version" output.
9388
9389 2018-06-05 Tom Tromey <tom@tromey.com>
9390
9391 PR cli/12326:
9392 * gdb.cp/static-print-quit.exp: Update.
9393 * lib/gdb.exp (pagination_prompt): Update.
9394 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9395 * gdb.python/python.exp: Update.
9396
9397 2018-06-04 Joel Brobecker <brobecker@adacore.com>
9398
9399 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9400
9401 2018-06-01 Joel Brobecker <brobecker@adacore.com>
9402
9403 * gdb.ada/bp_fun_addr: New testcase.
9404
9405 2018-06-01 Tom Tromey <tom@tromey.com>
9406
9407 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9408 results.
9409 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9410 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9411 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9412 * gdb.base/maint.exp (maint_pass_if): Update.
9413
9414 2018-05-31 Maciej W. Rozycki <macro@mips.com>
9415
9416 * gdb.base/endian.exp: New test.
9417 * gdb.base/endian.c: New test source.
9418
9419 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9420
9421 PR gdb/23203
9422 * gdb.base/bt-selected-frame.c: New file.
9423 * gdb.base/bt-selected-frame.exp: New file.
9424 * lib/gdb.exp (get_current_frame_number): New function.
9425
9426 2018-05-24 Maciej W. Rozycki <macro@mips.com>
9427 Pedro Alves <palves@redhat.com>
9428
9429 * gdb.threads/tls-core.c: Include <stdlib.h>
9430 (thread_proc): Call `abort'.
9431 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9432 (tls_core_test): New procedure, bits factored out from ...
9433 (top level): ... here. Test both native cores and gcore cores.
9434
9435 2018-05-23 Tom Tromey <tom@tromey.com>
9436
9437 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9438
9439 2018-05-23 Tom Tromey <tom@tromey.com>
9440
9441 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9442 symfile_complaints.
9443 (test_short_complaints): Likewise.
9444 (test_empty_complaints): Likewise.
9445 (test_initial_complaints): Update.
9446
9447 2018-05-23 Tom Tromey <tom@tromey.com>
9448
9449 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9450
9451 2018-05-23 Tom Tromey <tom@tromey.com>
9452
9453 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9454 (test_short_complaints): Update.
9455
9456 2018-05-22 Pedro Alves <palves@redhat.com>
9457
9458 * gdb.base/remote.exp: Only gdb_start after compiling the
9459 testcase. Issue "disconnect" before testing "set remote" command
9460 defaults. Issue clean_restart before running to main.
9461
9462 2018-05-22 Pedro Alves <palves@redhat.com>
9463
9464 * gdb.base/remote.exp: Adjust expected output of "show remote
9465 memory-write-packet-size". Add tests for "set remote
9466 memory-write-packet-size 0" and "set remote
9467 memory-write-packet-size fixed/limit".
9468
9469 2018-05-22 Pedro Alves <palves@redhat.com>
9470
9471 PR gdb/22973
9472 * gdb.base/utf8-identifiers.c: New file.
9473 * gdb.base/utf8-identifiers.exp: New file.
9474
9475 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9476
9477 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9478
9479 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9480
9481 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9482
9483 2018-05-18 Tom Tromey <tom@tromey.com>
9484
9485 * gdb.base/ptype-offsets.exp: Update.
9486
9487 2018-05-17 Keith Seitz <keiths@redhat.com>
9488
9489 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9490 in expected breakpoint stop locations.
9491 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9492 move to proper scope to test variable values.
9493 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9494 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9495 New functions.
9496 (main): Call not_inline_func3.
9497 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9498 inline_func1, inline_func2, and inline_func3. Test that when each
9499 breakpoint is hit, GDB properly reports both the stop location
9500 and the backtrace. Repeat tests for temporary breakpoints.
9501
9502 2018-05-15 Maciej W. Rozycki <macro@mips.com>
9503
9504 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9505 rather then trying to access it in determining whether the PID
9506 of `gdbserver' could have been retrieved.
9507
9508 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9509
9510 * gdb.arch/amd64-init-x87-values.S: New file.
9511 * gdb.arch/amd64-init-x87-values.exp: New file.
9512
9513 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9514
9515 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9516
9517 2018-05-04 Tom Tromey <tom@tromey.com>
9518
9519 PR python/22730:
9520 * gdb.python/python.exp: Test multi-line execute.
9521
9522 2018-05-04 Tom Tromey <tom@tromey.com>
9523
9524 PR python/22731:
9525 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9526
9527 2018-05-04 Tom Tromey <tom@tromey.com>
9528
9529 PR gdb/11750:
9530 * gdb.base/define.exp: Test defining a user command inside a user
9531 command.
9532 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9533
9534 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9535 Pedro Alves <palves@redhat.com>
9536
9537 PR breakpoints/19806 and support for PR external/20207.
9538 * gdb.base/watchpoint-unaligned.c: New file.
9539 * gdb.base/watchpoint-unaligned.exp: New file.
9540
9541 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9542
9543 * gdb.base/maint.exp: Make test names unique, use
9544 test_prefix_command_help to test 'help maint info', and remove
9545 repeated test of 'help maint'.
9546
9547 2018-05-04 Tom Tromey <tom@tromey.com>
9548
9549 PR gdb/22619:
9550 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9551 behavior.
9552
9553 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9554
9555 * gdb.base/maint.exp: Process output from 'maint print registers'
9556 line at a time.
9557
9558 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9559
9560 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9561 timeout.
9562
9563 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9564
9565 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9566 filter pattern.
9567
9568 2018-05-02 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9571 to_log_command renames.
9572 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9573
9574 2018-05-02 Tom Tromey <tom@tromey.com>
9575
9576 * gdb.python/py-parameter.exp: Set test message.
9577
9578 2018-05-02 Tom Tromey <tom@tromey.com>
9579
9580 PR python/20084:
9581 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9582 PARAM_ZUINTEGER_UNLIMITED tests.
9583
9584 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9585
9586 PR rust/23124
9587 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9588 when casting.
9589
9590 2018-04-30 Tom Tromey <tom@tromey.com>
9591
9592 * gdb.python/py-type.exp: Check align attribute.
9593 * gdb.python/py-type.c: New "aligncheck" global.
9594
9595 2018-04-30 Tom Tromey <tom@tromey.com>
9596
9597 PR exp/17095:
9598 * gdb.dwarf2/dw2-align.exp: New file.
9599 * gdb.cp/align.exp: New file.
9600 * gdb.base/align.exp: New file.
9601 * lib/gdb.exp (gdb_int128_helper): New proc.
9602 (has_int128_c, has_int128_cxx): New caching procs.
9603
9604 2018-04-27 Tom Tromey <tom@tromey.com>
9605
9606 PR rust/22545:
9607 * gdb.rust/simple.exp: Add inclusive range tests.
9608
9609 2018-04-26 Pedro Alves <palves@redhat.com>
9610
9611 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9612 ifunc breakpoint locations correctly of ifunc breakpoints set
9613 while the program resolves the ifunc.
9614
9615 2018-04-26 Pedro Alves <palves@redhat.com>
9616
9617 * gdb.base/gnu-ifunc-final.c: New file.
9618 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9619 * gdb.base/gnu-ifunc.exp (executable): Delete.
9620 (staticexecutable): Adjust.
9621 (lib_opts, exec_opts): Delete.
9622 (make_binsuffix, build, set-break): New procedures.
9623 (misc_tests): New, with tests factored out from the top level.
9624 (top level): Test different combinations of ifunc resolver name,
9625 resolver with and with debug info, and ifunc target with and
9626 without debug info. Wrap static tests with with_target_prefix.
9627
9628 2018-04-26 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9631 return type" warnings.
9632
9633 2018-04-25 Pedro Alves <palves@redhat.com>
9634
9635 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9636 killed".
9637 * gdb.base/kill-after-signal.exp: Likewise.
9638 * gdb.threads/kill.exp: Likewise.
9639
9640 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9641 Sergio Durigan Junior <sergiodj@redhat.com>
9642 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9645 regexps to expect for '[Inferior ... detached]' as well.
9646 * gdb.base/attach.exp: Likewise.
9647 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9648 "gdb_continue_to_end".
9649 (test_catch_syscall_with_wrong_args): Likewise.
9650 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9651 ']'. Don't set 'verbose' on.
9652 * gdb.base/foll-vfork.exp: Likewise.
9653 * gdb.base/fork-print-inferior-events.c: New file.
9654 * gdb.base/fork-print-inferior-events.exp: New file.
9655 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9656 '[Inferior ... has been killed]' message.
9657 * gdb.base/kill-after-signal.exp: Likewise.
9658 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9659 detach message.
9660 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9661 message.
9662 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9663 regexps to expect for '[Inferior ... detached]' as well.
9664 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9665
9666 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9667
9668 PR gdb/23104
9669 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9670
9671 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9672
9673 PR gdb/23095
9674 * gdb.base/break-probes.exp: Pass shlib_load to
9675 prepare_for_testing. Set normal_bp to r_debug_state if target is
9676 bsd.
9677
9678 2018-04-19 Richard Bunt <richard.bunt@arm.com>
9679
9680 * gdb.threads/multiple-successive-infcall.c: New test.
9681 * gdb.threads/multiple-successive-infcall.exp: New file.
9682
9683 2018-04-17 Tom Tromey <tom@tromey.com>
9684
9685 * gdb.rust/simple.rs (Union): New type.
9686 (main): New local "u".
9687 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9688
9689 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9690
9691 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9692 number information in output of "whereis" command.
9693 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9694
9695 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9696
9697 * gdb.ada/info_types.exp: Adjust expected output to the line
9698 numbers now printed by "info var/func/type".
9699 * gdb.base/completion.exp: Likewise.
9700 * gdb.base/included.exp: Likewise.
9701 * gdb.cp/cp-relocate.exp: Likewise.
9702 * gdb.cp/cplusfuncs.exp: Likewise.
9703 * gdb.cp/namespace.exp: Likewise.
9704 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9705
9706 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9707
9708 * gdb.btrace/cpu.exp: New.
9709
9710 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9711
9712 * gdb.base/step-indirect-call-thunk.exp: New.
9713 * gdb.base/step-indirect-call-thunk.c: New.
9714 * gdb.reverse/step-indirect-call-thunk.exp: New.
9715 * gdb.reverse/step-indirect-call-thunk.c: New.
9716
9717 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9718
9719 * gdb.base/pie-fork.c: New file.
9720 * gdb.base/pie-fork.exp: New file.
9721
9722 2018-04-11 Tom Tromey <tom@tromey.com>
9723
9724 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9725
9726 2018-04-10 Pedro Alves <palves@redhat.com>
9727
9728 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9729 exits. Instead loop running forever.
9730 (fork_parent): Run forever too.
9731
9732 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9733
9734 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9735 mi_continue_to_line.
9736 * gdb.mi/mi-stack.c (callee4): Add comment.
9737
9738 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9739
9740 * gdb.mi/mi-stack.exp: Fix indentation.
9741
9742 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9743
9744 PR gdb/22979
9745 * gdb.arch/amd64-osabi.exp: New file.
9746
9747 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9748
9749 PR gdb/22980
9750 * gdb.base/osabi.exp: New file.
9751
9752 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
9753
9754 * gdb.cp/static-typedef-print.exp: New file.
9755 * gdb.cp/static-typedef-print.cc: New file.
9756
9757 2018-03-27 Joel Brobecker <brobecker@adacore.com>
9758
9759 * gdb.ada/varsize_limit: New testcase.
9760
9761 2018-03-27 Joel Brobecker <brobecker@adacore.com>
9762
9763 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9764
9765 * gdb.ada/notcplusplus: New testcase.
9766
9767 * gdb.base/c-linkage-name.c: New file.
9768 * gdb.base/c-linkage-name.exp: New testcase.
9769
9770 2018-03-26 Tom Tromey <tom@tromey.com>
9771
9772 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9773 * gdb.python/py-framefilter.py (name_error): New global.
9774 (ErrorInName.function): Use name_error.
9775
9776 2018-03-26 Tom Tromey <tom@tromey.com>
9777
9778 PR backtrace/15582:
9779 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9780
9781 2018-03-23 Keith Seitz <keiths@redhat.com>
9782
9783 PR c++/22968
9784 * gdb.cp/subtypes.exp: New file.
9785 * gdb.cp/subtypes.h: New file.
9786 * gdb.cp/subtypes.cc: New file.
9787 * gdb.cp/subtypes-2.cc: New file.
9788
9789 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9790
9791 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9792 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9793 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9794 -nostartfiles when compiling the test. Confirm that all registers
9795 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9796
9797 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9798
9799 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9800 option, syntax was wrong anyway.
9801 * gdb.arch/arm-disp-step.exp: Likewise.
9802 * gdb.arch/sparc64-regs.exp: Likewise.
9803 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9804 option, syntax was wrong anyway, switch to use
9805 prepare_for_testing.
9806 * gdb.arch/i386-disp-step.exp: Likewise.
9807
9808 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9809
9810 * gdb.ada/exec_changed.exp: Replace "target_info exists
9811 use_gdb_stub" by "use_gdb_stub".
9812 * gdb.ada/start.exp: Likewise.
9813 * gdb.base/async-shell.exp: Likewise.
9814 * gdb.base/attach-pie-misread.exp: Likewise.
9815 * gdb.base/attach-wait-input.exp: Likewise.
9816 * gdb.base/break-entry.exp: Likewise.
9817 * gdb.base/break-interp.exp: Likewise.
9818 * gdb.base/dprintf-detach.exp: Likewise.
9819 * gdb.base/nostdlib.exp: Likewise.
9820 * gdb.base/solib-nodir.exp: Likewise.
9821 * gdb.base/statistics.exp: Likewise.
9822 * gdb.base/testenv.exp: Likewise.
9823 * gdb.mi/mi-exec-run.exp: Likewise.
9824 * gdb.mi/mi-start.exp: Likewise.
9825 * gdb.multi/dummy-frame-restore.exp: Likewise.
9826 * gdb.multi/multi-arch-exec.exp: Likewise.
9827 * gdb.multi/multi-arch.exp: Likewise.
9828 * gdb.multi/tids.exp: Likewise.
9829 * gdb.multi/watchpoint-multi.exp: Likewise.
9830 * gdb.python/py-events.exp: Likewise.
9831 * gdb.threads/attach-into-signal.exp: Likewise.
9832 * gdb.threads/attach-stopped.exp: Likewise.
9833 * gdb.threads/threadapply.exp: Likewise.
9834 * lib/selftest-support.exp: Likewise.
9835
9836 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9837
9838 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9839
9840 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9841
9842 * gdb.perf/template-breakpoints.cc: New file.
9843 * gdb.perf/template-breakpoints.exp: New file.
9844 * gdb.perf/template-breakpoints.py: New file.
9845
9846 2018-03-19 Tom Tromey <tom@tromey.com>
9847
9848 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9849 y0.
9850 * gdb.rust/simple.exp: Test bare identifier form of struct
9851 initializer.
9852
9853 2018-03-19 Tom Tromey <tom@tromey.com>
9854
9855 * gdb.gdb/observer.exp: Remove.
9856
9857 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9858
9859 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9860 "qualified" option when setting breakpoints.
9861 * gdb.trace/backtrace.exp: Likewise.
9862 * gdb.trace/circ.exp: Likewise.
9863 * gdb.trace/collection.exp: Likewise.
9864 * gdb.trace/disconnected-tracing.exp: Likewise.
9865 * gdb.trace/ftrace-lock.exp: Likewise.
9866 * gdb.trace/ftrace.exp: Likewise.
9867 * gdb.trace/infotrace.exp: Likewise.
9868 * gdb.trace/packetlen.exp: Likewise.
9869 * gdb.trace/passc-dyn.exp: Likewise.
9870 * gdb.trace/qtro.exp: Likewise.
9871 * gdb.trace/read-memory.exp: Likewise.
9872 * gdb.trace/report.exp: Likewise.
9873 * gdb.trace/signal.exp: Likewise.
9874 * gdb.trace/status-stop.exp: Likewise.
9875 * gdb.trace/strace.exp: Likewise.
9876 * gdb.trace/tfind.exp: Likewise.
9877 * gdb.trace/trace-break.exp: Likewise.
9878 * gdb.trace/trace-condition.exp: Likewise.
9879 * gdb.trace/trace-mt.exp: Likewise.
9880 * gdb.trace/tstatus.exp: Likewise.
9881 * gdb.trace/tsv.exp: Likewise.
9882 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9883 * gdb.trace/unavailable.exp: Likewise.
9884 * gdb.trace/while-dyn.exp: Likewise.
9885
9886 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9887
9888 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9889 that libinproctrace is copied to the target.
9890
9891 2018-03-14 Tom Tromey <tom@tromey.com>
9892
9893 PR cli/14977:
9894 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9895 a null pointer.
9896 * gdb.base/wchar.exp: Likewise.
9897
9898 2018-03-14 Tom Tromey <tom@tromey.com>
9899
9900 PR cli/19918:
9901 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9902 flag.
9903
9904 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9905
9906 PR gdb/22841
9907 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9908 "target" to remote_exec.
9909
9910 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9911
9912 PR gdb/22841
9913 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9914 ${board}_upload): Remove.
9915
9916 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9917
9918 * gdb.cp/watch-cp.cc: New test.
9919 * gdb.cp/watch-cp.exp: New file.
9920
9921 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9922
9923 * gdb.base/infcall-nested-structs.exp: New file.
9924 * gdb.base/infcall-nested-structs.c: New file.
9925 * gdb.base/float.exp: Add riscv support.
9926
9927 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9928
9929 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9930 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9931
9932 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9933
9934 * gdb.server/abspath.exp: New file.
9935 * lib/gdb.exp (with_cwd): New procedure.
9936
9937 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9938
9939 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9940 use it.
9941 (gdb_is_target_remote_prompt): New proc.
9942 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9943 (gdb_is_target_native): Pass prompt parameter to
9944 gdb_is_target_1.
9945
9946 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9947
9948 * gdb.base/load-command.c: New file.
9949 * gdb.base/load-command.exp: New file.
9950 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9951 (gdb_is_target_1): ...this, and generalize for other targets
9952 than just remote.
9953 (gdb_is_target_remote): Use gdb_is_target_1.
9954 (gdb_is_target_native): use gdb_is_target_1.
9955
9956 2018-02-26 Tom Tromey <tom@tromey.com>
9957
9958 PR python/16497:
9959 * gdb.python/py-framefilter.exp: Update test.
9960
9961 2018-02-26 Tom Tromey <tom@tromey.com>
9962
9963 * gdb.dwarf2/variant.c: New file.
9964 * gdb.dwarf2/variant.exp: New file.
9965
9966 2018-02-26 Tom Tromey <tom@tromey.com>
9967
9968 * gdb.rust/simple.exp: Accept more possible results in enum test.
9969
9970 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9971
9972 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9973 parentheses.
9974
9975 2018-02-23 Maciej W. Rozycki <macro@mips.com>
9976
9977 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9978 name of a variable: $actual_linejj -> $actual_line.
9979
9980 2018-02-21 John Baldwin <jhb@FreeBSD.org>
9981
9982 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9983
9984 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9985
9986 * gdb.btrace/buffer-size.exp: Do not force BTS.
9987
9988 2018-02-14 Pedro Alves <palves@redhat.com>
9989
9990 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9991 getting a "Quit".
9992
9993 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9994
9995 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9996 Fix test name.
9997
9998 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9999
10000 * gdb.cp/m-static.exp: Check type of optimized out static
10001 member.
10002
10003 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10004
10005 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10006 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10007
10008 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10009 Leszek Swirski <leszeks@google.com>
10010
10011 * gdb.python/py-prettyprint.c
10012 (struct to_string_returns_value_inner,
10013 struct to_string_returns_value_wrapper): New.
10014 (main): Add tsrvw variable.
10015 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10016 ToStringReturnsValueWrapper): New classes.
10017 (register_pretty_printers): Register new pretty-printers.
10018 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10019 recursive pretty printer.
10020 * gdb.python/py-mi.exp: Likewise.
10021
10022 2018-02-01 Leszek Swirski <leszeks@google.com>
10023
10024 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10025 functions with the same name as an include file are parsed
10026 correctly.
10027
10028 2018-02-01 Yao Qi <yao.qi@linaro.org>
10029
10030 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10031 "\[^\r\n\]*".
10032
10033 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10034
10035 * gdb.arch/powerpc-prologue-frame.s: New file.
10036 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10037 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10038
10039 2018-01-31 Joel Brobecker <brobecker@adacore.com>
10040
10041 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10042
10043 2018-01-30 Pedro Alves <palves@redhat.com>
10044
10045 PR gdb/13211
10046 * gdb.base/interrupt-daemon.c: New.
10047 * gdb.base/interrupt-daemon.exp: New.
10048 * gdb.multi/multi-term-settings.c: New.
10049 * gdb.multi/multi-term-settings.exp: New.
10050
10051 2018-01-30 Joel Brobecker <brobecker@adacore.com>
10052
10053 * gdb.base/break.exp: Save the location where the breakpoint
10054 on break.c:47 was actually inserted when debugging the version
10055 compiled at -O2 and use it in the expected output of the "info
10056 break" test performed soon after.
10057
10058 2018-01-22 Pedro Alves <palves@redhat.com>
10059 Sergio Durigan Junior <sergiodj@redhat.com>
10060
10061 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10062 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10063
10064 2018-01-22 Joel Brobecker <brobecker@adacore.com>
10065
10066 * gdb.base/break-include.c, gdb.base/break-include.inc,
10067 gdb.base/break-include.exp: New files.
10068 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10069 line number now being the actual line number where the breakpoint
10070 was inserted.
10071 * gdb.mi/mi-break.exp: Likewise.
10072 * gdb.mi/mi-reverse.exp: Likewise.
10073 * gdb.mi/mi-simplerun.exp: Ditto.
10074
10075 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10076
10077 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10078 varobj.
10079 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10080
10081 2018-01-21 Don Breazeal <donb@codesourcery.com>
10082 Andrew Burgess <andrew.burgess@embecosm.com>
10083
10084 * gdb.mi/basics.c: Add new global.
10085 * gdb.mi/mi-frame-regs.exp: New file.
10086 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10087 case.
10088
10089 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10090
10091 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10092 non-parameter, and on an unknown symbol.
10093
10094 2018-01-19 Tom Tromey <tom@tromey.com>
10095
10096 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10097 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10098
10099 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10100
10101 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10102 setrlimit and chdir to int.
10103
10104 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10105
10106 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10107 function.
10108 (my_tend): Likewise.
10109 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10110 rationale of avoiding FP- and vector instructions.
10111
10112 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10113
10114 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10115 "info reg" with "\[ \t\]*".
10116 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10117 "\[ \t\]+".
10118 * gdb.arch/s390-multiarch.exp: Ditto.
10119 * gdb.base/pc-fp.exp: Ditto.
10120 * gdb.reverse/i386-precsave.exp: Ditto.
10121 * gdb.reverse/i386-reverse.exp: Ditto.
10122 * gdb.reverse/i387-env-reverse.exp: Ditto.
10123 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10124
10125 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10126
10127 * lib/gdb.exp (gdb_compile): Re-enable use of
10128 universal_compile_options for languages other than Rust.
10129
10130 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10131
10132 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10133
10134 2018-01-17 Mike Gulick <mgulick@mathworks.com>
10135
10136 PR gdb/16577
10137 * gdb.base/solib-vanish.exp: New.
10138 * gdb.base/solib-vanish-main.c: New.
10139 * gdb.base/solib-vanish-lib1.c: New.
10140 * gdb.base/solib-vanish-lib2.c: New.
10141
10142 2018-01-17 Yao Qi <yao.qi@linaro.org>
10143
10144 * gdb.compile/compile.exp: Match the address printed for
10145 frame in the output of command "bt".
10146
10147 2018-01-15 Tom Tromey <tom@tromey.com>
10148
10149 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10150 compute sp_reg.
10151
10152 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10153
10154 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10155 to prepare.
10156 (prepare): Return 0 on error, 1 on success.
10157
10158 2018-01-12 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.base/continue-after-aborted-step-over.c: New.
10161 * gdb.base/continue-after-aborted-step-over.exp: New.
10162
10163 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10164
10165 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10166 options when not creating an executable.
10167
10168 2018-01-11 Pedro Alves <palves@redhat.com>
10169
10170 PR remote/22597
10171 * gdb.server/stop-reply-no-thread.c: New file.
10172 * gdb.server/stop-reply-no-thread.exp: New file.
10173
10174 2018-01-10 Pedro Alves <palves@redhat.com>
10175
10176 PR gdb/22670
10177 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10178 functions too. Test setting breakpoints and printing C functions
10179 with no debug info too.
10180 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10181
10182 2018-01-10 Pedro Alves <palves@redhat.com>
10183
10184 PR gdb/22670
10185 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10186 a fail.
10187
10188 2018-01-10 Pedro Alves <palves@redhat.com>
10189
10190 PR gdb/22670
10191 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10192
10193 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10194
10195 * gdb.server/unittest.exp: Match the output in non-development
10196 mode.
10197
10198 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10199
10200 * gdb.gdb/unittest.exp: Match output in non-development mode.
10201
10202 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10203
10204 * gdb.ada/access_tagged_param.exp: Relax expected output
10205 for value of "ObjL" in "continue" to pck.inspect breakpoint
10206 test.
10207
10208 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10209
10210 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10211 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
10212
10213 2018-01-05 Pedro Alves <palves@redhat.com>
10214
10215 PR gdb/18653
10216 * gdb.base/libsegfault.exp: New.
10217
10218 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10219
10220 PR gdb/22670
10221 * gdb.ada/access_tagged_param.exp: New file.
10222 * gdb.ada/access_tagged_param/foo.adb: New file.
10223
10224 2018-01-05 Pedro Alves <palves@redhat.com>
10225
10226 PR gdb/22670
10227 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10228 exercise lower case too, and to exercise both full matching and
10229 wild matching.
10230
10231 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10232
10233 * gdb.ada/rename_subscript_param: New testcase.
10234
10235 2018-01-05 Jerome Guitton <guitton@adacore.com>
10236
10237 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10238
10239 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10240
10241 * gdb.ada/convvar_comp: New testcase.
10242
10243 2018-01-05 Xavier Roirand <roirand@adacore.com>
10244
10245 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10246 (My_Table): New global variable.
10247 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10248
10249 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10250
10251 PR gdb/22670
10252 * gdb.ada/maint_with_ada: New testcase.
10253
10254 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10255
10256 PR gdb/22670
10257 * gdb.ada/bp_c_mixed_case: New testcase.
10258
10259 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10260
10261 PR gdb/22670
10262 * gdb.ada/complete.exp: Add "complete break ada" test.
10263
10264 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10265
10266 PR gdb/22670
10267 * gdb.ada/info_addr_mixed_case: New testcase.
10268
10269 2018-01-03 Xavier Roirand <roirand@adacore.com>
10270
10271 * gdb.ada/excep_handle.exp: New testcase.
10272 * gdb.ada/excep_handle/foo.adb: New file.
10273 * gdb.ada/excep_handle/pck.ads: New file.
10274
10275 2018-01-03 Joel Brobecker <brobecker@adacore.com>
10276
10277 * gdb.base/step-line.c: Add extra empty line in copyright header.
10278 * gdb.base/step-line.inp: Likewise.
10279
10280 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10281
10282 * gdb.ada/dyn_stride.exp: Add slice test.
10283
10284 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10285
10286 * gdb.ada/dyn_stride: New testcase.
10287
10288 2017-12-27 Stafford Horne <shorne@gmail.com>
10289
10290 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10291 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10292
10293 2017-12-27 Stafford Horne <shorne@gmail.com>
10294
10295 * gdb.base/reggroups.c: New file.
10296 * gdb.base/reggroups.exp: New file.
10297
10298 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10299
10300 * gdb.dwarf2/ada-valprint-error.c: New file.
10301 * gdb.dwarf2/ada-valprint-error.exp: New file.
10302
10303 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10304
10305 * gdb.ada/assign_arr: New testcase.
10306
10307 2017-12-18 Xavier Roirand <roirand@adacore.com>
10308
10309 * gdb.ada/funcall_ptr: New testcase.
10310
10311 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10312
10313 PR cli/16224
10314 * gdb.base/ptype-offsets.cc: New file.
10315 * gdb.base/ptype-offsets.exp: New file.
10316
10317 2017-12-15 Yao Qi <yao.qi@linaro.org>
10318
10319 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10320 if XML is disabled.
10321
10322 2017-12-15 Xavier Roirand <roirand@adacore.com>
10323
10324 * gdb.ada/same_component_name: New testcase.
10325
10326 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10327
10328 * gdb.ada/str_binop_equal: New testcase.
10329
10330 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10331
10332 * gdb.ada/task_switch_in_core: New testcase.
10333
10334 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10335
10336 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10337 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10338 call test_bkpt_qualified.
10339 (test_bkpt_qualified): New proc.
10340
10341 2017-12-13 Pedro Alves <palves@redhat.com>
10342
10343 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10344 Tighten regexp by matching with an anchor.
10345
10346 2017-12-13 Pedro Alves <palves@redhat.com>
10347
10348 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10349 ("expression with namespace"): New set of tests.
10350 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10351 (Nested::Test_NS::qux): New.
10352 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10353 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10354
10355 2017-12-13 Joel Brobecker <brobecker@adacore.com>
10356
10357 * gdb.base/server-del-break.c: New file.
10358 * gdb.base/server-del-break.exp: New file.
10359
10360 2017-12-12 Stafford Horne <shorne@gmail.com>
10361
10362 * gdb.xml/tdesc-regs.exp: Add or1k support.
10363
10364 2017-12-12 Stafford Horne <shorne@gmail.com>
10365
10366 * gdb.base/bp-permanent.c: Define nop of or1k.
10367
10368 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10369
10370 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10371 output with components being reordered.
10372
10373 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10374
10375 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10376 output with components being reordered.
10377
10378 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10379 Pedro Alves <palves@redhat.com>
10380
10381 * gdb.base/maint.exp (check for .gdb_index): Check also for
10382 .debug_names.
10383 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10384 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10385 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10386 (.gdb_index used after symbol reloading): Support also .debug_names.
10387 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10388
10389 2017-12-08 Yao Qi <yao.qi@linaro.org>
10390
10391 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10392 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10393
10394 2017-12-08 Yao Qi <yao.qi@linaro.org>
10395
10396 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10397 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10398
10399 2017-12-08 Yao Qi <yao.qi@linaro.org>
10400
10401 * gdb.arch/aarch64-tagged-pointer.c: New file.
10402 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10403
10404 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10405
10406 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10407 "int".
10408
10409 2017-12-07 Keith Seitz <keiths@redhat.com>
10410
10411 PR breakpoints/22569
10412 * gdb.linespec/ls-errs.exp: Change expected result of "break
10413 -source this file has spaces.c -line 3".
10414 Check that an explicit source file followed by whitespace is
10415 identified as an invalid explicit location.
10416
10417 2017-12-07 Keith Seitz <keiths@redhat.com>
10418
10419 * gdb.cp/nested-types.cc: New file.
10420 * gdb.cp/nested-types.exp: New file.
10421 * lib/cp-support.exp: Load data-structures.exp library.
10422 (debug_cp_test_ptype_class): New global.
10423 (cp_ptype_class_verbose, next_line): New procedures.
10424 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10425 Add and document new return value.
10426 Switch the list of lines to a queue.
10427 Add support for new `type' key for nested type definitions.
10428 Add debugging/troubleshooting messages.
10429 * lib/data-structures.exp: New file.
10430
10431 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10432
10433 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10434 with proc_with_prefix, don't use with_test_prefix.
10435
10436 2017-12-07 Tom Tromey <tom@tromey.com>
10437
10438 * gdb.base/break.exp: Add test for empty "commands".
10439
10440 2017-12-07 Yao Qi <yao.qi@linaro.org>
10441
10442 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10443 malloc and catch syscall.
10444
10445 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10446
10447 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
10448 tests for explicit locations.
10449
10450 2017-12-06 Pedro Alves <palves@redhat.com>
10451
10452 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10453 force-disabling XML descriptions.
10454
10455 2017-12-04 Pedro Alves <palves@redhat.com>
10456
10457 PR gdb/22499
10458 * gdb.arch/amd64-disp-step-avx.S: New file.
10459 * gdb.arch/amd64-disp-step-avx.exp: New file.
10460
10461 2017-12-03 Pedro Alves <palves@redhat.com>
10462
10463 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10464 and <string.h>.
10465 (parent_function): Print distinct messages when waitpid fails, or
10466 the child exits with a signal, or the child exits for an unhandled
10467 reason.
10468 * gdb.threads/process-dies-while-detaching.exp
10469 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10470 it. Wait for both inferior output and GDB's prompt. Use an
10471 indirect spawn id list.
10472 (do_detach): New parameter 'child_exit'. Use it to compute
10473 expected inferior output.
10474 (test_detach, test_detach_watch, test_detach_killed_outside):
10475 Adjust to pass down the expected child exit kind.
10476
10477 2017-12-01 Joel Brobecker <brobecker@adacore.com>
10478 Sergio Durigan Junior <sergiodj@redhat.com>
10479 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10482
10483 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10484
10485 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10486 to 'symbol-file' and 'add-symbol-file' can be
10487 position-independent.
10488
10489 2017-12-01 Yao Qi <yao.qi@linaro.org>
10490
10491 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10492 the URL in copyright header.
10493 * gdb.arch/aarch64-fp.exp: Likewise.
10494 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10495 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10496 * gdb.base/expand-psymtabs.exp: Likewise.
10497 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10498 * gdb.fortran/common-block.exp: Likewise.
10499 * gdb.fortran/common-block.f90: Likewise.
10500 * gdb.fortran/logical.exp: Likewise.
10501 * gdb.fortran/vla-datatypes.f90: Likewise.
10502 * gdb.fortran/vla-sub.f90: Likewise.
10503
10504 2017-11-30 Joel Brobecker <brobecker@adacore.com>
10505
10506 * gdb.ada/repeat_dyn: New testcase.
10507
10508 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10509
10510 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10511 Update for changed thread numbering.
10512 * gdb.cell/bt.exp: Update for changed GDB output.
10513
10514 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10515
10516 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10517 setting isremote by hand.
10518 * boards/dwarf4-gdb-index.exp: Likewise.
10519 * boards/fission.exp: Likewise.
10520 * boards/stabs.exp: Likewise.
10521
10522 2017-11-30 Pedro Alves <palves@redhat.com>
10523
10524 * gdb.linespec/cpls-ops.exp
10525 (check_explicit_skips_function_argument): Extract the underlying
10526 type of size_t instead of hardcoding it.
10527
10528 2017-11-29 Pedro Alves <palves@redhat.com>
10529
10530 PR c++/19436
10531 * gdb.linespec/cpls-abi-tag.cc: New file.
10532 * gdb.linespec/cpls-abi-tag.exp: New file.
10533
10534 2017-11-29 Pedro Alves <palves@redhat.com>
10535
10536 * gdb.base/langs.exp: Use -qualified.
10537 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10538 it.
10539 * gdb.cp/namespace.exp: Use -qualified.
10540 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10541 (overload-3, template-overload, template-ret-type, const-overload)
10542 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10543 procedures.
10544 (test_driver): Call them.
10545 * gdb.cp/save-bp-qualified.cc: New.
10546 * gdb.cp/save-bp-qualified.exp: New.
10547 * gdb.linespec/explicit.exp: Test -qualified.
10548 * lib/completion-support.exp (completion::explicit_opts_list): Add
10549 "-qualified".
10550 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10551
10552 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10553
10554 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10555
10556 2017-11-29 Tom Tromey <tom@tromey.com>
10557
10558 * gdb.base/relocate.exp: Update invalid argument test.
10559 Add new tests for invalid arguments.
10560
10561 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10562
10563 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10564 Return 0 as a long.
10565 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10566
10567 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10568
10569 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10570 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10571 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10572 func ().
10573 * gdb.cp/shadow.cc (B.func): Return 0.
10574
10575 2017-11-27 Joel Brobecker <brobecker@adacore.com>
10576
10577 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10578 expected output in gdb_expect call to allow the exception
10579 message to be present as well. Fix syntax confusion to avoid
10580 TCL thinking that exception_name is an array.
10581
10582 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10583
10584 * gdb.arch/spu-info.c: Include <unistd.h>.
10585 (do_signal_test): Fix broken calls to write.
10586 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10587 Fix checks for empty mailboxes. Update signal tests for corrected
10588 do_signal_test routine. Allow nonzero event status.
10589 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10590 * gdb.cell/arch.exp: Use standard_output_file.
10591 * gdb.cell/break.exp: Likewise.
10592 * gdb.cell/bt.exp: Likewise.
10593 * gdb.cell/core.exp: Likewise.
10594 * gdb.cell/dwarfaddr.exp: Likewise.
10595 * gdb.cell/ea-cache.exp: Likewise.
10596 * gdb.cell/ea-standalone.exp: Likewise.
10597 * gdb.cell/f-regs.exp: Likewise.
10598 * gdb.cell/fork.exp: Likewise.
10599 * gdb.cell/gcore.exp: Likewise.
10600 * gdb.cell/mem-access.exp: Likewise.
10601 * gdb.cell/ptype.exp: Likewise.
10602 * gdb.cell/registers.exp: Likewise.
10603 * gdb.cell/sizeof.exp: Likewise.
10604 * gdb.cell/solib-symbol.exp: Likewise.
10605 * gdb.cell/solib.exp: Likewise.
10606
10607 2017-11-25 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.base/complete-empty.exp: New file.
10610 * gdb.base/completion.exp: Adjust.
10611
10612 2017-11-25 Pedro Alves <palves@redhat.com>
10613
10614 * gdb.linespec/cpls-ops.cc: New file.
10615 * gdb.linespec/cpls-ops.exp: New file.
10616 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10617 factored out from ...
10618 (test_complete_prefix_range): ... this.
10619
10620 2017-11-24 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.linespec/cpcompletion.exp: New file.
10623 * gdb.linespec/cpls-hyphen.cc: New file.
10624 * gdb.linespec/cpls.cc: New file.
10625 * gdb.linespec/cpls2.cc: New file.
10626 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10627 test to use test_gdb_complete_unique. Add label completion,
10628 keyword completion and explicit location completion tests.
10629 * lib/completion-support.exp: New file.
10630
10631 2017-11-24 Joel Brobecker <brobecker@adacore.com>
10632
10633 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10634 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10635 when hitting an exception catchpoint.
10636
10637 2017-11-22 Yao Qi <yao.qi@linaro.org>
10638
10639 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10640
10641 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10642
10643 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10644 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10645 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10646
10647 2017-11-22 Yao Qi <yao.qi@linaro.org>
10648
10649 * gdb.base/info-os.exp: Pass pthreads.
10650 * gdb.multi/multi-attach.exp: Likewise.
10651
10652 2017-11-22 Yao Qi <yao.qi@linaro.org>
10653
10654 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10655 compiler.
10656
10657 2017-11-22 Yao Qi <yao.qi@linaro.org>
10658
10659 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10660 * gdb.base/break-interp.exp: Likewise.
10661 * gdb.base/jit-attach-pie.exp: Likewise.
10662
10663 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10664
10665 * gdb.base/float128.c (large128): New variable.
10666 * gdb.base/float128.exp: Add test to print largest __float128 value.
10667
10668 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10669
10670 * gdb.arch/vsx-regs.exp: Update register content checks.
10671
10672 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10673
10674 * gdb.arch/ppc-longdouble.exp: New file.
10675 * gdb.arch/ppc-longdouble.c: Likewise.
10676
10677 2017-11-21 Pedro Alves <palves@redhat.com>
10678
10679 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10680
10681 2017-11-20 Pedro Alves <palves@redhat.com>
10682
10683 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10684 (long_double_typedef): New typedefs.
10685 Use DEF on double and long double.
10686 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10687 cases.
10688 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10689 and 'long_double_ptr_same_size' locals. Use them to decide
10690 whether cast from array/function to float is valid/invalid.
10691
10692 2017-11-17 Tom Tromey <tom@tromey.com>
10693
10694 * gdb.rust/traits.rs: New file.
10695 * gdb.rust/traits.exp: New file.
10696
10697 2017-11-17 Joel Brobecker <brobecker@adacore.com>
10698
10699 * gdb.ada/minsyms: New testcase.
10700
10701 2017-11-16 Pedro Alves <palves@redhat.com>
10702
10703 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10704 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10705
10706 2017-11-16 Pedro Alves <palves@redhat.com>
10707
10708 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10709 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10710
10711 2017-11-16 Pedro Alves <palves@redhat.com>
10712
10713 * gdb.server/reconnect-ctrl-c.c: New file.
10714 * gdb.server/reconnect-ctrl-c.exp: New file.
10715
10716 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10717
10718 * gdb.python/py-rbreak.exp: New file.
10719 * gdb.python/py-rbreak.c: New file.
10720 * gdb.python/py-rbreak-func2.c: New file.
10721
10722 2017-11-16 Pedro Alves <palves@redhat.com>
10723
10724 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10725 pattern.
10726 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10727 GDB.
10728
10729 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10730
10731 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10732 regex.
10733
10734 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10735
10736 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10737 test names.
10738
10739 2017-11-09 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10742 factored out from ...
10743 (top level): ... here, and adjusted to avoid expecting beyond the
10744 prompt in a single gdb_test_multiple.
10745
10746 2017-11-09 Pedro Alves <palves@redhat.com>
10747
10748 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10749 output.
10750 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10751 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10752 * gdb.server/ext-run.exp ("kill" test): Likewise.
10753 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10754
10755 2017-11-09 Pedro Alves <palves@redhat.com>
10756
10757 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10758 match till end of line.
10759
10760 2017-11-09 Pedro Alves <palves@redhat.com>
10761
10762 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10763
10764 2017-11-09 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10767 New procedures, factored out from ...
10768 (top level): ... here, and adjusted to avoid expecting beyond the
10769 prompt in one go.
10770
10771 2017-11-09 Pedro Alves <palves@redhat.com>
10772
10773 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10774 output. Fix '?' match.
10775
10776 2017-11-08 Joel Brobecker <brobecker@adacore.com>
10777
10778 * gdb.ada/scoped_watch: New testcase.
10779 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10780 which is actually correct.
10781 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10782 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10783
10784 2017-11-08 Pedro Alves <palves@redhat.com>
10785
10786 * gdb.gdb/complaints.exp (test_initial_complaints)
10787 (test_serial_complaints, test_short_complaints): Call
10788 complaint_internal instead of complaint.
10789
10790 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10791
10792 * gdb.threads/tls-core.c: New file.
10793 * gdb.threads/tls-core.exp: Likewise.
10794
10795 2017-11-08 Pedro Alves <palves@redhat.com>
10796
10797 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10798 (p Exported_Capitalized): New test.
10799 (p exported_capitalized): New test.
10800
10801 2017-11-07 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10804
10805 2017-11-07 Pedro Alves <palves@redhat.com>
10806
10807 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10808 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10809 (disable_invalid, disable_inverted, disable_negative): New
10810 procedures.
10811 ("bad numbers"): New set of tests.
10812
10813 2017-11-07 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.cp/ena-dis-br-range.exp: Add tests.
10816
10817 2017-11-07 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10820
10821 2017-11-07 Xavier Roirand <roirand@adacore.com>
10822 Pedro Alves <palves@redhat.com>
10823
10824 * gdb.base/ena-dis-br.exp: Add reference to
10825 gdb.cp/ena-dis-br-range.exp.
10826 * gdb.cp/ena-dis-br-range.exp: New file.
10827 * gdb.cp/ena-dis-br-range.cc: New file.
10828
10829 2017-11-06 Pedro Alves <palves@redhat.com>
10830
10831 * gdb.base/attach-non-pgrp-leader.c: New.
10832 * gdb.base/attach-non-pgrp-leader.exp: New.
10833
10834 2017-11-06 Pedro Alves <palves@redhat.com>
10835
10836 * configure.ac: No longer check for termio.h and sgtty.h.
10837 * configure: Regenerate.
10838 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10839 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10840 Remove termio and sgtty code.
10841
10842 2017-11-03 Yao Qi <yao.qi@linaro.org>
10843
10844 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10845 in GDB is disabled.
10846
10847 2017-11-03 Yao Qi <yao.qi@linaro.org>
10848
10849 * gdb.python/py-thrhandle.exp: Skip it if python is not
10850 enabled.
10851
10852 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10853
10854 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10855 as a breakpoint command.
10856
10857 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10858
10859 PR python/21213
10860 * gdb.python/py-infthread.exp: Test calling
10861 InferiorThread.inferior () multiple times in a row.
10862
10863 2017-10-27 Keith Seitz <keiths@redhat.com>
10864
10865 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10866 Test "info break" for every inlined function breakpoint.
10867
10868 2017-10-27 Yao Qi <yao.qi@linaro.org>
10869
10870 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10871
10872 2017-10-26 Patrick Frants <osscontribute@gmail.com>
10873
10874 * gdb.cp/classes.exp (test_static_members): Test printing
10875 Outer::instance.
10876 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10877 (Inner::instance, Outer::instance): New.
10878
10879 2017-10-24 Pedro Alves <palves@redhat.com>
10880
10881 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10882 extra console" test in two stages.
10883
10884 2017-10-24 Pedro Alves <palves@redhat.com>
10885
10886 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10887
10888 2017-10-24 Pedro Alves <palves@redhat.com>
10889
10890 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10891 loop.
10892
10893 2017-10-24 Pedro Alves <palves@redhat.com>
10894
10895 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10896 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10897
10898 2017-10-24 Pedro Alves <palves@redhat.com>
10899
10900 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10901 parameter and handle it. Don't output read value in test name.
10902
10903 2017-10-24 Pedro Alves <palves@redhat.com>
10904
10905 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10906 custom test name.
10907
10908 2017-10-24 Pedro Alves <palves@redhat.com>
10909
10910 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10911 include the unstable output directory name in the test's name.
10912 (initial_setup_simple) <'set args'>: Use custom test name.
10913
10914 2017-10-24 Pedro Alves <palves@redhat.com>
10915
10916 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10917 with explicit test name.
10918
10919 2017-10-20 Pedro Alves <palves@redhat.com>
10920
10921 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10922 'wait -i'. Use gdb_assert and remote_close.
10923
10924 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10925
10926 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10927 number from variable rather than hard-coded.
10928
10929 2017-10-19 Pedro Alves <palves@redhat.com>
10930
10931 * gdb.base/long-inferior-output.c: New file.
10932 * gdb.base/long-inferior-output.exp: New file.
10933
10934 2017-11-18 Keith Seitz <keiths@redhat.com>
10935
10936 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10937 method.
10938 (main): Call it.
10939 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10940 Add additional user-defined conversion operator tests.
10941
10942 2017-10-17 Pedro Alves <palves@redhat.com>
10943
10944 * boards/native-stdio-gdbserver.exp: Load "local-board".
10945
10946 2017-10-17 Pedro Alves <palves@redhat.com>
10947
10948 * gdb.base/quit-live.c: New file.
10949 * gdb.base/quit-live.exp: New file.
10950
10951 2017-10-16 Keith Seitz <keiths@redhat.com>
10952
10953 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10954 (class_with_protected_typedef, class_with_private_typedef)
10955 (struct_with_public_typedef, struct_with_protected_typedef)
10956 (struct_with_private_typedef): New classes/structs.
10957 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10958 typedefs and access specifiers.
10959
10960 2017-10-16 Pedro Alves <palves@redhat.com>
10961 Simon Marchi <simon.marchi@polymtl.ca>
10962
10963 * README (Local vs Remote vs Native): New section.
10964 * boards/local-board.exp: New file, with bits factored out from
10965 ...
10966 * boards/native-extended-gdbserver.exp: ... here. Load
10967 "local-board".
10968 * boards/native-gdbserver.exp: Load "local-board".
10969 (${board}_spawn, ${board}_exec): Delete.
10970 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10971 ...
10972 * boards/stdio-gdbserver-base.exp: ... this new file.
10973 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10974 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10975 procedure.
10976 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10977 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10978 stdio_gdbserver_command.
10979 (${board}_get_remote_address, ${board}_get_comm_port)
10980 (${board}_download, ${board}_upload): Delete.
10981 (get_target_remote_pipe_cmd): New.
10982
10983 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10984
10985 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10986 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10987 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10988 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10989 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10990 remove with_test_prefix.
10991
10992 2017-10-13 Pedro Alves <palves@redhat.com>
10993
10994 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10995 * gdb.base/annota1.exp: Use it instead of is_remote.
10996 * gdb.base/annota3.exp: Use it instead of is_remote.
10997 * gdb.cp/annota2.exp: Use it instead of is_remote.
10998 * gdb.cp/annota3.exp: Use it instead of is_remote.
10999 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11000
11001 2017-10-13 Pedro Alves <palves@redhat.com>
11002
11003 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11004 (test_num_test_vars, run_and_count_vars, find_env)
11005 (test_set_unset_env, test_inherit_env_var): New procedures.
11006 (top level): Use them.
11007
11008 2017-10-13 Pedro Alves <palves@redhat.com>
11009
11010 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11011 also skip on stub-like targets.
11012
11013 2017-10-13 Pedro Alves <palves@redhat.com>
11014
11015 PR gdb/22293
11016 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11017 (top level): Move some tests to ...
11018 (test_not_found): ... this new procedure.
11019 (top level): Call it.
11020
11021 2017-10-13 Pedro Alves <palves@redhat.com>
11022
11023 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11024 expect different "info terminal" output if testing with a
11025 non-native target.
11026
11027 2017-10-13 Pedro Alves <palves@redhat.com>
11028 Simon Marchi <simon.marchi@polymtl.ca>
11029
11030 PR python/12966
11031 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11032
11033 2017-10-13 Pedro Alves <palves@redhat.com>
11034
11035 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11036 already.
11037
11038 2017-10-13 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11041 is_remote.
11042
11043 2017-10-13 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11046 is_remote.
11047
11048 2017-10-13 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11051 is set.
11052 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11053 instead of is_remote.
11054
11055 2017-10-13 Pedro Alves <palves@redhat.com>
11056
11057 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11058 (top level): Add comment.
11059
11060 2017-10-13 Pedro Alves <palves@redhat.com>
11061
11062 * gdb.base/remote.exp (top level): Fix comment typo and add
11063 missing return.
11064
11065 2017-10-13 Pedro Alves <palves@redhat.com>
11066 Simon Marchi <simon.marchi@polymtl.ca>
11067
11068 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11069 calls and add comments. Skip test if use_gdb_stub is set.
11070 (top level): Use "set cwd" command instead of "cd" command.
11071
11072 2017-10-13 Pedro Alves <palves@redhat.com>
11073
11074 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11075 is_remote target check.
11076
11077 2017-10-13 Pedro Alves <palves@redhat.com>
11078
11079 * gdb.base/scope.exp: Use build_executable + clean_restart +
11080 gdb_file_cmd instead of prepare_for_testing and no longer skip
11081 "before run" tests on is_remote target boards. Update comments.
11082 * boards/native-extended-gdbserver.exp
11083 (extended_gdbserver_load_last_file): New, factored out from ...
11084 (gdb_load): ... this. Move further below and add comment.
11085 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11086
11087 2017-10-12 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/attach.exp: Remove references to gdb64.
11090 * gdb.base/dbx.exp: Remove references to gdb64.
11091
11092 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11093 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.base/label.exp: Remove is_remote target check.
11096
11097 2017-10-12 Pedro Alves <palves@redhat.com>
11098
11099 * gdb.base/auvx.exp (coredir): Update comment.
11100 (top level) <core_works>: Use "set cwd" command instead of "cd"
11101 command.
11102
11103 2017-10-12 Pedro Alves <palves@redhat.com>
11104 Simon Marchi <simon.marchi@polymtl.ca>
11105
11106 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11107 target boards.
11108
11109 2017-10-12 Pedro Alves <palves@redhat.com>
11110 Simon Marchi <simon.marchi@polymtl.ca>
11111
11112 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11113 Instead skip if there's any gdb_protocol set.
11114
11115 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11116 Pedro Alves <palves@redhat.com>
11117
11118 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11119
11120 2017-10-12 Pedro Alves <palves@redhat.com>
11121 Simon Marchi <simon.marchi@polymtl.ca>
11122
11123 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11124 instead of on dejagnu remote boards.
11125
11126 2017-10-12 Pedro Alves <palves@redhat.com>
11127 Simon Marchi <simon.marchi@polymtl.ca>
11128
11129 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11130 checks. Use build_executable + clean_restart instead of
11131 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11132 of enabling non-stop after starting gdb.
11133
11134 2017-10-12 Pedro Alves <palves@redhat.com>
11135
11136 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11137 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11138 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11139 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11140
11141 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11142
11143 * gdb.arch/arc-tdesc-cpu.exp: New file.
11144 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11145
11146 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11147
11148 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11149
11150 2017-10-10 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11153 expect CLI output.
11154
11155 2017-10-10 Pedro Alves <palves@redhat.com>
11156
11157 * lib/selftest-support.exp (selftest_setup): Update for
11158 captured_command_loop's prototype change.
11159
11160 2017-10-09 Pedro Alves <palves@redhat.com>
11161
11162 Test both arch1=>arch2 and arch2=>arch1.
11163
11164 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11165 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11166 factored out to...
11167 (append_arch1_options, append_arch2_options, append_arch_options)
11168 (build_executables): New procedures.
11169 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11170 local.
11171 (top level): Add new 'first_arch' testing axis.
11172
11173 2017-10-09 Pedro Alves <palves@redhat.com>
11174
11175 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11176 (barrier): New.
11177 (thread_start, all_started): New functions.
11178 (main): Spawn new thread and wait until it is scheduled.
11179 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11180 option.
11181 (do_test): Add 'selected_thread' parameter. Run to all_started
11182 instead of main. Explicitly set the breakpoint at main. Switch
11183 to the SELECTED_THREAD thread.
11184 (top level): Test handling the exec event with either the main
11185 thread or the second thread selected.
11186
11187 2017-10-09 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11190 logic. Move STOP marker after the value checks.
11191 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11192 regexp.
11193
11194 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11195
11196 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11197
11198 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11199
11200 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11201 integer-to-dfp conversion.
11202 * gdb.base/dfp-test.exp: Likewise.
11203
11204 2017-10-04 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.multi/hangout.c: Include <unistd.h>.
11207 (hangout_loop): New function.
11208 (main): Call alarm. Call hangout_loop in a loop.
11209 * gdb.multi/hello.c: Include <unistd.h>.
11210 (hello_loop): New function.
11211 (main): Call alarm. Call hangout_loop in a loop.
11212 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11213 inferior with the other selected.
11214
11215 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11216
11217 * gdb.mi/list-thread-groups-available.exp: New file.
11218 * gdb.mi/list-thread-groups-available.c: New file.
11219
11220 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11221
11222 * gdb.base/set-cwd.exp: Make it available on
11223 native-extended-gdbserver.
11224
11225 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11226
11227 * gdb.base/set-cwd.c: New file.
11228 * gdb.base/set-cwd.exp: Likewise.
11229
11230 2017-10-02 Tom Tromey <tom@tromey.com>
11231
11232 PR rust/22236:
11233 * gdb.rust/simple.rs (main): New variable "fslice".
11234 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11235
11236 2017-10-02 Tom Tromey <tom@tromey.com>
11237
11238 * gdb.rust/simple.exp: Test ptype of a slice.
11239
11240 2017-10-02 Tom Tromey <tom@tromey.com>
11241
11242 * gdb.rust/simple.exp: Test index of slice.
11243
11244 2017-09-27 Tom Tromey <tom@tromey.com>
11245
11246 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11247
11248 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11249 Pedro Alves <palves@redhat.com>
11250
11251 * gdb.base/compare-sections.exp (get value of read-only section): Read
11252 as unsigned value.
11253 (corrupt read-only section): Likewise and don't set written if patching
11254 failed.
11255
11256 2017-09-21 Kevin Buettner <kevinb@redhat.com>
11257
11258 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11259 files.
11260
11261 2017-09-20 Pedro Alves <palves@redhat.com>
11262
11263 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11264 symbol names in gdb's output.
11265 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11266
11267 2017-09-20 Pedro Alves <palves@redhat.com>
11268
11269 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11270 Rename to ...
11271 (test_list_ambiguous_symbol): ... this and add a symbol name
11272 parameter. Adjust.
11273 (test_list_ambiguous_function): Reimplement on top of
11274 test_list_ambiguous_symbol and also test listing ambiguous
11275 variables.
11276 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11277 (ambiguous_fun): ... this.
11278 (ambiguous_var): New.
11279 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11280 (ambiguous_fun): ... this.
11281 (ambiguous_var): New.
11282
11283 2017-09-19 John Baldwin <jhb@FreeBSD.org>
11284
11285 * gdb.base/starti.c: New file.
11286 * gdb.base/starti.exp: New file.
11287 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11288
11289 2017-09-14 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11292 (top level): Use it instead of runto.
11293
11294 2017-09-11 Tom Tromey <tom@tromey.com>
11295
11296 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11297
11298 2017-09-11 Tom Tromey <tom@tromey.com>
11299
11300 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11301 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11302
11303 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11304
11305 * gdb.fortran/printing-types.exp: New file.
11306 * gdb.fortran/printing-types.exp: New file.
11307
11308 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11309
11310 * gdb.fortran/vla-ptype.exp: Fix typos.
11311 * gdb.fortran/vla-value.exp: Same.
11312
11313 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11314
11315 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11316 * gdb.mi/mi-var-child-f.exp: Likewise.
11317 * gdb.mi/mi-vla-fortran.exp: Likewise.
11318
11319 2017-09-08 Frank Penczek <frank.penczek@intel.com>
11320 Christoph Weinmann <christoph.t.weinmann@intel.com>
11321 Bernhard Heckel <bernhard.heckel@intel.com>
11322
11323 * gdb.fortran/ptr-indentation.f90: New file.
11324 * gdb.fortran/ptr-indentation.exp: New file.
11325
11326 2017-09-05 Tom Tromey <tom@tromey.com>
11327
11328 PR gdb/22010:
11329 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11330
11331 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11332
11333 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11334
11335 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11336
11337 * gdb.threads/tls-nodebug-pie.c: New file.
11338 * gdb.threads/tls-nodebug-pie.exp: New file.
11339
11340 2017-09-05 Tom Tromey <tom@tromey.com>
11341
11342 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11343 for rust.
11344
11345 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11346
11347 * gdb.multi/multi-arch-exec.exp: Test with different
11348 "follow-exec-mode" settings.
11349 (do_test): New procedure.
11350
11351 2017-09-04 Pedro Alves <palves@redhat.com>
11352
11353 * gdb.base/func-static.c (S::method const, S::method volatile)
11354 (S::method volatile const): New methods.
11355 (c_s, v_s, cv_s): New instances.
11356 (main): Call method() on them.
11357 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11358 (cannot_resolve): New procedure.
11359 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11360 print-quote-unquoted columns.
11361 (do_test): Test printing each scope too.
11362
11363 2017-09-04 Pedro Alves <palves@redhat.com>
11364
11365 * gdb.base/local-static.exp: Also test with
11366 class::method::variable wholly quoted.
11367 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11368
11369 2017-09-04 Pedro Alves <palves@redhat.com>
11370
11371 * gdb.base/local-static.c: New.
11372 * gdb.base/local-static.cc: New.
11373 * gdb.base/local-static.exp: New.
11374
11375 2017-09-04 Pedro Alves <palves@redhat.com>
11376
11377 * gdb.asm/asm-source.exp: Add casts to int.
11378 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11379 (dataglobal64_1, dataglobal64_2): New globals.
11380 * gdb.base/nodebug.exp: Test different expressions involving the
11381 new globals, with print, whatis and ptype. Add casts to int.
11382 * gdb.base/solib-display.exp: Add casts to int.
11383 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11384 * gdb.cp/m-static.exp: Add cast to int.
11385 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11386 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11387 tls variable with no debug info without a cast. Test with a cast
11388 to int too.
11389 * gdb.trace/entry-values.exp: Add casts.
11390
11391 2017-09-04 Pedro Alves <palves@redhat.com>
11392
11393 * gdb.base/nodebug.exp: Test that ptype's error about functions
11394 with unknown return type includes the function name too.
11395
11396 2017-09-04 Pedro Alves <palves@redhat.com>
11397
11398 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11399 return type of munmap in infcall.
11400 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11401 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11402 type of ftell in infcall.
11403 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11404 type of getpid in infcall.
11405 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11406 infcall.
11407 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11408 Bail on failure to extract the pid.
11409 * gdb.base/nodebug.c: #include <stdint.h>.
11410 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11411 New functions.
11412 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11413 Change expected output of print/whatis/ptype with functions with
11414 no debug info. Test all supported languages. Call
11415 test_call_promotion.
11416 * gdb.compile/compile.exp: Adjust expected output to expect
11417 warning.
11418 * gdb.threads/siginfo-threads.exp: Likewise.
11419
11420 2017-09-04 Pedro Alves <palves@redhat.com>
11421
11422 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11423 "prototypes". Test calling float functions via prototyped and
11424 unprototyped function pointers.
11425 (perform_all_tests): New parameter "prototypes". Pass it down.
11426 (top level): Pass down "prototypes" parameter to
11427 perform_all_tests.
11428
11429 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11430
11431 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11432 Test with nested loops.
11433
11434 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11435
11436 * gdb.base/commands.exp: Call the new procedures.
11437 (loop_break_test, loop_continue_test): New procedures.
11438
11439 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11440
11441 * gdb.base/commands.exp: Call new procedure.
11442 (define_if_without_arg_test): New procedure.
11443
11444 2017-09-04 Pedro Alves <palves@redhat.com>
11445
11446 * gdb.base/list-ambiguous.exp: New file.
11447 * gdb.base/list-ambiguous0.c: New file.
11448 * gdb.base/list-ambiguous1.c: New file.
11449 * gdb.base/list.exp (test_list_range): Adjust expected output.
11450
11451 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11452
11453 * gdb.base/share-env-with-gdbserver.c: New file.
11454 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11455
11456 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11457
11458 * gdb.base/commands.exp (gdbvar_simple_if_test,
11459 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11460 progvar_simple_if_test, progvar_simple_while_test,
11461 progvar_complex_if_while_test, user_defined_command_test,
11462 user_defined_command_args_eval,
11463 user_defined_command_args_stack_test,
11464 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11465 temporary_breakpoint_commands,
11466 gdb_test_no_prompt, redefine_hook_test,
11467 redefine_backtrace_test): Remove "global gdb_prompt".
11468
11469 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11470
11471 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11472 New proc, call it from toplevel.
11473
11474 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11475
11476 PR remote/21852
11477 * gdb.server/normal.c: New file, copied from gdb.base.
11478 * gdb.server/run-without-local-binary.exp: New file.
11479
11480 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
11481
11482 * gdb.arch/sparc64-adi.exp: New file.
11483 * gdb.arch/sparc64-adi.c: New file.
11484
11485 2017-08-22 Pedro Alves <palves@redhat.com>
11486
11487 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11488 (top level): Add "list all overloads" tests.
11489
11490 2017-08-22 Tom Tromey <tom@tromey.com>
11491
11492 * gdb.gdb/xfullpath.exp: Remove.
11493
11494 2017-08-21 Pedro Alves <palves@redhat.com>
11495
11496 PR gdb/19487
11497 * gdb.base/symbol-alias.c: New.
11498 * gdb.base/symbol-alias2.c: New.
11499 * gdb.base/symbol-alias.exp: New.
11500
11501 2017-08-21 Pedro Alves <palves@redhat.com>
11502
11503 * gdb.base/dfp-test.c
11504 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11505 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11506 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11507 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11508 * gdb.base/whatis-ptype-typedefs.c: New.
11509 * gdb.base/whatis-ptype-typedefs.exp: New.
11510 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11511 (an_int, an_int_type, an_int_type2): New globals.
11512 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11513 involving typedefs and cast expressions.
11514 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11515 (lookup_typedefs_function): New.
11516 (typedefs_pretty_printers_dict): New.
11517 (top level): Register lookup_typedefs_function in
11518 gdb.pretty_printers.
11519
11520 2017-08-18 Yao Qi <yao.qi@linaro.org>
11521
11522 * gdb.server/unittest.exp: New.
11523
11524 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11525
11526 PR gdb/21954
11527 * gdb.base/environ.exp: Add test to check if 'unset environment'
11528 works.
11529
11530 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11531
11532 * lib/gdb.exp (universal_compile_options): New caching proc.
11533 (gdb_compile): Suppress GCC's coloring of messages.
11534
11535 2017-08-14 Tom Tromey <tom@tromey.com>
11536
11537 PR gdb/21675:
11538 * gdb.base/printcmds.exp (test_radices): New function.
11539 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11540 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11541 * lib/gdb.exp (get_integer_valueof): Use p/d.
11542
11543 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11544
11545 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11546 characters.
11547
11548 2017-08-05 Tom Tromey <tom@tromey.com>
11549
11550 * gdb.rust/simple.exp: Allow String to appear in a different
11551 namespace.
11552
11553 2017-07-26 Yao Qi <yao.qi@linaro.org>
11554
11555 * gdb.gdb/unittest.exp: Invoke command
11556 "maintenance check xml-descriptions".
11557
11558 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11559
11560 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11561 calling context.
11562 (hex128): Drop erroneous calculation of parameters.
11563
11564 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11565
11566 * gdb.python/py-unwind.exp: Disable stack protection when
11567 building test file.
11568
11569 2017-07-20 Pedro Alves <palves@redhat.com>
11570
11571 * gdb.base/default.exp (set language): Adjust expected output.
11572
11573 2017-07-20 Pedro Alves <palves@redhat.com>
11574
11575 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11576 (test_minsym): ... this, and make static.
11577 (get_pck__foo__bar__minsym): Rename to ...
11578 (get_test_minsym): ... this.
11579 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11580 symbol names and comments.
11581 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11582 (get_test_minsym): ... this.
11583 (pck__foo__bar__minsym__2): Rename to ...
11584 (test_minsym): ... this.
11585 (main): Adjust.
11586
11587 2017-07-17 Pedro Alves <palves@redhat.com>
11588
11589 * gdb.base/completion.exp: Adjust expected output.
11590 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11591 the completer works.
11592
11593 2017-07-17 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11596
11597 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11598
11599 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11600
11601 2017-07-14 Tom Tromey <tom@tromey.com>
11602
11603 PR rust/21764:
11604 * gdb.rust/simple.exp: Add tests.
11605
11606 2017-07-14 Tom Tromey <tom@tromey.com>
11607
11608 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11609
11610 2017-07-14 Pedro Alves <palves@redhat.com>
11611
11612 * gdb.linespec/base/one/thefile.cc (z1): New function.
11613 * gdb.linespec/base/two/thefile.cc (z2): New function.
11614 * gdb.linespec/linespec.exp: Add tests.
11615
11616 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11617
11618 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11619 to mi_create_breakpoint.
11620
11621 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11622
11623 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11624 mi_create_breakpoint.
11625
11626 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11627
11628 * gdb.dlang/demangle.exp: Update for demangling changes.
11629
11630 2017-07-09 Tom Tromey <tom@tromey.com>
11631
11632 * gdb.dwarf2/shortpiece.exp: New file.
11633
11634 2017-07-06 David Blaikie <dblaikie@gmail.com>
11635
11636 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11637 built from fissiont-multi-cu{1,2}.c.
11638 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11639 except putting 'main' and 'func' in separate CUs in the same DWO file.
11640 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11641 test.
11642 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11643 test.
11644
11645 2017-07-06 Pedro Alves <palves@redhat.com>
11646
11647 * gdb.python/py-unwind.exp: Test flushregs.
11648
11649 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11650
11651 PR cli/21688
11652 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11653 tests for alias commands and trailing whitespace.
11654
11655 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11656
11657 PR cli/21688
11658 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11659 procedure. Call it.
11660
11661 2017-06-29 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/printcmds.exp: Add tests.
11664
11665 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11666
11667 PR gdb/21337
11668 * gdb.base/reread-readsym.exp: New file.
11669 * gdb.base/reread-readsym.c: New file.
11670
11671 2017-06-21 Kevin Buettner <kevinb@redhat.com>
11672
11673 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11674 subpattern.
11675
11676 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11677
11678 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11679 extended mnemonic.
11680 * gdb.arch/powerpc-power9.s: Likewise.
11681
11682 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11683
11684 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11685 on 32-bit x86 targets. Exploit is_*_target macros where
11686 appropriate.
11687
11688 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11689
11690 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11691 register pieces.
11692
11693 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11694
11695 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11696 located in one or more DWARF pieces.
11697
11698 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11699
11700 * lib/gdb.exp (get_endianness): New proc.
11701 * gdb.arch/aarch64-fp.exp: Use it.
11702 * gdb.arch/altivec-regs.exp: Likewise.
11703 * gdb.arch/e500-regs.exp: Likewise.
11704 * gdb.arch/vsx-regs.exp: Likewise.
11705 * gdb.base/dump.exp: Likewise.
11706 * gdb.base/funcargs.exp: Likewise.
11707 * gdb.base/gnu_vector.exp: Likewise.
11708 * gdb.dwarf2/formdata16.exp: Likewise.
11709 * gdb.dwarf2/implptrpiece.exp: Likewise.
11710 * gdb.dwarf2/nonvar-access.exp: Likewise.
11711 * gdb.python/py-inferior.exp: Likewise.
11712 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11713
11714 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11715
11716 PR gdb/21226
11717 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11718 stack value pieces are taken from the LSB end.
11719
11720 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11721
11722 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11723 variable at nonzero offset.
11724
11725 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11726
11727 * gdb.dwarf2/var-access.c: New file.
11728 * gdb.dwarf2/var-access.exp: New test.
11729 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11730
11731 2017-06-12 Tom Tromey <tom@tromey.com>
11732
11733 * gdb.dwarf2/formdata16.exp: Add tests.
11734
11735 2017-06-12 Tom Tromey <tom@tromey.com>
11736
11737 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11738
11739 2017-06-12 Tom Tromey <tom@tromey.com>
11740
11741 PR exp/16225:
11742 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11743 * gdb.arch/vsx-regs.exp: Update tests.
11744 * gdb.arch/s390-vregs.exp (hex128): New proc.
11745 Update test.
11746 * gdb.arch/altivec-regs.exp: Update tests.
11747
11748 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11749
11750 * gdb.base/startup-with-shell.c: New file.
11751 * gdb.base/startup-with-shell.exp: Likewise.
11752
11753 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11754
11755 * gdb.server/non-existing-program.exp: Update regex in order to
11756 reflect the fact that gdbserver is now using fork_inferior (with a
11757 shell) to startup the inferior.
11758
11759 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11760
11761 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11762 support function calls from GDB.
11763
11764 2017-05-21 Tom Tromey <tom@tromey.com>
11765
11766 PR rust/21466:
11767 * gdb.rust/unsized.exp: New file.
11768 * gdb.rust/unsized.rs: New file.
11769
11770 2017-05-19 Tom Tromey <tom@tromey.com>
11771
11772 PR rust/21484:
11773 * gdb.rust/watch.exp: New file.
11774 * gdb.rust/watch.rs: New file.
11775
11776 2017-05-18 Tom Tromey <tom@tromey.com>
11777
11778 * gdb.rust/simple.exp: Allow Box to be qualified.
11779
11780 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11781
11782 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11783
11784 2017-05-18 Pedro Alves <palves@redhat.com>
11785
11786 * gdb.base/fileio.c (test_write, test_read, test_close)
11787 (test_fstat): Don't print 'ret' in the fail path.
11788
11789 2017-05-18 Pedro Alves <palves@redhat.com>
11790
11791 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11792 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11793 (test_system, test_rename, test_unlink, test_time): Change
11794 prototypes.
11795 * gdb.base/fileio.exp (stop_msg): Adjust.
11796
11797 2017-05-18 Pedro Alves <palves@redhat.com>
11798
11799 * gdb.base/fileio.c (null_str): New global.
11800 (test_stat): Use it.
11801 * gdb.base/fileio.exp: Remove nowarnings.
11802
11803 2017-05-17 Yao Qi <yao.qi@linaro.org>
11804
11805 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11806
11807 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11808
11809 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11810 argument command.
11811 (top-level): Invoke test_set_inferior_tty.
11812
11813 2017-05-04 Pedro Alves <palves@redhat.com>
11814
11815 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11816 Add parens to print call for Python 3.
11817
11818 2017-05-03 Keith Seitz <keiths@redhat.com>
11819
11820 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11821 (main): Call it.
11822
11823 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11824
11825 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11826 to prev and next.
11827
11828 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11829
11830 * gdb.python/py-record-btrace.exp: Remove test for
11831 gdb.BtraceInstruction.error.
11832
11833 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11834
11835 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11836
11837 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11838
11839 * gdb.python/py-record-btrace-threads.c: New file.
11840 * gdb.python/py-record-btrace-threads.exp: New file.
11841
11842 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11843
11844 PR testsuite/8595
11845 * gdb.base/environ.exp: Make test available in all architectures.
11846 Move bits related to "info program" testing to
11847 gdb.base/info-program.exp. Rewrite tests to use the two new
11848 procedures mentione below.
11849 (test_set_show_env_var) New procedure.
11850 (test_set_show_env_var_equal): Likewise.
11851 * gdb.base/info-program.exp: New file.
11852
11853 2017-04-27 Keith Seitz <keiths@redhat.com>
11854
11855 * gdb.cp/oranking.cc (test15): New function.
11856 (main): Call test15 and declare additional variables for testing.
11857 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11858 "p foo101('abc')" tests.
11859 Add tests for cv qualifier overloads.
11860 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11861 "lvalue reference overload" test.
11862 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11863 "print value of f1 on Child&& in f2" test.
11864
11865 2017-04-19 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11868 procedure.
11869 (top level): Call it.
11870 * lib/gdb.exp (gdb_define_cmd): New procedure.
11871
11872 2017-04-12 Pedro Alves <palves@redhat.com>
11873
11874 PR gdb/21323
11875 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11876 (wchar): New global.
11877 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11878 (do_test_wide_char, wide_char_types_no_program, top level): Add
11879 wchar_t testing.
11880
11881 2017-04-12 Pedro Alves <palves@redhat.com>
11882
11883 PR c++/21323
11884 * gdb.cp/wide_char_types.c: New file.
11885 * gdb.cp/wide_char_types.exp: New file.
11886
11887 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11888
11889 PR gdb/21352
11890 * gdb.trace/tsv.exp: Add test for "tsave -r".
11891
11892 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11893
11894 * gdb.dlang/watch-loc.c: New file.
11895 * gdb.dlang/watch-loc.exp: New file.
11896
11897 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11900
11901 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11902
11903 * gdb.arch/arc-analyze-prologue.S: New file.
11904 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11905
11906 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11907
11908 * gdb.arch/arc-decode-insn.S: New file.
11909 * gdb.arch/arc-decode-insn.exp: Likewise.
11910
11911 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11912
11913 PR tdep/20928
11914 * gdb.arch/sparc64-regs.exp: New file.
11915 * gdb.arch/sparc64-regs.S: Likewise.
11916
11917 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11918
11919 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11920 and memory view on Python 3.
11921
11922 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
11923 Keith Seitz <keiths@redhat.com>
11924
11925 PR gdb/14441
11926 * gdb.cp/demangle.exp: Add rvalue reference tests.
11927 * gdb.cp/rvalue-ref-casts.cc: New file.
11928 * gdb.cp/rvalue-ref-casts.exp: New file.
11929 * gdb.cp/rvalue-ref-overload.cc: New file.
11930 * gdb.cp/rvalue-ref-overload.exp: New file.
11931 * gdb.cp/rvalue-ref-params.cc: New file.
11932 * gdb.cp/rvalue-ref-params.exp: New file.
11933 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11934 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11935 * gdb.cp/rvalue-ref-types.cc: New file.
11936 * gdb.cp/rvalue-ref-types.exp: New file.
11937 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11938 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11939
11940 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11941
11942 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11943 New procedure.
11944
11945 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11946
11947 * lib/mi-support.exp (mi_gdb_test): Add additional message
11948 for unexpected output.
11949
11950 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11951
11952 * gdb.base/examine-backward.c (Barrier): New character array
11953 constant, to ensure that TestStrings is preceded by a string
11954 terminator.
11955
11956 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11957
11958 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11959 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11960 and implicit pointer into such a location.
11961
11962 2017-03-16 Doug Evans <dje@google.com>
11963
11964 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11965
11966 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11967
11968 * gdb.cp/m-static.exp: Fix expectation for prototype of
11969 test5.single_constructor and single_constructor::single_constructor.
11970
11971 2017-03-16 Doug Evans <dje@google.com>
11972
11973 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11974 * gdb.guile/scm-lazy-string.c: New file.
11975 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11976 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11977 for pointer, array, typedef lazy strings.
11978
11979 2017-03-16 Doug Evans <dje@google.com>
11980
11981 PR python/17728, python/18439, python/18779
11982 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11983 * gdb.python/py-lazy-string.c (pointer): New typedef.
11984 (main): New locals ptr, array, typedef_ptr.
11985 * gdb.python/py-value.exp: Move lazy string tests to ...
11986 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11987 array, typedef lazy strings.
11988
11989 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11990
11991 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11992 Add optional 'test' parameter.
11993
11994 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11995
11996 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11997 Skip for versions of DejaGnu < 1.5.
11998
11999 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12000
12001 * lib/gdb.exp (dejagnu_version): New proc.
12002 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12003 Use dejagnu_version.
12004
12005 2017-03-10 Keith Seitz <keiths@redhat.com>
12006
12007 PR c++/8128
12008 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12009 type from destructor regexps.
12010 Add a branch which actually passes the test.
12011 Adjust "ptype t5i" test names.
12012
12013 2017-03-08 Pedro Alves <palves@redhat.com>
12014
12015 * gdb.base/step-over-exit.exp: Add explicit test message.
12016
12017 2017-03-08 Pedro Alves <palves@redhat.com>
12018
12019 PR gdb/18360
12020 * gdb.threads/interrupt-while-step-over.c: New file.
12021 * gdb.threads/interrupt-while-step-over.exp: New file.
12022
12023 2017-03-08 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12026 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12027
12028 2017-03-08 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12031 PKRU as not supported as a PASS.
12032
12033 2017-03-08 Pedro Alves <palves@redhat.com>
12034
12035 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12036 prefix instead of $binfile1/$binfile2.
12037 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12038 in test message.
12039 * gdb.python/py-completion.exp: Use "load python file" as test
12040 messages instead of unstable path names.
12041
12042 2017-03-08 Pedro Alves <palves@redhat.com>
12043 Jan Kratochvil <jan.kratochvil@redhat.com>
12044
12045 PR cli/21218
12046 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12047 New proc.
12048 (top level): Call it.
12049
12050 2017-03-08 Pedro Alves <palves@redhat.com>
12051
12052 PR tui/21216
12053 * gdb.tui/tui-nl-filtered-output.exp: New file.
12054
12055 2017-03-08 Pedro Alves <palves@redhat.com>
12056
12057 * gdb.base/completion.exp: Move TUI completion tests to ...
12058 * gdb.tui/completion.exp: ... this new file.
12059
12060 2017-03-08 Pedro Alves <palves@redhat.com>
12061
12062 * gdb.base/tui-disasm-long-lines.c,
12063 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12064 gdb.base/tui-layout.exp: Move to ...
12065 * gdb.tui/: ... this new directory.
12066
12067 2017-03-07 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.base/tui-layout.c: New file.
12070 * gdb.base/tui-layout.exp: New file.
12071
12072 2017-03-07 Pedro Alves <palves@redhat.com>
12073
12074 * gdb.base/tui-layout.c: Rename to ...
12075 * gdb.base/tui-disasm-long-lines.c: ... this.
12076 * gdb.base/tui-layout.exp: Rename to ...
12077 * gdb.base/tui-disasm-long-lines.exp: ... this.
12078
12079 2017-03-07 Pedro Alves <palves@redhat.com>
12080
12081 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12082
12083 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12084
12085 * i386-mpx-call.c: New file.
12086 * i386-mpx-call.exp: New file.
12087
12088 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12089
12090 * gdb.arch/powerpc-power.exp: Delete test.
12091 * gdb.arch/powerpc-power.s: Likewise.
12092 * gdb.disasm/disassembler-options.exp: New test.
12093 * gdb.arch/powerpc-altivec.exp: Likewise.
12094 * gdb.arch/powerpc-altivec.s: Likewise.
12095 * gdb.arch/powerpc-altivec2.exp: Likewise.
12096 * gdb.arch/powerpc-altivec2.s: Likewise.
12097 * gdb.arch/powerpc-altivec3.exp: Likewise.
12098 * gdb.arch/powerpc-altivec3.s: Likewise.
12099 * gdb.arch/powerpc-power7.exp: Likewise.
12100 * gdb.arch/powerpc-power7.s: Likewise.
12101 * gdb.arch/powerpc-power8.exp: Likewise.
12102 * gdb.arch/powerpc-power8.s: Likewise.
12103 * gdb.arch/powerpc-power9.exp: Likewise.
12104 * gdb.arch/powerpc-power9.s: Likewise.
12105 * gdb.arch/powerpc-vsx.exp: Likewise.
12106 * gdb.arch/powerpc-vsx.s: Likewise.
12107 * gdb.arch/powerpc-vsx2.exp: Likewise.
12108 * gdb.arch/powerpc-vsx2.s: Likewise.
12109 * gdb.arch/powerpc-vsx3.exp: Likewise.
12110 * gdb.arch/powerpc-vsx3.s: Likewise.
12111 * gdb.arch/arm-disassembler-options.exp: Likewise.
12112 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12113 * gdb.arch/s390-disassembler-options.exp: Likewise.
12114
12115 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
12116
12117 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12118 (check_supported_features): ... this. Changed return type to void.
12119 (supports_rdseed): New static global.
12120 (rdseed): Check supports_rdseed.
12121 (initialize): Call check_supported_features.
12122
12123 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12124
12125 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12126 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12127 and lqarx/stqcx.
12128 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12129 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12130
12131 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12132
12133 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12134 uppercase.
12135
12136 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12137
12138 * gdb.dwarf2/formdata16.c: New file.
12139 * gdb.dwarf2/formdata16.exp: New file.
12140 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12141
12142 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12143
12144 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12145 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12146 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12147 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12148 DW_AT_GNU_*.
12149
12150 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12151
12152 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12153
12154 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12155
12156 PR gdb/21164
12157 * gdb.base/maint.exp: Add testcases for when the commands do
12158 not have arguments.
12159
12160 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12161
12162 * gdb.cp/chained-calls.exp: Use p instead of P.
12163
12164 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12165
12166 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12167 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12168
12169 2017-02-14 Tom Tromey <tom@tromey.com>
12170
12171 PR python/13598:
12172 * gdb.python/py-events.exp: Add before_prompt event tests.
12173
12174 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12175
12176 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12177
12178 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12179
12180 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12181 (main): Call my_unique_function_name.
12182 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12183 completion of patterns with a single match.
12184 Add missing -re switches to gdb_test_multiple calls.
12185
12186 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12187
12188 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12189 return if core file is not recognized.
12190
12191 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12192
12193 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12194 and extra UIs.
12195
12196 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12197
12198 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12199 proc_with_prefix.
12200
12201 2017-02-10 Tom Tromey <tom@tromey.com>
12202
12203 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12204
12205 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
12206
12207 PR gdb/21122
12208 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12209
12210 2017-02-08 Jerome Guitton <guitton@adacore.com>
12211
12212 * gdb.base/define.exp: Add test for command abbreviations
12213 in define.
12214
12215 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
12216
12217 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12218 * gdb.reverse/insn-reverse-x86.c: New file.
12219
12220 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12221
12222 PR tdep/20936
12223 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12224
12225 2017-02-03 Tom Tromey <tom@tromey.com>
12226
12227 PR rust/21097:
12228 * gdb.rust/simple.exp: Add new tests.
12229
12230 2017-02-02 Pedro Alves <palves@redhat.com>
12231
12232 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12233 tests.
12234
12235 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12236
12237 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12238 taking a 2-byte value out of a 4-byte DWARF implicit value on
12239 big-endian targets.
12240 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12241 logic. Add test cases for DW_OP_implicit.
12242
12243 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12244
12245 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12246
12247 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12248
12249 * gdb.btrace/enable.exp: Call gdb_exit before
12250 skip_gdbserver_tests.
12251
12252 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12253
12254 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12255 GDBFLAGS.
12256
12257 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12258
12259 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12260 the test is skipped.
12261 * gdb.btrace/data.exp: Likewise.
12262 * gdb.btrace/delta.exp: Likewise.
12263 * gdb.btrace/dlopen.exp: Likewise.
12264 * gdb.btrace/enable-running.exp: Likewise.
12265 * gdb.btrace/enable.exp: Likewise.
12266 * gdb.btrace/exception.exp: Likewise.
12267 * gdb.btrace/function_call_history.exp: Likewise.
12268 * gdb.btrace/gcore.exp: Likewise.
12269 * gdb.btrace/instruction_history.exp: Likewise.
12270 * gdb.btrace/multi-thread-step.exp: Likewise.
12271 * gdb.btrace/nohist.exp: Likewise.
12272 * gdb.btrace/non-stop.exp: Likewise.
12273 * gdb.btrace/reconnect.exp: Likewise.
12274 * gdb.btrace/record_goto-step.exp: Likewise.
12275 * gdb.btrace/record_goto.exp: Likewise.
12276 * gdb.btrace/rn-dl-bind.exp: Likewise.
12277 * gdb.btrace/segv.exp: Likewise.
12278 * gdb.btrace/step.exp: Likewise.
12279 * gdb.btrace/stepi.exp: Likewise.
12280 * gdb.btrace/tailcall-only.exp: Likewise.
12281 * gdb.btrace/tailcall.exp: Likewise.
12282 * gdb.btrace/tsx.exp: Likewise.
12283 * gdb.btrace/unknown_functions.exp: Likewise.
12284 * gdb.btrace/vdso.exp: Likewise.
12285
12286 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12287
12288 * gdb.btrace/enable-running.c: New.
12289 * gdb.btrace/enable-running.exp: New.
12290
12291 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12292
12293 * gdb.arch/amd64-gs_base.c: New file.
12294 * gdb.arch/amd64-gs_base.exp: New file.
12295
12296 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12297
12298 * lib/memory.exp: Remove spurious empty newlines.
12299
12300 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12301
12302 * gdb.python/py-bad-printers.exp: Load python file using "source".
12303 * gdb.python/py-events.exp: Likewise.
12304 * gdb.python/py-evsignal.exp: Likewise.
12305 * gdb.python/py-evthreads.exp: Likewise.
12306 * gdb.python/py-frame-args.exp: Likewise.
12307 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12308 * gdb.python/py-framefilter-mi.exp: Likewise.
12309 * gdb.python/py-framefilter.exp: Likewise.
12310 * gdb.python/py-mi.exp: Likewise.
12311 * gdb.python/py-pp-maint.exp: Likewise.
12312 * gdb.python/py-pp-registration.exp: Likewise.
12313 * gdb.python/py-prettyprint.exp: Likewise.
12314 (run_lang_tests): Likewise.
12315 * gdb.python/py-typeprint.exp: Likewise.
12316
12317 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12318
12319 * lib/memory.exp: New file.
12320 * lib/gdb.exp: Load memory.exp.
12321 * gdb.base/memattr.exp (delete_memory): Move proc to
12322 lib/memory.exp and rename to delete_memory_regions.
12323 Replace delete_memory with delete_memory_regions.
12324 Cleanup memory regions before tests.
12325 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12326 before tests.
12327
12328 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12329
12330 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12331 files.
12332 (initialize): New function conditionally defined.
12333 (testcases): Move within conditional block.
12334 (main): Call initialize.
12335 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12336 of gdb.reverse/insn-reverse.c.
12337 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12338 gdb.reverse/insn-reverse.c.
12339
12340 2017-01-26 Yao Qi <yao.qi@linaro.org>
12341
12342 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12343 disassemble on address 0.
12344
12345 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12346 Yao Qi <yao.qi@linaro.org>
12347
12348 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12349 * gdb.dwarf2/implptr-64bit.S: Remove.
12350 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12351 variables in caller's context. Add DW_OP_implicit_value.
12352
12353 2017-01-25 Yao Qi <yao.qi@linaro.org>
12354
12355 * lib/dwarf.exp (Dwarf::_location): Handle
12356 DW_OP_GNU_implicit_pointer with proper size.
12357
12358 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12359
12360 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12361 and add untested calls.
12362
12363 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12364
12365 * gdb.python/python.exp: Check line number against what GDB thinks
12366 the line number is for func1.
12367
12368 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12369
12370 * gdb.dlang/debug-expr.exp: New file.
12371
12372 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
12373
12374 Fix test names for the following files:
12375
12376 * gdb.ada/exec_changed.exp
12377 * gdb.ada/info_types.exp
12378 * gdb.arch/aarch64-atomic-inst.exp
12379 * gdb.arch/aarch64-fp.exp
12380 * gdb.arch/altivec-abi.exp
12381 * gdb.arch/altivec-regs.exp
12382 * gdb.arch/amd64-byte.exp
12383 * gdb.arch/amd64-disp-step.exp
12384 * gdb.arch/amd64-dword.exp
12385 * gdb.arch/amd64-entry-value-inline.exp
12386 * gdb.arch/amd64-entry-value-param.exp
12387 * gdb.arch/amd64-entry-value-paramref.exp
12388 * gdb.arch/amd64-entry-value.exp
12389 * gdb.arch/amd64-i386-address.exp
12390 * gdb.arch/amd64-invalid-stack-middle.exp
12391 * gdb.arch/amd64-invalid-stack-top.exp
12392 * gdb.arch/amd64-optimout-repeat.exp
12393 * gdb.arch/amd64-prologue-skip.exp
12394 * gdb.arch/amd64-prologue-xmm.exp
12395 * gdb.arch/amd64-stap-special-operands.exp
12396 * gdb.arch/amd64-stap-wrong-subexp.exp
12397 * gdb.arch/amd64-tailcall-cxx.exp
12398 * gdb.arch/amd64-tailcall-noret.exp
12399 * gdb.arch/amd64-tailcall-ret.exp
12400 * gdb.arch/amd64-tailcall-self.exp
12401 * gdb.arch/amd64-word.exp
12402 * gdb.arch/arm-bl-branch-dest.exp
12403 * gdb.arch/arm-disp-step.exp
12404 * gdb.arch/arm-neon.exp
12405 * gdb.arch/arm-single-step-kernel-helper.exp
12406 * gdb.arch/avr-flash-qualifier.exp
12407 * gdb.arch/disp-step-insn-reloc.exp
12408 * gdb.arch/e500-abi.exp
12409 * gdb.arch/e500-regs.exp
12410 * gdb.arch/ftrace-insn-reloc.exp
12411 * gdb.arch/i386-avx512.exp
12412 * gdb.arch/i386-bp_permanent.exp
12413 * gdb.arch/i386-byte.exp
12414 * gdb.arch/i386-cfi-notcurrent.exp
12415 * gdb.arch/i386-disp-step.exp
12416 * gdb.arch/i386-dr3-watch.exp
12417 * gdb.arch/i386-float.exp
12418 * gdb.arch/i386-gnu-cfi.exp
12419 * gdb.arch/i386-mpx-map.exp
12420 * gdb.arch/i386-mpx-sigsegv.exp
12421 * gdb.arch/i386-mpx-simple_segv.exp
12422 * gdb.arch/i386-mpx.exp
12423 * gdb.arch/i386-permbkpt.exp
12424 * gdb.arch/i386-prologue.exp
12425 * gdb.arch/i386-signal.exp
12426 * gdb.arch/i386-size-overlap.exp
12427 * gdb.arch/i386-unwind.exp
12428 * gdb.arch/i386-word.exp
12429 * gdb.arch/mips-fcr.exp
12430 * gdb.arch/powerpc-d128-regs.exp
12431 * gdb.arch/powerpc-stackless.exp
12432 * gdb.arch/ppc64-atomic-inst.exp
12433 * gdb.arch/s390-stackless.exp
12434 * gdb.arch/s390-tdbregs.exp
12435 * gdb.arch/s390-vregs.exp
12436 * gdb.arch/sparc-sysstep.exp
12437 * gdb.arch/thumb-bx-pc.exp
12438 * gdb.arch/thumb-singlestep.exp
12439 * gdb.arch/thumb2-it.exp
12440 * gdb.arch/vsx-regs.exp
12441 * gdb.asm/asm-source.exp
12442 * gdb.base/a2-run.exp
12443 * gdb.base/advance.exp
12444 * gdb.base/all-bin.exp
12445 * gdb.base/anon.exp
12446 * gdb.base/args.exp
12447 * gdb.base/arithmet.exp
12448 * gdb.base/async-shell.exp
12449 * gdb.base/async.exp
12450 * gdb.base/attach-pie-noexec.exp
12451 * gdb.base/attach-twice.exp
12452 * gdb.base/auto-load.exp
12453 * gdb.base/bang.exp
12454 * gdb.base/bitfields.exp
12455 * gdb.base/break-always.exp
12456 * gdb.base/break-caller-line.exp
12457 * gdb.base/break-entry.exp
12458 * gdb.base/break-inline.exp
12459 * gdb.base/break-on-linker-gcd-function.exp
12460 * gdb.base/break-probes.exp
12461 * gdb.base/break.exp
12462 * gdb.base/breakpoint-shadow.exp
12463 * gdb.base/call-ar-st.exp
12464 * gdb.base/call-sc.exp
12465 * gdb.base/call-signal-resume.exp
12466 * gdb.base/call-strs.exp
12467 * gdb.base/callfuncs.exp
12468 * gdb.base/catch-fork-static.exp
12469 * gdb.base/catch-gdb-caused-signals.exp
12470 * gdb.base/catch-load.exp
12471 * gdb.base/catch-signal-fork.exp
12472 * gdb.base/catch-signal.exp
12473 * gdb.base/catch-syscall.exp
12474 * gdb.base/charset.exp
12475 * gdb.base/checkpoint.exp
12476 * gdb.base/chng-syms.exp
12477 * gdb.base/code-expr.exp
12478 * gdb.base/code_elim.exp
12479 * gdb.base/commands.exp
12480 * gdb.base/completion.exp
12481 * gdb.base/complex.exp
12482 * gdb.base/cond-expr.exp
12483 * gdb.base/condbreak.exp
12484 * gdb.base/consecutive.exp
12485 * gdb.base/continue-all-already-running.exp
12486 * gdb.base/coredump-filter.exp
12487 * gdb.base/corefile.exp
12488 * gdb.base/dbx.exp
12489 * gdb.base/debug-expr.exp
12490 * gdb.base/define.exp
12491 * gdb.base/del.exp
12492 * gdb.base/disabled-location.exp
12493 * gdb.base/disasm-end-cu.exp
12494 * gdb.base/disasm-optim.exp
12495 * gdb.base/display.exp
12496 * gdb.base/duplicate-bp.exp
12497 * gdb.base/ena-dis-br.exp
12498 * gdb.base/ending-run.exp
12499 * gdb.base/enumval.exp
12500 * gdb.base/environ.exp
12501 * gdb.base/eu-strip-infcall.exp
12502 * gdb.base/eval-avoid-side-effects.exp
12503 * gdb.base/eval-skip.exp
12504 * gdb.base/exitsignal.exp
12505 * gdb.base/expand-psymtabs.exp
12506 * gdb.base/filesym.exp
12507 * gdb.base/find-unmapped.exp
12508 * gdb.base/finish.exp
12509 * gdb.base/float.exp
12510 * gdb.base/foll-exec-mode.exp
12511 * gdb.base/foll-exec.exp
12512 * gdb.base/foll-fork.exp
12513 * gdb.base/fortran-sym-case.exp
12514 * gdb.base/freebpcmd.exp
12515 * gdb.base/func-ptr.exp
12516 * gdb.base/func-ptrs.exp
12517 * gdb.base/funcargs.exp
12518 * gdb.base/gcore-buffer-overflow.exp
12519 * gdb.base/gcore-relro-pie.exp
12520 * gdb.base/gcore-relro.exp
12521 * gdb.base/gcore.exp
12522 * gdb.base/gdb1090.exp
12523 * gdb.base/gdb11530.exp
12524 * gdb.base/gdb11531.exp
12525 * gdb.base/gdb1821.exp
12526 * gdb.base/gdbindex-stabs.exp
12527 * gdb.base/gdbvars.exp
12528 * gdb.base/hbreak.exp
12529 * gdb.base/hbreak2.exp
12530 * gdb.base/included.exp
12531 * gdb.base/infcall-input.exp
12532 * gdb.base/inferior-died.exp
12533 * gdb.base/infnan.exp
12534 * gdb.base/info-macros.exp
12535 * gdb.base/info-os.exp
12536 * gdb.base/info-proc.exp
12537 * gdb.base/info-shared.exp
12538 * gdb.base/info-target.exp
12539 * gdb.base/infoline.exp
12540 * gdb.base/interp.exp
12541 * gdb.base/interrupt.exp
12542 * gdb.base/jit-reader.exp
12543 * gdb.base/jit-simple.exp
12544 * gdb.base/kill-after-signal.exp
12545 * gdb.base/kill-detach-inferiors-cmd.exp
12546 * gdb.base/label.exp
12547 * gdb.base/langs.exp
12548 * gdb.base/ldbl_e308.exp
12549 * gdb.base/line-symtabs.exp
12550 * gdb.base/linespecs.exp
12551 * gdb.base/list.exp
12552 * gdb.base/long_long.exp
12553 * gdb.base/longest-types.exp
12554 * gdb.base/maint.exp
12555 * gdb.base/max-value-size.exp
12556 * gdb.base/memattr.exp
12557 * gdb.base/mips_pro.exp
12558 * gdb.base/morestack.exp
12559 * gdb.base/moribund-step.exp
12560 * gdb.base/multi-forks.exp
12561 * gdb.base/nested-addr.exp
12562 * gdb.base/nextoverexit.exp
12563 * gdb.base/noreturn-finish.exp
12564 * gdb.base/noreturn-return.exp
12565 * gdb.base/nostdlib.exp
12566 * gdb.base/offsets.exp
12567 * gdb.base/opaque.exp
12568 * gdb.base/pc-fp.exp
12569 * gdb.base/permissions.exp
12570 * gdb.base/print-symbol-loading.exp
12571 * gdb.base/prologue-include.exp
12572 * gdb.base/psymtab.exp
12573 * gdb.base/ptype.exp
12574 * gdb.base/random-signal.exp
12575 * gdb.base/randomize.exp
12576 * gdb.base/range-stepping.exp
12577 * gdb.base/readline-ask.exp
12578 * gdb.base/recpar.exp
12579 * gdb.base/recurse.exp
12580 * gdb.base/relational.exp
12581 * gdb.base/restore.exp
12582 * gdb.base/return-nodebug.exp
12583 * gdb.base/return.exp
12584 * gdb.base/run-after-attach.exp
12585 * gdb.base/save-bp.exp
12586 * gdb.base/scope.exp
12587 * gdb.base/sect-cmd.exp
12588 * gdb.base/set-lang-auto.exp
12589 * gdb.base/set-noassign.exp
12590 * gdb.base/setvar.exp
12591 * gdb.base/sigall.exp
12592 * gdb.base/sigbpt.exp
12593 * gdb.base/siginfo-addr.exp
12594 * gdb.base/siginfo-infcall.exp
12595 * gdb.base/siginfo-obj.exp
12596 * gdb.base/siginfo.exp
12597 * gdb.base/signals-state-child.exp
12598 * gdb.base/signest.exp
12599 * gdb.base/sigstep.exp
12600 * gdb.base/sizeof.exp
12601 * gdb.base/skip.exp
12602 * gdb.base/solib-corrupted.exp
12603 * gdb.base/solib-nodir.exp
12604 * gdb.base/solib-search.exp
12605 * gdb.base/stack-checking.exp
12606 * gdb.base/stale-infcall.exp
12607 * gdb.base/stap-probe.exp
12608 * gdb.base/start.exp
12609 * gdb.base/step-break.exp
12610 * gdb.base/step-bt.exp
12611 * gdb.base/step-line.exp
12612 * gdb.base/step-over-exit.exp
12613 * gdb.base/step-over-syscall.exp
12614 * gdb.base/step-resume-infcall.exp
12615 * gdb.base/step-test.exp
12616 * gdb.base/store.exp
12617 * gdb.base/structs3.exp
12618 * gdb.base/sym-file.exp
12619 * gdb.base/symbol-without-target_section.exp
12620 * gdb.base/term.exp
12621 * gdb.base/testenv.exp
12622 * gdb.base/ui-redirect.exp
12623 * gdb.base/until.exp
12624 * gdb.base/unwindonsignal.exp
12625 * gdb.base/value-double-free.exp
12626 * gdb.base/vla-datatypes.exp
12627 * gdb.base/vla-ptr.exp
12628 * gdb.base/vla-sideeffect.exp
12629 * gdb.base/volatile.exp
12630 * gdb.base/watch-cond-infcall.exp
12631 * gdb.base/watch-cond.exp
12632 * gdb.base/watch-non-mem.exp
12633 * gdb.base/watch-read.exp
12634 * gdb.base/watch-vfork.exp
12635 * gdb.base/watchpoint-cond-gone.exp
12636 * gdb.base/watchpoint-delete.exp
12637 * gdb.base/watchpoint-hw-hit-once.exp
12638 * gdb.base/watchpoint-hw.exp
12639 * gdb.base/watchpoint-stops-at-right-insn.exp
12640 * gdb.base/watchpoints.exp
12641 * gdb.base/wchar.exp
12642 * gdb.base/whatis-exp.exp
12643 * gdb.btrace/buffer-size.exp
12644 * gdb.btrace/data.exp
12645 * gdb.btrace/delta.exp
12646 * gdb.btrace/dlopen.exp
12647 * gdb.btrace/enable.exp
12648 * gdb.btrace/exception.exp
12649 * gdb.btrace/function_call_history.exp
12650 * gdb.btrace/gcore.exp
12651 * gdb.btrace/instruction_history.exp
12652 * gdb.btrace/nohist.exp
12653 * gdb.btrace/reconnect.exp
12654 * gdb.btrace/record_goto-step.exp
12655 * gdb.btrace/record_goto.exp
12656 * gdb.btrace/rn-dl-bind.exp
12657 * gdb.btrace/segv.exp
12658 * gdb.btrace/step.exp
12659 * gdb.btrace/stepi.exp
12660 * gdb.btrace/tailcall-only.exp
12661 * gdb.btrace/tailcall.exp
12662 * gdb.btrace/tsx.exp
12663 * gdb.btrace/unknown_functions.exp
12664 * gdb.btrace/vdso.exp
12665 * gdb.compile/compile-ifunc.exp
12666 * gdb.compile/compile-ops.exp
12667 * gdb.compile/compile-print.exp
12668 * gdb.compile/compile-setjmp.exp
12669 * gdb.cp/abstract-origin.exp
12670 * gdb.cp/ambiguous.exp
12671 * gdb.cp/annota2.exp
12672 * gdb.cp/annota3.exp
12673 * gdb.cp/anon-ns.exp
12674 * gdb.cp/anon-struct.exp
12675 * gdb.cp/anon-union.exp
12676 * gdb.cp/arg-reference.exp
12677 * gdb.cp/baseenum.exp
12678 * gdb.cp/bool.exp
12679 * gdb.cp/breakpoint.exp
12680 * gdb.cp/bs15503.exp
12681 * gdb.cp/call-c.exp
12682 * gdb.cp/casts.exp
12683 * gdb.cp/chained-calls.exp
12684 * gdb.cp/class2.exp
12685 * gdb.cp/classes.exp
12686 * gdb.cp/cmpd-minsyms.exp
12687 * gdb.cp/converts.exp
12688 * gdb.cp/cp-relocate.exp
12689 * gdb.cp/cpcompletion.exp
12690 * gdb.cp/cpexprs.exp
12691 * gdb.cp/cplabel.exp
12692 * gdb.cp/cplusfuncs.exp
12693 * gdb.cp/cpsizeof.exp
12694 * gdb.cp/ctti.exp
12695 * gdb.cp/derivation.exp
12696 * gdb.cp/destrprint.exp
12697 * gdb.cp/dispcxx.exp
12698 * gdb.cp/enum-class.exp
12699 * gdb.cp/exception.exp
12700 * gdb.cp/exceptprint.exp
12701 * gdb.cp/expand-psymtabs-cxx.exp
12702 * gdb.cp/expand-sals.exp
12703 * gdb.cp/extern-c.exp
12704 * gdb.cp/filename.exp
12705 * gdb.cp/formatted-ref.exp
12706 * gdb.cp/fpointer.exp
12707 * gdb.cp/gdb1355.exp
12708 * gdb.cp/gdb2495.exp
12709 * gdb.cp/hang.exp
12710 * gdb.cp/impl-this.exp
12711 * gdb.cp/infcall-dlopen.exp
12712 * gdb.cp/inherit.exp
12713 * gdb.cp/iostream.exp
12714 * gdb.cp/koenig.exp
12715 * gdb.cp/local.exp
12716 * gdb.cp/m-data.exp
12717 * gdb.cp/m-static.exp
12718 * gdb.cp/mb-ctor.exp
12719 * gdb.cp/mb-inline.exp
12720 * gdb.cp/mb-templates.exp
12721 * gdb.cp/member-name.exp
12722 * gdb.cp/member-ptr.exp
12723 * gdb.cp/meth-typedefs.exp
12724 * gdb.cp/method.exp
12725 * gdb.cp/method2.exp
12726 * gdb.cp/minsym-fallback.exp
12727 * gdb.cp/misc.exp
12728 * gdb.cp/namelessclass.exp
12729 * gdb.cp/namespace-enum.exp
12730 * gdb.cp/namespace-nested-import.exp
12731 * gdb.cp/namespace.exp
12732 * gdb.cp/nextoverthrow.exp
12733 * gdb.cp/no-dmgl-verbose.exp
12734 * gdb.cp/non-trivial-retval.exp
12735 * gdb.cp/noparam.exp
12736 * gdb.cp/nsdecl.exp
12737 * gdb.cp/nsimport.exp
12738 * gdb.cp/nsnested.exp
12739 * gdb.cp/nsnoimports.exp
12740 * gdb.cp/nsrecurs.exp
12741 * gdb.cp/nsstress.exp
12742 * gdb.cp/nsusing.exp
12743 * gdb.cp/operator.exp
12744 * gdb.cp/oranking.exp
12745 * gdb.cp/overload-const.exp
12746 * gdb.cp/overload.exp
12747 * gdb.cp/ovldbreak.exp
12748 * gdb.cp/ovsrch.exp
12749 * gdb.cp/paren-type.exp
12750 * gdb.cp/parse-lang.exp
12751 * gdb.cp/pass-by-ref.exp
12752 * gdb.cp/pr-1023.exp
12753 * gdb.cp/pr-1210.exp
12754 * gdb.cp/pr-574.exp
12755 * gdb.cp/pr10687.exp
12756 * gdb.cp/pr12028.exp
12757 * gdb.cp/pr17132.exp
12758 * gdb.cp/pr17494.exp
12759 * gdb.cp/pr9067.exp
12760 * gdb.cp/pr9167.exp
12761 * gdb.cp/pr9631.exp
12762 * gdb.cp/printmethod.exp
12763 * gdb.cp/psmang.exp
12764 * gdb.cp/psymtab-parameter.exp
12765 * gdb.cp/ptype-cv-cp.exp
12766 * gdb.cp/ptype-flags.exp
12767 * gdb.cp/re-set-overloaded.exp
12768 * gdb.cp/ref-types.exp
12769 * gdb.cp/rtti.exp
12770 * gdb.cp/scope-err.exp
12771 * gdb.cp/shadow.exp
12772 * gdb.cp/smartp.exp
12773 * gdb.cp/static-method.exp
12774 * gdb.cp/static-print-quit.exp
12775 * gdb.cp/temargs.exp
12776 * gdb.cp/templates.exp
12777 * gdb.cp/try_catch.exp
12778 * gdb.cp/typedef-operator.exp
12779 * gdb.cp/typeid.exp
12780 * gdb.cp/userdef.exp
12781 * gdb.cp/using-crash.exp
12782 * gdb.cp/var-tag.exp
12783 * gdb.cp/virtbase.exp
12784 * gdb.cp/virtfunc.exp
12785 * gdb.cp/virtfunc2.exp
12786 * gdb.cp/vla-cxx.exp
12787 * gdb.disasm/t01_mov.exp
12788 * gdb.disasm/t02_mova.exp
12789 * gdb.disasm/t03_add.exp
12790 * gdb.disasm/t04_sub.exp
12791 * gdb.disasm/t05_cmp.exp
12792 * gdb.disasm/t06_ari2.exp
12793 * gdb.disasm/t07_ari3.exp
12794 * gdb.disasm/t08_or.exp
12795 * gdb.disasm/t09_xor.exp
12796 * gdb.disasm/t10_and.exp
12797 * gdb.disasm/t11_logs.exp
12798 * gdb.disasm/t12_bit.exp
12799 * gdb.disasm/t13_otr.exp
12800 * gdb.dlang/circular.exp
12801 * gdb.dwarf2/arr-stride.exp
12802 * gdb.dwarf2/arr-subrange.exp
12803 * gdb.dwarf2/atomic-type.exp
12804 * gdb.dwarf2/bad-regnum.exp
12805 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12806 * gdb.dwarf2/callframecfa.exp
12807 * gdb.dwarf2/clztest.exp
12808 * gdb.dwarf2/corrupt.exp
12809 * gdb.dwarf2/data-loc.exp
12810 * gdb.dwarf2/dup-psym.exp
12811 * gdb.dwarf2/dw2-anon-mptr.exp
12812 * gdb.dwarf2/dw2-anonymous-func.exp
12813 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12814 * gdb.dwarf2/dw2-bad-unresolved.exp
12815 * gdb.dwarf2/dw2-basic.exp
12816 * gdb.dwarf2/dw2-canonicalize-type.exp
12817 * gdb.dwarf2/dw2-case-insensitive.exp
12818 * gdb.dwarf2/dw2-common-block.exp
12819 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12820 * gdb.dwarf2/dw2-compressed.exp
12821 * gdb.dwarf2/dw2-const.exp
12822 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12823 * gdb.dwarf2/dw2-cu-size.exp
12824 * gdb.dwarf2/dw2-dup-frame.exp
12825 * gdb.dwarf2/dw2-entry-value.exp
12826 * gdb.dwarf2/dw2-icycle.exp
12827 * gdb.dwarf2/dw2-ifort-parameter.exp
12828 * gdb.dwarf2/dw2-inline-break.exp
12829 * gdb.dwarf2/dw2-inline-param.exp
12830 * gdb.dwarf2/dw2-intercu.exp
12831 * gdb.dwarf2/dw2-intermix.exp
12832 * gdb.dwarf2/dw2-lexical-block-bare.exp
12833 * gdb.dwarf2/dw2-linkage-name-trust.exp
12834 * gdb.dwarf2/dw2-minsym-in-cu.exp
12835 * gdb.dwarf2/dw2-noloc.exp
12836 * gdb.dwarf2/dw2-op-call.exp
12837 * gdb.dwarf2/dw2-op-out-param.exp
12838 * gdb.dwarf2/dw2-opt-structptr.exp
12839 * gdb.dwarf2/dw2-param-error.exp
12840 * gdb.dwarf2/dw2-producer.exp
12841 * gdb.dwarf2/dw2-ranges-base.exp
12842 * gdb.dwarf2/dw2-ref-missing-frame.exp
12843 * gdb.dwarf2/dw2-reg-undefined.exp
12844 * gdb.dwarf2/dw2-regno-invalid.exp
12845 * gdb.dwarf2/dw2-restore.exp
12846 * gdb.dwarf2/dw2-restrict.exp
12847 * gdb.dwarf2/dw2-single-line-discriminators.exp
12848 * gdb.dwarf2/dw2-strp.exp
12849 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12850 * gdb.dwarf2/dw2-unresolved.exp
12851 * gdb.dwarf2/dw2-var-zero-addr.exp
12852 * gdb.dwarf2/dw4-sig-types.exp
12853 * gdb.dwarf2/dwz.exp
12854 * gdb.dwarf2/dynarr-ptr.exp
12855 * gdb.dwarf2/enum-type.exp
12856 * gdb.dwarf2/gdb-index.exp
12857 * gdb.dwarf2/implptr-64bit.exp
12858 * gdb.dwarf2/implptr-optimized-out.exp
12859 * gdb.dwarf2/implptr.exp
12860 * gdb.dwarf2/implref-array.exp
12861 * gdb.dwarf2/implref-const.exp
12862 * gdb.dwarf2/implref-global.exp
12863 * gdb.dwarf2/implref-struct.exp
12864 * gdb.dwarf2/mac-fileno.exp
12865 * gdb.dwarf2/main-subprogram.exp
12866 * gdb.dwarf2/member-ptr-forwardref.exp
12867 * gdb.dwarf2/method-ptr.exp
12868 * gdb.dwarf2/missing-sig-type.exp
12869 * gdb.dwarf2/nonvar-access.exp
12870 * gdb.dwarf2/opaque-type-lookup.exp
12871 * gdb.dwarf2/pieces-optimized-out.exp
12872 * gdb.dwarf2/pieces.exp
12873 * gdb.dwarf2/pr10770.exp
12874 * gdb.dwarf2/pr13961.exp
12875 * gdb.dwarf2/staticvirtual.exp
12876 * gdb.dwarf2/subrange.exp
12877 * gdb.dwarf2/symtab-producer.exp
12878 * gdb.dwarf2/trace-crash.exp
12879 * gdb.dwarf2/typeddwarf.exp
12880 * gdb.dwarf2/valop.exp
12881 * gdb.dwarf2/watch-notconst.exp
12882 * gdb.fortran/array-element.exp
12883 * gdb.fortran/charset.exp
12884 * gdb.fortran/common-block.exp
12885 * gdb.fortran/complex.exp
12886 * gdb.fortran/derived-type-function.exp
12887 * gdb.fortran/derived-type.exp
12888 * gdb.fortran/logical.exp
12889 * gdb.fortran/module.exp
12890 * gdb.fortran/multi-dim.exp
12891 * gdb.fortran/nested-funcs.exp
12892 * gdb.fortran/print-formatted.exp
12893 * gdb.fortran/subarray.exp
12894 * gdb.fortran/vla-alloc-assoc.exp
12895 * gdb.fortran/vla-datatypes.exp
12896 * gdb.fortran/vla-history.exp
12897 * gdb.fortran/vla-ptr-info.exp
12898 * gdb.fortran/vla-ptype-sub.exp
12899 * gdb.fortran/vla-ptype.exp
12900 * gdb.fortran/vla-sizeof.exp
12901 * gdb.fortran/vla-type.exp
12902 * gdb.fortran/vla-value-sub-arbitrary.exp
12903 * gdb.fortran/vla-value-sub-finish.exp
12904 * gdb.fortran/vla-value-sub.exp
12905 * gdb.fortran/vla-value.exp
12906 * gdb.fortran/whatis_type.exp
12907 * gdb.go/chan.exp
12908 * gdb.go/handcall.exp
12909 * gdb.go/hello.exp
12910 * gdb.go/integers.exp
12911 * gdb.go/methods.exp
12912 * gdb.go/package.exp
12913 * gdb.go/strings.exp
12914 * gdb.go/types.exp
12915 * gdb.go/unsafe.exp
12916 * gdb.guile/scm-arch.exp
12917 * gdb.guile/scm-block.exp
12918 * gdb.guile/scm-breakpoint.exp
12919 * gdb.guile/scm-cmd.exp
12920 * gdb.guile/scm-disasm.exp
12921 * gdb.guile/scm-equal.exp
12922 * gdb.guile/scm-frame-args.exp
12923 * gdb.guile/scm-frame-inline.exp
12924 * gdb.guile/scm-frame.exp
12925 * gdb.guile/scm-iterator.exp
12926 * gdb.guile/scm-math.exp
12927 * gdb.guile/scm-objfile.exp
12928 * gdb.guile/scm-ports.exp
12929 * gdb.guile/scm-symbol.exp
12930 * gdb.guile/scm-symtab.exp
12931 * gdb.guile/scm-value-cc.exp
12932 * gdb.guile/types-module.exp
12933 * gdb.linespec/break-ask.exp
12934 * gdb.linespec/cpexplicit.exp
12935 * gdb.linespec/explicit.exp
12936 * gdb.linespec/keywords.exp
12937 * gdb.linespec/linespec.exp
12938 * gdb.linespec/ls-dollar.exp
12939 * gdb.linespec/ls-errs.exp
12940 * gdb.linespec/skip-two.exp
12941 * gdb.linespec/thread.exp
12942 * gdb.mi/mi-async.exp
12943 * gdb.mi/mi-basics.exp
12944 * gdb.mi/mi-break.exp
12945 * gdb.mi/mi-catch-load.exp
12946 * gdb.mi/mi-cli.exp
12947 * gdb.mi/mi-cmd-param-changed.exp
12948 * gdb.mi/mi-console.exp
12949 * gdb.mi/mi-detach.exp
12950 * gdb.mi/mi-disassemble.exp
12951 * gdb.mi/mi-eval.exp
12952 * gdb.mi/mi-file-transfer.exp
12953 * gdb.mi/mi-file.exp
12954 * gdb.mi/mi-fill-memory.exp
12955 * gdb.mi/mi-inheritance-syntax-error.exp
12956 * gdb.mi/mi-linespec-err-cp.exp
12957 * gdb.mi/mi-logging.exp
12958 * gdb.mi/mi-memory-changed.exp
12959 * gdb.mi/mi-read-memory.exp
12960 * gdb.mi/mi-record-changed.exp
12961 * gdb.mi/mi-reg-undefined.exp
12962 * gdb.mi/mi-regs.exp
12963 * gdb.mi/mi-return.exp
12964 * gdb.mi/mi-reverse.exp
12965 * gdb.mi/mi-simplerun.exp
12966 * gdb.mi/mi-solib.exp
12967 * gdb.mi/mi-stack.exp
12968 * gdb.mi/mi-stepi.exp
12969 * gdb.mi/mi-syn-frame.exp
12970 * gdb.mi/mi-until.exp
12971 * gdb.mi/mi-var-block.exp
12972 * gdb.mi/mi-var-child.exp
12973 * gdb.mi/mi-var-cmd.exp
12974 * gdb.mi/mi-var-cp.exp
12975 * gdb.mi/mi-var-display.exp
12976 * gdb.mi/mi-var-invalidate.exp
12977 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12978 * gdb.mi/mi-vla-fortran.exp
12979 * gdb.mi/mi-watch.exp
12980 * gdb.mi/mi2-var-child.exp
12981 * gdb.mi/user-selected-context-sync.exp
12982 * gdb.modula2/unbounded-array.exp
12983 * gdb.multi/dummy-frame-restore.exp
12984 * gdb.multi/multi-arch-exec.exp
12985 * gdb.multi/multi-arch.exp
12986 * gdb.multi/tids.exp
12987 * gdb.multi/watchpoint-multi.exp
12988 * gdb.opencl/callfuncs.exp
12989 * gdb.opencl/convs_casts.exp
12990 * gdb.opencl/datatypes.exp
12991 * gdb.opencl/operators.exp
12992 * gdb.opencl/vec_comps.exp
12993 * gdb.opt/clobbered-registers-O2.exp
12994 * gdb.opt/inline-break.exp
12995 * gdb.opt/inline-bt.exp
12996 * gdb.opt/inline-cmds.exp
12997 * gdb.opt/inline-locals.exp
12998 * gdb.pascal/case-insensitive-symbols.exp
12999 * gdb.pascal/floats.exp
13000 * gdb.pascal/gdb11492.exp
13001 * gdb.python/lib-types.exp
13002 * gdb.python/py-arch.exp
13003 * gdb.python/py-as-string.exp
13004 * gdb.python/py-bad-printers.exp
13005 * gdb.python/py-block.exp
13006 * gdb.python/py-breakpoint-create-fail.exp
13007 * gdb.python/py-breakpoint.exp
13008 * gdb.python/py-caller-is.exp
13009 * gdb.python/py-cmd.exp
13010 * gdb.python/py-explore-cc.exp
13011 * gdb.python/py-explore.exp
13012 * gdb.python/py-finish-breakpoint.exp
13013 * gdb.python/py-finish-breakpoint2.exp
13014 * gdb.python/py-frame-args.exp
13015 * gdb.python/py-frame-inline.exp
13016 * gdb.python/py-frame.exp
13017 * gdb.python/py-framefilter-mi.exp
13018 * gdb.python/py-infthread.exp
13019 * gdb.python/py-lazy-string.exp
13020 * gdb.python/py-linetable.exp
13021 * gdb.python/py-mi-events.exp
13022 * gdb.python/py-mi-objfile.exp
13023 * gdb.python/py-mi.exp
13024 * gdb.python/py-objfile.exp
13025 * gdb.python/py-pp-integral.exp
13026 * gdb.python/py-pp-maint.exp
13027 * gdb.python/py-pp-re-notag.exp
13028 * gdb.python/py-pp-registration.exp
13029 * gdb.python/py-recurse-unwind.exp
13030 * gdb.python/py-strfns.exp
13031 * gdb.python/py-symbol.exp
13032 * gdb.python/py-symtab.exp
13033 * gdb.python/py-sync-interp.exp
13034 * gdb.python/py-typeprint.exp
13035 * gdb.python/py-unwind-maint.exp
13036 * gdb.python/py-unwind.exp
13037 * gdb.python/py-value-cc.exp
13038 * gdb.python/py-xmethods.exp
13039 * gdb.reverse/amd64-tailcall-reverse.exp
13040 * gdb.reverse/break-precsave.exp
13041 * gdb.reverse/break-reverse.exp
13042 * gdb.reverse/consecutive-precsave.exp
13043 * gdb.reverse/consecutive-reverse.exp
13044 * gdb.reverse/finish-precsave.exp
13045 * gdb.reverse/finish-reverse-bkpt.exp
13046 * gdb.reverse/finish-reverse.exp
13047 * gdb.reverse/fstatat-reverse.exp
13048 * gdb.reverse/getresuid-reverse.exp
13049 * gdb.reverse/i386-precsave.exp
13050 * gdb.reverse/i386-reverse.exp
13051 * gdb.reverse/i386-sse-reverse.exp
13052 * gdb.reverse/i387-env-reverse.exp
13053 * gdb.reverse/i387-stack-reverse.exp
13054 * gdb.reverse/insn-reverse.exp
13055 * gdb.reverse/machinestate-precsave.exp
13056 * gdb.reverse/machinestate.exp
13057 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13058 * gdb.reverse/pipe-reverse.exp
13059 * gdb.reverse/readv-reverse.exp
13060 * gdb.reverse/recvmsg-reverse.exp
13061 * gdb.reverse/rerun-prec.exp
13062 * gdb.reverse/s390-mvcle.exp
13063 * gdb.reverse/step-precsave.exp
13064 * gdb.reverse/step-reverse.exp
13065 * gdb.reverse/time-reverse.exp
13066 * gdb.reverse/until-precsave.exp
13067 * gdb.reverse/until-reverse.exp
13068 * gdb.reverse/waitpid-reverse.exp
13069 * gdb.reverse/watch-precsave.exp
13070 * gdb.reverse/watch-reverse.exp
13071 * gdb.rust/generics.exp
13072 * gdb.rust/methods.exp
13073 * gdb.rust/modules.exp
13074 * gdb.rust/simple.exp
13075 * gdb.server/connect-with-no-symbol-file.exp
13076 * gdb.server/ext-attach.exp
13077 * gdb.server/ext-restart.exp
13078 * gdb.server/ext-wrapper.exp
13079 * gdb.server/file-transfer.exp
13080 * gdb.server/server-exec-info.exp
13081 * gdb.server/server-kill.exp
13082 * gdb.server/server-mon.exp
13083 * gdb.server/wrapper.exp
13084 * gdb.stabs/exclfwd.exp
13085 * gdb.stabs/gdb11479.exp
13086 * gdb.threads/clone-new-thread-event.exp
13087 * gdb.threads/corethreads.exp
13088 * gdb.threads/current-lwp-dead.exp
13089 * gdb.threads/dlopen-libpthread.exp
13090 * gdb.threads/gcore-thread.exp
13091 * gdb.threads/sigstep-threads.exp
13092 * gdb.threads/watchpoint-fork.exp
13093 * gdb.trace/actions-changed.exp
13094 * gdb.trace/backtrace.exp
13095 * gdb.trace/change-loc.exp
13096 * gdb.trace/circ.exp
13097 * gdb.trace/collection.exp
13098 * gdb.trace/disconnected-tracing.exp
13099 * gdb.trace/ftrace.exp
13100 * gdb.trace/mi-trace-frame-collected.exp
13101 * gdb.trace/mi-trace-unavailable.exp
13102 * gdb.trace/mi-traceframe-changed.exp
13103 * gdb.trace/mi-tsv-changed.exp
13104 * gdb.trace/no-attach-trace.exp
13105 * gdb.trace/passc-dyn.exp
13106 * gdb.trace/qtro.exp
13107 * gdb.trace/range-stepping.exp
13108 * gdb.trace/read-memory.exp
13109 * gdb.trace/save-trace.exp
13110 * gdb.trace/signal.exp
13111 * gdb.trace/status-stop.exp
13112 * gdb.trace/tfile.exp
13113 * gdb.trace/trace-break.exp
13114 * gdb.trace/trace-buffer-size.exp
13115 * gdb.trace/trace-condition.exp
13116 * gdb.trace/tracefile-pseudo-reg.exp
13117 * gdb.trace/tstatus.exp
13118 * gdb.trace/unavailable.exp
13119 * gdb.trace/while-dyn.exp
13120 * gdb.trace/while-stepping.exp
13121
13122 2016-12-22 Doug Evans <xdje42@gmail.com>
13123
13124 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13125 and msymbols.
13126
13127 2016-12-19 Yao Qi <yao.qi@linaro.org>
13128
13129 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13130 (test_with_self): Don't call do_steps_and_nexts, and remove
13131 code about stepping into xmalloc.
13132
13133 2016-12-09 Yao Qi <yao.qi@linaro.org>
13134
13135 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13136
13137 2016-12-09 Yao Qi <yao.qi@linaro.org>
13138
13139 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13140
13141 2016-12-09 Pedro Alves <palves@redhat.com>
13142
13143 * gdb.base/all-architectures-0.exp: New file.
13144 * gdb.base/all-architectures-1.exp: New file.
13145 * gdb.base/all-architectures-2.exp: New file.
13146 * gdb.base/all-architectures-3.exp: New file.
13147 * gdb.base/all-architectures-4.exp: New file.
13148 * gdb.base/all-architectures-5.exp: New file.
13149 * gdb.base/all-architectures-6.exp: New file.
13150 * gdb.base/all-architectures-7.exp: New file.
13151 * gdb.base/all-architectures.exp.in: New file.
13152
13153 2016-12-09 Yao Qi <yao.qi@linaro.org>
13154
13155 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13156
13157 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13158
13159 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13160 possible.
13161 Remove useless pattern-matching code.
13162
13163 2016-12-02 Pedro Alves <palves@redhat.com>
13164
13165 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13166 procedure.
13167 (top level): Call it.
13168
13169 2016-12-02 Pedro Alves <palves@redhat.com>
13170
13171 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13172 New procedure.
13173 (top level): Call it.
13174
13175 2016-12-02 Pedro Alves <palves@redhat.com>
13176
13177 PR cli/20559
13178 * gdb.base/commands.exp (user_defined_command_args_eval): New
13179 procedure.
13180 (top level): Call it.
13181
13182 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13183
13184 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13185 timeout handling.
13186
13187 2016-12-02 Tom Tromey <tom@tromey.com>
13188
13189 * gdb.dwarf2/main-subprogram.c: New file.
13190 * gdb.dwarf2/main-subprogram.exp: New file.
13191
13192 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13193
13194 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13195 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13196 gdb_test_no_output for a couple of cases.
13197 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13198
13199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13200
13201 Fix test names and standardize compilation error messages throughout
13202 the following files:
13203
13204 * gdb.ada/start.exp
13205 * gdb.arch/alpha-step.exp
13206 * gdb.arch/e500-prologue.exp
13207 * gdb.arch/ftrace-insn-reloc.exp
13208 * gdb.arch/gdb1291.exp
13209 * gdb.arch/gdb1431.exp
13210 * gdb.arch/gdb1558.exp
13211 * gdb.arch/i386-dr3-watch.exp
13212 * gdb.arch/i386-sse-stack-align.exp
13213 * gdb.arch/ia64-breakpoint-shadow.exp
13214 * gdb.arch/pa-nullify.exp
13215 * gdb.arch/powerpc-aix-prologue.exp
13216 * gdb.arch/thumb-bx-pc.exp
13217 * gdb.base/annota1.exp
13218 * gdb.base/annota3.exp
13219 * gdb.base/arrayidx.exp
13220 * gdb.base/assign.exp
13221 * gdb.base/attach.exp
13222 * gdb.base/auxv.exp
13223 * gdb.base/bang.exp
13224 * gdb.base/bfp-test.exp
13225 * gdb.base/bigcore.exp
13226 * gdb.base/bitfields2.exp
13227 * gdb.base/break-fun-addr.exp
13228 * gdb.base/break-probes.exp
13229 * gdb.base/call-rt-st.exp
13230 * gdb.base/callexit.exp
13231 * gdb.base/catch-fork-kill.exp
13232 * gdb.base/charset.exp
13233 * gdb.base/checkpoint.exp
13234 * gdb.base/comprdebug.exp
13235 * gdb.base/constvars.exp
13236 * gdb.base/coredump-filter.exp
13237 * gdb.base/cursal.exp
13238 * gdb.base/cvexpr.exp
13239 * gdb.base/detach.exp
13240 * gdb.base/display.exp
13241 * gdb.base/dmsym.exp
13242 * gdb.base/dprintf-pending.exp
13243 * gdb.base/dso2dso.exp
13244 * gdb.base/dtrace-probe.exp
13245 * gdb.base/dump.exp
13246 * gdb.base/enum_cond.exp
13247 * gdb.base/exe-lock.exp
13248 * gdb.base/exec-invalid-sysroot.exp
13249 * gdb.base/execl-update-breakpoints.exp
13250 * gdb.base/exprs.exp
13251 * gdb.base/fileio.exp
13252 * gdb.base/find.exp
13253 * gdb.base/finish.exp
13254 * gdb.base/fixsection.exp
13255 * gdb.base/foll-vfork.exp
13256 * gdb.base/frame-args.exp
13257 * gdb.base/gcore.exp
13258 * gdb.base/gdb1250.exp
13259 * gdb.base/global-var-nested-by-dso.exp
13260 * gdb.base/gnu-ifunc.exp
13261 * gdb.base/hashline1.exp
13262 * gdb.base/hashline2.exp
13263 * gdb.base/hashline3.exp
13264 * gdb.base/hbreak-in-shr-unsupported.exp
13265 * gdb.base/huge.exp
13266 * gdb.base/infcall-input.exp
13267 * gdb.base/info-fun.exp
13268 * gdb.base/info-shared.exp
13269 * gdb.base/jit-simple.exp
13270 * gdb.base/jit-so.exp
13271 * gdb.base/jit.exp
13272 * gdb.base/jump.exp
13273 * gdb.base/label.exp
13274 * gdb.base/lineinc.exp
13275 * gdb.base/logical.exp
13276 * gdb.base/longjmp.exp
13277 * gdb.base/macscp.exp
13278 * gdb.base/miscexprs.exp
13279 * gdb.base/new-ui-echo.exp
13280 * gdb.base/new-ui-pending-input.exp
13281 * gdb.base/new-ui.exp
13282 * gdb.base/nodebug.exp
13283 * gdb.base/nofield.exp
13284 * gdb.base/offsets.exp
13285 * gdb.base/overlays.exp
13286 * gdb.base/pending.exp
13287 * gdb.base/pointers.exp
13288 * gdb.base/pr11022.exp
13289 * gdb.base/printcmds.exp
13290 * gdb.base/prologue.exp
13291 * gdb.base/ptr-typedef.exp
13292 * gdb.base/realname-expand.exp
13293 * gdb.base/relativedebug.exp
13294 * gdb.base/relocate.exp
13295 * gdb.base/remote.exp
13296 * gdb.base/reread.exp
13297 * gdb.base/return2.exp
13298 * gdb.base/savedregs.exp
13299 * gdb.base/sep.exp
13300 * gdb.base/sepdebug.exp
13301 * gdb.base/sepsymtab.exp
13302 * gdb.base/set-inferior-tty.exp
13303 * gdb.base/setshow.exp
13304 * gdb.base/shlib-call.exp
13305 * gdb.base/sigaltstack.exp
13306 * gdb.base/siginfo-addr.exp
13307 * gdb.base/signals.exp
13308 * gdb.base/signull.exp
13309 * gdb.base/sigrepeat.exp
13310 * gdb.base/so-impl-ld.exp
13311 * gdb.base/solib-display.exp
13312 * gdb.base/solib-overlap.exp
13313 * gdb.base/solib-search.exp
13314 * gdb.base/solib-symbol.exp
13315 * gdb.base/structs.exp
13316 * gdb.base/structs2.exp
13317 * gdb.base/symtab-search-order.exp
13318 * gdb.base/twice.exp
13319 * gdb.base/unload.exp
13320 * gdb.base/varargs.exp
13321 * gdb.base/watchpoint-solib.exp
13322 * gdb.base/watchpoint.exp
13323 * gdb.base/whatis.exp
13324 * gdb.base/wrong_frame_bt_full.exp
13325 * gdb.btrace/dlopen.exp
13326 * gdb.cell/ea-standalone.exp
13327 * gdb.cell/ea-test.exp
13328 * gdb.cp/dispcxx.exp
13329 * gdb.cp/gdb2384.exp
13330 * gdb.cp/method2.exp
13331 * gdb.cp/nextoverthrow.exp
13332 * gdb.cp/pr10728.exp
13333 * gdb.disasm/am33.exp
13334 * gdb.disasm/h8300s.exp
13335 * gdb.disasm/mn10300.exp
13336 * gdb.disasm/sh3.exp
13337 * gdb.dwarf2/dw2-dir-file-name.exp
13338 * gdb.fortran/complex.exp
13339 * gdb.fortran/library-module.exp
13340 * gdb.guile/scm-pretty-print.exp
13341 * gdb.guile/scm-symbol.exp
13342 * gdb.guile/scm-type.exp
13343 * gdb.guile/scm-value.exp
13344 * gdb.linespec/linespec.exp
13345 * gdb.mi/gdb701.exp
13346 * gdb.mi/gdb792.exp
13347 * gdb.mi/mi-breakpoint-changed.exp
13348 * gdb.mi/mi-dprintf-pending.exp
13349 * gdb.mi/mi-dprintf.exp
13350 * gdb.mi/mi-exit-code.exp
13351 * gdb.mi/mi-pending.exp
13352 * gdb.mi/mi-solib.exp
13353 * gdb.mi/new-ui-mi-sync.exp
13354 * gdb.mi/pr11022.exp
13355 * gdb.mi/user-selected-context-sync.exp
13356 * gdb.opt/solib-intra-step.exp
13357 * gdb.python/py-events.exp
13358 * gdb.python/py-finish-breakpoint.exp
13359 * gdb.python/py-mi.exp
13360 * gdb.python/py-prettyprint.exp
13361 * gdb.python/py-shared.exp
13362 * gdb.python/py-symbol.exp
13363 * gdb.python/py-template.exp
13364 * gdb.python/py-type.exp
13365 * gdb.python/py-value.exp
13366 * gdb.reverse/solib-precsave.exp
13367 * gdb.reverse/solib-reverse.exp
13368 * gdb.server/solib-list.exp
13369 * gdb.stabs/weird.exp
13370 * gdb.threads/reconnect-signal.exp
13371 * gdb.threads/stepi-random-signal.exp
13372 * gdb.trace/actions.exp
13373 * gdb.trace/ax.exp
13374 * gdb.trace/backtrace.exp
13375 * gdb.trace/change-loc.exp
13376 * gdb.trace/deltrace.exp
13377 * gdb.trace/ftrace-lock.exp
13378 * gdb.trace/ftrace.exp
13379 * gdb.trace/infotrace.exp
13380 * gdb.trace/mi-tracepoint-changed.exp
13381 * gdb.trace/packetlen.exp
13382 * gdb.trace/passcount.exp
13383 * gdb.trace/pending.exp
13384 * gdb.trace/range-stepping.exp
13385 * gdb.trace/report.exp
13386 * gdb.trace/stap-trace.exp
13387 * gdb.trace/tfind.exp
13388 * gdb.trace/trace-break.exp
13389 * gdb.trace/trace-condition.exp
13390 * gdb.trace/trace-enable-disable.exp
13391 * gdb.trace/trace-mt.exp
13392 * gdb.trace/tracecmd.exp
13393 * gdb.trace/tspeed.exp
13394 * gdb.trace/tsv.exp
13395 * lib/perftest.exp
13396
13397 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13398
13399 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13400 with gdb_test_no_output.
13401 Use command as test name.
13402
13403 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13404
13405 Fix test names starting with uppercase throughout the files.
13406
13407 * gdb.ada/assign_1.exp
13408 * gdb.ada/boolean_expr.exp
13409 * gdb.base/arrayidx.exp
13410 * gdb.base/del.exp
13411 * gdb.base/gcore-buffer-overflow.exp
13412 * gdb.base/testenv.exp
13413 * gdb.compile/compile.exp
13414 * gdb.python/py-framefilter-invalidarg.exp
13415 * gdb.python/py-framefilter.exp
13416
13417 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13418
13419 Fix test names starting with uppercase throughout the files.
13420
13421 * gdb.ada/array_return.exp
13422 * gdb.ada/expr_delims.exp
13423 * gdb.ada/mi_dyn_arr.exp
13424 * gdb.ada/mi_interface.exp
13425 * gdb.ada/mi_var_array.exp
13426 * gdb.ada/watch_arg.exp
13427 * gdb.arch/alpha-step.exp
13428 * gdb.arch/altivec-regs.exp
13429 * gdb.arch/e500-regs.exp
13430 * gdb.arch/powerpc-d128-regs.exp
13431 * gdb.base/arrayidx.exp
13432 * gdb.base/break.exp
13433 * gdb.base/checkpoint.exp
13434 * gdb.base/debug-expr.exp
13435 * gdb.base/dmsym.exp
13436 * gdb.base/radix.exp
13437 * gdb.base/sepdebug.exp
13438 * gdb.base/testenv.exp
13439 * gdb.base/watch_thread_num.exp
13440 * gdb.base/watchpoint-cond-gone.exp
13441 * gdb.cell/break.exp
13442 * gdb.cell/ea-cache.exp
13443 * gdb.compile/compile.exp
13444 * gdb.cp/gdb2495.exp
13445 * gdb.gdb/selftest.exp
13446 * gdb.gdb/xfullpath.exp
13447 * gdb.go/hello.exp
13448 * gdb.go/integers.exp
13449 * gdb.objc/basicclass.exp
13450 * gdb.pascal/hello.exp
13451 * gdb.pascal/integers.exp
13452 * gdb.python/py-breakpoint.exp
13453 * gdb.python/py-cmd.exp
13454 * gdb.python/py-linetable.exp
13455 * gdb.python/py-xmethods.exp
13456 * gdb.python/python.exp
13457 * gdb.reverse/consecutive-precsave.exp
13458 * gdb.reverse/finish-precsave.exp
13459 * gdb.reverse/i386-precsave.exp
13460 * gdb.reverse/machinestate-precsave.exp
13461 * gdb.reverse/sigall-precsave.exp
13462 * gdb.reverse/solib-precsave.exp
13463 * gdb.reverse/step-precsave.exp
13464 * gdb.reverse/until-precsave.exp
13465 * gdb.reverse/watch-precsave.exp
13466 * gdb.threads/leader-exit.exp
13467 * gdb.threads/pthreads.exp
13468 * gdb.threads/wp-replication.exp
13469 * gdb.trace/actions.exp
13470 * gdb.trace/mi-tsv-changed.exp
13471 * gdb.trace/tsv.exp
13472
13473 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13474
13475 Fix test names starting with uppercase throughout the files.
13476
13477 * gdb.arch/i386-bp_permanent.exp
13478 * gdb.arch/i386-gnu-cfi.exp
13479 * gdb.base/disasm-end-cu.exp
13480 * gdb.base/macscp.exp
13481 * gdb.base/pending.exp
13482 * gdb.base/watch_thread_num.exp
13483 * gdb.cp/exception.exp
13484 * gdb.cp/gdb2495.exp
13485 * gdb.cp/local.exp
13486 * gdb.python/py-evsignal.exp
13487 * gdb.python/python.exp
13488 * gdb.trace/tracecmd.exp
13489
13490 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13491
13492 Fix test names starting with uppercase throughout the files.
13493
13494 * gdb.base/charset.exp
13495 * gdb.base/eval.exp
13496 * gdb.base/multi-forks.exp
13497 * gdb.guile/scm-progspace.exp
13498 * gdb.opencl/datatypes.exp
13499 * gdb.python/py-block.exp
13500 * gdb.python/py-function.exp
13501 * gdb.python/py-symbol.exp
13502 * gdb.python/py-symtab.exp
13503 * gdb.python/py-xmethods.exp
13504 * gdb.reverse/break-precsave.exp
13505 * gdb.reverse/break-reverse.exp
13506 * gdb.reverse/consecutive-precsave.exp
13507 * gdb.reverse/consecutive-reverse.exp
13508 * gdb.reverse/finish-precsave.exp
13509 * gdb.reverse/finish-reverse-bkpt.exp
13510 * gdb.reverse/finish-reverse.exp
13511 * gdb.reverse/fstatat-reverse.exp
13512 * gdb.reverse/getresuid-reverse.exp
13513 * gdb.reverse/i386-precsave.exp
13514 * gdb.reverse/i386-reverse.exp
13515 * gdb.reverse/i386-sse-reverse.exp
13516 * gdb.reverse/i387-stack-reverse.exp
13517 * gdb.reverse/insn-reverse.exp
13518 * gdb.reverse/machinestate-precsave.exp
13519 * gdb.reverse/machinestate.exp
13520 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13521 * gdb.reverse/pipe-reverse.exp
13522 * gdb.reverse/readv-reverse.exp
13523 * gdb.reverse/recvmsg-reverse.exp
13524 * gdb.reverse/rerun-prec.exp
13525 * gdb.reverse/s390-mvcle.exp
13526 * gdb.reverse/sigall-precsave.exp
13527 * gdb.reverse/sigall-reverse.exp
13528 * gdb.reverse/solib-precsave.exp
13529 * gdb.reverse/solib-reverse.exp
13530 * gdb.reverse/step-precsave.exp
13531 * gdb.reverse/step-reverse.exp
13532 * gdb.reverse/time-reverse.exp
13533 * gdb.reverse/until-precsave.exp
13534 * gdb.reverse/until-reverse.exp
13535 * gdb.reverse/waitpid-reverse.exp
13536 * gdb.reverse/watch-precsave.exp
13537 * gdb.reverse/watch-reverse.exp
13538
13539 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13540
13541 Fix test names starting with uppercase throughout the files.
13542
13543 * gdb.arch/i386-mpx-simple_segv.exp
13544 * gdb.arch/i386-mpx.exp
13545 * gdb.arch/i386-permbkpt.exp
13546 * gdb.arch/pa-nullify.exp
13547 * gdb.arch/powerpc-d128-regs.exp
13548 * gdb.arch/vsx-regs.exp
13549 * gdb.base/bfp-test.exp
13550 * gdb.base/break.exp
13551 * gdb.base/breakpoint-shadow.exp
13552 * gdb.base/callfuncs.exp
13553 * gdb.base/charset.exp
13554 * gdb.base/commands.exp
13555 * gdb.base/completion.exp
13556 * gdb.base/dfp-test.exp
13557 * gdb.base/echo.exp
13558 * gdb.base/ending-run.exp
13559 * gdb.base/eval.exp
13560 * gdb.base/expand-psymtabs.exp
13561 * gdb.base/float128.exp
13562 * gdb.base/floatn.exp
13563 * gdb.base/foll-exec-mode.exp
13564 * gdb.base/gdb1056.exp
13565 * gdb.base/gdb11531.exp
13566 * gdb.base/kill-after-signal.exp
13567 * gdb.base/multi-forks.exp
13568 * gdb.base/overlays.exp
13569 * gdb.base/pending.exp
13570 * gdb.base/sepdebug.exp
13571 * gdb.base/testenv.exp
13572 * gdb.base/valgrind-db-attach.exp
13573 * gdb.base/watch_thread_num.exp
13574 * gdb.base/watchpoint-cond-gone.exp
13575 * gdb.base/watchpoint.exp
13576 * gdb.base/watchpoints.exp
13577 * gdb.cp/arg-reference.exp
13578 * gdb.cp/baseenum.exp
13579 * gdb.cp/operator.exp
13580 * gdb.cp/shadow.exp
13581 * gdb.dwarf2/dw2-op-out-param.exp
13582 * gdb.dwarf2/dw2-reg-undefined.exp
13583 * gdb.go/chan.exp
13584 * gdb.go/hello.exp
13585 * gdb.go/integers.exp
13586 * gdb.go/methods.exp
13587 * gdb.go/package.exp
13588 * gdb.guile/scm-parameter.exp
13589 * gdb.guile/scm-progspace.exp
13590 * gdb.guile/scm-value.exp
13591 * gdb.mi/mi-pending.exp
13592 * gdb.mi/user-selected-context-sync.exp
13593 * gdb.multi/multi-attach.exp
13594 * gdb.multi/tids.exp
13595 * gdb.opt/clobbered-registers-O2.exp
13596 * gdb.pascal/floats.exp
13597 * gdb.pascal/integers.exp
13598 * gdb.python/py-block.exp
13599 * gdb.python/py-events.exp
13600 * gdb.python/py-parameter.exp
13601 * gdb.python/py-symbol.exp
13602 * gdb.python/py-symtab.exp
13603 * gdb.python/py-type.exp
13604 * gdb.python/py-value.exp
13605 * gdb.python/py-xmethods.exp
13606 * gdb.python/python.exp
13607 * gdb.reverse/break-precsave.exp
13608 * gdb.reverse/consecutive-precsave.exp
13609 * gdb.reverse/finish-precsave.exp
13610 * gdb.reverse/i386-precsave.exp
13611 * gdb.reverse/machinestate-precsave.exp
13612 * gdb.reverse/sigall-precsave.exp
13613 * gdb.reverse/solib-precsave.exp
13614 * gdb.reverse/step-precsave.exp
13615 * gdb.reverse/until-precsave.exp
13616 * gdb.reverse/watch-precsave.exp
13617 * gdb.server/ext-attach.exp
13618 * gdb.server/ext-restart.exp
13619 * gdb.server/ext-run.exp
13620 * gdb.server/ext-wrapper.exp
13621 * gdb.stabs/gdb11479.exp
13622 * gdb.stabs/weird.exp
13623 * gdb.threads/attach-many-short-lived-threads.exp
13624 * gdb.threads/kill.exp
13625 * gdb.threads/watchpoint-fork.exp
13626
13627 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13628
13629 Fix test names starting with uppercase throughout all the files below.
13630
13631 * gdb.ada/array_return.exp
13632 * gdb.ada/catch_ex.exp
13633 * gdb.ada/info_exc.exp
13634 * gdb.ada/mi_catch_ex.exp
13635 * gdb.ada/mi_dyn_arr.exp
13636 * gdb.ada/mi_ex_cond.exp
13637 * gdb.ada/mi_exc_info.exp
13638 * gdb.ada/mi_interface.exp
13639 * gdb.ada/mi_task_arg.exp
13640 * gdb.ada/mi_task_info.exp
13641 * gdb.ada/mi_var_array.exp
13642 * gdb.arch/alpha-step.exp
13643 * gdb.arch/amd64-disp-step.exp
13644 * gdb.arch/arm-disp-step.exp
13645 * gdb.arch/disp-step-insn-reloc.exp
13646 * gdb.arch/e500-prologue.exp
13647 * gdb.arch/ftrace-insn-reloc.exp
13648 * gdb.arch/gdb1558.exp
13649 * gdb.arch/i386-bp_permanent.exp
13650 * gdb.arch/i386-disp-step.exp
13651 * gdb.arch/i386-float.exp
13652 * gdb.arch/i386-gnu-cfi.exp
13653 * gdb.arch/ia64-breakpoint-shadow.exp
13654 * gdb.arch/mips16-thunks.exp
13655 * gdb.arch/pa-nullify.exp
13656 * gdb.arch/powerpc-aix-prologue.exp
13657 * gdb.arch/powerpc-power.exp
13658 * gdb.arch/ppc-dfp.exp
13659 * gdb.arch/s390-tdbregs.exp
13660 * gdb.arch/spu-info.exp
13661 * gdb.arch/spu-ls.exp
13662 * gdb.arch/thumb-bx-pc.exp
13663 * gdb.base/advance.exp
13664 * gdb.base/annota-input-while-running.exp
13665 * gdb.base/arrayidx.exp
13666 * gdb.base/asmlabel.exp
13667 * gdb.base/async.exp
13668 * gdb.base/attach-wait-input.exp
13669 * gdb.base/auto-connect-native-target.exp
13670 * gdb.base/batch-preserve-term-settings.exp
13671 * gdb.base/bfp-test.exp
13672 * gdb.base/bigcore.exp
13673 * gdb.base/bp-permanent.exp
13674 * gdb.base/break-always.exp
13675 * gdb.base/break-fun-addr.exp
13676 * gdb.base/break-idempotent.exp
13677 * gdb.base/break-main-file-remove-fail.exp
13678 * gdb.base/break-probes.exp
13679 * gdb.base/break-unload-file.exp
13680 * gdb.base/break.exp
13681 * gdb.base/call-ar-st.exp
13682 * gdb.base/call-rt-st.exp
13683 * gdb.base/call-sc.exp
13684 * gdb.base/call-signal-resume.exp
13685 * gdb.base/call-strs.exp
13686 * gdb.base/callexit.exp
13687 * gdb.base/callfuncs.exp
13688 * gdb.base/catch-gdb-caused-signals.exp
13689 * gdb.base/catch-signal-siginfo-cond.exp
13690 * gdb.base/catch-syscall.exp
13691 * gdb.base/compare-sections.exp
13692 * gdb.base/cond-eval-mode.exp
13693 * gdb.base/condbreak-call-false.exp
13694 * gdb.base/consecutive-step-over.exp
13695 * gdb.base/cursal.exp
13696 * gdb.base/disabled-location.exp
13697 * gdb.base/disasm-end-cu.exp
13698 * gdb.base/display.exp
13699 * gdb.base/double-prompt-target-event-error.exp
13700 * gdb.base/dprintf-bp-same-addr.exp
13701 * gdb.base/dprintf-detach.exp
13702 * gdb.base/dprintf-next.exp
13703 * gdb.base/dprintf-non-stop.exp
13704 * gdb.base/dprintf-pending.exp
13705 * gdb.base/dso2dso.exp
13706 * gdb.base/ending-run.exp
13707 * gdb.base/enum_cond.exp
13708 * gdb.base/examine-backward.exp
13709 * gdb.base/exe-lock.exp
13710 * gdb.base/exec-invalid-sysroot.exp
13711 * gdb.base/execl-update-breakpoints.exp
13712 * gdb.base/execution-termios.exp
13713 * gdb.base/fileio.exp
13714 * gdb.base/fixsection.exp
13715 * gdb.base/foll-exec-mode.exp
13716 * gdb.base/foll-exec.exp
13717 * gdb.base/fork-running-state.exp
13718 * gdb.base/frame-args.exp
13719 * gdb.base/fullpath-expand.exp
13720 * gdb.base/func-ptr.exp
13721 * gdb.base/gcore-relro-pie.exp
13722 * gdb.base/gdb1090.exp
13723 * gdb.base/gdb1555.exp
13724 * gdb.base/global-var-nested-by-dso.exp
13725 * gdb.base/gnu-ifunc.exp
13726 * gdb.base/hbreak-in-shr-unsupported.exp
13727 * gdb.base/hbreak-unmapped.exp
13728 * gdb.base/hook-stop.exp
13729 * gdb.base/infcall-input.exp
13730 * gdb.base/info-fun.exp
13731 * gdb.base/info-shared.exp
13732 * gdb.base/interrupt-noterm.exp
13733 * gdb.base/jit-so.exp
13734 * gdb.base/jit.exp
13735 * gdb.base/line-symtabs.exp
13736 * gdb.base/list.exp
13737 * gdb.base/longjmp.exp
13738 * gdb.base/macscp.exp
13739 * gdb.base/max-value-size.exp
13740 * gdb.base/nodebug.exp
13741 * gdb.base/nofield.exp
13742 * gdb.base/overlays.exp
13743 * gdb.base/paginate-after-ctrl-c-running.exp
13744 * gdb.base/paginate-bg-execution.exp
13745 * gdb.base/paginate-inferior-exit.exp
13746 * gdb.base/pending.exp
13747 * gdb.base/pr11022.exp
13748 * gdb.base/printcmds.exp
13749 * gdb.base/ptr-typedef.exp
13750 * gdb.base/ptype.exp
13751 * gdb.base/randomize.exp
13752 * gdb.base/range-stepping.exp
13753 * gdb.base/realname-expand.exp
13754 * gdb.base/relativedebug.exp
13755 * gdb.base/remote.exp
13756 * gdb.base/savedregs.exp
13757 * gdb.base/sepdebug.exp
13758 * gdb.base/set-noassign.exp
13759 * gdb.base/shlib-call.exp
13760 * gdb.base/shreloc.exp
13761 * gdb.base/sigaltstack.exp
13762 * gdb.base/sigbpt.exp
13763 * gdb.base/siginfo-addr.exp
13764 * gdb.base/siginfo-obj.exp
13765 * gdb.base/siginfo-thread.exp
13766 * gdb.base/signest.exp
13767 * gdb.base/signull.exp
13768 * gdb.base/sigrepeat.exp
13769 * gdb.base/skip.exp
13770 * gdb.base/so-impl-ld.exp
13771 * gdb.base/solib-corrupted.exp
13772 * gdb.base/solib-disc.exp
13773 * gdb.base/solib-display.exp
13774 * gdb.base/solib-overlap.exp
13775 * gdb.base/solib-search.exp
13776 * gdb.base/solib-symbol.exp
13777 * gdb.base/source-execution.exp
13778 * gdb.base/sss-bp-on-user-bp-2.exp
13779 * gdb.base/sss-bp-on-user-bp.exp
13780 * gdb.base/stack-checking.exp
13781 * gdb.base/stale-infcall.exp
13782 * gdb.base/step-break.exp
13783 * gdb.base/step-line.exp
13784 * gdb.base/step-over-exit.exp
13785 * gdb.base/step-test.exp
13786 * gdb.base/structs.exp
13787 * gdb.base/sym-file.exp
13788 * gdb.base/symtab-search-order.exp
13789 * gdb.base/term.exp
13790 * gdb.base/type-opaque.exp
13791 * gdb.base/unload.exp
13792 * gdb.base/until-nodebug.exp
13793 * gdb.base/until.exp
13794 * gdb.base/unwindonsignal.exp
13795 * gdb.base/watch-cond.exp
13796 * gdb.base/watch-non-mem.exp
13797 * gdb.base/watch_thread_num.exp
13798 * gdb.base/watchpoint-reuse-slot.exp
13799 * gdb.base/watchpoint-solib.exp
13800 * gdb.base/watchpoint.exp
13801 * gdb.btrace/dlopen.exp
13802 * gdb.cell/arch.exp
13803 * gdb.cell/break.exp
13804 * gdb.cell/bt.exp
13805 * gdb.cell/core.exp
13806 * gdb.cell/data.exp
13807 * gdb.cell/dwarfaddr.exp
13808 * gdb.cell/ea-cache.exp
13809 * gdb.cell/ea-standalone.exp
13810 * gdb.cell/ea-test.exp
13811 * gdb.cell/f-regs.exp
13812 * gdb.cell/fork.exp
13813 * gdb.cell/gcore.exp
13814 * gdb.cell/mem-access.exp
13815 * gdb.cell/ptype.exp
13816 * gdb.cell/registers.exp
13817 * gdb.cell/sizeof.exp
13818 * gdb.cell/solib-symbol.exp
13819 * gdb.cell/solib.exp
13820 * gdb.compile/compile-tls.exp
13821 * gdb.cp/exception.exp
13822 * gdb.cp/gdb2495.exp
13823 * gdb.cp/local.exp
13824 * gdb.cp/mb-inline.exp
13825 * gdb.cp/mb-templates.exp
13826 * gdb.cp/pr10687.exp
13827 * gdb.cp/pr9167.exp
13828 * gdb.cp/scope-err.exp
13829 * gdb.cp/templates.exp
13830 * gdb.cp/virtfunc.exp
13831 * gdb.dwarf2/dw2-dir-file-name.exp
13832 * gdb.dwarf2/dw2-single-line-discriminators.exp
13833 * gdb.fortran/complex.exp
13834 * gdb.fortran/library-module.exp
13835 * gdb.guile/guile.exp
13836 * gdb.guile/scm-cmd.exp
13837 * gdb.guile/scm-frame-inline.exp
13838 * gdb.guile/scm-objfile.exp
13839 * gdb.guile/scm-pretty-print.exp
13840 * gdb.guile/scm-symbol.exp
13841 * gdb.guile/scm-type.exp
13842 * gdb.guile/scm-value.exp
13843 * gdb.linespec/keywords.exp
13844 * gdb.linespec/ls-errs.exp
13845 * gdb.linespec/macro-relative.exp
13846 * gdb.linespec/thread.exp
13847 * gdb.mi/mi-breakpoint-changed.exp
13848 * gdb.mi/mi-dprintf-pending.exp
13849 * gdb.mi/mi-fullname-deleted.exp
13850 * gdb.mi/mi-logging.exp
13851 * gdb.mi/mi-pending.exp
13852 * gdb.mi/mi-solib.exp
13853 * gdb.mi/new-ui-mi-sync.exp
13854 * gdb.mi/user-selected-context-sync.exp
13855 * gdb.multi/dummy-frame-restore.exp
13856 * gdb.multi/multi-arch-exec.exp
13857 * gdb.multi/remove-inferiors.exp
13858 * gdb.multi/watchpoint-multi-exit.exp
13859 * gdb.opt/solib-intra-step.exp
13860 * gdb.perf/backtrace.exp
13861 * gdb.perf/single-step.exp
13862 * gdb.perf/skip-command.exp
13863 * gdb.perf/skip-prologue.exp
13864 * gdb.perf/solib.exp
13865 * gdb.python/lib-types.exp
13866 * gdb.python/py-as-string.exp
13867 * gdb.python/py-bad-printers.exp
13868 * gdb.python/py-block.exp
13869 * gdb.python/py-breakpoint.exp
13870 * gdb.python/py-cmd.exp
13871 * gdb.python/py-events.exp
13872 * gdb.python/py-evthreads.exp
13873 * gdb.python/py-finish-breakpoint.exp
13874 * gdb.python/py-finish-breakpoint2.exp
13875 * gdb.python/py-frame-inline.exp
13876 * gdb.python/py-frame.exp
13877 * gdb.python/py-inferior.exp
13878 * gdb.python/py-infthread.exp
13879 * gdb.python/py-mi.exp
13880 * gdb.python/py-objfile.exp
13881 * gdb.python/py-pp-maint.exp
13882 * gdb.python/py-pp-registration.exp
13883 * gdb.python/py-prettyprint.exp
13884 * gdb.python/py-recurse-unwind.exp
13885 * gdb.python/py-shared.exp
13886 * gdb.python/py-symbol.exp
13887 * gdb.python/py-symtab.exp
13888 * gdb.python/py-template.exp
13889 * gdb.python/py-type.exp
13890 * gdb.python/py-unwind-maint.exp
13891 * gdb.python/py-unwind.exp
13892 * gdb.python/py-value.exp
13893 * gdb.python/python.exp
13894 * gdb.reverse/finish-reverse-bkpt.exp
13895 * gdb.reverse/insn-reverse.exp
13896 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13897 * gdb.reverse/solib-precsave.exp
13898 * gdb.reverse/solib-reverse.exp
13899 * gdb.stabs/gdb11479.exp
13900 * gdb.stabs/weird.exp
13901 * gdb.threads/fork-child-threads.exp
13902 * gdb.threads/fork-plus-threads.exp
13903 * gdb.threads/fork-thread-pending.exp
13904 * gdb.threads/forking-threads-plus-breakpoint.exp
13905 * gdb.threads/hand-call-in-threads.exp
13906 * gdb.threads/interrupted-hand-call.exp
13907 * gdb.threads/linux-dp.exp
13908 * gdb.threads/local-watch-wrong-thread.exp
13909 * gdb.threads/next-while-other-thread-longjmps.exp
13910 * gdb.threads/non-ldr-exit.exp
13911 * gdb.threads/pending-step.exp
13912 * gdb.threads/print-threads.exp
13913 * gdb.threads/process-dies-while-detaching.exp
13914 * gdb.threads/process-dies-while-handling-bp.exp
13915 * gdb.threads/pthreads.exp
13916 * gdb.threads/queue-signal.exp
13917 * gdb.threads/reconnect-signal.exp
13918 * gdb.threads/signal-command-handle-nopass.exp
13919 * gdb.threads/signal-command-multiple-signals-pending.exp
13920 * gdb.threads/signal-delivered-right-thread.exp
13921 * gdb.threads/signal-sigtrap.exp
13922 * gdb.threads/sigthread.exp
13923 * gdb.threads/staticthreads.exp
13924 * gdb.threads/stepi-random-signal.exp
13925 * gdb.threads/thread-unwindonsignal.exp
13926 * gdb.threads/thread_check.exp
13927 * gdb.threads/thread_events.exp
13928 * gdb.threads/tid-reuse.exp
13929 * gdb.threads/tls-nodebug.exp
13930 * gdb.threads/tls-shared.exp
13931 * gdb.threads/tls-so_extern.exp
13932 * gdb.threads/tls.exp
13933 * gdb.threads/wp-replication.exp
13934 * gdb.trace/actions-changed.exp
13935 * gdb.trace/actions.exp
13936 * gdb.trace/backtrace.exp
13937 * gdb.trace/change-loc.exp
13938 * gdb.trace/collection.exp
13939 * gdb.trace/deltrace.exp
13940 * gdb.trace/disconnected-tracing.exp
13941 * gdb.trace/entry-values.exp
13942 * gdb.trace/ftrace-lock.exp
13943 * gdb.trace/ftrace.exp
13944 * gdb.trace/infotrace.exp
13945 * gdb.trace/mi-trace-frame-collected.exp
13946 * gdb.trace/mi-trace-unavailable.exp
13947 * gdb.trace/mi-traceframe-changed.exp
13948 * gdb.trace/mi-tracepoint-changed.exp
13949 * gdb.trace/mi-tsv-changed.exp
13950 * gdb.trace/no-attach-trace.exp
13951 * gdb.trace/packetlen.exp
13952 * gdb.trace/passc-dyn.exp
13953 * gdb.trace/passcount.exp
13954 * gdb.trace/pending.exp
13955 * gdb.trace/pr16508.exp
13956 * gdb.trace/qtro.exp
13957 * gdb.trace/range-stepping.exp
13958 * gdb.trace/read-memory.exp
13959 * gdb.trace/report.exp
13960 * gdb.trace/save-trace.exp
13961 * gdb.trace/signal.exp
13962 * gdb.trace/stap-trace.exp
13963 * gdb.trace/status-stop.exp
13964 * gdb.trace/strace.exp
13965 * gdb.trace/tfile.exp
13966 * gdb.trace/tfind.exp
13967 * gdb.trace/trace-break.exp
13968 * gdb.trace/trace-condition.exp
13969 * gdb.trace/trace-enable-disable.exp
13970 * gdb.trace/trace-mt.exp
13971 * gdb.trace/tracecmd.exp
13972 * gdb.trace/tracefile-pseudo-reg.exp
13973 * gdb.trace/tspeed.exp
13974 * gdb.trace/tstatus.exp
13975 * gdb.trace/tsv.exp
13976 * gdb.trace/unavailable.exp
13977 * gdb.trace/while-dyn.exp
13978 * gdb.trace/while-stepping.exp
13979 * lib/gdb-guile.exp
13980 * lib/gdb.exp
13981 * lib/mi-support.exp
13982 * lib/pascal.exp
13983 * lib/perftest.exp
13984 * lib/prelink-support.exp
13985 * lib/selftest-support.exp
13986
13987 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13988
13989 * Makefile.in: Include disable-implicit-rules.mk.
13990
13991 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13992
13993 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13994 non-byte-aligned bit fields.
13995
13996 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13997
13998 PR gdb/12616
13999 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14000 respects the DW_AT_data_bit_offset attribute.
14001
14002 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14003
14004 * gdb.base/default.exp: Fix output of "set language".
14005
14006 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14007
14008 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14009 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14010 make.
14011 * configure.ac: Remove checks for the make program.
14012 * configure: Re-generate.
14013
14014 2016-11-16 Kevin Buettner <kevinb@redhat.com>
14015
14016 * gdb.python/py-recurse-unwind.c (main): Add loop.
14017 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14018 to read_register() and gdb.parse_and_eval(). Make each code
14019 call a separate case that can be individually tested.
14020 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14021 proc. Call cont_and_backtrace for each of the code paths that
14022 we want to test in the unwinder.
14023
14024 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14025
14026 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14027 the definition of struct S.
14028
14029 2016-11-11 Catherine Moore <clm@codesourcery.com>
14030
14031 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14032
14033 2016-11-09 Pedro Alves <palves@redhat.com>
14034
14035 * gdb.base/commands.exp (runto_or_return): New procedure.
14036 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14037 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14038 (progvar_simple_while_test, progvar_complex_if_while_test)
14039 (if_while_breakpoint_command_test)
14040 (infrun_breakpoint_command_test, breakpoint_command_test)
14041 (user_defined_command_test, watchpoint_command_test)
14042 (test_command_prompt_position, redefine_hook_test)
14043 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14044 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14045 multi_line_input and multi_line. Remove gdb_expect and
14046 gdb_stop_suppressing_tests uses.
14047 * lib/gdb.exp (valnum_re): New global.
14048 (multi_line_input): New procedure.
14049
14050 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14051
14052 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14053 Remove.
14054 (test_setup): Define with proc_with_prefix.
14055 (test_cli_inferior): Likewise.
14056 (test_cli_thread): Likewise.
14057 (test_cli_frame): Likewise.
14058 (test_cli_select_frame): Likewise.
14059 (test_cli_up_down): Likewise.
14060 (test_mi_thread_select): Likewise.
14061 (test_mi_stack_select_frame): Likewise.
14062 (test_cli_in_mi_inferior): Likewise.
14063 (test_cli_in_mi_thread): Likewise.
14064 (test_cli_in_mi_frame): Likewise.
14065 (top level): Do not use with_test_prefix_procname.
14066
14067 2016-11-09 Pedro Alves <palves@redhat.com>
14068
14069 * gdb.base/commands.exp (gdbvar_simple_if_test)
14070 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14071 (progvar_simple_if_test, progvar_simple_while_test)
14072 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14073 (infrun_breakpoint_command_test, breakpoint_command_test)
14074 (user_defined_command_test, watchpoint_command_test)
14075 (test_command_prompt_position, deprecated_command_test)
14076 (bp_deleted_in_command, temporary_breakpoint_commands)
14077 (stray_arg0_test, source_file_with_indented_comment)
14078 (recursive_source_test, if_commands_test)
14079 (error_clears_commands_left, redefine_hook_test)
14080 (redefine_backtrace_test): Use proc_with_prefix.
14081 * lib/gdb.exp (proc_with_prefix): New proc.
14082
14083 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14084
14085 * gdb.base/tui-layout.c: New file.
14086 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14087 disassembly window contains very long lines.
14088
14089 2016-11-08 Tom Tromey <tom@tromey.com>
14090
14091 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14092 depend on Python 2.
14093
14094 2016-11-08 Tom Tromey <tom@tromey.com>
14095
14096 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14097 New method.
14098
14099 2016-10-29 Manish Goregaokar <manish@mozilla.com>
14100
14101 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
14102
14103 2016-10-27 Manish Goregaokar <manish@mozilla.com>
14104
14105 * gdb.rust/simple.rs: Add test for univariant enums without
14106 discriminants and for encoded struct-like enums.
14107
14108 2016-10-28 Pedro Alves <palves@redhat.com>
14109
14110 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14111 gdb_test_multiple, tighten regexps and match symtabs and line
14112 tables incrementally.
14113
14114 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
14115
14116 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14117 general.
14118
14119 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
14120
14121 * gdb.base/exec-invalid-sysroot.exp: New file.
14122
14123 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14124
14125 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14126
14127 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14128
14129 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14130
14131 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14132
14133 * gdb.base/killed-outside.exp: Remove $options from a call to
14134 `prepare_for_testing'.
14135
14136 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14137
14138 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14139 Change test message.
14140
14141 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14142
14143 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14144 Update comment.
14145
14146 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14147
14148 * gdb.trace/mi-trace-save.exp: New file.
14149
14150 2016-10-13 Yao Qi <yao.qi@linaro.org>
14151
14152 * gdb.base/code_elim.exp (get_var_address): Remove.
14153 * gdb.base/relocate.exp: Likewise.
14154 * gdb.base/shreloc.exp: Likewise.
14155 * lib/gdb.exp (get_var_address): New.
14156
14157 2016-10-13 Yao Qi <yao.qi@linaro.org>
14158
14159 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14160 floating point tests if $skip_float_test is false.
14161
14162 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
14163
14164 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14165 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14166 argc values.
14167 Add 1 to argc so we guarantee distinct initial/modified argc values.
14168
14169 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14170
14171 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14172
14173 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14174
14175 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14176 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14177 * gdb.arch/vsx-regs.exp: Likewise.
14178
14179 2016-10-07 Yao Qi <yao.qi@linaro.org>
14180
14181 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14182
14183 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14184
14185 * gdb.python/python.exp: Test decode_line("*0").
14186
14187 2016-10-06 Doug Evans <dje@google.com>
14188
14189 * gdb.python/py-value.exp (test_value_creation): Add test for large
14190 unsigned 64-bit value.
14191
14192 2016-10-06 Tom Tromey <tom@tromey.com>
14193
14194 * gdb.compile/compile.exp: Change java tests to rust.
14195 * gdb.base/setshow.exp: Change java tests to rust.
14196 * gdb.base/default.exp: Remove java from language list.
14197 * README (Examples): Update language example.
14198 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14199 test.
14200 * lib/gdb.exp (skip_java_tests): Remove.
14201 * lib/java.exp: Remove.
14202 * gdb.java: Remove.
14203
14204 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14205
14206 * gdb.arch/mips-fcr.exp: New test.
14207 * gdb.arch/mips-fcr.c: Source for the new test.
14208
14209 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14210
14211 * gdb.base/solib-disc.exp: Use `standard_output_file'
14212 throughout.
14213
14214 2016-10-06 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.base/jit-simple-dl.c: New file.
14217 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14218 * gdb.base/jit-simple.c: ... this.
14219 * gdb.base/jit-simple.exp (jit_run): Delete.
14220 (build_jit): New proc.
14221 (jit_test_reread): Recompile either the main program or the shared
14222 library, depending on what is being tested. Skip changing address
14223 if caller wants to. Compare before/after addresses. If testing
14224 standalone, explicitly load the binary. Test "maint info
14225 breakpoints".
14226 (top level): Add "standalone vs shared lib" and "change address"
14227 vs "same address" axes.
14228
14229 2016-10-06 Pedro Alves <palves@redhat.com>
14230
14231 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14232 call.
14233 (jit_run): Delete.
14234 (jit_test_reread): Use with_test_prefix. Reload the main binary
14235 explicitly. Compare the before/after addresses of the JIT
14236 descriptor.
14237
14238 2016-08-15 Doug Evans <dje@google.com>
14239
14240 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14241 for single bitfields is bool.
14242 * gdb.xml/tdesc-regs.exp: Ditto.
14243
14244 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14245
14246 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14247
14248 2016-10-05 Yao Qi <yao.qi@linaro.org>
14249
14250 * lib/gdb.exp (support_complex_tests): Return zero if
14251 gdb_skip_float_test return true.
14252
14253 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14254 Simon Marchi <simon.marchi@ericsson.com>
14255
14256 PR gdb/20487
14257 * gdb.mi/user-selected-context-sync.exp: New file.
14258 * gdb.mi/user-selected-context-sync.c: New file.
14259
14260 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14261 Simon Marchi <simon.marchi@ericsson.com>
14262
14263 PR gdb/20487
14264 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14265 =thread-select-event check.
14266
14267 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14268
14269 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14270 the compulsory L operand changes.
14271 * gdb.arch/powerpc-power.s: Likewise.
14272
14273 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14274
14275 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14276 * gdb.base/jit-attach-pie.c: New file.
14277 * gdb.base/jit-attach-pie.exp: New file.
14278
14279 2016-09-28 Pedro Alves <palves@redhat.com>
14280
14281 * gdb.base/infcall-input.c: New file.
14282 * gdb.base/infcall-input.exp: New file.
14283
14284 2016-09-22 Yao Qi <yao.qi@linaro.org>
14285
14286 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14287 (gdb_exit): Rename it to ...
14288 (gdbserver_gdb_exit): ... Close GDBserver.
14289 (gdb_exit): New proc, call gdbserver_gdb_exit.
14290 (mi_gdb_exit): Likewise.
14291
14292 2016-09-22 Yao Qi <yao.qi@linaro.org>
14293
14294 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14295 path.
14296 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14297 Remove duplication.
14298
14299 2016-09-22 Yao Qi <yao.qi@linaro.org>
14300
14301 * lib/gdbserver-support.exp: Check the existence of
14302 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14303
14304 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14305
14306 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14307
14308 2016-09-21 Tom Tromey <tom@tromey.com>
14309
14310 PR gdb/20604:
14311 * gdb.base/quit.exp: New file.
14312
14313 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14314
14315 * .gitignore: New file.
14316
14317 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14318
14319 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14320 throughout.
14321
14322 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14323
14324 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14325
14326 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14327
14328 * gdb.cp/casts.cc (decltype): Move it ...
14329 (main): ... with its call to ...
14330 * gdb.cp/casts03.cc: ... a new file.
14331 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14332
14333 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14334
14335 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14336
14337 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14338
14339 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14340 and sync up the test with tests in gas/testsuite/gas/ppc.
14341 * gdb.arch/powerpc-power.exp: Likewise.
14342
14343 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14344
14345 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14346
14347 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14348 Jan Kratochvil <jan.kratochvil@redhat.com>
14349
14350 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14351 make m1's definition to be different from m2's. Use 'dummy' as an
14352 argument for probe 'two'.
14353
14354 2016-09-10 Jon Beniston <jon@beniston.com>
14355
14356 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14357 for sim target.
14358
14359 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14360
14361 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14362 variable declaration.
14363 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14364 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14365 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14366 received HWCAP as its argument.
14367
14368 2016-09-06 Pedro Alves <palves@redhat.com>
14369
14370 * gdb.base/new-ui-pending-input.c: New file.
14371 * gdb.base/new-ui-pending-input.exp: New file.
14372 * gdb.exp (clear_gdb_spawn_id): New procedure.
14373 (with_spawn_id): Check whether gdb_spawn_id exists before
14374 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14375 on exit.
14376
14377 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14378
14379 * gdb.base/float128.c: New file.
14380 * gdb.base/float128.exp: Likewise.
14381 * gdb.base/floatn.c: Likewise.
14382 * gdb.base/floatn.exp: Likewise.
14383
14384 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14385
14386 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14387
14388 2016-09-05 Pedro Alves <palves@redhat.com>
14389
14390 PR backtrace/19927
14391 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14392 unwinders are immediately called as side effect of "source" or
14393 "disable unwinder" commands.
14394 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14395
14396 2016-09-02 Yao Qi <yao.qi@linaro.org>
14397
14398 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14399 is true and $type is "float" or "double".
14400
14401 2016-09-02 Yao Qi <yao.qi@linaro.org>
14402
14403 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14404 true.
14405 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14406 * gdb.base/call-rt-st.exp: Likewise.
14407 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14408 return value instead of gdb,skip_float_test.
14409 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14410 (do_function_calls): Use its return value instead of
14411 gdb,skip_float_test.
14412 * gdb.base/finish.exp: Likewise.
14413 * gdb.base/funcargs.exp: Likewise.
14414 * gdb.base/return.exp: Likewise.
14415 * gdb.base/return2.exp: Likewise.
14416 * gdb.base/varargs.exp: Likewise.
14417 * lib/gdb.exp (gdb_skip_float_test): Change it to
14418 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14419
14420 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14421
14422 * gdb.multi/tids.exp: Test "thread apply all".
14423
14424 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14425
14426 * gdb.base/default.exp (tty): Remove.
14427
14428 2016-08-24 Kevin Buettner <kevinb@redhat.com>
14429
14430 * gdb.python/py-recurse-unwind.c: New file.
14431 * gdb.python/py-recurse-unwind.py: New file.
14432 * gdb.python/py-recurse-unwind.exp: New file.
14433
14434 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14435
14436 * gdb.base/set-inferior-tty.exp: New file.
14437 * gdb.base/set-inferior-tty.c: New file.
14438
14439 2016-08-23 Pedro Alves <palves@redhat.com>
14440
14441 PR gdb/20494
14442 * gdb.base/new-ui-echo.c: New file.
14443 * gdb.base/new-ui-echo.exp: New file.
14444
14445 2016-08-23 Yao Qi <yao.qi@linaro.org>
14446
14447 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14448 gdbserver_spawn.
14449 * gdb.server/connect-without-multi-process.exp (do_test):
14450 Likewise.
14451
14452 2016-08-23 Yao Qi <yao.qi@linaro.org>
14453
14454 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14455 standalone_txt. Delete gdb_txt and standalone_txt on host
14456 and target. Spawn the binary on target. Copy files from
14457 target to host.
14458
14459 2016-08-22 Pedro Alves <palves@redhat.com>
14460
14461 PR gdb/20505
14462 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14463 with_test_prefix. Factor out bits to ...
14464 (test_no_vdso): ... this new procedure.
14465
14466 2016-08-19 Carl Love <cel@us.ibm.com>
14467
14468 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14469 maintaining separate logic for constructing the output path.
14470 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14471 * gdb.arch/ppc-dfp.exp: Likewise.
14472 * gdb.arch/ppc-fp.exp: Likewise.
14473 * gdb.arch/vsx-regs.exp: Likewise.
14474 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14475 binprefix for generating the additional binary files.
14476
14477 2016-08-19 Pedro Alves <palves@redhat.com>
14478
14479 * gdb.trace/mi-trace-frame-collected.exp
14480 (test_trace_frame_collected): On x32, expect two registers.
14481
14482 2016-08-18 Carl Love <cel@us.ibm.com>
14483
14484 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14485 and sync up the test with tests in gas/testsuite/gas/ppc.
14486 * gdb.arch/powerpc-power.exp: Likewise.
14487
14488 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14489
14490 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14491 expected error message.
14492
14493 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14494
14495 * gdb.multi/remove-inferiors.exp: New file.
14496 * gdb.multi/remove-inferiors.c: New file.
14497
14498 2016-08-12 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14501 argument list.
14502
14503 2016-08-10 Pedro Alves <palves@redhat.com>
14504
14505 PR gdb/19187
14506 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14507 setup_kfails.
14508
14509 2016-08-09 Pedro Alves <palves@redhat.com>
14510 Simon Marchi <simon.marchi@ericsson.com>
14511
14512 PR gdb/20418
14513 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14514 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14515
14516 2016-08-09 Pedro Alves <palves@redhat.com>
14517
14518 PR mi/20431
14519 * gdb.mi/mi-cmd-error.exp: New file.
14520
14521 2016-08-09 Pedro Alves <palves@redhat.com>
14522
14523 PR gdb/18653
14524 * gdb.base/signals-state-child.c: New file.
14525 * gdb.base/signals-state-child.exp: New file.
14526 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14527
14528 2016-08-09 Pedro Alves <palves@redhat.com>
14529
14530 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14531
14532 2016-08-03 Tom Tromey <tom@tromey.com>
14533
14534 PR python/18565:
14535 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14536
14537 2016-08-01 Yao Qi <yao.qi@linaro.org>
14538
14539 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14540 variable mode to "multi-process" if $multi_process is 1, otherwise
14541 set it to "single-process".
14542
14543 2016-08-01 Yao Qi <yao.qi@linaro.org>
14544
14545 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14546 * gdb.cp/cpexprs.exp: Likewise.
14547 * gdb.cp/m-static.exp: Likewise.
14548
14549 2016-07-26 Tom Tromey <tom@tromey.com>
14550
14551 PR python/20190:
14552 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14553 test.
14554
14555 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14556
14557 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14558 selecting assembly source files.
14559 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14560 assembly source files.
14561 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14562 assembly source files.
14563 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14564 selecting assembly source files.
14565
14566 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14567
14568 * gdb.base/new-ui.exp (do_test_invalid_args): New
14569 procedure.
14570
14571 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14572
14573 * gdb.btrace/reconnect.c: New file.
14574 * gdb.btrace/reconnect.exp: New file.
14575
14576 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14577
14578 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14579 to test_catch_syscall_group.
14580 (test_catch_syscall_group): New.
14581
14582 2016-07-21 Tom Tromey <tom@tromey.com>
14583
14584 * gdb.rust/simple.rs (main): Use empty struct expression.
14585 * gdb.rust/simple.exp: Add tests for empty struct expression.
14586
14587 2016-07-21 Yao Qi <yao.qi@linaro.org>
14588
14589 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14590 if gdb_skip_xml_test is true on some targets.
14591
14592 2016-07-21 Yao Qi <yao.qi@linaro.org>
14593
14594 * gdb.server/solib-list.exp: Unset last_loaded_file.
14595
14596 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14597
14598 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14599 "step into captured_main (args)".
14600
14601 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14602
14603 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14604
14605 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14606
14607 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14608
14609 2016-07-19 Pedro Alves <palves@redhat.com>
14610
14611 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14612 * gdb.opt/inline-bt.exp: Likewise.
14613 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14614 additional_flags=-Winline.
14615 * gdb.opt/inline-locals.exp: Likewise.
14616 * gdb.opt/inline-markers.c (ATTR): Define.
14617 (inlined_fn): Use it.
14618
14619 2016-07-19 Yao Qi <yao.qi@linaro.org>
14620
14621 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14622 (test_with_self): Remove some code. Remove argument executable.
14623 (top-level): Use do_self_tests.
14624
14625 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
14626 Don Breazeal <donb@codesourcery.com>
14627
14628 * gdb.base/maint.exp: Escape paths used in regular expressions.
14629 * gdb.stabs/weird.exp: Likewise.
14630
14631 2016-07-13 Tom Tromey <tom@tromey.com>
14632
14633 PR python/15620, PR python/18620:
14634 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14635 (test_bkpt_events): New procs.
14636
14637 2016-07-13 Tom Tromey <tom@tromey.com>
14638
14639 PR python/17698:
14640 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14641 test.
14642 (test_watchpoints): Likewise.
14643 (test_bkpt_pending): New proc.
14644
14645 2016-07-13 Tom Tromey <tom@tromey.com>
14646
14647 PR cli/18053:
14648 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14649 completion test.
14650
14651 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14652
14653 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14654 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14655 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14656 f_label.
14657 (g): Rename g_end_lbl to g_label.
14658 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14659 low_pc and high_pc.
14660 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14661
14662 2016-07-12 Tom Tromey <tom@tromey.com>
14663
14664 PR python/19293:
14665 * gdb.python/py-unwind-maint.exp: Update tests.
14666
14667 2016-07-12 Yao Qi <yao.qi@linaro.org>
14668
14669 * lib/selftest-support.exp (selftest_setup): Match the output
14670 when captured_main is inlined.
14671
14672 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14673
14674 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14675 New variables.
14676 (print this%a, print this%b, print this): New tests.
14677 * gdb.fortran/derived-types.f90 (this): New object and
14678 initialization.
14679
14680 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14681
14682 * gdb.ada/arraydim.exp: Remove extra directory level in build
14683 directory.
14684
14685 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14686
14687 * lib/ada.exp: Remove extra directory level in build directory.
14688 * gdb.ada/cond_lang.exp: Likewise.
14689 * gdb.ada/exec_changed.exp: Likewise.
14690 * gdb.ada/lang_switch.exp: Likewise.
14691
14692 2016-07-06 Manish Goregaokar <manish@mozilla.com>
14693
14694 * simple.rs: Add test for raw pointer subscripting.
14695 * simple.exp: Add test expectations.
14696
14697 2016-07-05 Yao Qi <yao.qi@linaro.org>
14698
14699 * gdb.mi/mi-reverse.exp: Match =record-started output.
14700
14701 2016-07-01 Pedro Alves <palves@redhat.com>
14702
14703 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14704 procedure.
14705 (jit_reader_test): Test the jit reader's unwinder.
14706 * gdb.base/jithost.c (jit_function_00_code): New global.
14707 (main): Use memcpy to fill in the mmapped code, instead of poking
14708 bytes manually here.
14709 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14710 value.
14711 (read_debug_info): Save the function's range.
14712 (read_sp): New function.
14713 (unwind_frame): Use it. Also unwind RBP.
14714 (get_frame_id): Use read_sp.
14715 (gdb_init_reader): Use calloc instead of malloc.
14716 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14717 parameter. Use gdb_test_multiple.
14718
14719 2016-07-01 Pedro Alves <palves@redhat.com>
14720 Antoine Tremblay <antoine.tremblay@ericsson.com>
14721
14722 * gdb.threads/process-dies-while-detaching.c: New file.
14723 * gdb.threads/process-dies-while-detaching.exp: New file.
14724
14725 2016-07-01 Pedro Alves <palves@redhat.com>
14726
14727 * gdb.multi/watchpoint-multi-exit.c: New file.
14728 * gdb.multi/watchpoint-multi-exit.exp: New file.
14729
14730 2016-06-30 Pedro Alves <palves@redhat.com>
14731
14732 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14733 unset inferior_spawn_id.
14734
14735 2016-06-30 Pedro Alves <palves@redhat.com>
14736
14737 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14738 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14739
14740 2016-06-29 Yao Qi <yao.qi@linaro.org>
14741
14742 * gdb.base/return.c: Add copyright header.
14743
14744 2016-06-29 Tom Tromey <tom@tromey.com>
14745
14746 PR python/20129:
14747 * gdb.python/py-framefilter.exp: Add tests for setting priority
14748 and disabling of non-existent frame filter.
14749
14750 2016-06-29 Yao Qi <yao.qi@linaro.org>
14751
14752 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14753 0x0f07ff.
14754
14755 2016-06-28 Yao Qi <yao.qi@linaro.org>
14756
14757 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14758 triplets. Start gdb, execute catch syscall, and continue. Check
14759 gdb's output to determine catch syscall is supported.
14760
14761 2016-06-27 Manish Goregaokar <manish@mozilla.com>
14762
14763 * gdb.rust/simple.rs: Add test for returning unit in a function.
14764 * gdb.rust/simple.exp: Add expectation for functions returning
14765 unit.
14766
14767 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14768
14769 * gdb.python/py-breakpoint-create-fail.c,
14770 gdb.python/py-breakpoint-create-fail.exp,
14771 gdb.python/py-breakpoint-create-fail.py: New testcase.
14772
14773 2016-06-25 Manish Goregaokar <manish@mozilla.com>
14774
14775 PR gdb/20239
14776 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
14777 * gdb.rust/simple.exp: Add test expectations for new NonZero
14778 tests.
14779
14780 2016-06-24 David Taylor <dtaylor@emc.com>
14781
14782 * gdb.base/offsets.exp: New file.
14783 * gdb.base/offsets.c: New file.
14784
14785 2016-06-23 Tom Tromey <tom@tromey.com>
14786
14787 PR gdb/16483:
14788 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14789 before any filters are loaded.
14790
14791 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14792
14793 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14794 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14795 structs.
14796 * gdb.fortran/derived-type-function.exp: New file.
14797 * gdb.fortran/derived-type-function.f90: New file.
14798
14799
14800 2016-06-21 Pedro Alves <palves@redhat.com>
14801
14802 * gdb.base/new-ui.exp: New file.
14803 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14804 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14805 (with_spawn_id): New procedure.
14806
14807 2016-06-21 Pedro Alves <palves@redhat.com>
14808
14809 * gdb.mi/mi-exec-run.exp: New file.
14810
14811 2016-06-21 Pedro Alves <palves@redhat.com>
14812
14813 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14814 breakpoint command's output on the main UI.
14815 (test_break): New procedure, factored out from calls in the top
14816 level.
14817 (top level): Use foreach_with_prefix to test MI as main UI and as
14818 separate UI.
14819
14820 2016-06-21 Pedro Alves <palves@redhat.com>
14821
14822 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14823 (test_awatch_creation_and_listing)
14824 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14825 Remove 'type' parameter.
14826 (test_watchpoint_all): New parameter mi_mode. Remove
14827 with_test_prefix.
14828 (top level): Use foreach_with_prefix, and add main/separate UI MI
14829 testing axis.
14830
14831 2016-06-21 Pedro Alves <palves@redhat.com>
14832
14833 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14834 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14835 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14836 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14837 (gdb_main_spawn_id, mi_spawn_id): Declare and
14838 comment.
14839 (mi_create_inferior_pty): New procedure,
14840 factored out from default_mi_gdb_start.
14841 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14842 procedures.
14843 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14844 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14845 Use mi_create_inferior_pty.
14846 (mi_gdb_start): Use eval to pass down args list.
14847
14848 2016-06-21 Pedro Alves <palves@redhat.com>
14849
14850 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14851 * gdb.opt/inline-cmds.exp: Add MI tests.
14852
14853 2016-06-21 Pedro Alves <palves@redhat.com>
14854
14855 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14856
14857 2016-06-21 Pedro Alves <palves@redhat.com>
14858
14859 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14860 (top level): Use it instead of mi_execute_to.
14861
14862 2016-06-21 Pedro Alves <palves@redhat.com>
14863
14864 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14865 (cont_handler_str): New.
14866 (signal_stop_handler): Set stop_handler_str instead of printing to
14867 stdout.
14868 (continue_handler): Set cont_handler_str instead of printing to
14869 stdout.
14870 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14871 mi_send_resuming_command. Print stop_handler_str and
14872 cont_handler_str instead of expecting the python events print
14873 directly.
14874
14875 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14876
14877 * gdb.base/jit-reader.exp: New file.
14878 * gdb.base/jithost.c: New file.
14879 * gdb.base/jithost.h: New file.
14880 * gdb.base/jitreader.c : New file.
14881 * gdb.base/jit-protocol.h: New file.
14882
14883 2016-06-17 Yao Qi <yao.qi@linaro.org>
14884
14885 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14886 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14887 and detach-on-fork. Adjust tests.
14888 (top level): Invoke break_cond_on_syscall with combinations of
14889 syscall, follow-fork-mode and detach-on-fork.
14890
14891 2016-06-17 Yao Qi <yao.qi@linaro.org>
14892
14893 * gdb.base/step-over-exit.c: New.
14894 * gdb.base/step-over-exit.exp: New.
14895
14896 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14897
14898 * gdb.base/float.exp: Add target check for nds32*-*-*.
14899 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14900
14901 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14902
14903 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14904 for unsupported target features.
14905 * gdb.base/call-rt-st.exp: Likewise.
14906 * gdb.base/call-sc.exp: Likewise.
14907 * gdb.base/call-signal-resume.exp: Likewise.
14908 * gdb.base/call-strs.exp: Likewise.
14909 * gdb.base/callexit.exp: Likewise.
14910 * gdb.base/callfuncs.exp: Likewise.
14911 * gdb.base/nodebug.exp: Likewise.
14912 * gdb.base/printcmds.exp: Likewise.
14913 * gdb.base/ptype.exp: Likewise.
14914 * gdb.base/structs.exp: Likewise.
14915 * gdb.base/unwindonsignal.exp: Likewise.
14916 * gdb.cp/gdb2495.exp: Likewise.
14917 * gdb.cp/templates.exp: Likewise.
14918 * gdb.cp/virtfunc.exp: Likewise.
14919 * gdb.threads/hand-call-in-threads.exp: Likewise.
14920 * gdb.threads/interrupted-hand-call.exp: Likewise.
14921 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14922
14923 2016-06-10 Tom Tromey <tom@tromey.com>
14924
14925 PR rust/20110:
14926 * gdb.rust/expr.exp: Add test for integer constant larger than
14927 i32.
14928
14929 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14930
14931 * gdb.fortran/nested-funcs.exp: New.
14932 * gdb.fortran/nested-funcs.f90: New.
14933
14934 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14935
14936 * gdb.base/examine-backward.c: New file.
14937 * gdb.base/examine-backward.exp: New file.
14938
14939 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14940
14941 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14942 matching.
14943
14944 2016-06-02 Tom Tromey <tom@tromey.com>
14945
14946 PR python/18984:
14947 * gdb.python/py-shared.exp: Add solib_name test.
14948
14949 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14950
14951 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14952
14953 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14954
14955 PR c++/19893
14956 * gdb.dwarf2/implref.exp: Rename to...
14957 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14958 * gdb.dwarf2/implref-array.c: New file.
14959 * gdb.dwarf2/implref-array.exp: Likewise.
14960 * gdb.dwarf2/implref-global.c: Likewise.
14961 * gdb.dwarf2/implref-global.exp: Likewise.
14962 * gdb.dwarf2/implref-struct.c: Likewise.
14963 * gdb.dwarf2/implref-struct.exp: Likewise.
14964
14965 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14966
14967 * gdb.trace/trace-condition.exp: Add 64bit tests.
14968
14969 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14970
14971 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14972 bits types.
14973 (main): Adapt to 8 to 64 bits types.
14974 * gdb.trace/trace-condition.exp: Add new tests.
14975
14976 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14977
14978 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14979
14980 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14981
14982 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14983 Move condition tests...
14984 * gdb.trace/trace-condition.exp: Here.
14985
14986 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14987
14988 * gdb.trace/trace-condition.exp: Add counter-case tests.
14989
14990 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14991
14992 PR c++/15231
14993 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14994 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14995
14996 2016-05-27 Pedro Alves <palves@redhat.com>
14997
14998 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14999 New procedure.
15000 (top level): Call it, and bail out of DejaGnu is known to be bad.
15001
15002 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15003
15004 * gdb.base/whatis.c: Extend the test case.
15005 * gdb.base/whatis.exp: Add additional tests.
15006
15007 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15008
15009 * gdb.fortran/type.f90: Add pointer variable.
15010 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15011
15012 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15013
15014 * gdb.fortran/vla-type.exp: Fix testcase name.
15015
15016 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15017
15018 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15019
15020 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15021
15022 * gdb.fortran/type.f90: Add nested structures.
15023 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15024 * gdb.fortran/derived-type.exp: Adapt expected output.
15025 * gdb.fortran/vla-type.exp: Adapt expected output.
15026
15027 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15028
15029 * gdb.fortran/whatis_type.exp: Adapt expected output.
15030
15031 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15032
15033 * gdb.fortran/print_type.exp: Fix expected output.
15034 * gdb.fortran/whatis_type.exp: Fix expected output.
15035
15036 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15037
15038 * gdb.fortran/whatis_type.exp: Use multi_line.
15039
15040 2016-05-24 Tom Tromey <tom@tromey.com>
15041
15042 PR python/17386:
15043 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15044 use value as an index.
15045
15046 2016-05-23 Tom Tromey <tom@tromey.com>
15047
15048 PR python/17981:
15049 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15050 no-breakpoint case.
15051
15052 2016-05-24 Pedro Alves <palves@redhat.com>
15053
15054 PR gdb/19828
15055 * gdb.threads/clone-attach-detach.c: New file.
15056 * gdb.threads/clone-attach-detach.exp: New file.
15057
15058 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15059
15060 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15061
15062 2016-05-23 Tom Tromey <tom@tromey.com>
15063
15064 PR python/19438, PR python/18393:
15065 * gdb.python/py-progspace.exp: Add "dir" test.
15066 * gdb.python/py-objfile.exp: Add "dir" test.
15067
15068 2016-05-23 Yao Qi <yao.qi@linaro.org>
15069
15070 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15071 * gdb.arch/thumb2-it.exp: Likewise.
15072
15073 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15074
15075 * gdb.mi/mi-threads-interrupt.c: New file.
15076 * gdb.mi/mi-threads-interrupt.exp: New file.
15077
15078 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15079
15080 PR gdb/18077
15081 * gdb.mi/mi-async-run.exp: New file.
15082 * gdb.mi/mi-async-run.c: New file.
15083
15084 2016-05-17 Tom Tromey <tom@tromey.com>
15085 Manish Goregaokar <manishsmail@gmail.com>
15086
15087 * lib/rust-support.exp: New file.
15088 * lib/gdb.exp (skip_rust_tests): New proc.
15089 (build_executable_from_specs): Handle rust.
15090 * lib/future.exp (gdb_find_rustc): New proc.
15091 (gdb_default_target_compile): Handle rust.
15092 * gdb.rust/expr.exp: New file.
15093 * gdb.rust/generics.exp: New file.
15094 * gdb.rust/generics.rs: New file.
15095 * gdb.rust/methods.exp: New file.
15096 * gdb.rust/methods.rs: New file.
15097 * gdb.rust/modules.exp: New file.
15098 * gdb.rust/modules.rs: New file.
15099 * gdb.rust/simple.exp: New file.
15100 * gdb.rust/simple.rs: New file.
15101
15102 2016-05-17 Tom Tromey <tom@tromey.com>
15103
15104 * gdb.base/default.exp (set language): Add rust.
15105
15106 2016-05-17 Tom Tromey <tom@tromey.com>
15107
15108 * gdb.gdb/unittest.exp: New file.
15109
15110 2016-05-16 Yao Qi <yao.qi@linaro.org>
15111
15112 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15113 shell_prompt. Update shell_prompt_re.
15114
15115 2016-05-12 Doug Evans <dje@google.com>
15116
15117 PR symtab/19999
15118 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15119 $options when building executable.
15120 * gdb.dwarf2/fission-loclists-pie.S: New file.
15121 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15122
15123 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15124
15125 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15126 of [is_remote target],
15127
15128 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15129
15130 * lib/gdb.exp (use_gdb_stub): New procedure.
15131
15132 2016-05-03 Yunlian Jiang <yunlian@google.com>
15133 Doug Evans <dje@google.com>
15134
15135 PR symtab/19914
15136 * gdb.dwarf2/dwp-sepdebug.c: New file.
15137 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15138
15139 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15140
15141 * gdb.base/detach.exp: Remove is_remote check.
15142
15143 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15144
15145 * gdb.base/annota-input-while-running.exp: Don't check for
15146 [is_remote target]. Enable annotations after running to main.
15147 Remove unused "set test..." line.
15148
15149 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15150
15151 * gdb.trace/trace-enable-disable.exp: New file.
15152 * gdb.trace/trace-enable-disable.c: New file.
15153
15154 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15155
15156 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15157 use it in info sharedlibrary test.
15158 * gdb.trace/ftrace-lock.exp: Likewise.
15159 * gdb.trace/ftrace.exp: Likewise.
15160 * gdb.trace/range-stepping.exp: Likewise.
15161 * gdb.trace/trace-break.exp: Likewise.
15162 * gdb.trace/trace-condition.exp: Likewise.
15163 * gdb.trace/trace-mt.exp: Likewise.
15164
15165 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15166
15167 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15168 (gdb_load_shlib): ... this.
15169 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15170 gdb_load_shlib.
15171 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15172 * gdb.base/ctxobj.exp: Likewise.
15173 * gdb.base/dprintf-pending.exp: Likewise.
15174 * gdb.base/dso2dso.exp: Likewise.
15175 * gdb.base/fixsection.exp: Likewise.
15176 * gdb.base/gcore-relro.exp: Likewise.
15177 * gdb.base/gdb1555.exp: Likewise.
15178 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15179 * gdb.base/gnu-ifunc.exp: Likewise.
15180 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15181 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15182 * gdb.base/pending.exp: Likewise.
15183 * gdb.base/print-file-var.exp: Likewise.
15184 * gdb.base/print-symbol-loading.exp: Likewise.
15185 * gdb.base/shlib-call.exp: Likewise.
15186 * gdb.base/shreloc.exp: Likewise.
15187 * gdb.base/so-impl-ld.exp: Likewise.
15188 * gdb.base/solib-disc.exp: Likewise.
15189 * gdb.base/solib-nodir.exp: Likewise.
15190 * gdb.base/solib-overlap.exp: Likewise.
15191 * gdb.base/solib-symbol.exp: Likewise.
15192 * gdb.base/solib-weak.exp (do_test): Likewise.
15193 * gdb.base/sym-file.exp: Likewise.
15194 * gdb.base/symtab-search-order.exp: Likewise.
15195 * gdb.base/type-opaque.exp: Likewise.
15196 * gdb.base/unload.exp: Likewise.
15197 * gdb.base/watchpoint-solib.exp: Likewise.
15198 * gdb.compile/compile.exp: Likewise.
15199 * gdb.cp/gdb2384.exp: Likewise.
15200 * gdb.cp/infcall-dlopen.exp: Likewise.
15201 * gdb.cp/re-set-overloaded.exp: Likewise.
15202 * gdb.fortran/library-module.exp: Likewise.
15203 * gdb.opt/solib-intra-step.exp: Likewise.
15204 * gdb.python/py-finish-breakpoint.exp: Likewise.
15205 * gdb.python/py-shared.exp: Likewise.
15206 * gdb.reverse/solib-precsave.exp: Likewise.
15207 * gdb.reverse/solib-reverse.exp: Likewise.
15208 * gdb.server/solib-list.exp: Likewise.
15209 * gdb.threads/dlopen-libpthread.exp: Likewise.
15210 * gdb.threads/tls-shared.exp: Likewise.
15211 * gdb.threads/tls-so_extern.exp: Likewise.
15212 * gdb.trace/change-loc.exp: Likewise.
15213 * gdb.trace/ftrace-lock.exp: Likewise.
15214 * gdb.trace/ftrace.exp: Likewise.
15215 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15216 * gdb.trace/pending.exp: Likewise.
15217 * gdb.trace/range-stepping.exp: Likewise.
15218 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15219 (strace_info_marker): Likewise.
15220 (strace_probe_marker): Likewise.
15221 (strace_trace_on_same_addr): Likewise.
15222 (strace_trace_on_diff_addr): Likewise.
15223 * gdb.trace/trace-break.exp: Likewise.
15224 * gdb.trace/trace-condition.exp: Likewise.
15225 * gdb.trace/trace-mt.exp: Likewise.
15226
15227 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15228
15229 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15230 result of gdb_remote_download.
15231 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15232 * gdb.base/dso2dso.exp: Likewise.
15233 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15234 * gdb.base/print-file-var.exp: Likewise.
15235 * gdb.base/shlib-call.exp: Likewise.
15236 * gdb.base/shreloc.exp: Likewise.
15237 * gdb.base/solib-overlap.exp: Likewise.
15238 * gdb.base/solib-weak.exp (do_test): Likewise.
15239 * gdb.base/unload.exp: Likewise.
15240
15241 2016-04-27 Yao Qi <yao.qi@linaro.org>
15242
15243 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15244 exists.
15245
15246 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15247
15248 * vla-type.exp: Print structure from toplevel.
15249
15250 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15251
15252 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15253 of dynamic types.
15254 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15255 of dynamic types.
15256
15257 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15258
15259 * gdb.fortran/vla-type.f90: New file.
15260 * gdb.fortran/vla-type.exp: New file.
15261
15262 2016-04-25 Yao Qi <yao.qi@linaro.org>
15263
15264 * gdb.base/branch-to-self.c: New file.
15265 * gdb.base/branch-to-self.exp: New file.
15266
15267 2016-04-22 Yao Qi <yao.qi@linaro.org>
15268
15269 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15270 more after $hex.
15271
15272 2016-04-22 Yao Qi <yao.qi@linaro.org>
15273
15274 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15275 * gdb.base/annota3.exp: Likewise.
15276
15277 2016-04-22 Yao Qi <yao.qi@linaro.org>
15278
15279 * gdb.reverse/step-precsave.exp: Do one step and test program
15280 stops in "callee" and do multiple steps until program goes out
15281 of "callee".
15282 * gdb.reverse/step-reverse.exp: Likewise.
15283
15284 2016-04-22 Yao Qi <yao.qi@linaro.org>
15285
15286 * gdb.trace/signal.exp: Also pass if
15287 $tracepoint_hits($i) > $iterations.
15288
15289 2016-04-22 Yao Qi <yao.qi@linaro.org>
15290
15291 * gdb.trace/signal.c: New file.
15292 * gdb.trace/signal.exp: New file.
15293
15294 2016-04-19 Doug Evans <xdje42@gmail.com>
15295
15296 * gdb.base/bad-file.exp: New file.
15297
15298 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15299
15300 * gdb.dwarf2/implref.exp: New file.
15301
15302 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15303
15304 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15305 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15306 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15307 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15308 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15309 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15310 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15311 * lib/fortran.exp (fortran_int4): New procedure.
15312 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15313 (fortran_logical4): Likewise.
15314
15315 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15316
15317 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15318
15319 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15320
15321 * lib/compiler.c: Add Intel specific preprocessor macros.
15322 * lib/compiler.cc: Likewise.
15323
15324 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
15325
15326 * gdb.server/connect-with-no-symbol-file.c: New file.
15327 * gdb.server/connect-with-no-symbol-file.exp: New file.
15328
15329 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15330
15331 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15332
15333 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15334
15335 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15336 standard output directory.
15337
15338 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15339
15340 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15341
15342 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15343
15344 * gdb.btrace/instruction_history.c (loop): Add declaration.
15345
15346 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15347
15348 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15349
15350 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15351
15352 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15353 parentheses to print.
15354 (continue_handler): Likewise.
15355
15356 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15357
15358 * gdb.server/solib-list.exp: Remove is_remote check.
15359 Pass shlib= to gdb_compile. Don't link shared library with
15360 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15361 Run binary filename through "readlink -f" on the target.
15362
15363 2016-04-08 Pedro Alves <palves@redhat.com>
15364
15365 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15366 interpreter filename as argument to gdbserver_spawn.
15367 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15368 Return empty if $last_loaded_file does not exist.
15369
15370 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15371
15372 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15373 * gdb.base/jit-main.c: Use exit after usage.
15374
15375 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15378 GDBHISTSIZE prior to the tests.
15379 * gdb.base/gdbinit-history.exp: Likewise.
15380
15381 2016-04-07 Pedro Alves <palves@redhat.com>
15382
15383 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15384 instead of build_executable. Use gdb_load_shlibs.
15385
15386 2016-04-07 Yao Qi <yao.qi@linaro.org>
15387
15388 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15389 Execute "si" command.
15390
15391 2016-04-07 Yao Qi <yao.qi@linaro.org>
15392
15393 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15394 number instead of the comments on some line.
15395
15396 2016-04-06 Don Breazeal <donb@codesourcery.com>
15397
15398 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15399 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15400
15401 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15402
15403 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15404 standard_output_file. Remove unused binfile variable.
15405
15406 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
15407
15408 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15409 * gdb.python/py-mi-objfile.exp: Match "list main" output
15410 in console format.
15411
15412 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15413
15414 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15415 absolute.
15416
15417 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15418
15419 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15420 absolute.
15421 * gdb.trace/ftrace.exp: Likewise.
15422 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15423 targets as well.
15424 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15425 (gdb_load_shlibs): Copy libraries to test directory when testing
15426 natively. Only set solib-search-path if testing remotely.
15427 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15428
15429 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15430
15431 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15432 gdb_download. Use it even if the target is not remote.
15433 * gdb.base/jit.exp (compile_jit_test): Likewise.
15434 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15435 output directory if the destination board is local, otherwise use
15436 the standard remote_download from DejaGnu.
15437 (gdb_download): Remove.
15438 (gdb_load_shlibs): Use gdb_remote_download instead of
15439 gdb_download.
15440 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15441 Use gdb_remote_download instead of gdb_download. Use it even if
15442 the target is not remote.
15443 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15444 instead of gdb_download.
15445
15446 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15447
15448 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15449 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15450 run.
15451
15452 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
15453
15454 PR gdb/19820
15455 * gdb.base/printcmds.exp: Add artificial arrays tests.
15456
15457 2016-03-31 Pedro Alves <palves@redhat.com>
15458
15459 PR gdb/19858
15460 * gdb.base/jit-main.c: Include unistd.h.
15461 (ATTACH): Define to 0 if not already defined.
15462 (wait_for_gdb, mypid): New globals.
15463 (WAIT_FOR_GDB): New macro.
15464 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15465 some breakpoint locations.
15466 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15467 New procedures.
15468 (one_jit_test): Add REATTACH parameter, and handle it. Use
15469 continue_to_test_location.
15470 (top level): Test attach, and adjusts calls to one_jit_test.
15471
15472 2016-03-31 Pedro Alves <palves@redhat.com>
15473
15474 PR gdb/19858
15475 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15476 BINSUFFIX parameter, and handle it.
15477 (top level): Adjust calls compile_jit_test.
15478
15479 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
15480
15481 PR python/19743
15482 * gdb.python/py-mi-events-gdb.py: New file.
15483 * gdb.python/py-mi-events.c: New file.
15484 * gdb.python/py-mi-events.exp: New file.
15485
15486 2016-03-30 Yao Qi <yao.qi@linaro.org>
15487
15488 * gdb.reverse/until-precsave.exp: Match function name only.
15489 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15490 Move malloc to a condition block.
15491 * gdb.reverse/until-reverse.exp: Match function name only.
15492
15493 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15494
15495 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15496 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15497 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15498 variable for GPR 0 instead of assuming it is register 0.
15499 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15500 * lib/trace-support.exp: Add s390 registers.
15501
15502 2016-03-29 Yao Qi <yao.qi@linaro.org>
15503
15504 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15505
15506 2016-03-24 Yao Qi <yao.qi@linaro.org>
15507
15508 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15509 test message.
15510
15511 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15512
15513 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15514 maintaining separate logic for constructing the output path.
15515
15516 2016-03-16 Don Breazeal <donb@codesourcery.com>
15517
15518 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15519 Retry fork and waitpid on interrupted system call errors.
15520 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15521 Use with_timeout_factor to increase timeout by factor of 10.
15522
15523 2016-03-15 Don Breazeal <donb@codesourcery.com>
15524
15525 * gdb.cp/scope-err.cc: New test program.
15526 * gdb.cp/scope-err.exp: New test script.
15527 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15528 lines and "set breakpoint here" comment.
15529 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15530 Fixed some whitespace and format issues.
15531 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15532 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15533
15534 2016-03-15 Doug Evans <dje@google.com>
15535
15536 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15537 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15538 All callers updated. Add tests for enums, mixed flags register.
15539
15540 2016-03-15 Doug Evans <dje@google.com>
15541
15542 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15543 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15544
15545 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15546
15547 * gdb.base/default.exp: Add $_as_string to the list of expected
15548 convenience functions.
15549
15550 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15551
15552 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15553
15554 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15555
15556 * gdb.python/py-as-string.exp: New file.
15557 * gdb.python/py-as-string.c: New file.
15558
15559 2016-03-09 Pedro Alves <palves@redhat.com>
15560
15561 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15562 signal" -> "Thread NN received signal" output change.
15563 * gdb.threads/ia64-sigill.exp: Likewise.
15564 * gdb.threads/linux-dp.exp: Likewise.
15565 * gdb.threads/manythreads.exp: Likewise.
15566 * gdb.threads/pending-step.exp: Likewise.
15567 * gdb.threads/print-threads.exp: Likewise.
15568 * gdb.threads/sigstep-threads.exp: Likewise.
15569 * gdb.threads/staticthreads.exp: Likewise.
15570 * gdb.threads/tls.exp: Likewise.
15571
15572 2016-03-09 Pedro Alves <palves@redhat.com>
15573
15574 * gdb.base/command-line-input.exp: New file.
15575
15576 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15577
15578 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15579 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15580 * gdb.trace/pending.exp: Accept leading dot before function name.
15581 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15582 * lib/trace-support.exp: Set registers for ppc.
15583
15584 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15585
15586 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15587 use it for disassembly; accept .main in addition to main in backtrace.
15588
15589 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
15590 Marcin Kościelnicki <koriakin@0x04.net>
15591
15592 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15593 (gdb_recursion_test_ptr): New global variable.
15594 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15595 gdb_recursion_test.
15596 (gdb_c_test): Ditto.
15597
15598 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15599
15600 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15601 ordering.
15602
15603 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15604
15605 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15606 (bar): Add bar_start_lbl label.
15607 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15608 of foo/bar for emitting DWARF and tracing.
15609
15610 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15611
15612 * analyze-racy-logs.py: Set executable bit.
15613
15614 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15615
15616 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15617 (CHECK_TARGET_TMP): Likewise.
15618 (check-single-racy): New rule.
15619 (check-parallel-racy): Likewise.
15620 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15621 (do-check-parallel-racy): New rule.
15622 (check-racy/%.exp): Likewise.
15623 * README (Racy testcases): New section.
15624 * analyze-racy-logs.py: New file.
15625
15626 2016-03-03 Doug Evans <dje@google.com>
15627
15628 * gdb.base/skip.exp: Use with_test_prefix.
15629
15630 2016-03-03 Yao Qi <yao.qi@linaro.org>
15631
15632 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15633 Invoke step_over_syscall "clone" and break_cond_on_syscall
15634 "clone".
15635 * gdb.base/step-over-clone.c: New file.
15636
15637 2016-03-03 Yao Qi <yao.qi@linaro.org>
15638
15639 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15640 code format.
15641
15642 2016-03-03 Yao Qi <yao.qi@linaro.org>
15643
15644 * gdb.base/disp-step-fork.c: Rename to ...
15645 * gdb.base/step-over-fork.c: ... it. New file.
15646 * gdb.base/disp-step-vfork.c: Rename to ...
15647 * gdb.base/step-over-vfork.c: ... it. New file.
15648 * gdb.base/disp-step-syscall.exp: Rename to ...
15649 * gdb.base/step-over-syscall.exp: ... it. New file.
15650 (disp_step_cross_syscall): Rename to ...
15651 (step_over_syscall): ... it.
15652
15653 2016-03-03 Yao Qi <yao.qi@linaro.org>
15654
15655 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15656 If target supports condition evaluation on target, invoke
15657 break_cond_on_syscall for fork and vfork.
15658
15659 2016-03-03 Yao Qi <yao.qi@linaro.org>
15660
15661 * gdb.base/disp-step-syscall.exp: Don't invoke
15662 support_displaced_stepping.
15663 (disp_step_cross_syscall): Test with displaced stepping off and
15664 on if supported.
15665
15666 2016-03-03 Yao Qi <yao.qi@linaro.org>
15667
15668 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15669 proc.
15670 (setup): New proc.
15671 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15672 and setup.
15673
15674 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15675
15676 * gdb.fortran/vla-history.exp: Remove breakpoint.
15677
15678 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15679
15680 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15681 exceeds timeout.
15682
15683 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15684
15685 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15686 breakpoint.
15687
15688 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15689
15690 * gdb.mi/vla.f90: Nullify pointer after declaration.
15691
15692 2016-03-01 Pedro Alves <palves@redhat.com>
15693
15694 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15695
15696 2016-03-01 Pedro Alves <palves@redhat.com>
15697
15698 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15699 before anything else.
15700 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15701 _GNU_SOURCE here.
15702 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15703 before anything else.
15704 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15705
15706 2016-03-01 Pedro Alves <palves@redhat.com>
15707
15708 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15709
15710 2016-03-01 Yao Qi <yao.qi@linaro.org>
15711
15712 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15713 prepare_for_testing.
15714
15715 2016-03-01 Yao Qi <yao.qi@linaro.org>
15716
15717 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15718
15719 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15720
15721 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15722 manually constructing the output path.
15723
15724 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15725
15726 * gdb.arch/s390-stackless.S: New.
15727 * gdb.arch/s390-stackless.exp: New.
15728
15729 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15730
15731 * gdb.dlang/circular.c: New file.
15732 * gdb.dlang/circular.exp: New file.
15733
15734 2016-02-26 Yao Qi <yao.qi@linaro.org>
15735
15736 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15737 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15738 (testcases): Update.
15739
15740 2016-02-26 Yao Qi <yao.qi@linaro.org>
15741
15742 * gdb.reverse/aarch64.c: Rename to ...
15743 * gdb.reverse/insn-reverse.c: ... it.
15744 * gdb.reverse/aarch64.exp: Rename to ...
15745 * gdb.reverse/insn-reverse.exp: ... it.
15746
15747 2016-02-26 Yao Qi <yao.qi@linaro.org>
15748
15749 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15750 (testcase_ftype): New.
15751 (testcases): New array.
15752 (n_testcases): New.
15753 (main): Call each element in testcases.
15754 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15755 (read_testcase): New.
15756 Do the tests in a loop.
15757
15758 2016-02-25 Yao Qi <yao.qi@linaro.org>
15759
15760 * gdb.base/branches.c: Remove.
15761
15762 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15763
15764 PR gdb/13808
15765 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15766
15767 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15768
15769 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15770
15771 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15772
15773 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15774 change x86_64 call_insn to 'callq'.
15775
15776 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15777
15778 * gdb.trace/tfile-avx.c: Move to...
15779 * gdb.trace/tracefile-pseudo-reg.c: Here.
15780 * gdb.trace/tfile-avx.exp: Move to...
15781 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15782
15783 2016-02-24 Gary Benson <gbenson@redhat.com>
15784
15785 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15786 message on attach.
15787
15788 2016-02-23 Doug Evans <dje@google.com>
15789
15790 * gdb.base/skip.c (test_skip): New function.
15791 (end_test_skip_file_and_function): New function.
15792 (test_skip_file_and_function): New function.
15793 * gdb.base/skip1.c (test_skip): New function.
15794 (skip1_test_skip_file_and_function): New function.
15795 * gdb.base/skip.exp: Add tests for new skip options.
15796 * gdb.base/skip-solib.exp: Update expected output.
15797 * gdb.perf/skip-command.cc: New file.
15798 * gdb.perf/skip-command.exp: New file.
15799 * gdb.perf/skip-command.py: New file.
15800
15801 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15802
15803 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15804 info registers pattern.
15805
15806 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15807
15808 * lib/future.exp: Add D support.
15809 (gdb_find_gdc): New proc.
15810 (gdb_default_target_compile): Add D support.
15811
15812 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
15813
15814 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15815 user+system time.
15816 (trace_speed_test): Determine the iteration count for a time
15817 between 15..30 seconds.
15818
15819 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15820
15821 * gdb.arch/i386-mpx-sigsegv.c: New file.
15822 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15823 * gdb.arch/i386-mpx-simple_segv.c: New file.
15824 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15825
15826 2016-02-18 Yao Qi <yao.qi@linaro.org>
15827
15828 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15829 Don't call setup_kfail.
15830
15831 2016-02-18 Yao Qi <yao.qi@linaro.org>
15832
15833 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15834 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15835
15836 2016-02-16 Doug Evans <dje@google.com>
15837
15838 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15839 * gdb.base/skip1.c: Ditto.
15840 * gdb.base/skip.exp: Whitespace cleanup.
15841
15842 2016-02-16 Don Breazeal <donb@codesourcery.com>
15843
15844 PR remote/19496
15845 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15846 Remove kfail for PR remote/19496.
15847
15848 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15849
15850 * lib/gdb.exp (standard_temp_file): Return a path specific to
15851 the runtest invocation.
15852
15853 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15854
15855 * gdb.trace/save-trace.exp: Change relative path to be in the
15856 standard output directory.
15857
15858 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15859
15860 * gdb.arch/i386-prologue.c: Add missing prototypes.
15861
15862 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15863
15864 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15865 * gdb.arch/i386-prologue.exp: Likewise.
15866 * gdb.arch/i386-size.exp: Likewise.
15867
15868 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15869
15870 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15871 define object file path.
15872 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15873 file path.
15874 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15875 standard_output_file to define binfile.
15876
15877 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15878
15879 Fix compatibility with recent gfortran-5.3.1.
15880 * gdb.fortran/vla-history.exp (print vla1 allocated)
15881 (print vla2 allocated, print $2, print $3): Remove
15882 (print $4): Rename to ...
15883 (print $2): ... here.
15884 (print $9): Rename to ...
15885 (print $5): ... here.
15886 (print $10): Rename to ...
15887 (print $6): ... here.
15888 * gdb.fortran/vla.f90: Add pvla initialization.
15889
15890 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15891
15892 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15893 New test.
15894 * gdb.fortran/vla-value-sub.exp: Likewise.
15895
15896 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15897
15898 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15899
15900 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15901
15902 * i386-biarch-core.exp: Define corefile using
15903 standard_output_file.
15904
15905 2016-02-12 Yao Qi <yao.qi@linaro.org>
15906
15907 * gdb.arch/arm-single-step-kernel-helper.c: New.
15908 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15909
15910 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15911
15912 * gdb.btrace/tailcall-only.exp: New.
15913 * gdb.btrace/tailcall-only.c: New.
15914 * gdb.btrace/x86_64-tailcall-only.S: New.
15915 * gdb.btrace/i686-tailcall-only.S: New.
15916
15917 2016-02-11 Pedro Alves <palves@redhat.com>
15918
15919 * README (Parallel testing): Add missing double quotes.
15920
15921 2016-02-11 Pedro Alves <palves@redhat.com>
15922
15923 * README (Parallel testing): New section.
15924 (GDB_PARALLEL): Rewrite.
15925 (FORCE_PARALLEL): Document.
15926
15927 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15928
15929 * gdb.trace/tfile-avx.c: New test.
15930 * gdb.trace/tfile-avx.exp: New test.
15931
15932 2016-02-09 Keith Seitz <keiths@redhat.com>
15933
15934 PR breakpoints/19546
15935 * gdb.base/infcall-exec.c: New file.
15936 * gdb.base/infcall-exec2.c: New file.
15937 * gdb.base/infcall-exec.exp: New file.
15938
15939 2016-02-09 Keith Seitz <keiths@redhat.com>
15940
15941 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15942 (toplevel): Call test_bkpt_address.
15943
15944 2016-02-09 Keith Seitz <keiths@redhat.com>
15945
15946 PR python/19506
15947 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15948 (toplevel): Call test_bkpt_address.
15949
15950 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15951
15952 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15953 to AC_OUTPUT.
15954 * configure: Regenerate.
15955
15956 2016-02-09 Pedro Alves <palves@redhat.com>
15957
15958 PR breakpoints/19548
15959 * gdb.base/execl-update-breakpoints.c (some_function): New
15960 function.
15961 (main): Call it.
15962 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15963 Tighten expected GDB output.
15964
15965 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15966
15967 * Makefile.in (ALL_SUBDIRS): Remove.
15968 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15969 (distclean maintainer-clean realclean): Likewise.
15970 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15971 * configure: Regenerate.
15972 * gdb.ada/Makefile.in: Delete.
15973 * gdb.arch/Makefile.in: Likewise.
15974 * gdb.asm/Makefile.in: Likewise.
15975 * gdb.base/Makefile.in: Likewise.
15976 * gdb.btrace/Makefile.in: Likewise.
15977 * gdb.cell/Makefile.in: Likewise.
15978 * gdb.compile/Makefile.in: Likewise.
15979 * gdb.cp/Makefile.in: Likewise.
15980 * gdb.disasm/Makefile.in: Likewise.
15981 * gdb.dlang/Makefile.in: Likewise.
15982 * gdb.dwarf2/Makefile.in: Likewise.
15983 * gdb.fortran/Makefile.in: Likewise.
15984 * gdb.gdb/Makefile.in: Likewise.
15985 * gdb.go/Makefile.in: Likewise.
15986 * gdb.guile/Makefile.in: Likewise.
15987 * gdb.java/Makefile.in: Likewise.
15988 * gdb.linespec/Makefile.in: Likewise.
15989 * gdb.mi/Makefile.in: Likewise.
15990 * gdb.modula2/Makefile.in: Likewise.
15991 * gdb.multi/Makefile.in: Likewise.
15992 * gdb.objc/Makefile.in: Likewise.
15993 * gdb.opencl/Makefile.in: Likewise.
15994 * gdb.opt/Makefile.in: Likewise.
15995 * gdb.pascal/Makefile.in: Likewise.
15996 * gdb.perf/Makefile.in: Likewise.
15997 * gdb.python/Makefile.in: Likewise.
15998 * gdb.reverse/Makefile.in: Likewise.
15999 * gdb.server/Makefile.in: Likewise.
16000 * gdb.stabs/Makefile.in: Likewise.
16001 * gdb.threads/Makefile.in: Likewise.
16002 * gdb.trace/Makefile.in: Likewise.
16003 * gdb.xml/Makefile.in: Likewise.
16004 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16005 GDB_PARALLEL.
16006 (standard_output_file): Remove check for GDB_PARALLEL, always
16007 return path in outputs/$subdir/$testname.
16008
16009 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16010
16011 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16012 (site.exp): Assign abs_srcdir to tcl's srcdir.
16013
16014 2016-02-04 Yao Qi <yao.qi@linaro.org>
16015
16016 * gdb.base/foll-exec-mode.c: Include limits.h.
16017 (main): Add parameters argc and argv. Get directory from
16018 argv[0].
16019 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16020 compilation.
16021 * gdb.base/foll-exec.c: Include limits.h.
16022 (main): Add parameters argc and argv.
16023 Get directory from argv[0].
16024 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16025 Adjust tests on the number of lines as source code changed.
16026 * gdb.base/foll-vfork-exit.c: Include limits.h.
16027 (main): Add one line of statement before vfork.
16028 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16029 (main): Add parameters argc and argv. Get directory from
16030 argv[0].
16031 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16032 (setup_gdb): Set tbreak to skip some source lines.
16033 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16034 (main): Add parameters argc and argv. Get directory from
16035 argv[0].
16036 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16037 compilation.
16038 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16039 (main): Add parameters argc and argv. Get directory from
16040 argv[0].
16041 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16042 compilation.
16043
16044 2016-02-01 Doug Evans <dje@google.com>
16045
16046 * gdb.base/skip.exp: Clean up multiple references to same test name.
16047
16048 2016-02-01 Pedro Alves <palves@redhat.com>
16049
16050 PR remote/19496
16051 * gdb.threads/forking-threads-plus-breakpoint.exp
16052 (displaced_stepping_supported): New global.
16053 (probe_displaced_stepping_support): New procedure.
16054 (do_test): Add 'displaced' parameter, and use it.
16055 (top level): Check for displaced stepping support. Add displaced
16056 stepping on/off testing axis.
16057
16058 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16059
16060 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16061 pointer. Don't perform further tests on the unassociated pointer
16062 if the first test fails.
16063
16064 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16065
16066 * gdb.base/max-value-size.c: New file.
16067 * gdb.base/max-value-size.exp: New file.
16068 * gdb.base/huge.exp: Disable max-value-size for this test.
16069
16070 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16071
16072 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16073
16074 2016-01-28 Yao Qi <yao.qi@linaro.org>
16075
16076 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16077
16078 2016-01-25 Pedro Alves <palves@redhat.com>
16079
16080 PR threads/19461
16081 * gdb.base/fork-running-state.c: New file.
16082 * gdb.base/fork-running-state.exp: New file.
16083
16084 2016-01-25 Pedro Alves <palves@redhat.com>
16085
16086 PR gdb/19494
16087 * gdb.base/catch-fork-kill.c: New file.
16088 * gdb.base/catch-fork-kill.exp: New file.
16089
16090 2016-01-25 Pedro Alves <palves@redhat.com>
16091
16092 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16093 Delete, moved to lib/gdb.exp.
16094 * gdb.threads/forking-threads-plus-breakpoint.exp
16095 (foreach_with_prefix): Likewise.
16096 * gdb.threads/process-dies-while-handling-bp.exp
16097 (foreach_with_prefix): Likewise.
16098 * lib/gdb.exp (foreach_with_prefix): New procedure.
16099
16100 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16101
16102 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16103 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16104
16105 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16106
16107 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16108 endian targets.
16109
16110 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16111 Pedro Alves <palves@redhat.com>
16112
16113 Fix testsuite compatibility with Guile.
16114 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16115 number.
16116
16117 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16118
16119 Fix testsuite compatibility with Guile.
16120 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16121 (thread 1): New test for backtrace through signal handler.
16122
16123 2016-01-22 Yao Qi <yao.qi@linaro.org>
16124
16125 PR testsuite/19491
16126 * gdb.base/multi-forks.c: Include
16127 ../lib/unbuffer_output.c
16128 (main): Call gdb_unbuffer_output.
16129
16130 2016-01-21 Doug Evans <dje@google.com>
16131
16132 * lib/ada.exp (gdb_compile_ada): Fix typo.
16133
16134 2016-01-21 Joel Brobecker <brobecker@adacore.com>
16135
16136 * gdb.base/break-fun-addr.exp: New file.
16137 * gdb.base/break-fun-addr1.c: New file.
16138 * gdb.base/break-fun-addr2.c: New file.
16139
16140 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16141
16142 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16143 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16144 enum flag values.
16145
16146 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16147
16148 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16149 when GDB can not set the vector return value. Add more comments
16150 for clarification.
16151
16152 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16153
16154 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16155 command.
16156
16157 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16158
16159 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16160
16161 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16162
16163 * Makefile.in (check-single): Pass --status to runtest.
16164 (check/%.exp): Likewise.
16165
16166 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16167
16168 * Makefile.in (check-parallel): Propagate return code from make
16169 do-check-parallel.
16170
16171 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16172
16173 * gdb.trace/ftrace.exp: Fix expected message on continue.
16174 * gdb.trace/pending.exp: Fix expected message on continue.
16175 * gdb.trace/trace-break.exp: Fix expected message on continue.
16176
16177 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16178
16179 * lib/gdb.exp (gdb_test): Remove unused global references.
16180
16181 2016-01-18 Pedro Alves <palves@redhat.com>
16182
16183 * gdb.base/async-shell.exp: Adjust expected output.
16184 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16185 * gdb.base/siginfo-thread.exp: Adjust expected output.
16186 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16187 * gdb.java/jnpe.exp: Adjust expected output.
16188 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16189 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16190 * gdb.threads/leader-exit.exp: Adjust expected output.
16191 * gdb.threads/manythreads.exp: Adjust expected output.
16192 * gdb.threads/pthreads.exp: Adjust expected output.
16193 * gdb.threads/schedlock.exp: Adjust expected output.
16194 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16195 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16196 expected output.
16197 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16198 output.
16199 * gdb.threads/sigthread.exp: Adjust expected output.
16200 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16201
16202 2016-01-18 Yao Qi <yao.qi@linaro.org>
16203
16204 * gdb.guile/scm-section-script.c: Replace @progbits with
16205 %progbits.
16206 * gdb.python/py-section-script.c: Likewise.
16207
16208 2016-01-15 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.multi/tids.exp: Test star wildcard ranges.
16211
16212 2016-01-15 Pedro Alves <palves@redhat.com>
16213
16214 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16215 command from "thread apply" invocation.
16216 (thr_apply_info_thr_invalid): Default the expected output to the
16217 input tid list.
16218 (top level): Add tests that use convenience variables. Add tests
16219 for "thread apply" with a valid TID list, but missing the command.
16220
16221 2016-01-13 Pedro Alves <palves@redhat.com>
16222
16223 * gdb.base/default.exp: Expect $_gthread as well.
16224 * gdb.multi/tids.exp: Test $_gthread.
16225 * gdb.threads/thread-specific.exp: Test $_gthread.
16226
16227 2016-01-13 Pedro Alves <palves@redhat.com>
16228
16229 * gdb.multi/tids.exp: Test "info threads -gid".
16230
16231 2016-01-13 Pedro Alves <palves@redhat.com>
16232
16233 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16234 Breakpoint.thread.
16235 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16236
16237 2016-01-07 Pedro Alves <palves@redhat.com>
16238
16239 * gdb.base/break.exp: Adjust to output changes.
16240 * gdb.base/hbreak2.exp: Likewise.
16241 * gdb.base/sepdebug.exp: Likewise.
16242 * gdb.base/watch_thread_num.exp: Likewise.
16243 * gdb.linespec/keywords.exp: Likewise.
16244 * gdb.multi/info-threads.exp: Likewise.
16245 * gdb.threads/thread-find.exp: Likewise.
16246 * gdb.multi/tids.c: New file.
16247 * gdb.multi/tids.exp: New file.
16248
16249 2016-01-13 Pedro Alves <palves@redhat.com>
16250
16251 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16252
16253 2016-01-13 Pedro Alves <palves@redhat.com>
16254
16255 * gdb.base/default.exp: Expect $_inferior as well.
16256 * gdb.multi/base.exp: Test $_inferior.
16257
16258 2016-01-13 Pedro Alves <palves@redhat.com>
16259
16260 PR breakpoints/19388
16261 * gdb.base/catch-signal-siginfo-cond.c: New file.
16262 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16263
16264 2016-01-12 Josh Stone <jistone@redhat.com>
16265 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16266
16267 * gdb.base/catch-syscall.c (do_execve): New variable.
16268 (main): Conditionally trigger an execve.
16269 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16270 (test_catch_syscall_execve): New, check entry/return across execve.
16271 (do_syscall_tests): Call test_catch_syscall_execve.
16272
16273 2016-01-12 Pedro Alves <palves@redhat.com>
16274
16275 * gdb.base/random-signal.exp (do_test): New procedure, with body
16276 of testcase moved in.
16277
16278 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16279 Pedro Alves <palves@redhat.com>
16280
16281 * gdb.base/funcargs.exp (finish from indirectly called function):
16282 Reintroduce the case for 'First'.
16283
16284 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16285 Pedro Alves <palves@redhat.com>
16286
16287 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16288 (tcatch_vfork_then_child_follow_exec)
16289 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16290 identification.
16291
16292 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16293
16294 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16295 and repeats to unlimited.
16296 * gdb.python/py-value.exp: Likewise.
16297 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16298 and repeats to unlimited.
16299
16300 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16301
16302 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16303 and reordering the functions.
16304 * gdb.multi/hangout.c: Likewise.
16305 * gdb.multi/hello.c: Likewise.
16306
16307 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16308
16309 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16310 absolute.
16311 (SingleStatisticTestResult.report): Use dict.keys instead of
16312 dict.iterkeys.
16313
16314 2016-01-06 Pedro Alves <palves@redhat.com>
16315
16316 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16317
16318 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16319
16320 * gdb.btrace/dlopen.exp: New.
16321 * gdb.btrace/dlopen.c: New.
16322 * gdb.btrace/dlopen-dso.c: New.
16323
16324 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16325
16326 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16327 PATTERN argument is optional.
16328
16329 2015-12-24 Joel Brobecker <brobecker@adacore.com>
16330
16331 * lib/ada.exp (target_compile_ada_from_dir): New function.
16332 (gdb_compile_ada): Reimplement avoiding the use of project files.
16333 * gdb.ada/gnat_ada.gpr: Delete.
16334 * gdb.ada/cond_lang.exp: Adjust test to make path before
16335 filename optional.
16336 * gdb.ada/small_reg_param.exp: Likewise.
16337
16338 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16339
16340 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16341
16342 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16343
16344 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16345 case.
16346
16347 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16348
16349 * gdb.base/break.exp: Remove dead code.
16350 * gdb.base/sepdebug.exp: Likewise.
16351
16352 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16353
16354 * gdb.asm/asm-source.exp: Remove HP-UX references.
16355 * gdb.base/annota1.exp: Likewise.
16356 * gdb.base/annota3.exp: Likewise.
16357 * gdb.base/attach.exp: Likewise.
16358 * gdb.base/bigcore.exp: Likewise.
16359 * gdb.base/break.exp: Likewise.
16360 * gdb.base/call-ar-st.exp: Likewise.
16361 * gdb.base/callfuncs.exp: Likewise.
16362 * gdb.base/catch-fork-static.exp: Likewise.
16363 * gdb.base/display.exp: Likewise.
16364 * gdb.base/foll-exec-mode.exp: Likewise.
16365 * gdb.base/foll-exec.exp: Likewise.
16366 * gdb.base/foll-fork.exp: Likewise.
16367 * gdb.base/foll-vfork.exp: Likewise.
16368 * gdb.base/funcargs.exp: Likewise.
16369 * gdb.base/hbreak2.exp: Likewise.
16370 * gdb.base/inferior-died.exp: Likewise.
16371 * gdb.base/interrupt.exp: Likewise.
16372 * gdb.base/multi-forks.exp: Likewise.
16373 * gdb.base/nodebug.exp: Likewise.
16374 * gdb.base/sepdebug.exp: Likewise.
16375 * gdb.base/solib1.c: Likewise.
16376 * gdb.base/step-test.exp: Likewise.
16377 * gdb.mi/non-stop.c: Likewise.
16378 * gdb.mi/pthreads.c: Likewise.
16379 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16380 * gdb.threads/pthreads.c: Likewise.
16381 * gdb.threads/staticthreads.exp: Likewise.
16382 * lib/future.exp: Likewise.
16383 * lib/gdb.exp: Likewise.
16384 * gdb.base/so-indr-cl.c: Remove.
16385 * gdb.base/so-indr-cl.exp: Likewise.
16386 * gdb.base/solib.c: Likewise.
16387 * gdb.base/solib.exp: Likewise.
16388 * gdb.base/solib2.c: Likewise.
16389
16390 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16391
16392 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16393 * gdb.base/call-ar-st.exp: Likewise.
16394 * gdb.base/callfuncs.exp: Likewise.
16395 * gdb.base/condbreak.exp: Likewise.
16396 * gdb.base/constvars.exp: Likewise.
16397 * gdb.base/hbreak2.exp: Likewise.
16398 * gdb.base/langs.exp: Likewise.
16399 * gdb.base/list.exp: Likewise.
16400 * gdb.base/long_long.exp: Likewise.
16401 * gdb.base/ptype.exp: Likewise.
16402 * gdb.base/scope.exp: Likewise.
16403 * gdb.base/signals.exp: Likewise.
16404 * gdb.base/so-impl-ld.exp: Likewise.
16405 * gdb.base/varargs.exp: Likewise.
16406 * gdb.base/volatile.exp: Likewise.
16407 * gdb.base/whatis.exp: Likewise.
16408 * gdb.cp/cplusfuncs.exp: Likewise.
16409 * gdb.cp/inherit.exp: Likewise.
16410 * gdb.cp/local.exp: Likewise.
16411 * gdb.cp/member-ptr.exp: Likewise.
16412 * gdb.cp/method.exp: Likewise.
16413 * gdb.cp/overload.exp: Likewise.
16414 * gdb.cp/templates.exp: Likewise.
16415 * gdb.stabs/weird.exp: Likewise.
16416 * lib/compiler.c: Likewise.
16417 * lib/compiler.cc: Likewise.
16418 * lib/cp-support.exp: Likewise.
16419 * lib/gdb.exp: Likewise.
16420
16421 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16422
16423 * configure.ac: Remove HP-UX case.
16424 * configure: Regenerate.
16425
16426 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16427
16428 * lib/gdb.exp (gdb_compile): Add function doc.
16429
16430 2015-12-17 Pedro Alves <palves@redhat.com>
16431
16432 PR threads/19354
16433 * gdb.multi/info-threads.exp: New file.
16434
16435 2015-12-15 Yao Qi <yao.qi@linaro.org>
16436
16437 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16438 is aarch64*-*-*.
16439
16440 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16441
16442 * gdb.base/history-duplicates.exp: Skip if no readline support.
16443
16444 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16445
16446 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16447
16448 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16449
16450 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16451
16452 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16453
16454 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16455 ctrl-C if nointerrupts target property is set.
16456 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16457 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16458 * gdb.base/paginate-bg-execution.exp: Likewise.
16459 * gdb.base/paginate-execution-startup.exp: Likewise.
16460 * gdb.base/random-signal.exp: Likewise.
16461 * gdb.base/range-stepping.exp: Likewise.
16462 * gdb.cp/annota2.exp: Likewise.
16463 * gdb.cp/annota3.exp: Likewise.
16464 * gdb.gdb/selftest.exp: Likewise.
16465 * gdb.threads/continue-pending-status.exp: Likewise.
16466 * gdb.threads/leader-exit.exp: Likewise.
16467 * gdb.threads/manythreads.exp: Likewise.
16468 * gdb.threads/pthreads.exp: Likewise.
16469 * gdb.threads/schedlock.exp: Likewise.
16470 * gdb.threads/sigthread.exp: Likewise.
16471
16472 2015-12-11 Don Breazeal <donb@codesourcery.com>
16473
16474 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16475 remote.
16476 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16477 * gdb.base/foll-exec.exp (main): Enable for target remote.
16478 * gdb.base/foll-fork.exp (main): Likewise.
16479 * gdb.base/foll-vfork.exp (main): Likewise.
16480 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16481 (proc continue_to_exit_bp_loc): Use clean_restart.
16482 * gdb.base/pie-execl.exp (main): Disable for target remote.
16483 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16484 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16485 * gdb.threads/execl.exp (main): Likewise.
16486 * gdb.threads/fork-child-threads.exp (main): Likewise.
16487 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16488 remote.
16489 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16490 remote.
16491 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16492 pid.tid style ptids, instead of just tid.
16493 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16494 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16495 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16496 ptids, instead of just tid.
16497
16498 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16499
16500 * gdb.base/list.exp (test_list_forward): Add end of file error
16501 test.
16502 (test_repeat_list_command): Add end of file error test.
16503 (test_list_backwards): Add beginning of file error test.
16504
16505 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16506
16507 * gdb.base/list.exp (test_list_invalid_args): New function,
16508 defined, and called.
16509
16510 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16511
16512 * gdb.base/list.exp (test_list): Make test names unique.
16513
16514 2015-12-11 Yao Qi <yao.qi@linaro.org>
16515
16516 * gdb.base/coremaker2.c: Remove.
16517
16518 2015-12-10 Pedro Alves <palves@redhat.com>
16519
16520 * gdb.multi/base.exp: Remove stale "spaces" references.
16521
16522 2015-12-10 Pedro Alves <palves@redhat.com>
16523
16524 * gdb.multi/base.exp: Don't use nowarnings.
16525 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16526 * gdb.multi/hangout.c: Include stdio.h.
16527 * gdb.multi/hello.c: Include stdlib.h.
16528 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16529 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16530 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16531
16532 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16533
16534 * gdb.dwarf2/dw2-ranges-base.c: New file.
16535 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16536 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16537 support additional line table, and debug ranges generation.
16538 (Dwarf::ranges): New function, generate .debug_ranges.
16539 (Dwarf::lines): Support generating simple line table programs.
16540 (Dwarf::assemble): Initialise new namespace variables.
16541
16542 2015-12-09 Kevin Buettner <kevinb@redhat.com>
16543
16544 * gdb.base/async.exp (proc test_background): Add case for
16545 asynchronous execution not supported.
16546
16547 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
16548
16549 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16550 format and change test names to make them unique.
16551
16552 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16553 Pedro Alves <pedro@redhat.com>
16554
16555 PR gdb/18702
16556 Add checking of floatformats setup on x86_64 hosts.
16557 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16558 (smallval, bigval): New labels/constants.
16559 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16560 float" after loading bigval and smallval.
16561
16562 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16563
16564 * gdb.ada/fun_overload_menu.exp: New testcase.
16565 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16566
16567 2015-12-04 Josh Stone <jistone@redhat.com>
16568
16569 * gdb.base/catch-fork-static.exp: New.
16570
16571 2015-12-03 Yao Qi <yao.qi@linaro.org>
16572
16573 * gdb.base/sizeof.c: Don't include stdio.h and
16574 ../lib/unbuffer_output.c.
16575 (main): New variable 'size' and 'value'. Remove printf and
16576 gdb_unbuffer_output. Assign return value to size and value.
16577 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16578 at the beginning.
16579 (check_sizeof): Check the result by printing variable 'size'.
16580 (check_valueof): Check the result by printing variable 'value'.
16581
16582 2015-12-01 Yao Qi <yao.qi@linaro.org>
16583
16584 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16585 for aarch64*-*-linux* target.
16586
16587 2015-11-30 Pedro Alves <palves@redhat.com>
16588
16589 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16590
16591 2015-11-30 Pedro Alves <palves@redhat.com>
16592
16593 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16594 Handle non-stop mode vCont replies.
16595
16596 2015-11-30 Pedro Alves <palves@redhat.com>
16597
16598 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16599 prepare_for_testing. Start gdb with "set non-stop on" appended to
16600 GDBFLAGS. Lax expected stop output.
16601
16602 2015-11-27 Yao Qi <yao.qi@linaro.org>
16603
16604 * gdb.arch/arm-neon.exp: New.
16605 * gdb.arch/arm-neon.c: New.
16606
16607 2015-11-27 Yao Qi <yao.qi@linaro.org>
16608
16609 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16610
16611 2015-11-27 Yao Qi <yao.qi@linaro.org>
16612
16613 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16614 frames-invalid annotation.
16615
16616 2015-11-27 Yao Qi <yao.qi@linaro.org>
16617
16618 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16619
16620 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16621
16622 * gdb.threads/names.exp: New file.
16623 * gdb.threads/names.c: New file.
16624 * README: Mention gdb,no_thread_names.
16625
16626 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16627
16628 PR 19297
16629 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16630 support" error.
16631
16632 2015-11-24 Pedro Alves <palves@redhat.com>
16633
16634 PR 17539
16635 * gdb.base/display.exp: Expect displays to be sorted in ascending
16636 order. Use multi_line.
16637 * gdb.base/solib-display.exp: Likewise.
16638
16639 2015-11-24 Pedro Alves <palves@redhat.com>
16640
16641 PR 17539
16642 * gdb.base/display.exp: Expect displays to be sorted in ascending
16643 order. Use multi_line.
16644 * gdb.base/solib-display.exp: Likewise.
16645
16646 2015-11-24 Pedro Alves <palves@redhat.com>
16647
16648 PR 17539
16649 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16650 threads in ascending order.
16651 * gdb.base/foll-fork.exp: Likewise.
16652 * gdb.base/foll-vfork.exp: Likewise.
16653 * gdb.base/multi-forks.exp: Likewise.
16654 * gdb.mi/mi-nonstop.exp: Likewise.
16655 * gdb.mi/mi-nsintrall.exp: Likewise.
16656 * gdb.multi/base.exp: Likewise.
16657 * gdb.multi/multi-arch.exp: Likewise.
16658 * gdb.python/py-inferior.exp: Likewise.
16659 * gdb.threads/break-while-running.exp: Likewise.
16660 * gdb.threads/execl.exp: Likewise.
16661 * gdb.threads/gcore-thread.exp: Likewise.
16662 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16663 * gdb.threads/kill.exp: Likewise.
16664 * gdb.threads/linux-dp.exp: Likewise.
16665 * gdb.threads/multiple-step-overs.exp: Likewise.
16666 * gdb.threads/next-bp-other-thread.exp: Likewise.
16667 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16668 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16669 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16670 * gdb.threads/thread-find.exp: Likewise.
16671 * gdb.threads/tls.exp: Likewise.
16672 * lib/mi-support.exp (mi_reverse_list): Delete.
16673 (mi_check_thread_states): No longer reverse list.
16674
16675 2015-11-24 Pedro Alves <palves@redhat.com>
16676
16677 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16678 use lowercase.
16679
16680 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16681
16682 * gdb.trace/actions.c: Include trace-common.h.
16683 (main): Add a location for a fast tracepoint.
16684 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16685 the normal tracepoints.
16686 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16687
16688 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16689
16690 * save-trace.exp: Factor out code to these...
16691 (gdb_save_tracepoints): New.
16692 (gdb_load_tracepoints): New.
16693 (do_save_load_test): New.
16694
16695 2015-11-23 Kevin Buettner <kevinb@redhat.com>
16696
16697 * gdb.base/asmlabel.exp: New test.
16698 * gdb.base/asmlabel.c: New test case.
16699
16700 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16701
16702 * gdb.base/wrong_frame_bt_full-main.c: New file.
16703 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16704 * gdb.base/wrong_frame_bt_full.exp: New file.
16705
16706 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16707
16708 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16709
16710 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16711
16712 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
16713 pstate register when comparing registers values in
16714 sparc64-*-linux-gnu targets to avoid spurious differences.
16715
16716 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16717
16718 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
16719
16720 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16721
16722 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16723 as type argument to gdb_compile.
16724 * gdb.base/nested-subp2.exp: Likewise.
16725 * gdb.base/nested-subp3.exp: Likewise.
16726
16727 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16728
16729 * lib/dwarf.exp (_note): Fix left shift of negative value.
16730 * gdb.trace/trace-condition.exp: Likewise.
16731
16732 2015-11-13 Yao Qi <yao.qi@linaro.org>
16733
16734 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16735 comments about d10v.
16736 (test_scalar_returns): Likewise.
16737 * gdb.base/d10v.ld: Remove.
16738 * gdb.base/overlays.exp: Remove the target triplet checking for
16739 d10v-*-*.
16740 * gdb.base/structs.exp (test_struct_returns): Remove the
16741 comments about d10v.
16742 (test_struct_calls): Likewise.
16743
16744 2015-11-13 Yao Qi <yao.qi@linaro.org>
16745
16746 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16747 * gdb.base/gnu_vector.c: Don't include stdio.h.
16748 (main): Don't print res and call add_some_intvecs.
16749
16750 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16751
16752 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16753 macro.
16754 (func5): Removed.
16755 (func4): Use FAST_TRACEPOINT_LABEL.
16756 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16757 macro.
16758 (func): Removed.
16759 (thread_function): Use FAST_TRACEPOINT_LABEL.
16760 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16761 (func): Remove.
16762 (marker): Use FAST_TRACEPOINT_LABEL.
16763 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16764 (pendfunc1): Remove.
16765 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16766 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16767 (foo): Remove.
16768 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16769 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16770 macro.
16771 (func): Remove.
16772 (marker): Use FAST_TRACEPOINT_LABEL.
16773 * gdb.trace/trace-common.h: New header.
16774 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16775 macro.
16776 (func): Remove.
16777 (marker): Use FAST_TRACEPOINT_LABEL.
16778 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16779 (func): Remove.
16780 (thread_function): Use FAST_TRACEPOINT_LABEL.
16781
16782 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16783
16784 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16785 in front.
16786 * gdb.trace/change-loc.exp: Use global pcreg definition.
16787 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16788 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16789 in front.
16790 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16791 * gdb.trace/pending.exp: Likewise.
16792 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16793 * gdb.trace/trace-break.exp: Likewise.
16794 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16795 in front.
16796 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16797 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16798 in front.
16799 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16800
16801 2015-11-09 Joel Brobecker <brobecker@adacore.com>
16802
16803 * gdb.ada/fin_fun_out: New testcase.
16804
16805 2015-11-07 Kevin Buettner <kevinb@redhat.com>
16806
16807 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16808 value associated with DW_AT_byte_size.
16809 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16810 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16811 DW_AT_upper_bound.
16812
16813 2015-11-07 Kevin Buettner <kevinb@redhat.com>
16814
16815 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16816 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16817 version.
16818 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16819 gdb.dwarf2/dw2-canonicalize-type.exp,
16820 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16821 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16822 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16823 provided by gdb_target_symbol_prefix_flags_asm.
16824 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16825 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16826 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16827 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16828 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16829 macros where needed). Use this macro for symbols which require
16830 the prefix provided by SYMBOL_PREFIX.
16831
16832 2015-11-05 Kevin Buettner <kevinb@redhat.com>
16833
16834 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16835 New procs.
16836 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16837 representing expressions, of more than one list element.
16838 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16839 to prepend linker symbol prefix to f.
16840 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16841 table_1 and table_2.
16842 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16843 Likewise, for f and g.
16844 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16845 for ptr.
16846 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16847 for main.
16848 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16849 table_1_ptr and table_2_ptr.
16850
16851 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16852 Joel Brobecker <brobecker@adacore.com>
16853
16854 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16855
16856 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16857
16858 * gdb.reverse/s390-mvcle.c: New test.
16859 * gdb.reverse/s390-mvcle.exp: New file.
16860 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16861
16862 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16863
16864 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16865
16866 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16867
16868 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16869 reaching marker2.
16870 * gdb.reverse/getresuid-reverse.exp: Likewise.
16871 * gdb.reverse/pipe-reverse.exp: Likewise.
16872 * gdb.reverse/readv-reverse.exp: Likewise.
16873 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16874 * gdb.reverse/time-reverse.exp: Likewise.
16875 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16876
16877 2015-10-30 Yao Qi <yao.qi@linaro.org>
16878
16879 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16880 (empty_cycle): Remove.
16881 (main): Don't call empty_cycle. Don't use watch_count_done.
16882 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16883 empty_cycle. Rewrite the code counting HW watchpoints.
16884
16885 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16886
16887 * gdb.reverse/fstatat-reverse.c: New test.
16888 * gdb.reverse/fstatat-reverse.exp: New file.
16889 * gdb.reverse/getresuid-reverse.c: New test.
16890 * gdb.reverse/getresuid-reverse.exp: New file.
16891 * gdb.reverse/pipe-reverse.c: New test.
16892 * gdb.reverse/pipe-reverse.exp: New file.
16893 * gdb.reverse/readv-reverse.c: New test.
16894 * gdb.reverse/readv-reverse.exp: New file.
16895 * gdb.reverse/recvmsg-reverse.c: New test.
16896 * gdb.reverse/recvmsg-reverse.exp: New file.
16897 * gdb.reverse/time-reverse.c: New test.
16898 * gdb.reverse/time-reverse.exp: New file.
16899 * gdb.reverse/waitpid-reverse.c: New test.
16900 * gdb.reverse/waitpid-reverse.exp: New file.
16901
16902 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16903
16904 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16905
16906 2015-10-26 Doug Evans <dje@google.com>
16907
16908 PR symtab/17391
16909 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16910 * gdb.dwarf2/bad-regnum.c: New file.
16911 * gdb.dwarf2/bad-regnum.exp: New file.
16912
16913 2015-10-26 Doug Evans <dje@google.com>
16914
16915 PR python/18938
16916 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16917 file.
16918
16919 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16920
16921 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16922 for a change by "Mention language in compile error message".
16923
16924 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16925
16926 PR python/18073
16927 * gdb.python/py-type.c (C::a_method): New.
16928 (C::a_const_method): New.
16929 (C::a_static_method): New.
16930 (a_function): New.
16931 * gdb.python/py-type.exp (test_fields): Test getting fields
16932 from function and method.
16933
16934 2015-10-21 Keven Boell <keven.boell@intel.com>
16935
16936 * gdb.fortran/vla-alloc-assoc.exp: New file.
16937 * gdb.fortran/vla-datatypes.exp: New file.
16938 * gdb.fortran/vla-datatypes.f90: New file.
16939 * gdb.fortran/vla-history.exp: New file.
16940 * gdb.fortran/vla-ptype-sub.exp: New file.
16941 * gdb.fortran/vla-ptype.exp: New file.
16942 * gdb.fortran/vla-sizeof.exp: New file.
16943 * gdb.fortran/vla-sub.f90: New file.
16944 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16945 * gdb.fortran/vla-value-sub-finish.exp: New file.
16946 * gdb.fortran/vla-value-sub.exp: New file.
16947 * gdb.fortran/vla-value.exp: New file.
16948 * gdb.fortran/vla-ptr-info.exp: New file.
16949 * gdb.mi/mi-vla-fortran.exp: New file.
16950 * gdb.mi/vla.f90: New file.
16951
16952 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16953
16954 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16955 of hardwired timeout value.
16956
16957 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16958 Pedro Alves <palves@redhat.com>
16959
16960 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16961 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16962
16963 2015-10-19 Josh Stone <jistone@redhat.com>
16964
16965 * gdb.base/catch-syscall.c: Include <sched.h>.
16966 (unknown_syscall): New variable.
16967 (main): Trigger a vfork and an unknown syscall.
16968 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16969 (unknown_syscall_number): Likewise.
16970 (check_call_to_syscall): Accept an optional syscall pattern.
16971 (check_return_from_syscall): Likewise.
16972 (check_continue): Likewise.
16973 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16974 (test_catch_syscall_skipping_return): New test toggling off 'catch
16975 syscall' to step over the syscall return, then toggling back on.
16976 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16977 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16978 (do_syscall_tests): Call test_catch_syscall_without_args and
16979 test_catch_syscall_mid_vfork.
16980 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16981 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16982
16983 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
16984
16985 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16986 print g_vE): Add new pass patterns.
16987 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16988 print various symbol names for vptr fields.
16989
16990 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16991
16992 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16993 results.
16994
16995 2015-10-12 Yao Qi <yao.qi@linaro.org>
16996
16997 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16998
16999 2015-10-12 Yao Qi <yao.qi@linaro.org>
17000
17001 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17002 is aarch64*-*-linux*.
17003
17004 2015-10-12 Yao Qi <yao.qi@linaro.org>
17005
17006 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17007 (can_relocate_bcond_true): ... it.
17008 (can_relocate_bcond_false): New function.
17009 (foo): Likewise.
17010 (can_relocate_bl): Likewise.
17011 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17012 can_relocate_bl.
17013
17014 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17015
17016 * gdb.base/nested-addr.c: New file.
17017 * gdb.base/nested-addr.exp: New testcase.
17018
17019 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17020
17021 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17022 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17023 its output. Ignore the output of "record goto begin" and instead
17024 check that GDB is replaying.
17025
17026 2015-10-09 Pedro Alves <palves@redhat.com>
17027
17028 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17029 (top level): Use it in the run with no args test.
17030
17031 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17032
17033 * gdb.dlang/properties.exp: New file.
17034
17035 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17036
17037 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17038 whether or not address 0x1000 is mapped on the target.
17039
17040 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17041
17042 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17043 build.
17044
17045 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17046
17047 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17048 instruction-history test.
17049
17050 2015-09-28 Doug Evans <dje@google.com>
17051
17052 * gdb.base/gcore.c (array_func): Add reference to static_array.
17053
17054 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17055
17056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17057 source line.
17058
17059 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17060
17061 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17062 short or char as base type.
17063
17064 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17065
17066 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17067 to allow any size enum.
17068
17069 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17070
17071 * gdb.ada/array_ptr_renaming.exp: New testcase.
17072 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17073 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17074
17075 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17076
17077 * gdb.trace/ftrace-lock.c: New file.
17078 * gdb.trace/ftrace-lock.exp: New file.
17079
17080 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17081
17082 * gdb.arch/insn-reloc.c: New file.
17083 * gdb.arch/ftrace-insn-reloc.exp: New file.
17084
17085 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17086
17087 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17088 instruction.
17089 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17090 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17091 * gdb.trace/range-stepping.c: Likewise.
17092 * gdb.trace/trace-break.c: Likewise.
17093 * gdb.trace/trace-mt.c (thread_function): Likewise.
17094 * gdb.trace/ftrace.c (marker): Likewise.
17095 * gdb.trace/trace-condition.c (marker): Likewise.
17096 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17097 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17098 is_aarch64_target.
17099
17100 2015-09-18 Doug Evans <xdje42@gmail.com>
17101
17102 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17103 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17104
17105 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17106
17107 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17108 the breakpoint.
17109
17110 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17111
17112 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17113 the pending breakpoint. Remove timeout override for "Run till
17114 MI pending breakpoint on pendfunc3 on thread 2" test.
17115
17116 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17117
17118 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17119 filename pattern.
17120
17121 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17122
17123 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17124 in breakpoint filename pattern.
17125
17126 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17127
17128 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17129
17130 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17131
17132 * gdb.linespec/explicit.exp: Check for readline support for
17133 tab-completion tests. Fix obvious typo.
17134
17135 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17136
17137 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17138 and replay.
17139
17140 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17141
17142 * gdb.btrace/non-stop.c: New.
17143 * gdb.btrace/non-stop.exp: New.
17144
17145 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17146 Yao Qi <yao.qi@linaro.org>
17147
17148 * gdb.trace/trace-condition.c: New file.
17149 * gdb.trace/trace-condition.exp: New file.
17150
17151 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
17152
17153 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17154 for testing bytecode compilation.
17155
17156 2015-09-16 Pedro Alves <palves@redhat.com>
17157 Sandra Loosemore <sandra@codesourcery.com>
17158
17159 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17160 (SECONDS): Redefine.
17161 (main): Call pthread_kill and alarm early.
17162 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17163 support.
17164 (test): If the target can't hardware step and doesn't support
17165 displaced stepping, increase the timeout.
17166
17167 2015-09-16 Pedro Alves <palves@redhat.com>
17168
17169 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17170 (enable_debug): New procedures.
17171 (test): Use them. Bail out if waiting for threads fails.
17172 (top level): Bail out if a test fails.
17173
17174 2015-09-16 Yao Qi <yao.qi@linaro.org>
17175
17176 * gdb.asm/asm-source.exp: Set asm-arch for
17177 aarch64*-*-* target.
17178 * gdb.asm/aarch64.inc: New file.
17179
17180 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17181
17182 * gdb.ada/array_of_variable_length.exp: New testcase.
17183 * gdb.ada/array_of_variable_length/foo.adb: New file.
17184 * gdb.ada/array_of_variable_length/pck.adb: New file.
17185 * gdb.ada/array_of_variable_length/pck.ads: New file.
17186
17187 2015-09-15 Doug Evans <dje@google.com>
17188
17189 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17190 of function static local variable.
17191
17192 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17193
17194 * gdb.threads/tls-so_extern.exp: New test file.
17195 * gdb.threads/tls-so_extern.c: New test file.
17196 * gdb.threads/tls-so_extern_main.c: New test file.
17197
17198 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17199
17200 * gdb.opt/solib-intra-step-lib.c: New file.
17201 * gdb.opt/solib-intra-step-main.c: New file.
17202 * gdb.opt/solib-intra-step.exp: New file.
17203
17204 2015-09-15 Pedro Alves <palves@redhat.com>
17205
17206 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17207 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17208
17209 2015-09-14 Pedro Alves <palves@redhat.com>
17210
17211 * gdb.base/hook-stop-continue.c: Delete.
17212 * gdb.base/hook-stop-continue.exp: Delete.
17213 * gdb.base/hook-stop-frame.c: Delete.
17214 * gdb.base/hook-stop-frame.exp: Delete.
17215 * gdb.base/hook-stop.c: New file.
17216 * gdb.base/hook-stop.exp: New file.
17217
17218 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17219
17220 * gdb.ada/access_to_packed_array.exp: New testcase.
17221 * gdb.ada/access_to_packed_array/foo.adb: New file.
17222 * gdb.ada/access_to_packed_array/pack.adb: New file.
17223 * gdb.ada/access_to_packed_array/pack.ads: New file.
17224
17225 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17226
17227 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17228 buffer size test.
17229
17230 2015-09-11 Don Breazeal <donb@codesourcery.com>
17231
17232 * gdb.base/foll-exec.c: Add copyright header. Fix
17233 formatting issues.
17234 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17235 (do_exec_tests): Use clean_restart in place of zap_session,
17236 and for test initialization. Fix formatting issues. Use
17237 fail in place of perror.
17238 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17239 an expect statement to match an expression with output from
17240 the program under debug.
17241 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17242 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17243 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17244 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17245 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17246
17247 2015-09-09 Doug Evans <dje@google.com>
17248
17249 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17250
17251 2015-09-09 Doug Evans <dje@google.com>
17252
17253 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17254
17255 2015-09-09 Doug Evans <dje@google.com>
17256
17257 * gdb.base/savedregs.exp: Fix typo.
17258
17259 2015-09-09 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17262
17263 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17264
17265 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17266 command actually switches threads. Give up on remaining
17267 tests if target fails to stop at breakpoint.
17268
17269 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17270
17271 * gdb.ada/funcall_char.exp: New testcase.
17272 * gdb.ada/funcall_char/foo.adb: New file.
17273
17274 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17275
17276 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17277 expected outputs. Add two testcases for completing ambiguous
17278 functions.
17279 * gdb.ada/complete/aux_pck.adb: New file.
17280 * gdb.ada/complete/aux_pck.ads: New file.
17281 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17282 Ambiguous_Func functions.
17283 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17284 * gdb.ada/complete/pck.adb: Likewise.
17285
17286 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17287
17288 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17289 failures to run the test program under GDB.
17290
17291 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
17292
17293 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17294 to C.
17295
17296 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17297
17298 * gdb.base/run-after-attach.exp: New test file.
17299 * gdb.base/run-after-attach.c: New test file.
17300
17301 2015-08-26 Don Breazeal <donb@codesourcery.com>
17302
17303 * gdb.base/foll-exec-2.c: New test program.
17304 * gdb.base/foll-exec-2.exp: New test.
17305
17306 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17307
17308 * gdb.base/nested-subp1.exp: New file.
17309 * gdb.base/nested-subp1.c: New file.
17310 * gdb.base/nested-subp2.exp: New file.
17311 * gdb.base/nested-subp2.c: New file.
17312 * gdb.base/nested-subp3.exp: New file.
17313 * gdb.base/nested-subp3.c: New file.
17314
17315 2015-08-24 Pedro Alves <palves@redhat.com>
17316
17317 * gdb.server/connect-without-multi-process.c: New file.
17318 * gdb.server/connect-without-multi-process.exp: New file.
17319
17320 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17321
17322 * gdb.opt/inline-markers.c: Make z int.
17323
17324 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17325
17326 * gdb.opt/inline-markers.c: Make z volatile.
17327
17328 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17329
17330 * gdb.opt/inline-bt.c: New volatile global z.
17331 * gdb.opt/inline-cmds.c: Likewise.
17332 * gdb.opt/inline-locals.c: Likewise.
17333 * gdb.opt/inline-markers.c: New extern global z.
17334 (marker): Use z.
17335 (inline_fn): Likewise.
17336
17337 2015-08-24 Pedro Alves <palves@redhat.com>
17338
17339 * config/m32r-stub.exp: Remove file.
17340 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17341 * gdb.base/call-rt-st.exp: Likewise.
17342 * gdb.base/call-strs.exp: Likewise.
17343 * gdb.base/default.exp: Remove references to h8300-*-hms and
17344 *-*-udi*.
17345 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17346
17347 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17348
17349 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17350 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17351 and "return" use KFAIL when GDB can not read/write the vector
17352 return value.
17353
17354 2015-08-21 Gary Benson <gbenson@redhat.com>
17355
17356 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17357
17358 2015-08-20 Pedro Alves <palves@redhat.com>
17359
17360 * gdb.server/solib-list.exp: No longer expect an interior stop in
17361 non-stop mode.
17362
17363 2015-08-20 Pedro Alves <palves@redhat.com>
17364
17365 * gdb.server/connect-stopped-target.c: New file.
17366 * gdb.server/connect-stopped-target.exp: New file.
17367
17368 2015-08-20 Pedro Alves <palves@redhat.com>
17369
17370 * gdb.dwarf2/comp-unit-lang.exp: New file.
17371 * gdb.dwarf2/comp-unit-lang.c: New file.
17372
17373 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17374
17375 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17376 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17377
17378 2015-08-19 Kevin Buettner <kevinb@redhat.com>
17379
17380 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17381 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17382
17383 2015-08-18 Doug Evans <dje@google.com>
17384 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17385
17386 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17387 skip_python_tests. New arg prompt_regexp.
17388 (skip_python_tests): New function.
17389 * lib/mi-support.exp (mi_skip_python_tests): New function.
17390 * gdb.python/py-mi-objfile-gdb.py: New file.
17391 * gdb.python/py-mi-objfile.c: New file.
17392 * gdb.python/py-mi-objfile.exp: New file.
17393
17394 2015-08-17 Keith Seitz <keiths@redhat.com>
17395
17396 * gdb.linespec/explicit.exp: Move strace test from here ...
17397 * gdb.trace/strace.exp: ... to here.
17398
17399 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17400
17401 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17402 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17403
17404 2015-08-14 Doug Evans <xdje42@gmail.com>
17405
17406 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17407 inferior before selecting a new file.
17408
17409 2015-08-14 Doug Evans <xdje42@gmail.com>
17410
17411 * gdb.mi/mi-disassemble.exp: Update.
17412 * gdb.base/disasm-optim.S: New file.
17413 * gdb.base/disasm-optim.c: New file.
17414 * gdb.base/disasm-optim.h: New file.
17415 * gdb.base/disasm-optim.exp: New file.
17416
17417 2015-08-14 Keith Seitz <keiths@redhat.com>
17418
17419 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17420 "evaluated-by".
17421
17422 2015-08-13 Joel Brobecker <brobecker@adacore.com>
17423
17424 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17425
17426 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17427
17428 * gdb.ada/fun_renaming.exp: New testcase.
17429 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17430 * gdb.ada/fun_renaming/pack.adb: New file.
17431 * gdb.ada/fun_renaming/pack.ads: New file.
17432
17433 2015-08-12 Keith Seitz <keiths@redhat.com>
17434
17435 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17436 gdb_get_line_number.
17437
17438 2015-08-12 Joel Brobecker <brobecker@adacore.com>
17439
17440 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17441 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17442 gdb.base/dso2dso.exp: New files.
17443
17444 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17445 Pedro Alves <palves@redhat.com>
17446 Keith Seitz <keiths@redhat.com>
17447
17448 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17449 GDBFLAGS.
17450
17451 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17452
17453 * gdb.base/gdbhistsize-history.exp
17454 (test_histsize_history_setting): Use save_vars.
17455 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17456 Use save_vars.
17457 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17458 * gdb.base/readline.exp: Use save_vars.
17459
17460 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17461
17462 * lib/gdb.exp (save_vars): New proc.
17463
17464 2015-08-11 Keith Seitz <keiths@redhat.com>
17465
17466 * gdb.base/help.exp: Update help_breakpoint_text.
17467
17468 2015-08-11 Keith Seitz <keiths@redhat.com>
17469
17470 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17471 (at toplevel): Call test_explicit_breakpoints.
17472 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17473 breakpoints.
17474 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17475 breakpoint conditions, "-cond".
17476
17477 2015-08-11 Keith Seitz <keiths@redhat.com>
17478
17479 * gdb.linespec/3explicit.c: New file.
17480 * gdb.linespec/cpexplicit.cc: New file.
17481 * gdb.linespec/cpexplicit.exp: New file.
17482 * gdb.linespec/explicit.c: New file.
17483 * gdb.linespec/explicit.exp: New file.
17484 * gdb.linespec/explicit2.c: New file.
17485 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17486 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17487 before using in the matching pattern.
17488 Clarify that `prefix' is a regular expression.
17489
17490 2015-08-11 Keith Seitz <keiths@redhat.com>
17491
17492 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17493 test.
17494 Add tests for missing ",FMT" and ",".
17495
17496 2015-08-10 Doug Evans <dje@google.com>
17497 Keith Seitz <keiths@redhat.com>
17498
17499 PR gdb/17960
17500 * gdb.base/completion.exp: Add location completer tests.
17501
17502 2015-08-07 Pedro Alves <palves@redhat.com>
17503
17504 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17505 tests here.
17506 (top level): Run do_test with and without displaced stepping.
17507
17508 2015-08-07 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.base/valgrind-disp-step.c: New file.
17511 * gdb.base/valgrind-disp-step.exp: New file.
17512
17513 2015-08-07 Pedro Alves <palves@redhat.com>
17514
17515 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17516 Delete function.
17517 (main): Add alarm. Run an infinite loop instead of calling
17518 wait_threads.
17519 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17520 comment.
17521 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17522 Delete function.
17523 (main): Add alarm. Run an infinite loop instead of calling
17524 wait_threads.
17525 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17526 comment.
17527
17528 2015-08-07 Pedro Alves <palves@redhat.com>
17529
17530 * gdb.base/checkpoint-ns.exp: New file.
17531 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17532 standard_testfile.
17533
17534 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17535
17536 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17537 * gdb.btrace/instruction_history.exp: Update.
17538 * gdb.btrace/tsx.exp: New.
17539 * gdb.btrace/tsx.c: New.
17540
17541 2015-08-06 Pedro Alves <palves@redhat.com>
17542
17543 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17544 increase timeout.
17545 * gdb.reverse/until-precsave.exp: Bump timeouts.
17546
17547 2015-08-06 Pedro Alves <palves@redhat.com>
17548
17549 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17550
17551 2015-08-06 Pedro Alves <palves@redhat.com>
17552
17553 PR gdb/18749
17554 * gdb.threads/process-dies-while-handling-bp.c: New file.
17555 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17556
17557 2015-08-06 Pedro Alves <palves@redhat.com>
17558
17559 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17560 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17561
17562 2015-08-05 Pedro Alves <palves@redhat.com>
17563
17564 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17565 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17566
17567 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17568
17569 * gdb.base/bp-permanent.exp: Report test as unsupported if
17570 the target cannot stop at the permanent breakpoint.
17571
17572 2015-08-03 Doug Evans <dje@google.com>
17573
17574 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17575 10000.
17576
17577 2015-08-03 Doug Evans <dje@google.com>
17578
17579 * Makefile.in (workers/%.worker, build-perf): New rule.
17580 (GDB_PERFTEST_MODE): New variable.
17581 (check-perf): Use it.
17582 (clean): Clean up gdb.perf parallel build subdirs.
17583 * lib/build-piece.exp: New file.
17584 * lib/gdb.exp (make_gdb_parallel_path): New function
17585 (standard_output_file, standard_temp_file): Call it.
17586 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17587 of $GDB_PARALLEL.
17588 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17589
17590 2015-08-03 Doug Evans <dje@google.com>
17591
17592 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
17593 (LOG_FILE_NAME): New global.
17594 (TextReporter.__init__): Initialize self.txt_sum.
17595 (TextReporter.report): Add support for multiple data-points.
17596 Move report to perftest.sum, put raw data in perftest.log.
17597 (TextReporter.start): Open sum and log files.
17598 (TextReporter.end): Close sum and log files.
17599 * gdb.perf/lib/perftest/testresult.py
17600 (SingleStatisticTestResult.record): Handle multiple data-points.
17601
17602 2015-07-31 Pedro Alves <palves@redhat.com>
17603
17604 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17605 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17606 kill_wait_spawned_process instead of explicit "kill -9".
17607 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17608 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17609 kill_wait_spawned_process.
17610 * gdb.base/attach-twice.exp: Likewise.
17611 * gdb.base/attach.exp: Likewise.
17612 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17613 gdb_test_multiple.
17614 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17615 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17616 kill_wait_spawned_process.
17617 * gdb.base/valgrind-infcall.exp: Likewise.
17618 * gdb.multi/multi-attach.exp: Likewise.
17619 * gdb.python/py-prompt.exp: Likewise.
17620 * gdb.python/py-sync-interp.exp: Likewise.
17621 * gdb.server/ext-attach.exp: Likewise.
17622 * gdb.threads/attach-into-signal.exp (corefunc): Use
17623 spawn_wait_for_attach, spawn_id_get_pid and
17624 kill_wait_spawned_process.
17625 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17626 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17627 spawn_id_get_pid and kill_wait_spawned_process.
17628 * gdb.threads/attach-stopped.exp (corefunc): Use
17629 spawn_wait_for_attach, spawn_id_get_pid and
17630 kill_wait_spawned_process.
17631 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17632 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17633 kill_wait_spawned_process instead of explicit "kill -9".
17634 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17635 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17636 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17637 processes. Don't map cygwin/windows pids here. Now returns a
17638 spawn id list.
17639
17640 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17641
17642 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17643 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17644 correct patch.
17645
17646 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17647
17648 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17649
17650 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17651
17652 Reapply:
17653 2014-05-21 Mark Wielaard <mjw@redhat.com>
17654
17655 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17656
17657 2015-07-30 Pedro Alves <palves@redhat.com>
17658
17659 * linux-low.c (handle_extended_wait): Set the child's last
17660 reported status to TARGET_WAITKIND_STOPPED.
17661
17662 2015-07-30 Pedro Alves <palves@redhat.com>
17663
17664 PR threads/18600
17665 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17666 only shows inferior 1.
17667
17668 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17669 Pedro Alves <palves@redhat.com>
17670
17671 PR threads/18600
17672 * gdb.threads/fork-plus-threads.c: New file.
17673 * gdb.threads/fork-plus-threads.exp: New file.
17674
17675 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17676
17677 * gdb.base/batch-preserve-term-settings.exp
17678 (test_terminal_settings_preserved_after_cli_exit): Use
17679 send_quit_command.
17680
17681 2015-07-29 Pedro Alves <palves@redhat.com>
17682 Don Breazeal <donb@codesourcery.com>
17683
17684 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17685 output from both inferior_spawn_id and gdb_spawn_id.
17686
17687 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17688
17689 * gdb.threads/attach-into-signal.exp (corefunc): Use
17690 with_test_prefix on nested loops, uniquefying the test messages.
17691
17692 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17693
17694 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17695 commit.
17696
17697 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17698
17699 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17700 New proc.
17701 (test_terminal_settings_preserved_after_sigterm): New test.
17702
17703 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17704
17705 * gdb.base/batch-preserve-term-settings.exp
17706 (test_terminal_settings_preserved_after_cli_exit): New test.
17707
17708 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17709
17710 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17711 manipulation of saved_gdbflags.
17712 (test_terminal_settings_preserved): Remove global declaration of
17713 the unused variable pagination_prompt. Remove manipulation of
17714 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17715 GDBFLAGS.
17716
17717 2015-07-29 Pedro Alves <palves@redhat.com>
17718
17719 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17720
17721 2015-07-29 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17724 at the top.
17725
17726 2015-07-29 Pedro Alves <palves@redhat.com>
17727
17728 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17729 (main): Call gdb_unbuffer_output.
17730 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17731 (main): Call gdb_unbuffer_output.
17732 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17733 (main): Call gdb_unbuffer_output.
17734 * gdb.base/call-strs.exp: Adjust to step over the
17735 gdb_unbuffer_output call.
17736 * gdb.base/catch-gdb-caused-signals.c: Include
17737 "../lib/unbuffer_output.c".
17738 (main): Call gdb_unbuffer_output.
17739 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17740 (main): Call gdb_unbuffer_output.
17741 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17742 (main): Call gdb_unbuffer_output.
17743 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17744 (main): Call gdb_unbuffer_output.
17745 * gdb.base/shlib-call.exp: Adjust to step over the
17746 gdb_unbuffer_output call.
17747 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17748 (main): Call gdb_unbuffer_output.
17749 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17750 (main): Call gdb_unbuffer_output.
17751 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17752 (main): Rename to ...
17753 (test): ... this.
17754 (main): Reimplement.
17755 * gdb.base/varargs.exp: Run to test instead of to main.
17756 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17757 (main): Call gdb_unbuffer_output.
17758
17759 2015-07-29 Pedro Alves <palves@redhat.com>
17760
17761 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17762 factore out from mi_continue_dprintf. For call-style dprintfs,
17763 expect dprintf output out of $inferior_spawn_id.
17764 (mi_continue_dprintf): Use mi_expect_dprintf.
17765 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17766 (main): Call gdb_unbuffer_output.
17767
17768 2015-07-29 Pedro Alves <palves@redhat.com>
17769
17770 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17771 (default_mi_gdb_start): Set inferior_spawn_id instead of
17772 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17773 gdb_spawn_id.
17774 (mi_gdb_test): Always expect inferior output from both
17775 $inferior_spawn_id and $gdb_spawn_id.
17776
17777 2015-07-29 Pedro Alves <palves@redhat.com>
17778
17779 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17780 send_inferior and $inferior_spawn_id.
17781
17782 2015-07-29 Pedro Alves <palves@redhat.com>
17783
17784 * gdb.gdb/complaints.exp (test_initial_complaints)
17785 (test_serial_complaints, test_short_complaints): Use
17786 gdb_test_stdio.
17787 (test_empty_complaint): Handle $inferior_spawn_id !=
17788 $gdb_spawn_id.
17789
17790 2015-07-29 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.base/varargs.exp: Use gdb_test_stdio.
17793
17794 2015-07-29 Pedro Alves <palves@redhat.com>
17795
17796 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17797
17798 2015-07-29 Pedro Alves <palves@redhat.com>
17799
17800 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17801
17802 2015-07-29 Pedro Alves <palves@redhat.com>
17803
17804 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17805 parameter into two new parameters, "inf_result" and "gdb_result".
17806 Expect inferior output and gdb output from $inferior_spawn_id and
17807 $gdb_spawn_id, respectively. Adjust all callers.
17808
17809 2015-07-29 Pedro Alves <palves@redhat.com>
17810
17811 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17812 of gdb_test_sequence.
17813
17814 2015-07-29 Pedro Alves <palves@redhat.com>
17815
17816 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17817 (saw_spurious_output): Expect inferior output from
17818 $inferior_spawn_id. Use gdb_test_stdio.
17819
17820 2015-07-29 Pedro Alves <palves@redhat.com>
17821
17822 * gdb.base/dprintf.exp: Use standard_testfile. Change
17823 prepare_for_testing call.
17824 (srcfile): Don't set.
17825 (restart): New procedure.
17826 (test_dprintf): New procecure, use to continue over dprintfs.
17827 (test_call, test_agent): New procedures, tests moved here.
17828 Restart gdb and recreate dprintfs. Adjust expected output.
17829
17830 2015-07-29 Pedro Alves <palves@redhat.com>
17831
17832 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17833
17834 2015-07-29 Pedro Alves <palves@redhat.com>
17835
17836 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17837
17838 2015-07-29 Pedro Alves <palves@redhat.com>
17839
17840 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17841 gdb_test_stdio.
17842
17843 2015-07-29 Pedro Alves <palves@redhat.com>
17844
17845 * lib/gdb.exp (gdb_test_stdio): New procedure.
17846
17847 2015-07-29 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17850
17851 2015-07-29 Pedro Alves <palves@redhat.com>
17852
17853 * gdb.base/call-signal-resume.exp: Remove check for
17854 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17855 * gdb.base/unwindonsignal.exp: Likewise.
17856 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17857 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17858
17859 2015-07-29 Pedro Alves <palves@redhat.com>
17860
17861 * gdb.base/siginfo-addr.c (pass): New function.
17862 (handler): Call it iff si_addr is correct.
17863 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17864 Set a breakpoint at "pass" and continue to it.
17865
17866 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17867
17868 * gdb.python/py-objfile.exp: Make some tests have unique names.
17869 * gdb.python/py-pp-registration.exp: Likewise.
17870
17871 2015-07-28 Pedro Alves <palves@redhat.com>
17872
17873 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17874
17875 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17876
17877 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17878
17879 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17880
17881 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17882
17883 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17884
17885 * gdb.base/gdb-sigterm-2.exp: New test.
17886
17887 2015-07-25 Doug Evans <xdje42@gmail.com>
17888
17889 Revert:
17890 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17891 (workers/%.worker, build-perf): New rule.
17892 (GDB_PERFTEST_MODE): New variable.
17893 (check-perf): Use it.
17894 (clean): Clean up gdb.perf parallel build subdirs.
17895 * lib/build-piece.exp: New file.
17896 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17897 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17898 name.
17899 (standard_temp_file): Ditto.
17900 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17901 of $GDB_PARALLEL.
17902
17903 2015-07-24 Doug Evans <dje@google.com>
17904
17905 * gdb.perf/lib/perftest/utils.py: New file.
17906 * gdb.perf/gm-hello.cc: New file.
17907 * gdb.perf/gm-pervasive-typedef.cc: New file.
17908 * gdb.perf/gm-pervasive-typedef.h: New file.
17909 * gdb.perf/gm-std.cc: New file.
17910 * gdb.perf/gm-std.h: New file.
17911 * gdb.perf/gm-use-cerr.cc: New file.
17912 * gdb.perf/gm-utils.h: New file.
17913 * gdb.perf/gmonster-null-lookup.py: New file.
17914 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17915 * gdb.perf/gmonster-print-cerr.py: New file.
17916 * gdb.perf/gmonster-ptype-string.py: New file.
17917 * gdb.perf/gmonster-runto-main.py: New file.
17918 * gdb.perf/gmonster-select-file.py: New file.
17919 * gdb.perf/gmonster1-null-lookup.exp: New file.
17920 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17921 * gdb.perf/gmonster1-print-cerr.exp: New file.
17922 * gdb.perf/gmonster1-ptype-string.exp: New file.
17923 * gdb.perf/gmonster1-runto-main.exp: New file.
17924 * gdb.perf/gmonster1-select-file.exp: New file.
17925 * gdb.perf/gmonster1.cc: New file.
17926 * gdb.perf/gmonster1.exp: New file.
17927 * gdb.perf/gmonster2-null-lookup.exp: New file.
17928 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17929 * gdb.perf/gmonster2-print-cerr.exp: New file.
17930 * gdb.perf/gmonster2-ptype-string.exp: New file.
17931 * gdb.perf/gmonster2-runto-main.exp: New file.
17932 * gdb.perf/gmonster2-select-file.exp: New file.
17933 * gdb.perf/gmonster2.cc: New file.
17934 * gdb.perf/gmonster2.exp: New file.
17935
17936 2015-07-24 Doug Evans <dje@google.com>
17937
17938 * gdb.perf/README: New file.
17939 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17940 * lib/gen-perf-test.exp: New file.
17941
17942 2015-07-24 Doug Evans <dje@google.com>
17943
17944 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17945 (PerfTest::startup): New function.
17946 (PerfTest::run): Return result of calling body.
17947 (PerfTest::assemble): Rewrite.
17948 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17949 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17950 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17951 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17952 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17953
17954 2015-07-24 Doug Evans <dje@google.com>
17955
17956 * lib/gdb.exp (clean_restart): Make executable optional.
17957
17958 2015-07-24 Doug Evans <dje@google.com>
17959
17960 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17961 compiler_info references.
17962 * gdb.cp/temargs.exp: Ditto.
17963 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17964 (get_compiler_info): Early exit if already computed. Set compiler_info
17965 to "unknown" if there was a problem.
17966 (test_compiler_info): Add function comment. Call get_compiler_info.
17967
17968 2015-07-24 Doug Evans <dje@google.com>
17969
17970 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17971 (workers/%.worker, build-perf): New rule.
17972 (GDB_PERFTEST_MODE): New variable.
17973 (check-perf): Use it.
17974 (clean): Clean up gdb.perf parallel build subdirs.
17975 * lib/build-piece.exp: New file.
17976 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17977 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17978 name.
17979 (standard_temp_file): Ditto.
17980 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17981 of $GDB_PARALLEL.
17982
17983 2015-07-24 Doug Evans <dje@google.com>
17984
17985 * lib/future.exp (gdb_default_target_compile): New option
17986 "early_flags".
17987 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17988 --as-needed.
17989
17990 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17991
17992 * gdb.base/catch-syscall.exp: Call gdb_exit before
17993 gdb_skip_xml_test.
17994
17995 2015-07-24 Pedro Alves <palves@redhat.com>
17996
17997 * gdb.python/py-events.exp: Accept output between the stop event
17998 and the prompt.
17999 * gdb.python/py-evsignal.exp: Likewise.
18000 * gdb.python/py-evthreads.exp: Likewise.
18001
18002 2015-07-24 Pedro Alves <palves@redhat.com>
18003
18004 PR gdb/18717
18005 * gdb.threads/non-ldr-exit.c: New file.
18006 * gdb.threads/non-ldr-exit.exp: New file.
18007
18008 2015-07-24 Yao Qi <yao.qi@linaro.org>
18009
18010 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18011 restarting process.
18012
18013 2015-07-24 Yao Qi <yao.qi@linaro.org>
18014
18015 * gdb.server/ext-restart.exp: New file.
18016
18017 2015-07-24 Yao Qi <yao.qi@linaro.org>
18018
18019 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18020 argument options.
18021 * gdb.server/ext-wrapper.exp: New file.
18022
18023 2015-07-23 Doug Evans <dje@google.com>
18024
18025 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18026 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18027
18028 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18029
18030 * gdb.ada/var_arr_typedef.exp: New testcase.
18031 * gdb.ada/var_arr_typedef/pack.adb: New file.
18032 * gdb.ada/var_arr_typedef/pack.ads: New file.
18033 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18034
18035 2015-07-20 Joel Brobecker <brobecker@adacore.com>
18036
18037 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18038
18039 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18040
18041 * gdb.arch/i386-biarch-core.exp: Replace istarget
18042 by "complete set gnutarget". Remove expectation for the "core-file"
18043 command.
18044
18045 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18046
18047 Revert the previous commit:
18048 Tests for validate symbol file using build-id.
18049
18050 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18051
18052 Tests for validate symbol file using build-id.
18053 * gdb.base/solib-mismatch-lib.c: New file.
18054 * gdb.base/solib-mismatch-libmod.c: New file.
18055 * gdb.base/solib-mismatch.c: New file.
18056 * gdb.base/solib-mismatch.exp: New file.
18057
18058 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18059
18060 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18061 nios2-*-linux*.
18062 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18063 * gdb.base/siginfo.exp: Likewise.
18064 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18065
18066 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18067
18068 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18069 Move it to ...
18070 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18071 ... here.
18072 * gdb.trace/range-stepping.exp: Check that the target supports
18073 range stepping.
18074
18075 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18076
18077 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18078
18079 2015-07-14 Pedro Alves <palves@redhat.com>
18080
18081 * gdb.base/killed-outside.exp: New file.
18082 * gdb.base/killed-outside.c: New file.
18083
18084 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18085
18086 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18087 (n at main): New.
18088 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18089
18090 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18091
18092 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18093 infcall tests instead of setting up for KFAIL.
18094
18095 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18096
18097 * gdb.btrace/record_goto-step.exp: New.
18098
18099 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18100
18101 PR compile/18484
18102 * gdb.compile/compile.c (struct struct_type): Add volatile to
18103 selffield's type.
18104 * gdb.compile/compile.exp
18105 (compile code struct_object.selffield = &struct_object): Skip further
18106 struct_object tests if this one xfails.
18107
18108 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
18109
18110 PR exp/18617
18111 * gdb.trace/ax.exp: Add test.
18112
18113 2015-07-07 Yao Qi <yao.qi@linaro.org>
18114
18115 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18116 instead of istarget "aarch64*-*-*".
18117 * gdb.arch/aarch64-fp.exp: Likewise.
18118 * gdb.base/float.exp: Likewise.
18119 * gdb.reverse/aarch64.exp: Likewise.
18120 * lib/gdb.exp (is_aarch64_target): New proc.
18121
18122 2015-07-07 Yao Qi <yao.qi@linaro.org>
18123
18124 * lib/gdb.exp (is_aarch32_target): New proc.
18125 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18126 instead of "istarget "arm*-*-*"".
18127 * gdb.arch/arm-disp-step.exp: Likewise.
18128 * gdb.arch/thumb-bx-pc.exp: Likewise.
18129 * gdb.arch/thumb-prologue.exp: Likewise.
18130 * gdb.arch/thumb-singlestep.exp: Likewise.
18131 * gdb.base/disp-step-syscall.exp: Likewise.
18132 * gdb.base/float.exp: Likewise.
18133
18134 2015-07-07 Yao Qi <yao.qi@linaro.org>
18135
18136 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18137 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18138
18139 2015-07-07 Yao Qi <yao.qi@linaro.org>
18140
18141 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18142 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18143 if it exists.
18144 * gdb.multi/multi-arch.exp: Likewise.
18145
18146 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18147
18148 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18149 print.
18150
18151 2015-07-07 Yao Qi <yao.qi@linaro.org>
18152
18153 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18154
18155 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18156
18157 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18158 '[' and ']' characters.
18159
18160 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18161
18162 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18163
18164 2015-06-29 Pedro Alves <palves@redhat.com>
18165
18166 PR threads/18127
18167 * gdb.threads/hand-call-new-thread.c: New file.
18168 * gdb.threads/hand-call-new-thread.c: New file.
18169
18170 2015-06-26 Keith Seitz <keiths@redhat.com>
18171 Doug Evans <dje@google.com>
18172
18173 PR 16253
18174 * gdb.cp/var-tag-2.cc: New file.
18175 * gdb.cp/var-tag-3.cc: New file.
18176 * gdb.cp/var-tag-4.cc: New file.
18177 * gdb.cp/var-tag.cc: New file.
18178 * gdb.cp/var-tag.exp: New file.
18179
18180 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18181
18182 * gdb.base/history-duplicates.exp: New test.
18183
18184 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18185
18186 * gdb.base/completion.exp: Test the completion of the "focus"
18187 command.
18188
18189 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18190
18191 * gdb.arch/amd64-prologue-skip.S: New file.
18192 * gdb.arch/amd64-prologue-skip.exp: New file.
18193
18194 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18195
18196 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18197 is_address_zero_readable check.
18198
18199 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18200
18201 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18202 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18203
18204 2015-06-24 Yao Qi <yao.qi@linaro.org>
18205
18206 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18207 linux targets.
18208
18209 2015-06-24 Yao Qi <yao.qi@linaro.org>
18210
18211 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18212 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18213 * gdb.base/siginfo-thread.exp: Likewise.
18214
18215 2015-06-22 Yao Qi <yao.qi@linaro.org>
18216
18217 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18218
18219 2015-06-22 Yao Qi <yao.qi@linaro.org>
18220
18221 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18222 aarch64*-*-*.
18223 (skip_hw_watchpoint_tests): Likewise.
18224
18225 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18226
18227 * gdb.base/gdbinit-history.exp: Test the interaction between
18228 setting GDBHISTSIZE and setting the history size via .gdbinit.
18229
18230 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18231
18232 PR gdb/16999
18233 * gdb.base/gdbhistsize-history.exp: New test.
18234
18235 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18236
18237 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18238 with GDBHISTSIZE.
18239 * gdb.base/readline.exp: Likewise.
18240
18241 2015-06-17 Yao Qi <yao.qi@linaro.org>
18242
18243 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18244 line.
18245
18246 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18247
18248 * gdb.base/gdbinit-history.exp: Add test case to check that
18249 an unlimited history file does not get truncated on exit.
18250
18251 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18252
18253 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18254 (VECTOR): New macro. Use it...
18255 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18256 ...for these typedefs.
18257 (int8, char1, int1, double1): New typedefs.
18258 (struct just_int2, struct two_int2): New structures.
18259 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18260 (add_structvecs, add_singlevecs): New functions.
18261 (main): Call add_some_intvecs twice.
18262 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18263 the compile and exit upon failure. Try compiling for the "native"
18264 architecture. Test inferior function calls with vector arguments
18265 and vector return value handling with "finish" and "return".
18266
18267 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18268
18269 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18270 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18271 PE file.
18272 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18273
18274 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18275
18276 PR breakpoints/16465
18277 * gdb.mi/mi-dprintf-pending.c: New file.
18278 * gdb.mi/mi-dprintf-pending.exp: New test.
18279 * gdb.mi/mi-dprintf-pendshr.c: New file.
18280
18281 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18282 Mircea Gherzan <mircea.gherzan@intel.com>
18283
18284 * gdb.arch/i386-mpx-map.c: New file.
18285 * gdb.arch/i386-mpx-map.exp: New File.
18286
18287 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18288
18289 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18290 * gdb.arch/i386-mpx.exp: Indentation fixed.
18291
18292 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18293
18294 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18295 function and improved indentation.
18296 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18297 gdb_test_multiple. Added additional tests to skip the test.
18298
18299 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18300
18301 * gdb.arch/i386-avx512.c: Change path in include file.
18302 * gdb.arch/i386-avx512.exp: Change include dir path
18303 compilation flag.
18304 * gdb.arch/i386-mpx.c: Change path in include file.
18305 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18306 flag.
18307
18308 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18309
18310 * gdb.compile/compile-print.exp (compile print *vararray@3)
18311 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18312
18313 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18314
18315 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18316 (do not keep jit in memory): ... this.
18317 (expect 5): Change it to ...
18318 (expect no 5): ... this.
18319
18320 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18321
18322 PR gdb/15564
18323 * gdb.mi/mi-detach.exp: New file.
18324
18325 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18326
18327 PR symtab/18392
18328 * gdb.arch/amd64-tailcall-self.S: New file.
18329 * gdb.arch/amd64-tailcall-self.c: New file.
18330 * gdb.arch/amd64-tailcall-self.exp: New file.
18331
18332 2015-05-28 Don Breazeal <donb@codesourcery.com>
18333
18334 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18335 tests for remote targets by checking is_target_gdbserver.
18336
18337 2015-05-27 Doug Evans <dje@google.com>
18338
18339 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18340 * gdb.dwarf2/opaque-type-lookup.c: New file.
18341 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18342
18343 2015-05-26 Doug Evans <dje@google.com>
18344
18345 * gdb.cp/iostream.cc: New file.
18346 * gdb.cp/iostream.exp: New file.
18347
18348 2015-05-26 Doug Evans <dje@google.com>
18349
18350 * gdb.dwarf2/dw2-op-call.exp: Update.
18351 * gdb.dwarf2/dw4-sig-types.exp: Update.
18352 * gdb.dwarf2/implptr.exp: Update.
18353 * gdb.mi/mi-cmd-param-changed.exp: Update.
18354
18355 2015-05-26 Doug Evans <dje@google.com>
18356
18357 * gdb.python/py-lazy-string.c: New file.
18358 * gdb.python/py-lazy-string.exp: New file.
18359 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18360 (main): Update. Add estring3.
18361 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18362 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18363
18364 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18365 Yao Qi <yao.qi@linaro.org>
18366
18367 * gdb.reverse/aarch64.c: New.
18368 * gdb.reverse/aarch64.exp: New.
18369
18370 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18371
18372 * lib/gdb.exp (supports_process_record): Return true for
18373 aarch64*-linux*.
18374 (supports_reverse): Likewise.
18375
18376 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18377
18378 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18379 Use with_test_prefix.
18380
18381 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18382
18383 * gdb.base/completion.exp: Add test for completion of layout
18384 names.
18385
18386 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18387
18388 * lib/gdb.exp (skip_tui_tests): New proc.
18389 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18390
18391 2015-05-19 Pedro Alves <palves@redhat.com>
18392
18393 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18394 Save the whole env array instead of just HOME. Unset HISTSIZE in
18395 the environment while testing. Restore whole environment
18396 afterwards.
18397
18398 2015-05-16 Doug Evans <xdje42@gmail.com>
18399
18400 * gdb.guile/scm-ports.c: New file.
18401 * gdb.guile/scm-ports.exp: Add memory port tests.
18402
18403 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18404
18405 * gdb.compile/compile-print.c: New file.
18406 * gdb.compile/compile-print.exp: New file.
18407
18408 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18409
18410 * gdb.compile/compile-ops.exp: Cast param to void.
18411 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18412 (compile code struct_object.selffield = &struct_object): Add xfail.
18413
18414 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18415
18416 * gdb.ada/arr_enum_with_gap: New testcase.
18417
18418 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18419
18420 * gdb.ada/byte_packed_arr: New testcase.
18421
18422 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18423
18424 * gdb.ada/pckd_neg: New testcase.
18425
18426 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18427
18428 PR gdb/17820
18429 * gdb.base/gdbinit-history.exp: New test.
18430 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18431 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18432
18433 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18434
18435 * gdb.python/py-xmethods.cc: Enhance test case.
18436 * gdb.python/py-xmethods.exp: New tests.
18437 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18438 function.
18439 (B_indexoper): Likewise.
18440 (global_dm_list) : Add new xmethod worker functions.
18441
18442 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18443
18444 * gdb.base/coredump-filter.exp: Correctly unset
18445 "coredump_var_addr" array.
18446
18447 2015-05-08 Pedro Alves <palves@redhat.com>
18448
18449 * gdb.server/non-existing-program.exp: Unset spawn_id.
18450
18451 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18452
18453 PR python/18291
18454 * gdb.python/py-xmethods.exp: Add tests.
18455
18456 2015-05-08 Yao Qi <yao.qi@linaro.org>
18457
18458 PR gdb/18208
18459 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18460 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18461 function set_coredump_filter, and remove remote_exec call.
18462 Remove argument ipid. Callers update.
18463 (top level): Don't get inferior's PID.
18464
18465 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18466
18467 * gdb.base/watch_thread_num.exp: Skip test on targets without
18468 access watchpoints.
18469
18470 2015-05-06 Pedro Alves <palves@redhat.com>
18471
18472 PR server/18081
18473 * gdb.server/non-existing-program.exp: New file.
18474
18475 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18476
18477 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18478
18479 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18480
18481 * gdb.ada/out_of_line_in_inlined: New testcase.
18482
18483 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18484
18485 * gdb.ada/var_rec_arr: New testcase.
18486
18487 2015-04-30 Yao Qi <yao.qi@linaro.org>
18488
18489 * gdb.base/break-idempotent.exp: If
18490 skip_hw_watchpoint_multi_tests returns true, skip the tests
18491 on "rwatch" and "awatch".
18492
18493 2015-04-30 Yao Qi <yao.qi@linaro.org>
18494
18495 * gdb.base/relativedebug.exp: Invoke gdb command
18496 "info sharedlibrary", and if libc.so doesn't have debug info,
18497 skip the test.
18498
18499 2015-04-29 Doug Evans <dje@google.com>
18500
18501 * gdb.python/py-xmethods.exp: Add ptype tests.
18502 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18503 get_result_type method.
18504
18505 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18506
18507 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18508 the target does not support hardware watchpoints.
18509
18510 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18511
18512 * gdb.base/break-always.exp: Abort testing if writing to memory
18513 causes an error.
18514
18515 2015-04-28 Doug Evans <dje@google.com>
18516
18517 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18518 * gdb.python/py-pp-registration.exp: ... here. New file.
18519 * gdb.python/py-pp-registration.c: New file.
18520 * gdb.python/py-pp-registration.py: New file.
18521
18522 2015-04-28 Doug Evans <dje@google.com>
18523
18524 * gdb.python/py-bad-printers.c: New file.
18525 * gdb.python/py-bad-printers.py: New file.
18526 * gdb.python/py-bad-printers.exp: New file.
18527
18528 2015-04-28 Sasha Smundak <asmundak@google.com>
18529
18530 * gdb.python/py-type.exp: New test.
18531
18532 2015-04-28 Andy Wingo <wingo@igalia.com>
18533
18534 * gdb.python/py-parameter.exp:
18535 * gdb.guile/scm-parameter.exp: Escape the path that we are
18536 matching against, as it might contain characters that are special
18537 to regular expressions.
18538
18539 2015-04-27 Joel Brobecker <brobecker@adacore.com>
18540
18541 * gdb.ada/rec_comp: New testcase.
18542
18543 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18544
18545 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18546 before using it.
18547
18548 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18549
18550 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18551 new tests for verilog output.
18552
18553 2015-04-24 Yao Qi <yao.qi@linaro.org>
18554
18555 * boards/remote-gdbserver-on-localhost.exp: New file.
18556
18557 2015-04-23 Pedro Alves <palves@redhat.com>
18558
18559 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18560 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18561 "end of file", remove $inferior_spawn_id from the indirect list.
18562
18563 2015-04-23 Pedro Alves <palves@redhat.com>
18564
18565 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18566
18567 2015-04-23 Pedro Alves <palves@redhat.com>
18568
18569 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18570 on $any_spawn_id instead of only on $gdb_spawn_id.
18571
18572 2015-04-21 Pierre Muller <muller@sourceware.org>
18573
18574 PR pascal/17815
18575 * lib/pascal.exp (gpc_compile): Add new option "class".
18576 (fpc_compile): Likewise.
18577 * gdb.pascal/case-insensitive-symbols.pas: New file.
18578 * gdb.pascal/case-insensitive-symbols.exp: New file.
18579
18580 2015-04-20 Gary Benson <gbenson@redhat.com>
18581
18582 * gdb.base/attach.exp: Fix three extended remote failures.
18583
18584 2015-04-17 Gary Benson <gbenson@redhat.com>
18585
18586 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18587 the main executable over the remote protocol.
18588
18589 2015-04-16 Pedro Alves <palves@redhat.com>
18590
18591 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18592 a new gdbserver if gdbserver_reconnect_p is set.
18593
18594 2015-04-16 Pedro Alves <palves@redhat.com>
18595
18596 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18597 is set, don't exit gdbserver.
18598
18599 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18600
18601 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18602 appropriate .insn, such that an older assembler can be used.
18603 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18604 the z/Architecture instruction set on 31-bit targets as well.
18605
18606 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18607
18608 * gdb.go/handcall.exp: Remove all logic related to the first
18609 breakpoint and rely on go_runto_main instead.
18610 * gdb.go/strings.exp: Likewise.
18611 * gdb.go/unsafe.exp: Likewise.
18612 * gdb.go/hello.exp: Likewise. Also rename the remaining
18613 breakpoint marker to "breakpoint 1".
18614 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18615 * gdb.go/strings.go: Likewise.
18616 * gdb.go/unsafe.go: Likewise.
18617 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18618 "set breakpoint 2 here" and rename the remaining breakpoint marker
18619 to "breakpoint 1".
18620
18621 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18622
18623 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18624 if itertools.imap is not present.
18625 * gdb.python/py-objfile.exp: Add parentheses.
18626 * gdb.python/py-type.exp: Same.
18627 * gdb.python/py-unwind-maint.py: Same.
18628
18629 2015-04-15 Yao Qi <yao.qi@linaro.org>
18630
18631 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18632 of ":$ptr_size" and set its form explicitly.
18633
18634 2015-04-15 Pedro Alves <palves@redhat.com>
18635 Yao Qi <yao.qi@linaro.org>
18636
18637 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18638 timeout by factor of 4.
18639 (test_regular_watch): Likewise.
18640 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18641 * gdb.reverse/sigall-reverse.exp: Likewise.
18642 * gdb.reverse/until-precsave.exp: Likewise.
18643 * lib/gdb.exp (with_timeout_factor): New proc.
18644 (gdb_expect): Move some code to ...
18645 (get_largest_timeout): ... here. New procedure.
18646
18647 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
18648
18649 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18650
18651 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18652
18653 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18654 to write to the .text section.
18655
18656 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18657
18658 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18659 Handle the case of targets that do not provide PID information.
18660
18661 2015-04-13 Yao Qi <yao.qi@linaro.org>
18662
18663 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18664 and use expect instead of gdb_expect.
18665
18666 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18667
18668 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18669 "coredump_var_addr" to avoid naming conflict with other testcases.
18670
18671 2015-04-10 Pedro Alves <palves@redhat.com>
18672
18673 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18674 gdb_test_sequence and gdb_assert.
18675
18676 2015-04-10 Pedro Alves <palves@redhat.com>
18677
18678 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18679 test messages that don't include the breakpoint address.
18680
18681 2015-04-10 Yao Qi <yao.qi@linaro.org>
18682
18683 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18684 false for some offset and width combinations which aren't
18685 supported by linux kernel.
18686
18687 2015-04-10 Pedro Alves <palves@redhat.com>
18688
18689 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18690 procedure, factored out from ...
18691 (top level): ... here. Add "set displaced-stepping" testing axis.
18692 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18693 parameter "displaced". Use it.
18694 (top level): Use foreach and add "set displaced-stepping" testing
18695 axis.
18696
18697 2015-04-10 Pedro Alves <palves@redhat.com>
18698
18699 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18700 Remove comment.
18701 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18702 both the address of the instruction that triggers the watchpoint
18703 and the address of the instruction immediately after, and use
18704 those addresses for the test. Fix comment.
18705
18706 2015-04-10 Pedro Alves <palves@redhat.com>
18707
18708 * gdb.base/sigstep.exp (breakpoint_to_handler)
18709 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18710 Test "backtrace" in handler.
18711 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18712 (top level): Add new "displaced" test axis to
18713 breakpoint_to_handler, breakpoint_to_handler_entry and
18714 breakpoint_over_handler.
18715
18716 2015-04-10 Pedro Alves <palves@redhat.com>
18717
18718 PR gdb/18216
18719 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18720
18721 2015-04-10 Yao Qi <yao.qi@linaro.org>
18722
18723 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18724 (test_add_rn_pc): New function.
18725 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18726 (top level): Invoke test_add_rn_pc.
18727
18728 2015-04-10 Pedro Alves <palves@redhat.com>
18729
18730 PR gdb/13858
18731 * gdb.base/step-over-no-symbols.exp: New file.
18732
18733 2015-04-09 Andy Wingo <wingo@igalia.com>
18734
18735 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18736 after the Python tests.
18737
18738 2015-04-08 Keith Seitz <keiths@redhat.com>
18739
18740 PR python/16699
18741 * gdb.python/py-completion.exp: New tests for completion.
18742 * gdb.python/py-completion.py (CompleteLimit1): New class.
18743 (CompleteLimit2): Likewise.
18744 (CompleteLimit3): Likewise.
18745 (CompleteLimit4): Likewise.
18746 (CompleteLimit5): Likewise.
18747 (CompleteLimit6): Likewise.
18748 (CompleteLimit7): Likewise.
18749
18750 2015-04-08 Pedro Alves <palves@redhat.com>
18751
18752 PR gdb/18214
18753 PR gdb/18216
18754 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18755 function.
18756 (main): Install it as SIGUSR1 handler.
18757 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18758 parameter. Always use "setup" as prefix. Toggle "set
18759 displaced-stepping" off/on depending on global. Don't switch to
18760 thread 1 here.
18761 (top level): Add displaced stepping "off/on" test axis. Update
18762 "setup" calls. Wrap each subtest with with_test_prefix. Test
18763 continuing with a queued signal in each thread.
18764
18765 2015-04-08 Pedro Alves <palves@redhat.com>
18766
18767 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18768 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18769 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18770 Return early if running to main fails.
18771 * gdb.trace/while-stepping.exp: Likewise.
18772
18773 2015-04-07 Pedro Alves <palves@redhat.com>
18774
18775 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18776 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18777 interact with inferior program.
18778
18779 2015-04-07 Pedro Alves <palves@redhat.com>
18780
18781 * lib/gdb.exp (inferior_spawn_id): New global.
18782 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18783 spawn id after processing the user code.
18784 (default_gdb_start): Set inferior_spawn_id.
18785 (send_inferior): New procedure.
18786 * lib/gdbserver-support.exp (gdbserver_start): Set
18787 inferior_spawn_id.
18788 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18789
18790 2015-04-07 Pedro Alves <palves@redhat.com>
18791
18792 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18793 * lib/gdbserver-support.exp (gdbserver_start): Make
18794 $server_spawn_id global.
18795 (gdbserver_start): Don't wait for gdbserver's spawn id with
18796 expect_background.
18797 (close_gdbserver): New procedure.
18798 (gdb_exit): Rename the default version and reimplement.
18799
18800 2015-04-07 Pedro Alves <palves@redhat.com>
18801
18802 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
18803 append the substituted item, not the original item.
18804
18805 2015-04-07 Pedro Alves <palves@redhat.com>
18806
18807 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18808 gdb_expect.
18809
18810 2015-04-07 Pedro Alves <palves@redhat.com>
18811
18812 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18813 output appearing once only.
18814
18815 2015-04-07 Pedro Alves <palves@redhat.com>
18816
18817 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18818 that doesn't expect anything. Return early if running to main
18819 fails.
18820
18821 2015-04-07 Yao Qi <yao.qi@linaro.org>
18822
18823 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18824 (child_function): Call alarm.
18825 (main): Move call to alarm into the loop.
18826 * gdb.threads/non-stop-fair-events.exp: Build program with
18827 -DTIMEOUT=$timeout.
18828
18829 2015-04-06 Doug Evans <xdje42@gmail.com>
18830
18831 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18832 Fix dest parameter to board_info.
18833 (fpc_compile): Ditto.
18834 (gdb_compile_pascal): Rename dest arg to destfile.
18835
18836 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18837
18838 * gdb.ada/funcall_ref.exp: New file.
18839 * gdb.ada/funcall_ref/foo.adb: New file.
18840
18841 2015-04-02 Yao Qi <yao.qi@linaro.org>
18842
18843 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18844 is remote.
18845
18846 2015-04-02 Gary Benson <gbenson@redhat.com>
18847
18848 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18849
18850 2015-04-01 Sasha Smundak <asmundak@google.com>
18851
18852 * gdb.python/py-unwind-maint.c: New file.
18853 * gdb.python/py-unwind-maint.exp: New test.
18854 * gdb.python/py-unwind-maint.py: New file.
18855 * gdb.python/py-unwind.c: New file.
18856 * gdb.python/py-unwind.exp: New test.
18857 * gdb.python/py-unwind.py: New test.
18858
18859 2015-04-01 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18862 to fail instead of non-existent $test.
18863
18864 2015-04-01 Pedro Alves <palves@redhat.com>
18865
18866 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18867 GDBFLAGS if not empty.
18868
18869 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18870
18871 * gdb.ada/complete.exp: Remove "multi_line".
18872 * gdb.ada/info_exc.exp: Remove "multi_line".
18873 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18874 * gdb.ada/ptype_field.exp: Remove "multi_line".
18875 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18876 * gdb.ada/tagged.exp: Remove "multi_line".
18877 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18878 [multi_line ...]
18879 * gdb.btrace/delta.exp: Likewise.
18880 * gdb.btrace/exception.exp: Likewise.
18881 * gdb.btrace/function_call_history.exp: Likewise.
18882 * gdb.btrace/instruction_history.exp: Likewise.
18883 * gdb.btrace/nohist.exp: Likewise.
18884 * gdb.btrace/record_goto.exp: Likewise.
18885 * gdb.btrace/segv.exp: Likewise.
18886 * gdb.btrace/stepi.exp: Likewise.
18887 * gdb.btrace/tailcall.exp: Likewise.
18888 * gdb.btrace/unknown_functions.exp: Likewise.
18889 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18890 * lib/gdb.exp: Add the "multi_line" helper.
18891
18892 2015-04-01 Pedro Alves <palves@redhat.com>
18893
18894 * gdb.threads/tid-reuse.c: New file.
18895 * gdb.threads/tid-reuse.exp: New file.
18896
18897 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18898
18899 PR corefiles/16092
18900 * gdb.base/coredump-filter.c: New file.
18901 * gdb.base/coredump-filter.exp: Likewise.
18902
18903 2015-03-27 Petr Machata <pmachata@redhat.com>
18904
18905 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18906 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18907 (Dwarf::assemble): Initialize them.
18908 (Dwarf::lines): New function.
18909
18910 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18911
18912 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18913 SYMBOL_PREFIX for x86_64-*-cygwin.
18914
18915 2015-03-26 Andy Wingo <wingo@igalia.com>
18916
18917 PR symtab/18148
18918 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18919 const_value but not a location.
18920 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18921 location defined in non-main CUs are visible.
18922
18923 2015-03-26 Yao Qi <yao.qi@linaro.org>
18924
18925 PR testsuite/18139
18926 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18927 Add a line number entry for the same line.
18928 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18929 Add a line number entry for the same line.
18930
18931 2015-03-26 Yao Qi <yao.qi@linaro.org>
18932
18933 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18934 .int 0.
18935 (func): Likewise. Add .Lfunc_1 label.
18936 Use .Lfunc_1 label.
18937 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18938 .int 0.
18939 (func): Likewise.
18940 Use .Lfunc_1 label.
18941
18942 2015-03-26 Yao Qi <yao.qi@linaro.org>
18943
18944 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18945 Call gdb_compile instead to compile each .s files without debug
18946 information.
18947
18948 2015-03-26 Yao Qi <yao.qi@linaro.org>
18949
18950 * gdb.base/savedregs.exp (process_saved_regs): Make
18951 "Saved registers:" optional in the pattern.
18952
18953 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18954
18955 * gdb.btrace/next.exp: Merged into step.exp.
18956 * gdb.btrace/finish.exp: Merged into step.exp.
18957 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18958 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18959 "record goto" and checking the exact replay position.
18960 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18961 check for "Recording format" in "info record" output.
18962 * gdb.btrace/record_goto.exp: Choose test file based on target.
18963 * gdb.btrace/x86-record_goto.S: Renamed into ...
18964 * gdb.btrace/x86_64-record_goto.S: ... this.
18965 * gdb.btrace/i686-record_goto.S: New.
18966 * gdb.btrace/x86-tailcall.S: Renamed into ...
18967 * gdb.btrace/x86_64-tailcall.S: ... this.
18968 * gdb.btrace/i686-tailcall.S: New.
18969 * gdb.btrace/x86-tailcall.c: Renamed into ...
18970 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18971 separate statements. Update test.
18972 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18973 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18974 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18975 * gdb.btrace/tailcall.exp: Choose test file based on target.
18976 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18977
18978 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18979
18980 * gdb.btrace/exception.exp: Increase BTS buffer size.
18981
18982 2015-03-24 Pedro Alves <palves@redhat.com>
18983
18984 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18985
18986 2015-03-24 Pedro Alves <palves@redhat.com>
18987
18988 * gdb.threads/schedlock.exp (test_step): No longer expect that
18989 "set scheduler-locking step" with "next" over a function call runs
18990 threads unlocked.
18991
18992 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18993
18994 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18995
18996 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18997
18998 PR breakpoints/16466
18999 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19000 * gdb.mi/mi-pending.c (thread_func): New function.
19001 (int main): Add threading support required.
19002 * gdb.mi/mi-pending.exp: Add tests for this issue.
19003 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19004 (pendfunc2): Remove stdio dependency.
19005 * gdb.mi/mi-pendshr2.c: New file.
19006
19007 2015-03-23 Keith Seitz <keiths@redhat.com>
19008
19009 * gdb.linespec/keywords.c: New file.
19010 * gdb.linespec/keywords.exp: New file.
19011
19012 2015-03-23 Keith Seitz <keiths@redhat.com>
19013
19014 PR gdb/18021
19015 * gdb.dwarf2/staticvirtual.exp: New test.
19016
19017 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19018
19019 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19020 * README: Remove HP-UX and gdb.hp.
19021 (configuration):
19022 * configure: Regenerate.
19023 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19024 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19025 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19026 gdb.hp/gdb.defects/Makefile.
19027 * gdb.hp/Makefile.in: File deleted.
19028 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19029 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19030 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19031 * gdb.hp/gdb.aCC/run.c: File deleted.
19032 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19033 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19034 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19035 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19036 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19037 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19038 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19039 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19040 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19041 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19042 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19043 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19044 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19045 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19046 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19047 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19048 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19049 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19050 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19051 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19052 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19053 * gdb.hp/gdb.compat/average.c: File deleted.
19054 * gdb.hp/gdb.compat/sum.c: File deleted.
19055 * gdb.hp/gdb.compat/xdb.c: File deleted.
19056 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19057 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19058 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19059 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19060 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19061 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19062 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19063 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19064 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19065 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19066 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19067 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19068 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19069 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19070 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19071 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19072 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19073 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19074 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19075 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19076 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19077 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19078 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19079 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19080 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19081 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19082 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19083 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19084 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19085 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19086 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19087 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19088 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19089 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19090 * gdb.hp/tools/odump: File deleted.
19091
19092 2015-03-19 Pedro Alves <palves@redhat.com>
19093
19094 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19095 (saw_thread_3): New globals.
19096 (top level): Increment them when an event for the corresponding
19097 thread is seen.
19098 (no thread starvation): New test.
19099
19100 2015-03-19 Pedro Alves <palves@redhat.com>
19101
19102 * gdb.threads/continue-pending-status.c: New file.
19103 * gdb.threads/continue-pending-status.exp: New file.
19104
19105 2015-03-18 Pedro Alves <palves@redhat.com>
19106
19107 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19108 Use gdb_is_target_remote instead of is_remote. Use
19109 gdb_test_multiple instead of gdb_expect. Exit early if
19110 gdb_test_multiple hits its internal matches. Tighten stepi tests
19111 expected output. Fail on exit with any signal, instead of just
19112 SIGILL.
19113
19114 2015-03-18 Yao Qi <yao.qi@linaro.org>
19115
19116 PR tdep/18107
19117 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19118 variable.
19119 * gdb.base/catch-syscall.exp: Don't skip it on
19120 aarch64*-*-linux* target. Remove elements in all_syscalls.
19121 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19122 target.
19123 (setup_all_syscalls): New proc.
19124
19125 2015-03-16 Yao Qi <yao.qi@linaro.org>
19126
19127 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19128 (top level): Skip tests if valid_addr_p returns false for
19129 $cmd1 or $cmd2.
19130
19131 2015-03-11 Andy Wingo <wingo@igalia.com>
19132
19133 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19134
19135 2015-03-11 Yao Qi <yao.qi@linaro.org>
19136
19137 * gdb.base/catch-syscall.exp: Fix typo in comments.
19138
19139 2015-03-11 Yao Qi <yao.qi@linaro.org>
19140
19141 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19142
19143 2015-03-09 Pedro Alves <palves@redhat.com>
19144
19145 * dg-extract-results.py: Delete.
19146
19147 2015-03-09 Pedro Alves <palves@redhat.com>
19148
19149 Merge dg-extract-results.sh from GCC upstream (r218843).
19150
19151 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19152 * dg-extract-results.sh: Use --text with grep to avoid issues with
19153 binary files. Fall back to cat -v, if that doesn't work.
19154
19155 2015-03-05 Pedro Alves <palves@redhat.com>
19156
19157 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19158
19159 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19160
19161 * lib/mi-support.exp (mi_expect_interrupt): Accept
19162 alternative event for when in all-stop mode.
19163
19164 2015-03-04 Pedro Alves <palves@redhat.com>
19165
19166 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19167
19168 2015-03-04 Mark Kettenis <kettenis@gnu.org>
19169
19170 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19171
19172 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19173
19174 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19175 regexps for GDB's current line display, accept a hex address
19176 preceding the line number.
19177
19178 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19179
19180 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19181 the 'arch1' variable for "s390*-linux*" targets.
19182
19183 2015-03-04 Pedro Alves <palves@redhat.com>
19184
19185 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19186 (main): Pass missing retval argument to pthread_join call.
19187
19188 2015-03-02 Pedro Alves <palves@redhat.com>
19189
19190 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19191 (top level): Call do_test with non-stop as well.
19192
19193 2015-03-02 Pedro Alves <palves@redhat.com>
19194
19195 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19196 -1.
19197
19198 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19199
19200 * gdb.arch/s390-vregs.exp: New test.
19201 * gdb.arch/s390-vregs.S: New file.
19202
19203 2015-02-27 Pedro Alves <palves@redhat.com>
19204
19205 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19206 call to catch_command_errors.
19207 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19208 catch_command_errors.
19209
19210 2015-02-27 Pedro Alves <palves@redhat.com>
19211
19212 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19213 "true" for boolean result.
19214 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19215 prototype of main.
19216
19217 2015-02-27 Pedro Alves <palves@redhat.com>
19218
19219 * lib/unbuffer_output.c: New file.
19220 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19221 (main): Call gdb_unbuffer_output.
19222
19223 2015-02-27 Yao Qi <yao.qi@linaro.org>
19224
19225 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19226 target.
19227
19228 2015-02-26 Doug Evans <dje@google.com>
19229
19230 * gdb.cp/class2.cc (Dbase, D): New classes.
19231 (main): New local delta.
19232 * gdb.cp/class2.exp: Test printing delta.
19233 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19234 (dynbar): New global.
19235 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19236
19237 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19238
19239 * gdb.compile/compile-ifunc.c: New file.
19240 * gdb.compile/compile-ifunc.exp: New file.
19241
19242 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19243
19244 * gdb.base/structs.exp: Check for correct struct on finish.
19245
19246 2015-02-26 Yao Qi <yao.qi@linaro.org>
19247
19248 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19249 is zero.
19250
19251 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19252
19253 * gdb.arch/cordic.ko.bz2: New file.
19254 * gdb.arch/cordic.ko.debug.bz2: New file.
19255 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19256
19257 2015-02-25 Yao Qi <yao.qi@linaro.org>
19258
19259 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19260 aarch64*-*-* target.
19261
19262 2015-02-23 Pedro Alves <palves@redhat.com>
19263
19264 * lib/gdb.exp (delete_breakpoints): Rewrite using
19265 gdb_test_multiple.
19266
19267 2015-02-23 Pedro Alves <palves@redhat.com>
19268
19269 * gdb.base/info-os.c: Include stdlib.h.
19270
19271 2015-02-22 Doug Evans <xdje42@gmail.com>
19272
19273 PR symtab/17855
19274 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19275 is read after symbols have been re-read.
19276 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19277 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19278
19279 2015-02-21 Doug Evans <dje@google.com>
19280
19281 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19282
19283 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19284
19285 PR corefiles/17808
19286 * gdb.arch/i386-biarch-core.core.bz2: New file.
19287 * gdb.arch/i386-biarch-core.exp: New file.
19288
19289 2015-02-21 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19292 runto_main fails.
19293
19294 2015-02-20 Pedro Alves <palves@redhat.com>
19295
19296 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19297 info probes.
19298
19299 2015-02-20 Pedro Alves <palves@redhat.com>
19300
19301 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19302
19303 2015-02-20 Pedro Alves <palves@redhat.com>
19304
19305 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19306 clean_restart before gdb_target_supports_trace.
19307
19308 2015-02-20 Pedro Alves <palves@redhat.com>
19309
19310 PR threads/18006
19311 * gdb.threads/clone-thread_db.c: New file.
19312 * gdb.threads/clone-thread_db.exp: New file.
19313
19314 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19315
19316 PR breakpoints/16812
19317 * gdb.base/catch-gdb-caused-signals.c: New file.
19318 * gdb.base/catch-gdb-caused-signals.exp: New file.
19319
19320 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19321
19322 * configure: Regenerated.
19323 * configure.ac: Use GDB_AC_TRANSFORM.
19324 * aclocal.m4: sinclude ../transform.m4.
19325
19326 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19327
19328 * lib/dtrace.exp: New file.
19329 * gdb.base/dtrace-probe.exp: Likewise.
19330 * gdb.base/dtrace-probe.d: Likewise.
19331 * gdb.base/dtrace-probe.c: Likewise.
19332 * lib/pdtrace.in: Likewise.
19333 * configure.ac: Output variables with the transformed names of
19334 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19335 * configure: Regenerated.
19336
19337 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19338
19339 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19340 expected message when trying to access $_probe_* convenience
19341 variables while not on a probe.
19342
19343 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19344
19345 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19346
19347 2015-02-11 Pedro Alves <pedro@codesourcery.com>
19348
19349 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19350 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19351
19352 2015-02-10 Doug Evans <xdje42@gmail.com>
19353
19354 * lib/gdb.exp (gdb_load): Always return a result.
19355
19356 2015-02-10 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.threads/signal-sigtrap.c: New file.
19359 * gdb.threads/signal-sigtrap.exp: New file.
19360
19361 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19362
19363 * gdb.trace/no-attach-trace.c: New file.
19364 * gdb.trace/no-attach-trace.exp: New file.
19365
19366 2015-02-09 Mark Wielaard <mjw@redhat.com>
19367
19368 * gdb.dwarf2/atomic.c: New file.
19369 * gdb.dwarf2/atomic-type.exp: Likewise.
19370
19371 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19372
19373 * gdb.btrace/buffer-size.exp: Update "info record" output.
19374 * gdb.btrace/delta.exp: Update "info record" output.
19375 * gdb.btrace/enable.exp: Update "info record" output.
19376 * gdb.btrace/finish.exp: Update "info record" output.
19377 * gdb.btrace/instruction_history.exp: Update "info record" output.
19378 * gdb.btrace/next.exp: Update "info record" output.
19379 * gdb.btrace/nexti.exp: Update "info record" output.
19380 * gdb.btrace/step.exp: Update "info record" output.
19381 * gdb.btrace/stepi.exp: Update "info record" output.
19382 * gdb.btrace/nohist.exp: Update "info record" output.
19383
19384 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19385
19386 * gdb.btrace/buffer-size: New.
19387
19388 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19389
19390 * gdb.btrace/delta.exp: Update "info record" output.
19391 * gdb.btrace/enable.exp: Update "info record" output.
19392 * gdb.btrace/finish.exp: Update "info record" output.
19393 * gdb.btrace/instruction_history.exp: Update "info record" output.
19394 * gdb.btrace/next.exp: Update "info record" output.
19395 * gdb.btrace/nexti.exp: Update "info record" output.
19396 * gdb.btrace/step.exp: Update "info record" output.
19397 * gdb.btrace/stepi.exp: Update "info record" output.
19398 * gdb.btrace/nohist.exp: Update "info record" output.
19399
19400 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19401
19402 PR gdb/15678
19403 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19404
19405 2015-02-06 Pedro Alves <palves@redhat.com>
19406
19407 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19408 macro.
19409 (seconds_left, again): New globals.
19410 (main): Wait seconds_left in a 1-second sleep loop instead of
19411 sleeping 180 seconds. If 'again' is set, reset the seconds
19412 counter.
19413 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19414 'again' in the inferior before detaching. Print the seconds left.
19415 (options): New global.
19416 (top level): Build program with -DTIMEOUT=$timeout.
19417
19418 2015-02-06 Pedro Alves <palves@redhat.com>
19419
19420 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19421 determine how many seconds to pass to 'alarm'.
19422 * gdb.base/gdb-sigterm.exp (top level): Build program with
19423 -DTIMEOUT=$timeout.
19424 (do_test): Return success/failure indication. Add more verbose
19425 logging. Don't fail if 200 single steps are seen. Instead, fail
19426 when the test times out.
19427 (passes): New global.
19428 (top level): Break the testing loop if testing fails on any
19429 iteration. Use gdb_assert.
19430
19431 2015-02-04 Don Breazeal <donb@codesourcery.com>
19432
19433 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19434 and initialize them.
19435 (ipc_cleanup): New function.
19436 (main): Don't declare shmid, semid, and msqid. Add a call to
19437 atexit so that we call ipc_cleanup on exit.
19438
19439 2015-02-04 Pedro Alves <palves@redhat.com>
19440
19441 * boards/native-extended-gdbserver.exp: Remove any target variant
19442 specifications from the board name before clearing the isremote
19443 flag from board_info.
19444
19445 2015-01-31 Doug Evans <xdje42@gmail.com>
19446
19447 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19448
19449 2015-01-31 Gary Benson <gbenson@redhat.com>
19450
19451 * gdb.base/completion.exp: Disable completion limiting for
19452 existing tests. Add new tests to check completion limiting.
19453 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19454
19455 2015-01-31 Doug Evans <xdje42@gmail.com>
19456
19457 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19458
19459 2015-01-31 Doug Evans <xdje42@gmail.com>
19460
19461 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19462 entries. Duplicate file section script entries.
19463 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19464 inlined entries. Add test for safe-path rejection.
19465 * gdb.python/py-section-script.c: Add duplicate inlined section script
19466 entries. Duplicate file section script entries.
19467 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19468 inlined entries. Add test for safe-path rejection.
19469
19470 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19471
19472 * gdb.ada/disc_arr_bound: New testcase.
19473
19474 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19475
19476 * gdb.ada/mi_var_array: New testcase.
19477
19478 2015-01-27 Doug Evans <dje@google.com>
19479
19480 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19481 Add test for objfile.filename, objfile.username after objfile
19482 has been unloaded.
19483
19484 2015-01-26 Joel Brobecker <brobecker@adacore.com>
19485
19486 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19487 the second test to print the name attribute of value
19488 returned by the call to gdb.lookup_type, and adjust
19489 the expected output accordingly.
19490
19491 2015-01-25 Mark Wielaard <mjw@redhat.com>
19492
19493 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19494 * gdb.base/disp-step-fork.c: Include unistd.h.
19495 * gdb.base/siginfo-obj.c: Include stdio.h.
19496 * gdb.base/siginfo-thread.c: Likewise.
19497 * gdb.mi/non-stop.c: Include unistd.h.
19498 * gdb.mi/nsthrexec.c: Include stdio.h.
19499 * gdb.mi/pthreads.c: Include unistd.h.
19500 * gdb.modula2/unbounded1.c (main): Declare returns int.
19501 * gdb.reverse/consecutive-reverse.c: Likewise.
19502 * gdb.threads/create-fail.c: Include unistd.h.
19503 * gdb.threads/killed.c: Likewise.
19504 * gdb.threads/linux-dp.c: Likewise.
19505 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19506 * gdb.threads/non-ldr-exc-2.c: Likewise.
19507 * gdb.threads/non-ldr-exc-3.c: Likewise.
19508 * gdb.threads/non-ldr-exc-4.c: Likewise.
19509 * gdb.threads/pthreads.c: Include unistd.h.
19510 (main): Declare returns int.
19511 * gdb.threads/tls-main.c (foo): New declaration.
19512 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19513
19514 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19515
19516 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19517 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19518
19519 2015-01-15 Mark Wielaard <mjw@redhat.com>
19520
19521 * gdb.base/noreturn-return.c: New file.
19522 * gdb.base/noreturn-return.exp: New file.
19523 * gdb.base/noreturn-finish.c: New file.
19524 * gdb.base/noreturn-finish.exp: New file.
19525
19526 2015-01-23 Pedro Alves <palves@redhat.com>
19527
19528 * gdb.threads/continue-pending-after-query.c: New file.
19529 * gdb.threads/continue-pending-after-query.exp: New file.
19530
19531 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19532 Simon Marchi <simon.marchi@ericsson.com>
19533
19534 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19535 * gdb.base/valgrind-db-attach.exp: Same.
19536 * gdb.base/valgrind-infcall.exp: Same.
19537 * lib/mi-support.exp (default_mi_gdb_start): Same.
19538 * lib/prompt.exp (default_prompt_gdb_start): Same.
19539 * lib/gdb.exp (default_gdb_spawn): Same.
19540 (gdb_interact): New.
19541
19542
19543 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19544
19545 * gdb.compile/compile.exp (pointer to jit function): New test.
19546
19547 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
19548
19549 * lib/gdb.exp (supports_process_record): Return true for
19550 powerpc*-*-linux*.
19551 (supports_reverse): Likewise.
19552
19553 2015-01-15 Don Breazeal <donb@codesourcery.com>
19554
19555 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19556 instead of checking whether the target board is remote and
19557 use spawn_wait_for_attach instead of exec/sleep.
19558 * gdb.base/attach-twice.exp: Likewise.
19559
19560 2015-01-15 Joel Brobecker <brobecker@adacore.com>
19561
19562 * gdb.ada/var_arr_attrs: New testcase.
19563
19564 2015-01-14 Pedro Alves <palves@redhat.com>
19565 Joel Brobecker <brobecker@adacore.com>
19566
19567 PR gdb/17525
19568 * gdb.base/bp-cmds-execution-x-script.c: New file.
19569 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19570 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19571
19572 2015-01-14 Pedro Alves <palves@redhat.com>
19573
19574 PR cli/17828
19575 * gdb.base/batch-preserve-term-settings.c: New file.
19576 * gdb.base/batch-preserve-term-settings.exp: New file.
19577
19578 2015-01-13 Doug Evans <dje@google.com>
19579
19580 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19581 binary.
19582
19583 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19584
19585 * Makefile.in (clean mostlyclean): Do not delete *.py.
19586
19587 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19588
19589 * gdb.python/py-lookup-type.exp: New file.
19590
19591 2015-01-12 Pedro Alves <palves@redhat.com>
19592
19593 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19594 restore GDBFLAGS before returning.
19595
19596 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19597
19598 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19599 is_amd64_regs_target and is_x86_like_target.
19600
19601 2015-01-11 Doug Evans <xdje42@gmail.com>
19602
19603 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19604 is given without an explicit form.
19605 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19606 attributes.
19607 * gdb.dwarf/corrupt.exp: Ditto.
19608 * gdb.dwarf2/enum-type.exp: Ditto.
19609 * gdb.trace/entry-values.exp: Ditto.
19610 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19611
19612 2015-01-11 Doug Evans <xdje42@gmail.com>
19613
19614 PR gdb/15830
19615 * gdb.base/maint.exp: Remove references to "maint demangle".
19616 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19617 Add tests for explicitly specifying language to demangle.
19618 * gdb.dlang/demangle.exp: Ditto.
19619
19620 2015-01-09 Pedro Alves <palves@redhat.com>
19621
19622 * gdb.threads/non-stop-fair-events.c: New file.
19623 * gdb.threads/non-stop-fair-events.exp: New file.
19624
19625 2015-01-09 Pedro Alves <palves@redhat.com>
19626
19627 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19628 the global scope. Set a breakpoint after all threads are started
19629 rather than stepping over two source lines. Expect the prompt.
19630 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19631 global.
19632 (NUM): Now 15.
19633 (main): Use threads_started_barrier to wait for all threads to
19634 start. Main thread no longer calls thread_function. Exit after
19635 180 seconds.
19636 (loop): New function.
19637 (thread_function): Wait on threads_started_barrier barrier. Call
19638 'loop' at each iteration.
19639 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19640 threads have started, instead of hardcoding number of "next"
19641 steps. Use an access watchpoint instead of a write watchpoint.
19642
19643 2015-01-09 Pedro Alves <palves@redhat.com>
19644
19645 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19646 (thread_func): Wait on barrier.
19647 (main): Wait for all threads to start before stopping GDB.
19648 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19649 global.
19650 (thread1_func, thread2_func): Wait on barrier.
19651 (main): Wait for all threads to start before stopping GDB.
19652 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19653 New global.
19654 (thread1_func, thread2_func): Wait on barrier.
19655 (main): Wait for all threads to start before stopping GDB.
19656
19657 2015-01-09 Pedro Alves <palves@redhat.com>
19658
19659 * gdb.threads/attach-many-short-lived-threads.c: New file.
19660 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19661
19662 2014-01-09 Pedro Alves <palves@redhat.com>
19663
19664 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19665 instead of to thread 2.
19666 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19667 Add barrier around each pthread_create call instead of around all
19668 calls.
19669 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19670 Set a break on thread_function and have the child threads hit it
19671 one at at a time.
19672
19673 2015-01-09 Pedro Alves <palves@redhat.com>
19674
19675 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19676 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19677 false.
19678 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19679 checking whether the target board is remote.
19680 * gdb.multi/multi-attach.exp: Likewise.
19681 * gdb.python/py-sync-interp.exp: Likewise.
19682 * gdb.server/ext-attach.exp: Likewise.
19683 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19684 tests that need to attach, instead of checking whether the target
19685 board is remote at the top of the file.
19686
19687 2015-01-08 Yao Qi <yao@codesourcery.com>
19688
19689 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19690
19691 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19692
19693 Fix testcase compilation.
19694 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19695
19696 2015-01-06 Joel Brobecker <brobecker@adacore.com>
19697
19698 * gdb.python/py-type.exp: Add a couple test about empty
19699 array creation, and negative-length array creation.
19700
19701 2015-01-02 Doug Evans <xdje42@gmail.com>
19702
19703 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19704
19705 2015-01-02 Doug Evans <dje@google.com>
19706
19707 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19708
19709 2014-12-29 Yao Qi <yao@codesourcery.com>
19710
19711 * gdb.trace/entry-values.exp: Update comments. Rename variable
19712 bar_call_foo to returned_from_foo.
19713
19714 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19715
19716 PR gdb/17394
19717 * gdb.linespec/break-asm-file.c: New file.
19718 * gdb.linespec/break-asm-file.exp: New file.
19719 * gdb.linespec/break-asm-file0.s: New file.
19720 * gdb.linespec/break-asm-file1.s: New file.
19721
19722 2014-12-18 Nigel Stephens <nigel@mips.com>
19723 Maciej W. Rozycki <macro@codesourcery.com>
19724
19725 * gdb.base/float.exp: Handle the new output from "info float" on
19726 MIPS targets.
19727
19728 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19729
19730 Fix MinGW compilation.
19731 * gdb.compile/compile-ops.exp: Update untested message if
19732 !skip_compile_feature_tests.
19733 * gdb.compile/compile-setjmp.exp: Likewise.
19734 * gdb.compile/compile-tls.exp: Likewise.
19735 * gdb.compile/compile.exp: Likewise.
19736 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19737 supported on this host".
19738
19739 2014-12-16 Doug Evans <xdje42@gmail.com>
19740
19741 * boards/stabs.exp: New file.
19742
19743 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19744
19745 * gdb.base/completion.exp: Adjust to format changes of "maint
19746 print user-registers".
19747
19748 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
19749
19750 PR server/17457
19751 * gdb.arch/aarch64-fp.c: New file.
19752 * gdb.arch/aarch64-fp.exp: New file.
19753
19754 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19755
19756 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19757 r210637, r210913, r211666, r215400, r215817).
19758
19759 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19760 * dg-extract-results.py: New file.
19761 * dg-extract-results.sh: Use it if the environment seems
19762 suitable.
19763
19764 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19765
19766 * dg-extract-results.py (parse_run): Handle warnings that
19767 are printed before a test harness is run.
19768
19769 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19770
19771 * dg-extract-results.py (Named): Remove __cmp__ method.
19772 (output_variation): Use a key to sort variation.harnesses.
19773
19774 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19775
19776 * dg-extract-results.py: For Python 3, force sys.stdout to
19777 handle surrogate escape sequences.
19778 (safe_open): New function.
19779 (output_segment, main): Use it.
19780
19781 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19782
19783 * dg-extract-results.py (Prog.result_re): Include options
19784 in test name.
19785
19786 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19787
19788 * dg-extract-results.py (output_variation): Always sort if
19789 do_sum.
19790
19791 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19792
19793 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19794 as long as we get pagination notifications.
19795
19796 2014-12-15 Jason Merrill <jason@redhat.com>
19797
19798 * Makefile.in (check-gdb.%): Restore.
19799 * README: Mention it.
19800
19801 2014-12-13 Joel Brobecker <brobecker@adacore.com>
19802
19803 * gdb.ada/str_uninit: New testcase.
19804
19805 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19806
19807 PR symtab/17642
19808 * gdb.base/vla-stub-define.c: New file.
19809 * gdb.base/vla-stub.c: New file.
19810 * gdb.base/vla-stub.exp: New file.
19811
19812 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19813 Jan Kratochvil <jan.kratochvil@redhat.com>
19814 Tom Tromey <tromey@redhat.com>
19815
19816 * configure.ac: Add gdb.compile/.
19817 * configure: Regenerate.
19818 * gdb.compile/Makefile.in: New file.
19819 * gdb.compile/compile-ops.exp: New file.
19820 * gdb.compile/compile-ops.c: New file.
19821 * gdb.compile/compile-tls.c: New file.
19822 * gdb.compile/compile-tls.exp: New file.
19823 * gdb.compile/compile-constvar.S: New file.
19824 * gdb.compile/compile-constvar.c: New file.
19825 * gdb.compile/compile-mod.c: New file.
19826 * gdb.compile/compile-nodebug.c: New file.
19827 * gdb.compile/compile-setjmp-mod.c: New file.
19828 * gdb.compile/compile-setjmp.c: New file.
19829 * gdb.compile/compile-setjmp.exp: New file.
19830 * gdb.compile/compile-shlib.c: New file.
19831 * gdb.compile/compile.c: New file.
19832 * gdb.compile/compile.exp: New file.
19833 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19834
19835 2014-12-12 Tom Tromey <tromey@redhat.com>
19836
19837 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19838 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19839
19840 2014-12-12 Doug Evans <dje@google.com>
19841
19842 * lib/gdb-python.exp (get_python_valueof): New function.
19843 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19844
19845 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19846
19847 * gdb.base/completion.exp: Add test for completion of "info
19848 registers ".
19849
19850 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19851
19852 * gdb.base/func-ptrs.c: New file.
19853 * gdb.base/func-ptrs.exp: New file.
19854
19855 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19856
19857 PR breakpoints/17012
19858 * gdb.base/dprintf-detach.c: New file.
19859 * gdb.base/dprintf-detach.exp: New file.
19860
19861 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19862
19863 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19864 * lib/gdb.exp (target_is_gdbserver): New procedure.
19865
19866 2014-12-08 Doug Evans <dje@google.com>
19867
19868 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19869
19870 2014-12-05 Yao Qi <yao@codesourcery.com>
19871
19872 * gdb.guile/scm-error.exp: Remove the third argument to
19873 gdb_remote_download.
19874 * gdb.guile/scm-frame-args.exp: Likewise.
19875 * gdb.guile/scm-section-script.exp: Likewise.
19876
19877 2014-12-05 Yao Qi <yao@codesourcery.com>
19878
19879 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19880
19881 2014-12-04 Doug Evans <dje@google.com>
19882
19883 * gdb.python/py-objfile.exp: Add tests for
19884 objfile.add_separate_debug_file.
19885
19886 2014-12-04 Doug Evans <dje@google.com>
19887
19888 * lib/gdb.exp (get_build_id): New function.
19889 (build_id_debug_filename_get): Rewrite to use it.
19890 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19891
19892 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19893
19894 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19895 `method(long)', not just 0x0.
19896 * gdb.cp/nsalias.exp: Align code labels to 4.
19897 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19898 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19899 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19900 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19901 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19902 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19903
19904 2014-12-02 Doug Evans <dje@google.com>
19905
19906 PR symtab/17602
19907 * gdb.cp/anon-ns.cc: Move guts of this file to ...
19908 * gdb.cp/anon-ns2.cc: ... here. New file.
19909 * gdb.cp/anon-ns.exp: Update.
19910
19911 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
19912
19913 * gdb.python/py-events.py (inferior_call_handler): New.
19914 (register_changed_handler, memory_changed_handler): New.
19915 (test_events.invoke): Register new handlers.
19916 * gdb.python/py-events.exp: Add tests for inferior call,
19917 memory_changed and register_changed events.
19918
19919 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19920
19921 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19922 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19923 if the linker doesn't understand this.
19924
19925 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19926
19927 * gdb.python/python.exp: Change expected reply to help().
19928
19929 2014-12-01 Yao Qi <yao@codesourcery.com>
19930
19931 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19932 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19933 * configure: Re-generated.
19934
19935 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19936
19937 * gdb.cp/chained-calls.cc: New file.
19938 * gdb.cp/chained-calls.exp: New file.
19939 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19940
19941 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19942
19943 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19944 * gdb.dwarf2/symtab-producer.exp: Same.
19945 * gdb.gdb/python-interrupts.exp: Same.
19946 * gdb.gdb/python-selftest.exp: Same.
19947 * gdb.python/py-linetable.exp: Same.
19948 * gdb.python/py-type.exp: Same.
19949 * gdb.python/py-value-cc.exp: Same.
19950 * gdb.python/py-value.exp: Same.
19951
19952 2014-11-28 Yao Qi <yao@codesourcery.com>
19953
19954 * gdb.base/break-probes.exp: Match library name prefixed with
19955 sysroot.
19956
19957 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19958
19959 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19960 test expected output. Add parentheses for the call to print.
19961 Remove L suffix from integers.
19962
19963 2014-11-26 Doug Evans <dje@google.com>
19964
19965 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19966
19967 2014-11-22 Yao Qi <yao@codesourcery.com>
19968
19969 * gdb.trace/entry-values.c: Remove asms.
19970 (foo): Add foo_label.
19971 (bar): Add bar_label.
19972 * gdb.trace/entry-values.exp: Remove code computing foo's
19973 length and bar's length.
19974 (Dwarf::assemble): Invoke function_range for bar and use
19975 MACRO_AT_func for foo.
19976
19977 2014-11-22 Yao Qi <yao@codesourcery.com>
19978
19979 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19980 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19981 Use .Lgcc43_procstart instead of gcc43.
19982
19983 2014-11-21 Joel Brobecker <brobecker@adacore.com>
19984
19985 * gdb.ada/n_arr_bound: New testcase.
19986
19987 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19988
19989 PR breakpoints/10737
19990 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19991 test_catch_syscall_multi_arch.
19992 (test_catch_syscall_multi_arch): New function.
19993
19994 2014-11-20 Doug Evans <xdje42@gmail.com>
19995
19996 * gdb.base/maint.exp: Update expected output.
19997
19998 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19999
20000 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20001 4-byte instruction on S390.
20002
20003 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20004
20005 * gdb.ada/arr_arr: New testcase.
20006
20007 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20008
20009 * gdb.ada/pkd_arr_elem: New Testcase.
20010
20011 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
20012
20013 * gdb.reverse/break-precsave: Expect completion message for
20014 core file reads.
20015 * gdb.reverse/consecutive-precsave.exp: Likewise.
20016 * gdb.reverse/finish-precsave.exp: Likewise.
20017 * gdb.reverse/i386-precsave.exp: Likewise.
20018 * gdb.reverse/machinestate-precsave.exp: Likewise.
20019 * gdb.reverse/sigall-precsave.exp: Likewise.
20020 * gdb.reverse/solib-precsave.exp: Likewise.
20021 * gdb.reverse/step-precsave.exp: Likewise.
20022 * gdb.reverse/until-precsave.exp: Likewise.
20023 * gdb.reverse/watch-precsave.exp: Likewise.
20024
20025 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20026
20027 * gdb.base/bp-permanent.c: Include unistd.h.
20028 * gdb.python/py-framefilter-mi.c (main): Add return type.
20029 * gdb.python/py-framefilter.c (main): Likewise.
20030 * gdb.trace/actions-changed.c (main): Likewise.
20031
20032 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20033
20034 * gdb.mi/until.c: Add eye-catchers.
20035 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20036 line numbers.
20037
20038 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20039
20040 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20041 function header variants in break1.c.
20042 * gdb.base/ena-dis-br.exp: Likewise.
20043 * gdb.base/hbreak2.exp: Likewise.
20044 * gdb.reverse/until-precsave.exp: Drop references to removed
20045 non-prototype function header variants in ur1.c.
20046 * gdb.reverse/until-reverse.exp: Likewise.
20047
20048 2014-11-17 Petr Machata <pmachata@redhat.com>
20049
20050 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20051 ${_cu_offset_size} bytes abbrev offset.
20052
20053 2014-11-15 Doug Evans <xdje42@gmail.com>
20054
20055 PR symtab/17559
20056 * gdb.base/line-symtabs.exp: New file.
20057 * gdb.base/line-symtabs.c: New file.
20058 * gdb.base/line-symtabs.h: New file.
20059
20060 2014-11-14 Yao Qi <yao@codesourcery.com>
20061
20062 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20063 (func): Add label func_label.
20064 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20065 Replace low_pc and high_pc with MACRO_AT_range.
20066 Replace name, low_pc and high_pc with MACRO_AT_func.
20067
20068 2014-11-14 Yao Qi <yao@codesourcery.com>
20069
20070 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20071 Replace name, low_pc and high_pc with MACRO_AT_func.
20072
20073 2014-11-14 Yao Qi <yao@codesourcery.com>
20074
20075 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20076 produce debug information.
20077 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20078
20079 2014-11-14 Yao Qi <yao@codesourcery.com>
20080
20081 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20082 object and get function length.
20083 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20084 with MACRO_AT_func.
20085 (top-level): Replace gdb_compile and clean_restart with
20086 prepare_for_testing.
20087 * gdb.dwarf2/main.c (main): Add label main_label.
20088
20089 2014-11-14 Yao Qi <yao@codesourcery.com>
20090
20091 * lib/dwarf.exp (function_range): New procedure.
20092 (Dwarf::_handle_macro_at_func): New procedure.
20093 (Dwarf::_handle_macro_at_range): New procedure.
20094 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20095
20096 2014-11-14 Yao Qi <yao@codesourcery.com>
20097
20098 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20099 (_handle_attribute): New procedure.
20100
20101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20102
20103 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20104 * gdb.base/call-sc.c (zed): Likewise.
20105 * gdb.base/checkpoint.c (main): Likewise.
20106 * gdb.base/dump.c (main): Likewise.
20107 * gdb.base/gcore.c (main): Likewise.
20108 * gdb.base/huge.c (main): Likewise.
20109 * gdb.base/multi-forks.c (main): Likewise.
20110 * gdb.base/pr10179-a.c (main): Likewise.
20111 * gdb.base/savedregs.c (main): Likewise.
20112 * gdb.base/sigaltstack.c (main): Likewise.
20113 * gdb.base/siginfo.c (main): Likewise.
20114 * gdb.base/structs.c (zed): Likewise.
20115 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20116 * gdb.mi/mi-syn-frame.c (main): Likewise.
20117 * gdb.mi/until.c (foo, main): Likewise.
20118 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20119 * gdb.base/solib-weak.c (foo): Declare.
20120 * gdb.base/attach-twice.c: Include stdio.h.
20121 * gdb.base/weaklib1.c: Likewise.
20122 * gdb.base/weaklib2.c: Likewise.
20123 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20124 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20125 unistd.h.
20126 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20127 * gdb.mi/mi-exit-code.c: Likewise.
20128 * gdb.base/break-interp-lib.c: Include string.h.
20129 * gdb.base/coremaker.c: Likewise.
20130 * gdb.base/testenv.c: Likewise.
20131 * gdb.python/py-finish-breakpoint.c: Likewise.
20132 * gdb.base/inferior-died.c: Include sys/wait.h.
20133 * gdb.base/fileio.c: Include time.h.
20134 * gdb.base/async-shell.c: Include unistd.h.
20135 * gdb.base/dprintf-non-stop.c: Likewise.
20136 * gdb.base/info-os.c: Likewise.
20137 * gdb.mi/mi-console.c: Likewise.
20138 * gdb.mi/watch-nonstop.c: Likewise.
20139 * gdb.python/py-events.c: Likewise.
20140 * gdb.base/async.c (baz): Move up before its invocation.
20141 * gdb.base/code_elim2.c (my_global_func): Likewise.
20142 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20143 * gdb.base/advance.c (func2): Likewise.
20144
20145 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20146
20147 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20148 variant.
20149 * gdb.base/annota3.c: Likewise.
20150 * gdb.base/async.c: Likewise.
20151 * gdb.base/average.c: Likewise.
20152 * gdb.base/call-ar-st.c: Likewise.
20153 * gdb.base/call-rt-st.c: Likewise.
20154 * gdb.base/call-sc.c: Likewise.
20155 * gdb.base/call-strs.c: Likewise.
20156 * gdb.base/ending-run.c: Likewise.
20157 * gdb.base/execd-prog.c: Likewise.
20158 * gdb.base/exprs.c: Likewise.
20159 * gdb.base/foll-exec.c: Likewise.
20160 * gdb.base/foll-fork.c: Likewise.
20161 * gdb.base/foll-vfork.c: Likewise.
20162 * gdb.base/funcargs.c: Likewise.
20163 * gdb.base/gcore.c: Likewise.
20164 * gdb.base/jump.c: Likewise.
20165 * gdb.base/langs0.c: Likewise.
20166 * gdb.base/langs1.c: Likewise.
20167 * gdb.base/langs2.c: Likewise.
20168 * gdb.base/mips_pro.c: Likewise.
20169 * gdb.base/nodebug.c: Likewise.
20170 * gdb.base/opaque0.c: Likewise.
20171 * gdb.base/opaque1.c: Likewise.
20172 * gdb.base/recurse.c: Likewise.
20173 * gdb.base/run.c: Likewise.
20174 * gdb.base/scope0.c: Likewise.
20175 * gdb.base/scope1.c: Likewise.
20176 * gdb.base/setshow.c: Likewise.
20177 * gdb.base/setvar.c: Likewise.
20178 * gdb.base/shmain.c: Likewise.
20179 * gdb.base/shr1.c: Likewise.
20180 * gdb.base/shr2.c: Likewise.
20181 * gdb.base/sigall.c: Likewise.
20182 * gdb.base/signals.c: Likewise.
20183 * gdb.base/so-indr-cl.c: Likewise.
20184 * gdb.base/solib2.c: Likewise.
20185 * gdb.base/structs.c: Likewise.
20186 * gdb.base/sum.c: Likewise.
20187 * gdb.base/vforked-prog.c: Likewise.
20188 * gdb.base/watchpoint.c: Likewise.
20189 * gdb.reverse/shr2.c: Likewise.
20190 * gdb.reverse/until-reverse.c: Likewise.
20191 * gdb.reverse/ur1.c: Likewise.
20192 * gdb.reverse/watch-reverse.c: Likewise.
20193
20194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20195
20196 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20197 variant.
20198 * gdb.base/sepdebug.exp: Drop references to removed code.
20199
20200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20201
20202 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20203 variant. Preserve original line numbering.
20204 * gdb.base/list1.c: Likewise.
20205
20206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20207
20208 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20209 variant.
20210 * gdb.base/break1.c: Likewise.
20211 * gdb.base/break.exp: Drop references to removed code.
20212
20213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20214
20215 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20216 variant.
20217
20218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20219
20220 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20221
20222 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20223
20224 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20225 logic into perform_all_tests() and invoke it with and without
20226 function header prototypes.
20227 (do_function_calls): Remove conditional XFAIL for PR 5318.
20228 (rerun_and_prepare): Remove duplicate code.
20229 (perform_all_tests): New. Main logic moved here.
20230
20231 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20232
20233 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20234 code guarded by #ifdef NO_PROTOTYPES.
20235 (t_double_many_args): Likewise.
20236 (DEF_FUNC_MANY_ARGS_1): Likewise.
20237 (DEF_FUNC_VALUES_1): Likewise.
20238 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20239 guarded by #ifdef PROTOTYPES.
20240
20241 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20242
20243 * gdb.mi/mi-console.c: Add eye-catcher.
20244 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20245 instead of literal line number.
20246
20247 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20248
20249 * gdb.base/shr2.c: Add eye-catcher.
20250 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20251 line number.
20252
20253 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20254
20255 * gdb.base/jump.c: Add eye-catchers.
20256 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20257 numbers.
20258
20259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20260
20261 * gdb.base/execd-prog.c: Add eye-catchers.
20262 * gdb.base/foll-exec.c: Likewise.
20263 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20264 line numbers.
20265
20266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20267
20268 * gdb.base/ending-run.c: Add eye-catchers.
20269 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20270 literal line numbers.
20271
20272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20273
20274 * gdb.base/call-rt-st.c: Add eye-catchers.
20275 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20276 literal line numbers.
20277
20278 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20279
20280 * gdb.base/call-ar-st.c: Add eye-catchers.
20281 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20282 literal line numbers.
20283
20284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20285
20286 * gdb.base/average.c: Add eye-catchers.
20287 * gdb.base/sum.c: Likewise.
20288 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20289 regexps dynamically.
20290
20291 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20292
20293 * gdb.base/solib1.c: Add eye-catchers.
20294 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20295 literal line numbers.
20296
20297 2014-11-12 Pedro Alves <palves@redhat.com>
20298
20299 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20300 leader has exited.
20301
20302 2014-11-12 Pedro Alves <palves@redhat.com>
20303
20304 * gdb.arch/i386-bp_permanent.c: New file.
20305 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20306 (srcfile): Set to i386-bp_permanent.c.
20307 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20308 that stepi does not execute the 'leave' instruction, instead of
20309 testing it does execute.
20310 * gdb.base/bp-permanent.c: New file.
20311 * gdb.base/bp-permanent.exp: New file.
20312
20313 2014-11-10 Doug Evans <xdje42@gmail.com>
20314
20315 PR symtab/17564
20316 * gdb.base/symtab-search-order.exp: New file.
20317 * gdb.base/symtab-search-order.c: New file.
20318 * gdb.base/symtab-search-order-1.c: New file.
20319 * gdb.base/symtab-search-order-shlib-1.c: New file.
20320
20321 2014-11-07 Pedro Alves <palves@redhat.com>
20322
20323 PR gdb/17511
20324 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20325 i?86-*-linux*.
20326
20327 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20328
20329 PR c++/17494
20330 * gdb.cp/pr17494.cc: New file.
20331 * gdb.cp/pr17494.exp: New file.
20332
20333 2014-11-02 Yao Qi <yao@codesourcery.com>
20334
20335 * gdb.python/python.exp: Get working directory and match the
20336 output of "set extended-prompt \\w " with it.
20337
20338 2014-10-30 Doug Evans <dje@google.com>
20339
20340 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20341 in objfiles.
20342 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20343 in progspaces.
20344
20345 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
20346
20347 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20348 * gdb.base/realname-expand.exp: Likewise.
20349 * gdb.linespec/macro-relative.exp: Likewise.
20350
20351 2014-10-29 Pedro Alves <palves@redhat.com>
20352
20353 PR gdb/17408
20354 * gdb.threads/schedlock.c (some_function): New function.
20355 (call_function): New global.
20356 (MAYBE_CALL_SOME_FUNCTION): New macro.
20357 (thread_function): Call it.
20358 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20359 and use it instead of a global counter. Adjust all callers.
20360 (get_current_thread): Use "find current thread" for test message
20361 here rather than having all callers pass down the same string.
20362 (goto_loop): New procedure, factored out from ...
20363 (my_continue): ... this.
20364 (step_ten_loops): Change parameter from test message to command to
20365 use. Adjust.
20366 (list_count): Delete global.
20367 (check_result): New procedure, factored out from duplicate top
20368 level code.
20369 (continue tests): Wrap in with_test_prefix.
20370 (test_step): New procedure, factored out from duplicate top level
20371 code.
20372 (top level): Test "step" in combination with all scheduler-locking
20373 modes. Test "next" in combination with all scheduler-locking
20374 modes, and in combination with stepping over a function call or
20375 not.
20376 * gdb.threads/next-bp-other-thread.c: New file.
20377 * gdb.threads/next-bp-other-thread.exp: New file.
20378
20379 2014-10-29 Pedro Alves <palves@redhat.com>
20380
20381 PR python/17372
20382 * gdb.python/python.exp: Test a multi-line command that spawns
20383 interactive Python.
20384 * gdb.base/multi-line-starts-subshell.exp: New file.
20385
20386 2014-10-29 Yao Qi <yao@codesourcery.com>
20387
20388 * gdb.base/fileio.exp: Make directories on host.
20389
20390 2014-10-29 Yao Qi <yao@codesourcery.com>
20391
20392 * gdb.base/fileio.c (test_write): Close the file.
20393
20394 2014-10-28 Pedro Alves <palves@redhat.com>
20395
20396 PR gdb/12623
20397 * gdb.base/sigstep.c (no_handler): New global.
20398 (main): If 'no_handler is true, set the signal handlers to
20399 SIG_IGN.
20400 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20401 with_sw_watch and no_handler parameters. Handle them.
20402 (top level) <stepping over handler when stopped at a breakpoint
20403 test>: Add a test axis for testing with a software watchpoint, and
20404 another for testing with the signal handler set to SIG_IGN.
20405 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20406 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20407
20408 2014-10-28 Pedro Alves <palves@redhat.com>
20409
20410 PR gdb/17511
20411 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20412 * gdb.base/sigstep.exp (other_handler_location): New global.
20413 (advance): Support stepping into the signal handler, and running
20414 commands while in the handler.
20415 (in_handler_map): New global.
20416 (top level): In the advance test, add combinations for getting
20417 into the handler with stepping commands, and for running commands
20418 in the handler. Add comment descripting the advancei tests.
20419
20420 2014-10-28 Pedro Alves <palves@redhat.com>
20421
20422 * gdb.base/sigstep.exp: Use build_executable instead of
20423 prepare_for_testing.
20424 (top level): Move code that starts GDB, runs to main and creates a
20425 display to ...
20426 (restart): ... this new procedure.
20427 (top level): Move backtrace from signal handler test to ...
20428 (validate_backtrace): ... this new procedure.
20429 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20430 with_test_prefix. Always restart GDB.
20431 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20432 with_test_prefix. Always restart GDB. No need to delete
20433 breakpoints after the test.
20434 (test_skip_handler): Remove prefix parameter.
20435 (skip_over_handler, breakpoint_to_handler)
20436 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20437 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20438 restart GDB. No need to delete breakpoints after the test.
20439 (top level): Use foreach to call the test procedures with
20440 different commands.
20441
20442 2014-10-28 Pedro Alves <palves@redhat.com>
20443
20444 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20445 instead of GNATS numbers.
20446 * gdb.base/sigbpt.exp: Likewise.
20447 * gdb.base/siginfo.exp: Likewise.
20448 * gdb.base/sigstep.exp: Likewise.
20449
20450 2014-10-27 Pedro Alves <palves@redhat.com>
20451
20452 * gdb.base/sigstep.c (dummy): New global.
20453 (main): Issue a couple writes to the new global.
20454 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20455 procedures.
20456 (skip_over_handler): Use test_skip_handler.
20457 (top level): Call skip_over_handler for stepi and nexti too.
20458 (breakpoint_over_handler): Use test_skip_handler.
20459 (top level): Call breakpoint_over_handler for stepi and nexti too.
20460
20461 2014-10-27 Yao Qi <yao@codesourcery.com>
20462
20463 * gdb.trace/tfile.c (adjust_function_address)
20464 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20465 function descriptor.
20466
20467 2014-10-24 Don Breazeal <donb@codesourcery.com>
20468
20469 * gdb.base/foll-fork.exp (test_follow_fork,
20470 catch_fork_child_follow): Check for updated fork messages emitted
20471 from infrun.c.
20472 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20473 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20474 vfork_and_exec_child_follow_through_step): Check for updated vfork
20475 messages emitted from infrun.c.
20476
20477 2014-10-24 Pedro Alves <palves@redhat.com>
20478
20479 * gdb.base/corefile.exp: Remove references to ultrix.
20480 * gdb.base/interrupt.exp: Likewise.
20481 * gdb.base/whatis.exp: Likewise.
20482 * gdb.gdb/selftest.exp: Likewise.
20483 * gdb.threads/manythreads.exp: Likewise.
20484 * gdb.threads/print-threads.exp: Likewise.
20485 * gdb.threads/pthreads.exp:: Likewise.
20486 * gdb.threads/schedlock.exp: Likewise.
20487
20488 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20489
20490 * gdb.cp/non-trivial-retval.cc: Add a test case.
20491 * gdb.cp/non-trivial-retval.exp: Add a test.
20492
20493 2014-10-20 Yao Qi <yao@codesourcery.com>
20494
20495 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20496 * gdb.python/py-objfile-script-gdb.py: New file.
20497 * gdb.python/py-objfile-script.exp: Update reference to
20498 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20499 of remote_download. Remove the dest file.
20500
20501 2014-10-20 Yao Qi <yao@codesourcery.com>
20502
20503 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20504 * gdb.base/step-line.exp: Likewise.
20505 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20506 * gdb.dwarf2/dw2-basic.exp: Likewise.
20507 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20508 * gdb.dwarf2/dw2-filename.exp: Likewise.
20509 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20510 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20511 * gdb.dwarf2/dw2-producer.exp: Likewise.
20512 * gdb.dwarf2/mac-fileno.exp: Likewise.
20513 * gdb.python/py-frame-args.exp: Likewise.
20514 * gdb.python/py-framefilter.exp: Likewise.
20515 * gdb.python/py-mi.exp: Likewise.
20516 * gdb.python/py-objfile-script.exp: Likewise
20517 * gdb.python/py-pp-integral.exp: Likewise.
20518 * gdb.python/py-pp-re-notag.exp: Likewise.
20519 * gdb.python/py-prettyprint.exp: Likewise.
20520 * gdb.python/py-section-script.exp: Likewise.
20521 * gdb.python/py-typeprint.exp: Likewise.
20522 * gdb.python/py-xmethods.exp: Likewise.
20523 * gdb.stabs/weird.exp: Likewise.
20524 * gdb.xml/tdesc-regs.exp: Likewise.
20525
20526 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20527
20528 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20529 (out_cu): Use addr_len for the size of addresses.
20530 (out_line): Likewise. Size DW_LNE_set_address instruction
20531 according to addr_len.
20532 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20533 (FUNC): Add START_INSNS to definition.
20534
20535 2014-10-18 Yao Qi <yao@codesourcery.com>
20536
20537 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20538 gdb_has_argv0 return true.
20539 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20540 check [target_info exists noargs], check [gdb_has_argv0]
20541 instead.
20542 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20543 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20544 procedures.
20545
20546 2014-10-17 Doug Evans <dje@google.com>
20547
20548 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20549 event.
20550 * gdb.python/py-events.py: Add clear_objfiles event.
20551
20552 2014-10-17 Doug Evans <dje@google.com>
20553
20554 * gdb.python/py-objfile.exp: Test progspace attribute.
20555
20556 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
20557
20558 * gdb.guile/scm-breakpoint.exp: Do not assume any
20559 directory separators when matching source file paths.
20560 * gdb.python/py-breakpoint.exp: Likewise.
20561 * gdb.reverse/break-precsave.exp: Likewise.
20562 * gdb.reverse/break-reverse.exp: Likewise.
20563 * gdb.reverse/consecutive-precsave.exp: Likewise.
20564 * gdb.reverse/finish-precsave.exp: Likewise.
20565 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20566 * gdb.reverse/finish-reverse.exp: Likewise.
20567 * gdb.reverse/i386-precsave.exp: Likewise.
20568 * gdb.reverse/i387-env-reverse.exp: Likewise.
20569 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20570 * gdb.reverse/machinestate-precsave.exp: Likewise.
20571 * gdb.reverse/machinestate.exp: Likewise.
20572 * gdb.reverse/sigall-precsave.exp: Likewise.
20573 * gdb.reverse/solib-precsave.exp: Likewise.
20574 * gdb.reverse/step-precsave.exp: Likewise.
20575 * gdb.reverse/until-precsave.exp: Likewise.
20576 * gdb.reverse/watch-precsave.exp: Likewise.
20577 * gdb.reverse/watch-reverse.exp: Likewise.
20578
20579 2014-10-17 Yao Qi <yao@codesourcery.com>
20580
20581 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20582 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20583
20584 2014-10-17 Pedro Alves <palves@redhat.com>
20585
20586 PR gdb/17471
20587 * gdb.base/bg-execution-repeat.c: New file.
20588 * gdb.base/bg-execution-repeat.exp: New file.
20589
20590 2014-10-17 Pedro Alves <palves@redhat.com>
20591
20592 PR gdb/17300
20593 * gdb.base/continue-all-already-running.c: New file.
20594 * gdb.base/continue-all-already-running.exp: New file.
20595
20596 2014-10-17 Pedro Alves <palves@redhat.com>
20597
20598 PR gdb/17472
20599 * gdb.base/annota-input-while-running.c: New file.
20600 * gdb.base/annota-input-while-running.exp: New file.
20601
20602 2014-10-17 Pedro Alves <palves@redhat.com>
20603
20604 * gdb.base/callfuncs.exp: emove references to osf.
20605 * gdb.base/sigall.exp: Likewise.
20606 * gdb.gdb/selftest.exp: Likewise.
20607 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20608 * gdb.mi/non-stop.c: Likewise.
20609 * gdb.mi/pthreads.c: Likewise.
20610 * gdb.reverse/sigall-precsave.exp: Likewise.
20611 * gdb.reverse/sigall-reverse.exp: Likewise.
20612 * gdb.threads/pthreads.c: Likewise.
20613 * gdb.threads/pthreads.exp: Likewise.
20614
20615 2014-10-17 Yao Qi <yao@codesourcery.com>
20616
20617 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20618 check 'target_info exists noargs'.
20619 (test_command_prompt_position): Likewise.
20620 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20621 Remove "set args".
20622 (progvar_simple_while_test): Likewise.
20623 (progvar_complex_if_while_test): Likewise.
20624 (if_while_breakpoint_command_test): Likewise.
20625 (infrun_breakpoint_command_test): Likewise.
20626 (breakpoint_command_test): Likewise.
20627 (watchpoint_command_test): Likewise.
20628 (bp_deleted_in_command_test): Likewise.
20629 (temporary_breakpoint_commands): Likewise.
20630
20631 2014-10-16 Yao Qi <yao@codesourcery.com>
20632
20633 * gdb.base/remotetimeout.exp: Remove noargs checking.
20634
20635 2014-10-15 Pedro Alves <palves@redhat.com>
20636
20637 PR breakpoints/9649
20638 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20639 * gdb.base/breakpoint-in-ro-region.exp
20640 (probe_target_hardware_step): New procedure.
20641 (top level): Probe hardware stepping and hardware breakpoint
20642 support. Test stepping through a read-only region, with both
20643 "breakpoint auto-hw" on and off and both "always-inserted" on and
20644 off.
20645
20646 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20647
20648 * gdb.dlang/demangle.exp: Update for demangling changes.
20649
20650 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20651
20652 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20653 * gdb.cp/non-trivial-retval.exp: Add new tests.
20654
20655 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20656
20657 PR c++/13403
20658 PR c++/15154
20659 * gdb.cp/non-trivial-retval.cc: New file.
20660 * gdb.cp/non-trivial-retval.exp: New file.
20661
20662 2014-10-15 Yao Qi <yao@codesourcery.com>
20663
20664 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20665 remote host.
20666
20667 2014-10-15 Yao Qi <yao@codesourcery.com>
20668
20669 * gdb.python/py-symbol.exp: Match file base name if host is
20670 remote, otherwise match file name with dir name.
20671 * gdb.python/py-symtab.exp: Likewise.
20672 * gdb.python/python.exp: Likewise.
20673
20674 2014-10-15 Yao Qi <yao@codesourcery.com>
20675
20676 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20677 pattern.
20678 * gdb.python/py-symtab.exp: Likewise.
20679 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20680 locationn.
20681
20682 2014-10-14 Joel Brobecker <brobecker@adacore.com>
20683
20684 * gdb.ada/addr_arith: New testcase.
20685
20686 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20687
20688 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20689 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20690 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20691 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20692
20693 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20694
20695 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20696 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20697 * gdb.arch/stap-eval-lang-ada.exp: New file.
20698
20699 2014-10-14 Yao Qi <yao@codesourcery.com>
20700
20701 * gdb.mi/mi-var-child.c (nothing1): New function.
20702 (nothing2): New function.
20703 (do_children_tests): Set function pointers by nothing1 and
20704 nothing2.
20705 * gdb.mi/mi-var-child.exp: Step over new added statements.
20706 Update test to match the new output.
20707 * gdb.mi/var-cmd.c (nothing1): New function.
20708 (nothing2): New function.
20709 (do_children_tests): Set function pointers by nothing1 and
20710 nothing2.
20711 * gdb.mi/mi-var-display.exp: Update test to match output.
20712 Step to the line specified by $line_dct_nothing.
20713 Increase the number of lines to step.
20714
20715 2014-10-14 Yao Qi <yao@codesourcery.com>
20716
20717 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20718 tests.
20719 * gdb.mi/mi2-var-child.exp: Likewise.
20720
20721 2014-10-13 Doug Evans <dje@google.com>
20722
20723 * gdb.python/py-objfile.exp: Change name of file name test.
20724
20725 2014-10-13 Doug Evans <dje@google.com>
20726
20727 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20728 from the start of the CU.
20729
20730 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20731 Yao Qi <yao@codesourcery.com>
20732
20733 Fix "save breakpoints" for "catch" command.
20734 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20735 Remove -nonewline. Match also the added "main" line.
20736
20737 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20738
20739 Fix "save breakpoints" for "disable $bpnum" command.
20740 * gdb.base/save-bp.c (main): Add label.
20741 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20742
20743 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20744
20745 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20746
20747 2014-10-11 Yao Qi <yao@codesourcery.com>
20748
20749 * gdb.server/server-kill.exp: Execute command
20750 "set remote trace-status-packet on" before "tstatus".
20751
20752 2014-10-11 Yao Qi <yao@codesourcery.com>
20753
20754 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20755 (main): Call getppid.
20756 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20757 and continue to it. Read variable "server_pid".
20758
20759 2014-10-11 Yao Qi <yao@codesourcery.com>
20760
20761 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20762
20763 2014-10-11 Yao Qi <yao@codesourcery.com>
20764
20765 * gdb.threads/thread-find.exp: Don't execute command
20766 "info threads".
20767 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20768 * gdb.threads/linux-dp.exp: Don't check the condition
20769 $threads_created equals to zero.
20770
20771 2014-10-10 Pedro Alves <palves@redhat.com>
20772
20773 * gdb.base/bigcore.exp: Remove references to IRIX.
20774 * gdb.base/funcargs.exp: Likewise.
20775 * gdb.base/interrupt.exp: Likewise.
20776 * gdb.base/mips_pro.exp: Likewise.
20777 * gdb.base/nodebug.exp: Likewise.
20778 * gdb.base/setvar.exp: Likewise.
20779 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20780
20781 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20782 Pedro Alves <palves@redhat.com>
20783
20784 PR symtab/14466
20785 * gdb.base/vdso-warning.c: New file.
20786 * gdb.base/vdso-warning.exp: New file.
20787
20788 2014-10-02 Doug Evans <dje@google.com>
20789
20790 * gdb.base/structs.c (main): Don't run forever.
20791
20792 2014-10-02 Pedro Alves <palves@redhat.com>
20793
20794 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20795 (top level) <stop threads 1, stop threads 2>: Use it.
20796
20797 2014-10-02 Pedro Alves <palves@redhat.com>
20798
20799 * gdb.threads/break-while-running.exp (test): Add new
20800 'update_thread_list' argument. Skip "info threads" if false.
20801 (top level): Add new 'update_thread_list' axis.
20802
20803 2014-10-02 Pedro Alves <palves@redhat.com>
20804
20805 PR breakpoints/17431
20806 * gdb.base/execl-update-breakpoints.c: New file.
20807 * gdb.base/execl-update-breakpoints.exp: New file.
20808
20809 2014-10-01 Pedro Alves <palves@redhat.com>
20810
20811 * gdb.base/breakpoint-in-ro-region.c: New file.
20812 * gdb.base/breakpoint-in-ro-region.exp: New file.
20813
20814 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20815
20816 * gdb.mi/mi-exit-code.exp: New file.
20817 * gdb.mi/mi-exit-code.c: New file.
20818
20819 2014-09-30 Yao Qi <yao@codesourcery.com>
20820
20821 * lib/prelink-support.exp (build_executable_own_libs): Error if
20822 the target isn't native.
20823
20824 2014-09-30 Yao Qi <yao@codesourcery.com>
20825
20826 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20827 false.
20828
20829 2014-09-22 Pedro Alves <palves@redhat.com>
20830
20831 * gdb.threads/break-while-running.exp: New file.
20832 * gdb.threads/break-while-running.c: New file.
20833
20834 2014-09-19 Yao Qi <yao@codesourcery.com>
20835
20836 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20837 Invoke test. Restart GDB with --readnow and invoke test again.
20838
20839 2014-09-19 Yao Qi <yao@codesourcery.com>
20840
20841 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20842 proc set_breakpoint_on_gcd_function. Invoke
20843 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20844 invoke set_breakpoint_on_gcd_function again.
20845
20846 2014-09-18 Doug Evans <dje@google.com>
20847
20848 * gdb.dwarf2/symtab-producer.exp: New file.
20849
20850 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20851
20852 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20853 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20854 * gdb.base/global-var-nested-by-dso.c: Likewise.
20855 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20856
20857 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20858 Pedro Alves <palves@redhat.com>
20859
20860 * gdb.base/watch-bitfields.exp: Pass string other than test file
20861 name to prepare_for_testing.
20862 (watch): New procedure.
20863 (expect_watchpoint): Use with_test_prefix.
20864 (top level): Factor out tests to ...
20865 (test_watch_location, test_regular_watch): ... these new
20866 procedures, and use with_test_prefix and gdb_continue_to_end.
20867
20868 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20869
20870 PR breakpoints/12526
20871 * gdb.base/watch-bitfields.exp: New file.
20872 * gdb.base/watch-bitfields.c: New file.
20873
20874 2014-09-16 Pedro Alves <palves@redhat.com>
20875
20876 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20877 software and hardware addresses, not software address against
20878 itself.
20879
20880 2014-09-16 Pedro Alves <palves@redhat.com>
20881
20882 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20883 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20884
20885 2014-09-16 Pedro Alves <palves@redhat.com>
20886
20887 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20888 files.
20889 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20890 "*-*-vxworks*" throughout.
20891 * gdb.base/break.exp: Likewise.
20892 * gdb.base/default.exp: Likewise.
20893 * gdb.base/scope.exp: Likewise.
20894 * gdb.base/sepdebug.exp: Likewise.
20895 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20896 throughout.
20897 * gdb.base/run.c: Likewise.
20898 * gdb.base/sepdebug.c: Likewise.
20899 * gdb.hp/gdb.aCC/run.c: Likewise.
20900 * gdb.reverse/until-reverse.c: Likewise.
20901 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20902
20903 2014-09-16 Yao Qi <yao@codesourcery.com>
20904
20905 * boards/local-remote-host-native.exp: New file.
20906
20907 2014-09-14 Doug Evans <xdje42@gmail.com>
20908
20909 * gdb.threads/queue-signal.c (thread_count): New variable.
20910 (thread_count_mutex, thread_count_condvar): New variables.
20911 (incr_thread_count, wait_all_threads_running): New functions.
20912 (main): Wait for all threads to be in their thread functions.
20913
20914 2014-09-13 Doug Evans <xdje42@gmail.com>
20915
20916 * gdb.threads/queue-signal.c: New file.
20917 * gdb.threads/queue-signal.exp: New file.
20918
20919 2014-09-13 Doug Evans <xdje42@gmail.com>
20920
20921 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20922 be consistent with what default_gdb_init uses.
20923 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20924 the plain text of the prompt. Add some logging printfs.
20925 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20926
20927 2014-09-12 Pedro Alves <palves@redhat.com>
20928
20929 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20930 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20931 * gdb.arch/i386-size-overlap.exp: Likewise.
20932 * gdb.arch/i386-size.exp: Likewise.
20933 * gdb.arch/i386-unwind.exp: Likewise.
20934 * gdb.base/a2-run.exp: Likewise.
20935 * gdb.base/break.exp: Likewise.
20936 * gdb.base/charset.exp: Likewise.
20937 * gdb.base/chng-syms.exp: Likewise.
20938 * gdb.base/commands.exp: Likewise.
20939 * gdb.base/dbx.exp: Likewise.
20940 * gdb.base/find.exp: Likewise.
20941 * gdb.base/funcargs.exp: Likewise.
20942 * gdb.base/jit-simple.exp: Likewise.
20943 * gdb.base/reread.exp: Likewise.
20944 * gdb.base/sepdebug.exp: Likewise.
20945 * gdb.base/step-bt.exp: Likewise.
20946 * gdb.cp/mb-inline.exp: Likewise.
20947 * gdb.cp/mb-templates.exp: Likewise.
20948 * gdb.objc/basicclass.exp: Likewise.
20949 * gdb.threads/killed.exp: Likewise.
20950
20951 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20952
20953 PR tdep/17379
20954 * gdb.arch/powerpc-stackless.S: New file.
20955 * gdb.arch/powerpc-stackless.exp: New file.
20956
20957 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20958
20959 * gdb.base/attach.c: Include unistd.h.
20960 (main): Call alarm. Add label postloop.
20961 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20962 gdb_breakpoint, gdb_continue_to_breakpoint.
20963 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20964
20965 2014-09-11 Pedro Alves <palves@redhat.com>
20966
20967 PR gdb/17347
20968 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20969 * gdb.base/attach.exp (test_command_line_attach_run): New
20970 procedure.
20971 (top level): Call it.
20972
20973 2014-09-11 Pedro Alves <palves@redhat.com>
20974
20975 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20976 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20977 (do_command_attach_tests): Use spawn_wait_for_attach.
20978 * gdb.base/solib-overlap.exp: Likewise.
20979 * gdb.multi/multi-attach.exp: Likewise.
20980 * gdb.python/py-prompt.exp: Likewise.
20981 * gdb.python/py-sync-interp.exp: Likewise.
20982 * gdb.server/ext-attach.exp: Likewise.
20983
20984 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20985
20986 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20987 command in testcase. Simplify testcase.
20988
20989 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20990
20991 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20992
20993 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20994
20995 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20996
20997 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20998
20999 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21000
21001 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21002
21003 * gdb.dwarf2/dynarr-ptr.c: New file.
21004 * gdb.dwarf2/dynarr-ptr.exp: New file.
21005
21006 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21007
21008 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21009 of 30 rather than hardcoding 120 for a slow test case. Take the
21010 `gdb,timeout' target setting into account for this calculation.
21011 Don't extend the timeout for the test cases that don't need it.
21012
21013 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21014
21015 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21016 a factor of 2 for a slow test case. Take the `gdb,timeout'
21017 target setting into account for this calculation.
21018 * gdb.reverse/until-precsave.exp: Increase the timeout by
21019 a factor of 15 and 3 respectively rather than adding 120
21020 for a pair of slow test cases. Take the `gdb,timeout'
21021 target setting into account for this calculation.
21022
21023 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21024
21025 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21026 timeout, don't pass one down to gdb_expect.
21027 (gdb_expect): Rework timeout selection.
21028
21029 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21030
21031 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21032 exception on timeout.
21033 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21034 (gdbserver_start_extended): Catch any `gdbserver_start' error
21035 exceptions.
21036 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21037 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21038 `gdbserver_gdb_load' error exceptions.
21039
21040 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21041
21042 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21043 120 on waiting for the TCP socket to open.
21044
21045 2014-09-09 Doug Evans <xdje42@gmail.com>
21046
21047 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21048 _caller_matches, _any_caller_is, _any_caller_matches.
21049
21050 2014-09-09 Doug Evans <xdje42@gmail.com>
21051
21052 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21053
21054 2014-09-09 Yao Qi <yao@codesourcery.com>
21055
21056 * gdb.mi/mi-var-display.exp: Set print symbol off.
21057
21058 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21059
21060 PR gdb/17035
21061 * gdb.base/commands.exp: Add tests to verify user-defined
21062 commands with empty bodies.
21063 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21064 python commands in `show user command`.
21065 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21066 scheme commands in `show user command`.
21067
21068 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21069
21070 PR python/17355
21071 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21072 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21073 * gdb.python/py-framefilter-invalidarg.exp: New file.
21074 * gdb.python/py-framefilter-invalidarg.py: New file.
21075
21076 2014-09-06 Doug Evans <xdje42@gmail.com>
21077
21078 PR 15276
21079 * gdb.python/py-caller-is.c: New file.
21080 * gdb.python/py-caller-is.exp: New file.
21081
21082 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21083
21084 PR gdb/17235
21085 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21086 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21087
21088 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21089
21090 PR fortran/17237
21091 * gdb.fortran/print-formatted.exp: New file.
21092 * gdb.fortran/print-formatted.f90: Likewise.
21093
21094 2014-09-03 Sasha Smundak <asmundak@google.com>
21095
21096 * gdb.python/py-frame.exp: Test Frame.read_register.
21097
21098 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21099
21100 PR python/16699
21101 * gdb.python/py-completion.exp: New file.
21102 * gdb.python/py-completion.py: Likewise.
21103
21104 2014-08-28 Doug Evans <dje@google.com>
21105
21106 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21107 eax,etc. are live with values set by gdb and thus the compiler can't
21108 use them.
21109 * gdb.arch/i386-pseudo.c (main): Ditto.
21110
21111 2014-08-27 Doug Evans <dje@google.com>
21112
21113 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21114
21115 2014-08-25 Doug Evans <dje@google.com>
21116
21117 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21118 (main): Ditto.
21119
21120 2014-08-25 Doug Evans <dje@google.com>
21121
21122 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21123
21124 2014-08-24 Yao Qi <yao@codesourcery.com>
21125
21126 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21127 symbol off.
21128 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21129
21130 2014-08-22 Doug Evans <dje@google.com>
21131
21132 PR 17276
21133 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21134 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21135 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21136
21137 2014-08-22 Yao Qi <yao@codesourcery.com>
21138
21139 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21140 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21141 * gdb.python/python.exp: Likewise. Use .py file on the host
21142 instead of the build.
21143
21144 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21145
21146 * gdb.threads/gcore-stale-thread.c: New file.
21147 * gdb.threads/gcore-stale-thread.exp: New file.
21148
21149 2014-08-21 Pedro Alves <palves@redhat.com>
21150
21151 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21152 * gdb.base/gcore-relro-pie.exp: Likewise.
21153 * gdb.base/gcore-relro.exp: Likewise.
21154 * gdb.base/gcore.exp: Likewise.
21155 * gdb.base/print-symbol-loading.exp: Likewise.
21156 * gdb.threads/gcore-thread.exp: Likewise.
21157 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21158
21159 2014-08-20 Pedro Alves <palves@redhat.com>
21160 Jan Kratochvil <jan.kratochvil@redhat.com>
21161
21162 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21163 configure.
21164 (EXPECT): Handle READ1 being set.
21165 (all): Depend on EXTRA_RULES.
21166 (check-read1, expect-read1, read1.so, read1): New rules.
21167 * README (Testsuite Parameters): Document the READ1 make variable.
21168 (Race detection): New section.
21169 * configure: Regenerate.
21170 * configure.ac: If build==host==target, and running under a
21171 GNU/glibc system, add read1 to the extra Makefile rules.
21172 (EXTRA_RULES): AC_SUBST it.
21173 * lib/read1.c: New file.
21174
21175 2014-08-20 Joel Brobecker <brobecker@adacore.com>
21176
21177 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21178 the handling of variables declared as a typedef to an array
21179 which a DW_AT_data_location attribute.
21180
21181 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
21182 Pedro Alves <palves@redhat.com>
21183
21184 PR symtab/14604
21185 PR symtab/14605
21186 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21187 gdb_test.
21188
21189 2014-08-19 Pedro Alves <palves@redhat.com>
21190
21191 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21192
21193 2014-08-19 Yao Qi <yao@codesourcery.com>
21194
21195 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21196 right line.
21197
21198 2014-08-18 David Blaikie <dblaikie@gmail.com>
21199
21200 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21201
21202 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21203
21204 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21205 attribute in array range.
21206
21207 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21208
21209 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21210
21211 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21212
21213 PR c++/17132
21214 * gdb.cp/pr17132.cc: New file.
21215 * gdb.cp/pr17132.exp: New file.
21216
21217 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21218
21219 * gdb.python/py-xmethods.py (A_getarrayind)
21220 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21221 Use 'print' with function call syntax.
21222 (E_method_matcher.match): Fix tab vs space indentation mixup.
21223
21224 2014-08-15 Yao Qi <yao@codesourcery.com>
21225
21226 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21227 false.
21228
21229 2014-08-15 Yao Qi <yao@codesourcery.com>
21230
21231 * gdb.cp/casts.exp: Set print symbol off.
21232 * gdb.cp/class2.exp: Likewise.
21233 * gdb.cp/overload.exp: Likewise.
21234 * gdb.cp/templates.exp: Likewise.
21235
21236 2014-08-11 Doug Evans <dje@google.com>
21237
21238 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21239 (test_load_shlib): Update.
21240
21241 2014-08-09 Yao Qi <yao@codesourcery.com>
21242
21243 * gdb.base/display.exp: Invoke is_address_zero_readable.
21244 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21245 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21246 * gdb.base/hbreak-unmapped.exp: Return if
21247 is_address_zero_readable returns true.
21248 * gdb.base/signest.exp: Likewise.
21249 * gdb.base/signull.exp: Likewise.
21250 * gdb.base/sigbpt.exp: Likewise.
21251 * gdb.guile/scm-disasm.exp: Do the test if
21252 is_address_zero_readable returns false.
21253 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21254 * gdb.python/py-arch.exp: Likewise.
21255 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21256 * lib/gdb.exp (is_address_zero_readable): New proc.
21257
21258 2014-08-09 Yao Qi <yao@codesourcery.com>
21259
21260 PR testsuite/13443
21261 * gdb.mi/mi-var-display.exp: Make test messages unique.
21262
21263 2014-08-04 Tom Tromey <tromey@redhat.com>
21264
21265 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21266 target 0".
21267
21268 2014-08-04 Tom Tromey <tromey@redhat.com>
21269
21270 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21271 "target_resume".
21272
21273 2014-08-01 Joel Brobecker <brobecker@adacore.com>
21274
21275 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21276 inner_vla_struct_object_size.
21277 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21278 as xfail.
21279
21280 2014-07-30 Pedro Alves <palves@redhat.com>
21281
21282 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21283 comment.
21284
21285 2014-07-29 Yao Qi <yao@codesourcery.com>
21286
21287 PR gdb/17206
21288 * gdb.base/until-nodebug.exp: New.
21289
21290 2014-07-28 Doug Evans <xdje42@gmail.com>
21291
21292 PR guile/17203
21293 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21294 previously existing parameter, and previously ambiguously spelled
21295 parameter.
21296
21297 2014-07-28 Will Newton <will.newton@linaro.org>
21298
21299 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21300
21301 2014-07-26 Ludovic Courtès <ludo@gnu.org>
21302 Doug Evans <xdje42@gmail.com>
21303
21304 PR guile/17146
21305 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21306
21307 2014-07-25 Pedro Alves <palves@redhat.com>
21308
21309 * gdb.threads/signal-command-handle-nopass.c: New file.
21310 * gdb.threads/signal-command-handle-nopass.exp: New file.
21311 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21312 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21313 * gdb.threads/signal-delivered-right-thread.c: New file.
21314 * gdb.threads/signal-delivered-right-thread.exp: New file.
21315
21316 2014-07-25 Pedro Alves <palves@redhat.com>
21317
21318 * gdb.base/double-prompt-target-event-error.exp
21319 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21320 match.
21321 (cancel_pagination_in_target_event): Rework double prompt
21322 detection.
21323 * gdb.base/paginate-after-ctrl-c-running.exp
21324 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21325 <return>' match.
21326 * gdb.base/paginate-bg-execution.exp
21327 (test_bg_execution_pagination_return)
21328 (test_bg_execution_pagination_cancel): Remove '-notransfer
21329 <return>' matches.
21330 * gdb.base/paginate-execution-startup.exp
21331 (test_fg_execution_pagination_return)
21332 (test_fg_execution_pagination_cancel): Remove '-notransfer
21333 <return>' matches.
21334 * gdb.base/paginate-inferior-exit.exp
21335 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21336 match.
21337 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21338 * lib/gdb.exp (pagination_prompt): Run text through
21339 string_to_regexp.
21340 (gdb_test_multiple): Match $pagination_prompt instead of
21341 "<return>".
21342 (string_to_regexp): Move to lib/gdb-utils.exp.
21343
21344 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21345
21346 * gdb.arch/amd64-entry-value-paramref.S: New file.
21347 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21348 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21349 * gdb.arch/amd64-optimout-repeat.S: New file.
21350 * gdb.arch/amd64-optimout-repeat.c: New file.
21351 * gdb.arch/amd64-optimout-repeat.exp: New file.
21352
21353 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21354
21355 PR gdb/17170
21356 * gdb.base/statistics.exp: New file.
21357
21358 2014-07-17 Doug Evans <dje@google.com>
21359
21360 PR gdb/17170
21361 * gdb.base/maint.exp: Update testing of per-command stats.
21362
21363 2014-07-16 Pedro Alves <palves@redhat.com>
21364
21365 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21366 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21367 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21368 (tfile_write_buf): New functions.
21369 (add_memory_block): Rewrite using the above.
21370 (adjust_function_address): New function.
21371 (FUNCTION_ADDRESS): New macro.
21372 (write_basic_trace_file): Remove short_x local, and use
21373 tfile_write_16. Change type of func_addr local to unsigned long
21374 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21375 here. Cast argument of add_memory_block to char pointer.
21376 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21377 (main): Remove parameters.
21378 * gdb.trace/tfile.exp: Remove nowarnings.
21379
21380 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21381
21382 * gdb.base/debug-expr.exp: Test string evaluation with
21383 "debug expression" on.
21384
21385 2014-07-15 Pedro Alves <palves@redhat.com>
21386
21387 * gdb.base/reread.exp: Use clean_restart.
21388
21389 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21390
21391 * gdb.arch/avr-flash-qualifer.c: New.
21392 * gdb.arch/avr-flash-qualifer.exp: New.
21393
21394 2014-07-14 Pedro Alves <palves@redhat.com>
21395
21396 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21397 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21398
21399 2014-07-14 Pedro Alves <palves@redhat.com>
21400
21401 * gdb.base/double-prompt-target-event-error.c: New file.
21402 * gdb.base/double-prompt-target-event-error.exp: New file.
21403
21404 2014-07-14 Pedro Alves <palves@redhat.com>
21405
21406 PR gdb/17072
21407 * gdb.base/paginate-inferior-exit.c: New file.
21408 * gdb.base/paginate-inferior-exit.exp: New file.
21409
21410 2014-07-14 Pedro Alves <palves@redhat.com>
21411
21412 PR gdb/17072
21413 * gdb.base/paginate-bg-execution.c: New file.
21414 * gdb.base/paginate-bg-execution.exp: New file.
21415
21416 2014-07-14 Pedro Alves <palves@redhat.com>
21417
21418 PR gdb/17072
21419 * gdb.base/paginate-execution-startup.c: New file.
21420 * gdb.base/paginate-execution-startup.exp: New file.
21421 * lib/gdb.exp (pagination_prompt): New global.
21422 (default_gdb_spawn): New procedure, factored out from
21423 default_gdb_spawn.
21424 (default_gdb_start): Adjust to call default_gdb_spawn.
21425 (gdb_spawn): New procedure.
21426
21427 2014-07-14 Pedro Alves <palves@redhat.com>
21428
21429 * lib/gdb.exp (gdb_assert): New procedure.
21430 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21431
21432 2014-07-14 Pedro Alves <palves@redhat.com>
21433
21434 * gdb.base/execution-termios.c: New file.
21435 * gdb.base/execution-termios.exp: New file.
21436
21437 2014-07-14 Tom Tromey <tromey@redhat.com>
21438
21439 * gdb.cp/vla-cxx.cc: New file.
21440 * gdb.cp/vla-cxx.exp: New file.
21441
21442 2014-07-14 Tom Tromey <tromey@redhat.com>
21443
21444 * gdb.reverse/rerun-prec.c: New file.
21445 * gdb.reverse/rerun-prec.exp: New file.
21446
21447 2014-07-12 Maciej W. Rozycki <macro@mips.com>
21448 Maciej W. Rozycki <macro@codesourcery.com>
21449
21450 * lib/gdb-utils.exp: New file.
21451 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21452 inline `gdb_init_command' processing.
21453 (gdb_start_cmd): Likewise.
21454 * lib/mi-support.exp (mi_run_cmd): Likewise.
21455 * README: Document `gdb_init_command' and `gdb_init_commands'.
21456
21457 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21458
21459 Fix false FAIL running under a very long directory name.
21460 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21461 and "set print elements 10000". Twice.
21462
21463 2014-07-11 Yao Qi <yao@codesourcery.com>
21464
21465 * gdb.base/exprs.exp: "set print symbol off".
21466
21467 2014-07-11 Pedro Alves <palves@redhat.com>
21468
21469 * gdb.threads/kill.c: New file.
21470 * gdb.threads/kill.exp: New file.
21471
21472 2014-07-10 Yao Qi <yao@codesourcery.com>
21473
21474 * gdb.trace/tfile.c (write_basic_trace_file)
21475 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21476 address written to trace file.
21477
21478 2014-07-09 Pedro Alves <palves@redhat.com>
21479
21480 * gdb.base/attach-wait-input.exp: New file.
21481 * gdb.base/attach-wait-input.c: New file.
21482
21483 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21484
21485 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21486 setting up test structures.
21487 (main): Call new test function.
21488 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21489 test function, continue into test function and walk test
21490 structures.
21491
21492 2014-07-02 Yao Qi <yao@codesourcery.com>
21493
21494 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21495 'bar_start' at the beginning of functions 'foo' and 'bar'
21496 respectively.
21497 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21498 instead of 'foo' and 'bar'.
21499
21500 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21501
21502 * gdb.btrace/segv.exp: New.
21503 * gdb.btrace/segv.c: New.
21504
21505 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
21506
21507 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21508 instruction.
21509
21510 2014-06-30 Mark Wielaard <mjw@redhat.com>
21511
21512 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21513 vulture, vilify, villar): New volatile array constants.
21514 (vindictive, vegetation): New const volatile array constants.
21515 * gdb.base/volatile.exp: Test volatile and const volatile array
21516 types.
21517
21518 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21519
21520 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21521 target lacks support for awatch, rwatch, or hbreak.
21522
21523 2014-06-27 Yao Qi <yao@codesourcery.com>
21524
21525 * gdb.multi/dummy-frame-restore.exp: New.
21526 * gdb.multi/dummy-frame-restore.c: New.
21527
21528 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21529
21530 * gdb.btrace/gcore.exp: New.
21531
21532 2014-06-23 Pedro Alves <palves@redhat.com>
21533
21534 * gdb.base/watchpoint-reuse-slot.c: New file.
21535 * gdb.base/watchpoint-reuse-slot.exp: New file.
21536
21537 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21538
21539 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21540 progspace's filename in 'info', 'enable' and 'disable' command
21541 tests.
21542
21543 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21544
21545 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21546 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21547 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21548
21549 2014-06-20 Gary Benson <gbenson@redhat.com>
21550
21551 * gdb.arch/i386-avx.exp: Fix include file location.
21552 * gdb.arch/i386-sse.exp: Likewise.
21553
21554 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21555
21556 * gdb.dlang/expression.exp: New file.
21557
21558 2014-06-19 Pedro Alves <palves@redhat.com>
21559
21560 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21561 out from ...
21562 (top level): ... here. Iterate running tests under different
21563 scheduler-locking settings.
21564
21565 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
21566
21567 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21568 to DW_FORM_addr and use non-zero addresses.
21569
21570 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21571
21572 PR gdb/17017
21573 * gdb.python/py-xmethods.cc: Add global function call counters and
21574 increment them in their respective functions. Remove "cout"
21575 statements.
21576 * gdb.python/py-xmethods.exp: Make tests check the global function
21577 call counters instead of depending on inferior IO.
21578
21579 2014-06-18 Don Breazeal <donb@codesourcery.com>
21580
21581 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21582 Deleted procedure.
21583 (explicit_fork_parent_follow): Deleted procedure.
21584 (explicit_fork_child_follow): Deleted procedure.
21585 (test_follow_fork): New procedure.
21586 (do_fork_tests): Replace calls to deleted procedures with
21587 calls to test_follow_fork and reset GDB for subsequent
21588 procedure calls.
21589
21590 2014-06-17 Yao Qi <yao@codesourcery.com>
21591
21592 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21593 CP1252.
21594
21595 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
21596
21597 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21598 Initialize ptr and S explicitly.
21599 (skip_type_update_when_not_use_rtti_test): Likewise.
21600
21601 2014-06-16 Keith Seitz <keiths@redhat.com>
21602
21603 PR mi/15863
21604 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21605 the inferior is started.
21606
21607 2014-06-16 Pedro Alves <palves@redhat.com>
21608
21609 * gdb.base/break-main-file-remove-fail.c: New file.
21610 * gdb.base/break-main-file-remove-fail.exp: New file.
21611 * gdb.base/break-unload-file.exp: Use build_executable instead of
21612 prepare_for_testing.
21613 (test_break): New parameter "initial_load". Handle it.
21614 (top level): Add initial_load cmdline/file axis.
21615
21616 2014-06-12 Tom Tromey <tromey@redhat.com>
21617
21618 * gdb.base/completion.exp: Don't use directory name in test.
21619
21620 2014-06-09 Gary Benson <gbenson@redhat.com>
21621
21622 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21623 separate the always-available ANSI-standard signals from the
21624 signals that require checking.
21625 (main): Likewise.
21626 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21627 Likewise.
21628 (main): Likewise.
21629
21630 2014-06-07 Keith Seitz <keiths@redhat.com>
21631
21632 Revert:
21633 PR c++/16253
21634 * gdb.cp/var-tag.cc: New file.
21635 * gdb.cp/var-tag.exp: New file.
21636 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21637 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21638 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21639 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21640
21641 2014-06-06 Doug Evans <xdje42@gmail.com>
21642
21643 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21644
21645 2014-06-06 Pedro Alves <palves@redhat.com>
21646
21647 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21648 in target debug output instead of looking at RSP packets,
21649 disabling the test on any target that uses hardware stepping.
21650 Update comments.
21651
21652 2014-06-06 Pedro Alves <palves@redhat.com>
21653
21654 * gdb.base/break-unload-file.exp: Fix typo.
21655
21656 2014-06-06 Yao Qi <yao@codesourcery.com>
21657
21658 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21659 from "jit_function" to "^jit_function".
21660
21661 2014-06-06 Yao Qi <yao@codesourcery.com>
21662
21663 * gdb.base/async.c (foo): Add one statement.
21664 * gdb.base/async.exp: Get the next instruction address and
21665 match the output of "nexti" by instruction address. Match
21666 the hex address in the output of "finish".
21667
21668 2014-06-06 Gary Benson <gbenson@redhat.com>
21669
21670 * gdb.base/call-signals.c: Remove preprocessor conditionals
21671 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21672 SIGSEGV and SIGTERM.
21673 * gdb.base/sigall.c: Likewise.
21674 * gdb.base/unwindonsignal.c: Likewise.
21675 * gdb.reverse/sigall-reverse.c: Likewise.
21676
21677 2014-06-06 Yao Qi <yao@codesourcery.com>
21678
21679 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21680 readable, skip the test.
21681
21682 2014-06-06 Yao Qi <yao@codesourcery.com>
21683
21684 * gdb.threads/staticthreads.c (thread_function): Move the line
21685 setting breakpoint on forward.
21686 * gdb.threads/staticthreads.exp: Update comments.
21687
21688 2014-06-05 Ludovic Courtès <ludo@gnu.org>
21689
21690 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21691 "history-append! type error".
21692
21693 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21694
21695 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21696 erroneous dprintf expected input.
21697
21698 2014-06-04 Doug Evans <xdje42@gmail.com>
21699
21700 * gdb.guile/scm-generics.exp: Delete.
21701
21702 2014-06-04 Doug Evans <xdje42@gmail.com>
21703
21704 * gdb.guile/scm-breakpoint.exp: Update.
21705 Add tests for breakpoint registration.
21706
21707 2014-06-04 Tom Tromey <tromey@redhat.com>
21708
21709 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21710 VLA-in-union.
21711 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21712 inner_vla_struct, vla_union types. Initialize objects of those
21713 types and compute their sizes.
21714
21715 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21716 Hui Zhu <hui@codesourcery.com>
21717
21718 * gdb.base/fileio.exp: Add test for shell not available as well as
21719 available.
21720 * gdb.base/fileio.c (test_system): Check for shell twice.
21721
21722 2014-06-04 Yao Qi <yao@codesourcery.com>
21723
21724 * gdb.base/auto-connect-native-target.exp: Remove redundant
21725 space from the regexp pattern.
21726
21727 2014-06-04 Yao Qi <yao@codesourcery.com>
21728
21729 * gdb.base/default.exp: Replace "child" with "native" in
21730 regexp pattern.
21731
21732 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21733
21734 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21735 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21736 * gdb.python/py-xmethods.py: Python script supporting the
21737 new testcase and tests.
21738
21739 2014-06-03 Joel Brobecker <brobecker@adacore.com>
21740 Pedro Alves <palves@redhat.com>
21741
21742 PR breakpoints/17000
21743 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21744 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21745
21746 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21747
21748 * gdb.base/subst.exp: Add tests to verify partial path matching
21749 output.
21750
21751 2014-06-03 Pedro Alves <palves@redhat.com>
21752
21753 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21754 target that doesn't use software single-stepping.
21755
21756 2014-06-03 Pedro Alves <palves@redhat.com>
21757
21758 PR breakpoints/17000
21759 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21760 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21761
21762 2014-06-02 Doug Evans <xdje42@gmail.com>
21763
21764 * gdb.guile/scm-parameter.exp: New file.
21765
21766 2014-06-02 Doug Evans <xdje42@gmail.com>
21767
21768 * gdb.guile/scm-cmd.c: New file.
21769 * gdb.guile/scm-cmd.exp: New file.
21770
21771 2014-06-02 Doug Evans <xdje42@gmail.com>
21772
21773 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21774 pretty-printer lookup.
21775 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21776 (make-pp_s-printer): Call it.
21777 (make-pretty-printer-from-dict): New function.
21778 (lookup-pretty-printer-maker-from-dict): New function.
21779 (*pretty-printer*): Simplify.
21780 (make-objfile-pp_s-printer): New function.
21781 (install-objfile-pretty-printers!): New function.
21782 (make-progspace-pp_s-printer): New function.
21783 (install-progspace-pretty-printers!): New function.
21784 * gdb.guile/scm-progspace.c: New file.
21785 * gdb.guile/scm-progspace.exp: New file.
21786
21787 2014-06-02 Pedro Alves <palves@redhat.com>
21788
21789 * gdb.base/dprintf-bp-same-addr.c: New file.
21790 * gdb.base/dprintf-bp-same-addr.exp: New file.
21791
21792 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21793
21794 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21795 * gdb.arch/powerpc-power.s: Likewise.
21796
21797 2014-06-02 Joel Brobecker <brobecker@adacore.com>
21798
21799 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21800
21801 2014-06-01 Yao Qi <yao@codesourcery.com>
21802
21803 * gdb.base/watchpoint.exp (test_watch_location): Check null
21804 pointer can be dereferenced. If not, do the test, otherwise
21805 skip it.
21806
21807 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
21808
21809 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21810 results.
21811 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21812
21813 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
21814
21815 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21816 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21817 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21818 * gdb.arch/amd64-invalid-stack-top.c: New file.
21819 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21820
21821 2014-05-30 Pedro Alves <palves@redhat.com>
21822
21823 PR breakpoints/17000
21824 * gdb.base/sss-bp-on-user-bp.c: New file.
21825 * gdb.base/sss-bp-on-user-bp.exp: New file.
21826
21827 2014-05-30 David Blaikie <dblaikie@gmail.com>
21828
21829 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21830 gnu_inline semantics via attribute.
21831 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21832 source explicitly specifies the required semantics.
21833
21834 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21835
21836 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21837
21838 2014-05-29 Pedro Alves <palves@redhat.com>
21839 Tom Tromey <tromey@redhat.com>
21840
21841 * gdb.base/async-shell.exp: Don't enable target-async.
21842 * gdb.base/async.exp
21843 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21844 parameter. Adjust.
21845 (top level): Don't test with "target-async".
21846 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21847 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21848 * gdb.base/inferior-died.exp: Don't enable target-async.
21849 * gdb.base/interrupt-noterm.exp: Likewise.
21850 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21851 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21852 * gdb.mi/mi-nonstop.exp: Likewise.
21853 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21854 * gdb.mi/mi-nsintrall.exp: Likewise.
21855 * gdb.mi/mi-nsmoribund.exp: Likewise.
21856 * gdb.mi/mi-nsthrexec.exp: Likewise.
21857 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21858 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21859 * gdb.python/py-evsignal.exp: Don't enable target-async.
21860 * gdb.python/py-evthreads.exp: Likewise.
21861 * gdb.python/py-prompt.exp: Likewise.
21862 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21863 * gdb.server/solib-list.exp: Don't enable target-async.
21864 * gdb.threads/thread-specific-bp.exp: Likewise.
21865 * lib/mi-support.exp: Adjust to use mi-async.
21866
21867 2014-05-29 Pedro Alves <palves@redhat.com>
21868
21869 PR gdb/13860
21870 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21871 reason, even in sync mode.
21872
21873 2014-05-29 Pedro Alves <palves@redhat.com>
21874 Hui Zhu <hui@codesourcery.com>
21875
21876 PR PR15693
21877 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21878 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21879 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21880 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21881
21882 2014-05-28 Joel Brobecker <brobecker@adacore.com>
21883
21884 * config/monitor.exp (gdb_target_monitor): Replace use of
21885 "set remotebaud" by "set serial baud".
21886
21887 2014-05-26 Andy Wingo <wingo@igalia.com>
21888
21889 * gdb.guile/scm-breakpoint.exp:
21890 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21891 properties instead of gdb-object-properties.
21892
21893 2014-05-26 Yao Qi <yao@codesourcery.com>
21894
21895 * gdb.server/no-thread-db.exp: Specify source file name
21896 explicitly when setting a breakpoint.
21897
21898 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21899
21900 * gdb.btrace/vdso.c: New.
21901 * gdb.btrace/vdso.exp: New.
21902
21903 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21904
21905 * gdb.base/gcore.exp (capture_command_output): Move ...
21906 * lib/gdb.exp (capture_command_output): ... here.
21907
21908 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21909
21910 * gdb.btrace/data.exp: Test memory access during btrace replay.
21911
21912 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21913
21914 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21915
21916 2014-05-21 Pedro Alves <palves@redhat.com>
21917
21918 PR gdb/13860
21919 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21920 (top level): Test that output related to execution commands is
21921 sent to the console with CLI commands, but not with MI commands.
21922 Test that breakpoint events are always mirrored to the console.
21923 Also expect the new source line to be output after a "next" in
21924 async mode too. Make it a pass/fail test.
21925 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21926 output.
21927 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21928
21929 2014-05-21 Pedro Alves <palves@redhat.com>
21930
21931 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21932 Use them to test variations of "list" after reaching a breakpoint.
21933 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21934 Test "list" with listsize 10 after reaching a breakpoint.
21935 * gdb.python/python.exp (decode_line current location line
21936 number): Adjust expected line number.
21937
21938 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21939
21940 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21941 behavior for $args, pass it directly to "run".
21942
21943 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21944
21945 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21946 30000 to 65536.
21947
21948 2014-05-21 Pedro Alves <palves@redhat.com>
21949
21950 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21951 auto-connect-native-target off".
21952 * gdb.base/auto-connect-native-target.c: New file.
21953 * gdb.base/auto-connect-native-target.exp: New file.
21954
21955 2014-05-21 Pedro Alves <palves@redhat.com>
21956
21957 * gdb.base/default.exp: Test "target native" instead of "target
21958 child".
21959
21960 2014-05-21 Mark Wielaard <mjw@redhat.com>
21961
21962 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21963
21964 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21965
21966 Fix TLS access for -static -pthread.
21967 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21968 <HAVE_TLS> (thread_function, main): Initialize it.
21969 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21970 Add clean_restart.
21971 <$have_tls != "">: Check TLSVAR.
21972
21973 2014-05-21 Pedro Alves <palves@redhat.com>
21974
21975 * gdb.base/dcache-line-read-error.c: New.
21976 * gdb.base/dcache-line-read-error.exp: New.
21977
21978 2014-05-20 Pedro Alves <palves@redhat.com>
21979
21980 * gdb.base/compare-sections.c: New file.
21981 * gdb.base/compare-sections.exp: New file.
21982
21983 2014-05-20 Pedro Alves <palves@redhat.com>
21984
21985 * gdb.base/break-idempotent.c: New file.
21986 * gdb.base/break-idempotent.exp: New file.
21987
21988 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21989
21990 * gdb.btrace/nohist.exp: New.
21991
21992 2014-05-20 Yao Qi <yao@codesourcery.com>
21993
21994 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21995 gdb.reverse directory and gdb_reverse_timeout exists in board
21996 setting.
21997 * README: Document gdb_reverse_timeout.
21998
21999 2014-05-20 Yao Qi <yao@codesourcery.com>
22000
22001 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22002 'test_file_name'. Treat args as a string instead of a list.
22003 (gdb_init): Rename argument 'args' by 'test_file_name'.
22004
22005 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22006
22007 * gdb.arch/powerpc-power.exp: New file.
22008 * gdb.arch/powerpc-power.s: New file.
22009
22010 2014-05-16 Doug Evans <dje@google.com>
22011
22012 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
22013 * gdb.base/completion.exp: Check that all expected files exist
22014 before doing file completion.
22015
22016 2014-05-16 Doug Evans <dje@google.com>
22017
22018 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22019 Update.
22020 (do_syscall_tests_without_xml): Update.
22021
22022 2014-05-16 Pedro Alves <palves@redhat.com>
22023
22024 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22025 instead of "unknown output after running".
22026
22027 2014-05-16 Yao Qi <yao@codesourcery.com>
22028
22029 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22030 file1.txt from host at the end.
22031 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22032
22033 2014-05-15 Doug Evans <dje@google.com>
22034
22035 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22036 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22037 loading file. Add test for TU lookup.
22038
22039 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22040
22041 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22042 calling "-exec-arguments" or "set args" before running the
22043 inferior.
22044
22045 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22046
22047 * lib/mi-support.exp (mi_expect_stop): Expect message for
22048 inferiors that exit with non-zero exit code.
22049
22050 2014-05-14 Yao Qi <yao@codesourcery.com>
22051
22052 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22053 match absolute path on remote host.
22054 (test_file_list_exec_source_files): Remove "/" from the
22055 pattern.
22056
22057 2014-05-14 Yao Qi <yao@codesourcery.com>
22058
22059 * boards/local-remote-host-notty.exp (${board}_file): New
22060 proc.
22061
22062 2014-05-07 Kyle McMartin <kyle@redhat.com>
22063
22064 Pushed by Joel Brobecker <brobecker@adacore.com>.
22065 * gdb.arch/aarch64-atomic-inst.c: New file.
22066 * gdb.arch/aarch64-atomic-inst.exp: New file.
22067
22068 2014-05-07 Yao Qi <yao@codesourcery.com>
22069
22070 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22071 in current context" too.
22072
22073 2014-05-05 Keith Seitz <keiths@redhat.com>
22074
22075 * gdb.linespec/ls-dollar.exp: Add test for linespec
22076 file:convenience_variable.
22077
22078 2014-05-05 Yao Qi <yao@codesourcery.com>
22079
22080 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22081 traceframes into tfile and ctf trace files. Read data from
22082 trace file and test collected data.
22083 (gdb_collect_locals_test): Likewise.
22084 (gdb_unavailable_registers_test): Likewise.
22085 (gdb_unavailable_floats): Likewise.
22086 (gdb_collect_globals_test): Likewise.
22087 (top-level): Append "ctf" to trace_file_targets if GDB
22088 supports.
22089
22090 2014-05-05 Yao Qi <yao@codesourcery.com>
22091
22092 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22093 code to ...
22094 (gdb_collect_args_test_1): ... it. New proc.
22095 (gdb_collect_locals_test): Move some code to ...
22096 (gdb_collect_locals_test_1): ... it. New proc.
22097 (gdb_unavailable_registers_test): Move some code to ...
22098 (gdb_unavailable_registers_test_1): ... it. New proc.
22099 (gdb_unavailable_floats): Move some code to ...
22100 (gdb_unavailable_floats_1): ... it. New proc.
22101
22102 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22103
22104 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22105 probes to test for bitness recognition.
22106 * gdb.arch/amd64-stap-optional-prefix.exp
22107 (test_probe_value_without_reg): New procedure.
22108 Add code to test for different kinds of bitness.
22109
22110 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22111
22112 PR breakpoints/16889
22113 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22114 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22115
22116 2014-05-01 Pedro Alves <palves@redhat.com>
22117
22118 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22119 gdb_file_cmd if no file is specified.
22120 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22121 last_loaded_file to set the remote exec-file.
22122
22123 2014-05-01 Pedro Alves <palves@redhat.com>
22124
22125 * boards/local-remote-host.exp: New file.
22126
22127 2014-05-01 Pedro Alves <palves@redhat.com>
22128
22129 * boards/local-remote-host.exp: Rename to ...
22130 * boards/local-remote-host-notty.exp: ... this.
22131
22132 2014-04-28 Joel Brobecker <brobecker@adacore.com>
22133
22134 * gdb.ada/dyn_arrayidx: New testcase.
22135
22136 2014-04-26 Yao Qi <yao@codesourcery.com>
22137
22138 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22139 and compute the length of function main. Save it in
22140 $main_length.
22141 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22142 (top-level): Use gdb_compile to compile objects into
22143 executable and restart GDB. Remove invocation to
22144 prepare_for_testing.
22145
22146 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22147 Pedro Alves <palves@redhat.com>
22148
22149 PR server/16255
22150 * gdb.multi/multi-attach.c: New file.
22151 * gdb.multi/multi-attach.exp: New file.
22152
22153 2014-04-25 Pedro Alves <palves@redhat.com>
22154
22155 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22156 user.
22157 (top level): Test that "set remote conditional-breakpoints-packet
22158 off" works as intended.
22159 * gdb.base/dprintf.exp: Test that "set remote
22160 breakpoint-commands-packet off" works as intended.
22161 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22162 New function.
22163 (top level): Call it.
22164 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22165 remote fast-tracepoints-packet off" works as intended.
22166 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22167 * lib/gdb.exp (gdb_is_target_remote): ... here.
22168
22169 2014-04-24 David Blaikie <dblaikie@gmail.com>
22170
22171 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22172 ensure clang would not discard them.
22173 * gdb.base/gdbvars.c: Ditto.
22174 * gdb.base/memattr.c: Ditto.
22175 * gdb.base/whatis.c: Ditto.
22176 * gdb.python/py-prettyprint.c: Ditto.
22177 * gdb.trace/actions.c: Ditto.
22178 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22179 ensure clang would not discard it.
22180
22181 2014-04-24 David Blaikie <dblaikie@gmail.com>
22182
22183 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22184 clang to emit the full definition of type required by the test
22185 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22186
22187 2014-04-24 David Blaikie <dblaikie@gmail.com>
22188
22189 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22190 coax Clang into emitting the definition of the type.
22191 * gdb.cp/pr10728-x.h (y): Ditto.
22192 * gdb.cp/pr10728-y.cc (y): Ditto.
22193
22194 2014-04-24 David Blaikie <dblaikie@gmail.com>
22195
22196 * gdb.base/label.exp: XFAIL label related tests under Clang.
22197 * gdb.cp/cplabel.exp: Ditto.
22198 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22199 under Clang those using labels.
22200
22201 2014-04-25 Yao Qi <yao@codesourcery.com>
22202
22203 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22204 double_label.
22205 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22206 partial_label and double_label.
22207
22208 2014-04-24 David Blaikie <dblaikie@gmail.com>
22209
22210 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22211
22212 2014-04-24 David Blaikie <dblaikie@gmail.com>
22213
22214 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22215 of the function to work across GCC and Clang.
22216 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22217 pointer types (const void ** const V void **).
22218
22219 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
22220 Walfred Tedeschi <walfred.tedeschi@intel.com>
22221
22222 * Makefile.in (EXECUTABLES): Added i386-avx512.
22223 * gdb.arch/i386-avx512.c: New file.
22224 * gdb.arch/i386-avx512.exp: Likewise.
22225
22226 2014-04-23 Keith Seitz <keiths@redhat.com>
22227
22228 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22229 (mi_make_breakpoint_table): New procedure.
22230 (mi_create_breakpoint): Use mi_make_breakpoint
22231 and return the result.
22232 (mi_make_breakpoint): New procedure.
22233 (mi_build_kv_pairs): New procedure.
22234
22235 * gdb.mi/mi-break.exp: Remove unused globals,
22236 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22237 All callers updated.
22238 * gdb.mi/mi-dprintf.exp: Use variable to track command
22239 number.
22240 Update all callers of mi_create_breakpoint and use
22241 mi_make_breakpoint_table.
22242 Remove any unused global variables.
22243 * gdb.mi/mi-nonstop.exp: Likewise.
22244 * gdb.mi/mi-nsintrall.exp: Likewise.
22245 * gdb.mi/mi-nsmoribund.exp: Likewise.
22246 * gdb.mi/mi-nsthrexec.exp: Likewise.
22247 * gdb.mi/mi-reverse.exp: Likewise.
22248 * gdb.mi/mi-simplerun.exp: Likewise.
22249 * gdb.mi/mi-stepn.exp: Likewise.
22250 * gdb.mi/mi-syn-frame.exp: Likewise.
22251 * gdb.mi/mi-until.exp: Likewise.
22252 * gdb.mi/mi-var-cp.exp: Likewise.
22253 * gdb.mi/mi-var-display.exp: Likewise.
22254 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22255 * gdb.mi/mi2-var-child.exp: Likewise.
22256 * gdb.mi/mi-vla-c99.exp: Likewise.
22257 * lib/mi-support.exp: Likewise.
22258
22259 From Ian Lance Taylor <iant@cygnus.com>:
22260 * lib/gdb.exp (parse_args): New procedure.
22261
22262 2014-04-23 Pedro Alves <palves@redhat.com>
22263
22264 * gdb.base/break-unload-file.c: New file.
22265 * gdb.base/break-unload-file.exp: New file.
22266 * gdb.base/sym-file-lib.c (baz): New function.
22267 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22268 field.
22269 (load): Store the segment's mapped size.
22270 (unload): New function.
22271 (unload_shlib): New function.
22272 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22273 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22274 set a breakpoint at baz, and call it.
22275 * gdb.base/sym-file.exp: New tests for stale breakpoint
22276 instructions.
22277
22278 2014-04-23 Pedro Alves <palves@redhat.com>
22279
22280 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22281 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22282 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22283 * gdb.base/hbreak-unmapped.c: New file.
22284 * gdb.base/hbreak-unmapped.exp: New file.
22285 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22286 * lib/gdb.exp (gdb_is_target_remote): ... here.
22287
22288 2014-04-22 Pedro Alves <palves@redhat.com>
22289
22290 * gdb.base/consecutive-step-over.c: New file.
22291 * gdb.base/consecutive-step-over.exp: New file.
22292
22293 2014-04-22 Pedro Alves <palves@redhat.com>
22294
22295 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22296 instead of send_gdb/gdb_expect.
22297
22298 2014-04-22 Yao Qi <yao@codesourcery.com>
22299
22300 * lib/trace-support.exp (generate_tracefile): New procedure.
22301 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22302 return 0.
22303 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22304 if generate_tracefile returns 1.
22305
22306 2014-04-18 Tom Tromey <palves@redhat.com>
22307 Pedro alves <tromey@redhat.com>
22308
22309 PR backtrace/15558
22310 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22311 with a backtrace limit.
22312 * gdb.python/py-frame-inline.exp: Test running to an inline
22313 function with a backtrace limit, and printing the newest frame.
22314 * gdb.python/py-frame-inline.c (main): Call f.
22315
22316 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22317
22318 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22319
22320 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22321
22322 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22323 Drop prefix from unsupported source file path.
22324
22325 2014-04-17 Yao Qi <yao@codesourcery.com>
22326
22327 * lib/gdb.exp (with_target_charset): New proc.
22328 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22329 with_target_charset.
22330 (test_print_strings): Likewise.
22331 (test_repeat_bytes): Likewise.
22332 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22333 for some tests.
22334
22335 2014-04-16 Keith Seitz <keiths@redhat.com>
22336
22337 PR gdb/15827
22338 * gdb.dwarf2/corrupt.c: New file.
22339 * gdb.dwarf2/corrupt.exp: New file.
22340
22341 2014-04-16 Keith Seitz <keiths@redhat.com>
22342
22343 PR c++/16597
22344 * gdb.cp/namelessclass.cc: New file.
22345 * gdb.cp/namelessclass.exp: New file.
22346 * gdb.cp/namelessclass.S: New file.
22347
22348 2014-04-16 Doug Evans <dje@google.com>
22349
22350 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22351 Add comment.
22352 (gdbserver_default_get_comm_port): New function.
22353 (gdbserver_start): Check if board file provided
22354 "gdbserver,get_comm_port" and use it if so.
22355 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22356 (gdb,socketport): Set to "stdio".
22357 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22358 (stdio_gdbserver_template): Delete.
22359 (${board}_get_remote_address): Update.
22360 (${board}_build_remote_cmd): Delete.
22361 (${board}_get_comm_port): New function.
22362 (${board}_spawn): Update.
22363 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22364 Delete.
22365 (${board}_get_remote_address): Update.
22366 (${board}_get_comm_port): New function.
22367
22368 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
22369
22370 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22371 appearing in any order.
22372
22373 2014-04-15 Doug Evans <dje@google.com>
22374
22375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22376 uninitialized value of "description".
22377
22378 2014-04-15 Keith Seitz <keiths@redhat.com>
22379
22380 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22381 Remove unused globals.
22382 (test_running_the_program): Likewise.
22383 (test_controlled_execution): Likewise.
22384 (test_controlling_breakpoints): Likewise.
22385 (test_program_termination): Likewise.
22386
22387 2014-04-15 Keith Seitz <keiths@redhat.com>
22388
22389 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22390 unused globals.
22391 (test_rbreak_creation_and_listing): Likewise.
22392 (test_ignore_count): Likewise.
22393 (test_error): Likewise.
22394
22395 2014-04-15 Pedro Alves <palves@redhat.com>
22396
22397 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22398 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22399 sym-file-loader.c.
22400 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22401 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22402 to sym-file-loader.c.
22403 (struct library): Forward declare.
22404 (load_shlib, lookup_function): Change prototypes.
22405 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22406 (translate_offset): Remove declarations.
22407 (get_text_addr): New declaration.
22408 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22409 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22410 sym-file-loader.h.
22411 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22412 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22413 here from sym-file-loader.h.
22414 (struct library): New structure.
22415 (load_shlib, lookup_function): Change prototypes and adjust to
22416 work with a struct library.
22417 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22418 (translate_offset): Make static.
22419 (get_text_addr): New function.
22420 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22421
22422 2014-04-15 Pedro Alves <palves@redhat.com>
22423
22424 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22425
22426 2014-04-15 Pedro Alves <palves@redhat.com>
22427
22428 * gdb.base/sym-file-loader.c: Include <limits.h>.
22429 (SELF_LINK): New define.
22430 (get_origin): New function.
22431 (load_shlib): Use it.
22432 * gdb.base/sym-file.exp: Don't early return if the target is
22433 remote. Use runto_main, and issue fail is that fails. Use
22434 gdb_load_shlibs.
22435 (shlib_name): Delete.
22436 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22437
22438 2014-04-15 Pedro Alves <palves@redhat.com>
22439
22440 * gdb.base/sym-file.exp: Remove regex characters from test
22441 message. Don't refer to breakpoint numbers in test messages.
22442
22443 2014-04-14 Keith Seitz <keiths@redhat.com>
22444
22445 PR c++/16253
22446 * gdb.cp/var-tag.cc: New file.
22447 * gdb.cp/var-tag.exp: New file.
22448 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22449 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22450 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22451 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22452
22453 2014-04-14 Tom Tromey <tromey@redhat.com>
22454
22455 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22456 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22457 type.
22458 * gdb.cp/enum-class.exp: New file.
22459 * gdb.cp/enum-class.cc: New file.
22460
22461 2014-04-14 Tom Tromey <tromey@redhat.com>
22462
22463 * gdb.dwarf2/enum-type.exp: New file.
22464
22465 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22466
22467 * gdb.mi/mi-vla-c99.exp: New file.
22468 * gdb.mi/vla.c: New file.
22469
22470 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22471
22472 * gdb.base/vla-datatypes.c: New file.
22473 * gdb.base/vla-datatypes.exp: New file.
22474
22475 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22476
22477 * gdb.base/vla-ptr.c: New file.
22478 * gdb.base/vla-ptr.exp: New file.
22479
22480 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22481
22482 * gdb.dwarf2/count.exp: New file.
22483
22484 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22485
22486 * gdb.base/vla-sideeffect.c: New file.
22487 * gdb.base/vla-sideeffect.exp: New file.
22488
22489 2014-04-14 David Blaikie <dblaikie@gmail.com>
22490
22491 * gdb.mi/non-stop.c: Add return value for non-void function return
22492 statement.
22493 * gdb.threads/staticthreads.c: Ditto.
22494
22495 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22496 Doug Evans <xdje42@gmail.com>
22497
22498 * gdb.guile/scm-value.c: Improve test case.
22499 * gdb.guile/scm-value.exp: Add new test.
22500
22501 2014-04-11 David Blaikie <dblaikie@gmail.com>
22502
22503 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22504 override Clang's default.
22505
22506 2014-04-11 Joel Brobecker <brobecker@adacore.com>
22507
22508 Revert the following changes (regressions):
22509
22510 * gdb.base/vla-sideeffect.c: New file.
22511 * gdb.base/vla-sideeffect.exp: New file.
22512
22513 * gdb.dwarf2/count.exp: New file.
22514
22515 * gdb.base/vla-multi.c: New file.
22516 * gdb.base/vla-multi.exp: New file.
22517
22518 * gdb.base/vla-ptr.c: New file.
22519 * gdb.base/vla-ptr.exp: New file.
22520
22521 * gdb.base/vla-datatypes.c: New file.
22522 * gdb.base/vla-datatypes.exp: New file.
22523
22524 * gdb.mi/mi-vla-c99.exp: New file.
22525 * gdb.mi/vla.c: New file.
22526
22527 2014-04-11 Keith Seitz <keiths@redhat.com>
22528
22529 PR c++/16675
22530 * gdb.cp/cpsizeof.exp: New file.
22531 * gdb.cp/cpsizeof.cc: New file.
22532
22533 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22534
22535 * gdb.mi/mi-vla-c99.exp: New file.
22536 * gdb.mi/vla.c: New file.
22537
22538 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22539
22540 * gdb.base/vla-datatypes.c: New file.
22541 * gdb.base/vla-datatypes.exp: New file.
22542
22543 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22544
22545 * gdb.base/vla-ptr.c: New file.
22546 * gdb.base/vla-ptr.exp: New file.
22547
22548 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22549
22550 * gdb.base/vla-multi.c: New file.
22551 * gdb.base/vla-multi.exp: New file.
22552
22553 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22554
22555 * gdb.dwarf2/count.exp: New file.
22556
22557 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22558
22559 * gdb.base/vla-sideeffect.c: New file.
22560 * gdb.base/vla-sideeffect.exp: New file.
22561
22562 2014-04-11 Yao Qi <yao@codesourcery.com>
22563
22564 * gdb.base/completion.exp: Check file exists before running tests
22565 on file completion.
22566
22567 2014-04-10 Pedro Alves <palves@redhat.com>
22568
22569 * gdb.base/cond-eval-mode.c: New file.
22570 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22571 prepare_for_testing to build the new file. Check result of
22572 runto_main.
22573 (test_break, test_watch): New procedures.
22574 (top level): Use them.
22575
22576 2014-04-08 Pierre Muller <muller@sourceware.org>
22577
22578 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22579 Ctrl-V use for mingw hosts.
22580
22581 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22582
22583 * gdb.python/py-value.c: Improve test case.
22584 * gdb.python/py-value.exp: Add new test.
22585
22586 2014-04-07 David Blaikie <dblaikie@gmail.com>
22587
22588 * lib/compiler.c: Identify the clang compiler.
22589 * lib/compiler.cc: Ditto.
22590
22591 2014-04-03 Yao Qi <yao@codesourcery.com>
22592
22593 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22594
22595 2014-04-01 Anton Blanchard <anton@samba.org>
22596
22597 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22598 messages unique.
22599
22600 2014-04-01 Anton Blanchard <anton@samba.org>
22601
22602 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22603 prepare_for_testing.
22604
22605 2014-04-01 Anton Blanchard <anton@samba.org>
22606
22607 * gdb.arch/ppc64-atomic-inst.c: Remove.
22608 * gdb.arch/ppc64-atomic-inst.S: New file.
22609 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22610
22611 2014-03-31 Doug Evans <dje@google.com>
22612
22613 * gdb.base/print-symbol-loading-lib.c: New file.
22614 * gdb.base/print-symbol-loading-main.c: New file.
22615 * gdb.base/print-symbol-loading.exp: New file.
22616
22617 2014-03-31 Yao Qi <yao@codesourcery.com>
22618
22619 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22620
22621 2014-03-28 Joel Brobecker <brobecker@adacore.com>
22622
22623 * gdb.ada/mi_dyn_arr: New testcase.
22624
22625 2014-03-27 Doug Evans <dje@google.com>
22626
22627 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22628
22629 2014-03-27 Yao Qi <yao@codesourcery.com>
22630
22631 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22632 if target is nios2-*-*.
22633
22634 2014-03-26 Yao Qi <yao@codesourcery.com>
22635
22636 * lib/gdb.exp (readline_is_used): New proc.
22637 * gdb.base/completion.exp: Move tests on command complete up.
22638 Skip the rest of tests if readline is not used.
22639 * gdb.ada/complete.exp: Skp the test if readline is not
22640 used.
22641 * gdb.base/filesym.exp: Likewise.
22642 * gdb.base/macscp.exp: Likewise.
22643 * gdb.base/readline-ask.exp: Likewise.
22644 * gdb.base/readline.exp: Likewise.
22645 * gdb.python/py-cmd.exp: Likewise.
22646 * gdb.trace/tfile.exp: Likewise.
22647
22648 2014-03-26 Yao Qi <yao@codesourcery.com>
22649
22650 * gdb.base/macscp.exp: Fix code format issues.
22651
22652 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22653
22654 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22655 * gdb.asm/powerpc64le.inc: New file.
22656
22657 2014-03-25 Pedro Alves <palves@redhat.com>
22658 Doug Evans <dje@google.com>
22659
22660 * gdb.base/source-execution.c: New file.
22661 * gdb.base/source-execution.exp: New file.
22662 * gdb.base/source-execution.gdb: New file.
22663
22664 2014-03-24 Doug Evans <dje@google.com>
22665
22666 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22667 using fission.
22668
22669 2014-03-24 Hui Zhu <hui@codesourcery.com>
22670 Pedro Alves <palves@redhat.com>
22671
22672 PR breakpoints/16101
22673 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22674 test pass/fail messages. Detect missing support for dprintf when
22675 breakpoints are actually inserted.
22676 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22677 breakpoints are actually inserted.
22678 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22679 fails.
22680
22681 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22682
22683 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22684
22685 2014-03-22 Doug Evans <xdje42@gmail.com>
22686
22687 * gdb.python/python.exp (python not supported): Verify multi-line
22688 python command issues an error.
22689 * gdb.guile/guile.exp (guile not supported): Verify multi-line
22690 guile command issues an error.
22691
22692 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22693
22694 * gdb.threads/thread-specific.exp: Handle the lack of usable
22695 $this_breakpoint and $this_thread.
22696
22697 2014-03-21 Hui Zhu <hui@codesourcery.com>
22698
22699 * gdb.base/attach.exp (do_command_attach_tests): New.
22700
22701 2014-03-20 Tom Tromey <tromey@redhat.com>
22702 Pedro Alves <palves@redhat.com>
22703
22704 PR cli/15718
22705 * gdb.base/condbreak-call-false.c: New file.
22706 * gdb.base/condbreak-call-false.exp: New file.
22707
22708 2014-03-20 Pedro Alves <palves@redhat.com>
22709
22710 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22711 Delete.
22712 (block_signals, unblock_signals): Delete.
22713 (child_function_2, main): Remove references to deleted variable
22714 and functions.
22715
22716 2014-03-20 Pedro Alves <palves@redhat.com>
22717
22718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22719 Use pthread_kill to signal thread 2.
22720 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22721 Adjust to make the test send itself a signal rather than using the
22722 host's "kill" command.
22723
22724 2014-03-20 Pedro Alves <palves@redhat.com>
22725
22726 * gdb.threads/multiple-step-overs.c: New file.
22727 * gdb.threads/multiple-step-overs.exp: New file.
22728 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22729 Adjust expected infrun debug output.
22730
22731 2014-03-20 Pedro Alves <palves@redhat.com>
22732
22733 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22734 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22735
22736 2014-03-20 Pedro Alves <palves@redhat.com>
22737
22738 PR breakpoints/7143
22739 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22740 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22741 of gdb_test_multiple.
22742 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22743 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22744
22745 2014-03-20 Pedro Alves <palves@redhat.com>
22746
22747 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22748 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22749
22750 2014-03-19 Pedro Alves <palves@redhat.com>
22751
22752 * gdb.base/async.exp: Remove early return.
22753
22754 2014-03-19 Pedro Alves <palves@redhat.com>
22755
22756 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22757
22758 2014-03-19 Pedro Alves <palves@redhat.com>
22759
22760 * gdb.base/async.exp (test_background): Expect \r\n after
22761 "completed." in the fail pattern.
22762
22763 2014-03-19 Pedro Alves <palves@redhat.com>
22764
22765 * gdb.base/async.exp (test_background): New procedure.
22766 Use it for all background execution command tests.
22767
22768 2014-03-19 Pedro Alves <palves@redhat.com>
22769
22770 * gdb.base/async.exp: Use prepare_for_testing.
22771
22772 2014-03-19 Pedro Alves <palves@redhat.com>
22773
22774 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22775 the same line.
22776
22777 2014-03-19 Pedro Alves <palves@redhat.com>
22778
22779 * gdb.base/async.c (main): Add "jump here" and "until here" line
22780 marker comments.
22781 * gdb.base/async.exp (jump_here): New global.
22782 (jump& test): Use it.
22783 (until_here): New global.
22784 (until& test): Use it.
22785
22786 2014-03-19 Pedro Alves <palves@redhat.com>
22787
22788 * gdb.base/async.exp: Don't frob gdb_protocol.
22789
22790 2014-03-18 Doug Evans <xdje42@gmail.com>
22791
22792 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22793 Fix spelling of exec-done-display.
22794
22795 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22796
22797 PR gdb/15358
22798 * gdb.base/gdb-sigterm.c: New file.
22799 * gdb.base/gdb-sigterm.exp: New file.
22800
22801 2014-03-18 Pedro Alves <palves@redhat.com>
22802
22803 PR gdb/13860
22804 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22805 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22806 solib-event.
22807
22808 2014-03-17 Joel Brobecker <brobecker@adacore.com>
22809
22810 * gdb.ada/pckd_arr_ren: New testcase.
22811
22812 2014-03-13 Doug Evans <xdje42@gmail.com>
22813
22814 PR guile/16612
22815 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22816 collect after discarding symbols.
22817
22818 2014-03-13 Ludovic Courtès <ludo@gnu.org>
22819 Doug Evans <xdje42@gmail.com>
22820
22821 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22822 to history survives a gc.
22823
22824 2014-03-13 Pedro Alves <palves@redhat.com>
22825
22826 * gdb.base/default.exp: Don't test "target procfs".
22827
22828 2014-03-13 Pedro Alves <palves@redhat.com>
22829
22830 * gdb.base/default.exp: Update "target child" and "target procfs"
22831 tests to not expect "Unix".
22832
22833 2014-03-12 Tom Tromey <tromey@redhat.com>
22834
22835 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22836 New procs. Add target-async tests.
22837 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22838 Add target-async tests.
22839
22840 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22841
22842 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22843 'func_start' and 'func_end' for the beginning and end of the
22844 function code, respectively.
22845 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22846 'func_end' instead of 'func' and 'main'.
22847
22848 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22849
22850 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22851 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22852 generate the debug info assembler source.
22853
22854 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22855
22856 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22857 * gdb.dwarf2/arr-subrange.exp: Likewise.
22858 * gdb.dwarf2/dwz.exp: Likewise.
22859 * gdb.dwarf2/method-ptr.exp: Likewise.
22860 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22861 * gdb.dwarf2/subrange.exp: Likewise.
22862 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22863 * gdb.dwarf2/implptrpiece.exp: Likewise.
22864 * gdb.dwarf2/nostaticblock.exp: Likewise.
22865
22866 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22867
22868 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22869 directory to absolute path name arguments.
22870
22871 2014-03-10 Joel Brobecker <brobecker@adacore.com>
22872
22873 * gdb.ada/tagged_access: New testcase.
22874
22875 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22876
22877 * gdb.btrace/data.exp: Update expected output.
22878
22879 2014-03-06 Yao Qi <yao@codesourcery.com>
22880
22881 * gdb.trace/pr16508.exp: New file.
22882
22883 2014-03-05 Pedro Alves <palves@redhat.com>
22884
22885 PR gdb/16575
22886 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22887 procedure.
22888 (top level): Adjust to use it. Add tests that exercise breakpoint
22889 interaction with the code-cache.
22890
22891 2014-02-26 Ludovic Courtès <ludo@gnu.org>
22892
22893 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22894 test for 'history-append!'.
22895
22896 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22897
22898 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22899 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22900 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22901 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22902 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22903 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22904
22905 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22906
22907 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22908 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22909 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22910
22911 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22912
22913 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22914
22915 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22916
22917 * gdb.dwarf2/arr-stride.c: New file.
22918 * gdb.dwarf2/arr-stride.exp: New file.
22919
22920 2014-02-26 Pedro Alves <palves@redhat.com>
22921
22922 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22923 that won't ever trigger. Make sure that GDB reports the correct
22924 breakpoint that caused the stop.
22925
22926 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22927
22928 PR gdb/16626
22929 * gdb.base/auto-load-script: New file.
22930 * gdb.base/auto-load.c: New file.
22931 * gdb.base/auto-load.exp: New file.
22932
22933 PR gdb/16626
22934 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22935
22936 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22937
22938 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22939 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22940
22941 2014-02-24 Doug Evans <dje@google.com>
22942
22943 * lib/gdb.exp (run_on_host): Log error output if program fails.
22944
22945 2014-02-21 Pedro Alves <palves@redhat.com>
22946
22947 * gdb.threads/step-after-sr-lock.c: Rename to ...
22948 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22949 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22950 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22951 ... this.
22952
22953 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22954
22955 PR tdep/16397
22956 * gdb.arch/amd64-stap-special-operands.exp: New file.
22957 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22958 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22959 * gdb.arch/amd64-stap-triplet.S: Likewise.
22960 * gdb.arch/amd64-stap-triplet.c: Likewise.
22961
22962 2014-02-20 Joel Brobecker <brobecker@adacore.com>
22963
22964 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22965 in .section pseudo-op.
22966
22967 2014-02-20 lin zuojian <manjian2006@gmail.com>
22968 Joel Brobecker <brobecker@adacore.com>
22969 Doug Evans <xdje42@gmail.com>
22970
22971 PR symtab/16581
22972 * gdb.dwarf2/dw2-icycle.S: New file.
22973 * gdb.dwarf2/dw2-icycle.c: New file.
22974 * gdb.dwarf2/dw2-icycle.exp: New file.
22975
22976 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22977
22978 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22979 operations on gdb.Value objects.
22980 * gdb.python/py-value-cc.exp: Add new test to test operations on
22981 gdb.Value objects.
22982
22983 2014-02-18 Doug Evans <dje@google.com>
22984
22985 * Makefile.in (TESTS): New variable.
22986 (expanded_tests, expanded_tests_or_none): New variables
22987 (check-single): Pass $(expanded_tests_or_none) to runtest.
22988 (check-parallel): Only run tests in $(TESTS) if non-empty.
22989 (check/no-matching-tests-found): New rule.
22990 * README: Document TESTS makefile variable.
22991
22992 2014-02-18 Doug Evans <dje@google.com>
22993
22994 * Makefile.in (check-parallel): rm -rf outputs temp.
22995
22996 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22997
22998 Fix "ERROR: no fileid for" in the testsuite.
22999 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23000
23001 2014-02-12 Doug Evans <dje@google.com>
23002
23003 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23004 (MISCELLANEOUS): New variable.
23005 (clean): rm -rf $(MISCELLANEOUS).
23006 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23007 dwp live in the same directory as symlinks, with each symlink pointed
23008 to a differently named file in a different directory.
23009
23010 2014-02-11 Doug Evans <dje@google.com>
23011
23012 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23013 of Tcl file commands.
23014
23015 2014-02-10 Mark Kettenis <kettenis@gnu.org>
23016
23017 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23018 "kill -SIGUSR1 -1".
23019
23020 2014-02-10 Joel Brobecker <brobecker@adacore.com>
23021
23022 * gdb.ada/tick_length_array_enum_idx: New testcase.
23023
23024 2014-02-10 Doug Evans <xdje42@gmail.com>
23025
23026 * configure.ac (AC_OUTPUT): Add gdb.guile.
23027 * configure: Regenerate.
23028 * lib/gdb-guile.exp: New file.
23029 * lib/gdb.exp (get_target_charset): New function.
23030 * gdb.base/help.exp: Update expected output from "apropos apropos".
23031 * gdb.guile/Makefile.in: New file.
23032 * gdb.guile/guile.exp: New file.
23033 * gdb.guile/scm-arch.c: New file.
23034 * gdb.guile/scm-arch.exp: New file.
23035 * gdb.guile/scm-block.c: New file.
23036 * gdb.guile/scm-block.exp: New file.
23037 * gdb.guile/scm-breakpoint.c: New file.
23038 * gdb.guile/scm-breakpoint.exp: New file.
23039 * gdb.guile/scm-disasm.c: New file.
23040 * gdb.guile/scm-disasm.exp: New file.
23041 * gdb.guile/scm-equal.c: New file.
23042 * gdb.guile/scm-equal.exp: New file.
23043 * gdb.guile/scm-error.exp: New file.
23044 * gdb.guile/scm-error.scm: New file.
23045 * gdb.guile/scm-frame-args.c: New file.
23046 * gdb.guile/scm-frame-args.exp: New file.
23047 * gdb.guile/scm-frame-args.scm: New file.
23048 * gdb.guile/scm-frame-inline.c: New file.
23049 * gdb.guile/scm-frame-inline.exp: New file.
23050 * gdb.guile/scm-frame.c: New file.
23051 * gdb.guile/scm-frame.exp: New file.
23052 * gdb.guile/scm-generics.exp: New file.
23053 * gdb.guile/scm-gsmob.exp: New file.
23054 * gdb.guile/scm-iterator.c: New file.
23055 * gdb.guile/scm-iterator.exp: New file.
23056 * gdb.guile/scm-math.c: New file.
23057 * gdb.guile/scm-math.exp: New file.
23058 * gdb.guile/scm-objfile-script-gdb.in: New file.
23059 * gdb.guile/scm-objfile-script.c: New file.
23060 * gdb.guile/scm-objfile-script.exp: New file.
23061 * gdb.guile/scm-objfile.c: New file.
23062 * gdb.guile/scm-objfile.exp: New file.
23063 * gdb.guile/scm-ports.exp: New file.
23064 * gdb.guile/scm-pretty-print.c: New file.
23065 * gdb.guile/scm-pretty-print.exp: New file.
23066 * gdb.guile/scm-pretty-print.scm: New file.
23067 * gdb.guile/scm-section-script.c: New file.
23068 * gdb.guile/scm-section-script.exp: New file.
23069 * gdb.guile/scm-section-script.scm: New file.
23070 * gdb.guile/scm-symbol.c: New file.
23071 * gdb.guile/scm-symbol.exp: New file.
23072 * gdb.guile/scm-symtab-2.c: New file.
23073 * gdb.guile/scm-symtab.c: New file.
23074 * gdb.guile/scm-symtab.exp: New file.
23075 * gdb.guile/scm-type.c: New file.
23076 * gdb.guile/scm-type.exp: New file.
23077 * gdb.guile/scm-value-cc.cc: New file.
23078 * gdb.guile/scm-value-cc.exp: New file.
23079 * gdb.guile/scm-value.c: New file.
23080 * gdb.guile/scm-value.exp: New file.
23081 * gdb.guile/source2.scm: New file.
23082 * gdb.guile/types-module.cc: New file.
23083 * gdb.guile/types-module.exp: New file.
23084
23085 2014-02-10 Yao Qi <yao@codesourcery.com>
23086
23087 PR testsuite/16543
23088 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23089 * configure: Regenerated.
23090 * Makefile.in: New file.
23091
23092 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23093
23094 * gdb.python/py-framefilter.exp: Fix typo.
23095
23096 2014-02-08 Yao Qi <yao@codesourcery.com>
23097
23098 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23099 that no =breakpoint-modified is emitted when breakpoints are
23100 modified through MI commands.
23101
23102 2014-02-07 Pedro Alves <pedro@codesourcery.com>
23103 Pedro Alves <palves@redhat.com>
23104
23105 * gdb.threads/step-after-sr-lock.c: New file.
23106 * gdb.threads/step-after-sr-lock.exp: New file.
23107
23108 2014-02-07 Pedro Alves <palves@redhat.com>
23109
23110 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23111
23112 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23113
23114 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23115 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23116
23117 2014-02-06 Doug Evans <xdje42@gmail.com>
23118
23119 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23120 output.
23121
23122 * gdb.gdb/python-interrupts.exp: New file.
23123
23124 2014-02-05 Yao Qi <yao@codesourcery.com>
23125
23126 * gdb.trace/report.exp (use_collected_data): Test the output
23127 of "info threads" and "info inferiors".
23128
23129 2014-02-05 Yao Qi <yao@codesourcery.com>
23130
23131 Revert this patch:
23132
23133 2013-05-24 Yao Qi <yao@codesourcery.com>
23134
23135 * gdb.trace/tfile.exp: Test inferior and thread.
23136
23137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23138
23139 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23140 on a function.
23141 * gdb.base/step-bt.c: Call hello via function pointer to make
23142 sure its first instruction is executed on powerpc64le-linux.
23143
23144 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23145
23146 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23147
23148 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23149
23150 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23151 of the test patterns for use on little-endian systems.
23152
23153 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23154
23155 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23156 (decimal_vector): Fix for little-endian.
23157
23158 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23159
23160 * gdb.arch/sparc-sysstep.exp: New file.
23161 * gdb.arch/sparc-sysstep.c: Likewise.
23162
23163 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23164
23165 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23166
23167 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23168
23169 2014-01-23 Tom Tromey <tromey@redhat.com>
23170
23171 * gdb.ada/array_char_idx: New testcase.
23172
23173 2014-01-23 Tom Tromey <tromey@redhat.com>
23174
23175 PR python/16487:
23176 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23177 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23178 classes.
23179
23180 2014-01-23 Tom Tromey <tromey@redhat.com>
23181
23182 PR python/16491:
23183 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23184 string from an inferior frame.
23185 * gdb.python/py-framefilter-mi.exp: Update.
23186
23187 2014-01-22 Doug Evans <dje@google.com>
23188
23189 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23190
23191 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23192
23193 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23194
23195 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23196
23197 * gdb.trace/entry-values.exp: Remove excess space character from
23198 regex patterns. Handle s390 call instruction.
23199
23200 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23201
23202 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23203 define "*_start" label. Make "name" static.
23204 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23205 ${name} by references to ${name}_start.
23206
23207 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23208
23209 * gdb.base/info-macros.exp: Remove "debug" from the compile
23210 options.
23211
23212 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23213
23214 * gdb.dlang/demangle.exp: New file.
23215
23216 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23217
23218 * gdb.dlang/primitive-types.exp: New file.
23219
23220 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23221
23222 * configure.ac: Create gdb.dlang/Makefile.
23223 * configure: Regenerate.
23224 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23225 * gdb.dlang/Makefile.in: New file.
23226 * lib/d-support.exp: New file.
23227 * lib/gdb.exp (skip_d_tests): New proc.
23228
23229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23230
23231 * gdb.btrace/delta.exp: Check reverse stepi.
23232 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23233 * gdb.btrace/finish.exp: New.
23234 * gdb.btrace/next.exp: New.
23235 * gdb.btrace/nexti.exp: New.
23236 * gdb.btrace/record_goto.c: Add comments.
23237 * gdb.btrace/step.exp: New.
23238 * gdb.btrace/stepi.exp: New.
23239 * gdb.btrace/multi-thread-step.c: New.
23240 * gdb.btrace/multi-thread-step.exp: New.
23241 * gdb.btrace/rn-dl-bind.c: New.
23242 * gdb.btrace/rn-dl-bind.exp: New.
23243 * gdb.btrace/data.c: New.
23244 * gdb.btrace/data.exp: New.
23245 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23246
23247 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23248
23249 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23250 * gdb.btrace/exception.exp: Update.
23251 * gdb.btrace/instruction_history.exp: Update.
23252 * gdb.btrace/record_goto.exp: Update.
23253 * gdb.btrace/tailcall.exp: Update.
23254 * gdb.btrace/unknown_functions.exp: Update.
23255 * gdb.btrace/delta.exp: New.
23256
23257 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23258
23259 * gdb.btrace/record_goto.exp: Add backtrace test.
23260 * gdb.btrace/tailcall.exp: Add backtrace test.
23261
23262 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23263
23264 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23265 * gdb.btrace/record_goto.c: New.
23266 * gdb.btrace/record_goto.exp: New.
23267 * gdb.btrace/x86-record_goto.S: New.
23268
23269 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23270
23271 * gdb.btrace/function_call_history.exp: Update tests.
23272 * gdb.btrace/instruction_history.exp: Update tests.
23273
23274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23275
23276 * gdb.btrace/function_call_history.exp: Fix expected field
23277 order for "record function-call-history".
23278 Add new tests for "record function-call-history /c".
23279 * gdb.btrace/exception.cc: New.
23280 * gdb.btrace/exception.exp: New.
23281 * gdb.btrace/tailcall.exp: New.
23282 * gdb.btrace/x86-tailcall.S: New.
23283 * gdb.btrace/x86-tailcall.c: New.
23284 * gdb.btrace/unknown_functions.c: New.
23285 * gdb.btrace/unknown_functions.exp: New.
23286 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23287
23288 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23289
23290 * gdb.btrace/instruction_history.exp: Update.
23291 * gdb.btrace/function_call_history.exp: Update.
23292
23293 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23294
23295 * gdb.btrace/function_call_history.exp: Fix expected function
23296 trace.
23297 * gdb.btrace/instruction_history.exp: Initialize traced.
23298 Remove traced_functions.
23299
23300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23301
23302 * gdb.btrace/function_call_history.exp: Update
23303 * gdb.btrace/instruction_history.exp: Update.
23304
23305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23306
23307 * gdb.btrace/enable.exp: Update expected text.
23308
23309 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23310
23311 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23312 bytes.
23313
23314 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23315
23316 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23317
23318 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
23319
23320 * lib/gdb.exp (supports_process_record): Return true for
23321 arm*-linux*. (supports_reverse): Likewise.
23322
23323 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23324
23325 PR python/15464
23326 PR python/16113
23327 * gdb.python/py-type.c: Enhance test case.
23328 * gdb.python/py-value-cc.cc: Likewise
23329 * gdb.python/py-type.exp: Add new tests.
23330 * gdb.python/py-value-cc.exp: Likewise
23331
23332 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23333 Pedro Alves <palves@redhat.com>
23334
23335 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23336 Make "name" extern.
23337 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23338 references to ${name}_start by references to ${name}.
23339
23340 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23341
23342 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23343
23344 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23345
23346 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23347
23348 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23349 Pedro Alves <palves@redhat.com>
23350
23351 * gdb.mi/mi-info-os.exp: Connect to the target with
23352 mi_gdb_target_load.
23353
23354 2014-01-08 Pedro Alves <palves@redhat.com>
23355
23356 * gdb.threads/reconnect-signal.c: New file.
23357 * gdb.threads/reconnect-signal.exp: New file.
23358
23359 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23360
23361 * gdb.base/source-dir.exp: New file.
23362
23363 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23364
23365 * gdb.ada/mi_interface: New testcase.
23366
23367 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23368
23369 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23370 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23371 gdb.ada/pp-rec-component/pck.ads: New files.
23372
23373 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23374
23375 * gdb.python/py-pp-integral.c: New file.
23376 * gdb.python/py-pp-integral.py: New file.
23377 * gdb.python/py-pp-integral.exp: New file.
23378
23379 For older changes see ChangeLog-1993-2013.
23380 \f
23381 ;; Local Variables:
23382 ;; mode: change-log
23383 ;; left-margin: 8
23384 ;; fill-column: 74
23385 ;; version-control: never
23386 ;; End:
23387
23388 Copyright 2014-2021 Free Software Foundation, Inc.
23389 Copying and distribution of this file, with or without modification,
23390 are permitted provided the copyright notice and this notice are preserved.
This page took 0.637918 seconds and 5 git commands to generate.